Amazon.Glacier.AmazonGlacierClient.SetDataRetrievalPolicyAsync C# (CSharp) Method

SetDataRetrievalPolicyAsync() public method

Initiates the asynchronous execution of the SetDataRetrievalPolicy operation.
public SetDataRetrievalPolicyAsync ( SetDataRetrievalPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Glacier.Model.SetDataRetrievalPolicyRequest Container for the necessary parameters to execute the SetDataRetrievalPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<SetDataRetrievalPolicyResponse> SetDataRetrievalPolicyAsync(SetDataRetrievalPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new SetDataRetrievalPolicyRequestMarshaller();
            var unmarshaller = SetDataRetrievalPolicyResponseUnmarshaller.Instance;

            return InvokeAsync<SetDataRetrievalPolicyRequest,SetDataRetrievalPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonGlacierClient