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

GetInstanceSnapshotsAsync() public method

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

            return InvokeAsync<GetInstanceSnapshotsRequest,GetInstanceSnapshotsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient