Class: AWS::STS::Client
- Inherits:
-
Core::QueryClient
- Object
- Core::Client
- Core::QueryClient
- AWS::STS::Client
- Defined in:
- lib/aws/sts/client.rb
Overview
Client class for AWS Security Token Service (STS).
Constant Summary collapse
- 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
#log_warning, operations, #operations, #with_http_handler, #with_options
Constructor Details
#initialize(*args) ⇒ Client
Returns a new instance of Client.
27 28 29 30 31 32 33 34 |
# File 'lib/aws/sts/client.rb', line 27 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.
|
# File 'lib/aws/sts/client.rb', line 38
|
#get_session_token(options = {}) ⇒ Core::Response
Calls the GetSessionToken API operation.
|
# File 'lib/aws/sts/client.rb', line 69
|