Amazon.EC2.AmazonEC2Client.ModifySnapshotAttributeAsync C# (CSharp) Method

ModifySnapshotAttributeAsync() public method

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

            return InvokeAsync<ModifySnapshotAttributeRequest,ModifySnapshotAttributeResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client