/* * Copyright 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. */ /* * Do not modify this file. This file is generated from the mediastore-2017-09-01.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.MediaStore.Model; namespace Amazon.MediaStore { /// /// Interface for accessing MediaStore /// /// An AWS Elemental MediaStore container is a namespace that holds folders and objects. /// You use a container endpoint to create, read, and delete objects. /// public partial interface IAmazonMediaStore : IAmazonService, IDisposable { /// /// Paginators for the service /// IMediaStorePaginatorFactory Paginators { get; } #region CreateContainer /// /// Creates a storage container to hold objects. A container is similar to a bucket in /// the Amazon S3 service. /// /// Container for the necessary parameters to execute the CreateContainer service method. /// /// The response from the CreateContainer service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The service is temporarily unavailable. /// /// /// A service limit has been exceeded. /// /// REST API Reference for CreateContainer Operation CreateContainerResponse CreateContainer(CreateContainerRequest request); /// /// Creates a storage container to hold objects. A container is similar to a bucket in /// the Amazon S3 service. /// /// Container for the necessary parameters to execute the CreateContainer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateContainer service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The service is temporarily unavailable. /// /// /// A service limit has been exceeded. /// /// REST API Reference for CreateContainer Operation Task CreateContainerAsync(CreateContainerRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteContainer /// /// 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. /// /// Container for the necessary parameters to execute the DeleteContainer service method. /// /// The response from the DeleteContainer service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DeleteContainer Operation DeleteContainerResponse DeleteContainer(DeleteContainerRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the DeleteContainer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteContainer service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DeleteContainer Operation Task DeleteContainerAsync(DeleteContainerRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteContainerPolicy /// /// Deletes the access policy that is associated with the specified container. /// /// Container for the necessary parameters to execute the DeleteContainerPolicy service method. /// /// The response from the DeleteContainerPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for DeleteContainerPolicy Operation DeleteContainerPolicyResponse DeleteContainerPolicy(DeleteContainerPolicyRequest request); /// /// Deletes the access policy that is associated with the specified container. /// /// Container for the necessary parameters to execute the DeleteContainerPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteContainerPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for DeleteContainerPolicy Operation Task DeleteContainerPolicyAsync(DeleteContainerPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteCorsPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteCorsPolicy service method. /// /// The response from the DeleteCorsPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The CORS policy that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DeleteCorsPolicy Operation DeleteCorsPolicyResponse DeleteCorsPolicy(DeleteCorsPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the DeleteCorsPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteCorsPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The CORS policy that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DeleteCorsPolicy Operation Task DeleteCorsPolicyAsync(DeleteCorsPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteLifecyclePolicy /// /// Removes an object lifecycle policy from a container. It takes up to 20 minutes for /// the change to take effect. /// /// Container for the necessary parameters to execute the DeleteLifecyclePolicy service method. /// /// The response from the DeleteLifecyclePolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for DeleteLifecyclePolicy Operation DeleteLifecyclePolicyResponse DeleteLifecyclePolicy(DeleteLifecyclePolicyRequest request); /// /// Removes an object lifecycle policy from a container. It takes up to 20 minutes for /// the change to take effect. /// /// Container for the necessary parameters to execute the DeleteLifecyclePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLifecyclePolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for DeleteLifecyclePolicy Operation Task DeleteLifecyclePolicyAsync(DeleteLifecyclePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMetricPolicy /// /// 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. /// /// Container for the necessary parameters to execute the DeleteMetricPolicy service method. /// /// The response from the DeleteMetricPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for DeleteMetricPolicy Operation DeleteMetricPolicyResponse DeleteMetricPolicy(DeleteMetricPolicyRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the DeleteMetricPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteMetricPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for DeleteMetricPolicy Operation Task DeleteMetricPolicyAsync(DeleteMetricPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeContainer /// /// 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. /// /// Container for the necessary parameters to execute the DescribeContainer service method. /// /// The response from the DescribeContainer service method, as returned by MediaStore. /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DescribeContainer Operation DescribeContainerResponse DescribeContainer(DescribeContainerRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the DescribeContainer service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeContainer service method, as returned by MediaStore. /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DescribeContainer Operation Task DescribeContainerAsync(DescribeContainerRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetContainerPolicy /// /// 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. /// /// Container for the necessary parameters to execute the GetContainerPolicy service method. /// /// The response from the GetContainerPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for GetContainerPolicy Operation GetContainerPolicyResponse GetContainerPolicy(GetContainerPolicyRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the GetContainerPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetContainerPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for GetContainerPolicy Operation Task GetContainerPolicyAsync(GetContainerPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetCorsPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the GetCorsPolicy service method. /// /// The response from the GetCorsPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The CORS policy that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for GetCorsPolicy Operation GetCorsPolicyResponse GetCorsPolicy(GetCorsPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the GetCorsPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCorsPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The CORS policy that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for GetCorsPolicy Operation Task GetCorsPolicyAsync(GetCorsPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetLifecyclePolicy /// /// Retrieves the object lifecycle policy that is assigned to a container. /// /// Container for the necessary parameters to execute the GetLifecyclePolicy service method. /// /// The response from the GetLifecyclePolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for GetLifecyclePolicy Operation GetLifecyclePolicyResponse GetLifecyclePolicy(GetLifecyclePolicyRequest request); /// /// Retrieves the object lifecycle policy that is assigned to a container. /// /// Container for the necessary parameters to execute the GetLifecyclePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLifecyclePolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for GetLifecyclePolicy Operation Task GetLifecyclePolicyAsync(GetLifecyclePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMetricPolicy /// /// Returns the metric policy for the specified container. /// /// Container for the necessary parameters to execute the GetMetricPolicy service method. /// /// The response from the GetMetricPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for GetMetricPolicy Operation GetMetricPolicyResponse GetMetricPolicy(GetMetricPolicyRequest request); /// /// Returns the metric policy for the specified container. /// /// Container for the necessary parameters to execute the GetMetricPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMetricPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The policy that you specified in the request does not exist. /// /// REST API Reference for GetMetricPolicy Operation Task GetMetricPolicyAsync(GetMetricPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListContainers /// /// 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. /// /// /// Container for the necessary parameters to execute the ListContainers service method. /// /// The response from the ListContainers service method, as returned by MediaStore. /// /// The service is temporarily unavailable. /// /// REST API Reference for ListContainers Operation ListContainersResponse ListContainers(ListContainersRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the ListContainers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListContainers service method, as returned by MediaStore. /// /// The service is temporarily unavailable. /// /// REST API Reference for ListContainers Operation Task ListContainersAsync(ListContainersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// /// Returns a list of the tags assigned to the specified container. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Returns a list of the tags assigned to the specified container. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for ListTagsForResource Operation Task ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutContainerPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the PutContainerPolicy service method. /// /// The response from the PutContainerPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutContainerPolicy Operation PutContainerPolicyResponse PutContainerPolicy(PutContainerPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the PutContainerPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutContainerPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutContainerPolicy Operation Task PutContainerPolicyAsync(PutContainerPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutCorsPolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the PutCorsPolicy service method. /// /// The response from the PutCorsPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutCorsPolicy Operation PutCorsPolicyResponse PutCorsPolicy(PutCorsPolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the PutCorsPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutCorsPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutCorsPolicy Operation Task PutCorsPolicyAsync(PutCorsPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutLifecyclePolicy /// /// 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. /// /// /// Container for the necessary parameters to execute the PutLifecyclePolicy service method. /// /// The response from the PutLifecyclePolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutLifecyclePolicy Operation PutLifecyclePolicyResponse PutLifecyclePolicy(PutLifecyclePolicyRequest request); /// /// 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. /// /// /// Container for the necessary parameters to execute the PutLifecyclePolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutLifecyclePolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutLifecyclePolicy Operation Task PutLifecyclePolicyAsync(PutLifecyclePolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutMetricPolicy /// /// 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. /// /// Container for the necessary parameters to execute the PutMetricPolicy service method. /// /// The response from the PutMetricPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutMetricPolicy Operation PutMetricPolicyResponse PutMetricPolicy(PutMetricPolicyRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the PutMetricPolicy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutMetricPolicy service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for PutMetricPolicy Operation Task PutMetricPolicyAsync(PutMetricPolicyRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartAccessLogging /// /// 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. /// /// Container for the necessary parameters to execute the StartAccessLogging service method. /// /// The response from the StartAccessLogging service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for StartAccessLogging Operation StartAccessLoggingResponse StartAccessLogging(StartAccessLoggingRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the StartAccessLogging service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartAccessLogging service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for StartAccessLogging Operation Task StartAccessLoggingAsync(StartAccessLoggingRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopAccessLogging /// /// 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. /// /// Container for the necessary parameters to execute the StopAccessLogging service method. /// /// The response from the StopAccessLogging service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for StopAccessLogging Operation StopAccessLoggingResponse StopAccessLogging(StopAccessLoggingRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the StopAccessLogging service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopAccessLogging service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for StopAccessLogging Operation Task StopAccessLoggingAsync(StopAccessLoggingRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// /// 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. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// 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. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for TagResource Operation Task TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// /// Removes tags from the specified container. You can specify one or more tags to remove. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Removes tags from the specified container. You can specify one or more tags to remove. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by MediaStore. /// /// The container that you specified in the request already exists or is being updated. /// /// /// The container that you specified in the request does not exist. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for UntagResource Operation Task UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }