@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaStoreAsyncClient extends AWSMediaStoreClient implements AWSMediaStoreAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
An AWS Elemental MediaStore container is a namespace that holds folders and objects. You use a container endpoint to create, read, and delete objects.
configFactoryclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, createContainer, deleteContainer, deleteContainerPolicy, describeContainer, getCachedResponseMetadata, getContainerPolicy, listContainers, putContainerPolicyaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateContainer, deleteContainer, deleteContainerPolicy, describeContainer, getCachedResponseMetadata, getContainerPolicy, listContainers, putContainerPolicypublic static AWSMediaStoreAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateContainerResult> createContainerAsync(CreateContainerRequest request)
AWSMediaStoreAsyncCreates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.
createContainerAsync in interface AWSMediaStoreAsyncpublic Future<CreateContainerResult> createContainerAsync(CreateContainerRequest request, AsyncHandler<CreateContainerRequest,CreateContainerResult> asyncHandler)
AWSMediaStoreAsyncCreates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.
createContainerAsync in interface AWSMediaStoreAsyncasyncHandler - 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<DeleteContainerResult> deleteContainerAsync(DeleteContainerRequest request)
AWSMediaStoreAsync
Deletes the specified container. Before you make a DeleteContainer request, delete any objects in
the container or in any folders in the container. You can delete only empty containers.
deleteContainerAsync in interface AWSMediaStoreAsyncpublic Future<DeleteContainerResult> deleteContainerAsync(DeleteContainerRequest request, AsyncHandler<DeleteContainerRequest,DeleteContainerResult> asyncHandler)
AWSMediaStoreAsync
Deletes the specified container. Before you make a DeleteContainer request, delete any objects in
the container or in any folders in the container. You can delete only empty containers.
deleteContainerAsync in interface AWSMediaStoreAsyncasyncHandler - 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<DeleteContainerPolicyResult> deleteContainerPolicyAsync(DeleteContainerPolicyRequest request)
AWSMediaStoreAsyncDeletes the access policy that is associated with the specified container.
deleteContainerPolicyAsync in interface AWSMediaStoreAsyncpublic Future<DeleteContainerPolicyResult> deleteContainerPolicyAsync(DeleteContainerPolicyRequest request, AsyncHandler<DeleteContainerPolicyRequest,DeleteContainerPolicyResult> asyncHandler)
AWSMediaStoreAsyncDeletes the access policy that is associated with the specified container.
deleteContainerPolicyAsync in interface AWSMediaStoreAsyncasyncHandler - 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<DescribeContainerResult> describeContainerAsync(DescribeContainerRequest request)
AWSMediaStoreAsync
Retrieves the properties of the requested container. This returns a single Container object based on
ContainerName. To return all Container objects that are associated with a specified AWS
account, use ListContainers.
describeContainerAsync in interface AWSMediaStoreAsyncpublic Future<DescribeContainerResult> describeContainerAsync(DescribeContainerRequest request, AsyncHandler<DescribeContainerRequest,DescribeContainerResult> asyncHandler)
AWSMediaStoreAsync
Retrieves the properties of the requested container. This returns a single Container object based on
ContainerName. To return all Container objects that are associated with a specified AWS
account, use ListContainers.
describeContainerAsync in interface AWSMediaStoreAsyncasyncHandler - 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<GetContainerPolicyResult> getContainerPolicyAsync(GetContainerPolicyRequest request)
AWSMediaStoreAsyncRetrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
getContainerPolicyAsync in interface AWSMediaStoreAsyncpublic Future<GetContainerPolicyResult> getContainerPolicyAsync(GetContainerPolicyRequest request, AsyncHandler<GetContainerPolicyRequest,GetContainerPolicyResult> asyncHandler)
AWSMediaStoreAsyncRetrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
getContainerPolicyAsync in interface AWSMediaStoreAsyncasyncHandler - 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<ListContainersResult> listContainersAsync(ListContainersRequest request)
AWSMediaStoreAsyncLists the properties of all containers in AWS Elemental MediaStore.
You can query to receive all the containers in one response. Or you can include the MaxResults
parameter to receive a limited number of containers in each response. In this case, the response includes a
token. To get the next set of containers, send the command again, this time with the NextToken
parameter (with the returned token as its value). The next set of responses appears, with a token if there are
still more containers to receive.
See also DescribeContainer, which gets the properties of one container.
listContainersAsync in interface AWSMediaStoreAsyncpublic Future<ListContainersResult> listContainersAsync(ListContainersRequest request, AsyncHandler<ListContainersRequest,ListContainersResult> asyncHandler)
AWSMediaStoreAsyncLists the properties of all containers in AWS Elemental MediaStore.
You can query to receive all the containers in one response. Or you can include the MaxResults
parameter to receive a limited number of containers in each response. In this case, the response includes a
token. To get the next set of containers, send the command again, this time with the NextToken
parameter (with the returned token as its value). The next set of responses appears, with a token if there are
still more containers to receive.
See also DescribeContainer, which gets the properties of one container.
listContainersAsync in interface AWSMediaStoreAsyncasyncHandler - 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<PutContainerPolicyResult> putContainerPolicyAsync(PutContainerPolicyRequest request)
AWSMediaStoreAsyncCreates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
For this release of the REST API, you can create only one policy for a container. If you enter
PutContainerPolicy twice, the second command modifies the existing policy.
putContainerPolicyAsync in interface AWSMediaStoreAsyncpublic Future<PutContainerPolicyResult> putContainerPolicyAsync(PutContainerPolicyRequest request, AsyncHandler<PutContainerPolicyRequest,PutContainerPolicyResult> asyncHandler)
AWSMediaStoreAsyncCreates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
For this release of the REST API, you can create only one policy for a container. If you enter
PutContainerPolicy twice, the second command modifies the existing policy.
putContainerPolicyAsync in interface AWSMediaStoreAsyncasyncHandler - 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSMediaStoreshutdown in class AmazonWebServiceClientCopyright © 2017. All rights reserved.