Amazon.KeyManagementService.AmazonKeyManagementServiceClient.DisableKeyAsync C# (CSharp) Méthode

DisableKeyAsync() public méthode

Initiates the asynchronous execution of the DisableKey operation.
public DisableKeyAsync ( DisableKeyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.KeyManagementService.Model.DisableKeyRequest Container for the necessary parameters to execute the DisableKey operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Résultat Task
        public Task<DisableKeyResponse> DisableKeyAsync(DisableKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new DisableKeyRequestMarshaller();
            var unmarshaller = DisableKeyResponseUnmarshaller.Instance;

            return InvokeAsync<DisableKeyRequest,DisableKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonKeyManagementServiceClient::DisableKeyAsync ( string keyId, System cancellationToken = default(CancellationToken) ) : Task
AmazonKeyManagementServiceClient