We recommend that you do not call
The permissions associated with the temporary security credentials returned by
For more information about using
public class GetSessionTokenRequest : AmazonWebServiceRequest
Initializes a new instance of theclass
Gets and sets the property DurationSeconds.
The duration, in seconds, that the credentials should remain valid. Acceptable durations for IAM user sessions range from 900 seconds (15 minutes) to 129600 seconds (36 hours), with 43200 seconds (12 hours) as the default. Sessions for AWS account owners are restricted to a maximum of 3600 seconds (one hour). If the duration is longer than one hour, the session for AWS account owners defaults to one hour.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the type of the current instance.(Inherited from Object.)
Gets and sets the property SerialNumber.
The identification number of the MFA device that is associated with the IAM user who
is making the
Gets and sets the property TokenCode.
The value provided by the MFA device, if MFA is required. If any policy requires the IAM user to submit an MFA code, specify this value. If MFA authentication is required, and the user does not provide a code when requesting a set of temporary security credentials, the user will receive an "access denied" response when requesting resources that require MFA authentication.
Returns a string that represents the current object.(Inherited from Object.)
Sets the DurationSeconds property
Sets the SerialNumber property
Sets the TokenCode property