aws-sdk-ssooidc 1.1.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-ssooidc.rb +4 -2
- data/lib/aws-sdk-ssooidc/client.rb +50 -28
- data/lib/aws-sdk-ssooidc/client_api.rb +2 -0
- data/lib/aws-sdk-ssooidc/errors.rb +2 -0
- data/lib/aws-sdk-ssooidc/resource.rb +3 -7
- data/lib/aws-sdk-ssooidc/types.rb +20 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ae6af603304c51f629e7bd0bcde85ee65db526b09e18ed0a86f794ff4f4f274d
|
4
|
+
data.tar.gz: 915b2f0f46db615329d58a88d36978fe64ac74f81ea03a65d4a0dfc4f6c520f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5c8ea6b1d0bdcf37b630c10aef0941b898d48f490833c7d95974ac87cbdda54b96a01dfaae321eda805198984d0687ae008210d1932f219ba748432ad08d03
|
7
|
+
data.tar.gz: e0203b40dbbb0d0da992f9ebc1913bd4f3e11c4169fcc649e7034edccc1037b8d05fe36840b3d925ce2ecbb2fa0ebdd9e2f6fcd4ac671df508dbb070157e691f
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-ssooidc/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::SSOOIDC
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.6.0'
|
49
51
|
|
50
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
|
|
32
35
|
module Aws::SSOOIDC
|
33
36
|
# An API client for SSOOIDC. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::SSOOIDC::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::SSOOIDC
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::SSOOIDC
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,15 +116,15 @@ module Aws::SSOOIDC
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
107
126
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
127
|
+
# a default `:region` is searched for in the following locations:
|
109
128
|
#
|
110
129
|
# * `Aws.config[:region]`
|
111
130
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +180,7 @@ module Aws::SSOOIDC
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +195,7 @@ module Aws::SSOOIDC
|
|
176
195
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
196
|
#
|
178
197
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
198
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
199
|
#
|
181
200
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
201
|
# The log formatter.
|
@@ -229,15 +248,19 @@ module Aws::SSOOIDC
|
|
229
248
|
#
|
230
249
|
# @option options [String] :retry_mode ("legacy")
|
231
250
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
251
|
+
#
|
252
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
253
|
+
# no retry mode is provided.
|
254
|
+
#
|
255
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
256
|
+
# This includes support for retry quotas, which limit the number of
|
257
|
+
# unsuccessful retries a client can make.
|
258
|
+
#
|
259
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
260
|
+
# functionality of `standard` mode along with automatic client side
|
261
|
+
# throttling. This is a provisional mode that may change behavior
|
262
|
+
# in the future.
|
263
|
+
#
|
241
264
|
#
|
242
265
|
# @option options [String] :secret_access_key
|
243
266
|
#
|
@@ -265,8 +288,7 @@ module Aws::SSOOIDC
|
|
265
288
|
#
|
266
289
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
290
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
291
|
+
# safely be set per-request on the session.
|
270
292
|
#
|
271
293
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
294
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +300,7 @@ module Aws::SSOOIDC
|
|
278
300
|
# request body. This option has no effect unless the request has
|
279
301
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
302
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
303
|
+
# request on the session.
|
282
304
|
#
|
283
305
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
306
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -503,7 +525,7 @@ module Aws::SSOOIDC
|
|
503
525
|
params: params,
|
504
526
|
config: config)
|
505
527
|
context[:gem_name] = 'aws-sdk-ssooidc'
|
506
|
-
context[:gem_version] = '1.
|
528
|
+
context[:gem_version] = '1.6.0'
|
507
529
|
Seahorse::Client::Request.new(handlers, context)
|
508
530
|
end
|
509
531
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SSOOIDC
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::SSOOIDC::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::SSOOIDC::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::SSOOIDC::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -21,6 +23,7 @@ module Aws::SSOOIDC
|
|
21
23
|
class AccessDeniedException < Struct.new(
|
22
24
|
:error,
|
23
25
|
:error_description)
|
26
|
+
SENSITIVE = []
|
24
27
|
include Aws::Structure
|
25
28
|
end
|
26
29
|
|
@@ -38,6 +41,7 @@ module Aws::SSOOIDC
|
|
38
41
|
class AuthorizationPendingException < Struct.new(
|
39
42
|
:error,
|
40
43
|
:error_description)
|
44
|
+
SENSITIVE = []
|
41
45
|
include Aws::Structure
|
42
46
|
end
|
43
47
|
|
@@ -112,6 +116,7 @@ module Aws::SSOOIDC
|
|
112
116
|
:refresh_token,
|
113
117
|
:scope,
|
114
118
|
:redirect_uri)
|
119
|
+
SENSITIVE = []
|
115
120
|
include Aws::Structure
|
116
121
|
end
|
117
122
|
|
@@ -146,6 +151,7 @@ module Aws::SSOOIDC
|
|
146
151
|
:expires_in,
|
147
152
|
:refresh_token,
|
148
153
|
:id_token)
|
154
|
+
SENSITIVE = []
|
149
155
|
include Aws::Structure
|
150
156
|
end
|
151
157
|
|
@@ -163,6 +169,7 @@ module Aws::SSOOIDC
|
|
163
169
|
class ExpiredTokenException < Struct.new(
|
164
170
|
:error,
|
165
171
|
:error_description)
|
172
|
+
SENSITIVE = []
|
166
173
|
include Aws::Structure
|
167
174
|
end
|
168
175
|
|
@@ -180,6 +187,7 @@ module Aws::SSOOIDC
|
|
180
187
|
class InternalServerException < Struct.new(
|
181
188
|
:error,
|
182
189
|
:error_description)
|
190
|
+
SENSITIVE = []
|
183
191
|
include Aws::Structure
|
184
192
|
end
|
185
193
|
|
@@ -198,6 +206,7 @@ module Aws::SSOOIDC
|
|
198
206
|
class InvalidClientException < Struct.new(
|
199
207
|
:error,
|
200
208
|
:error_description)
|
209
|
+
SENSITIVE = []
|
201
210
|
include Aws::Structure
|
202
211
|
end
|
203
212
|
|
@@ -215,6 +224,7 @@ module Aws::SSOOIDC
|
|
215
224
|
class InvalidClientMetadataException < Struct.new(
|
216
225
|
:error,
|
217
226
|
:error_description)
|
227
|
+
SENSITIVE = []
|
218
228
|
include Aws::Structure
|
219
229
|
end
|
220
230
|
|
@@ -232,6 +242,7 @@ module Aws::SSOOIDC
|
|
232
242
|
class InvalidGrantException < Struct.new(
|
233
243
|
:error,
|
234
244
|
:error_description)
|
245
|
+
SENSITIVE = []
|
235
246
|
include Aws::Structure
|
236
247
|
end
|
237
248
|
|
@@ -249,6 +260,7 @@ module Aws::SSOOIDC
|
|
249
260
|
class InvalidRequestException < Struct.new(
|
250
261
|
:error,
|
251
262
|
:error_description)
|
263
|
+
SENSITIVE = []
|
252
264
|
include Aws::Structure
|
253
265
|
end
|
254
266
|
|
@@ -265,6 +277,7 @@ module Aws::SSOOIDC
|
|
265
277
|
class InvalidScopeException < Struct.new(
|
266
278
|
:error,
|
267
279
|
:error_description)
|
280
|
+
SENSITIVE = []
|
268
281
|
include Aws::Structure
|
269
282
|
end
|
270
283
|
|
@@ -298,6 +311,7 @@ module Aws::SSOOIDC
|
|
298
311
|
:client_name,
|
299
312
|
:client_type,
|
300
313
|
:scopes)
|
314
|
+
SENSITIVE = []
|
301
315
|
include Aws::Structure
|
302
316
|
end
|
303
317
|
|
@@ -338,6 +352,7 @@ module Aws::SSOOIDC
|
|
338
352
|
:client_secret_expires_at,
|
339
353
|
:authorization_endpoint,
|
340
354
|
:token_endpoint)
|
355
|
+
SENSITIVE = []
|
341
356
|
include Aws::Structure
|
342
357
|
end
|
343
358
|
|
@@ -355,6 +370,7 @@ module Aws::SSOOIDC
|
|
355
370
|
class SlowDownException < Struct.new(
|
356
371
|
:error,
|
357
372
|
:error_description)
|
373
|
+
SENSITIVE = []
|
358
374
|
include Aws::Structure
|
359
375
|
end
|
360
376
|
|
@@ -393,6 +409,7 @@ module Aws::SSOOIDC
|
|
393
409
|
:client_id,
|
394
410
|
:client_secret,
|
395
411
|
:start_url)
|
412
|
+
SENSITIVE = []
|
396
413
|
include Aws::Structure
|
397
414
|
end
|
398
415
|
|
@@ -436,6 +453,7 @@ module Aws::SSOOIDC
|
|
436
453
|
:verification_uri_complete,
|
437
454
|
:expires_in,
|
438
455
|
:interval)
|
456
|
+
SENSITIVE = []
|
439
457
|
include Aws::Structure
|
440
458
|
end
|
441
459
|
|
@@ -454,6 +472,7 @@ module Aws::SSOOIDC
|
|
454
472
|
class UnauthorizedClientException < Struct.new(
|
455
473
|
:error,
|
456
474
|
:error_description)
|
475
|
+
SENSITIVE = []
|
457
476
|
include Aws::Structure
|
458
477
|
end
|
459
478
|
|
@@ -471,6 +490,7 @@ module Aws::SSOOIDC
|
|
471
490
|
class UnsupportedGrantTypeException < Struct.new(
|
472
491
|
:error,
|
473
492
|
:error_description)
|
493
|
+
SENSITIVE = []
|
474
494
|
include Aws::Structure
|
475
495
|
end
|
476
496
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssooidc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - SSO OIDC
|