@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSMediaStoreAsync extends AbstractAWSMediaStore implements AWSMediaStoreAsync
AWSMediaStoreAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXcreateContainer, deleteContainer, deleteContainerPolicy, deleteCorsPolicy, deleteLifecyclePolicy, deleteMetricPolicy, describeContainer, getCachedResponseMetadata, getContainerPolicy, getCorsPolicy, getLifecyclePolicy, getMetricPolicy, listContainers, listTagsForResource, putContainerPolicy, putCorsPolicy, putLifecyclePolicy, putMetricPolicy, shutdown, startAccessLogging, stopAccessLogging, tagResource, untagResourceequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateContainer, deleteContainer, deleteContainerPolicy, deleteCorsPolicy, deleteLifecyclePolicy, deleteMetricPolicy, describeContainer, getCachedResponseMetadata, getContainerPolicy, getCorsPolicy, getLifecyclePolicy, getMetricPolicy, listContainers, listTagsForResource, putContainerPolicy, putCorsPolicy, putLifecyclePolicy, putMetricPolicy, shutdown, startAccessLogging, stopAccessLogging, tagResource, untagResourcepublic 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<DeleteCorsPolicyResult> deleteCorsPolicyAsync(DeleteCorsPolicyRequest request)
AWSMediaStoreAsyncDeletes the cross-origin resource sharing (CORS) configuration information that is set for the container.
To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action.
The container owner has this permission by default and can grant this permission to others.
deleteCorsPolicyAsync in interface AWSMediaStoreAsyncpublic Future<DeleteCorsPolicyResult> deleteCorsPolicyAsync(DeleteCorsPolicyRequest request, AsyncHandler<DeleteCorsPolicyRequest,DeleteCorsPolicyResult> asyncHandler)
AWSMediaStoreAsyncDeletes the cross-origin resource sharing (CORS) configuration information that is set for the container.
To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action.
The container owner has this permission by default and can grant this permission to others.
deleteCorsPolicyAsync 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<DeleteLifecyclePolicyResult> deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request)
AWSMediaStoreAsyncRemoves an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.
deleteLifecyclePolicyAsync in interface AWSMediaStoreAsyncpublic Future<DeleteLifecyclePolicyResult> deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request, AsyncHandler<DeleteLifecyclePolicyRequest,DeleteLifecyclePolicyResult> asyncHandler)
AWSMediaStoreAsyncRemoves an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.
deleteLifecyclePolicyAsync 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<DeleteMetricPolicyResult> deleteMetricPolicyAsync(DeleteMetricPolicyRequest request)
AWSMediaStoreAsyncDeletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.
deleteMetricPolicyAsync in interface AWSMediaStoreAsyncpublic Future<DeleteMetricPolicyResult> deleteMetricPolicyAsync(DeleteMetricPolicyRequest request, AsyncHandler<DeleteMetricPolicyRequest,DeleteMetricPolicyResult> asyncHandler)
AWSMediaStoreAsyncDeletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.
deleteMetricPolicyAsync 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 request is commonly used to retrieve the endpoint of a
container. An endpoint is a value assigned by the service when a new container is created. A container's endpoint
does not change after it has been assigned. The DescribeContainer request 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 request is commonly used to retrieve the endpoint of a
container. An endpoint is a value assigned by the service when a new container is created. A container's endpoint
does not change after it has been assigned. The DescribeContainer request 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<GetCorsPolicyResult> getCorsPolicyAsync(GetCorsPolicyRequest request)
AWSMediaStoreAsyncReturns the cross-origin resource sharing (CORS) configuration information that is set for the container.
To use this operation, you must have permission to perform the MediaStore:GetCorsPolicy action. By
default, the container owner has this permission and can grant it to others.
getCorsPolicyAsync in interface AWSMediaStoreAsyncpublic Future<GetCorsPolicyResult> getCorsPolicyAsync(GetCorsPolicyRequest request, AsyncHandler<GetCorsPolicyRequest,GetCorsPolicyResult> asyncHandler)
AWSMediaStoreAsyncReturns the cross-origin resource sharing (CORS) configuration information that is set for the container.
To use this operation, you must have permission to perform the MediaStore:GetCorsPolicy action. By
default, the container owner has this permission and can grant it to others.
getCorsPolicyAsync 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<GetLifecyclePolicyResult> getLifecyclePolicyAsync(GetLifecyclePolicyRequest request)
AWSMediaStoreAsyncRetrieves the object lifecycle policy that is assigned to a container.
getLifecyclePolicyAsync in interface AWSMediaStoreAsyncpublic Future<GetLifecyclePolicyResult> getLifecyclePolicyAsync(GetLifecyclePolicyRequest request, AsyncHandler<GetLifecyclePolicyRequest,GetLifecyclePolicyResult> asyncHandler)
AWSMediaStoreAsyncRetrieves the object lifecycle policy that is assigned to a container.
getLifecyclePolicyAsync 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<GetMetricPolicyResult> getMetricPolicyAsync(GetMetricPolicyRequest request)
AWSMediaStoreAsyncReturns the metric policy for the specified container.
getMetricPolicyAsync in interface AWSMediaStoreAsyncpublic Future<GetMetricPolicyResult> getMetricPolicyAsync(GetMetricPolicyRequest request, AsyncHandler<GetMetricPolicyRequest,GetMetricPolicyResult> asyncHandler)
AWSMediaStoreAsyncReturns the metric policy for the specified container.
getMetricPolicyAsync 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSMediaStoreAsyncReturns a list of the tags assigned to the specified container.
listTagsForResourceAsync in interface AWSMediaStoreAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSMediaStoreAsyncReturns a list of the tags assigned to the specified container.
listTagsForResourceAsync 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 Future<PutCorsPolicyResult> putCorsPolicyAsync(PutCorsPolicyRequest request)
AWSMediaStoreAsyncSets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability.
To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.
To learn more about CORS, see Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore.
putCorsPolicyAsync in interface AWSMediaStoreAsyncpublic Future<PutCorsPolicyResult> putCorsPolicyAsync(PutCorsPolicyRequest request, AsyncHandler<PutCorsPolicyRequest,PutCorsPolicyResult> asyncHandler)
AWSMediaStoreAsyncSets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability.
To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.
To learn more about CORS, see Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore.
putCorsPolicyAsync 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<PutLifecyclePolicyResult> putLifecyclePolicyAsync(PutLifecyclePolicyRequest request)
AWSMediaStoreAsyncWrites an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect.
For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy.
putLifecyclePolicyAsync in interface AWSMediaStoreAsyncpublic Future<PutLifecyclePolicyResult> putLifecyclePolicyAsync(PutLifecyclePolicyRequest request, AsyncHandler<PutLifecyclePolicyRequest,PutLifecyclePolicyResult> asyncHandler)
AWSMediaStoreAsyncWrites an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect.
For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy.
putLifecyclePolicyAsync 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<PutMetricPolicyResult> putMetricPolicyAsync(PutMetricPolicyRequest request)
AWSMediaStoreAsyncThe metric policy that you want to add to the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. It takes up to 20 minutes for the new policy to take effect.
putMetricPolicyAsync in interface AWSMediaStoreAsyncpublic Future<PutMetricPolicyResult> putMetricPolicyAsync(PutMetricPolicyRequest request, AsyncHandler<PutMetricPolicyRequest,PutMetricPolicyResult> asyncHandler)
AWSMediaStoreAsyncThe metric policy that you want to add to the container. A metric policy allows AWS Elemental MediaStore to send metrics to Amazon CloudWatch. It takes up to 20 minutes for the new policy to take effect.
putMetricPolicyAsync 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<StartAccessLoggingResult> startAccessLoggingAsync(StartAccessLoggingRequest request)
AWSMediaStoreAsyncStarts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.
startAccessLoggingAsync in interface AWSMediaStoreAsyncpublic Future<StartAccessLoggingResult> startAccessLoggingAsync(StartAccessLoggingRequest request, AsyncHandler<StartAccessLoggingRequest,StartAccessLoggingResult> asyncHandler)
AWSMediaStoreAsyncStarts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.
startAccessLoggingAsync 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<StopAccessLoggingResult> stopAccessLoggingAsync(StopAccessLoggingRequest request)
AWSMediaStoreAsyncStops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.
stopAccessLoggingAsync in interface AWSMediaStoreAsyncpublic Future<StopAccessLoggingResult> stopAccessLoggingAsync(StopAccessLoggingRequest request, AsyncHandler<StopAccessLoggingRequest,StopAccessLoggingResult> asyncHandler)
AWSMediaStoreAsyncStops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.
stopAccessLoggingAsync 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSMediaStoreAsyncAdds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
tagResourceAsync in interface AWSMediaStoreAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSMediaStoreAsyncAdds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore.
tagResourceAsync 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSMediaStoreAsyncRemoves tags from the specified container. You can specify one or more tags to remove.
untagResourceAsync in interface AWSMediaStoreAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSMediaStoreAsyncRemoves tags from the specified container. You can specify one or more tags to remove.
untagResourceAsync 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.