Class: AWS::STS::Client
- Inherits:
-
Core::Client
- Object
- Core::Client
- AWS::STS::Client
- Extended by:
- Core::QueryClient
- Defined in:
- lib/aws/sts/client.rb
Overview
Client class for AWS Security Token Service (STS).
Constant Summary collapse
- API_VERSION =
'2011-06-15'
- REGION_US_E1 =
'sts.amazonaws.com'
Instance Attribute Summary
Attributes inherited from Core::Client
Instance Method Summary collapse
-
#get_federation_token(options = {}) ⇒ Core::Response
Calls the GetFederationToken API operation.
-
#get_session_token(options = {}) ⇒ Core::Response
Calls the GetSessionToken API operation.
-
#initialize(*args) ⇒ Client
constructor
A new instance of Client.
Methods inherited from Core::Client
#operations, #with_http_handler, #with_options
Constructor Details
#initialize(*args) ⇒ Client
Returns a new instance of Client.
29 30 31 32 33 34 35 36 |
# File 'lib/aws/sts/client.rb', line 29 def initialize *args super unless config.use_ssl? msg = 'AWS Security Token Service (STS) requires ssl but the ' + ':use_ssl option is set to false. Try passing :use_ssl => true' raise ArgumentError, msg end end |
Instance Method Details
#get_federation_token(options = {}) ⇒ Core::Response
Calls the GetFederationToken API operation.
70 |
# File 'lib/aws/sts/client.rb', line 70 define_client_method :get_federation_token, 'GetFederationToken' |
#get_session_token(options = {}) ⇒ Core::Response
Calls the GetSessionToken API operation.
104 |
# File 'lib/aws/sts/client.rb', line 104 define_client_method :get_session_token, 'GetSessionToken' |