aws-sdk-verifiedpermissions 1.17.0 → 1.18.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 +12 -1
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +22 -0
- data/lib/aws-sdk-verifiedpermissions/types.rb +146 -21
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +9 -2
- data/sig/types.rbs +25 -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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -627,6 +627,9 @@ module Aws::VerifiedPermissions
|
|
627
627
|
# cognito_user_pool_configuration: {
|
628
628
|
# user_pool_arn: "UserPoolArn", # required
|
629
629
|
# client_ids: ["ClientId"],
|
630
|
+
# group_configuration: {
|
631
|
+
# group_entity_type: "GroupEntityType", # required
|
632
|
+
# },
|
630
633
|
# },
|
631
634
|
# },
|
632
635
|
# principal_entity_type: "PrincipalEntityType",
|
@@ -1117,6 +1120,7 @@ module Aws::VerifiedPermissions
|
|
1117
1120
|
# resp.configuration.cognito_user_pool_configuration.client_ids #=> Array
|
1118
1121
|
# resp.configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1119
1122
|
# resp.configuration.cognito_user_pool_configuration.issuer #=> String
|
1123
|
+
# resp.configuration.cognito_user_pool_configuration.group_configuration.group_entity_type #=> String
|
1120
1124
|
#
|
1121
1125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetIdentitySource AWS API Documentation
|
1122
1126
|
#
|
@@ -1495,6 +1499,7 @@ module Aws::VerifiedPermissions
|
|
1495
1499
|
# * {Types::IsAuthorizedWithTokenOutput#decision #decision} => String
|
1496
1500
|
# * {Types::IsAuthorizedWithTokenOutput#determining_policies #determining_policies} => Array<Types::DeterminingPolicyItem>
|
1497
1501
|
# * {Types::IsAuthorizedWithTokenOutput#errors #errors} => Array<Types::EvaluationErrorItem>
|
1502
|
+
# * {Types::IsAuthorizedWithTokenOutput#principal #principal} => Types::EntityIdentifier
|
1498
1503
|
#
|
1499
1504
|
# @example Request syntax with placeholder values
|
1500
1505
|
#
|
@@ -1543,6 +1548,8 @@ module Aws::VerifiedPermissions
|
|
1543
1548
|
# resp.determining_policies[0].policy_id #=> String
|
1544
1549
|
# resp.errors #=> Array
|
1545
1550
|
# resp.errors[0].error_description #=> String
|
1551
|
+
# resp.principal.entity_type #=> String
|
1552
|
+
# resp.principal.entity_id #=> String
|
1546
1553
|
#
|
1547
1554
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IsAuthorizedWithToken AWS API Documentation
|
1548
1555
|
#
|
@@ -1623,6 +1630,7 @@ module Aws::VerifiedPermissions
|
|
1623
1630
|
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids #=> Array
|
1624
1631
|
# resp.identity_sources[0].configuration.cognito_user_pool_configuration.client_ids[0] #=> String
|
1625
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
|
1626
1634
|
#
|
1627
1635
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListIdentitySources AWS API Documentation
|
1628
1636
|
#
|
@@ -1952,6 +1960,9 @@ module Aws::VerifiedPermissions
|
|
1952
1960
|
# cognito_user_pool_configuration: {
|
1953
1961
|
# user_pool_arn: "UserPoolArn", # required
|
1954
1962
|
# client_ids: ["ClientId"],
|
1963
|
+
# group_configuration: {
|
1964
|
+
# group_entity_type: "GroupEntityType", # required
|
1965
|
+
# },
|
1955
1966
|
# },
|
1956
1967
|
# },
|
1957
1968
|
# principal_entity_type: "PrincipalEntityType",
|
@@ -2245,7 +2256,7 @@ module Aws::VerifiedPermissions
|
|
2245
2256
|
params: params,
|
2246
2257
|
config: config)
|
2247
2258
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
2248
|
-
context[:gem_version] = '1.
|
2259
|
+
context[:gem_version] = '1.18.0'
|
2249
2260
|
Seahorse::Client::Request.new(handlers, context)
|
2250
2261
|
end
|
2251
2262
|
|
@@ -28,6 +28,9 @@ 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')
|
32
35
|
CognitoUserPoolConfigurationDetail = Shapes::StructureShape.new(name: 'CognitoUserPoolConfigurationDetail')
|
33
36
|
CognitoUserPoolConfigurationItem = Shapes::StructureShape.new(name: 'CognitoUserPoolConfigurationItem')
|
@@ -77,6 +80,7 @@ module Aws::VerifiedPermissions
|
|
77
80
|
GetPolicyTemplateOutput = Shapes::StructureShape.new(name: 'GetPolicyTemplateOutput')
|
78
81
|
GetSchemaInput = Shapes::StructureShape.new(name: 'GetSchemaInput')
|
79
82
|
GetSchemaOutput = Shapes::StructureShape.new(name: 'GetSchemaOutput')
|
83
|
+
GroupEntityType = Shapes::StringShape.new(name: 'GroupEntityType')
|
80
84
|
IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
|
81
85
|
IdentitySourceDetails = Shapes::StructureShape.new(name: 'IdentitySourceDetails')
|
82
86
|
IdentitySourceFilter = Shapes::StructureShape.new(name: 'IdentitySourceFilter')
|
@@ -149,6 +153,7 @@ module Aws::VerifiedPermissions
|
|
149
153
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
150
154
|
TimestampFormat = Shapes::TimestampShape.new(name: 'TimestampFormat', timestampFormat: "iso8601")
|
151
155
|
Token = Shapes::StringShape.new(name: 'Token')
|
156
|
+
UpdateCognitoGroupConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoGroupConfiguration')
|
152
157
|
UpdateCognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoUserPoolConfiguration')
|
153
158
|
UpdateConfiguration = Shapes::UnionShape.new(name: 'UpdateConfiguration')
|
154
159
|
UpdateIdentitySourceInput = Shapes::StructureShape.new(name: 'UpdateIdentitySourceInput')
|
@@ -217,18 +222,30 @@ module Aws::VerifiedPermissions
|
|
217
222
|
|
218
223
|
ClientIds.member = Shapes::ShapeRef.new(shape: ClientId)
|
219
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
|
+
|
220
234
|
CognitoUserPoolConfiguration.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
221
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"))
|
222
237
|
CognitoUserPoolConfiguration.struct_class = Types::CognitoUserPoolConfiguration
|
223
238
|
|
224
239
|
CognitoUserPoolConfigurationDetail.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
225
240
|
CognitoUserPoolConfigurationDetail.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, required: true, location_name: "clientIds"))
|
226
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"))
|
227
243
|
CognitoUserPoolConfigurationDetail.struct_class = Types::CognitoUserPoolConfigurationDetail
|
228
244
|
|
229
245
|
CognitoUserPoolConfigurationItem.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
230
246
|
CognitoUserPoolConfigurationItem.add_member(:client_ids, Shapes::ShapeRef.new(shape: ClientIds, required: true, location_name: "clientIds"))
|
231
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"))
|
232
249
|
CognitoUserPoolConfigurationItem.struct_class = Types::CognitoUserPoolConfigurationItem
|
233
250
|
|
234
251
|
Configuration.add_member(:cognito_user_pool_configuration, Shapes::ShapeRef.new(shape: CognitoUserPoolConfiguration, location_name: "cognitoUserPoolConfiguration"))
|
@@ -488,6 +505,7 @@ module Aws::VerifiedPermissions
|
|
488
505
|
IsAuthorizedWithTokenOutput.add_member(:decision, Shapes::ShapeRef.new(shape: Decision, required: true, location_name: "decision"))
|
489
506
|
IsAuthorizedWithTokenOutput.add_member(:determining_policies, Shapes::ShapeRef.new(shape: DeterminingPolicyList, required: true, location_name: "determiningPolicies"))
|
490
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"))
|
491
509
|
IsAuthorizedWithTokenOutput.struct_class = Types::IsAuthorizedWithTokenOutput
|
492
510
|
|
493
511
|
ListIdentitySourcesInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -661,8 +679,12 @@ module Aws::VerifiedPermissions
|
|
661
679
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
662
680
|
ThrottlingException.struct_class = Types::ThrottlingException
|
663
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
|
+
|
664
685
|
UpdateCognitoUserPoolConfiguration.add_member(:user_pool_arn, Shapes::ShapeRef.new(shape: UserPoolArn, required: true, location_name: "userPoolArn"))
|
665
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"))
|
666
688
|
UpdateCognitoUserPoolConfiguration.struct_class = Types::UpdateCognitoUserPoolConfiguration
|
667
689
|
|
668
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,6 +278,78 @@ 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.
|
@@ -287,7 +359,8 @@ module Aws::VerifiedPermissions
|
|
287
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
|
#
|
@@ -313,11 +386,17 @@ module Aws::VerifiedPermissions
|
|
313
386
|
# Example: `"ClientIds": ["&ExampleCogClientId;"]`
|
314
387
|
# @return [Array<String>]
|
315
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
|
+
#
|
316
394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfiguration AWS API Documentation
|
317
395
|
#
|
318
396
|
class CognitoUserPoolConfiguration < Struct.new(
|
319
397
|
:user_pool_arn,
|
320
|
-
:client_ids
|
398
|
+
:client_ids,
|
399
|
+
:group_configuration)
|
321
400
|
SENSITIVE = []
|
322
401
|
include Aws::Structure
|
323
402
|
end
|
@@ -331,7 +410,8 @@ module Aws::VerifiedPermissions
|
|
331
410
|
# [GetIdentitySource][2].
|
332
411
|
#
|
333
412
|
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
334
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
413
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
414
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}`
|
335
415
|
#
|
336
416
|
#
|
337
417
|
#
|
@@ -365,12 +445,18 @@ module Aws::VerifiedPermissions
|
|
365
445
|
# "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"`
|
366
446
|
# @return [String]
|
367
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
|
+
#
|
368
453
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationDetail AWS API Documentation
|
369
454
|
#
|
370
455
|
class CognitoUserPoolConfigurationDetail < Struct.new(
|
371
456
|
:user_pool_arn,
|
372
457
|
:client_ids,
|
373
|
-
:issuer
|
458
|
+
:issuer,
|
459
|
+
:group_configuration)
|
374
460
|
SENSITIVE = []
|
375
461
|
include Aws::Structure
|
376
462
|
end
|
@@ -384,7 +470,8 @@ module Aws::VerifiedPermissions
|
|
384
470
|
# [ListIdentitySources][2].
|
385
471
|
#
|
386
472
|
# Example:`"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
387
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
473
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
474
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}`
|
388
475
|
#
|
389
476
|
#
|
390
477
|
#
|
@@ -418,12 +505,18 @@ module Aws::VerifiedPermissions
|
|
418
505
|
# "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5"`
|
419
506
|
# @return [String]
|
420
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
|
+
#
|
421
513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CognitoUserPoolConfigurationItem AWS API Documentation
|
422
514
|
#
|
423
515
|
class CognitoUserPoolConfigurationItem < Struct.new(
|
424
516
|
:user_pool_arn,
|
425
517
|
:client_ids,
|
426
|
-
:issuer
|
518
|
+
:issuer,
|
519
|
+
:group_configuration)
|
427
520
|
SENSITIVE = []
|
428
521
|
include Aws::Structure
|
429
522
|
end
|
@@ -434,7 +527,7 @@ module Aws::VerifiedPermissions
|
|
434
527
|
# <note markdown="1"> At this time, the only valid member of this structure is a Amazon
|
435
528
|
# Cognito user pool configuration.
|
436
529
|
#
|
437
|
-
#
|
530
|
+
# Specifies a `userPoolArn`, a `groupConfiguration`, and a `ClientId`.
|
438
531
|
#
|
439
532
|
# </note>
|
440
533
|
#
|
@@ -455,7 +548,8 @@ module Aws::VerifiedPermissions
|
|
455
548
|
#
|
456
549
|
# Example:
|
457
550
|
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
458
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
551
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
552
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}\}`
|
459
553
|
#
|
460
554
|
#
|
461
555
|
#
|
@@ -490,11 +584,13 @@ module Aws::VerifiedPermissions
|
|
490
584
|
# Contains configuration details of a Amazon Cognito user pool that
|
491
585
|
# Verified Permissions can use as a source of authenticated identities
|
492
586
|
# as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
|
493
|
-
# Amazon Cognito user pool
|
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.
|
494
589
|
#
|
495
590
|
# Example:
|
496
591
|
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
497
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
592
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
593
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}\}`
|
498
594
|
#
|
499
595
|
#
|
500
596
|
#
|
@@ -529,11 +625,13 @@ module Aws::VerifiedPermissions
|
|
529
625
|
# Contains configuration details of a Amazon Cognito user pool that
|
530
626
|
# Verified Permissions can use as a source of authenticated identities
|
531
627
|
# as entities. It specifies the [Amazon Resource Name (ARN)][1] of a
|
532
|
-
# Amazon Cognito user pool
|
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.
|
533
630
|
#
|
534
631
|
# Example:
|
535
632
|
# `"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
536
|
-
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"]
|
633
|
+
# ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration":
|
634
|
+
# \{"groupEntityType": "MyCorp::Group"\}\}\}`
|
537
635
|
#
|
538
636
|
#
|
539
637
|
#
|
@@ -1900,12 +1998,17 @@ module Aws::VerifiedPermissions
|
|
1900
1998
|
# not exist in the slice.
|
1901
1999
|
# @return [Array<Types::EvaluationErrorItem>]
|
1902
2000
|
#
|
2001
|
+
# @!attribute [rw] principal
|
2002
|
+
# The identifier of the principal in the ID or access token.
|
2003
|
+
# @return [Types::EntityIdentifier]
|
2004
|
+
#
|
1903
2005
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/IsAuthorizedWithTokenOutput AWS API Documentation
|
1904
2006
|
#
|
1905
2007
|
class IsAuthorizedWithTokenOutput < Struct.new(
|
1906
2008
|
:decision,
|
1907
2009
|
:determining_policies,
|
1908
|
-
:errors
|
2010
|
+
:errors,
|
2011
|
+
:principal)
|
1909
2012
|
SENSITIVE = []
|
1910
2013
|
include Aws::Structure
|
1911
2014
|
end
|
@@ -2823,6 +2926,22 @@ module Aws::VerifiedPermissions
|
|
2823
2926
|
include Aws::Structure
|
2824
2927
|
end
|
2825
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
|
+
|
2826
2945
|
# Contains configuration details of a Amazon Cognito user pool for use
|
2827
2946
|
# with an identity source.
|
2828
2947
|
#
|
@@ -2840,11 +2959,17 @@ module Aws::VerifiedPermissions
|
|
2840
2959
|
# Amazon Cognito user pool.
|
2841
2960
|
# @return [Array<String>]
|
2842
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
|
+
#
|
2843
2967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UpdateCognitoUserPoolConfiguration AWS API Documentation
|
2844
2968
|
#
|
2845
2969
|
class UpdateCognitoUserPoolConfiguration < Struct.new(
|
2846
2970
|
:user_pool_arn,
|
2847
|
-
:client_ids
|
2971
|
+
:client_ids,
|
2972
|
+
:group_configuration)
|
2848
2973
|
SENSITIVE = []
|
2849
2974
|
include Aws::Structure
|
2850
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
|
@@ -375,6 +378,7 @@ module Aws
|
|
375
378
|
def decision: () -> ("ALLOW" | "DENY")
|
376
379
|
def determining_policies: () -> ::Array[Types::DeterminingPolicyItem]
|
377
380
|
def errors: () -> ::Array[Types::EvaluationErrorItem]
|
381
|
+
def principal: () -> Types::EntityIdentifier
|
378
382
|
end
|
379
383
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#is_authorized_with_token-instance_method
|
380
384
|
def is_authorized_with_token: (
|
@@ -516,7 +520,10 @@ module Aws
|
|
516
520
|
update_configuration: {
|
517
521
|
cognito_user_pool_configuration: {
|
518
522
|
user_pool_arn: ::String,
|
519
|
-
client_ids: Array[::String]
|
523
|
+
client_ids: Array[::String]?,
|
524
|
+
group_configuration: {
|
525
|
+
group_entity_type: ::String
|
526
|
+
}?
|
520
527
|
}?
|
521
528
|
},
|
522
529
|
?principal_entity_type: ::String
|
data/sig/types.rbs
CHANGED
@@ -73,9 +73,25 @@ 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
|
79
95
|
SENSITIVE: []
|
80
96
|
end
|
81
97
|
|
@@ -83,6 +99,7 @@ module Aws::VerifiedPermissions
|
|
83
99
|
attr_accessor user_pool_arn: ::String
|
84
100
|
attr_accessor client_ids: ::Array[::String]
|
85
101
|
attr_accessor issuer: ::String
|
102
|
+
attr_accessor group_configuration: Types::CognitoGroupConfigurationDetail
|
86
103
|
SENSITIVE: []
|
87
104
|
end
|
88
105
|
|
@@ -90,6 +107,7 @@ module Aws::VerifiedPermissions
|
|
90
107
|
attr_accessor user_pool_arn: ::String
|
91
108
|
attr_accessor client_ids: ::Array[::String]
|
92
109
|
attr_accessor issuer: ::String
|
110
|
+
attr_accessor group_configuration: Types::CognitoGroupConfigurationItem
|
93
111
|
SENSITIVE: []
|
94
112
|
end
|
95
113
|
|
@@ -440,6 +458,7 @@ module Aws::VerifiedPermissions
|
|
440
458
|
attr_accessor decision: ("ALLOW" | "DENY")
|
441
459
|
attr_accessor determining_policies: ::Array[Types::DeterminingPolicyItem]
|
442
460
|
attr_accessor errors: ::Array[Types::EvaluationErrorItem]
|
461
|
+
attr_accessor principal: Types::EntityIdentifier
|
443
462
|
SENSITIVE: []
|
444
463
|
end
|
445
464
|
|
@@ -668,9 +687,15 @@ module Aws::VerifiedPermissions
|
|
668
687
|
SENSITIVE: []
|
669
688
|
end
|
670
689
|
|
690
|
+
class UpdateCognitoGroupConfiguration
|
691
|
+
attr_accessor group_entity_type: ::String
|
692
|
+
SENSITIVE: [:group_entity_type]
|
693
|
+
end
|
694
|
+
|
671
695
|
class UpdateCognitoUserPoolConfiguration
|
672
696
|
attr_accessor user_pool_arn: ::String
|
673
697
|
attr_accessor client_ids: ::Array[::String]
|
698
|
+
attr_accessor group_configuration: Types::UpdateCognitoGroupConfiguration
|
674
699
|
SENSITIVE: []
|
675
700
|
end
|
676
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
|