Interface MarketplaceCatalogClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MarketplaceCatalogClient extends AwsClient
Service client for accessing AWS Marketplace Catalog. This can be created using the staticbuilder()method.Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace.
You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static MarketplaceCatalogClientBuilderbuilder()Create a builder that can be used to configure and create aMarketplaceCatalogClient.default CancelChangeSetResponsecancelChangeSet(Consumer<CancelChangeSetRequest.Builder> cancelChangeSetRequest)Used to cancel an open change request.default CancelChangeSetResponsecancelChangeSet(CancelChangeSetRequest cancelChangeSetRequest)Used to cancel an open change request.static MarketplaceCatalogClientcreate()Create aMarketplaceCatalogClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)Deletes a resource-based policy on an entity that is identified by its resource ARN.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)Deletes a resource-based policy on an entity that is identified by its resource ARN.default DescribeChangeSetResponsedescribeChangeSet(Consumer<DescribeChangeSetRequest.Builder> describeChangeSetRequest)Provides information about a given change set.default DescribeChangeSetResponsedescribeChangeSet(DescribeChangeSetRequest describeChangeSetRequest)Provides information about a given change set.default DescribeEntityResponsedescribeEntity(Consumer<DescribeEntityRequest.Builder> describeEntityRequest)Returns the metadata and content of the entity.default DescribeEntityResponsedescribeEntity(DescribeEntityRequest describeEntityRequest)Returns the metadata and content of the entity.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest)Gets a resource-based policy of an entity that is identified by its resource ARN.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)Gets a resource-based policy of an entity that is identified by its resource ARN.default ListChangeSetsResponselistChangeSets(Consumer<ListChangeSetsRequest.Builder> listChangeSetsRequest)Returns the list of change sets owned by the account being used to make the call.default ListChangeSetsResponselistChangeSets(ListChangeSetsRequest listChangeSetsRequest)Returns the list of change sets owned by the account being used to make the call.default ListChangeSetsIterablelistChangeSetsPaginator(Consumer<ListChangeSetsRequest.Builder> listChangeSetsRequest)Returns the list of change sets owned by the account being used to make the call.default ListChangeSetsIterablelistChangeSetsPaginator(ListChangeSetsRequest listChangeSetsRequest)Returns the list of change sets owned by the account being used to make the call.default ListEntitiesResponselistEntities(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest)Provides the list of entities of a given type.default ListEntitiesResponselistEntities(ListEntitiesRequest listEntitiesRequest)Provides the list of entities of a given type.default ListEntitiesIterablelistEntitiesPaginator(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest)Provides the list of entities of a given type.default ListEntitiesIterablelistEntitiesPaginator(ListEntitiesRequest listEntitiesRequest)Provides the list of entities of a given type.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Lists all tags that have been added to a resource (either an entity or change set).default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Lists all tags that have been added to a resource (either an entity or change set).default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)Attaches a resource-based policy to an entity.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)Attaches a resource-based policy to an entity.default MarketplaceCatalogServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartChangeSetResponsestartChangeSet(Consumer<StartChangeSetRequest.Builder> startChangeSetRequest)Allows you to request changes for your entities.default StartChangeSetResponsestartChangeSet(StartChangeSetRequest startChangeSetRequest)Allows you to request changes for your entities.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Tags a resource (either an entity or change set).default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Tags a resource (either an entity or change set).default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes a tag or list of tags from a resource (either an entity or change set).default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes a tag or list of tags from a resource (either an entity or change set).-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
cancelChangeSet
default CancelChangeSetResponse cancelChangeSet(CancelChangeSetRequest cancelChangeSetRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Used to cancel an open change request. Must be sent before the status of the request changes to
APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.- Parameters:
cancelChangeSetRequest-- Returns:
- Result of the CancelChangeSet operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ResourceInUseException- The resource is currently in use.ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
cancelChangeSet
default CancelChangeSetResponse cancelChangeSet(Consumer<CancelChangeSetRequest.Builder> cancelChangeSetRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Used to cancel an open change request. Must be sent before the status of the request changes to
APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.
This is a convenience which creates an instance of the
CancelChangeSetRequest.Builderavoiding the need to create one manually viaCancelChangeSetRequest.builder()- Parameters:
cancelChangeSetRequest- AConsumerthat will call methods onCancelChangeSetRequest.Builderto create a request.- Returns:
- Result of the CancelChangeSet operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ResourceInUseException- The resource is currently in use.ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Deletes a resource-based policy on an entity that is identified by its resource ARN.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Deletes a resource-based policy on an entity that is identified by its resource ARN.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeChangeSet
default DescribeChangeSetResponse describeChangeSet(DescribeChangeSetRequest describeChangeSetRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Provides information about a given change set.
- Parameters:
describeChangeSetRequest-- Returns:
- Result of the DescribeChangeSet operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeChangeSet
default DescribeChangeSetResponse describeChangeSet(Consumer<DescribeChangeSetRequest.Builder> describeChangeSetRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Provides information about a given change set.
This is a convenience which creates an instance of the
DescribeChangeSetRequest.Builderavoiding the need to create one manually viaDescribeChangeSetRequest.builder()- Parameters:
describeChangeSetRequest- AConsumerthat will call methods onDescribeChangeSetRequest.Builderto create a request.- Returns:
- Result of the DescribeChangeSet operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEntity
default DescribeEntityResponse describeEntity(DescribeEntityRequest describeEntityRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotSupportedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Returns the metadata and content of the entity.
- Parameters:
describeEntityRequest-- Returns:
- Result of the DescribeEntity operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotSupportedException- Currently, the specified resource is not supported.ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeEntity
default DescribeEntityResponse describeEntity(Consumer<DescribeEntityRequest.Builder> describeEntityRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotSupportedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Returns the metadata and content of the entity.
This is a convenience which creates an instance of the
DescribeEntityRequest.Builderavoiding the need to create one manually viaDescribeEntityRequest.builder()- Parameters:
describeEntityRequest- AConsumerthat will call methods onDescribeEntityRequest.Builderto create a request.- Returns:
- Result of the DescribeEntity operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotSupportedException- Currently, the specified resource is not supported.ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Gets a resource-based policy of an entity that is identified by its resource ARN.
- Parameters:
getResourcePolicyRequest-- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Gets a resource-based policy of an entity that is identified by its resource ARN.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangeSets
default ListChangeSetsResponse listChangeSets(ListChangeSetsRequest listChangeSetsRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of
entityId,ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.You can describe a change during the 60-day request history retention period for API calls.
- Parameters:
listChangeSetsRequest-- Returns:
- Result of the ListChangeSets operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangeSets
default ListChangeSetsResponse listChangeSets(Consumer<ListChangeSetsRequest.Builder> listChangeSetsRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of
entityId,ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.You can describe a change during the 60-day request history retention period for API calls.
This is a convenience which creates an instance of the
ListChangeSetsRequest.Builderavoiding the need to create one manually viaListChangeSetsRequest.builder()- Parameters:
listChangeSetsRequest- AConsumerthat will call methods onListChangeSetsRequest.Builderto create a request.- Returns:
- Result of the ListChangeSets operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangeSetsPaginator
default ListChangeSetsIterable listChangeSetsPaginator(ListChangeSetsRequest listChangeSetsRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of
entityId,ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.You can describe a change during the 60-day request history retention period for API calls.
This is a variant of
listChangeSets(software.amazon.awssdk.services.marketplacecatalog.model.ListChangeSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListChangeSetsIterable responses = client.listChangeSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.marketplacecatalog.paginators.ListChangeSetsIterable responses = client .listChangeSetsPaginator(request); for (software.amazon.awssdk.services.marketplacecatalog.model.ListChangeSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListChangeSetsIterable responses = client.listChangeSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChangeSets(software.amazon.awssdk.services.marketplacecatalog.model.ListChangeSetsRequest)operation.- Parameters:
listChangeSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listChangeSetsPaginator
default ListChangeSetsIterable listChangeSetsPaginator(Consumer<ListChangeSetsRequest.Builder> listChangeSetsRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of
entityId,ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters.You can describe a change during the 60-day request history retention period for API calls.
This is a variant of
listChangeSets(software.amazon.awssdk.services.marketplacecatalog.model.ListChangeSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListChangeSetsIterable responses = client.listChangeSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.marketplacecatalog.paginators.ListChangeSetsIterable responses = client .listChangeSetsPaginator(request); for (software.amazon.awssdk.services.marketplacecatalog.model.ListChangeSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListChangeSetsIterable responses = client.listChangeSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChangeSets(software.amazon.awssdk.services.marketplacecatalog.model.ListChangeSetsRequest)operation.This is a convenience which creates an instance of the
ListChangeSetsRequest.Builderavoiding the need to create one manually viaListChangeSetsRequest.builder()- Parameters:
listChangeSetsRequest- AConsumerthat will call methods onListChangeSetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEntities
default ListEntitiesResponse listEntities(ListEntitiesRequest listEntitiesRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Provides the list of entities of a given type.
- Parameters:
listEntitiesRequest-- Returns:
- Result of the ListEntities operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEntities
default ListEntitiesResponse listEntities(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Provides the list of entities of a given type.
This is a convenience which creates an instance of the
ListEntitiesRequest.Builderavoiding the need to create one manually viaListEntitiesRequest.builder()- Parameters:
listEntitiesRequest- AConsumerthat will call methods onListEntitiesRequest.Builderto create a request.- Returns:
- Result of the ListEntities operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEntitiesPaginator
default ListEntitiesIterable listEntitiesPaginator(ListEntitiesRequest listEntitiesRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Provides the list of entities of a given type.
This is a variant of
listEntities(software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.marketplacecatalog.paginators.ListEntitiesIterable responses = client .listEntitiesPaginator(request); for (software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntities(software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesRequest)operation.- Parameters:
listEntitiesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listEntitiesPaginator
default ListEntitiesIterable listEntitiesPaginator(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Provides the list of entities of a given type.
This is a variant of
listEntities(software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.marketplacecatalog.paginators.ListEntitiesIterable responses = client .listEntitiesPaginator(request); for (software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.marketplacecatalog.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntities(software.amazon.awssdk.services.marketplacecatalog.model.ListEntitiesRequest)operation.This is a convenience which creates an instance of the
ListEntitiesRequest.Builderavoiding the need to create one manually viaListEntitiesRequest.builder()- Parameters:
listEntitiesRequest- AConsumerthat will call methods onListEntitiesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Lists all tags that have been added to a resource (either an entity or change set).
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Lists all tags that have been added to a resource (either an entity or change set).
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:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Attaches a resource-based policy to an entity. Examples of an entity include:
AmiProductandContainerProduct.- Parameters:
putResourcePolicyRequest-- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Attaches a resource-based policy to an entity. Examples of an entity include:
AmiProductandContainerProduct.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startChangeSet
default StartChangeSetResponse startChangeSet(StartChangeSetRequest startChangeSetRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Allows you to request changes for your entities. Within a single
ChangeSet, you can't start the same change type against the same entity multiple times. Additionally, when aChangeSetis running, all the entities targeted by the different changes are locked until the change set has completed (either succeeded, cancelled, or failed). If you try to start a change set containing a change against an entity that is already locked, you will receive aResourceInUseExceptionerror.For example, you can't start the
ChangeSetdescribed in the example later in this topic because it contains two changes to run the same change type (AddRevisions) against the same entity (entity-id@1).For more information about working with change sets, see Working with change sets. For information about change types for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.
- Parameters:
startChangeSetRequest-- Returns:
- Result of the StartChangeSet operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ResourceInUseException- The resource is currently in use.ThrottlingException- Too many requests.HTTP status code: 429
ServiceQuotaExceededException- The maximum number of open requests per account has been exceeded.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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startChangeSet
default StartChangeSetResponse startChangeSet(Consumer<StartChangeSetRequest.Builder> startChangeSetRequest) throws InternalServiceException, AccessDeniedException, ValidationException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Allows you to request changes for your entities. Within a single
ChangeSet, you can't start the same change type against the same entity multiple times. Additionally, when aChangeSetis running, all the entities targeted by the different changes are locked until the change set has completed (either succeeded, cancelled, or failed). If you try to start a change set containing a change against an entity that is already locked, you will receive aResourceInUseExceptionerror.For example, you can't start the
ChangeSetdescribed in the example later in this topic because it contains two changes to run the same change type (AddRevisions) against the same entity (entity-id@1).For more information about working with change sets, see Working with change sets. For information about change types for single-AMI products, see Working with single-AMI products. Also, for more information about change types available for container-based products, see Working with container products.
This is a convenience which creates an instance of the
StartChangeSetRequest.Builderavoiding the need to create one manually viaStartChangeSetRequest.builder()- Parameters:
startChangeSetRequest- AConsumerthat will call methods onStartChangeSetRequest.Builderto create a request.- Returns:
- Result of the StartChangeSet operation returned by the service.
- Throws:
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
ResourceInUseException- The resource is currently in use.ThrottlingException- Too many requests.HTTP status code: 429
ServiceQuotaExceededException- The maximum number of open requests per account has been exceeded.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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Tags a resource (either an entity or change set).
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Tags a resource (either an entity or change set).
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:
- Result of the TagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Removes a tag or list of tags from a resource (either an entity or change set).
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, InternalServiceException, AccessDeniedException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, MarketplaceCatalogException
Removes a tag or list of tags from a resource (either an entity or change set).
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:
- Result of the UntagResource operation returned by the service.
- Throws:
ResourceNotFoundException- The specified resource wasn't found.HTTP status code: 404
InternalServiceException- There was an internal service exception.HTTP status code: 500
AccessDeniedException- Access is denied.HTTP status code: 403
ValidationException- An error occurred during validation.HTTP status code: 422
ThrottlingException- Too many requests.HTTP status code: 429
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.MarketplaceCatalogException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static MarketplaceCatalogClient create()
Create aMarketplaceCatalogClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static MarketplaceCatalogClientBuilder builder()
Create a builder that can be used to configure and create aMarketplaceCatalogClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default MarketplaceCatalogServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-