aws-sdk-verifiedpermissions 1.23.0 → 1.24.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-verifiedpermissions/client.rb +83 -36
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +138 -0
- data/lib/aws-sdk-verifiedpermissions/types.rb +828 -28
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +36 -0
- data/sig/types.rbs +173 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b69f49e6604e5f5f826ecb8bda1e4db678f60d49fceadf6242ccb202404fc234
|
4
|
+
data.tar.gz: 23c5db13414cb84864b76f651a1c9e2401fb2214950fddb543adc537a26cd479
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7da4f6ab18c7c2688c3f9bd479fd74a6852c3deb39b44452572b73c5e67ce37b8899aff5a674d88c59cb238883a3eb35302717e5c70002ae3ec9b8dffba35e8
|
7
|
+
data.tar.gz: 4ece0fc584cd4ee08d316e31a8ecf6e6c1dc6255676f96dcf8a27539471cd9cc08045026efb29cd3e20586bd096a4338ddd94e4a1c34253e76a5ac1b86320287
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2024-06-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds OpenIdConnect (OIDC) configuration support for IdentitySources, allowing for external IDPs to be used in authorization requests.
|
8
|
+
|
4
9
|
1.23.0 (2024-06-05)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -689,37 +689,34 @@ module Aws::VerifiedPermissions
|
|
689
689
|
req.send_request(options)
|
690
690
|
end
|
691
691
|
|
692
|
-
#
|
693
|
-
# identity provider (IdP).
|
692
|
+
# Adds an identity source to a policy store–an Amazon Cognito user pool
|
693
|
+
# or OpenID Connect (OIDC) identity provider (IdP).
|
694
694
|
#
|
695
695
|
# After you create an identity source, you can use the identities
|
696
696
|
# provided by the IdP as proxies for the principal in authorization
|
697
|
-
# queries that use the [IsAuthorizedWithToken][1]
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
#
|
706
|
-
#
|
707
|
-
#
|
708
|
-
#
|
709
|
-
#
|
710
|
-
# If you delete a Amazon Cognito user pool or user, tokens from that
|
711
|
-
# deleted pool or that deleted user continue to be usable until they
|
712
|
-
# expire.
|
697
|
+
# queries that use the [IsAuthorizedWithToken][1] or
|
698
|
+
# [BatchIsAuthorizedWithToken][2] API operations. These identities take
|
699
|
+
# the form of tokens that contain claims about the user, such as IDs,
|
700
|
+
# attributes and group memberships. Identity sources provide identity
|
701
|
+
# (ID) tokens and access tokens. Verified Permissions derives
|
702
|
+
# information about your user and session from token claims. Access
|
703
|
+
# tokens provide action `context` to your policies, and ID tokens
|
704
|
+
# provide principal `Attributes`.
|
705
|
+
#
|
706
|
+
# Tokens from an identity source user continue to be usable until they
|
707
|
+
# expire. Token revocation and resource deletion have no effect on the
|
708
|
+
# validity of a token in your policy store
|
713
709
|
#
|
714
710
|
# <note markdown="1"> To reference a user from this identity source in your Cedar policies,
|
715
|
-
#
|
711
|
+
# refer to the following syntax examples.
|
716
712
|
#
|
717
|
-
# *
|
713
|
+
# * Amazon Cognito user pool: `Namespace::[Entity type]::[User pool
|
714
|
+
# ID]|[user principal attribute]`, for example
|
715
|
+
# `MyCorp::User::us-east-1_EXAMPLE|a1b2c3d4-5678-90ab-cdef-EXAMPLE11111`.
|
718
716
|
#
|
719
|
-
#
|
720
|
-
#
|
721
|
-
#
|
722
|
-
# Cognito user pool.
|
717
|
+
# * OpenID Connect (OIDC) provider: `Namespace::[Entity
|
718
|
+
# type]::[principalIdClaim]|[user principal attribute]`, for example
|
719
|
+
# `MyCorp::User::MyOIDCProvider|a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`.
|
723
720
|
#
|
724
721
|
# </note>
|
725
722
|
#
|
@@ -734,6 +731,7 @@ module Aws::VerifiedPermissions
|
|
734
731
|
#
|
735
732
|
#
|
736
733
|
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html
|
734
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorizedWithToken.html
|
737
735
|
#
|
738
736
|
# @option params [String] :client_token
|
739
737
|
# Specifies a unique, case-sensitive ID that you provide to ensure the
|
@@ -771,13 +769,6 @@ module Aws::VerifiedPermissions
|
|
771
769
|
# Specifies the details required to communicate with the identity
|
772
770
|
# provider (IdP) associated with this identity source.
|
773
771
|
#
|
774
|
-
# <note markdown="1"> At this time, the only valid member of this structure is a Amazon
|
775
|
-
# Cognito user pool configuration.
|
776
|
-
#
|
777
|
-
# You must specify a `UserPoolArn`, and optionally, a `ClientId`.
|
778
|
-
#
|
779
|
-
# </note>
|
780
|
-
#
|
781
772
|
# @option params [String] :principal_entity_type
|
782
773
|
# Specifies the namespace and data type of the principals generated for
|
783
774
|
# identities authenticated by the new identity source.
|
@@ -802,6 +793,24 @@ module Aws::VerifiedPermissions
|
|
802
793
|
# group_entity_type: "GroupEntityType", # required
|
803
794
|
# },
|
804
795
|
# },
|
796
|
+
# open_id_connect_configuration: {
|
797
|
+
# issuer: "Issuer", # required
|
798
|
+
# entity_id_prefix: "EntityIdPrefix",
|
799
|
+
# group_configuration: {
|
800
|
+
# group_claim: "Claim", # required
|
801
|
+
# group_entity_type: "GroupEntityType", # required
|
802
|
+
# },
|
803
|
+
# token_selection: { # required
|
804
|
+
# access_token_only: {
|
805
|
+
# principal_id_claim: "Claim",
|
806
|
+
# audiences: ["Audience"],
|
807
|
+
# },
|
808
|
+
# identity_token_only: {
|
809
|
+
# principal_id_claim: "Claim",
|
810
|
+
# client_ids: ["ClientId"],
|
811
|
+
# },
|
812
|
+
# },
|
813
|
+
# },
|
805
814
|
# },
|
806
815
|
# principal_entity_type: "PrincipalEntityType",
|
807
816
|
# })
|
@@ -1298,6 +1307,16 @@ module Aws::VerifiedPermissions
|
|
1298
1307
|
# resp.configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1299
1308
|
# resp.configuration.cognito_user_pool_configuration.issuer #=> String
|
1300
1309
|
# resp.configuration.cognito_user_pool_configuration.group_configuration.group_entity_type #=> String
|
1310
|
+
# resp.configuration.open_id_connect_configuration.issuer #=> String
|
1311
|
+
# resp.configuration.open_id_connect_configuration.entity_id_prefix #=> String
|
1312
|
+
# resp.configuration.open_id_connect_configuration.group_configuration.group_claim #=> String
|
1313
|
+
# resp.configuration.open_id_connect_configuration.group_configuration.group_entity_type #=> String
|
1314
|
+
# resp.configuration.open_id_connect_configuration.token_selection.access_token_only.principal_id_claim #=> String
|
1315
|
+
# resp.configuration.open_id_connect_configuration.token_selection.access_token_only.audiences #=> Array
|
1316
|
+
# resp.configuration.open_id_connect_configuration.token_selection.access_token_only.audiences[0] #=> String
|
1317
|
+
# resp.configuration.open_id_connect_configuration.token_selection.identity_token_only.principal_id_claim #=> String
|
1318
|
+
# resp.configuration.open_id_connect_configuration.token_selection.identity_token_only.client_ids #=> Array
|
1319
|
+
# resp.configuration.open_id_connect_configuration.token_selection.identity_token_only.client_ids[0] #=> String
|
1301
1320
|
#
|
1302
1321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetIdentitySource AWS API Documentation
|
1303
1322
|
#
|
@@ -1610,9 +1629,9 @@ module Aws::VerifiedPermissions
|
|
1610
1629
|
# Verified Permissions validates each token that is specified in a
|
1611
1630
|
# request by checking its expiration date and its signature.
|
1612
1631
|
#
|
1613
|
-
#
|
1614
|
-
#
|
1615
|
-
#
|
1632
|
+
# Tokens from an identity source user continue to be usable until they
|
1633
|
+
# expire. Token revocation and resource deletion have no effect on the
|
1634
|
+
# validity of a token in your policy store
|
1616
1635
|
#
|
1617
1636
|
#
|
1618
1637
|
#
|
@@ -1806,6 +1825,16 @@ module Aws::VerifiedPermissions
|
|
1806
1825
|
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1807
1826
|
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.issuer #=> String
|
1808
1827
|
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.group_configuration.group_entity_type #=> String
|
1828
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.issuer #=> String
|
1829
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.entity_id_prefix #=> String
|
1830
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.group_configuration.group_claim #=> String
|
1831
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.group_configuration.group_entity_type #=> String
|
1832
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.token_selection.access_token_only.principal_id_claim #=> String
|
1833
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.token_selection.access_token_only.audiences #=> Array
|
1834
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.token_selection.access_token_only.audiences[0] #=> String
|
1835
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.token_selection.identity_token_only.principal_id_claim #=> String
|
1836
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.token_selection.identity_token_only.client_ids #=> Array
|
1837
|
+
# resp.identity_sources[0].configuration.open_id_connect_configuration.token_selection.identity_token_only.client_ids[0] #=> String
|
1809
1838
|
#
|
1810
1839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListIdentitySources AWS API Documentation
|
1811
1840
|
#
|
@@ -2090,7 +2119,7 @@ module Aws::VerifiedPermissions
|
|
2090
2119
|
end
|
2091
2120
|
|
2092
2121
|
# Updates the specified identity source to use a new identity provider
|
2093
|
-
# (IdP)
|
2122
|
+
# (IdP), or to change the mapping of identities from the IdP to a
|
2094
2123
|
# different principal entity type.
|
2095
2124
|
#
|
2096
2125
|
# <note markdown="1"> Verified Permissions is <i> <a
|
@@ -2143,6 +2172,24 @@ module Aws::VerifiedPermissions
|
|
2143
2172
|
# group_entity_type: "GroupEntityType", # required
|
2144
2173
|
# },
|
2145
2174
|
# },
|
2175
|
+
# open_id_connect_configuration: {
|
2176
|
+
# issuer: "Issuer", # required
|
2177
|
+
# entity_id_prefix: "EntityIdPrefix",
|
2178
|
+
# group_configuration: {
|
2179
|
+
# group_claim: "Claim", # required
|
2180
|
+
# group_entity_type: "GroupEntityType", # required
|
2181
|
+
# },
|
2182
|
+
# token_selection: { # required
|
2183
|
+
# access_token_only: {
|
2184
|
+
# principal_id_claim: "Claim",
|
2185
|
+
# audiences: ["Audience"],
|
2186
|
+
# },
|
2187
|
+
# identity_token_only: {
|
2188
|
+
# principal_id_claim: "Claim",
|
2189
|
+
# client_ids: ["ClientId"],
|
2190
|
+
# },
|
2191
|
+
# },
|
2192
|
+
# },
|
2146
2193
|
# },
|
2147
2194
|
# principal_entity_type: "PrincipalEntityType",
|
2148
2195
|
# })
|
@@ -2441,7 +2488,7 @@ module Aws::VerifiedPermissions
|
|
2441
2488
|
params: params,
|
2442
2489
|
config: config)
|
2443
2490
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
2444
|
-
context[:gem_version] = '1.
|
2491
|
+
context[:gem_version] = '1.24.0'
|
2445
2492
|
Seahorse::Client::Request.new(handlers, context)
|
2446
2493
|
end
|
2447
2494
|
|
@@ -19,6 +19,8 @@ module Aws::VerifiedPermissions
|
|
19
19
|
ActionIdentifierList = Shapes::ListShape.new(name: 'ActionIdentifierList')
|
20
20
|
ActionType = Shapes::StringShape.new(name: 'ActionType')
|
21
21
|
AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
|
22
|
+
Audience = Shapes::StringShape.new(name: 'Audience')
|
23
|
+
Audiences = Shapes::ListShape.new(name: 'Audiences')
|
22
24
|
BatchIsAuthorizedInput = Shapes::StructureShape.new(name: 'BatchIsAuthorizedInput')
|
23
25
|
BatchIsAuthorizedInputItem = Shapes::StructureShape.new(name: 'BatchIsAuthorizedInputItem')
|
24
26
|
BatchIsAuthorizedInputList = Shapes::ListShape.new(name: 'BatchIsAuthorizedInputList')
|
@@ -33,6 +35,7 @@ module Aws::VerifiedPermissions
|
|
33
35
|
BatchIsAuthorizedWithTokenOutputList = Shapes::ListShape.new(name: 'BatchIsAuthorizedWithTokenOutputList')
|
34
36
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
35
37
|
BooleanAttribute = Shapes::BooleanShape.new(name: 'BooleanAttribute')
|
38
|
+
Claim = Shapes::StringShape.new(name: 'Claim')
|
36
39
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
37
40
|
ClientIds = Shapes::ListShape.new(name: 'ClientIds')
|
38
41
|
CognitoGroupConfiguration = Shapes::StructureShape.new(name: 'CognitoGroupConfiguration')
|
@@ -70,6 +73,7 @@ module Aws::VerifiedPermissions
|
|
70
73
|
EntitiesDefinition = Shapes::UnionShape.new(name: 'EntitiesDefinition')
|
71
74
|
EntityAttributes = Shapes::MapShape.new(name: 'EntityAttributes')
|
72
75
|
EntityId = Shapes::StringShape.new(name: 'EntityId')
|
76
|
+
EntityIdPrefix = Shapes::StringShape.new(name: 'EntityIdPrefix')
|
73
77
|
EntityIdentifier = Shapes::StructureShape.new(name: 'EntityIdentifier')
|
74
78
|
EntityItem = Shapes::StructureShape.new(name: 'EntityItem')
|
75
79
|
EntityList = Shapes::ListShape.new(name: 'EntityList')
|
@@ -116,6 +120,21 @@ module Aws::VerifiedPermissions
|
|
116
120
|
Namespace = Shapes::StringShape.new(name: 'Namespace')
|
117
121
|
NamespaceList = Shapes::ListShape.new(name: 'NamespaceList')
|
118
122
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
123
|
+
OpenIdConnectAccessTokenConfiguration = Shapes::StructureShape.new(name: 'OpenIdConnectAccessTokenConfiguration')
|
124
|
+
OpenIdConnectAccessTokenConfigurationDetail = Shapes::StructureShape.new(name: 'OpenIdConnectAccessTokenConfigurationDetail')
|
125
|
+
OpenIdConnectAccessTokenConfigurationItem = Shapes::StructureShape.new(name: 'OpenIdConnectAccessTokenConfigurationItem')
|
126
|
+
OpenIdConnectConfiguration = Shapes::StructureShape.new(name: 'OpenIdConnectConfiguration')
|
127
|
+
OpenIdConnectConfigurationDetail = Shapes::StructureShape.new(name: 'OpenIdConnectConfigurationDetail')
|
128
|
+
OpenIdConnectConfigurationItem = Shapes::StructureShape.new(name: 'OpenIdConnectConfigurationItem')
|
129
|
+
OpenIdConnectGroupConfiguration = Shapes::StructureShape.new(name: 'OpenIdConnectGroupConfiguration')
|
130
|
+
OpenIdConnectGroupConfigurationDetail = Shapes::StructureShape.new(name: 'OpenIdConnectGroupConfigurationDetail')
|
131
|
+
OpenIdConnectGroupConfigurationItem = Shapes::StructureShape.new(name: 'OpenIdConnectGroupConfigurationItem')
|
132
|
+
OpenIdConnectIdentityTokenConfiguration = Shapes::StructureShape.new(name: 'OpenIdConnectIdentityTokenConfiguration')
|
133
|
+
OpenIdConnectIdentityTokenConfigurationDetail = Shapes::StructureShape.new(name: 'OpenIdConnectIdentityTokenConfigurationDetail')
|
134
|
+
OpenIdConnectIdentityTokenConfigurationItem = Shapes::StructureShape.new(name: 'OpenIdConnectIdentityTokenConfigurationItem')
|
135
|
+
OpenIdConnectTokenSelection = Shapes::UnionShape.new(name: 'OpenIdConnectTokenSelection')
|
136
|
+
OpenIdConnectTokenSelectionDetail = Shapes::UnionShape.new(name: 'OpenIdConnectTokenSelectionDetail')
|
137
|
+
OpenIdConnectTokenSelectionItem = Shapes::UnionShape.new(name: 'OpenIdConnectTokenSelectionItem')
|
119
138
|
OpenIdIssuer = Shapes::StringShape.new(name: 'OpenIdIssuer')
|
120
139
|
ParentList = Shapes::ListShape.new(name: 'ParentList')
|
121
140
|
PolicyDefinition = Shapes::UnionShape.new(name: 'PolicyDefinition')
|
@@ -166,6 +185,11 @@ module Aws::VerifiedPermissions
|
|
166
185
|
UpdateConfiguration = Shapes::UnionShape.new(name: 'UpdateConfiguration')
|
167
186
|
UpdateIdentitySourceInput = Shapes::StructureShape.new(name: 'UpdateIdentitySourceInput')
|
168
187
|
UpdateIdentitySourceOutput = Shapes::StructureShape.new(name: 'UpdateIdentitySourceOutput')
|
188
|
+
UpdateOpenIdConnectAccessTokenConfiguration = Shapes::StructureShape.new(name: 'UpdateOpenIdConnectAccessTokenConfiguration')
|
189
|
+
UpdateOpenIdConnectConfiguration = Shapes::StructureShape.new(name: 'UpdateOpenIdConnectConfiguration')
|
190
|
+
UpdateOpenIdConnectGroupConfiguration = Shapes::StructureShape.new(name: 'UpdateOpenIdConnectGroupConfiguration')
|
191
|
+
UpdateOpenIdConnectIdentityTokenConfiguration = Shapes::StructureShape.new(name: 'UpdateOpenIdConnectIdentityTokenConfiguration')
|
192
|
+
UpdateOpenIdConnectTokenSelection = Shapes::UnionShape.new(name: 'UpdateOpenIdConnectTokenSelection')
|
169
193
|
UpdatePolicyDefinition = Shapes::UnionShape.new(name: 'UpdatePolicyDefinition')
|
170
194
|
UpdatePolicyInput = Shapes::StructureShape.new(name: 'UpdatePolicyInput')
|
171
195
|
UpdatePolicyOutput = Shapes::StructureShape.new(name: 'UpdatePolicyOutput')
|
@@ -206,6 +230,8 @@ module Aws::VerifiedPermissions
|
|
206
230
|
AttributeValue.add_member_subclass(:unknown, Types::AttributeValue::Unknown)
|
207
231
|
AttributeValue.struct_class = Types::AttributeValue
|
208
232
|
|
233
|
+
Audiences.member = Shapes::ShapeRef.new(shape: Audience)
|
234
|
+
|
209
235
|
BatchIsAuthorizedInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
210
236
|
BatchIsAuthorizedInput.add_member(:entities, Shapes::ShapeRef.new(shape: EntitiesDefinition, location_name: "entities"))
|
211
237
|
BatchIsAuthorizedInput.add_member(:requests, Shapes::ShapeRef.new(shape: BatchIsAuthorizedInputList, required: true, location_name: "requests"))
|
@@ -285,20 +311,26 @@ module Aws::VerifiedPermissions
|
|
285
311
|
CognitoUserPoolConfigurationItem.struct_class = Types::CognitoUserPoolConfigurationItem
|
286
312
|
|
287
313
|
Configuration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
|
314
|
+
Configuration.add_member(:open_id_connect_configuration, Shapes::ShapeRef.new(shape: OpenIdConnectConfiguration, location_name: "openIdConnectConfiguration"))
|
288
315
|
Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
289
316
|
Configuration.add_member_subclass(:cognito_user_pool_configuration, Types::Configuration::CognitoUserPoolConfiguration)
|
317
|
+
Configuration.add_member_subclass(:open_id_connect_configuration, Types::Configuration::OpenIdConnectConfiguration)
|
290
318
|
Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
|
291
319
|
Configuration.struct_class = Types::Configuration
|
292
320
|
|
293
321
|
ConfigurationDetail.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfigurationDetail, location_name: "cognitoUserPoolConfiguration"))
|
322
|
+
ConfigurationDetail.add_member(:open_id_connect_configuration, Shapes::ShapeRef.new(shape: OpenIdConnectConfigurationDetail, location_name: "openIdConnectConfiguration"))
|
294
323
|
ConfigurationDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
295
324
|
ConfigurationDetail.add_member_subclass(:cognito_user_pool_configuration, Types::ConfigurationDetail::CognitoUserPoolConfiguration)
|
325
|
+
ConfigurationDetail.add_member_subclass(:open_id_connect_configuration, Types::ConfigurationDetail::OpenIdConnectConfiguration)
|
296
326
|
ConfigurationDetail.add_member_subclass(:unknown, Types::ConfigurationDetail::Unknown)
|
297
327
|
ConfigurationDetail.struct_class = Types::ConfigurationDetail
|
298
328
|
|
299
329
|
ConfigurationItem.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfigurationItem, location_name: "cognitoUserPoolConfiguration"))
|
330
|
+
ConfigurationItem.add_member(:open_id_connect_configuration, Shapes::ShapeRef.new(shape: OpenIdConnectConfigurationItem, location_name: "openIdConnectConfiguration"))
|
300
331
|
ConfigurationItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
301
332
|
ConfigurationItem.add_member_subclass(:cognito_user_pool_configuration, Types::ConfigurationItem::CognitoUserPoolConfiguration)
|
333
|
+
ConfigurationItem.add_member_subclass(:open_id_connect_configuration, Types::ConfigurationItem::OpenIdConnectConfiguration)
|
302
334
|
ConfigurationItem.add_member_subclass(:unknown, Types::ConfigurationItem::Unknown)
|
303
335
|
ConfigurationItem.struct_class = Types::ConfigurationItem
|
304
336
|
|
@@ -587,6 +619,84 @@ module Aws::VerifiedPermissions
|
|
587
619
|
|
588
620
|
NamespaceList.member = Shapes::ShapeRef.new(shape: Namespace)
|
589
621
|
|
622
|
+
OpenIdConnectAccessTokenConfiguration.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
623
|
+
OpenIdConnectAccessTokenConfiguration.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "audiences"))
|
624
|
+
OpenIdConnectAccessTokenConfiguration.struct_class = Types::OpenIdConnectAccessTokenConfiguration
|
625
|
+
|
626
|
+
OpenIdConnectAccessTokenConfigurationDetail.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
627
|
+
OpenIdConnectAccessTokenConfigurationDetail.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "audiences"))
|
628
|
+
OpenIdConnectAccessTokenConfigurationDetail.struct_class = Types::OpenIdConnectAccessTokenConfigurationDetail
|
629
|
+
|
630
|
+
OpenIdConnectAccessTokenConfigurationItem.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
631
|
+
OpenIdConnectAccessTokenConfigurationItem.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "audiences"))
|
632
|
+
OpenIdConnectAccessTokenConfigurationItem.struct_class = Types::OpenIdConnectAccessTokenConfigurationItem
|
633
|
+
|
634
|
+
OpenIdConnectConfiguration.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
635
|
+
OpenIdConnectConfiguration.add_member(:entity_id_prefix, Shapes::ShapeRef.new(shape: EntityIdPrefix, location_name: "entityIdPrefix"))
|
636
|
+
OpenIdConnectConfiguration.add_member(:group_configuration, Shapes::ShapeRef.new(shape: OpenIdConnectGroupConfiguration, location_name: "groupConfiguration"))
|
637
|
+
OpenIdConnectConfiguration.add_member(:token_selection, Shapes::ShapeRef.new(shape: OpenIdConnectTokenSelection, required: true, location_name: "tokenSelection"))
|
638
|
+
OpenIdConnectConfiguration.struct_class = Types::OpenIdConnectConfiguration
|
639
|
+
|
640
|
+
OpenIdConnectConfigurationDetail.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
641
|
+
OpenIdConnectConfigurationDetail.add_member(:entity_id_prefix, Shapes::ShapeRef.new(shape: EntityIdPrefix, location_name: "entityIdPrefix"))
|
642
|
+
OpenIdConnectConfigurationDetail.add_member(:group_configuration, Shapes::ShapeRef.new(shape: OpenIdConnectGroupConfigurationDetail, location_name: "groupConfiguration"))
|
643
|
+
OpenIdConnectConfigurationDetail.add_member(:token_selection, Shapes::ShapeRef.new(shape: OpenIdConnectTokenSelectionDetail, required: true, location_name: "tokenSelection"))
|
644
|
+
OpenIdConnectConfigurationDetail.struct_class = Types::OpenIdConnectConfigurationDetail
|
645
|
+
|
646
|
+
OpenIdConnectConfigurationItem.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
647
|
+
OpenIdConnectConfigurationItem.add_member(:entity_id_prefix, Shapes::ShapeRef.new(shape: EntityIdPrefix, location_name: "entityIdPrefix"))
|
648
|
+
OpenIdConnectConfigurationItem.add_member(:group_configuration, Shapes::ShapeRef.new(shape: OpenIdConnectGroupConfigurationItem, location_name: "groupConfiguration"))
|
649
|
+
OpenIdConnectConfigurationItem.add_member(:token_selection, Shapes::ShapeRef.new(shape: OpenIdConnectTokenSelectionItem, required: true, location_name: "tokenSelection"))
|
650
|
+
OpenIdConnectConfigurationItem.struct_class = Types::OpenIdConnectConfigurationItem
|
651
|
+
|
652
|
+
OpenIdConnectGroupConfiguration.add_member(:group_claim, Shapes::ShapeRef.new(shape: Claim, required: true, location_name: "groupClaim"))
|
653
|
+
OpenIdConnectGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
654
|
+
OpenIdConnectGroupConfiguration.struct_class = Types::OpenIdConnectGroupConfiguration
|
655
|
+
|
656
|
+
OpenIdConnectGroupConfigurationDetail.add_member(:group_claim, Shapes::ShapeRef.new(shape: Claim, required: true, location_name: "groupClaim"))
|
657
|
+
OpenIdConnectGroupConfigurationDetail.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
658
|
+
OpenIdConnectGroupConfigurationDetail.struct_class = Types::OpenIdConnectGroupConfigurationDetail
|
659
|
+
|
660
|
+
OpenIdConnectGroupConfigurationItem.add_member(:group_claim, Shapes::ShapeRef.new(shape: Claim, required: true, location_name: "groupClaim"))
|
661
|
+
OpenIdConnectGroupConfigurationItem.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
662
|
+
OpenIdConnectGroupConfigurationItem.struct_class = Types::OpenIdConnectGroupConfigurationItem
|
663
|
+
|
664
|
+
OpenIdConnectIdentityTokenConfiguration.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
665
|
+
OpenIdConnectIdentityTokenConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
666
|
+
OpenIdConnectIdentityTokenConfiguration.struct_class = Types::OpenIdConnectIdentityTokenConfiguration
|
667
|
+
|
668
|
+
OpenIdConnectIdentityTokenConfigurationDetail.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
669
|
+
OpenIdConnectIdentityTokenConfigurationDetail.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
670
|
+
OpenIdConnectIdentityTokenConfigurationDetail.struct_class = Types::OpenIdConnectIdentityTokenConfigurationDetail
|
671
|
+
|
672
|
+
OpenIdConnectIdentityTokenConfigurationItem.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
673
|
+
OpenIdConnectIdentityTokenConfigurationItem.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
674
|
+
OpenIdConnectIdentityTokenConfigurationItem.struct_class = Types::OpenIdConnectIdentityTokenConfigurationItem
|
675
|
+
|
676
|
+
OpenIdConnectTokenSelection.add_member(:access_token_only, Shapes::ShapeRef.new(shape: OpenIdConnectAccessTokenConfiguration, location_name: "accessTokenOnly"))
|
677
|
+
OpenIdConnectTokenSelection.add_member(:identity_token_only, Shapes::ShapeRef.new(shape: OpenIdConnectIdentityTokenConfiguration, location_name: "identityTokenOnly"))
|
678
|
+
OpenIdConnectTokenSelection.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
679
|
+
OpenIdConnectTokenSelection.add_member_subclass(:access_token_only, Types::OpenIdConnectTokenSelection::AccessTokenOnly)
|
680
|
+
OpenIdConnectTokenSelection.add_member_subclass(:identity_token_only, Types::OpenIdConnectTokenSelection::IdentityTokenOnly)
|
681
|
+
OpenIdConnectTokenSelection.add_member_subclass(:unknown, Types::OpenIdConnectTokenSelection::Unknown)
|
682
|
+
OpenIdConnectTokenSelection.struct_class = Types::OpenIdConnectTokenSelection
|
683
|
+
|
684
|
+
OpenIdConnectTokenSelectionDetail.add_member(:access_token_only, Shapes::ShapeRef.new(shape: OpenIdConnectAccessTokenConfigurationDetail, location_name: "accessTokenOnly"))
|
685
|
+
OpenIdConnectTokenSelectionDetail.add_member(:identity_token_only, Shapes::ShapeRef.new(shape: OpenIdConnectIdentityTokenConfigurationDetail, location_name: "identityTokenOnly"))
|
686
|
+
OpenIdConnectTokenSelectionDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
687
|
+
OpenIdConnectTokenSelectionDetail.add_member_subclass(:access_token_only, Types::OpenIdConnectTokenSelectionDetail::AccessTokenOnly)
|
688
|
+
OpenIdConnectTokenSelectionDetail.add_member_subclass(:identity_token_only, Types::OpenIdConnectTokenSelectionDetail::IdentityTokenOnly)
|
689
|
+
OpenIdConnectTokenSelectionDetail.add_member_subclass(:unknown, Types::OpenIdConnectTokenSelectionDetail::Unknown)
|
690
|
+
OpenIdConnectTokenSelectionDetail.struct_class = Types::OpenIdConnectTokenSelectionDetail
|
691
|
+
|
692
|
+
OpenIdConnectTokenSelectionItem.add_member(:access_token_only, Shapes::ShapeRef.new(shape: OpenIdConnectAccessTokenConfigurationItem, location_name: "accessTokenOnly"))
|
693
|
+
OpenIdConnectTokenSelectionItem.add_member(:identity_token_only, Shapes::ShapeRef.new(shape: OpenIdConnectIdentityTokenConfigurationItem, location_name: "identityTokenOnly"))
|
694
|
+
OpenIdConnectTokenSelectionItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
695
|
+
OpenIdConnectTokenSelectionItem.add_member_subclass(:access_token_only, Types::OpenIdConnectTokenSelectionItem::AccessTokenOnly)
|
696
|
+
OpenIdConnectTokenSelectionItem.add_member_subclass(:identity_token_only, Types::OpenIdConnectTokenSelectionItem::IdentityTokenOnly)
|
697
|
+
OpenIdConnectTokenSelectionItem.add_member_subclass(:unknown, Types::OpenIdConnectTokenSelectionItem::Unknown)
|
698
|
+
OpenIdConnectTokenSelectionItem.struct_class = Types::OpenIdConnectTokenSelectionItem
|
699
|
+
|
590
700
|
ParentList.member = Shapes::ShapeRef.new(shape: EntityIdentifier)
|
591
701
|
|
592
702
|
PolicyDefinition.add_member(:static, Shapes::ShapeRef.new(shape: StaticPolicyDefinition, location_name: "static"))
|
@@ -730,8 +840,10 @@ module Aws::VerifiedPermissions
|
|
730
840
|
UpdateCognitoUserPoolConfiguration.struct_class = Types::UpdateCognitoUserPoolConfiguration
|
731
841
|
|
732
842
|
UpdateConfiguration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: UpdateCognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
|
843
|
+
UpdateConfiguration.add_member(:open_id_connect_configuration, Shapes::ShapeRef.new(shape: UpdateOpenIdConnectConfiguration, location_name: "openIdConnectConfiguration"))
|
733
844
|
UpdateConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
734
845
|
UpdateConfiguration.add_member_subclass(:cognito_user_pool_configuration, Types::UpdateConfiguration::CognitoUserPoolConfiguration)
|
846
|
+
UpdateConfiguration.add_member_subclass(:open_id_connect_configuration, Types::UpdateConfiguration::OpenIdConnectConfiguration)
|
735
847
|
UpdateConfiguration.add_member_subclass(:unknown, Types::UpdateConfiguration::Unknown)
|
736
848
|
UpdateConfiguration.struct_class = Types::UpdateConfiguration
|
737
849
|
|
@@ -747,6 +859,32 @@ module Aws::VerifiedPermissions
|
|
747
859
|
UpdateIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
748
860
|
UpdateIdentitySourceOutput.struct_class = Types::UpdateIdentitySourceOutput
|
749
861
|
|
862
|
+
UpdateOpenIdConnectAccessTokenConfiguration.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
863
|
+
UpdateOpenIdConnectAccessTokenConfiguration.add_member(:audiences, Shapes::ShapeRef.new(shape: Audiences, location_name: "audiences"))
|
864
|
+
UpdateOpenIdConnectAccessTokenConfiguration.struct_class = Types::UpdateOpenIdConnectAccessTokenConfiguration
|
865
|
+
|
866
|
+
UpdateOpenIdConnectConfiguration.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
867
|
+
UpdateOpenIdConnectConfiguration.add_member(:entity_id_prefix, Shapes::ShapeRef.new(shape: EntityIdPrefix, location_name: "entityIdPrefix"))
|
868
|
+
UpdateOpenIdConnectConfiguration.add_member(:group_configuration, Shapes::ShapeRef.new(shape: UpdateOpenIdConnectGroupConfiguration, location_name: "groupConfiguration"))
|
869
|
+
UpdateOpenIdConnectConfiguration.add_member(:token_selection, Shapes::ShapeRef.new(shape: UpdateOpenIdConnectTokenSelection, required: true, location_name: "tokenSelection"))
|
870
|
+
UpdateOpenIdConnectConfiguration.struct_class = Types::UpdateOpenIdConnectConfiguration
|
871
|
+
|
872
|
+
UpdateOpenIdConnectGroupConfiguration.add_member(:group_claim, Shapes::ShapeRef.new(shape: Claim, required: true, location_name: "groupClaim"))
|
873
|
+
UpdateOpenIdConnectGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
874
|
+
UpdateOpenIdConnectGroupConfiguration.struct_class = Types::UpdateOpenIdConnectGroupConfiguration
|
875
|
+
|
876
|
+
UpdateOpenIdConnectIdentityTokenConfiguration.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
877
|
+
UpdateOpenIdConnectIdentityTokenConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
878
|
+
UpdateOpenIdConnectIdentityTokenConfiguration.struct_class = Types::UpdateOpenIdConnectIdentityTokenConfiguration
|
879
|
+
|
880
|
+
UpdateOpenIdConnectTokenSelection.add_member(:access_token_only, Shapes::ShapeRef.new(shape: UpdateOpenIdConnectAccessTokenConfiguration, location_name: "accessTokenOnly"))
|
881
|
+
UpdateOpenIdConnectTokenSelection.add_member(:identity_token_only, Shapes::ShapeRef.new(shape: UpdateOpenIdConnectIdentityTokenConfiguration, location_name: "identityTokenOnly"))
|
882
|
+
UpdateOpenIdConnectTokenSelection.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
883
|
+
UpdateOpenIdConnectTokenSelection.add_member_subclass(:access_token_only, Types::UpdateOpenIdConnectTokenSelection::AccessTokenOnly)
|
884
|
+
UpdateOpenIdConnectTokenSelection.add_member_subclass(:identity_token_only, Types::UpdateOpenIdConnectTokenSelection::IdentityTokenOnly)
|
885
|
+
UpdateOpenIdConnectTokenSelection.add_member_subclass(:unknown, Types::UpdateOpenIdConnectTokenSelection::Unknown)
|
886
|
+
UpdateOpenIdConnectTokenSelection.struct_class = Types::UpdateOpenIdConnectTokenSelection
|
887
|
+
|
750
888
|
UpdatePolicyDefinition.add_member(:static, Shapes::ShapeRef.new(shape: UpdateStaticPolicyDefinition, location_name: "static"))
|
751
889
|
UpdatePolicyDefinition.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
752
890
|
UpdatePolicyDefinition.add_member_subclass(:static, Types::UpdatePolicyDefinition::Static)
|