@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_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
BatchDescribeEntitiesResult |
batchDescribeEntities(BatchDescribeEntitiesRequest request)
Returns metadata and content for multiple entities.
|
static AWSMarketplaceCatalogClientBuilder |
builder() |
CancelChangeSetResult |
cancelChangeSet(CancelChangeSetRequest request)
Used to cancel an open change request.
|
DeleteResourcePolicyResult |
deleteResourcePolicy(DeleteResourcePolicyRequest request)
Deletes a resource-based policy on an entity that is identified by its resource ARN.
|
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.
|
GetResourcePolicyResult |
getResourcePolicy(GetResourcePolicyRequest request)
Gets a resource-based policy of an entity that is identified by its resource ARN.
|
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).
|
PutResourcePolicyResult |
putResourcePolicy(PutResourcePolicyRequest request)
Attaches a resource-based policy to an entity.
|
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, withTimeOffsetpublic static AWSMarketplaceCatalogClientBuilder builder()
public BatchDescribeEntitiesResult batchDescribeEntities(BatchDescribeEntitiesRequest request)
Returns metadata and content for multiple entities. This is the Batch version of the DescribeEntity
API and uses the same IAM permission action as DescribeEntity API.
batchDescribeEntities in interface AWSMarketplaceCatalogbatchDescribeEntitiesRequest - AccessDeniedException - Access is denied.
HTTP status code: 403
InternalServiceException - There was an internal service exception.
HTTP status code: 500
ThrottlingException - Too many requests.
HTTP status code: 429
ValidationException - An error occurred during validation.
HTTP status code: 422
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 AWSMarketplaceCatalogcancelChangeSetRequest - 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
public DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request)
Deletes a resource-based policy on an entity that is identified by its resource ARN.
deleteResourcePolicy in interface AWSMarketplaceCatalogdeleteResourcePolicyRequest - 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
public DescribeChangeSetResult describeChangeSet(DescribeChangeSetRequest request)
Provides information about a given change set.
describeChangeSet in interface AWSMarketplaceCatalogdescribeChangeSetRequest - 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
public DescribeEntityResult describeEntity(DescribeEntityRequest request)
Returns the metadata and content of the entity.
describeEntity in interface AWSMarketplaceCatalogdescribeEntityRequest - 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
public GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest request)
Gets a resource-based policy of an entity that is identified by its resource ARN.
getResourcePolicy in interface AWSMarketplaceCataloggetResourcePolicyRequest - 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
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 AWSMarketplaceCataloglistChangeSetsRequest - 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
public ListEntitiesResult listEntities(ListEntitiesRequest request)
Provides the list of entities of a given type.
listEntities in interface AWSMarketplaceCataloglistEntitiesRequest - 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
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists all tags that have been added to a resource (either an entity or change set).
listTagsForResource in interface AWSMarketplaceCataloglistTagsForResourceRequest - 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
public PutResourcePolicyResult putResourcePolicy(PutResourcePolicyRequest request)
Attaches a resource-based policy to an entity. Examples of an entity include: AmiProduct and
ContainerProduct.
putResourcePolicy in interface AWSMarketplaceCatalogputResourcePolicyRequest - 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
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. 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.
startChangeSet in interface AWSMarketplaceCatalogstartChangeSetRequest - 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.public TagResourceResult tagResource(TagResourceRequest request)
Tags a resource (either an entity or change set).
tagResource in interface AWSMarketplaceCatalogtagResourceRequest - 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
public UntagResourceResult untagResource(UntagResourceRequest request)
Removes a tag or list of tags from a resource (either an entity or change set).
untagResource in interface AWSMarketplaceCataloguntagResourceRequest - 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
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 AWSMarketplaceCatalogrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSMarketplaceCatalogshutdown in class AmazonWebServiceClient