class Aws::STS::Client

def get_session_token(params = {}, options = {})

Parameters:
  • params (Hash) -- ({})

Overloads:
  • get_session_token(params = {})

Other tags:
    See: http://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken - AWS API Documentation

Other tags:
    Example: Response structure -
    Example: Request syntax with placeholder values -
    Example: Example: To get temporary credentials for an IAM user or an AWS account -

Returns:
  • (Types::GetSessionTokenResponse) - Returns a {Seahorse::Client::Response response} object which responds to the following methods:

Options Hash: (**params)
  • :token_code (String) --
  • :serial_number (String) --
  • :duration_seconds (Integer) --
def get_session_token(params = {}, options = {})
  req = build_request(:get_session_token, params)
  req.send_request(options)
end