aws-sdk-verifiedpermissions 1.16.0 → 1.17.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 +61 -30
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +39 -10
- data/lib/aws-sdk-verifiedpermissions/types.rb +251 -32
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/types.rbs +38 -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: 7b52c7f0f2d0fc36365fa7d6a442e98d0b4d8b0871756f162828120591adbb81
|
4
|
+
data.tar.gz: 25bf1e568d51a4c6a0b6fbf9ac69601709e5b7f144361fd65de49aeb3c50a8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77b942c30fe485927fb5aa5de494fc1778a841541e4ae65cc20f373cbb41543f3788ee20cbc2a86b9efd666a0a99ad6121abdb93a04ccc8f6167dd2b5f6d2032
|
7
|
+
data.tar.gz: e231e37a9348a4156382538ea5bc284ad6a37cc8892f61cdf89d67c11cdfd74ca6a835d3140b73db4863aeb8733107ae502c9a3b7716158b8c06ce6e5d02601d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.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.**
|
@@ -667,8 +671,8 @@ module Aws::VerifiedPermissions
|
|
667
671
|
# <note markdown="1"> Verified Permissions is <i> <a
|
668
672
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
669
673
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
670
|
-
# element to
|
671
|
-
#
|
674
|
+
# element to propagate through the service and be visible in the results
|
675
|
+
# of other Verified Permissions operations.
|
672
676
|
#
|
673
677
|
# </note>
|
674
678
|
#
|
@@ -684,8 +688,12 @@ module Aws::VerifiedPermissions
|
|
684
688
|
# random one for you.
|
685
689
|
#
|
686
690
|
# If you retry the operation with the same `ClientToken`, but with
|
687
|
-
# different parameters, the retry fails with an
|
688
|
-
#
|
691
|
+
# different parameters, the retry fails with an `ConflictException`
|
692
|
+
# error.
|
693
|
+
#
|
694
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
695
|
+
# eight hours, the next request with the same parameters performs the
|
696
|
+
# operation again regardless of the value of `ClientToken`.
|
689
697
|
#
|
690
698
|
# **A suitable default value is auto-generated.** You should normally
|
691
699
|
# not need to pass this option.**
|
@@ -770,8 +778,8 @@ module Aws::VerifiedPermissions
|
|
770
778
|
# <note markdown="1"> Verified Permissions is <i> <a
|
771
779
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
772
780
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
773
|
-
# element to
|
774
|
-
#
|
781
|
+
# element to propagate through the service and be visible in the results
|
782
|
+
# of other Verified Permissions operations.
|
775
783
|
#
|
776
784
|
# </note>
|
777
785
|
#
|
@@ -791,8 +799,12 @@ module Aws::VerifiedPermissions
|
|
791
799
|
# random one for you.
|
792
800
|
#
|
793
801
|
# If you retry the operation with the same `ClientToken`, but with
|
794
|
-
# different parameters, the retry fails with an
|
795
|
-
#
|
802
|
+
# different parameters, the retry fails with an `ConflictException`
|
803
|
+
# error.
|
804
|
+
#
|
805
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
806
|
+
# eight hours, the next request with the same parameters performs the
|
807
|
+
# operation again regardless of the value of `ClientToken`.
|
796
808
|
#
|
797
809
|
# **A suitable default value is auto-generated.** You should normally
|
798
810
|
# not need to pass this option.**
|
@@ -866,8 +878,8 @@ module Aws::VerifiedPermissions
|
|
866
878
|
# <note markdown="1"> Verified Permissions is <i> <a
|
867
879
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
868
880
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
869
|
-
# element to
|
870
|
-
#
|
881
|
+
# element to propagate through the service and be visible in the results
|
882
|
+
# of other Verified Permissions operations.
|
871
883
|
#
|
872
884
|
# </note>
|
873
885
|
#
|
@@ -883,8 +895,12 @@ module Aws::VerifiedPermissions
|
|
883
895
|
# random one for you.
|
884
896
|
#
|
885
897
|
# If you retry the operation with the same `ClientToken`, but with
|
886
|
-
# different parameters, the retry fails with an
|
887
|
-
#
|
898
|
+
# different parameters, the retry fails with an `ConflictException`
|
899
|
+
# error.
|
900
|
+
#
|
901
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours. After
|
902
|
+
# eight hours, the next request with the same parameters performs the
|
903
|
+
# operation again regardless of the value of `ClientToken`.
|
888
904
|
#
|
889
905
|
# **A suitable default value is auto-generated.** You should normally
|
890
906
|
# not need to pass this option.**
|
@@ -1076,6 +1092,7 @@ module Aws::VerifiedPermissions
|
|
1076
1092
|
# * {Types::GetIdentitySourceOutput#last_updated_date #last_updated_date} => Time
|
1077
1093
|
# * {Types::GetIdentitySourceOutput#policy_store_id #policy_store_id} => String
|
1078
1094
|
# * {Types::GetIdentitySourceOutput#principal_entity_type #principal_entity_type} => String
|
1095
|
+
# * {Types::GetIdentitySourceOutput#configuration #configuration} => Types::ConfigurationDetail
|
1079
1096
|
#
|
1080
1097
|
# @example Request syntax with placeholder values
|
1081
1098
|
#
|
@@ -1096,6 +1113,10 @@ module Aws::VerifiedPermissions
|
|
1096
1113
|
# resp.last_updated_date #=> Time
|
1097
1114
|
# resp.policy_store_id #=> String
|
1098
1115
|
# resp.principal_entity_type #=> String
|
1116
|
+
# resp.configuration.cognito_user_pool_configuration.user_pool_arn #=> String
|
1117
|
+
# resp.configuration.cognito_user_pool_configuration.client_ids #=> Array
|
1118
|
+
# resp.configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1119
|
+
# resp.configuration.cognito_user_pool_configuration.issuer #=> String
|
1099
1120
|
#
|
1100
1121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetIdentitySource AWS API Documentation
|
1101
1122
|
#
|
@@ -1426,13 +1447,19 @@ module Aws::VerifiedPermissions
|
|
1426
1447
|
# Specifies an identity token for the principal to be authorized. This
|
1427
1448
|
# token is provided to you by the identity provider (IdP) associated
|
1428
1449
|
# with the specified identity source. You must specify either an
|
1429
|
-
# `
|
1450
|
+
# `accessToken`, an `identityToken`, or both.
|
1451
|
+
#
|
1452
|
+
# Must be an ID token. Verified Permissions returns an error if the
|
1453
|
+
# `token_use` claim in the submitted token isn't `id`.
|
1430
1454
|
#
|
1431
1455
|
# @option params [String] :access_token
|
1432
1456
|
# Specifies an access token for the principal to be authorized. This
|
1433
1457
|
# token is provided to you by the identity provider (IdP) associated
|
1434
1458
|
# with the specified identity source. You must specify either an
|
1435
|
-
# `
|
1459
|
+
# `accessToken`, an `identityToken`, or both.
|
1460
|
+
#
|
1461
|
+
# Must be an access token. Verified Permissions returns an error if the
|
1462
|
+
# `token_use` claim in the submitted token isn't `access`.
|
1436
1463
|
#
|
1437
1464
|
# @option params [Types::ActionIdentifier] :action
|
1438
1465
|
# Specifies the requested action to be authorized. Is the specified
|
@@ -1592,6 +1619,10 @@ module Aws::VerifiedPermissions
|
|
1592
1619
|
# resp.identity_sources[0].last_updated_date #=> Time
|
1593
1620
|
# resp.identity_sources[0].policy_store_id #=> String
|
1594
1621
|
# resp.identity_sources[0].principal_entity_type #=> String
|
1622
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.user_pool_arn #=> String
|
1623
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids #=> Array
|
1624
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1625
|
+
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.issuer #=> String
|
1595
1626
|
#
|
1596
1627
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListIdentitySources AWS API Documentation
|
1597
1628
|
#
|
@@ -1826,8 +1857,8 @@ module Aws::VerifiedPermissions
|
|
1826
1857
|
# <note markdown="1"> Verified Permissions is <i> <a
|
1827
1858
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
1828
1859
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
1829
|
-
# element to
|
1830
|
-
#
|
1860
|
+
# element to propagate through the service and be visible in the results
|
1861
|
+
# of other Verified Permissions operations.
|
1831
1862
|
#
|
1832
1863
|
# </note>
|
1833
1864
|
#
|
@@ -1878,8 +1909,8 @@ module Aws::VerifiedPermissions
|
|
1878
1909
|
# <note markdown="1"> Verified Permissions is <i> <a
|
1879
1910
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
1880
1911
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
1881
|
-
# element to
|
1882
|
-
#
|
1912
|
+
# element to propagate through the service and be visible in the results
|
1913
|
+
# of other Verified Permissions operations.
|
1883
1914
|
#
|
1884
1915
|
# </note>
|
1885
1916
|
#
|
@@ -1954,7 +1985,7 @@ module Aws::VerifiedPermissions
|
|
1954
1985
|
# doesn't pass validation, the operation fails and the update isn't
|
1955
1986
|
# stored.
|
1956
1987
|
#
|
1957
|
-
# * When you edit a static policy,
|
1988
|
+
# * When you edit a static policy, you can change only certain elements
|
1958
1989
|
# of a static policy:
|
1959
1990
|
#
|
1960
1991
|
# * The action referenced by the policy.
|
@@ -1980,8 +2011,8 @@ module Aws::VerifiedPermissions
|
|
1980
2011
|
# <note markdown="1"> Verified Permissions is <i> <a
|
1981
2012
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
1982
2013
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
1983
|
-
# element to
|
1984
|
-
#
|
2014
|
+
# element to propagate through the service and be visible in the results
|
2015
|
+
# of other Verified Permissions operations.
|
1985
2016
|
#
|
1986
2017
|
# </note>
|
1987
2018
|
#
|
@@ -2072,8 +2103,8 @@ module Aws::VerifiedPermissions
|
|
2072
2103
|
# <note markdown="1"> Verified Permissions is <i> <a
|
2073
2104
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
2074
2105
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
2075
|
-
# element to
|
2076
|
-
#
|
2106
|
+
# element to propagate through the service and be visible in the results
|
2107
|
+
# of other Verified Permissions operations.
|
2077
2108
|
#
|
2078
2109
|
# </note>
|
2079
2110
|
#
|
@@ -2132,8 +2163,8 @@ module Aws::VerifiedPermissions
|
|
2132
2163
|
# <note markdown="1"> Verified Permissions is <i> <a
|
2133
2164
|
# href="https://wikipedia.org/wiki/Eventual_consistency">eventually
|
2134
2165
|
# consistent</a> </i>. It can take a few seconds for a new or changed
|
2135
|
-
# element to
|
2136
|
-
#
|
2166
|
+
# element to propagate through the service and be visible in the results
|
2167
|
+
# of other Verified Permissions operations.
|
2137
2168
|
#
|
2138
2169
|
# </note>
|
2139
2170
|
#
|
@@ -2214,7 +2245,7 @@ module Aws::VerifiedPermissions
|
|
2214
2245
|
params: params,
|
2215
2246
|
config: config)
|
2216
2247
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
2217
|
-
context[:gem_version] = '1.
|
2248
|
+
context[:gem_version] = '1.17.0'
|
2218
2249
|
Seahorse::Client::Request.new(handlers, context)
|
2219
2250
|
end
|
2220
2251
|
|
@@ -29,7 +29,11 @@ module Aws::VerifiedPermissions
|
|
29
29
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
30
30
|
ClientIds = Shapes::ListShape.new(name: 'ClientIds')
|
31
31
|
CognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'CognitoUserPoolConfiguration')
|
32
|
+
CognitoUserPoolConfigurationDetail = Shapes::StructureShape.new(name: 'CognitoUserPoolConfigurationDetail')
|
33
|
+
CognitoUserPoolConfigurationItem = Shapes::StructureShape.new(name: 'CognitoUserPoolConfigurationItem')
|
32
34
|
Configuration = Shapes::UnionShape.new(name: 'Configuration')
|
35
|
+
ConfigurationDetail = Shapes::UnionShape.new(name: 'ConfigurationDetail')
|
36
|
+
ConfigurationItem = Shapes::UnionShape.new(name: 'ConfigurationItem')
|
33
37
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
38
|
ContextDefinition = Shapes::UnionShape.new(name: 'ContextDefinition')
|
35
39
|
ContextMap = Shapes::MapShape.new(name: 'ContextMap')
|
@@ -86,6 +90,7 @@ module Aws::VerifiedPermissions
|
|
86
90
|
IsAuthorizedOutput = Shapes::StructureShape.new(name: 'IsAuthorizedOutput')
|
87
91
|
IsAuthorizedWithTokenInput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenInput')
|
88
92
|
IsAuthorizedWithTokenOutput = Shapes::StructureShape.new(name: 'IsAuthorizedWithTokenOutput')
|
93
|
+
Issuer = Shapes::StringShape.new(name: 'Issuer')
|
89
94
|
ListIdentitySourcesInput = Shapes::StructureShape.new(name: 'ListIdentitySourcesInput')
|
90
95
|
ListIdentitySourcesMaxResults = Shapes::IntegerShape.new(name: 'ListIdentitySourcesMaxResults')
|
91
96
|
ListIdentitySourcesOutput = Shapes::StructureShape.new(name: 'ListIdentitySourcesOutput')
|
@@ -216,12 +221,34 @@ module Aws::VerifiedPermissions
|
|
216
221
|
CognitoUserPoolConfiguration.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, location_name: "clientIds"))
|
217
222
|
CognitoUserPoolConfiguration.struct_class = Types::CognitoUserPoolConfiguration
|
218
223
|
|
224
|
+
CognitoUserPoolConfigurationDetail.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
225
|
+
CognitoUserPoolConfigurationDetail.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, required: true, location_name: "clientIds"))
|
226
|
+
CognitoUserPoolConfigurationDetail.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
227
|
+
CognitoUserPoolConfigurationDetail.struct_class = Types::CognitoUserPoolConfigurationDetail
|
228
|
+
|
229
|
+
CognitoUserPoolConfigurationItem.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
230
|
+
CognitoUserPoolConfigurationItem.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, required: true, location_name: "clientIds"))
|
231
|
+
CognitoUserPoolConfigurationItem.add_member(:issuer, Shapes::ShapeRef.new(shape: Issuer, required: true, location_name: "issuer"))
|
232
|
+
CognitoUserPoolConfigurationItem.struct_class = Types::CognitoUserPoolConfigurationItem
|
233
|
+
|
219
234
|
Configuration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
|
220
235
|
Configuration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
221
236
|
Configuration.add_member_subclass(:cognito_user_pool_configuration, Types::Configuration::CognitoUserPoolConfiguration)
|
222
237
|
Configuration.add_member_subclass(:unknown, Types::Configuration::Unknown)
|
223
238
|
Configuration.struct_class = Types::Configuration
|
224
239
|
|
240
|
+
ConfigurationDetail.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfigurationDetail, location_name: "cognitoUserPoolConfiguration"))
|
241
|
+
ConfigurationDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
242
|
+
ConfigurationDetail.add_member_subclass(:cognito_user_pool_configuration, Types::ConfigurationDetail::CognitoUserPoolConfiguration)
|
243
|
+
ConfigurationDetail.add_member_subclass(:unknown, Types::ConfigurationDetail::Unknown)
|
244
|
+
ConfigurationDetail.struct_class = Types::ConfigurationDetail
|
245
|
+
|
246
|
+
ConfigurationItem.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfigurationItem, location_name: "cognitoUserPoolConfiguration"))
|
247
|
+
ConfigurationItem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
248
|
+
ConfigurationItem.add_member_subclass(:cognito_user_pool_configuration, Types::ConfigurationItem::CognitoUserPoolConfiguration)
|
249
|
+
ConfigurationItem.add_member_subclass(:unknown, Types::ConfigurationItem::Unknown)
|
250
|
+
ConfigurationItem.struct_class = Types::ConfigurationItem
|
251
|
+
|
225
252
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
226
253
|
ConflictException.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceConflictList, required: true, location_name: "resources"))
|
227
254
|
ConflictException.struct_class = Types::ConflictException
|
@@ -350,11 +377,12 @@ module Aws::VerifiedPermissions
|
|
350
377
|
GetIdentitySourceInput.struct_class = Types::GetIdentitySourceInput
|
351
378
|
|
352
379
|
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,
|
380
|
+
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
381
|
GetIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
|
355
382
|
GetIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
356
383
|
GetIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
357
384
|
GetIdentitySourceOutput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, required: true, location_name: "principalEntityType"))
|
385
|
+
GetIdentitySourceOutput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationDetail, location_name: "configuration"))
|
358
386
|
GetIdentitySourceOutput.struct_class = Types::GetIdentitySourceOutput
|
359
387
|
|
360
388
|
GetPolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -404,10 +432,10 @@ module Aws::VerifiedPermissions
|
|
404
432
|
GetSchemaOutput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceList, location_name: "namespaces"))
|
405
433
|
GetSchemaOutput.struct_class = Types::GetSchemaOutput
|
406
434
|
|
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"))
|
435
|
+
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"}))
|
436
|
+
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"}))
|
437
|
+
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"}))
|
438
|
+
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
439
|
IdentitySourceDetails.struct_class = Types::IdentitySourceDetails
|
412
440
|
|
413
441
|
IdentitySourceFilter.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
|
@@ -416,17 +444,18 @@ module Aws::VerifiedPermissions
|
|
416
444
|
IdentitySourceFilters.member = Shapes::ShapeRef.new(shape: IdentitySourceFilter)
|
417
445
|
|
418
446
|
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,
|
447
|
+
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
448
|
IdentitySourceItem.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
|
421
449
|
IdentitySourceItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
422
450
|
IdentitySourceItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
423
451
|
IdentitySourceItem.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, required: true, location_name: "principalEntityType"))
|
452
|
+
IdentitySourceItem.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationItem, location_name: "configuration"))
|
424
453
|
IdentitySourceItem.struct_class = Types::IdentitySourceItem
|
425
454
|
|
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"))
|
455
|
+
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"}))
|
456
|
+
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"}))
|
457
|
+
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"}))
|
458
|
+
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
459
|
IdentitySourceItemDetails.struct_class = Types::IdentitySourceItemDetails
|
431
460
|
|
432
461
|
IdentitySources.member = Shapes::ShapeRef.new(shape: IdentitySourceItem)
|
@@ -283,8 +283,8 @@ module Aws::VerifiedPermissions
|
|
283
283
|
# Verified Permissions.
|
284
284
|
#
|
285
285
|
# 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
|
-
# [
|
286
|
+
# [Configuration][1] structure that is used as a parameter to
|
287
|
+
# [CreateIdentitySource][2].
|
288
288
|
#
|
289
289
|
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
290
290
|
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
|
@@ -292,6 +292,7 @@ module Aws::VerifiedPermissions
|
|
292
292
|
#
|
293
293
|
#
|
294
294
|
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html
|
295
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html
|
295
296
|
#
|
296
297
|
# @!attribute [rw] user_pool_arn
|
297
298
|
# The [Amazon Resource Name (ARN)][1] of the Amazon Cognito user pool
|
@@ -321,6 +322,112 @@ module Aws::VerifiedPermissions
|
|
321
322
|
include Aws::Structure
|
322
323
|
end
|
323
324
|
|
325
|
+
# The configuration for an identity source that represents a connection
|
326
|
+
# to an Amazon Cognito user pool used as an identity provider for
|
327
|
+
# Verified Permissions.
|
328
|
+
#
|
329
|
+
# This data type is used as a field that is part of an
|
330
|
+
# [ConfigurationDetail][1] structure that is part of the response to
|
331
|
+
# [GetIdentitySource][2].
|
332
|
+
#
|
333
|
+
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
334
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
|
335
|
+
#
|
336
|
+
#
|
337
|
+
#
|
338
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html
|
339
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
340
|
+
#
|
341
|
+
# @!attribute [rw] user_pool_arn
|
342
|
+
# The [Amazon Resource Name (ARN)][1] of the Amazon Cognito user pool
|
343
|
+
# that contains the identities to be authorized.
|
344
|
+
#
|
345
|
+
# Example: `"userPoolArn":
|
346
|
+
# "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"`
|
347
|
+
#
|
348
|
+
#
|
349
|
+
#
|
350
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
351
|
+
# @return [String]
|
352
|
+
#
|
353
|
+
# @!attribute [rw] client_ids
|
354
|
+
# The unique application client IDs that are associated with the
|
355
|
+
# specified Amazon Cognito user pool.
|
356
|
+
#
|
357
|
+
# Example: `"clientIds": ["&ExampleCogClientId;"]`
|
358
|
+
# @return [Array<String>]
|
359
|
+
#
|
360
|
+
# @!attribute [rw] issuer
|
361
|
+
# The OpenID Connect (OIDC) `issuer` ID of the Amazon Cognito user
|
362
|
+
# pool that contains the identities to be authorized.
|
363
|
+
#
|
364
|
+
# Example: `"issuer":
|
365
|
+
# "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"`
|
366
|
+
# @return [String]
|
367
|
+
#
|
368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationDetail AWS API Documentation
|
369
|
+
#
|
370
|
+
class CognitoUserPoolConfigurationDetail < Struct.new(
|
371
|
+
:user_pool_arn,
|
372
|
+
:client_ids,
|
373
|
+
:issuer)
|
374
|
+
SENSITIVE = []
|
375
|
+
include Aws::Structure
|
376
|
+
end
|
377
|
+
|
378
|
+
# The configuration for an identity source that represents a connection
|
379
|
+
# to an Amazon Cognito user pool used as an identity provider for
|
380
|
+
# Verified Permissions.
|
381
|
+
#
|
382
|
+
# This data type is used as a field that is part of the
|
383
|
+
# [ConfigurationItem][1] structure that is part of the response to
|
384
|
+
# [ListIdentitySources][2].
|
385
|
+
#
|
386
|
+
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
387
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}`
|
388
|
+
#
|
389
|
+
#
|
390
|
+
#
|
391
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html
|
392
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
393
|
+
#
|
394
|
+
# @!attribute [rw] user_pool_arn
|
395
|
+
# The [Amazon Resource Name (ARN)][1] of the Amazon Cognito user pool
|
396
|
+
# that contains the identities to be authorized.
|
397
|
+
#
|
398
|
+
# Example: `"userPoolArn":
|
399
|
+
# "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"`
|
400
|
+
#
|
401
|
+
#
|
402
|
+
#
|
403
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
404
|
+
# @return [String]
|
405
|
+
#
|
406
|
+
# @!attribute [rw] client_ids
|
407
|
+
# The unique application client IDs that are associated with the
|
408
|
+
# specified Amazon Cognito user pool.
|
409
|
+
#
|
410
|
+
# Example: `"clientIds": ["&ExampleCogClientId;"]`
|
411
|
+
# @return [Array<String>]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] issuer
|
414
|
+
# The OpenID Connect (OIDC) `issuer` ID of the Amazon Cognito user
|
415
|
+
# pool that contains the identities to be authorized.
|
416
|
+
#
|
417
|
+
# Example: `"issuer":
|
418
|
+
# "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"`
|
419
|
+
# @return [String]
|
420
|
+
#
|
421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationItem AWS API Documentation
|
422
|
+
#
|
423
|
+
class CognitoUserPoolConfigurationItem < Struct.new(
|
424
|
+
:user_pool_arn,
|
425
|
+
:client_ids,
|
426
|
+
:issuer)
|
427
|
+
SENSITIVE = []
|
428
|
+
include Aws::Structure
|
429
|
+
end
|
430
|
+
|
324
431
|
# Contains configuration information used when creating a new identity
|
325
432
|
# source.
|
326
433
|
#
|
@@ -368,6 +475,84 @@ module Aws::VerifiedPermissions
|
|
368
475
|
class Unknown < Configuration; end
|
369
476
|
end
|
370
477
|
|
478
|
+
# Contains configuration information about an identity source.
|
479
|
+
#
|
480
|
+
# This data type is a response parameter to the [GetIdentitySource][1]
|
481
|
+
# operation.
|
482
|
+
#
|
483
|
+
#
|
484
|
+
#
|
485
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
486
|
+
#
|
487
|
+
# @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.
|
488
|
+
#
|
489
|
+
# @!attribute [rw] cognito_user_pool_configuration
|
490
|
+
# Contains configuration details of a Amazon Cognito user pool that
|
491
|
+
# Verified Permissions can use as a source of authenticated identities
|
492
|
+
# as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
|
493
|
+
# Amazon Cognito user pool and one or more application client IDs.
|
494
|
+
#
|
495
|
+
# Example:
|
496
|
+
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
497
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}`
|
498
|
+
#
|
499
|
+
#
|
500
|
+
#
|
501
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
502
|
+
# @return [Types::CognitoUserPoolConfigurationDetail]
|
503
|
+
#
|
504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ConfigurationDetail AWS API Documentation
|
505
|
+
#
|
506
|
+
class ConfigurationDetail < Struct.new(
|
507
|
+
:cognito_user_pool_configuration,
|
508
|
+
:unknown)
|
509
|
+
SENSITIVE = []
|
510
|
+
include Aws::Structure
|
511
|
+
include Aws::Structure::Union
|
512
|
+
|
513
|
+
class CognitoUserPoolConfiguration < ConfigurationDetail; end
|
514
|
+
class Unknown < ConfigurationDetail; end
|
515
|
+
end
|
516
|
+
|
517
|
+
# Contains configuration information about an identity source.
|
518
|
+
#
|
519
|
+
# This data type is a response parameter to the [ListIdentitySources][1]
|
520
|
+
# operation.
|
521
|
+
#
|
522
|
+
#
|
523
|
+
#
|
524
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
525
|
+
#
|
526
|
+
# @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.
|
527
|
+
#
|
528
|
+
# @!attribute [rw] cognito_user_pool_configuration
|
529
|
+
# Contains configuration details of a Amazon Cognito user pool that
|
530
|
+
# Verified Permissions can use as a source of authenticated identities
|
531
|
+
# as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
|
532
|
+
# Amazon Cognito user pool and one or more application client IDs.
|
533
|
+
#
|
534
|
+
# Example:
|
535
|
+
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
536
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}`
|
537
|
+
#
|
538
|
+
#
|
539
|
+
#
|
540
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
541
|
+
# @return [Types::CognitoUserPoolConfigurationItem]
|
542
|
+
#
|
543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ConfigurationItem AWS API Documentation
|
544
|
+
#
|
545
|
+
class ConfigurationItem < Struct.new(
|
546
|
+
:cognito_user_pool_configuration,
|
547
|
+
:unknown)
|
548
|
+
SENSITIVE = []
|
549
|
+
include Aws::Structure
|
550
|
+
include Aws::Structure::Union
|
551
|
+
|
552
|
+
class CognitoUserPoolConfiguration < ConfigurationItem; end
|
553
|
+
class Unknown < ConfigurationItem; end
|
554
|
+
end
|
555
|
+
|
371
556
|
# The request failed because another request to modify a resource
|
372
557
|
# occurred at the same.
|
373
558
|
#
|
@@ -442,8 +627,13 @@ module Aws::VerifiedPermissions
|
|
442
627
|
# a random one for you.
|
443
628
|
#
|
444
629
|
# If you retry the operation with the same `ClientToken`, but with
|
445
|
-
# different parameters, the retry fails with an
|
446
|
-
#
|
630
|
+
# different parameters, the retry fails with an `ConflictException`
|
631
|
+
# error.
|
632
|
+
#
|
633
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
634
|
+
# After eight hours, the next request with the same parameters
|
635
|
+
# performs the operation again regardless of the value of
|
636
|
+
# `ClientToken`.
|
447
637
|
#
|
448
638
|
# **A suitable default value is auto-generated.** You should normally
|
449
639
|
# not need to pass this option.
|
@@ -527,8 +717,13 @@ module Aws::VerifiedPermissions
|
|
527
717
|
# a random one for you.
|
528
718
|
#
|
529
719
|
# If you retry the operation with the same `ClientToken`, but with
|
530
|
-
# different parameters, the retry fails with an
|
531
|
-
#
|
720
|
+
# different parameters, the retry fails with an `ConflictException`
|
721
|
+
# error.
|
722
|
+
#
|
723
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
724
|
+
# After eight hours, the next request with the same parameters
|
725
|
+
# performs the operation again regardless of the value of
|
726
|
+
# `ClientToken`.
|
532
727
|
#
|
533
728
|
# **A suitable default value is auto-generated.** You should normally
|
534
729
|
# not need to pass this option.
|
@@ -618,8 +813,13 @@ module Aws::VerifiedPermissions
|
|
618
813
|
# a random one for you.
|
619
814
|
#
|
620
815
|
# If you retry the operation with the same `ClientToken`, but with
|
621
|
-
# different parameters, the retry fails with an
|
622
|
-
#
|
816
|
+
# different parameters, the retry fails with an `ConflictException`
|
817
|
+
# error.
|
818
|
+
#
|
819
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
820
|
+
# After eight hours, the next request with the same parameters
|
821
|
+
# performs the operation again regardless of the value of
|
822
|
+
# `ClientToken`.
|
623
823
|
#
|
624
824
|
# **A suitable default value is auto-generated.** You should normally
|
625
825
|
# not need to pass this option.
|
@@ -700,8 +900,13 @@ module Aws::VerifiedPermissions
|
|
700
900
|
# a random one for you.
|
701
901
|
#
|
702
902
|
# If you retry the operation with the same `ClientToken`, but with
|
703
|
-
# different parameters, the retry fails with an
|
704
|
-
#
|
903
|
+
# different parameters, the retry fails with an `ConflictException`
|
904
|
+
# error.
|
905
|
+
#
|
906
|
+
# Verified Permissions recognizes a `ClientToken` for eight hours.
|
907
|
+
# After eight hours, the next request with the same parameters
|
908
|
+
# performs the operation again regardless of the value of
|
909
|
+
# `ClientToken`.
|
705
910
|
#
|
706
911
|
# **A suitable default value is auto-generated.** You should normally
|
707
912
|
# not need to pass this option.
|
@@ -1086,6 +1291,10 @@ module Aws::VerifiedPermissions
|
|
1086
1291
|
# by this identity source.
|
1087
1292
|
# @return [String]
|
1088
1293
|
#
|
1294
|
+
# @!attribute [rw] configuration
|
1295
|
+
# Contains configuration information about an identity source.
|
1296
|
+
# @return [Types::ConfigurationDetail]
|
1297
|
+
#
|
1089
1298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetIdentitySourceOutput AWS API Documentation
|
1090
1299
|
#
|
1091
1300
|
class GetIdentitySourceOutput < Struct.new(
|
@@ -1094,7 +1303,8 @@ module Aws::VerifiedPermissions
|
|
1094
1303
|
:identity_source_id,
|
1095
1304
|
:last_updated_date,
|
1096
1305
|
:policy_store_id,
|
1097
|
-
:principal_entity_type
|
1306
|
+
:principal_entity_type,
|
1307
|
+
:configuration)
|
1098
1308
|
SENSITIVE = [:principal_entity_type]
|
1099
1309
|
include Aws::Structure
|
1100
1310
|
end
|
@@ -1324,12 +1534,13 @@ module Aws::VerifiedPermissions
|
|
1324
1534
|
|
1325
1535
|
# A structure that contains configuration of the identity source.
|
1326
1536
|
#
|
1327
|
-
# This data type
|
1328
|
-
# [
|
1537
|
+
# This data type was a response parameter for the [GetIdentitySource][1]
|
1538
|
+
# operation. Replaced by [ConfigurationDetail][2].
|
1329
1539
|
#
|
1330
1540
|
#
|
1331
1541
|
#
|
1332
|
-
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/
|
1542
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html
|
1543
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html
|
1333
1544
|
#
|
1334
1545
|
# @!attribute [rw] client_ids
|
1335
1546
|
# The application client IDs associated with the specified Amazon
|
@@ -1377,8 +1588,8 @@ module Aws::VerifiedPermissions
|
|
1377
1588
|
# A structure that defines characteristics of an identity source that
|
1378
1589
|
# you can use to filter.
|
1379
1590
|
#
|
1380
|
-
# This data type is
|
1381
|
-
#
|
1591
|
+
# This data type is a request parameter for the [ListIdentityStores][1]
|
1592
|
+
# operation.
|
1382
1593
|
#
|
1383
1594
|
#
|
1384
1595
|
#
|
@@ -1399,12 +1610,12 @@ module Aws::VerifiedPermissions
|
|
1399
1610
|
|
1400
1611
|
# A structure that defines an identity source.
|
1401
1612
|
#
|
1402
|
-
# This data type is
|
1403
|
-
#
|
1613
|
+
# This data type is a response parameter to the [ListIdentitySources][1]
|
1614
|
+
# operation.
|
1404
1615
|
#
|
1405
1616
|
#
|
1406
1617
|
#
|
1407
|
-
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/
|
1618
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
1408
1619
|
#
|
1409
1620
|
# @!attribute [rw] created_date
|
1410
1621
|
# The date and time the identity source was originally created.
|
@@ -1433,6 +1644,10 @@ module Aws::VerifiedPermissions
|
|
1433
1644
|
# associated with this identity source.
|
1434
1645
|
# @return [String]
|
1435
1646
|
#
|
1647
|
+
# @!attribute [rw] configuration
|
1648
|
+
# Contains configuration information about an identity source.
|
1649
|
+
# @return [Types::ConfigurationItem]
|
1650
|
+
#
|
1436
1651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IdentitySourceItem AWS API Documentation
|
1437
1652
|
#
|
1438
1653
|
class IdentitySourceItem < Struct.new(
|
@@ -1441,19 +1656,22 @@ module Aws::VerifiedPermissions
|
|
1441
1656
|
:identity_source_id,
|
1442
1657
|
:last_updated_date,
|
1443
1658
|
:policy_store_id,
|
1444
|
-
:principal_entity_type
|
1659
|
+
:principal_entity_type,
|
1660
|
+
:configuration)
|
1445
1661
|
SENSITIVE = [:principal_entity_type]
|
1446
1662
|
include Aws::Structure
|
1447
1663
|
end
|
1448
1664
|
|
1449
1665
|
# A structure that contains configuration of the identity source.
|
1450
1666
|
#
|
1451
|
-
# This data type
|
1452
|
-
# [
|
1667
|
+
# This data type was a response parameter for the
|
1668
|
+
# [ListIdentitySources][1] operation. Replaced by
|
1669
|
+
# [ConfigurationItem][2].
|
1453
1670
|
#
|
1454
1671
|
#
|
1455
1672
|
#
|
1456
|
-
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/
|
1673
|
+
# [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html
|
1674
|
+
# [2]: https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationItem.html
|
1457
1675
|
#
|
1458
1676
|
# @!attribute [rw] client_ids
|
1459
1677
|
# The application client IDs associated with the specified Amazon
|
@@ -1597,14 +1815,20 @@ module Aws::VerifiedPermissions
|
|
1597
1815
|
# Specifies an identity token for the principal to be authorized. This
|
1598
1816
|
# token is provided to you by the identity provider (IdP) associated
|
1599
1817
|
# with the specified identity source. You must specify either an
|
1600
|
-
# `
|
1818
|
+
# `accessToken`, an `identityToken`, or both.
|
1819
|
+
#
|
1820
|
+
# Must be an ID token. Verified Permissions returns an error if the
|
1821
|
+
# `token_use` claim in the submitted token isn't `id`.
|
1601
1822
|
# @return [String]
|
1602
1823
|
#
|
1603
1824
|
# @!attribute [rw] access_token
|
1604
1825
|
# Specifies an access token for the principal to be authorized. This
|
1605
1826
|
# token is provided to you by the identity provider (IdP) associated
|
1606
1827
|
# with the specified identity source. You must specify either an
|
1607
|
-
# `
|
1828
|
+
# `accessToken`, an `identityToken`, or both.
|
1829
|
+
#
|
1830
|
+
# Must be an access token. Verified Permissions returns an error if
|
1831
|
+
# the `token_use` claim in the submitted token isn't `access`.
|
1608
1832
|
# @return [String]
|
1609
1833
|
#
|
1610
1834
|
# @!attribute [rw] action
|
@@ -2509,13 +2733,8 @@ module Aws::VerifiedPermissions
|
|
2509
2733
|
include Aws::Structure
|
2510
2734
|
end
|
2511
2735
|
|
2512
|
-
# Contains information about a policy that was
|
2513
|
-
#
|
2514
|
-
#
|
2515
|
-
#
|
2516
|
-
# created by instantiating a policy template.
|
2517
|
-
#
|
2518
|
-
# This
|
2736
|
+
# Contains information about a policy that was created by instantiating
|
2737
|
+
# a policy template.
|
2519
2738
|
#
|
2520
2739
|
# @!attribute [rw] policy_template_id
|
2521
2740
|
# The unique identifier of the policy template used to create this
|
data/sig/client.rbs
CHANGED
@@ -254,6 +254,7 @@ module Aws
|
|
254
254
|
def last_updated_date: () -> ::Time
|
255
255
|
def policy_store_id: () -> ::String
|
256
256
|
def principal_entity_type: () -> ::String
|
257
|
+
def configuration: () -> Types::ConfigurationDetail
|
257
258
|
end
|
258
259
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_identity_source-instance_method
|
259
260
|
def get_identity_source: (
|
data/sig/types.rbs
CHANGED
@@ -79,6 +79,20 @@ module Aws::VerifiedPermissions
|
|
79
79
|
SENSITIVE: []
|
80
80
|
end
|
81
81
|
|
82
|
+
class CognitoUserPoolConfigurationDetail
|
83
|
+
attr_accessor user_pool_arn: ::String
|
84
|
+
attr_accessor client_ids: ::Array[::String]
|
85
|
+
attr_accessor issuer: ::String
|
86
|
+
SENSITIVE: []
|
87
|
+
end
|
88
|
+
|
89
|
+
class CognitoUserPoolConfigurationItem
|
90
|
+
attr_accessor user_pool_arn: ::String
|
91
|
+
attr_accessor client_ids: ::Array[::String]
|
92
|
+
attr_accessor issuer: ::String
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
82
96
|
class Configuration
|
83
97
|
attr_accessor cognito_user_pool_configuration: Types::CognitoUserPoolConfiguration
|
84
98
|
attr_accessor unknown: untyped
|
@@ -90,6 +104,28 @@ module Aws::VerifiedPermissions
|
|
90
104
|
end
|
91
105
|
end
|
92
106
|
|
107
|
+
class ConfigurationDetail
|
108
|
+
attr_accessor cognito_user_pool_configuration: Types::CognitoUserPoolConfigurationDetail
|
109
|
+
attr_accessor unknown: untyped
|
110
|
+
SENSITIVE: []
|
111
|
+
|
112
|
+
class CognitoUserPoolConfiguration < ConfigurationDetail
|
113
|
+
end
|
114
|
+
class Unknown < ConfigurationDetail
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
class ConfigurationItem
|
119
|
+
attr_accessor cognito_user_pool_configuration: Types::CognitoUserPoolConfigurationItem
|
120
|
+
attr_accessor unknown: untyped
|
121
|
+
SENSITIVE: []
|
122
|
+
|
123
|
+
class CognitoUserPoolConfiguration < ConfigurationItem
|
124
|
+
end
|
125
|
+
class Unknown < ConfigurationItem
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
93
129
|
class ConflictException
|
94
130
|
attr_accessor message: ::String
|
95
131
|
attr_accessor resources: ::Array[Types::ResourceConflict]
|
@@ -268,6 +304,7 @@ module Aws::VerifiedPermissions
|
|
268
304
|
attr_accessor last_updated_date: ::Time
|
269
305
|
attr_accessor policy_store_id: ::String
|
270
306
|
attr_accessor principal_entity_type: ::String
|
307
|
+
attr_accessor configuration: Types::ConfigurationDetail
|
271
308
|
SENSITIVE: [:principal_entity_type]
|
272
309
|
end
|
273
310
|
|
@@ -354,6 +391,7 @@ module Aws::VerifiedPermissions
|
|
354
391
|
attr_accessor last_updated_date: ::Time
|
355
392
|
attr_accessor policy_store_id: ::String
|
356
393
|
attr_accessor principal_entity_type: ::String
|
394
|
+
attr_accessor configuration: Types::ConfigurationItem
|
357
395
|
SENSITIVE: [:principal_entity_type]
|
358
396
|
end
|
359
397
|
|
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.17.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-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|