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

GetPolicyVersionAsync() public method

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

            return InvokeAsync<GetPolicyVersionRequest,GetPolicyVersionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIoTClient::GetPolicyVersionAsync ( string policyName, string policyVersionId, System cancellationToken = default(CancellationToken) ) : Task
AmazonIoTClient