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

ListKeysAsync() public method

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

            return InvokeAsync<ListKeysRequest,ListKeysResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonKeyManagementServiceClient