Amazon.Lightsail.AmazonLightsailClient.GetInstanceSnapshotAsync C# (CSharp) Method

GetInstanceSnapshotAsync() public method

Initiates the asynchronous execution of the GetInstanceSnapshot operation.
public GetInstanceSnapshotAsync ( GetInstanceSnapshotRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lightsail.Model.GetInstanceSnapshotRequest Container for the necessary parameters to execute the GetInstanceSnapshot operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetInstanceSnapshotResponse> GetInstanceSnapshotAsync(GetInstanceSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetInstanceSnapshotRequestMarshaller();
            var unmarshaller = GetInstanceSnapshotResponseUnmarshaller.Instance;

            return InvokeAsync<GetInstanceSnapshotRequest,GetInstanceSnapshotResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient