Interface MarketplaceDeploymentAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters (for example, API keys and external IDs) to buyers during the Quick Launch experience.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aMarketplaceDeploymentAsyncClient.create()Create aMarketplaceDeploymentAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags that have been added to a deployment parameter resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags that have been added to a deployment parameter resource.putDeploymentParameter(Consumer<PutDeploymentParameterRequest.Builder> putDeploymentParameterRequest) Creates or updates a deployment parameter and is targeted bycatalogandagreementId.putDeploymentParameter(PutDeploymentParameterRequest putDeploymentParameterRequest) Creates or updates a deployment parameter and is targeted bycatalogandagreementId.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Tags a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or list of tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag or list of tags from a resource.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags that have been added to a deployment parameter resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags that have been added to a deployment parameter resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putDeploymentParameter
default CompletableFuture<PutDeploymentParameterResponse> putDeploymentParameter(PutDeploymentParameterRequest putDeploymentParameterRequest) Creates or updates a deployment parameter and is targeted by
catalogandagreementId.- Parameters:
putDeploymentParameterRequest-- Returns:
- A Java Future containing the result of the PutDeploymentParameter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ServiceQuotaExceededException The maximum number of requests per account has been exceeded.
- ConflictException The request configuration has conflicts. For details, see the accompanying error message.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putDeploymentParameter
default CompletableFuture<PutDeploymentParameterResponse> putDeploymentParameter(Consumer<PutDeploymentParameterRequest.Builder> putDeploymentParameterRequest) Creates or updates a deployment parameter and is targeted by
catalogandagreementId.
This is a convenience which creates an instance of the
PutDeploymentParameterRequest.Builderavoiding the need to create one manually viaPutDeploymentParameterRequest.builder()- Parameters:
putDeploymentParameterRequest- AConsumerthat will call methods onPutDeploymentParameterRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutDeploymentParameter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ServiceQuotaExceededException The maximum number of requests per account has been exceeded.
- ConflictException The request configuration has conflicts. For details, see the accompanying error message.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Tags a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ConflictException The request configuration has conflicts. For details, see the accompanying error message.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ConflictException The request configuration has conflicts. For details, see the accompanying error message.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes a tag or list of tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ConflictException The request configuration has conflicts. For details, see the accompanying error message.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag or list of tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException Too many requests.
- AccessDeniedException You do not have sufficient access to perform this action.
- ResourceNotFoundException The specified resource wasn't found.
- ConflictException The request configuration has conflicts. For details, see the accompanying error message.
- ValidationException An error occurred during validation.
- InternalServerException There was an internal service exception.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MarketplaceDeploymentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMarketplaceDeploymentAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMarketplaceDeploymentAsyncClient.
-