aws-sdk-credentialbroker 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-credentialbroker/client.rb +767 -0
- data/lib/aws-sdk-credentialbroker/client_api.rb +227 -0
- data/lib/aws-sdk-credentialbroker/customizations.rb +0 -0
- data/lib/aws-sdk-credentialbroker/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-credentialbroker/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-credentialbroker/endpoints.rb +20 -0
- data/lib/aws-sdk-credentialbroker/errors.rb +252 -0
- data/lib/aws-sdk-credentialbroker/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-credentialbroker/resource.rb +26 -0
- data/lib/aws-sdk-credentialbroker/types.rb +448 -0
- data/lib/aws-sdk-credentialbroker/waiters.rb +15 -0
- data/lib/aws-sdk-credentialbroker.rb +62 -0
- data/sig/client.rbs +143 -0
- data/sig/errors.rbs +54 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +124 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
|
@@ -0,0 +1,767 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
|
4
|
+
#
|
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
|
+
#
|
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
|
9
|
+
|
|
10
|
+
require 'seahorse/client/plugins/content_length'
|
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
|
38
|
+
|
|
39
|
+
module Aws::CredentialBroker
|
|
40
|
+
# An API client for CredentialBroker. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
41
|
+
#
|
|
42
|
+
# client = Aws::CredentialBroker::Client.new(
|
|
43
|
+
# region: region_name,
|
|
44
|
+
# credentials: credentials,
|
|
45
|
+
# # ...
|
|
46
|
+
# )
|
|
47
|
+
#
|
|
48
|
+
# For details on configuring region and credentials see
|
|
49
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
50
|
+
#
|
|
51
|
+
# See {#initialize} for a full list of supported configuration options.
|
|
52
|
+
class Client < Seahorse::Client::Base
|
|
53
|
+
|
|
54
|
+
include Aws::ClientStubs
|
|
55
|
+
|
|
56
|
+
@identifier = :credentialbroker
|
|
57
|
+
|
|
58
|
+
set_api(ClientApi::API)
|
|
59
|
+
|
|
60
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
|
61
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
|
62
|
+
add_plugin(Aws::Plugins::Logging)
|
|
63
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
|
64
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
|
65
|
+
add_plugin(Aws::Plugins::UserAgent)
|
|
66
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
|
67
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
|
68
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
69
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
70
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
71
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
|
72
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
|
73
|
+
add_plugin(Aws::Plugins::StubResponses)
|
|
74
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
75
|
+
add_plugin(Aws::Plugins::InvocationId)
|
|
76
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
77
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
78
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
79
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
|
80
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
81
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
82
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
|
83
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
|
84
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
|
86
|
+
add_plugin(Aws::Plugins::Sign)
|
|
87
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
88
|
+
add_plugin(Aws::CredentialBroker::Plugins::Endpoints)
|
|
89
|
+
|
|
90
|
+
# @overload initialize(options)
|
|
91
|
+
# @param [Hash] options
|
|
92
|
+
#
|
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
|
95
|
+
# class name or an instance of a plugin class.
|
|
96
|
+
#
|
|
97
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
|
100
|
+
#
|
|
101
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
102
|
+
# credentials.
|
|
103
|
+
#
|
|
104
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
105
|
+
# shared file, such as `~/.aws/config`.
|
|
106
|
+
#
|
|
107
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
108
|
+
#
|
|
109
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
110
|
+
# assume a role after providing credentials via the web.
|
|
111
|
+
#
|
|
112
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
113
|
+
# access token generated from `aws login`.
|
|
114
|
+
#
|
|
115
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
116
|
+
# process that outputs to stdout.
|
|
117
|
+
#
|
|
118
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
119
|
+
# from an EC2 IMDS on an EC2 instance.
|
|
120
|
+
#
|
|
121
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
122
|
+
# instances running in ECS.
|
|
123
|
+
#
|
|
124
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
125
|
+
# from the Cognito Identity service.
|
|
126
|
+
#
|
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
|
128
|
+
#
|
|
129
|
+
# * `Aws.config[:credentials]`
|
|
130
|
+
#
|
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
|
132
|
+
# `:account_id` options.
|
|
133
|
+
#
|
|
134
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
|
135
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
|
136
|
+
#
|
|
137
|
+
# * `~/.aws/credentials`
|
|
138
|
+
#
|
|
139
|
+
# * `~/.aws/config`
|
|
140
|
+
#
|
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
|
145
|
+
#
|
|
146
|
+
# @option options [required, String] :region
|
|
147
|
+
# The AWS region to connect to. The configured `:region` is
|
|
148
|
+
# used to determine the service `:endpoint`. When not passed,
|
|
149
|
+
# a default `:region` is searched for in the following locations:
|
|
150
|
+
#
|
|
151
|
+
# * `Aws.config[:region]`
|
|
152
|
+
# * `ENV['AWS_REGION']`
|
|
153
|
+
# * `ENV['AMAZON_REGION']`
|
|
154
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
|
155
|
+
# * `~/.aws/credentials`
|
|
156
|
+
# * `~/.aws/config`
|
|
157
|
+
#
|
|
158
|
+
# @option options [String] :access_key_id
|
|
159
|
+
#
|
|
160
|
+
# @option options [String] :account_id
|
|
161
|
+
#
|
|
162
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
163
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
164
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
165
|
+
#
|
|
166
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
|
167
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
|
168
|
+
# until there is sufficent client side capacity to retry the request.
|
|
169
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
|
170
|
+
# not retry instead of sleeping.
|
|
171
|
+
#
|
|
172
|
+
# @option options [Array<String>] :auth_scheme_preference
|
|
173
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
|
174
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
|
175
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
|
176
|
+
#
|
|
177
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
|
178
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
|
179
|
+
# this client.
|
|
180
|
+
#
|
|
181
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
|
182
|
+
# Allows you to provide an identifier for this client which will be attached to
|
|
183
|
+
# all generated client side metrics. Defaults to an empty string.
|
|
184
|
+
#
|
|
185
|
+
# @option options [String] :client_side_monitoring_host ("127.0.0.1")
|
|
186
|
+
# Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
|
|
187
|
+
# side monitoring agent is running on, where client metrics will be published via UDP.
|
|
188
|
+
#
|
|
189
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
|
190
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
|
191
|
+
# agent is running on, where client metrics will be published via UDP.
|
|
192
|
+
#
|
|
193
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
|
194
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
|
195
|
+
# will use the Client Side Monitoring Agent Publisher.
|
|
196
|
+
#
|
|
197
|
+
# @option options [Boolean] :convert_params (true)
|
|
198
|
+
# When `true`, an attempt is made to coerce request parameters into
|
|
199
|
+
# the required types.
|
|
200
|
+
#
|
|
201
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
205
|
+
#
|
|
206
|
+
# @option options [String] :defaults_mode ("legacy")
|
|
207
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
208
|
+
# accepted modes and the configuration defaults that are included.
|
|
209
|
+
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
216
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
217
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
218
|
+
#
|
|
219
|
+
# @option options [Boolean] :disable_request_compression (false)
|
|
220
|
+
# When set to 'true' the request body will not be compressed
|
|
221
|
+
# for supported operations.
|
|
222
|
+
#
|
|
223
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
|
224
|
+
# Normally you should not configure the `:endpoint` option
|
|
225
|
+
# directly. This is normally constructed from the `:region`
|
|
226
|
+
# option. Configuring `:endpoint` is normally reserved for
|
|
227
|
+
# connecting to test or custom endpoints. The endpoint should
|
|
228
|
+
# be a URI formatted like:
|
|
229
|
+
#
|
|
230
|
+
# 'http://example.com'
|
|
231
|
+
# 'https://example.com'
|
|
232
|
+
# 'http://example.com:123'
|
|
233
|
+
#
|
|
234
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
235
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
236
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
237
|
+
#
|
|
238
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
239
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
240
|
+
#
|
|
241
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
242
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
243
|
+
# Use this option to config the time interval in seconds for making
|
|
244
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
245
|
+
#
|
|
246
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
247
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
248
|
+
#
|
|
249
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
250
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
251
|
+
# variables and the shared configuration file.
|
|
252
|
+
#
|
|
253
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
254
|
+
# The log formatter.
|
|
255
|
+
#
|
|
256
|
+
# @option options [Symbol] :log_level (:info)
|
|
257
|
+
# The log level to send messages to the `:logger` at.
|
|
258
|
+
#
|
|
259
|
+
# @option options [Logger] :logger
|
|
260
|
+
# The Logger instance to send log messages to. If this option
|
|
261
|
+
# is not set, logging will be disabled.
|
|
262
|
+
#
|
|
263
|
+
# @option options [Integer] :max_attempts (3)
|
|
264
|
+
# An integer representing the maximum number attempts that will be made for
|
|
265
|
+
# a single request, including the initial attempt. For example,
|
|
266
|
+
# setting this value to 5 will result in a request being retried up to
|
|
267
|
+
# 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
|
|
268
|
+
# except for DynamoDB and DynamoDB Streams, which default to 4.
|
|
269
|
+
#
|
|
270
|
+
# @option options [String] :profile ("default")
|
|
271
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
|
272
|
+
# When not specified, 'default' is used.
|
|
273
|
+
#
|
|
274
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
|
275
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
|
276
|
+
#
|
|
277
|
+
# * `when_supported` - (default) When set, a checksum will be
|
|
278
|
+
# calculated for all request payloads of operations modeled with the
|
|
279
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
|
280
|
+
# `requestAlgorithmMember` is modeled.
|
|
281
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
|
282
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
|
283
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
|
284
|
+
# is modeled and supplied.
|
|
285
|
+
#
|
|
286
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
|
287
|
+
# The minimum size in bytes that triggers compression for request
|
|
288
|
+
# bodies. The value must be non-negative integer value between 0
|
|
289
|
+
# and 10485780 bytes inclusive.
|
|
290
|
+
#
|
|
291
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
|
292
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
|
293
|
+
#
|
|
294
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
|
295
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
|
296
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
|
297
|
+
# are supported.
|
|
298
|
+
# * `when_required` - When set, checksum validation is not performed on
|
|
299
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
|
300
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
|
301
|
+
#
|
|
302
|
+
# @option options [Proc] :retry_backoff
|
|
303
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
304
|
+
# This option is only used in the `legacy` retry mode.
|
|
305
|
+
#
|
|
306
|
+
# @option options [Float] :retry_base_delay (0.3)
|
|
307
|
+
# The base delay in seconds used by the default backoff function. This option
|
|
308
|
+
# is only used in the `legacy` retry mode.
|
|
309
|
+
#
|
|
310
|
+
# @option options [Symbol] :retry_jitter (:none)
|
|
311
|
+
# A delay randomiser function used by the default backoff function.
|
|
312
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
|
313
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
|
314
|
+
# in the `legacy` retry mode.
|
|
315
|
+
#
|
|
316
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
317
|
+
#
|
|
318
|
+
# @option options [Integer] :retry_limit (3)
|
|
319
|
+
# The maximum number of times to retry failed requests. Only
|
|
320
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
321
|
+
# are retried. Generally, these are throttling errors, data
|
|
322
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
|
323
|
+
# endpoint discovery, and errors from expired credentials.
|
|
324
|
+
# This option is only used in the `legacy` retry mode.
|
|
325
|
+
#
|
|
326
|
+
# @option options [Integer] :retry_max_delay (0)
|
|
327
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
328
|
+
# used by the default backoff function. This option is only used in the
|
|
329
|
+
# `legacy` retry mode.
|
|
330
|
+
#
|
|
331
|
+
# @option options [String] :retry_mode ("standard")
|
|
332
|
+
# Specifies which retry algorithm to use. Values are:
|
|
333
|
+
#
|
|
334
|
+
# * `legacy` - The pre-existing retry behavior.
|
|
335
|
+
#
|
|
336
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
337
|
+
# This includes support for retry quotas, which limit the number of
|
|
338
|
+
# unsuccessful retries a client can make. This is the default value
|
|
339
|
+
# if no retry mode is provided.
|
|
340
|
+
#
|
|
341
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
342
|
+
# `standard` mode along with automatic client side throttling.
|
|
343
|
+
#
|
|
344
|
+
# @option options [String] :sdk_ua_app_id
|
|
345
|
+
# A unique and opaque application ID that is appended to the
|
|
346
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
|
347
|
+
# maximum length of 50. This variable is sourced from environment
|
|
348
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
|
349
|
+
#
|
|
350
|
+
# @option options [String] :secret_access_key
|
|
351
|
+
#
|
|
352
|
+
# @option options [String] :session_token
|
|
353
|
+
#
|
|
354
|
+
# @option options [Array] :sigv4a_signing_region_set
|
|
355
|
+
# A list of regions that should be signed with SigV4a signing. When
|
|
356
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
|
357
|
+
# in the following locations:
|
|
358
|
+
#
|
|
359
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
|
360
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
|
361
|
+
# * `~/.aws/config`
|
|
362
|
+
#
|
|
363
|
+
# @option options [Boolean] :stub_responses (false)
|
|
364
|
+
# Causes the client to return stubbed responses. By default
|
|
365
|
+
# fake responses are generated and returned. You can specify
|
|
366
|
+
# the response data to return or errors to raise by calling
|
|
367
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
|
368
|
+
#
|
|
369
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
370
|
+
# requests are made, and retries are disabled.
|
|
371
|
+
#
|
|
372
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
|
373
|
+
# Allows you to provide a telemetry provider, which is used to
|
|
374
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
|
375
|
+
# will not record or emit any telemetry data. The SDK supports the
|
|
376
|
+
# following telemetry providers:
|
|
377
|
+
#
|
|
378
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
|
379
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
|
380
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
|
381
|
+
#
|
|
382
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
383
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
|
384
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
|
385
|
+
#
|
|
386
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
387
|
+
# tokens.
|
|
388
|
+
#
|
|
389
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
390
|
+
# access token generated from `aws login`.
|
|
391
|
+
#
|
|
392
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
393
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
394
|
+
#
|
|
395
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
396
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
397
|
+
# will be used if available.
|
|
398
|
+
#
|
|
399
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
400
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
401
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
402
|
+
# is set to `true`.
|
|
403
|
+
#
|
|
404
|
+
# @option options [Boolean] :validate_params (true)
|
|
405
|
+
# When `true`, request parameters are validated before
|
|
406
|
+
# sending the request.
|
|
407
|
+
#
|
|
408
|
+
# @option options [Aws::CredentialBroker::EndpointProvider] :endpoint_provider
|
|
409
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
|
410
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
|
411
|
+
# `Aws::CredentialBroker::EndpointParameters`.
|
|
412
|
+
#
|
|
413
|
+
# @option options [Float] :http_continue_timeout (1)
|
|
414
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
|
415
|
+
# request body. This option has no effect unless the request has "Expect"
|
|
416
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
|
417
|
+
# behaviour. This value can safely be set per request on the session.
|
|
418
|
+
#
|
|
419
|
+
# @option options [Float] :http_idle_timeout (5)
|
|
420
|
+
# The number of seconds a connection is allowed to sit idle before it
|
|
421
|
+
# is considered stale. Stale connections are closed and removed from the
|
|
422
|
+
# pool before making a request.
|
|
423
|
+
#
|
|
424
|
+
# @option options [Float] :http_open_timeout (15)
|
|
425
|
+
# The default number of seconds to wait for response data.
|
|
426
|
+
# This value can safely be set per-request on the session.
|
|
427
|
+
#
|
|
428
|
+
# @option options [URI::HTTP,String] :http_proxy
|
|
429
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
430
|
+
#
|
|
431
|
+
# @option options [Float] :http_read_timeout (60)
|
|
432
|
+
# The default number of seconds to wait for response data.
|
|
433
|
+
# This value can safely be set per-request on the session.
|
|
434
|
+
#
|
|
435
|
+
# @option options [Boolean] :http_wire_trace (false)
|
|
436
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
|
437
|
+
#
|
|
438
|
+
# @option options [Proc] :on_chunk_received
|
|
439
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
440
|
+
# of the response body is received. It provides three arguments: the chunk,
|
|
441
|
+
# the number of bytes received, and the total number of
|
|
442
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
|
443
|
+
#
|
|
444
|
+
# @option options [Proc] :on_chunk_sent
|
|
445
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
446
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
|
447
|
+
# the number of bytes read from the body, and the total number of
|
|
448
|
+
# bytes in the body.
|
|
449
|
+
#
|
|
450
|
+
# @option options [Boolean] :raise_response_errors (true)
|
|
451
|
+
# When `true`, response errors are raised.
|
|
452
|
+
#
|
|
453
|
+
# @option options [String] :ssl_ca_bundle
|
|
454
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
|
455
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
456
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
|
457
|
+
#
|
|
458
|
+
# @option options [String] :ssl_ca_directory
|
|
459
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
|
460
|
+
# authority files for verifying peer certificates. If you do
|
|
461
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
462
|
+
# default will be used if available.
|
|
463
|
+
#
|
|
464
|
+
# @option options [String] :ssl_ca_store
|
|
465
|
+
# Sets the X509::Store to verify peer certificate.
|
|
466
|
+
#
|
|
467
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
|
468
|
+
# Sets a client certificate when creating http connections.
|
|
469
|
+
#
|
|
470
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
|
471
|
+
# Sets a client key when creating http connections.
|
|
472
|
+
#
|
|
473
|
+
# @option options [Float] :ssl_timeout
|
|
474
|
+
# Sets the SSL timeout in seconds
|
|
475
|
+
#
|
|
476
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
|
477
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
|
478
|
+
#
|
|
479
|
+
def initialize(*args)
|
|
480
|
+
super
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# @!group API Operations
|
|
484
|
+
|
|
485
|
+
# Completes a consent session. Call this from the handler at your
|
|
486
|
+
# session-binding URL, over a session carrying the same end-user
|
|
487
|
+
# identity that started the flow. On a match the broker obtains the
|
|
488
|
+
# token and holds it for later retrieval. On a mismatch it fails with
|
|
489
|
+
# AccessDeniedException and reason SESSION\_BINDING\_IDENTITY\_MISMATCH,
|
|
490
|
+
# and no token is kept.
|
|
491
|
+
#
|
|
492
|
+
# @option params [required, String] :session_uri
|
|
493
|
+
# The session handle from StartOAuthSession.
|
|
494
|
+
#
|
|
495
|
+
# @return [Types::CompleteOAuthSessionBindingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
496
|
+
#
|
|
497
|
+
# * {Types::CompleteOAuthSessionBindingResponse#session_uri #session_uri} => String
|
|
498
|
+
#
|
|
499
|
+
# @example Request syntax with placeholder values
|
|
500
|
+
#
|
|
501
|
+
# resp = client.complete_o_auth_session_binding({
|
|
502
|
+
# session_uri: "SessionUri", # required
|
|
503
|
+
# })
|
|
504
|
+
#
|
|
505
|
+
# @example Response structure
|
|
506
|
+
#
|
|
507
|
+
# resp.session_uri #=> String
|
|
508
|
+
#
|
|
509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-2026-07-01/CompleteOAuthSessionBinding AWS API Documentation
|
|
510
|
+
#
|
|
511
|
+
# @overload complete_o_auth_session_binding(params = {})
|
|
512
|
+
# @param [Hash] params ({})
|
|
513
|
+
def complete_o_auth_session_binding(params = {}, options = {})
|
|
514
|
+
req = build_request(:complete_o_auth_session_binding, params)
|
|
515
|
+
req.send_request(options)
|
|
516
|
+
end
|
|
517
|
+
|
|
518
|
+
# Retrieves the API key held by an API key credential provider. The
|
|
519
|
+
# broker reads the key from the AWS Secrets Manager secret the provider
|
|
520
|
+
# was configured with and returns it, so your workload does not need its
|
|
521
|
+
# own access to that secret.
|
|
522
|
+
#
|
|
523
|
+
# @option params [required, String] :credential_provider_arn
|
|
524
|
+
# Amazon Resource Name of the credential provider to obtain the key
|
|
525
|
+
# from. The provider must be an API key provider and must be READY.
|
|
526
|
+
#
|
|
527
|
+
# @return [Types::GetApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
528
|
+
#
|
|
529
|
+
# * {Types::GetApiKeyResponse#api_key #api_key} => String
|
|
530
|
+
#
|
|
531
|
+
# @example Request syntax with placeholder values
|
|
532
|
+
#
|
|
533
|
+
# resp = client.get_api_key({
|
|
534
|
+
# credential_provider_arn: "CredentialProviderArn", # required
|
|
535
|
+
# })
|
|
536
|
+
#
|
|
537
|
+
# @example Response structure
|
|
538
|
+
#
|
|
539
|
+
# resp.api_key #=> String
|
|
540
|
+
#
|
|
541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-2026-07-01/GetApiKey AWS API Documentation
|
|
542
|
+
#
|
|
543
|
+
# @overload get_api_key(params = {})
|
|
544
|
+
# @param [Hash] params ({})
|
|
545
|
+
def get_api_key(params = {}, options = {})
|
|
546
|
+
req = build_request(:get_api_key, params)
|
|
547
|
+
req.send_request(options)
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
# Retrieves an OAuth access token from a credential provider. The broker
|
|
551
|
+
# authenticates to the provider's authorization server with the client
|
|
552
|
+
# credentials configured on the provider, obtains a token, and returns
|
|
553
|
+
# it — so your workload never handles the provider's client secret.
|
|
554
|
+
#
|
|
555
|
+
# The broker caches the access token it obtains until that token
|
|
556
|
+
# expires, or for up to one hour when the token's own lifetime is
|
|
557
|
+
# longer than an hour. A call made while a cached token is still valid
|
|
558
|
+
# returns that token instead of requesting a new one; set
|
|
559
|
+
# `forceAuthentication` to bypass the cache and force a fresh request to
|
|
560
|
+
# the authorization server.
|
|
561
|
+
#
|
|
562
|
+
# The grant type you name must be one the provider allows.
|
|
563
|
+
# CLIENT\_CREDENTIALS returns a token representing the workload itself;
|
|
564
|
+
# TOKEN\_EXCHANGE returns a token that preserves the identity of the
|
|
565
|
+
# caller the workload is acting for; AUTHORIZATION\_CODE returns a token
|
|
566
|
+
# representing an end user who granted consent, and requires a consent
|
|
567
|
+
# session that user has already completed, named in `sessionUri`;
|
|
568
|
+
# JWT\_AUTHORIZATION\_GRANT presents a signed JWT as the grant, so no
|
|
569
|
+
# client secret is sent on the token request. Of the supported vendors,
|
|
570
|
+
# only Microsoft Entra ID accepts this grant today: Entra implements
|
|
571
|
+
# on-behalf-of delegation with the RFC 7523 JWT bearer grant
|
|
572
|
+
# (`urn:ietf:params:oauth:grant-type:jwt-bearer`), where other
|
|
573
|
+
# authorization servers use RFC 8693 token exchange.
|
|
574
|
+
#
|
|
575
|
+
# @option params [required, String] :credential_provider_arn
|
|
576
|
+
# Amazon Resource Name of the credential provider to obtain the token
|
|
577
|
+
# from. The provider must be an OAuth provider and must be READY.
|
|
578
|
+
#
|
|
579
|
+
# @option params [required, String] :grant_type
|
|
580
|
+
# How the token is obtained. Must be one of the grant types the provider
|
|
581
|
+
# allows; a grant the provider does not allow is rejected.
|
|
582
|
+
#
|
|
583
|
+
# @option params [Array<String>] :scopes
|
|
584
|
+
# The OAuth scopes to request from the authorization server.
|
|
585
|
+
#
|
|
586
|
+
# @option params [Array<String>] :resources
|
|
587
|
+
# Resource indicators (RFC 8707) naming the APIs this token is for. Omit
|
|
588
|
+
# unless the authorization server requires them.
|
|
589
|
+
#
|
|
590
|
+
# @option params [Array<String>] :audiences
|
|
591
|
+
# Audience values (RFC 8693) naming the intended recipients of this
|
|
592
|
+
# token. Omit unless the authorization server requires them.
|
|
593
|
+
#
|
|
594
|
+
# @option params [Hash<String,String>] :custom_parameters
|
|
595
|
+
# Extra parameters to include in the request to the authorization
|
|
596
|
+
# server, for vendor extensions. Added to the standard OAuth parameters;
|
|
597
|
+
# they never override them.
|
|
598
|
+
#
|
|
599
|
+
# @option params [Boolean] :force_authentication
|
|
600
|
+
# Request a new token from the authorization server even when the broker
|
|
601
|
+
# already holds a valid one for this provider. Defaults to false, which
|
|
602
|
+
# returns the held token when one is available.
|
|
603
|
+
#
|
|
604
|
+
# @option params [String] :session_uri
|
|
605
|
+
# Return the token obtained for a consent session that a user has
|
|
606
|
+
# already completed. Supply the handle returned when the session was
|
|
607
|
+
# started.
|
|
608
|
+
#
|
|
609
|
+
# @return [Types::GetOAuthTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
610
|
+
#
|
|
611
|
+
# * {Types::GetOAuthTokenResponse#access_token #access_token} => String
|
|
612
|
+
# * {Types::GetOAuthTokenResponse#expires_at #expires_at} => Time
|
|
613
|
+
# * {Types::GetOAuthTokenResponse#session_status #session_status} => String
|
|
614
|
+
#
|
|
615
|
+
# @example Request syntax with placeholder values
|
|
616
|
+
#
|
|
617
|
+
# resp = client.get_o_auth_token({
|
|
618
|
+
# credential_provider_arn: "CredentialProviderArn", # required
|
|
619
|
+
# grant_type: "CLIENT_CREDENTIALS", # required, accepts CLIENT_CREDENTIALS, TOKEN_EXCHANGE, JWT_AUTHORIZATION_GRANT, AUTHORIZATION_CODE
|
|
620
|
+
# scopes: ["ScopeValue"],
|
|
621
|
+
# resources: ["ResourceValue"],
|
|
622
|
+
# audiences: ["AudienceValue"],
|
|
623
|
+
# custom_parameters: {
|
|
624
|
+
# "CustomParameterKey" => "CustomParameterValue",
|
|
625
|
+
# },
|
|
626
|
+
# force_authentication: false,
|
|
627
|
+
# session_uri: "SessionUri",
|
|
628
|
+
# })
|
|
629
|
+
#
|
|
630
|
+
# @example Response structure
|
|
631
|
+
#
|
|
632
|
+
# resp.access_token #=> String
|
|
633
|
+
# resp.expires_at #=> Time
|
|
634
|
+
# resp.session_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
635
|
+
#
|
|
636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-2026-07-01/GetOAuthToken AWS API Documentation
|
|
637
|
+
#
|
|
638
|
+
# @overload get_o_auth_token(params = {})
|
|
639
|
+
# @param [Hash] params ({})
|
|
640
|
+
def get_o_auth_token(params = {}, options = {})
|
|
641
|
+
req = build_request(:get_o_auth_token, params)
|
|
642
|
+
req.send_request(options)
|
|
643
|
+
end
|
|
644
|
+
|
|
645
|
+
# Starts a consent session so an end user can authorize the broker to
|
|
646
|
+
# obtain tokens on their behalf. Returns a URL to send the user's
|
|
647
|
+
# browser to, and a handle identifying the session.
|
|
648
|
+
#
|
|
649
|
+
# Call this when GetOAuthToken returns no token for a provider that
|
|
650
|
+
# requires user consent. When a valid token is already available, this
|
|
651
|
+
# returns it directly and no consent is needed.
|
|
652
|
+
#
|
|
653
|
+
# The operation is not idempotent and takes no idempotency token: it is
|
|
654
|
+
# an OAuth consent-flow step rather than durable resource creation. A
|
|
655
|
+
# replayed session is rejected by `CompleteOAuthSessionBinding` with
|
|
656
|
+
# `SESSION_STATE_CONFLICT`.
|
|
657
|
+
#
|
|
658
|
+
# @option params [required, String] :credential_provider_arn
|
|
659
|
+
# Amazon Resource Name of the credential provider the user is granting
|
|
660
|
+
# consent for.
|
|
661
|
+
#
|
|
662
|
+
# @option params [Array<String>] :scopes
|
|
663
|
+
# The OAuth scopes to request from the authorization server.
|
|
664
|
+
#
|
|
665
|
+
# @option params [required, String] :session_binding_url
|
|
666
|
+
# The URL the end user's browser is returned to once they have
|
|
667
|
+
# responded to the consent prompt. Must match one of the session-binding
|
|
668
|
+
# URLs allowed on the provider.
|
|
669
|
+
#
|
|
670
|
+
# @option params [Array<String>] :resources
|
|
671
|
+
# Resource indicators (RFC 8707) naming the APIs this token is for. Omit
|
|
672
|
+
# unless the authorization server requires them.
|
|
673
|
+
#
|
|
674
|
+
# @option params [Array<String>] :audiences
|
|
675
|
+
# Audience values (RFC 8693) naming the intended recipients of this
|
|
676
|
+
# token. Omit unless the authorization server requires them.
|
|
677
|
+
#
|
|
678
|
+
# @option params [Hash<String,String>] :custom_parameters
|
|
679
|
+
# Extra parameters to include in the request to the authorization
|
|
680
|
+
# server, for vendor extensions. Added to the standard OAuth parameters;
|
|
681
|
+
# they never override them.
|
|
682
|
+
#
|
|
683
|
+
# @option params [String] :custom_state
|
|
684
|
+
# An opaque string of your own that is sent back to your session-binding
|
|
685
|
+
# URL unchanged. Use it to tie the response to the request you issued,
|
|
686
|
+
# so your handler can reject a response it did not initiate.
|
|
687
|
+
#
|
|
688
|
+
# @return [Types::StartOAuthSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
689
|
+
#
|
|
690
|
+
# * {Types::StartOAuthSessionResponse#authorization_url #authorization_url} => String
|
|
691
|
+
# * {Types::StartOAuthSessionResponse#session_uri #session_uri} => String
|
|
692
|
+
# * {Types::StartOAuthSessionResponse#session_status #session_status} => String
|
|
693
|
+
# * {Types::StartOAuthSessionResponse#access_token #access_token} => String
|
|
694
|
+
# * {Types::StartOAuthSessionResponse#expires_at #expires_at} => Time
|
|
695
|
+
#
|
|
696
|
+
# @example Request syntax with placeholder values
|
|
697
|
+
#
|
|
698
|
+
# resp = client.start_o_auth_session({
|
|
699
|
+
# credential_provider_arn: "CredentialProviderArn", # required
|
|
700
|
+
# scopes: ["ScopeValue"],
|
|
701
|
+
# session_binding_url: "SessionBindingUrl", # required
|
|
702
|
+
# resources: ["ResourceValue"],
|
|
703
|
+
# audiences: ["AudienceValue"],
|
|
704
|
+
# custom_parameters: {
|
|
705
|
+
# "CustomParameterKey" => "CustomParameterValue",
|
|
706
|
+
# },
|
|
707
|
+
# custom_state: "CustomState",
|
|
708
|
+
# })
|
|
709
|
+
#
|
|
710
|
+
# @example Response structure
|
|
711
|
+
#
|
|
712
|
+
# resp.authorization_url #=> String
|
|
713
|
+
# resp.session_uri #=> String
|
|
714
|
+
# resp.session_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
|
715
|
+
# resp.access_token #=> String
|
|
716
|
+
# resp.expires_at #=> Time
|
|
717
|
+
#
|
|
718
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/credentialbroker-2026-07-01/StartOAuthSession AWS API Documentation
|
|
719
|
+
#
|
|
720
|
+
# @overload start_o_auth_session(params = {})
|
|
721
|
+
# @param [Hash] params ({})
|
|
722
|
+
def start_o_auth_session(params = {}, options = {})
|
|
723
|
+
req = build_request(:start_o_auth_session, params)
|
|
724
|
+
req.send_request(options)
|
|
725
|
+
end
|
|
726
|
+
|
|
727
|
+
# @!endgroup
|
|
728
|
+
|
|
729
|
+
# @param params ({})
|
|
730
|
+
# @api private
|
|
731
|
+
def build_request(operation_name, params = {})
|
|
732
|
+
handlers = @handlers.for(operation_name)
|
|
733
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
|
734
|
+
Aws::Telemetry.module_to_tracer_name('Aws::CredentialBroker')
|
|
735
|
+
)
|
|
736
|
+
context = Seahorse::Client::RequestContext.new(
|
|
737
|
+
operation_name: operation_name,
|
|
738
|
+
operation: config.api.operation(operation_name),
|
|
739
|
+
client: self,
|
|
740
|
+
params: params,
|
|
741
|
+
config: config,
|
|
742
|
+
tracer: tracer
|
|
743
|
+
)
|
|
744
|
+
context[:gem_name] = 'aws-sdk-credentialbroker'
|
|
745
|
+
context[:gem_version] = '1.0.0'
|
|
746
|
+
Seahorse::Client::Request.new(handlers, context)
|
|
747
|
+
end
|
|
748
|
+
|
|
749
|
+
# @api private
|
|
750
|
+
# @deprecated
|
|
751
|
+
def waiter_names
|
|
752
|
+
[]
|
|
753
|
+
end
|
|
754
|
+
|
|
755
|
+
class << self
|
|
756
|
+
|
|
757
|
+
# @api private
|
|
758
|
+
attr_reader :identifier
|
|
759
|
+
|
|
760
|
+
# @api private
|
|
761
|
+
def errors_module
|
|
762
|
+
Errors
|
|
763
|
+
end
|
|
764
|
+
|
|
765
|
+
end
|
|
766
|
+
end
|
|
767
|
+
end
|