aws-sdk-core 3.191.1 → 3.229.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 +4 -4
- data/CHANGELOG.md +539 -1
- data/VERSION +1 -1
- data/lib/aws-defaults/default_configuration.rb +1 -2
- data/lib/aws-defaults.rb +4 -1
- data/lib/aws-sdk-core/arn.rb +1 -3
- data/lib/aws-sdk-core/assume_role_credentials.rb +13 -5
- data/lib/aws-sdk-core/assume_role_web_identity_credentials.rb +14 -7
- data/lib/aws-sdk-core/binary/decode_handler.rb +3 -9
- data/lib/aws-sdk-core/binary/encode_handler.rb +1 -1
- data/lib/aws-sdk-core/binary/event_builder.rb +34 -37
- data/lib/aws-sdk-core/binary/event_stream_decoder.rb +1 -0
- data/lib/aws-sdk-core/binary/event_stream_encoder.rb +4 -3
- data/lib/aws-sdk-core/cbor/decoder.rb +308 -0
- data/lib/aws-sdk-core/cbor/encoder.rb +243 -0
- data/lib/aws-sdk-core/cbor.rb +53 -0
- data/lib/aws-sdk-core/client_side_monitoring.rb +9 -0
- data/lib/aws-sdk-core/client_stubs.rb +30 -55
- data/lib/aws-sdk-core/credential_provider.rb +4 -0
- data/lib/aws-sdk-core/credential_provider_chain.rb +38 -11
- data/lib/aws-sdk-core/credentials.rb +19 -6
- data/lib/aws-sdk-core/ec2_metadata.rb +1 -1
- data/lib/aws-sdk-core/ecs_credentials.rb +1 -0
- data/lib/aws-sdk-core/endpoints/endpoint.rb +3 -1
- data/lib/aws-sdk-core/endpoints/matchers.rb +8 -10
- data/lib/aws-sdk-core/endpoints.rb +101 -21
- data/lib/aws-sdk-core/error_handler.rb +46 -0
- data/lib/aws-sdk-core/errors.rb +11 -2
- data/lib/aws-sdk-core/event_emitter.rb +1 -17
- data/lib/aws-sdk-core/instance_profile_credentials.rb +148 -158
- data/lib/aws-sdk-core/json/builder.rb +8 -1
- data/lib/aws-sdk-core/json/error_handler.rb +29 -13
- data/lib/aws-sdk-core/json/handler.rb +6 -6
- data/lib/aws-sdk-core/json/json_engine.rb +3 -1
- data/lib/aws-sdk-core/json/oj_engine.rb +7 -1
- data/lib/aws-sdk-core/json/parser.rb +6 -1
- data/lib/aws-sdk-core/json.rb +43 -14
- data/lib/aws-sdk-core/log/param_filter.rb +2 -2
- data/lib/aws-sdk-core/log/param_formatter.rb +7 -3
- data/lib/aws-sdk-core/log.rb +10 -0
- data/lib/aws-sdk-core/lru_cache.rb +75 -0
- data/lib/aws-sdk-core/pageable_response.rb +1 -1
- data/lib/aws-sdk-core/param_validator.rb +7 -2
- data/lib/aws-sdk-core/plugins/bearer_authorization.rb +2 -0
- data/lib/aws-sdk-core/plugins/checksum_algorithm.rb +332 -169
- data/lib/aws-sdk-core/plugins/client_metrics_plugin.rb +0 -1
- data/lib/aws-sdk-core/plugins/client_metrics_send_plugin.rb +14 -2
- data/lib/aws-sdk-core/plugins/credentials_configuration.rb +77 -57
- data/lib/aws-sdk-core/plugins/endpoint_pattern.rb +40 -32
- data/lib/aws-sdk-core/plugins/global_configuration.rb +8 -9
- data/lib/aws-sdk-core/plugins/http_checksum.rb +2 -8
- data/lib/aws-sdk-core/plugins/invocation_id.rb +1 -11
- data/lib/aws-sdk-core/plugins/protocols/api_gateway.rb +3 -1
- data/lib/aws-sdk-core/plugins/protocols/ec2.rb +2 -24
- data/lib/aws-sdk-core/plugins/protocols/json_rpc.rb +6 -8
- data/lib/aws-sdk-core/plugins/protocols/query.rb +4 -2
- data/lib/aws-sdk-core/plugins/protocols/rest_json.rb +3 -15
- data/lib/aws-sdk-core/plugins/protocols/rest_xml.rb +3 -0
- data/lib/aws-sdk-core/plugins/protocols/rpc_v2.rb +17 -0
- data/lib/aws-sdk-core/plugins/regional_endpoint.rb +74 -25
- data/lib/aws-sdk-core/plugins/request_compression.rb +11 -2
- data/lib/aws-sdk-core/plugins/retry_errors.rb +10 -3
- data/lib/aws-sdk-core/plugins/sign.rb +42 -26
- data/lib/aws-sdk-core/plugins/signature_v2.rb +2 -1
- data/lib/aws-sdk-core/plugins/signature_v4.rb +2 -1
- data/lib/aws-sdk-core/plugins/stub_responses.rb +58 -9
- data/lib/aws-sdk-core/plugins/telemetry.rb +75 -0
- data/lib/aws-sdk-core/plugins/transfer_encoding.rb +16 -9
- data/lib/aws-sdk-core/plugins/user_agent.rb +101 -26
- data/lib/aws-sdk-core/plugins.rb +39 -0
- data/lib/aws-sdk-core/process_credentials.rb +48 -29
- data/lib/aws-sdk-core/query/ec2_handler.rb +27 -0
- data/lib/aws-sdk-core/query/ec2_param_builder.rb +5 -7
- data/lib/aws-sdk-core/query/handler.rb +4 -4
- data/lib/aws-sdk-core/query/param_builder.rb +2 -2
- data/lib/aws-sdk-core/query.rb +2 -1
- data/lib/aws-sdk-core/resources.rb +8 -0
- data/lib/aws-sdk-core/rest/content_type_handler.rb +60 -0
- data/lib/aws-sdk-core/rest/handler.rb +3 -4
- data/lib/aws-sdk-core/rest/request/body.rb +32 -5
- data/lib/aws-sdk-core/rest/request/endpoint.rb +24 -4
- data/lib/aws-sdk-core/rest/request/headers.rb +15 -7
- data/lib/aws-sdk-core/rest/request/querystring_builder.rb +23 -11
- data/lib/aws-sdk-core/rest/response/body.rb +15 -1
- data/lib/aws-sdk-core/rest/response/header_list_parser.rb +79 -0
- data/lib/aws-sdk-core/rest/response/headers.rb +8 -3
- data/lib/aws-sdk-core/rest.rb +1 -0
- data/lib/aws-sdk-core/rpc_v2/builder.rb +62 -0
- data/lib/aws-sdk-core/rpc_v2/cbor_engine.rb +18 -0
- data/lib/aws-sdk-core/rpc_v2/content_type_handler.rb +47 -0
- data/lib/aws-sdk-core/rpc_v2/error_handler.rb +95 -0
- data/lib/aws-sdk-core/rpc_v2/handler.rb +79 -0
- data/lib/aws-sdk-core/rpc_v2/parser.rb +98 -0
- data/lib/aws-sdk-core/rpc_v2.rb +69 -0
- data/lib/aws-sdk-core/shared_config.rb +79 -22
- data/lib/aws-sdk-core/shared_credentials.rb +1 -7
- data/lib/aws-sdk-core/sso_credentials.rb +4 -1
- data/lib/aws-sdk-core/static_token_provider.rb +1 -2
- data/lib/aws-sdk-core/stubbing/protocols/ec2.rb +12 -11
- data/lib/aws-sdk-core/stubbing/protocols/json.rb +11 -10
- data/lib/aws-sdk-core/stubbing/protocols/query.rb +7 -6
- data/lib/aws-sdk-core/stubbing/protocols/rest.rb +2 -1
- data/lib/aws-sdk-core/stubbing/protocols/rest_json.rb +9 -8
- data/lib/aws-sdk-core/stubbing/protocols/rest_xml.rb +6 -5
- data/lib/aws-sdk-core/stubbing/protocols/rpc_v2.rb +39 -0
- data/lib/aws-sdk-core/stubbing.rb +22 -0
- data/lib/aws-sdk-core/telemetry/base.rb +177 -0
- data/lib/aws-sdk-core/telemetry/no_op.rb +70 -0
- data/lib/aws-sdk-core/telemetry/otel.rb +235 -0
- data/lib/aws-sdk-core/telemetry/span_kind.rb +22 -0
- data/lib/aws-sdk-core/telemetry/span_status.rb +59 -0
- data/lib/aws-sdk-core/telemetry.rb +78 -0
- data/lib/aws-sdk-core/token.rb +3 -3
- data/lib/aws-sdk-core/token_provider.rb +4 -0
- data/lib/aws-sdk-core/token_provider_chain.rb +2 -6
- data/lib/aws-sdk-core/util.rb +41 -1
- data/lib/aws-sdk-core/waiters/poller.rb +10 -5
- data/lib/aws-sdk-core/xml/builder.rb +17 -9
- data/lib/aws-sdk-core/xml/error_handler.rb +35 -43
- data/lib/aws-sdk-core/xml/parser/frame.rb +4 -20
- data/lib/aws-sdk-core/xml/parser/stack.rb +2 -0
- data/lib/aws-sdk-core/xml/parser.rb +2 -6
- data/lib/aws-sdk-core.rb +82 -107
- data/lib/aws-sdk-sso/client.rb +189 -96
- data/lib/aws-sdk-sso/client_api.rb +7 -0
- data/lib/aws-sdk-sso/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-sso/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-sso/endpoints.rb +2 -54
- data/lib/aws-sdk-sso/plugins/endpoints.rb +19 -20
- data/lib/aws-sdk-sso/types.rb +1 -0
- data/lib/aws-sdk-sso.rb +15 -11
- data/lib/aws-sdk-ssooidc/client.rb +274 -116
- data/lib/aws-sdk-ssooidc/client_api.rb +33 -0
- data/lib/aws-sdk-ssooidc/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-ssooidc/endpoint_provider.rb +14 -18
- data/lib/aws-sdk-ssooidc/endpoints.rb +2 -54
- data/lib/aws-sdk-ssooidc/errors.rb +21 -0
- data/lib/aws-sdk-ssooidc/plugins/endpoints.rb +19 -20
- data/lib/aws-sdk-ssooidc/types.rb +125 -24
- data/lib/aws-sdk-ssooidc.rb +15 -11
- data/lib/aws-sdk-sts/client.rb +397 -148
- data/lib/aws-sdk-sts/client_api.rb +36 -8
- data/lib/aws-sdk-sts/customizations.rb +5 -1
- data/lib/aws-sdk-sts/endpoint_parameters.rb +10 -9
- data/lib/aws-sdk-sts/endpoint_provider.rb +50 -55
- data/lib/aws-sdk-sts/endpoints.rb +2 -118
- data/lib/aws-sdk-sts/errors.rb +15 -0
- data/lib/aws-sdk-sts/plugins/endpoints.rb +19 -28
- data/lib/aws-sdk-sts/presigner.rb +2 -6
- data/lib/aws-sdk-sts/types.rb +171 -28
- data/lib/aws-sdk-sts.rb +15 -11
- data/lib/seahorse/client/async_base.rb +4 -5
- data/lib/seahorse/client/async_response.rb +19 -0
- data/lib/seahorse/client/base.rb +18 -21
- data/lib/seahorse/client/h2/connection.rb +18 -28
- data/lib/seahorse/client/h2/handler.rb +14 -3
- data/lib/seahorse/client/handler.rb +1 -1
- data/lib/seahorse/client/http/response.rb +1 -1
- data/lib/seahorse/client/net_http/connection_pool.rb +15 -12
- data/lib/seahorse/client/net_http/handler.rb +21 -9
- data/lib/seahorse/client/networking_error.rb +1 -1
- data/lib/seahorse/client/plugin.rb +8 -0
- data/lib/seahorse/client/plugins/endpoint.rb +0 -1
- data/lib/seahorse/client/plugins/h2.rb +4 -4
- data/lib/seahorse/client/plugins/net_http.rb +57 -16
- data/lib/seahorse/client/request_context.rb +9 -2
- data/lib/seahorse/client/response.rb +2 -0
- data/lib/seahorse/model/shapes.rb +2 -2
- data/lib/seahorse/util.rb +2 -1
- data/sig/aws-sdk-core/async_client_stubs.rbs +21 -0
- data/sig/aws-sdk-core/telemetry/base.rbs +46 -0
- data/sig/aws-sdk-core/telemetry/otel.rbs +22 -0
- data/sig/aws-sdk-core/telemetry/span_kind.rbs +15 -0
- data/sig/aws-sdk-core/telemetry/span_status.rbs +24 -0
- data/sig/seahorse/client/async_base.rbs +18 -0
- metadata +96 -23
- /data/lib/aws-sdk-core/xml/parser/{engines/libxml.rb → libxml_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/nokogiri.rb → nokogiri_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/oga.rb → oga_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/ox.rb → ox_engine.rb} +0 -0
- /data/lib/aws-sdk-core/xml/parser/{engines/rexml.rb → rexml_engine.rb} +0 -0
@@ -53,6 +53,25 @@ module Aws::SSOOIDC
|
|
53
53
|
include Aws::Structure
|
54
54
|
end
|
55
55
|
|
56
|
+
# This structure contains Amazon Web Services-specific parameter
|
57
|
+
# extensions for the token endpoint responses and includes the identity
|
58
|
+
# context.
|
59
|
+
#
|
60
|
+
# @!attribute [rw] identity_context
|
61
|
+
# STS context assertion that carries a user identifier to the Amazon
|
62
|
+
# Web Services service that it calls and can be used to obtain an
|
63
|
+
# identity-enhanced IAM role session. This value corresponds to the
|
64
|
+
# `sts:identity_context` claim in the ID token.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/AwsAdditionalDetails AWS API Documentation
|
68
|
+
#
|
69
|
+
class AwsAdditionalDetails < Struct.new(
|
70
|
+
:identity_context)
|
71
|
+
SENSITIVE = []
|
72
|
+
include Aws::Structure
|
73
|
+
end
|
74
|
+
|
56
75
|
# @!attribute [rw] client_id
|
57
76
|
# The unique identifier string for the client or application. This
|
58
77
|
# value comes from the result of the RegisterClient API.
|
@@ -64,34 +83,32 @@ module Aws::SSOOIDC
|
|
64
83
|
# @return [String]
|
65
84
|
#
|
66
85
|
# @!attribute [rw] grant_type
|
67
|
-
# Supports the following OAuth grant types:
|
68
|
-
# Token. Specify
|
69
|
-
# grant type that you want:
|
86
|
+
# Supports the following OAuth grant types: Authorization Code, Device
|
87
|
+
# Code, and Refresh Token. Specify one of the following values,
|
88
|
+
# depending on the grant type that you want:
|
89
|
+
#
|
90
|
+
# * Authorization Code - `authorization_code`
|
70
91
|
#
|
71
92
|
# * Device Code - `urn:ietf:params:oauth:grant-type:device_code`
|
72
93
|
#
|
73
94
|
# * Refresh Token - `refresh_token`
|
74
|
-
#
|
75
|
-
# For information about how to obtain the device code, see the
|
76
|
-
# StartDeviceAuthorization topic.
|
77
95
|
# @return [String]
|
78
96
|
#
|
79
97
|
# @!attribute [rw] device_code
|
80
98
|
# Used only when calling this API for the Device Code grant type. This
|
81
|
-
# short-
|
82
|
-
# comes from the result of the StartDeviceAuthorization API.
|
99
|
+
# short-lived code is used to identify this authorization request.
|
100
|
+
# This comes from the result of the StartDeviceAuthorization API.
|
83
101
|
# @return [String]
|
84
102
|
#
|
85
103
|
# @!attribute [rw] code
|
86
104
|
# Used only when calling this API for the Authorization Code grant
|
87
|
-
# type. The short-
|
88
|
-
# request.
|
89
|
-
# CreateToken API.
|
105
|
+
# type. The short-lived code is used to identify this authorization
|
106
|
+
# request.
|
90
107
|
# @return [String]
|
91
108
|
#
|
92
109
|
# @!attribute [rw] refresh_token
|
93
110
|
# Used only when calling this API for the Refresh Token grant type.
|
94
|
-
# This token is used to refresh short-
|
111
|
+
# This token is used to refresh short-lived tokens, such as the access
|
95
112
|
# token, that might expire.
|
96
113
|
#
|
97
114
|
# For more information about the features and limitations of the
|
@@ -118,6 +135,13 @@ module Aws::SSOOIDC
|
|
118
135
|
# that has registered to receive the authorization code.
|
119
136
|
# @return [String]
|
120
137
|
#
|
138
|
+
# @!attribute [rw] code_verifier
|
139
|
+
# Used only when calling this API for the Authorization Code grant
|
140
|
+
# type. This value is generated by the client and presented to
|
141
|
+
# validate the original code challenge value the client passed at
|
142
|
+
# authorization time.
|
143
|
+
# @return [String]
|
144
|
+
#
|
121
145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateTokenRequest AWS API Documentation
|
122
146
|
#
|
123
147
|
class CreateTokenRequest < Struct.new(
|
@@ -128,14 +152,15 @@ module Aws::SSOOIDC
|
|
128
152
|
:code,
|
129
153
|
:refresh_token,
|
130
154
|
:scope,
|
131
|
-
:redirect_uri
|
132
|
-
|
155
|
+
:redirect_uri,
|
156
|
+
:code_verifier)
|
157
|
+
SENSITIVE = [:client_secret, :refresh_token, :code_verifier]
|
133
158
|
include Aws::Structure
|
134
159
|
end
|
135
160
|
|
136
161
|
# @!attribute [rw] access_token
|
137
|
-
# A bearer token to access
|
138
|
-
# user.
|
162
|
+
# A bearer token to access Amazon Web Services accounts and
|
163
|
+
# applications assigned to a user.
|
139
164
|
# @return [String]
|
140
165
|
#
|
141
166
|
# @!attribute [rw] token_type
|
@@ -209,7 +234,7 @@ module Aws::SSOOIDC
|
|
209
234
|
#
|
210
235
|
# @!attribute [rw] code
|
211
236
|
# Used only when calling this API for the Authorization Code grant
|
212
|
-
# type. This short-
|
237
|
+
# type. This short-lived code is used to identify this authorization
|
213
238
|
# request. The code is obtained through a redirect from IAM Identity
|
214
239
|
# Center to a redirect URI persisted in the Authorization Code
|
215
240
|
# GrantOptions for the application.
|
@@ -217,7 +242,7 @@ module Aws::SSOOIDC
|
|
217
242
|
#
|
218
243
|
# @!attribute [rw] refresh_token
|
219
244
|
# Used only when calling this API for the Refresh Token grant type.
|
220
|
-
# This token is used to refresh short-
|
245
|
+
# This token is used to refresh short-lived tokens, such as the access
|
221
246
|
# token, that might expire.
|
222
247
|
#
|
223
248
|
# For more information about the features and limitations of the
|
@@ -278,6 +303,13 @@ module Aws::SSOOIDC
|
|
278
303
|
# * Refresh Token - `urn:ietf:params:oauth:token-type:refresh_token`
|
279
304
|
# @return [String]
|
280
305
|
#
|
306
|
+
# @!attribute [rw] code_verifier
|
307
|
+
# Used only when calling this API for the Authorization Code grant
|
308
|
+
# type. This value is generated by the client and presented to
|
309
|
+
# validate the original code challenge value the client passed at
|
310
|
+
# authorization time.
|
311
|
+
# @return [String]
|
312
|
+
#
|
281
313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateTokenWithIAMRequest AWS API Documentation
|
282
314
|
#
|
283
315
|
class CreateTokenWithIAMRequest < Struct.new(
|
@@ -290,14 +322,15 @@ module Aws::SSOOIDC
|
|
290
322
|
:redirect_uri,
|
291
323
|
:subject_token,
|
292
324
|
:subject_token_type,
|
293
|
-
:requested_token_type
|
294
|
-
|
325
|
+
:requested_token_type,
|
326
|
+
:code_verifier)
|
327
|
+
SENSITIVE = [:refresh_token, :assertion, :subject_token, :code_verifier]
|
295
328
|
include Aws::Structure
|
296
329
|
end
|
297
330
|
|
298
331
|
# @!attribute [rw] access_token
|
299
|
-
# A bearer token to access
|
300
|
-
# user.
|
332
|
+
# A bearer token to access Amazon Web Services accounts and
|
333
|
+
# applications assigned to a user.
|
301
334
|
# @return [String]
|
302
335
|
#
|
303
336
|
# @!attribute [rw] token_type
|
@@ -342,6 +375,13 @@ module Aws::SSOOIDC
|
|
342
375
|
# token that is issued is limited to the scopes that are granted.
|
343
376
|
# @return [Array<String>]
|
344
377
|
#
|
378
|
+
# @!attribute [rw] aws_additional_details
|
379
|
+
# A structure containing information from the `idToken`. Only the
|
380
|
+
# `identityContext` is in it, which is a value extracted from the
|
381
|
+
# `idToken`. This provides direct access to identity information
|
382
|
+
# without requiring JWT parsing.
|
383
|
+
# @return [Types::AwsAdditionalDetails]
|
384
|
+
#
|
345
385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateTokenWithIAMResponse AWS API Documentation
|
346
386
|
#
|
347
387
|
class CreateTokenWithIAMResponse < Struct.new(
|
@@ -351,7 +391,8 @@ module Aws::SSOOIDC
|
|
351
391
|
:refresh_token,
|
352
392
|
:id_token,
|
353
393
|
:issued_token_type,
|
354
|
-
:scope
|
394
|
+
:scope,
|
395
|
+
:aws_additional_details)
|
355
396
|
SENSITIVE = [:access_token, :refresh_token, :id_token]
|
356
397
|
include Aws::Structure
|
357
398
|
end
|
@@ -467,6 +508,28 @@ module Aws::SSOOIDC
|
|
467
508
|
include Aws::Structure
|
468
509
|
end
|
469
510
|
|
511
|
+
# Indicates that one or more redirect URI in the request is not
|
512
|
+
# supported for this operation.
|
513
|
+
#
|
514
|
+
# @!attribute [rw] error
|
515
|
+
# Single error code. For this exception the value will be
|
516
|
+
# `invalid_redirect_uri`.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] error_description
|
520
|
+
# Human-readable text providing additional information, used to assist
|
521
|
+
# the client developer in understanding the error that occurred.
|
522
|
+
# @return [String]
|
523
|
+
#
|
524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/InvalidRedirectUriException AWS API Documentation
|
525
|
+
#
|
526
|
+
class InvalidRedirectUriException < Struct.new(
|
527
|
+
:error,
|
528
|
+
:error_description)
|
529
|
+
SENSITIVE = []
|
530
|
+
include Aws::Structure
|
531
|
+
end
|
532
|
+
|
470
533
|
# Indicates that something is wrong with the input to the request. For
|
471
534
|
# example, a required parameter might be missing or out of range.
|
472
535
|
#
|
@@ -559,12 +622,49 @@ module Aws::SSOOIDC
|
|
559
622
|
# granting an access token.
|
560
623
|
# @return [Array<String>]
|
561
624
|
#
|
625
|
+
# @!attribute [rw] redirect_uris
|
626
|
+
# The list of redirect URI that are defined by the client. At
|
627
|
+
# completion of authorization, this list is used to restrict what
|
628
|
+
# locations the user agent can be redirected back to.
|
629
|
+
# @return [Array<String>]
|
630
|
+
#
|
631
|
+
# @!attribute [rw] grant_types
|
632
|
+
# The list of OAuth 2.0 grant types that are defined by the client.
|
633
|
+
# This list is used to restrict the token granting flows available to
|
634
|
+
# the client. Supports the following OAuth 2.0 grant types:
|
635
|
+
# Authorization Code, Device Code, and Refresh Token.
|
636
|
+
#
|
637
|
+
# * Authorization Code - `authorization_code`
|
638
|
+
#
|
639
|
+
# * Device Code - `urn:ietf:params:oauth:grant-type:device_code`
|
640
|
+
#
|
641
|
+
# * Refresh Token - `refresh_token`
|
642
|
+
# @return [Array<String>]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] issuer_url
|
645
|
+
# The IAM Identity Center Issuer URL associated with an instance of
|
646
|
+
# IAM Identity Center. This value is needed for user access to
|
647
|
+
# resources through the client.
|
648
|
+
# @return [String]
|
649
|
+
#
|
650
|
+
# @!attribute [rw] entitled_application_arn
|
651
|
+
# This IAM Identity Center application ARN is used to define
|
652
|
+
# administrator-managed configuration for public client access to
|
653
|
+
# resources. At authorization, the scopes, grants, and redirect URI
|
654
|
+
# available to this client will be restricted by this application
|
655
|
+
# resource.
|
656
|
+
# @return [String]
|
657
|
+
#
|
562
658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/RegisterClientRequest AWS API Documentation
|
563
659
|
#
|
564
660
|
class RegisterClientRequest < Struct.new(
|
565
661
|
:client_name,
|
566
662
|
:client_type,
|
567
|
-
:scopes
|
663
|
+
:scopes,
|
664
|
+
:redirect_uris,
|
665
|
+
:grant_types,
|
666
|
+
:issuer_url,
|
667
|
+
:entitled_application_arn)
|
568
668
|
SENSITIVE = []
|
569
669
|
include Aws::Structure
|
570
670
|
end
|
@@ -753,3 +853,4 @@ module Aws::SSOOIDC
|
|
753
853
|
|
754
854
|
end
|
755
855
|
end
|
856
|
+
|
data/lib/aws-sdk-ssooidc.rb
CHANGED
@@ -13,16 +13,7 @@ unless Module.const_defined?(:Aws)
|
|
13
13
|
require 'aws-sigv4'
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
require_relative 'aws-sdk-ssooidc/client_api'
|
18
|
-
require_relative 'aws-sdk-ssooidc/plugins/endpoints.rb'
|
19
|
-
require_relative 'aws-sdk-ssooidc/client'
|
20
|
-
require_relative 'aws-sdk-ssooidc/errors'
|
21
|
-
require_relative 'aws-sdk-ssooidc/resource'
|
22
|
-
require_relative 'aws-sdk-ssooidc/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-ssooidc/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-ssooidc/endpoints'
|
25
|
-
require_relative 'aws-sdk-ssooidc/customizations'
|
16
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:ssooidc)
|
26
17
|
|
27
18
|
# This module provides support for AWS SSO OIDC. This module is available in the
|
28
19
|
# `aws-sdk-core` gem.
|
@@ -53,7 +44,20 @@ require_relative 'aws-sdk-ssooidc/customizations'
|
|
53
44
|
#
|
54
45
|
# @!group service
|
55
46
|
module Aws::SSOOIDC
|
47
|
+
autoload :Types, 'aws-sdk-ssooidc/types'
|
48
|
+
autoload :ClientApi, 'aws-sdk-ssooidc/client_api'
|
49
|
+
module Plugins
|
50
|
+
autoload :Endpoints, 'aws-sdk-ssooidc/plugins/endpoints.rb'
|
51
|
+
end
|
52
|
+
autoload :Client, 'aws-sdk-ssooidc/client'
|
53
|
+
autoload :Errors, 'aws-sdk-ssooidc/errors'
|
54
|
+
autoload :Resource, 'aws-sdk-ssooidc/resource'
|
55
|
+
autoload :EndpointParameters, 'aws-sdk-ssooidc/endpoint_parameters'
|
56
|
+
autoload :EndpointProvider, 'aws-sdk-ssooidc/endpoint_provider'
|
57
|
+
autoload :Endpoints, 'aws-sdk-ssooidc/endpoints'
|
56
58
|
|
57
|
-
GEM_VERSION = '3.
|
59
|
+
GEM_VERSION = '3.229.0'
|
58
60
|
|
59
61
|
end
|
62
|
+
|
63
|
+
require_relative 'aws-sdk-ssooidc/customizations'
|