Amazon.SecurityToken.AmazonSecurityTokenServiceClient.GetSessionTokenAsync C# (CSharp) Метод

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

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

            return InvokeAsync<GetSessionTokenRequest,GetSessionTokenResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonSecurityTokenServiceClient::GetSessionTokenAsync ( System cancellationToken = default(CancellationToken) ) : Task
AmazonSecurityTokenServiceClient::GetSessionTokenAsync ( GetSessionTokenResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonSecurityTokenServiceClient::GetSessionTokenAsync ( GetSessionTokenRequest request, GetSessionTokenResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void