All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.mediastore.AWSMediaStoreAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Elemental MediaStore module holds the client classes that are used for communicating with AWS Elemental MediaStore Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.mediastore;

import javax.annotation.Generated;

import com.amazonaws.services.mediastore.model.*;

/**
 * Interface for accessing MediaStore asynchronously. Each asynchronous method will return a Java Future object
 * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
 * notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.mediastore.AbstractAWSMediaStoreAsync} instead. *

*

*

* An AWS Elemental MediaStore container is a namespace that holds folders and objects. You use a container endpoint to * create, read, and delete objects. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSMediaStoreAsync extends AWSMediaStore { /** *

* Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service. *

* * @param createContainerRequest * @return A Java Future containing the result of the CreateContainer operation returned by the service. * @sample AWSMediaStoreAsync.CreateContainer * @see AWS API * Documentation */ java.util.concurrent.Future createContainerAsync(CreateContainerRequest createContainerRequest); /** *

* Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service. *

* * @param createContainerRequest * @param 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. * @return A Java Future containing the result of the CreateContainer operation returned by the service. * @sample AWSMediaStoreAsyncHandler.CreateContainer * @see AWS API * Documentation */ java.util.concurrent.Future createContainerAsync(CreateContainerRequest createContainerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param deleteContainerRequest * @return A Java Future containing the result of the DeleteContainer operation returned by the service. * @sample AWSMediaStoreAsync.DeleteContainer * @see AWS API * Documentation */ java.util.concurrent.Future deleteContainerAsync(DeleteContainerRequest deleteContainerRequest); /** *

* 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. *

* * @param deleteContainerRequest * @param 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. * @return A Java Future containing the result of the DeleteContainer operation returned by the service. * @sample AWSMediaStoreAsyncHandler.DeleteContainer * @see AWS API * Documentation */ java.util.concurrent.Future deleteContainerAsync(DeleteContainerRequest deleteContainerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes the access policy that is associated with the specified container. *

* * @param deleteContainerPolicyRequest * @return A Java Future containing the result of the DeleteContainerPolicy operation returned by the service. * @sample AWSMediaStoreAsync.DeleteContainerPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteContainerPolicyAsync(DeleteContainerPolicyRequest deleteContainerPolicyRequest); /** *

* Deletes the access policy that is associated with the specified container. *

* * @param deleteContainerPolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteContainerPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.DeleteContainerPolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteContainerPolicyAsync(DeleteContainerPolicyRequest deleteContainerPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes 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. *

* * @param deleteCorsPolicyRequest * @return A Java Future containing the result of the DeleteCorsPolicy operation returned by the service. * @sample AWSMediaStoreAsync.DeleteCorsPolicy * @see AWS * API Documentation */ java.util.concurrent.Future deleteCorsPolicyAsync(DeleteCorsPolicyRequest deleteCorsPolicyRequest); /** *

* Deletes 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. *

* * @param deleteCorsPolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteCorsPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.DeleteCorsPolicy * @see AWS * API Documentation */ java.util.concurrent.Future deleteCorsPolicyAsync(DeleteCorsPolicyRequest deleteCorsPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect. *

* * @param deleteLifecyclePolicyRequest * @return A Java Future containing the result of the DeleteLifecyclePolicy operation returned by the service. * @sample AWSMediaStoreAsync.DeleteLifecyclePolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest); /** *

* Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect. *

* * @param deleteLifecyclePolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteLifecyclePolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.DeleteLifecyclePolicy * @see AWS API Documentation */ java.util.concurrent.Future deleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest deleteLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Deletes 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. *

* * @param deleteMetricPolicyRequest * @return A Java Future containing the result of the DeleteMetricPolicy operation returned by the service. * @sample AWSMediaStoreAsync.DeleteMetricPolicy * @see AWS * API Documentation */ java.util.concurrent.Future deleteMetricPolicyAsync(DeleteMetricPolicyRequest deleteMetricPolicyRequest); /** *

* Deletes 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. *

* * @param deleteMetricPolicyRequest * @param 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. * @return A Java Future containing the result of the DeleteMetricPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.DeleteMetricPolicy * @see AWS * API Documentation */ java.util.concurrent.Future deleteMetricPolicyAsync(DeleteMetricPolicyRequest deleteMetricPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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. *

* * @param describeContainerRequest * @return A Java Future containing the result of the DescribeContainer operation returned by the service. * @sample AWSMediaStoreAsync.DescribeContainer * @see AWS * API Documentation */ java.util.concurrent.Future describeContainerAsync(DescribeContainerRequest describeContainerRequest); /** *

* 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. *

* * @param describeContainerRequest * @param 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. * @return A Java Future containing the result of the DescribeContainer operation returned by the service. * @sample AWSMediaStoreAsyncHandler.DescribeContainer * @see AWS * API Documentation */ java.util.concurrent.Future describeContainerAsync(DescribeContainerRequest describeContainerRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves 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. *

* * @param getContainerPolicyRequest * @return A Java Future containing the result of the GetContainerPolicy operation returned by the service. * @sample AWSMediaStoreAsync.GetContainerPolicy * @see AWS * API Documentation */ java.util.concurrent.Future getContainerPolicyAsync(GetContainerPolicyRequest getContainerPolicyRequest); /** *

* Retrieves 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. *

* * @param getContainerPolicyRequest * @param 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. * @return A Java Future containing the result of the GetContainerPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.GetContainerPolicy * @see AWS * API Documentation */ java.util.concurrent.Future getContainerPolicyAsync(GetContainerPolicyRequest getContainerPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns 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. *

* * @param getCorsPolicyRequest * @return A Java Future containing the result of the GetCorsPolicy operation returned by the service. * @sample AWSMediaStoreAsync.GetCorsPolicy * @see AWS API * Documentation */ java.util.concurrent.Future getCorsPolicyAsync(GetCorsPolicyRequest getCorsPolicyRequest); /** *

* Returns 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. *

* * @param getCorsPolicyRequest * @param 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. * @return A Java Future containing the result of the GetCorsPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.GetCorsPolicy * @see AWS API * Documentation */ java.util.concurrent.Future getCorsPolicyAsync(GetCorsPolicyRequest getCorsPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Retrieves the object lifecycle policy that is assigned to a container. *

* * @param getLifecyclePolicyRequest * @return A Java Future containing the result of the GetLifecyclePolicy operation returned by the service. * @sample AWSMediaStoreAsync.GetLifecyclePolicy * @see AWS * API Documentation */ java.util.concurrent.Future getLifecyclePolicyAsync(GetLifecyclePolicyRequest getLifecyclePolicyRequest); /** *

* Retrieves the object lifecycle policy that is assigned to a container. *

* * @param getLifecyclePolicyRequest * @param 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. * @return A Java Future containing the result of the GetLifecyclePolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.GetLifecyclePolicy * @see AWS * API Documentation */ java.util.concurrent.Future getLifecyclePolicyAsync(GetLifecyclePolicyRequest getLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the metric policy for the specified container. *

* * @param getMetricPolicyRequest * @return A Java Future containing the result of the GetMetricPolicy operation returned by the service. * @sample AWSMediaStoreAsync.GetMetricPolicy * @see AWS API * Documentation */ java.util.concurrent.Future getMetricPolicyAsync(GetMetricPolicyRequest getMetricPolicyRequest); /** *

* Returns the metric policy for the specified container. *

* * @param getMetricPolicyRequest * @param 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. * @return A Java Future containing the result of the GetMetricPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.GetMetricPolicy * @see AWS API * Documentation */ java.util.concurrent.Future getMetricPolicyAsync(GetMetricPolicyRequest getMetricPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists 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. *

* * @param listContainersRequest * @return A Java Future containing the result of the ListContainers operation returned by the service. * @sample AWSMediaStoreAsync.ListContainers * @see AWS API * Documentation */ java.util.concurrent.Future listContainersAsync(ListContainersRequest listContainersRequest); /** *

* Lists 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. *

* * @param listContainersRequest * @param 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. * @return A Java Future containing the result of the ListContainers operation returned by the service. * @sample AWSMediaStoreAsyncHandler.ListContainers * @see AWS API * Documentation */ java.util.concurrent.Future listContainersAsync(ListContainersRequest listContainersRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns a list of the tags assigned to the specified container. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSMediaStoreAsync.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Returns a list of the tags assigned to the specified container. *

* * @param listTagsForResourceRequest * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSMediaStoreAsyncHandler.ListTagsForResource * @see AWS * API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates 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. *

* * @param putContainerPolicyRequest * @return A Java Future containing the result of the PutContainerPolicy operation returned by the service. * @sample AWSMediaStoreAsync.PutContainerPolicy * @see AWS * API Documentation */ java.util.concurrent.Future putContainerPolicyAsync(PutContainerPolicyRequest putContainerPolicyRequest); /** *

* Creates 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. *

* * @param putContainerPolicyRequest * @param 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. * @return A Java Future containing the result of the PutContainerPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.PutContainerPolicy * @see AWS * API Documentation */ java.util.concurrent.Future putContainerPolicyAsync(PutContainerPolicyRequest putContainerPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Sets 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. *

* * @param putCorsPolicyRequest * @return A Java Future containing the result of the PutCorsPolicy operation returned by the service. * @sample AWSMediaStoreAsync.PutCorsPolicy * @see AWS API * Documentation */ java.util.concurrent.Future putCorsPolicyAsync(PutCorsPolicyRequest putCorsPolicyRequest); /** *

* Sets 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. *

* * @param putCorsPolicyRequest * @param 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. * @return A Java Future containing the result of the PutCorsPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.PutCorsPolicy * @see AWS API * Documentation */ java.util.concurrent.Future putCorsPolicyAsync(PutCorsPolicyRequest putCorsPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Writes 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. *

* * @param putLifecyclePolicyRequest * @return A Java Future containing the result of the PutLifecyclePolicy operation returned by the service. * @sample AWSMediaStoreAsync.PutLifecyclePolicy * @see AWS * API Documentation */ java.util.concurrent.Future putLifecyclePolicyAsync(PutLifecyclePolicyRequest putLifecyclePolicyRequest); /** *

* Writes 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. *

* * @param putLifecyclePolicyRequest * @param 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. * @return A Java Future containing the result of the PutLifecyclePolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.PutLifecyclePolicy * @see AWS * API Documentation */ java.util.concurrent.Future putLifecyclePolicyAsync(PutLifecyclePolicyRequest putLifecyclePolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* The 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. *

* * @param putMetricPolicyRequest * @return A Java Future containing the result of the PutMetricPolicy operation returned by the service. * @sample AWSMediaStoreAsync.PutMetricPolicy * @see AWS API * Documentation */ java.util.concurrent.Future putMetricPolicyAsync(PutMetricPolicyRequest putMetricPolicyRequest); /** *

* The 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. *

* * @param putMetricPolicyRequest * @param 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. * @return A Java Future containing the result of the PutMetricPolicy operation returned by the service. * @sample AWSMediaStoreAsyncHandler.PutMetricPolicy * @see AWS API * Documentation */ java.util.concurrent.Future putMetricPolicyAsync(PutMetricPolicyRequest putMetricPolicyRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Starts 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. *

* * @param startAccessLoggingRequest * @return A Java Future containing the result of the StartAccessLogging operation returned by the service. * @sample AWSMediaStoreAsync.StartAccessLogging * @see AWS * API Documentation */ java.util.concurrent.Future startAccessLoggingAsync(StartAccessLoggingRequest startAccessLoggingRequest); /** *

* Starts 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. *

* * @param startAccessLoggingRequest * @param 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. * @return A Java Future containing the result of the StartAccessLogging operation returned by the service. * @sample AWSMediaStoreAsyncHandler.StartAccessLogging * @see AWS * API Documentation */ java.util.concurrent.Future startAccessLoggingAsync(StartAccessLoggingRequest startAccessLoggingRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Stops 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. *

* * @param stopAccessLoggingRequest * @return A Java Future containing the result of the StopAccessLogging operation returned by the service. * @sample AWSMediaStoreAsync.StopAccessLogging * @see AWS * API Documentation */ java.util.concurrent.Future stopAccessLoggingAsync(StopAccessLoggingRequest stopAccessLoggingRequest); /** *

* Stops 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. *

* * @param stopAccessLoggingRequest * @param 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. * @return A Java Future containing the result of the StopAccessLogging operation returned by the service. * @sample AWSMediaStoreAsyncHandler.StopAccessLogging * @see AWS * API Documentation */ java.util.concurrent.Future stopAccessLoggingAsync(StopAccessLoggingRequest stopAccessLoggingRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds 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. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSMediaStoreAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds 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. *

* * @param tagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSMediaStoreAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Removes tags from the specified container. You can specify one or more tags to remove. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSMediaStoreAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Removes tags from the specified container. You can specify one or more tags to remove. *

* * @param untagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSMediaStoreAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy