@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMarketplaceCatalogClient extends AmazonWebServiceClient implements AWSMarketplaceCatalog
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSMarketplaceCatalogClientBuilder |
builder() |
CancelChangeSetResult |
cancelChangeSet(CancelChangeSetRequest request)
Used to cancel an open change request.
|
DescribeChangeSetResult |
describeChangeSet(DescribeChangeSetRequest request)
Provides information about a given change set.
|
DescribeEntityResult |
describeEntity(DescribeEntityRequest request)
Returns the metadata and content of the entity.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListChangeSetsResult |
listChangeSets(ListChangeSetsRequest request)
Returns the list of change sets owned by the account being used to make the call.
|
ListEntitiesResult |
listEntities(ListEntitiesRequest request)
Provides the list of entities of a given type.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists all tags that have been added to a resource (either an entity or change set).
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartChangeSetResult |
startChangeSet(StartChangeSetRequest request)
Allows you to request changes for your entities.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Tags a resource (either an entity or change set).
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes a tag or list of tags from a resource (either an entity or change set).
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSMarketplaceCatalogClientBuilder builder()
public CancelChangeSetResult cancelChangeSet(CancelChangeSetRequest request)
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.
cancelChangeSet
in interface AWSMarketplaceCatalog
cancelChangeSetRequest
- InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ResourceNotFoundException
- The specified resource wasn't found.ResourceInUseException
- The resource is currently in use.ThrottlingException
- Too many requests.public DescribeChangeSetResult describeChangeSet(DescribeChangeSetRequest request)
Provides information about a given change set.
describeChangeSet
in interface AWSMarketplaceCatalog
describeChangeSetRequest
- InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ResourceNotFoundException
- The specified resource wasn't found.ThrottlingException
- Too many requests.public DescribeEntityResult describeEntity(DescribeEntityRequest request)
Returns the metadata and content of the entity.
describeEntity
in interface AWSMarketplaceCatalog
describeEntityRequest
- InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ResourceNotSupportedException
- Currently, the specified resource is not supported.ResourceNotFoundException
- The specified resource wasn't found.ThrottlingException
- Too many requests.public ListChangeSetsResult listChangeSets(ListChangeSetsRequest request)
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.
listChangeSets
in interface AWSMarketplaceCatalog
listChangeSetsRequest
- InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ThrottlingException
- Too many requests.public ListEntitiesResult listEntities(ListEntitiesRequest request)
Provides the list of entities of a given type.
listEntities
in interface AWSMarketplaceCatalog
listEntitiesRequest
- InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ResourceNotFoundException
- The specified resource wasn't found.ThrottlingException
- Too many requests.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all tags that have been added to a resource (either an entity or change set).
listTagsForResource
in interface AWSMarketplaceCatalog
listTagsForResourceRequest
- ResourceNotFoundException
- The specified resource wasn't found.InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ThrottlingException
- Too many requests.public StartChangeSetResult startChangeSet(StartChangeSetRequest request)
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 a ChangeSet
is 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 a ResourceInUseException
error.
For example, you can't start the ChangeSet
described 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.
startChangeSet
in interface AWSMarketplaceCatalog
startChangeSetRequest
- InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ResourceNotFoundException
- The specified resource wasn't found.ResourceInUseException
- The resource is currently in use.ThrottlingException
- Too many requests.ServiceQuotaExceededException
- The maximum number of open requests per account has been exceeded.public TagResourceResult tagResource(TagResourceRequest request)
Tags a resource (either an entity or change set).
tagResource
in interface AWSMarketplaceCatalog
tagResourceRequest
- ResourceNotFoundException
- The specified resource wasn't found.InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ThrottlingException
- Too many requests.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes a tag or list of tags from a resource (either an entity or change set).
untagResource
in interface AWSMarketplaceCatalog
untagResourceRequest
- ResourceNotFoundException
- The specified resource wasn't found.InternalServiceException
- There was an internal service exception.AccessDeniedException
- Access is denied.ValidationException
- An error occurred during validation.ThrottlingException
- Too many requests.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSMarketplaceCatalog
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSMarketplaceCatalog
shutdown
in class AmazonWebServiceClient