aws-sdk-verifiedpermissions 1.16.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-verifiedpermissions/client.rb +72 -30
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +61 -10
- data/lib/aws-sdk-verifiedpermissions/types.rb +389 -45
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +10 -2
- data/sig/types.rbs +63 -0
- 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: b2e2e4bc3c9002c9339678fb29f3c6ce9c8ad6c017b6c3e16528f4dd22c5ab32
|
4
|
+
data.tar.gz: 32987a27b39ea1e5ee5dac39c0bb0e339faea04b805c9d0cb7270168685efcdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 224a6f6b501cec475a0a375b1f4df6a1adc5973a7d6696e59eade5c53493f0b1d3329458a6db844f74be81caed71a8436342312fb0902192fc13e8df587657d4
|
7
|
+
data.tar.gz: 17cb9addf43c47fab588adcbb689dcf88256ebd5927e274c8092395703d38d57bdfbba8cfc9cf6b4f6761c44799636569aff4eca1c88f52e32ae32894d1e7870
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2024-04-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds GroupConfiguration field to Identity Source API's
|
8
|
+
|
9
|
+
1.17.0 (2024-03-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Deprecating details in favor of configuration for GetIdentitySource and ListIdentitySources APIs.
|
13
|
+
|
4
14
|
1.16.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -555,8 +555,8 @@ module Aws::VerifiedPermissions
|
|
555
555
|
# <note markdown="1"> Verified Permissions is <i> <a
|
556
556
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
557
557
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
558
|
-
# element to
|
559
|
-
#
|
558
|
+
# element to propagate through the service and be visible in the results
|
559
|
+
# of other Verified Permissions operations.
|
560
560
|
#
|
561
561
|
# </note>
|
562
562
|
#
|
@@ -576,8 +576,12 @@ module Aws::VerifiedPermissions
|
|
576
576
|
# random one for you.
|
577
577
|
#
|
578
578
|
# If you retry the operation with the same `ClientToken`, but with
|
579
|
-
# different parameters, the retry fails with an
|
580
|
-
#
|
579
|
+
# different parameters, the retry fails with an `ConflictException`
|
580
|
+
# error.
|
581
|
+
#
|
582
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
583
|
+
# eight hours, the next request with the same parameters performs the
|
584
|
+
# operation again regardless of the value of `ClientToken`.
|
581
585
|
#
|
582
586
|
# **A suitable default value is auto-generated.** You should normally
|
583
587
|
# not need to pass this option.**
|
@@ -623,6 +627,9 @@ module Aws::VerifiedPermissions
|
|
623
627
|
# cognito_user_pool_configuration: {
|
624
628
|
# user_pool_arn: "UserPoolArn", # required
|
625
629
|
# client_ids: ["ClientId"],
|
630
|
+
# group_configuration: {
|
631
|
+
# group_entity_type: "GroupEntityType", # required
|
632
|
+
# },
|
626
633
|
# },
|
627
634
|
# },
|
628
635
|
# principal_entity_type: "PrincipalEntityType",
|
@@ -667,8 +674,8 @@ module Aws::VerifiedPermissions
|
|
667
674
|
# <note markdown="1"> Verified Permissions is <i> <a
|
668
675
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
669
676
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
670
|
-
# element to
|
671
|
-
#
|
677
|
+
# element to propagate through the service and be visible in the results
|
678
|
+
# of other Verified Permissions operations.
|
672
679
|
#
|
673
680
|
# </note>
|
674
681
|
#
|
@@ -684,8 +691,12 @@ module Aws::VerifiedPermissions
|
|
684
691
|
# random one for you.
|
685
692
|
#
|
686
693
|
# If you retry the operation with the same `ClientToken`, but with
|
687
|
-
# different parameters, the retry fails with an
|
688
|
-
#
|
694
|
+
# different parameters, the retry fails with an `ConflictException`
|
695
|
+
# error.
|
696
|
+
#
|
697
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
698
|
+
# eight hours, the next request with the same parameters performs the
|
699
|
+
# operation again regardless of the value of `ClientToken`.
|
689
700
|
#
|
690
701
|
# **A suitable default value is auto-generated.** You should normally
|
691
702
|
# not need to pass this option.**
|
@@ -770,8 +781,8 @@ module Aws::VerifiedPermissions
|
|
770
781
|
# <note markdown="1"> Verified Permissions is <i> <a
|
771
782
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
772
783
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
773
|
-
# element to
|
774
|
-
#
|
784
|
+
# element to propagate through the service and be visible in the results
|
785
|
+
# of other Verified Permissions operations.
|
775
786
|
#
|
776
787
|
# </note>
|
777
788
|
#
|
@@ -791,8 +802,12 @@ module Aws::VerifiedPermissions
|
|
791
802
|
# random one for you.
|
792
803
|
#
|
793
804
|
# If you retry the operation with the same `ClientToken`, but with
|
794
|
-
# different parameters, the retry fails with an
|
795
|
-
#
|
805
|
+
# different parameters, the retry fails with an `ConflictException`
|
806
|
+
# error.
|
807
|
+
#
|
808
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
809
|
+
# eight hours, the next request with the same parameters performs the
|
810
|
+
# operation again regardless of the value of `ClientToken`.
|
796
811
|
#
|
797
812
|
# **A suitable default value is auto-generated.** You should normally
|
798
813
|
# not need to pass this option.**
|
@@ -866,8 +881,8 @@ module Aws::VerifiedPermissions
|
|
866
881
|
# <note markdown="1"> Verified Permissions is <i> <a
|
867
882
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
868
883
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
869
|
-
# element to
|
870
|
-
#
|
884
|
+
# element to propagate through the service and be visible in the results
|
885
|
+
# of other Verified Permissions operations.
|
871
886
|
#
|
872
887
|
# </note>
|
873
888
|
#
|
@@ -883,8 +898,12 @@ module Aws::VerifiedPermissions
|
|
883
898
|
# random one for you.
|
884
899
|
#
|
885
900
|
# If you retry the operation with the same `ClientToken`, but with
|
886
|
-
# different parameters, the retry fails with an
|
887
|
-
#
|
901
|
+
# different parameters, the retry fails with an `ConflictException`
|
902
|
+
# error.
|
903
|
+
#
|
904
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
905
|
+
# eight hours, the next request with the same parameters performs the
|
906
|
+
# operation again regardless of the value of `ClientToken`.
|
888
907
|
#
|
889
908
|
# **A suitable default value is auto-generated.** You should normally
|
890
909
|
# not need to pass this option.**
|
@@ -1076,6 +1095,7 @@ module Aws::VerifiedPermissions
|
|
1076
1095
|
# * {Types::GetIdentitySourceOutput#last_updated_date #last_updated_date} => Time
|
1077
1096
|
# * {Types::GetIdentitySourceOutput#policy_store_id #policy_store_id} => String
|
1078
1097
|
# * {Types::GetIdentitySourceOutput#principal_entity_type #principal_entity_type} => String
|
1098
|
+
# * {Types::GetIdentitySourceOutput#configuration #configuration} => Types::ConfigurationDetail
|
1079
1099
|
#
|
1080
1100
|
# @example Request syntax with placeholder values
|
1081
1101
|
#
|
@@ -1096,6 +1116,11 @@ module Aws::VerifiedPermissions
|
|
1096
1116
|
# resp.last_updated_date #=> Time
|
1097
1117
|
# resp.policy_store_id #=> String
|
1098
1118
|
# resp.principal_entity_type #=> String
|
1119
|
+
# resp.configuration.cognito_user_pool_configuration.user_pool_arn #=> String
|
1120
|
+
# resp.configuration.cognito_user_pool_configuration.client_ids #=> Array
|
1121
|
+
# resp.configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1122
|
+
# resp.configuration.cognito_user_pool_configuration.issuer #=> String
|
1123
|
+
# resp.configuration.cognito_user_pool_configuration.group_configuration.group_entity_type #=> String
|
1099
1124
|
#
|
1100
1125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetIdentitySource AWS API Documentation
|
1101
1126
|
#
|
@@ -1426,13 +1451,19 @@ module Aws::VerifiedPermissions
|
|
1426
1451
|
# Specifies an identity token for the principal to be authorized. This
|
1427
1452
|
# token is provided to you by the identity provider (IdP) associated
|
1428
1453
|
# with the specified identity source. You must specify either an
|
1429
|
-
# `
|
1454
|
+
# `accessToken`, an `identityToken`, or both.
|
1455
|
+
#
|
1456
|
+
# Must be an ID token. Verified Permissions returns an error if the
|
1457
|
+
# `token_use` claim in the submitted token isn't `id`.
|
1430
1458
|
#
|
1431
1459
|
# @option params [String] :access_token
|
1432
1460
|
# Specifies an access token for the principal to be authorized. This
|
1433
1461
|
# token is provided to you by the identity provider (IdP) associated
|
1434
1462
|
# with the specified identity source. You must specify either an
|
1435
|
-
# `
|
1463
|
+
# `accessToken`, an `identityToken`, or both.
|
1464
|
+
#
|
1465
|
+
# Must be an access token. Verified Permissions returns an error if the
|
1466
|
+
# `token_use` claim in the submitted token isn't `access`.
|
1436
1467
|
#
|
1437
1468
|
# @option params [Types::ActionIdentifier] :action
|
1438
1469
|
# Specifies the requested action to be authorized. Is the specified
|
@@ -1468,6 +1499,7 @@ module Aws::VerifiedPermissions
|
|
1468
1499
|
# * {Types::IsAuthorizedWithTokenOutput#decision #decision} => String
|
1469
1500
|
# * {Types::IsAuthorizedWithTokenOutput#determining_policies #determining_policies} => Array<Types::DeterminingPolicyItem>
|
1470
1501
|
# * {Types::IsAuthorizedWithTokenOutput#errors #errors} => Array<Types::EvaluationErrorItem>
|
1502
|
+
# * {Types::IsAuthorizedWithTokenOutput#principal #principal} => Types::EntityIdentifier
|
1471
1503
|
#
|
1472
1504
|
# @example Request syntax with placeholder values
|
1473
1505
|
#
|
@@ -1516,6 +1548,8 @@ module Aws::VerifiedPermissions
|
|
1516
1548
|
# resp.determining_policies[0].policy_id #=> String
|
1517
1549
|
# resp.errors #=> Array
|
1518
1550
|
# resp.errors[0].error_description #=> String
|
1551
|
+
# resp.principal.entity_type #=> String
|
1552
|
+
# resp.principal.entity_id #=> String
|
1519
1553
|
#
|
1520
1554
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IsAuthorizedWithToken AWS API Documentation
|
1521
1555
|
#
|
@@ -1592,6 +1626,11 @@ module Aws::VerifiedPermissions
|
|
1592
1626
|
# resp.identity_sources[0].last_updated_date #=> Time
|
1593
1627
|
# resp.identity_sources[0].policy_store_id #=> String
|
1594
1628
|
# resp.identity_sources[0].principal_entity_type #=> String
|
1629
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.user_pool_arn #=> String
|
1630
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids #=> Array
|
1631
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1632
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.issuer #=> String
|
1633
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.group_configuration.group_entity_type #=> String
|
1595
1634
|
#
|
1596
1635
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListIdentitySources AWS API Documentation
|
1597
1636
|
#
|
@@ -1826,8 +1865,8 @@ module Aws::VerifiedPermissions
|
|
1826
1865
|
# <note markdown="1"> Verified Permissions is <i> <a
|
1827
1866
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
1828
1867
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
1829
|
-
# element to
|
1830
|
-
#
|
1868
|
+
# element to propagate through the service and be visible in the results
|
1869
|
+
# of other Verified Permissions operations.
|
1831
1870
|
#
|
1832
1871
|
# </note>
|
1833
1872
|
#
|
@@ -1878,8 +1917,8 @@ module Aws::VerifiedPermissions
|
|
1878
1917
|
# <note markdown="1"> Verified Permissions is <i> <a
|
1879
1918
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
1880
1919
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
1881
|
-
# element to
|
1882
|
-
#
|
1920
|
+
# element to propagate through the service and be visible in the results
|
1921
|
+
# of other Verified Permissions operations.
|
1883
1922
|
#
|
1884
1923
|
# </note>
|
1885
1924
|
#
|
@@ -1921,6 +1960,9 @@ module Aws::VerifiedPermissions
|
|
1921
1960
|
# cognito_user_pool_configuration: {
|
1922
1961
|
# user_pool_arn: "UserPoolArn", # required
|
1923
1962
|
# client_ids: ["ClientId"],
|
1963
|
+
# group_configuration: {
|
1964
|
+
# group_entity_type: "GroupEntityType", # required
|
1965
|
+
# },
|
1924
1966
|
# },
|
1925
1967
|
# },
|
1926
1968
|
# principal_entity_type: "PrincipalEntityType",
|
@@ -1954,7 +1996,7 @@ module Aws::VerifiedPermissions
|
|
1954
1996
|
# doesn't pass validation, the operation fails and the update isn't
|
1955
1997
|
# stored.
|
1956
1998
|
#
|
1957
|
-
# * When you edit a static policy,
|
1999
|
+
# * When you edit a static policy, you can change only certain elements
|
1958
2000
|
# of a static policy:
|
1959
2001
|
#
|
1960
2002
|
# * The action referenced by the policy.
|
@@ -1980,8 +2022,8 @@ module Aws::VerifiedPermissions
|
|
1980
2022
|
# <note markdown="1"> Verified Permissions is <i> <a
|
1981
2023
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
1982
2024
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
1983
|
-
# element to
|
1984
|
-
#
|
2025
|
+
# element to propagate through the service and be visible in the results
|
2026
|
+
# of other Verified Permissions operations.
|
1985
2027
|
#
|
1986
2028
|
# </note>
|
1987
2029
|
#
|
@@ -2072,8 +2114,8 @@ module Aws::VerifiedPermissions
|
|
2072
2114
|
# <note markdown="1"> Verified Permissions is <i> <a
|
2073
2115
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
2074
2116
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
2075
|
-
# element to
|
2076
|
-
#
|
2117
|
+
# element to propagate through the service and be visible in the results
|
2118
|
+
# of other Verified Permissions operations.
|
2077
2119
|
#
|
2078
2120
|
# </note>
|
2079
2121
|
#
|
@@ -2132,8 +2174,8 @@ module Aws::VerifiedPermissions
|
|
2132
2174
|
# <note markdown="1"> Verified Permissions is <i> <a
|
2133
2175
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
2134
2176
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
2135
|
-
# element to
|
2136
|
-
#
|
2177
|
+
# element to propagate through the service and be visible in the results
|
2178
|
+
# of other Verified Permissions operations.
|
2137
2179
|
#
|
2138
2180
|
# </note>
|
2139
2181
|
#
|
@@ -2214,7 +2256,7 @@ module Aws::VerifiedPermissions
|
|
2214
2256
|
params: params,
|
2215
2257
|
config: config)
|
2216
2258
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
2217
|
-
context[:gem_version] = '1.
|
2259
|
+
context[:gem_version] = '1.18.0'
|
2218
2260
|
Seahorse::Client::Request.new(handlers, context)
|
2219
2261
|
end
|
2220
2262
|
|
@@ -28,8 +28,15 @@ module Aws::VerifiedPermissions
|
|
28
28
|
BooleanAttribute = Shapes::BooleanShape.new(name: 'BooleanAttribute')
|
29
29
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
30
30
|
ClientIds = Shapes::ListShape.new(name: 'ClientIds')
|
31
|
+
CognitoGroupConfiguration = Shapes::StructureShape.new(name: 'CognitoGroupConfiguration')
|
32
|
+
CognitoGroupConfigurationDetail = Shapes::StructureShape.new(name: 'CognitoGroupConfigurationDetail')
|
33
|
+
CognitoGroupConfigurationItem = Shapes::StructureShape.new(name: 'CognitoGroupConfigurationItem')
|
31
34
|
CognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'CognitoUserPoolConfiguration')
|
35
|
+
CognitoUserPoolConfigurationDetail = Shapes::StructureShape.new(name: 'CognitoUserPoolConfigurationDetail')
|
36
|
+
CognitoUserPoolConfigurationItem = Shapes::StructureShape.new(name: 'CognitoUserPoolConfigurationItem')
|
32
37
|
Configuration = Shapes::UnionShape.new(name: 'Configuration')
|
38
|
+
ConfigurationDetail = Shapes::UnionShape.new(name: 'ConfigurationDetail')
|
39
|
+
ConfigurationItem = Shapes::UnionShape.new(name: 'ConfigurationItem')
|
33
40
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
41
|
ContextDefinition = Shapes::UnionShape.new(name: 'ContextDefinition')
|
35
42
|
ContextMap = Shapes::MapShape.new(name: 'ContextMap')
|
@@ -73,6 +80,7 @@ module Aws::VerifiedPermissions
|
|
73
80
|
GetPolicyTemplateOutput = Shapes::StructureShape.new(name: 'GetPolicyTemplateOutput')
|
74
81
|
GetSchemaInput = Shapes::StructureShape.new(name: 'GetSchemaInput')
|
75
82
|
GetSchemaOutput = Shapes::StructureShape.new(name: 'GetSchemaOutput')
|
83
|
+
GroupEntityType = Shapes::StringShape.new(name: 'GroupEntityType')
|
76
84
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
77
85
|
IdentitySourceDetails = Shapes::StructureShape.new(name: 'IdentitySourceDetails')
|
78
86
|
IdentitySourceFilter = Shapes::StructureShape.new(name: 'IdentitySourceFilter')
|
@@ -86,6 +94,7 @@ module Aws::VerifiedPermissions
|
|
86
94
|
IsAuthorizedOutput = Shapes::StructureShape.new(name: 'IsAuthorizedOutput')
|
87
95
|
IsAuthorizedWithTokenInput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenInput')
|
88
96
|
IsAuthorizedWithTokenOutput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenOutput')
|
97
|
+
Issuer = Shapes::StringShape.new(name: 'Issuer')
|
89
98
|
ListIdentitySourcesInput = Shapes::StructureShape.new(name: 'ListIdentitySourcesInput')
|
90
99
|
ListIdentitySourcesMaxResults = Shapes::IntegerShape.new(name: 'ListIdentitySourcesMaxResults')
|
91
100
|
ListIdentitySourcesOutput = Shapes::StructureShape.new(name: 'ListIdentitySourcesOutput')
|
@@ -144,6 +153,7 @@ module Aws::VerifiedPermissions
|
|
144
153
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
145
154
|
TimestampFormat = Shapes::TimestampShape.new(name: 'TimestampFormat', timestampFormat: "iso8601")
|
146
155
|
Token = Shapes::StringShape.new(name: 'Token')
|
156
|
+
UpdateCognitoGroupConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoGroupConfiguration')
|
147
157
|
UpdateCognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoUserPoolConfiguration')
|
148
158
|
UpdateConfiguration = Shapes::UnionShape.new(name: 'UpdateConfiguration')
|
149
159
|
UpdateIdentitySourceInput = Shapes::StructureShape.new(name: 'UpdateIdentitySourceInput')
|
@@ -212,16 +222,50 @@ module Aws::VerifiedPermissions
|
|
212
222
|
|
213
223
|
ClientIds.member = Shapes::ShapeRef.new(shape: ClientId)
|
214
224
|
|
225
|
+
CognitoGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
226
|
+
CognitoGroupConfiguration.struct_class = Types::CognitoGroupConfiguration
|
227
|
+
|
228
|
+
CognitoGroupConfigurationDetail.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, location_name: "groupEntityType"))
|
229
|
+
CognitoGroupConfigurationDetail.struct_class = Types::CognitoGroupConfigurationDetail
|
230
|
+
|
231
|
+
CognitoGroupConfigurationItem.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, location_name: "groupEntityType"))
|
232
|
+
CognitoGroupConfigurationItem.struct_class = Types::CognitoGroupConfigurationItem
|
233
|
+
|
215
234
|
CognitoUserPoolConfiguration.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
216
235
|
CognitoUserPoolConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
236
|
+
CognitoUserPoolConfiguration.add_member(:group_configuration, Shapes::ShapeRef.new(shape: CognitoGroupConfiguration, location_name: "groupConfiguration"))
|
217
237
|
CognitoUserPoolConfiguration.struct_class = Types::CognitoUserPoolConfiguration
|
218
238
|
|
239
|
+
CognitoUserPoolConfigurationDetail.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
240
|
+
CognitoUserPoolConfigurationDetail.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, required: true, location_name: "clientIds"))
|
241
|
+
CognitoUserPoolConfigurationDetail.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
242
|
+
CognitoUserPoolConfigurationDetail.add_member(:group_configuration, Shapes::ShapeRef.new(shape: CognitoGroupConfigurationDetail, location_name: "groupConfiguration"))
|
243
|
+
CognitoUserPoolConfigurationDetail.struct_class = Types::CognitoUserPoolConfigurationDetail
|
244
|
+
|
245
|
+
CognitoUserPoolConfigurationItem.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
246
|
+
CognitoUserPoolConfigurationItem.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, required: true, location_name: "clientIds"))
|
247
|
+
CognitoUserPoolConfigurationItem.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
248
|
+
CognitoUserPoolConfigurationItem.add_member(:group_configuration, Shapes::ShapeRef.new(shape: CognitoGroupConfigurationItem, location_name: "groupConfiguration"))
|
249
|
+
CognitoUserPoolConfigurationItem.struct_class = Types::CognitoUserPoolConfigurationItem
|
250
|
+
|
219
251
|
Configuration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
|
220
252
|
Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
221
253
|
Configuration.add_member_subclass(:cognito_user_pool_configuration, Types::Configuration::CognitoUserPoolConfiguration)
|
222
254
|
Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
|
223
255
|
Configuration.struct_class = Types::Configuration
|
224
256
|
|
257
|
+
ConfigurationDetail.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfigurationDetail, location_name: "cognitoUserPoolConfiguration"))
|
258
|
+
ConfigurationDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
259
|
+
ConfigurationDetail.add_member_subclass(:cognito_user_pool_configuration, Types::ConfigurationDetail::CognitoUserPoolConfiguration)
|
260
|
+
ConfigurationDetail.add_member_subclass(:unknown, Types::ConfigurationDetail::Unknown)
|
261
|
+
ConfigurationDetail.struct_class = Types::ConfigurationDetail
|
262
|
+
|
263
|
+
ConfigurationItem.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfigurationItem, location_name: "cognitoUserPoolConfiguration"))
|
264
|
+
ConfigurationItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
265
|
+
ConfigurationItem.add_member_subclass(:cognito_user_pool_configuration, Types::ConfigurationItem::CognitoUserPoolConfiguration)
|
266
|
+
ConfigurationItem.add_member_subclass(:unknown, Types::ConfigurationItem::Unknown)
|
267
|
+
ConfigurationItem.struct_class = Types::ConfigurationItem
|
268
|
+
|
225
269
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
226
270
|
ConflictException.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceConflictList, required: true, location_name: "resources"))
|
227
271
|
ConflictException.struct_class = Types::ConflictException
|
@@ -350,11 +394,12 @@ module Aws::VerifiedPermissions
|
|
350
394
|
GetIdentitySourceInput.struct_class = Types::GetIdentitySourceInput
|
351
395
|
|
352
396
|
GetIdentitySourceOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
353
|
-
GetIdentitySourceOutput.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceDetails,
|
397
|
+
GetIdentitySourceOutput.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceDetails, deprecated: true, location_name: "details", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration"}))
|
354
398
|
GetIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
|
355
399
|
GetIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
356
400
|
GetIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
357
401
|
GetIdentitySourceOutput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, required: true, location_name: "principalEntityType"))
|
402
|
+
GetIdentitySourceOutput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationDetail, location_name: "configuration"))
|
358
403
|
GetIdentitySourceOutput.struct_class = Types::GetIdentitySourceOutput
|
359
404
|
|
360
405
|
GetPolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -404,10 +449,10 @@ module Aws::VerifiedPermissions
|
|
404
449
|
GetSchemaOutput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceList, location_name: "namespaces"))
|
405
450
|
GetSchemaOutput.struct_class = Types::GetSchemaOutput
|
406
451
|
|
407
|
-
IdentitySourceDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
408
|
-
IdentitySourceDetails.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, location_name: "userPoolArn"))
|
409
|
-
IdentitySourceDetails.add_member(:discovery_url, Shapes::ShapeRef.new(shape: DiscoveryUrl, location_name: "discoveryUrl"))
|
410
|
-
IdentitySourceDetails.add_member(:open_id_issuer, Shapes::ShapeRef.new(shape: OpenIdIssuer, location_name: "openIdIssuer"))
|
452
|
+
IdentitySourceDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, deprecated: true, location_name: "clientIds", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration.clientIds"}))
|
453
|
+
IdentitySourceDetails.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, deprecated: true, location_name: "userPoolArn", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration.userPoolArn"}))
|
454
|
+
IdentitySourceDetails.add_member(:discovery_url, Shapes::ShapeRef.new(shape: DiscoveryUrl, deprecated: true, location_name: "discoveryUrl", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration.issuer"}))
|
455
|
+
IdentitySourceDetails.add_member(:open_id_issuer, Shapes::ShapeRef.new(shape: OpenIdIssuer, deprecated: true, location_name: "openIdIssuer", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration"}))
|
411
456
|
IdentitySourceDetails.struct_class = Types::IdentitySourceDetails
|
412
457
|
|
413
458
|
IdentitySourceFilter.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
|
@@ -416,17 +461,18 @@ module Aws::VerifiedPermissions
|
|
416
461
|
IdentitySourceFilters.member = Shapes::ShapeRef.new(shape: IdentitySourceFilter)
|
417
462
|
|
418
463
|
IdentitySourceItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
419
|
-
IdentitySourceItem.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceItemDetails,
|
464
|
+
IdentitySourceItem.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceItemDetails, deprecated: true, location_name: "details", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration"}))
|
420
465
|
IdentitySourceItem.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
|
421
466
|
IdentitySourceItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
422
467
|
IdentitySourceItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
423
468
|
IdentitySourceItem.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, required: true, location_name: "principalEntityType"))
|
469
|
+
IdentitySourceItem.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationItem, location_name: "configuration"))
|
424
470
|
IdentitySourceItem.struct_class = Types::IdentitySourceItem
|
425
471
|
|
426
|
-
IdentitySourceItemDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
427
|
-
IdentitySourceItemDetails.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, location_name: "userPoolArn"))
|
428
|
-
IdentitySourceItemDetails.add_member(:discovery_url, Shapes::ShapeRef.new(shape: DiscoveryUrl, location_name: "discoveryUrl"))
|
429
|
-
IdentitySourceItemDetails.add_member(:open_id_issuer, Shapes::ShapeRef.new(shape: OpenIdIssuer, location_name: "openIdIssuer"))
|
472
|
+
IdentitySourceItemDetails.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, deprecated: true, location_name: "clientIds", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration.clientIds"}))
|
473
|
+
IdentitySourceItemDetails.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, deprecated: true, location_name: "userPoolArn", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration.userPoolArn"}))
|
474
|
+
IdentitySourceItemDetails.add_member(:discovery_url, Shapes::ShapeRef.new(shape: DiscoveryUrl, deprecated: true, location_name: "discoveryUrl", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration.issuer"}))
|
475
|
+
IdentitySourceItemDetails.add_member(:open_id_issuer, Shapes::ShapeRef.new(shape: OpenIdIssuer, deprecated: true, location_name: "openIdIssuer", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration"}))
|
430
476
|
IdentitySourceItemDetails.struct_class = Types::IdentitySourceItemDetails
|
431
477
|
|
432
478
|
IdentitySources.member = Shapes::ShapeRef.new(shape: IdentitySourceItem)
|
@@ -459,6 +505,7 @@ module Aws::VerifiedPermissions
|
|
459
505
|
IsAuthorizedWithTokenOutput.add_member(:decision, Shapes::ShapeRef.new(shape: Decision, required: true, location_name: "decision"))
|
460
506
|
IsAuthorizedWithTokenOutput.add_member(:determining_policies, Shapes::ShapeRef.new(shape: DeterminingPolicyList, required: true, location_name: "determiningPolicies"))
|
461
507
|
IsAuthorizedWithTokenOutput.add_member(:errors, Shapes::ShapeRef.new(shape: EvaluationErrorList, required: true, location_name: "errors"))
|
508
|
+
IsAuthorizedWithTokenOutput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
|
462
509
|
IsAuthorizedWithTokenOutput.struct_class = Types::IsAuthorizedWithTokenOutput
|
463
510
|
|
464
511
|
ListIdentitySourcesInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -632,8 +679,12 @@ module Aws::VerifiedPermissions
|
|
632
679
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
633
680
|
ThrottlingException.struct_class = Types::ThrottlingException
|
634
681
|
|
682
|
+
UpdateCognitoGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
683
|
+
UpdateCognitoGroupConfiguration.struct_class = Types::UpdateCognitoGroupConfiguration
|
684
|
+
|
635
685
|
UpdateCognitoUserPoolConfiguration.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
636
686
|
UpdateCognitoUserPoolConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
687
|
+
UpdateCognitoUserPoolConfiguration.add_member(:group_configuration, Shapes::ShapeRef.new(shape: UpdateCognitoGroupConfiguration, location_name: "groupConfiguration"))
|
637
688
|
UpdateCognitoUserPoolConfiguration.struct_class = Types::UpdateCognitoUserPoolConfiguration
|
638
689
|
|
639
690
|
UpdateConfiguration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: UpdateCognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
|
@@ -201,13 +201,13 @@ module Aws::VerifiedPermissions
|
|
201
201
|
# @return [Types::EntityIdentifier]
|
202
202
|
#
|
203
203
|
# @!attribute [rw] action
|
204
|
-
# Specifies the requested action to be authorized. For example,
|
205
|
-
#
|
204
|
+
# Specifies the requested action to be authorized. For example,
|
205
|
+
# `PhotoFlash::ReadPhoto`.
|
206
206
|
# @return [Types::ActionIdentifier]
|
207
207
|
#
|
208
208
|
# @!attribute [rw] resource
|
209
|
-
# Specifies the resource
|
210
|
-
#
|
209
|
+
# Specifies the resource that you want an authorization decision for.
|
210
|
+
# For example, `PhotoFlash::Photo`.
|
211
211
|
# @return [Types::EntityIdentifier]
|
212
212
|
#
|
213
213
|
# @!attribute [rw] context
|
@@ -262,9 +262,9 @@ module Aws::VerifiedPermissions
|
|
262
262
|
# @return [Array<Types::DeterminingPolicyItem>]
|
263
263
|
#
|
264
264
|
# @!attribute [rw] errors
|
265
|
-
# Errors that occurred while making an authorization decision
|
266
|
-
# example, a policy
|
267
|
-
#
|
265
|
+
# Errors that occurred while making an authorization decision. For
|
266
|
+
# example, a policy might reference an entity or attribute that
|
267
|
+
# doesn't exist in the request.
|
268
268
|
# @return [Array<Types::EvaluationErrorItem>]
|
269
269
|
#
|
270
270
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/BatchIsAuthorizedOutputItem AWS API Documentation
|
@@ -278,20 +278,94 @@ module Aws::VerifiedPermissions
|
|
278
278
|
include Aws::Structure
|
279
279
|
end
|
280
280
|
|
281
|
+
# The type of entity that a policy store maps to groups from an Amazon
|
282
|
+
# Cognito user pool identity source.
|
283
|
+
#
|
284
|
+
# This data type is part of a [CognitoUserPoolConfiguration][1]
|
285
|
+
# structure and is a request parameter in [CreateIdentitySource][2].
|
286
|
+
#
|
287
|
+
#
|
288
|
+
#
|
289
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfiguration.html
|
290
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html
|
291
|
+
#
|
292
|
+
# @!attribute [rw] group_entity_type
|
293
|
+
# The name of the schema entity type that's mapped to the user pool
|
294
|
+
# group. Defaults to `AWS::CognitoGroup`.
|
295
|
+
# @return [String]
|
296
|
+
#
|
297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoGroupConfiguration AWS API Documentation
|
298
|
+
#
|
299
|
+
class CognitoGroupConfiguration < Struct.new(
|
300
|
+
:group_entity_type)
|
301
|
+
SENSITIVE = [:group_entity_type]
|
302
|
+
include Aws::Structure
|
303
|
+
end
|
304
|
+
|
305
|
+
# The type of entity that a policy store maps to groups from an Amazon
|
306
|
+
# Cognito user pool identity source.
|
307
|
+
#
|
308
|
+
# This data type is part of an [CognitoUserPoolConfigurationDetail][1]
|
309
|
+
# structure and is a response parameter to [GetIdentitySource][2].
|
310
|
+
#
|
311
|
+
#
|
312
|
+
#
|
313
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfigurationItem.html
|
314
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
315
|
+
#
|
316
|
+
# @!attribute [rw] group_entity_type
|
317
|
+
# The name of the schema entity type that's mapped to the user pool
|
318
|
+
# group. Defaults to `AWS::CognitoGroup`.
|
319
|
+
# @return [String]
|
320
|
+
#
|
321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoGroupConfigurationDetail AWS API Documentation
|
322
|
+
#
|
323
|
+
class CognitoGroupConfigurationDetail < Struct.new(
|
324
|
+
:group_entity_type)
|
325
|
+
SENSITIVE = [:group_entity_type]
|
326
|
+
include Aws::Structure
|
327
|
+
end
|
328
|
+
|
329
|
+
# The type of entity that a policy store maps to groups from an Amazon
|
330
|
+
# Cognito user pool identity source.
|
331
|
+
#
|
332
|
+
# This data type is part of an [CognitoUserPoolConfigurationItem][1]
|
333
|
+
# structure and is a response parameter to [ListIdentitySources][2].
|
334
|
+
#
|
335
|
+
#
|
336
|
+
#
|
337
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CognitoUserPoolConfigurationDetail.html
|
338
|
+
# [2]: http://forums.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
339
|
+
#
|
340
|
+
# @!attribute [rw] group_entity_type
|
341
|
+
# The name of the schema entity type that's mapped to the user pool
|
342
|
+
# group. Defaults to `AWS::CognitoGroup`.
|
343
|
+
# @return [String]
|
344
|
+
#
|
345
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoGroupConfigurationItem AWS API Documentation
|
346
|
+
#
|
347
|
+
class CognitoGroupConfigurationItem < Struct.new(
|
348
|
+
:group_entity_type)
|
349
|
+
SENSITIVE = [:group_entity_type]
|
350
|
+
include Aws::Structure
|
351
|
+
end
|
352
|
+
|
281
353
|
# The configuration for an identity source that represents a connection
|
282
354
|
# to an Amazon Cognito user pool used as an identity provider for
|
283
355
|
# Verified Permissions.
|
284
356
|
#
|
285
357
|
# This data type is used as a field that is part of an
|
286
|
-
# [Configuration][1] structure that is used as a parameter to
|
287
|
-
# [
|
358
|
+
# [Configuration][1] structure that is used as a parameter to
|
359
|
+
# [CreateIdentitySource][2].
|
288
360
|
#
|
289
361
|
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
290
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
362
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
363
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}`
|
291
364
|
#
|
292
365
|
#
|
293
366
|
#
|
294
367
|
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html
|
368
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html
|
295
369
|
#
|
296
370
|
# @!attribute [rw] user_pool_arn
|
297
371
|
# The [Amazon Resource Name (ARN)][1] of the Amazon Cognito user pool
|
@@ -312,11 +386,137 @@ module Aws::VerifiedPermissions
|
|
312
386
|
# Example: `"ClientIds": ["&ExampleCogClientId;"]`
|
313
387
|
# @return [Array<String>]
|
314
388
|
#
|
389
|
+
# @!attribute [rw] group_configuration
|
390
|
+
# The type of entity that a policy store maps to groups from an Amazon
|
391
|
+
# Cognito user pool identity source.
|
392
|
+
# @return [Types::CognitoGroupConfiguration]
|
393
|
+
#
|
315
394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfiguration AWS API Documentation
|
316
395
|
#
|
317
396
|
class CognitoUserPoolConfiguration < Struct.new(
|
318
397
|
:user_pool_arn,
|
319
|
-
:client_ids
|
398
|
+
:client_ids,
|
399
|
+
:group_configuration)
|
400
|
+
SENSITIVE = []
|
401
|
+
include Aws::Structure
|
402
|
+
end
|
403
|
+
|
404
|
+
# The configuration for an identity source that represents a connection
|
405
|
+
# to an Amazon Cognito user pool used as an identity provider for
|
406
|
+
# Verified Permissions.
|
407
|
+
#
|
408
|
+
# This data type is used as a field that is part of an
|
409
|
+
# [ConfigurationDetail][1] structure that is part of the response to
|
410
|
+
# [GetIdentitySource][2].
|
411
|
+
#
|
412
|
+
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
413
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
414
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}`
|
415
|
+
#
|
416
|
+
#
|
417
|
+
#
|
418
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html
|
419
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
420
|
+
#
|
421
|
+
# @!attribute [rw] user_pool_arn
|
422
|
+
# The [Amazon Resource Name (ARN)][1] of the Amazon Cognito user pool
|
423
|
+
# that contains the identities to be authorized.
|
424
|
+
#
|
425
|
+
# Example: `"userPoolArn":
|
426
|
+
# "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"`
|
427
|
+
#
|
428
|
+
#
|
429
|
+
#
|
430
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
431
|
+
# @return [String]
|
432
|
+
#
|
433
|
+
# @!attribute [rw] client_ids
|
434
|
+
# The unique application client IDs that are associated with the
|
435
|
+
# specified Amazon Cognito user pool.
|
436
|
+
#
|
437
|
+
# Example: `"clientIds": ["&ExampleCogClientId;"]`
|
438
|
+
# @return [Array<String>]
|
439
|
+
#
|
440
|
+
# @!attribute [rw] issuer
|
441
|
+
# The OpenID Connect (OIDC) `issuer` ID of the Amazon Cognito user
|
442
|
+
# pool that contains the identities to be authorized.
|
443
|
+
#
|
444
|
+
# Example: `"issuer":
|
445
|
+
# "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"`
|
446
|
+
# @return [String]
|
447
|
+
#
|
448
|
+
# @!attribute [rw] group_configuration
|
449
|
+
# The type of entity that a policy store maps to groups from an Amazon
|
450
|
+
# Cognito user pool identity source.
|
451
|
+
# @return [Types::CognitoGroupConfigurationDetail]
|
452
|
+
#
|
453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationDetail AWS API Documentation
|
454
|
+
#
|
455
|
+
class CognitoUserPoolConfigurationDetail < Struct.new(
|
456
|
+
:user_pool_arn,
|
457
|
+
:client_ids,
|
458
|
+
:issuer,
|
459
|
+
:group_configuration)
|
460
|
+
SENSITIVE = []
|
461
|
+
include Aws::Structure
|
462
|
+
end
|
463
|
+
|
464
|
+
# The configuration for an identity source that represents a connection
|
465
|
+
# to an Amazon Cognito user pool used as an identity provider for
|
466
|
+
# Verified Permissions.
|
467
|
+
#
|
468
|
+
# This data type is used as a field that is part of the
|
469
|
+
# [ConfigurationItem][1] structure that is part of the response to
|
470
|
+
# [ListIdentitySources][2].
|
471
|
+
#
|
472
|
+
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
473
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
474
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}`
|
475
|
+
#
|
476
|
+
#
|
477
|
+
#
|
478
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html
|
479
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
480
|
+
#
|
481
|
+
# @!attribute [rw] user_pool_arn
|
482
|
+
# The [Amazon Resource Name (ARN)][1] of the Amazon Cognito user pool
|
483
|
+
# that contains the identities to be authorized.
|
484
|
+
#
|
485
|
+
# Example: `"userPoolArn":
|
486
|
+
# "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"`
|
487
|
+
#
|
488
|
+
#
|
489
|
+
#
|
490
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
491
|
+
# @return [String]
|
492
|
+
#
|
493
|
+
# @!attribute [rw] client_ids
|
494
|
+
# The unique application client IDs that are associated with the
|
495
|
+
# specified Amazon Cognito user pool.
|
496
|
+
#
|
497
|
+
# Example: `"clientIds": ["&ExampleCogClientId;"]`
|
498
|
+
# @return [Array<String>]
|
499
|
+
#
|
500
|
+
# @!attribute [rw] issuer
|
501
|
+
# The OpenID Connect (OIDC) `issuer` ID of the Amazon Cognito user
|
502
|
+
# pool that contains the identities to be authorized.
|
503
|
+
#
|
504
|
+
# Example: `"issuer":
|
505
|
+
# "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"`
|
506
|
+
# @return [String]
|
507
|
+
#
|
508
|
+
# @!attribute [rw] group_configuration
|
509
|
+
# The type of entity that a policy store maps to groups from an Amazon
|
510
|
+
# Cognito user pool identity source.
|
511
|
+
# @return [Types::CognitoGroupConfigurationItem]
|
512
|
+
#
|
513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationItem AWS API Documentation
|
514
|
+
#
|
515
|
+
class CognitoUserPoolConfigurationItem < Struct.new(
|
516
|
+
:user_pool_arn,
|
517
|
+
:client_ids,
|
518
|
+
:issuer,
|
519
|
+
:group_configuration)
|
320
520
|
SENSITIVE = []
|
321
521
|
include Aws::Structure
|
322
522
|
end
|
@@ -327,7 +527,7 @@ module Aws::VerifiedPermissions
|
|
327
527
|
# <note markdown="1"> At this time, the only valid member of this structure is a Amazon
|
328
528
|
# Cognito user pool configuration.
|
329
529
|
#
|
330
|
-
#
|
530
|
+
# Specifies a `userPoolArn`, a `groupConfiguration`, and a `ClientId`.
|
331
531
|
#
|
332
532
|
# </note>
|
333
533
|
#
|
@@ -348,7 +548,8 @@ module Aws::VerifiedPermissions
|
|
348
548
|
#
|
349
549
|
# Example:
|
350
550
|
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
351
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
551
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
552
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}\}`
|
352
553
|
#
|
353
554
|
#
|
354
555
|
#
|
@@ -368,6 +569,88 @@ module Aws::VerifiedPermissions
|
|
368
569
|
class Unknown < Configuration; end
|
369
570
|
end
|
370
571
|
|
572
|
+
# Contains configuration information about an identity source.
|
573
|
+
#
|
574
|
+
# This data type is a response parameter to the [GetIdentitySource][1]
|
575
|
+
# operation.
|
576
|
+
#
|
577
|
+
#
|
578
|
+
#
|
579
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
580
|
+
#
|
581
|
+
# @note ConfigurationDetail is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ConfigurationDetail corresponding to the set member.
|
582
|
+
#
|
583
|
+
# @!attribute [rw] cognito_user_pool_configuration
|
584
|
+
# Contains configuration details of a Amazon Cognito user pool that
|
585
|
+
# Verified Permissions can use as a source of authenticated identities
|
586
|
+
# as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
|
587
|
+
# Amazon Cognito user pool, the policy store entity that you want to
|
588
|
+
# assign to user groups, and one or more application client IDs.
|
589
|
+
#
|
590
|
+
# Example:
|
591
|
+
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
592
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
593
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}\}`
|
594
|
+
#
|
595
|
+
#
|
596
|
+
#
|
597
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
598
|
+
# @return [Types::CognitoUserPoolConfigurationDetail]
|
599
|
+
#
|
600
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ConfigurationDetail AWS API Documentation
|
601
|
+
#
|
602
|
+
class ConfigurationDetail < Struct.new(
|
603
|
+
:cognito_user_pool_configuration,
|
604
|
+
:unknown)
|
605
|
+
SENSITIVE = []
|
606
|
+
include Aws::Structure
|
607
|
+
include Aws::Structure::Union
|
608
|
+
|
609
|
+
class CognitoUserPoolConfiguration < ConfigurationDetail; end
|
610
|
+
class Unknown < ConfigurationDetail; end
|
611
|
+
end
|
612
|
+
|
613
|
+
# Contains configuration information about an identity source.
|
614
|
+
#
|
615
|
+
# This data type is a response parameter to the [ListIdentitySources][1]
|
616
|
+
# operation.
|
617
|
+
#
|
618
|
+
#
|
619
|
+
#
|
620
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
621
|
+
#
|
622
|
+
# @note ConfigurationItem is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ConfigurationItem corresponding to the set member.
|
623
|
+
#
|
624
|
+
# @!attribute [rw] cognito_user_pool_configuration
|
625
|
+
# Contains configuration details of a Amazon Cognito user pool that
|
626
|
+
# Verified Permissions can use as a source of authenticated identities
|
627
|
+
# as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
|
628
|
+
# Amazon Cognito user pool, the policy store entity that you want to
|
629
|
+
# assign to user groups, and one or more application client IDs.
|
630
|
+
#
|
631
|
+
# Example:
|
632
|
+
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
633
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
634
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}\}`
|
635
|
+
#
|
636
|
+
#
|
637
|
+
#
|
638
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
639
|
+
# @return [Types::CognitoUserPoolConfigurationItem]
|
640
|
+
#
|
641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ConfigurationItem AWS API Documentation
|
642
|
+
#
|
643
|
+
class ConfigurationItem < Struct.new(
|
644
|
+
:cognito_user_pool_configuration,
|
645
|
+
:unknown)
|
646
|
+
SENSITIVE = []
|
647
|
+
include Aws::Structure
|
648
|
+
include Aws::Structure::Union
|
649
|
+
|
650
|
+
class CognitoUserPoolConfiguration < ConfigurationItem; end
|
651
|
+
class Unknown < ConfigurationItem; end
|
652
|
+
end
|
653
|
+
|
371
654
|
# The request failed because another request to modify a resource
|
372
655
|
# occurred at the same.
|
373
656
|
#
|
@@ -442,8 +725,13 @@ module Aws::VerifiedPermissions
|
|
442
725
|
# a random one for you.
|
443
726
|
#
|
444
727
|
# If you retry the operation with the same `ClientToken`, but with
|
445
|
-
# different parameters, the retry fails with an
|
446
|
-
#
|
728
|
+
# different parameters, the retry fails with an `ConflictException`
|
729
|
+
# error.
|
730
|
+
#
|
731
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
732
|
+
# After eight hours, the next request with the same parameters
|
733
|
+
# performs the operation again regardless of the value of
|
734
|
+
# `ClientToken`.
|
447
735
|
#
|
448
736
|
# **A suitable default value is auto-generated.** You should normally
|
449
737
|
# not need to pass this option.
|
@@ -527,8 +815,13 @@ module Aws::VerifiedPermissions
|
|
527
815
|
# a random one for you.
|
528
816
|
#
|
529
817
|
# If you retry the operation with the same `ClientToken`, but with
|
530
|
-
# different parameters, the retry fails with an
|
531
|
-
#
|
818
|
+
# different parameters, the retry fails with an `ConflictException`
|
819
|
+
# error.
|
820
|
+
#
|
821
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
822
|
+
# After eight hours, the next request with the same parameters
|
823
|
+
# performs the operation again regardless of the value of
|
824
|
+
# `ClientToken`.
|
532
825
|
#
|
533
826
|
# **A suitable default value is auto-generated.** You should normally
|
534
827
|
# not need to pass this option.
|
@@ -618,8 +911,13 @@ module Aws::VerifiedPermissions
|
|
618
911
|
# a random one for you.
|
619
912
|
#
|
620
913
|
# If you retry the operation with the same `ClientToken`, but with
|
621
|
-
# different parameters, the retry fails with an
|
622
|
-
#
|
914
|
+
# different parameters, the retry fails with an `ConflictException`
|
915
|
+
# error.
|
916
|
+
#
|
917
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
918
|
+
# After eight hours, the next request with the same parameters
|
919
|
+
# performs the operation again regardless of the value of
|
920
|
+
# `ClientToken`.
|
623
921
|
#
|
624
922
|
# **A suitable default value is auto-generated.** You should normally
|
625
923
|
# not need to pass this option.
|
@@ -700,8 +998,13 @@ module Aws::VerifiedPermissions
|
|
700
998
|
# a random one for you.
|
701
999
|
#
|
702
1000
|
# If you retry the operation with the same `ClientToken`, but with
|
703
|
-
# different parameters, the retry fails with an
|
704
|
-
#
|
1001
|
+
# different parameters, the retry fails with an `ConflictException`
|
1002
|
+
# error.
|
1003
|
+
#
|
1004
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
1005
|
+
# After eight hours, the next request with the same parameters
|
1006
|
+
# performs the operation again regardless of the value of
|
1007
|
+
# `ClientToken`.
|
705
1008
|
#
|
706
1009
|
# **A suitable default value is auto-generated.** You should normally
|
707
1010
|
# not need to pass this option.
|
@@ -1086,6 +1389,10 @@ module Aws::VerifiedPermissions
|
|
1086
1389
|
# by this identity source.
|
1087
1390
|
# @return [String]
|
1088
1391
|
#
|
1392
|
+
# @!attribute [rw] configuration
|
1393
|
+
# Contains configuration information about an identity source.
|
1394
|
+
# @return [Types::ConfigurationDetail]
|
1395
|
+
#
|
1089
1396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetIdentitySourceOutput AWS API Documentation
|
1090
1397
|
#
|
1091
1398
|
class GetIdentitySourceOutput < Struct.new(
|
@@ -1094,7 +1401,8 @@ module Aws::VerifiedPermissions
|
|
1094
1401
|
:identity_source_id,
|
1095
1402
|
:last_updated_date,
|
1096
1403
|
:policy_store_id,
|
1097
|
-
:principal_entity_type
|
1404
|
+
:principal_entity_type,
|
1405
|
+
:configuration)
|
1098
1406
|
SENSITIVE = [:principal_entity_type]
|
1099
1407
|
include Aws::Structure
|
1100
1408
|
end
|
@@ -1324,12 +1632,13 @@ module Aws::VerifiedPermissions
|
|
1324
1632
|
|
1325
1633
|
# A structure that contains configuration of the identity source.
|
1326
1634
|
#
|
1327
|
-
# This data type
|
1328
|
-
# [
|
1635
|
+
# This data type was a response parameter for the [GetIdentitySource][1]
|
1636
|
+
# operation. Replaced by [ConfigurationDetail][2].
|
1329
1637
|
#
|
1330
1638
|
#
|
1331
1639
|
#
|
1332
|
-
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/
|
1640
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
1641
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html
|
1333
1642
|
#
|
1334
1643
|
# @!attribute [rw] client_ids
|
1335
1644
|
# The application client IDs associated with the specified Amazon
|
@@ -1377,8 +1686,8 @@ module Aws::VerifiedPermissions
|
|
1377
1686
|
# A structure that defines characteristics of an identity source that
|
1378
1687
|
# you can use to filter.
|
1379
1688
|
#
|
1380
|
-
# This data type is
|
1381
|
-
#
|
1689
|
+
# This data type is a request parameter for the [ListIdentityStores][1]
|
1690
|
+
# operation.
|
1382
1691
|
#
|
1383
1692
|
#
|
1384
1693
|
#
|
@@ -1399,12 +1708,12 @@ module Aws::VerifiedPermissions
|
|
1399
1708
|
|
1400
1709
|
# A structure that defines an identity source.
|
1401
1710
|
#
|
1402
|
-
# This data type is
|
1403
|
-
#
|
1711
|
+
# This data type is a response parameter to the [ListIdentitySources][1]
|
1712
|
+
# operation.
|
1404
1713
|
#
|
1405
1714
|
#
|
1406
1715
|
#
|
1407
|
-
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/
|
1716
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
1408
1717
|
#
|
1409
1718
|
# @!attribute [rw] created_date
|
1410
1719
|
# The date and time the identity source was originally created.
|
@@ -1433,6 +1742,10 @@ module Aws::VerifiedPermissions
|
|
1433
1742
|
# associated with this identity source.
|
1434
1743
|
# @return [String]
|
1435
1744
|
#
|
1745
|
+
# @!attribute [rw] configuration
|
1746
|
+
# Contains configuration information about an identity source.
|
1747
|
+
# @return [Types::ConfigurationItem]
|
1748
|
+
#
|
1436
1749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IdentitySourceItem AWS API Documentation
|
1437
1750
|
#
|
1438
1751
|
class IdentitySourceItem < Struct.new(
|
@@ -1441,19 +1754,22 @@ module Aws::VerifiedPermissions
|
|
1441
1754
|
:identity_source_id,
|
1442
1755
|
:last_updated_date,
|
1443
1756
|
:policy_store_id,
|
1444
|
-
:principal_entity_type
|
1757
|
+
:principal_entity_type,
|
1758
|
+
:configuration)
|
1445
1759
|
SENSITIVE = [:principal_entity_type]
|
1446
1760
|
include Aws::Structure
|
1447
1761
|
end
|
1448
1762
|
|
1449
1763
|
# A structure that contains configuration of the identity source.
|
1450
1764
|
#
|
1451
|
-
# This data type
|
1452
|
-
# [
|
1765
|
+
# This data type was a response parameter for the
|
1766
|
+
# [ListIdentitySources][1] operation. Replaced by
|
1767
|
+
# [ConfigurationItem][2].
|
1453
1768
|
#
|
1454
1769
|
#
|
1455
1770
|
#
|
1456
|
-
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/
|
1771
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
1772
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html
|
1457
1773
|
#
|
1458
1774
|
# @!attribute [rw] client_ids
|
1459
1775
|
# The application client IDs associated with the specified Amazon
|
@@ -1597,14 +1913,20 @@ module Aws::VerifiedPermissions
|
|
1597
1913
|
# Specifies an identity token for the principal to be authorized. This
|
1598
1914
|
# token is provided to you by the identity provider (IdP) associated
|
1599
1915
|
# with the specified identity source. You must specify either an
|
1600
|
-
# `
|
1916
|
+
# `accessToken`, an `identityToken`, or both.
|
1917
|
+
#
|
1918
|
+
# Must be an ID token. Verified Permissions returns an error if the
|
1919
|
+
# `token_use` claim in the submitted token isn't `id`.
|
1601
1920
|
# @return [String]
|
1602
1921
|
#
|
1603
1922
|
# @!attribute [rw] access_token
|
1604
1923
|
# Specifies an access token for the principal to be authorized. This
|
1605
1924
|
# token is provided to you by the identity provider (IdP) associated
|
1606
1925
|
# with the specified identity source. You must specify either an
|
1607
|
-
# `
|
1926
|
+
# `accessToken`, an `identityToken`, or both.
|
1927
|
+
#
|
1928
|
+
# Must be an access token. Verified Permissions returns an error if
|
1929
|
+
# the `token_use` claim in the submitted token isn't `access`.
|
1608
1930
|
# @return [String]
|
1609
1931
|
#
|
1610
1932
|
# @!attribute [rw] action
|
@@ -1676,12 +1998,17 @@ module Aws::VerifiedPermissions
|
|
1676
1998
|
# not exist in the slice.
|
1677
1999
|
# @return [Array<Types::EvaluationErrorItem>]
|
1678
2000
|
#
|
2001
|
+
# @!attribute [rw] principal
|
2002
|
+
# The identifier of the principal in the ID or access token.
|
2003
|
+
# @return [Types::EntityIdentifier]
|
2004
|
+
#
|
1679
2005
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IsAuthorizedWithTokenOutput AWS API Documentation
|
1680
2006
|
#
|
1681
2007
|
class IsAuthorizedWithTokenOutput < Struct.new(
|
1682
2008
|
:decision,
|
1683
2009
|
:determining_policies,
|
1684
|
-
:errors
|
2010
|
+
:errors,
|
2011
|
+
:principal)
|
1685
2012
|
SENSITIVE = []
|
1686
2013
|
include Aws::Structure
|
1687
2014
|
end
|
@@ -2509,13 +2836,8 @@ module Aws::VerifiedPermissions
|
|
2509
2836
|
include Aws::Structure
|
2510
2837
|
end
|
2511
2838
|
|
2512
|
-
# Contains information about a policy that was
|
2513
|
-
#
|
2514
|
-
#
|
2515
|
-
#
|
2516
|
-
# created by instantiating a policy template.
|
2517
|
-
#
|
2518
|
-
# This
|
2839
|
+
# Contains information about a policy that was created by instantiating
|
2840
|
+
# a policy template.
|
2519
2841
|
#
|
2520
2842
|
# @!attribute [rw] policy_template_id
|
2521
2843
|
# The unique identifier of the policy template used to create this
|
@@ -2604,6 +2926,22 @@ module Aws::VerifiedPermissions
|
|
2604
2926
|
include Aws::Structure
|
2605
2927
|
end
|
2606
2928
|
|
2929
|
+
# The user group entities from an Amazon Cognito user pool identity
|
2930
|
+
# source.
|
2931
|
+
#
|
2932
|
+
# @!attribute [rw] group_entity_type
|
2933
|
+
# The name of the schema entity type that's mapped to the user pool
|
2934
|
+
# group. Defaults to `AWS::CognitoGroup`.
|
2935
|
+
# @return [String]
|
2936
|
+
#
|
2937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdateCognitoGroupConfiguration AWS API Documentation
|
2938
|
+
#
|
2939
|
+
class UpdateCognitoGroupConfiguration < Struct.new(
|
2940
|
+
:group_entity_type)
|
2941
|
+
SENSITIVE = [:group_entity_type]
|
2942
|
+
include Aws::Structure
|
2943
|
+
end
|
2944
|
+
|
2607
2945
|
# Contains configuration details of a Amazon Cognito user pool for use
|
2608
2946
|
# with an identity source.
|
2609
2947
|
#
|
@@ -2621,11 +2959,17 @@ module Aws::VerifiedPermissions
|
|
2621
2959
|
# Amazon Cognito user pool.
|
2622
2960
|
# @return [Array<String>]
|
2623
2961
|
#
|
2962
|
+
# @!attribute [rw] group_configuration
|
2963
|
+
# The configuration of the user groups from an Amazon Cognito user
|
2964
|
+
# pool identity source.
|
2965
|
+
# @return [Types::UpdateCognitoGroupConfiguration]
|
2966
|
+
#
|
2624
2967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdateCognitoUserPoolConfiguration AWS API Documentation
|
2625
2968
|
#
|
2626
2969
|
class UpdateCognitoUserPoolConfiguration < Struct.new(
|
2627
2970
|
:user_pool_arn,
|
2628
|
-
:client_ids
|
2971
|
+
:client_ids,
|
2972
|
+
:group_configuration)
|
2629
2973
|
SENSITIVE = []
|
2630
2974
|
include Aws::Structure
|
2631
2975
|
end
|
data/sig/client.rbs
CHANGED
@@ -133,7 +133,10 @@ module Aws
|
|
133
133
|
configuration: {
|
134
134
|
cognito_user_pool_configuration: {
|
135
135
|
user_pool_arn: ::String,
|
136
|
-
client_ids: Array[::String]
|
136
|
+
client_ids: Array[::String]?,
|
137
|
+
group_configuration: {
|
138
|
+
group_entity_type: ::String
|
139
|
+
}?
|
137
140
|
}?
|
138
141
|
},
|
139
142
|
?principal_entity_type: ::String
|
@@ -254,6 +257,7 @@ module Aws
|
|
254
257
|
def last_updated_date: () -> ::Time
|
255
258
|
def policy_store_id: () -> ::String
|
256
259
|
def principal_entity_type: () -> ::String
|
260
|
+
def configuration: () -> Types::ConfigurationDetail
|
257
261
|
end
|
258
262
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_identity_source-instance_method
|
259
263
|
def get_identity_source: (
|
@@ -374,6 +378,7 @@ module Aws
|
|
374
378
|
def decision: () -> ("ALLOW" | "DENY")
|
375
379
|
def determining_policies: () -> ::Array[Types::DeterminingPolicyItem]
|
376
380
|
def errors: () -> ::Array[Types::EvaluationErrorItem]
|
381
|
+
def principal: () -> Types::EntityIdentifier
|
377
382
|
end
|
378
383
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#is_authorized_with_token-instance_method
|
379
384
|
def is_authorized_with_token: (
|
@@ -515,7 +520,10 @@ module Aws
|
|
515
520
|
update_configuration: {
|
516
521
|
cognito_user_pool_configuration: {
|
517
522
|
user_pool_arn: ::String,
|
518
|
-
client_ids: Array[::String]
|
523
|
+
client_ids: Array[::String]?,
|
524
|
+
group_configuration: {
|
525
|
+
group_entity_type: ::String
|
526
|
+
}?
|
519
527
|
}?
|
520
528
|
},
|
521
529
|
?principal_entity_type: ::String
|
data/sig/types.rbs
CHANGED
@@ -73,9 +73,41 @@ module Aws::VerifiedPermissions
|
|
73
73
|
SENSITIVE: []
|
74
74
|
end
|
75
75
|
|
76
|
+
class CognitoGroupConfiguration
|
77
|
+
attr_accessor group_entity_type: ::String
|
78
|
+
SENSITIVE: [:group_entity_type]
|
79
|
+
end
|
80
|
+
|
81
|
+
class CognitoGroupConfigurationDetail
|
82
|
+
attr_accessor group_entity_type: ::String
|
83
|
+
SENSITIVE: [:group_entity_type]
|
84
|
+
end
|
85
|
+
|
86
|
+
class CognitoGroupConfigurationItem
|
87
|
+
attr_accessor group_entity_type: ::String
|
88
|
+
SENSITIVE: [:group_entity_type]
|
89
|
+
end
|
90
|
+
|
76
91
|
class CognitoUserPoolConfiguration
|
77
92
|
attr_accessor user_pool_arn: ::String
|
78
93
|
attr_accessor client_ids: ::Array[::String]
|
94
|
+
attr_accessor group_configuration: Types::CognitoGroupConfiguration
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class CognitoUserPoolConfigurationDetail
|
99
|
+
attr_accessor user_pool_arn: ::String
|
100
|
+
attr_accessor client_ids: ::Array[::String]
|
101
|
+
attr_accessor issuer: ::String
|
102
|
+
attr_accessor group_configuration: Types::CognitoGroupConfigurationDetail
|
103
|
+
SENSITIVE: []
|
104
|
+
end
|
105
|
+
|
106
|
+
class CognitoUserPoolConfigurationItem
|
107
|
+
attr_accessor user_pool_arn: ::String
|
108
|
+
attr_accessor client_ids: ::Array[::String]
|
109
|
+
attr_accessor issuer: ::String
|
110
|
+
attr_accessor group_configuration: Types::CognitoGroupConfigurationItem
|
79
111
|
SENSITIVE: []
|
80
112
|
end
|
81
113
|
|
@@ -90,6 +122,28 @@ module Aws::VerifiedPermissions
|
|
90
122
|
end
|
91
123
|
end
|
92
124
|
|
125
|
+
class ConfigurationDetail
|
126
|
+
attr_accessor cognito_user_pool_configuration: Types::CognitoUserPoolConfigurationDetail
|
127
|
+
attr_accessor unknown: untyped
|
128
|
+
SENSITIVE: []
|
129
|
+
|
130
|
+
class CognitoUserPoolConfiguration < ConfigurationDetail
|
131
|
+
end
|
132
|
+
class Unknown < ConfigurationDetail
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class ConfigurationItem
|
137
|
+
attr_accessor cognito_user_pool_configuration: Types::CognitoUserPoolConfigurationItem
|
138
|
+
attr_accessor unknown: untyped
|
139
|
+
SENSITIVE: []
|
140
|
+
|
141
|
+
class CognitoUserPoolConfiguration < ConfigurationItem
|
142
|
+
end
|
143
|
+
class Unknown < ConfigurationItem
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
93
147
|
class ConflictException
|
94
148
|
attr_accessor message: ::String
|
95
149
|
attr_accessor resources: ::Array[Types::ResourceConflict]
|
@@ -268,6 +322,7 @@ module Aws::VerifiedPermissions
|
|
268
322
|
attr_accessor last_updated_date: ::Time
|
269
323
|
attr_accessor policy_store_id: ::String
|
270
324
|
attr_accessor principal_entity_type: ::String
|
325
|
+
attr_accessor configuration: Types::ConfigurationDetail
|
271
326
|
SENSITIVE: [:principal_entity_type]
|
272
327
|
end
|
273
328
|
|
@@ -354,6 +409,7 @@ module Aws::VerifiedPermissions
|
|
354
409
|
attr_accessor last_updated_date: ::Time
|
355
410
|
attr_accessor policy_store_id: ::String
|
356
411
|
attr_accessor principal_entity_type: ::String
|
412
|
+
attr_accessor configuration: Types::ConfigurationItem
|
357
413
|
SENSITIVE: [:principal_entity_type]
|
358
414
|
end
|
359
415
|
|
@@ -402,6 +458,7 @@ module Aws::VerifiedPermissions
|
|
402
458
|
attr_accessor decision: ("ALLOW" | "DENY")
|
403
459
|
attr_accessor determining_policies: ::Array[Types::DeterminingPolicyItem]
|
404
460
|
attr_accessor errors: ::Array[Types::EvaluationErrorItem]
|
461
|
+
attr_accessor principal: Types::EntityIdentifier
|
405
462
|
SENSITIVE: []
|
406
463
|
end
|
407
464
|
|
@@ -630,9 +687,15 @@ module Aws::VerifiedPermissions
|
|
630
687
|
SENSITIVE: []
|
631
688
|
end
|
632
689
|
|
690
|
+
class UpdateCognitoGroupConfiguration
|
691
|
+
attr_accessor group_entity_type: ::String
|
692
|
+
SENSITIVE: [:group_entity_type]
|
693
|
+
end
|
694
|
+
|
633
695
|
class UpdateCognitoUserPoolConfiguration
|
634
696
|
attr_accessor user_pool_arn: ::String
|
635
697
|
attr_accessor client_ids: ::Array[::String]
|
698
|
+
attr_accessor group_configuration: Types::UpdateCognitoGroupConfiguration
|
636
699
|
SENSITIVE: []
|
637
700
|
end
|
638
701
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-verifiedpermissions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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: 2024-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|