Amazon.Redshift.AmazonRedshiftClient.AuthorizeSnapshotAccessAsync C# (CSharp) Метод

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

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

            return InvokeAsync<AuthorizeSnapshotAccessRequest,AuthorizeSnapshotAccessResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonRedshiftClient