Module: Aws::STS
- Defined in:
- lib/aws-sdk-sts/types.rb,
lib/aws-sdk-sts/client.rb,
lib/aws-sdk-sts/errors.rb,
lib/aws-sdk-sts/resource.rb,
lib/aws-sdk-sts/endpoints.rb,
lib/aws-sdk-sts/presigner.rb,
lib/aws-sdk-sts/client_api.rb,
lib/aws-sdk-sts/customizations.rb,
lib/aws-sdk-sts/endpoint_provider.rb,
lib/aws-sdk-sts/plugins/endpoints.rb,
lib/aws-sdk-sts/endpoint_parameters.rb,
lib/aws-sdk-sts/plugins/sts_regional_endpoints.rb,
lib/aws-sdk-sts.rb
Overview
This module provides support for AWS Security Token Service. This module is available in the ‘aws-sdk-core` gem.
# Client
The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.
sts = Aws::STS::Client.new
resp = sts.assume_role(params)
See Client for more information.
# Errors
Errors returned from AWS Security Token Service are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::STS::Errors::ServiceError
# rescues all AWS Security Token Service API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Presigner, Resource
service collapse
- GEM_VERSION =
'3.213.0'