@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSMarketplaceCatalogAsync extends AbstractAWSMarketplaceCatalog implements AWSMarketplaceCatalogAsync
AWSMarketplaceCatalogAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
batchDescribeEntities, cancelChangeSet, deleteResourcePolicy, describeChangeSet, describeEntity, getCachedResponseMetadata, getResourcePolicy, listChangeSets, listEntities, listTagsForResource, putResourcePolicy, shutdown, startChangeSet, tagResource, untagResource
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchDescribeEntities, cancelChangeSet, deleteResourcePolicy, describeChangeSet, describeEntity, getCachedResponseMetadata, getResourcePolicy, listChangeSets, listEntities, listTagsForResource, putResourcePolicy, shutdown, startChangeSet, tagResource, untagResource
public Future<BatchDescribeEntitiesResult> batchDescribeEntitiesAsync(BatchDescribeEntitiesRequest request)
AWSMarketplaceCatalogAsync
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.
batchDescribeEntitiesAsync
in interface AWSMarketplaceCatalogAsync
public Future<BatchDescribeEntitiesResult> batchDescribeEntitiesAsync(BatchDescribeEntitiesRequest request, AsyncHandler<BatchDescribeEntitiesRequest,BatchDescribeEntitiesResult> asyncHandler)
AWSMarketplaceCatalogAsync
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.
batchDescribeEntitiesAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelChangeSetResult> cancelChangeSetAsync(CancelChangeSetRequest request)
AWSMarketplaceCatalogAsync
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.
cancelChangeSetAsync
in interface AWSMarketplaceCatalogAsync
public Future<CancelChangeSetResult> cancelChangeSetAsync(CancelChangeSetRequest request, AsyncHandler<CancelChangeSetRequest,CancelChangeSetResult> asyncHandler)
AWSMarketplaceCatalogAsync
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.
cancelChangeSetAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AWSMarketplaceCatalogAsync
Deletes a resource-based policy on an entity that is identified by its resource ARN.
deleteResourcePolicyAsync
in interface AWSMarketplaceCatalogAsync
public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AWSMarketplaceCatalogAsync
Deletes a resource-based policy on an entity that is identified by its resource ARN.
deleteResourcePolicyAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeChangeSetResult> describeChangeSetAsync(DescribeChangeSetRequest request)
AWSMarketplaceCatalogAsync
Provides information about a given change set.
describeChangeSetAsync
in interface AWSMarketplaceCatalogAsync
public Future<DescribeChangeSetResult> describeChangeSetAsync(DescribeChangeSetRequest request, AsyncHandler<DescribeChangeSetRequest,DescribeChangeSetResult> asyncHandler)
AWSMarketplaceCatalogAsync
Provides information about a given change set.
describeChangeSetAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeEntityResult> describeEntityAsync(DescribeEntityRequest request)
AWSMarketplaceCatalogAsync
Returns the metadata and content of the entity.
describeEntityAsync
in interface AWSMarketplaceCatalogAsync
public Future<DescribeEntityResult> describeEntityAsync(DescribeEntityRequest request, AsyncHandler<DescribeEntityRequest,DescribeEntityResult> asyncHandler)
AWSMarketplaceCatalogAsync
Returns the metadata and content of the entity.
describeEntityAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request)
AWSMarketplaceCatalogAsync
Gets a resource-based policy of an entity that is identified by its resource ARN.
getResourcePolicyAsync
in interface AWSMarketplaceCatalogAsync
public Future<GetResourcePolicyResult> getResourcePolicyAsync(GetResourcePolicyRequest request, AsyncHandler<GetResourcePolicyRequest,GetResourcePolicyResult> asyncHandler)
AWSMarketplaceCatalogAsync
Gets a resource-based policy of an entity that is identified by its resource ARN.
getResourcePolicyAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListChangeSetsResult> listChangeSetsAsync(ListChangeSetsRequest request)
AWSMarketplaceCatalogAsync
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.
listChangeSetsAsync
in interface AWSMarketplaceCatalogAsync
public Future<ListChangeSetsResult> listChangeSetsAsync(ListChangeSetsRequest request, AsyncHandler<ListChangeSetsRequest,ListChangeSetsResult> asyncHandler)
AWSMarketplaceCatalogAsync
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.
listChangeSetsAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEntitiesResult> listEntitiesAsync(ListEntitiesRequest request)
AWSMarketplaceCatalogAsync
Provides the list of entities of a given type.
listEntitiesAsync
in interface AWSMarketplaceCatalogAsync
public Future<ListEntitiesResult> listEntitiesAsync(ListEntitiesRequest request, AsyncHandler<ListEntitiesRequest,ListEntitiesResult> asyncHandler)
AWSMarketplaceCatalogAsync
Provides the list of entities of a given type.
listEntitiesAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSMarketplaceCatalogAsync
Lists all tags that have been added to a resource (either an entity or change set).
listTagsForResourceAsync
in interface AWSMarketplaceCatalogAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMarketplaceCatalogAsync
Lists all tags that have been added to a resource (either an entity or change set).
listTagsForResourceAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request)
AWSMarketplaceCatalogAsync
Attaches a resource-based policy to an entity. Examples of an entity include: AmiProduct
and
ContainerProduct
.
putResourcePolicyAsync
in interface AWSMarketplaceCatalogAsync
public Future<PutResourcePolicyResult> putResourcePolicyAsync(PutResourcePolicyRequest request, AsyncHandler<PutResourcePolicyRequest,PutResourcePolicyResult> asyncHandler)
AWSMarketplaceCatalogAsync
Attaches a resource-based policy to an entity. Examples of an entity include: AmiProduct
and
ContainerProduct
.
putResourcePolicyAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartChangeSetResult> startChangeSetAsync(StartChangeSetRequest request)
AWSMarketplaceCatalogAsync
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.
startChangeSetAsync
in interface AWSMarketplaceCatalogAsync
public Future<StartChangeSetResult> startChangeSetAsync(StartChangeSetRequest request, AsyncHandler<StartChangeSetRequest,StartChangeSetResult> asyncHandler)
AWSMarketplaceCatalogAsync
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.
startChangeSetAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSMarketplaceCatalogAsync
Tags a resource (either an entity or change set).
tagResourceAsync
in interface AWSMarketplaceCatalogAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMarketplaceCatalogAsync
Tags a resource (either an entity or change set).
tagResourceAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSMarketplaceCatalogAsync
Removes a tag or list of tags from a resource (either an entity or change set).
untagResourceAsync
in interface AWSMarketplaceCatalogAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMarketplaceCatalogAsync
Removes a tag or list of tags from a resource (either an entity or change set).
untagResourceAsync
in interface AWSMarketplaceCatalogAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.