Amazon.Lightsail.AmazonLightsailClient.CreateInstanceSnapshotAsync C# (CSharp) Метод

CreateInstanceSnapshotAsync() публичный Метод

Initiates the asynchronous execution of the CreateInstanceSnapshot operation.
public CreateInstanceSnapshotAsync ( CreateInstanceSnapshotRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.Lightsail.Model.CreateInstanceSnapshotRequest Container for the necessary parameters to execute the CreateInstanceSnapshot operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateInstanceSnapshotResponse> CreateInstanceSnapshotAsync(CreateInstanceSnapshotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateInstanceSnapshotRequestMarshaller();
            var unmarshaller = CreateInstanceSnapshotResponseUnmarshaller.Instance;

            return InvokeAsync<CreateInstanceSnapshotRequest,CreateInstanceSnapshotResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonLightsailClient