Amazon.IoT.AmazonIoTClient.CreatePolicyVersionAsync C# (CSharp) Method

CreatePolicyVersionAsync() public method

Initiates the asynchronous execution of the CreatePolicyVersion operation.
public CreatePolicyVersionAsync ( CreatePolicyVersionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.IoT.Model.CreatePolicyVersionRequest Container for the necessary parameters to execute the CreatePolicyVersion operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreatePolicyVersionResponse> CreatePolicyVersionAsync(CreatePolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreatePolicyVersionRequestMarshaller();
            var unmarshaller = CreatePolicyVersionResponseUnmarshaller.Instance;

            return InvokeAsync<CreatePolicyVersionRequest,CreatePolicyVersionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIoTClient::CreatePolicyVersionAsync ( string policyName, string policyDocument, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient::CreatePolicyVersionAsync ( string policyName, string policyDocument, bool setAsDefault, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient