Amazon.SimpleEmail.AmazonSimpleEmailServiceClient.PutIdentityPolicyAsync C# (CSharp) Method

PutIdentityPolicyAsync() public method

Initiates the asynchronous execution of the PutIdentityPolicy operation.
public PutIdentityPolicyAsync ( PutIdentityPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutIdentityPolicyRequest Container for the necessary parameters to execute the PutIdentityPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<PutIdentityPolicyResponse> PutIdentityPolicyAsync(PutIdentityPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new PutIdentityPolicyRequestMarshaller();
            var unmarshaller = PutIdentityPolicyResponseUnmarshaller.Instance;

            return InvokeAsync<PutIdentityPolicyRequest,PutIdentityPolicyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonSimpleEmailServiceClient::PutIdentityPolicyAsync ( PutIdentityPolicyRequest request, PutIdentityPolicyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSimpleEmailServiceClient