Amazon.ElastiCache.AmazonElastiCacheClient.DeleteCacheSecurityGroupAsync C# (CSharp) Method

DeleteCacheSecurityGroupAsync() public method

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

            return InvokeAsync<DeleteCacheSecurityGroupRequest,DeleteCacheSecurityGroupResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonElastiCacheClient