Returns a set of temporary credentials for an AWS account or IAM user. The credentials
                 consist of an access key ID, a secret access key, and a security token. Typically,
            you use        
 Copy
CopyC#
 if you want to use MFA to protect programmatic
            calls to      specific AWS APIs like Amazon EC2 
 Copy
CopyC#
. MFA-enabled
            IAM users would      need to call 
 Copy
CopyC#
 and submit an MFA code
            that is associated with their      MFA device. Using the temporary security credentials
            that are returned from the call, IAM      users can then make programmatic calls to
            APIs that require MFA authentication. 
            
                
            
            The  Copy
CopyC#
|  Note: | 
|---|
| 
            We recommend that you do not call with root account credentials.
            Instead, follow our best
            practices by creating one or more IAM users, giving them the necessary permissions,
            and using IAM users for everyday interaction with AWS. Copy C# | 
            The permissions associated with the temporary security credentials returned by   
                 Copy
CopyC#
 Copy
CopyC#
 Copy
CopyC#
            For more information about using  Copy
CopyC#

 Declaration Syntax

 Return Value
The response from the GetSessionToken service method, as returned by SecurityTokenService.
Assembly: 
AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)