@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSMarketplaceCatalog
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSMarketplaceCatalog
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
BatchDescribeEntitiesResult |
batchDescribeEntities(BatchDescribeEntitiesRequest batchDescribeEntitiesRequest)
Returns metadata and content for multiple entities.
|
CancelChangeSetResult |
cancelChangeSet(CancelChangeSetRequest cancelChangeSetRequest)
Used to cancel an open change request.
|
DeleteResourcePolicyResult |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource-based policy on an entity that is identified by its resource ARN.
|
DescribeChangeSetResult |
describeChangeSet(DescribeChangeSetRequest describeChangeSetRequest)
Provides information about a given change set.
|
DescribeEntityResult |
describeEntity(DescribeEntityRequest describeEntityRequest)
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 getResourcePolicyRequest)
Gets a resource-based policy of an entity that is identified by its resource ARN.
|
ListChangeSetsResult |
listChangeSets(ListChangeSetsRequest listChangeSetsRequest)
Returns the list of change sets owned by the account being used to make the call.
|
ListEntitiesResult |
listEntities(ListEntitiesRequest listEntitiesRequest)
Provides the list of entities of a given type.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags that have been added to a resource (either an entity or change set).
|
PutResourcePolicyResult |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
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 startChangeSetRequest)
Allows you to request changes for your entities.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Tags a resource (either an entity or change set).
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or list of tags from a resource (either an entity or change set).
|
static final String ENDPOINT_PREFIX
BatchDescribeEntitiesResult batchDescribeEntities(BatchDescribeEntitiesRequest batchDescribeEntitiesRequest)
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.
batchDescribeEntitiesRequest
- 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
CancelChangeSetResult cancelChangeSet(CancelChangeSetRequest cancelChangeSetRequest)
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.
cancelChangeSetRequest
- 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
DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes a resource-based policy on an entity that is identified by its resource ARN.
deleteResourcePolicyRequest
- 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
DescribeChangeSetResult describeChangeSet(DescribeChangeSetRequest describeChangeSetRequest)
Provides information about a given change set.
describeChangeSetRequest
- 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
DescribeEntityResult describeEntity(DescribeEntityRequest describeEntityRequest)
Returns the metadata and content of the entity.
describeEntityRequest
- 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
GetResourcePolicyResult getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest)
Gets a resource-based policy of an entity that is identified by its resource ARN.
getResourcePolicyRequest
- 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
ListChangeSetsResult listChangeSets(ListChangeSetsRequest listChangeSetsRequest)
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.
listChangeSetsRequest
- 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
ListEntitiesResult listEntities(ListEntitiesRequest listEntitiesRequest)
Provides the list of entities of a given type.
listEntitiesRequest
- 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
ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags that have been added to a resource (either an entity or change set).
listTagsForResourceRequest
- 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
PutResourcePolicyResult putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Attaches a resource-based policy to an entity. Examples of an entity include: AmiProduct
and
ContainerProduct
.
putResourcePolicyRequest
- 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
StartChangeSetResult startChangeSet(StartChangeSetRequest startChangeSetRequest)
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.
startChangeSetRequest
- 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.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Tags a resource (either an entity or change set).
tagResourceRequest
- 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
UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag or list of tags from a resource (either an entity or change set).
untagResourceRequest
- 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
void shutdown()
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 a request.
request
- The originally executed request.