Amazon.KeyManagementService.AmazonKeyManagementServiceClient.ListKeyPoliciesAsync C# (CSharp) Method

ListKeyPoliciesAsync() public method

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

            return InvokeAsync<ListKeyPoliciesRequest,ListKeyPoliciesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonKeyManagementServiceClient