aws-sdk-verifiedpermissions 1.43.0 → 1.44.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 56c5f37f18f8d6bf00be8d232893d1020f3ecc76a62b4f36bde22fe197fbfb2f
4
- data.tar.gz: 998c43d49d6eeb4d22b9bcadbf7094048dd3457d9160bf89f7646325757ddfa2
3
+ metadata.gz: e12ecb6bc46cd467561306d4e8368777241e6e5f74e8e0a5b6142f75b112037e
4
+ data.tar.gz: 47b79b6027a1bf5d8e6ac20728882cfde661fc4e29d5c8768e709a68793ee833
5
5
  SHA512:
6
- metadata.gz: d8eacdb895cbc9a9cba241581a7939fc5f38ecf068e0cd88b9429fcba1e7ec8efedace5b5f94c53335b36fa8afd5217e21fcaf6402302bfe81b060a393ccc67e
7
- data.tar.gz: 992a7fa1a993e890e0b4c4632186d14fa1d47b5c954103335ffc16e088c8e9438cfc04b821e0052ca9319d07c0dea8192bae674f3a1282a90b3e83488c1b27e3
6
+ metadata.gz: 92d777128b39c78129c23d594617d1ed6de5df6931de8386b46580bfdf3c9aa6ce103f7c08071b0ea6bfd878e4e08fb0fb4dafa8a48352263a18f6e985d2f336
7
+ data.tar.gz: e138ebe4efbb54bfe92e7d74a48e7a8d4eb8d7b89683d81e06794c3a0a7ef84ab27fa9ee4e5298293715b0b84e4701dd66d6a4d5462e706f9c8094cccfb85224
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2025-05-01)
5
+ ------------------
6
+
7
+ * Feature - Amazon Verified Permissions / Features : Adds support for tagging policy stores.
8
+
4
9
  1.43.0 (2025-04-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.44.0
@@ -636,9 +636,11 @@ module Aws::VerifiedPermissions
636
636
  # will be used to make the authorization decisions for the input.
637
637
  #
638
638
  # @option params [Types::EntitiesDefinition] :entities
639
- # Specifies the list of resources and principals and their associated
640
- # attributes that Verified Permissions can examine when evaluating the
641
- # policies.
639
+ # (Optional) Specifies the list of resources and principals and their
640
+ # associated attributes that Verified Permissions can examine when
641
+ # evaluating the policies. These additional entities and their
642
+ # attributes can be referenced and checked by conditional elements in
643
+ # the policies in the specified policy store.
642
644
  #
643
645
  # <note markdown="1"> You can include only principal and resource entities in this
644
646
  # parameter; you can't include actions. You must specify actions in the
@@ -947,8 +949,11 @@ module Aws::VerifiedPermissions
947
949
  # `token_use` claim in the submitted token isn't `access`.
948
950
  #
949
951
  # @option params [Types::EntitiesDefinition] :entities
950
- # Specifies the list of resources and their associated attributes that
951
- # Verified Permissions can examine when evaluating the policies.
952
+ # (Optional) Specifies the list of resources and their associated
953
+ # attributes that Verified Permissions can examine when evaluating the
954
+ # policies. These additional entities and their attributes can be
955
+ # referenced and checked by conditional elements in the policies in the
956
+ # specified policy store.
952
957
  #
953
958
  # You can't include principals in this parameter, only resource and
954
959
  # action entities. This parameter can't include any entities of a type
@@ -1655,6 +1660,9 @@ module Aws::VerifiedPermissions
1655
1660
  #
1656
1661
  # The default state is `DISABLED`.
1657
1662
  #
1663
+ # @option params [Hash<String,String>] :tags
1664
+ # The list of key-value pairs to associate with the policy store.
1665
+ #
1658
1666
  # @return [Types::CreatePolicyStoreOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1659
1667
  #
1660
1668
  # * {Types::CreatePolicyStoreOutput#policy_store_id #policy_store_id} => String
@@ -1691,6 +1699,9 @@ module Aws::VerifiedPermissions
1691
1699
  # },
1692
1700
  # description: "PolicyStoreDescription",
1693
1701
  # deletion_protection: "ENABLED", # accepts ENABLED, DISABLED
1702
+ # tags: {
1703
+ # "TagKey" => "TagValue",
1704
+ # },
1694
1705
  # })
1695
1706
  #
1696
1707
  # @example Response structure
@@ -2181,6 +2192,17 @@ module Aws::VerifiedPermissions
2181
2192
  # @option params [required, String] :policy_store_id
2182
2193
  # Specifies the ID of the policy store that you want information about.
2183
2194
  #
2195
+ # @option params [Boolean] :tags
2196
+ # Specifies whether to return the tags that are attached to the policy
2197
+ # store. If this parameter is included in the API call, the tags are
2198
+ # returned, otherwise they are not returned.
2199
+ #
2200
+ # <note markdown="1"> If this parameter is included in the API call but there are no tags
2201
+ # attached to the policy store, the `tags` response parameter is omitted
2202
+ # from the response.
2203
+ #
2204
+ # </note>
2205
+ #
2184
2206
  # @return [Types::GetPolicyStoreOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2185
2207
  #
2186
2208
  # * {Types::GetPolicyStoreOutput#policy_store_id #policy_store_id} => String
@@ -2190,6 +2212,8 @@ module Aws::VerifiedPermissions
2190
2212
  # * {Types::GetPolicyStoreOutput#last_updated_date #last_updated_date} => Time
2191
2213
  # * {Types::GetPolicyStoreOutput#description #description} => String
2192
2214
  # * {Types::GetPolicyStoreOutput#deletion_protection #deletion_protection} => String
2215
+ # * {Types::GetPolicyStoreOutput#cedar_version #cedar_version} => String
2216
+ # * {Types::GetPolicyStoreOutput#tags #tags} => Hash&lt;String,String&gt;
2193
2217
  #
2194
2218
  #
2195
2219
  # @example Example: GetPolicyStore
@@ -2215,6 +2239,7 @@ module Aws::VerifiedPermissions
2215
2239
  #
2216
2240
  # resp = client.get_policy_store({
2217
2241
  # policy_store_id: "PolicyStoreId", # required
2242
+ # tags: false,
2218
2243
  # })
2219
2244
  #
2220
2245
  # @example Response structure
@@ -2226,6 +2251,9 @@ module Aws::VerifiedPermissions
2226
2251
  # resp.last_updated_date #=> Time
2227
2252
  # resp.description #=> String
2228
2253
  # resp.deletion_protection #=> String, one of "ENABLED", "DISABLED"
2254
+ # resp.cedar_version #=> String, one of "CEDAR_2", "CEDAR_4"
2255
+ # resp.tags #=> Hash
2256
+ # resp.tags["TagKey"] #=> String
2229
2257
  #
2230
2258
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStore AWS API Documentation
2231
2259
  #
@@ -2391,9 +2419,11 @@ module Aws::VerifiedPermissions
2391
2419
  # authorization decisions.
2392
2420
  #
2393
2421
  # @option params [Types::EntitiesDefinition] :entities
2394
- # Specifies the list of resources and principals and their associated
2395
- # attributes that Verified Permissions can examine when evaluating the
2396
- # policies.
2422
+ # (Optional) Specifies the list of resources and principals and their
2423
+ # associated attributes that Verified Permissions can examine when
2424
+ # evaluating the policies. These additional entities and their
2425
+ # attributes can be referenced and checked by conditional elements in
2426
+ # the policies in the specified policy store.
2397
2427
  #
2398
2428
  # <note markdown="1"> You can include only principal and resource entities in this
2399
2429
  # parameter; you can't include actions. You must specify actions in the
@@ -2591,8 +2621,11 @@ module Aws::VerifiedPermissions
2591
2621
  # authorization decisions.
2592
2622
  #
2593
2623
  # @option params [Types::EntitiesDefinition] :entities
2594
- # Specifies the list of resources and their associated attributes that
2595
- # Verified Permissions can examine when evaluating the policies.
2624
+ # (Optional) Specifies the list of resources and their associated
2625
+ # attributes that Verified Permissions can examine when evaluating the
2626
+ # policies. These additional entities and their attributes can be
2627
+ # referenced and checked by conditional elements in the policies in the
2628
+ # specified policy store.
2596
2629
  #
2597
2630
  # You can't include principals in this parameter, only resource and
2598
2631
  # action entities. This parameter can't include any entities of a type
@@ -3260,6 +3293,54 @@ module Aws::VerifiedPermissions
3260
3293
  req.send_request(options)
3261
3294
  end
3262
3295
 
3296
+ # Returns the tags associated with the specified Amazon Verified
3297
+ # Permissions resource. In Verified Permissions, policy stores can be
3298
+ # tagged.
3299
+ #
3300
+ # @option params [required, String] :resource_arn
3301
+ # The ARN of the resource for which you want to view tags.
3302
+ #
3303
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3304
+ #
3305
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Hash&lt;String,String&gt;
3306
+ #
3307
+ #
3308
+ # @example Example: ListTagsForResource
3309
+ #
3310
+ # # The following example lists all the tags for the resource named in the API call.
3311
+ #
3312
+ # resp = client.list_tags_for_resource({
3313
+ # resource_arn: "C7v5xMplfFH3i3e4Jrzb1a",
3314
+ # })
3315
+ #
3316
+ # resp.to_h outputs the following:
3317
+ # {
3318
+ # tags: {
3319
+ # "key1" => "value1",
3320
+ # "key2" => "value2",
3321
+ # },
3322
+ # }
3323
+ #
3324
+ # @example Request syntax with placeholder values
3325
+ #
3326
+ # resp = client.list_tags_for_resource({
3327
+ # resource_arn: "AmazonResourceName", # required
3328
+ # })
3329
+ #
3330
+ # @example Response structure
3331
+ #
3332
+ # resp.tags #=> Hash
3333
+ # resp.tags["TagKey"] #=> String
3334
+ #
3335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListTagsForResource AWS API Documentation
3336
+ #
3337
+ # @overload list_tags_for_resource(params = {})
3338
+ # @param [Hash] params ({})
3339
+ def list_tags_for_resource(params = {}, options = {})
3340
+ req = build_request(:list_tags_for_resource, params)
3341
+ req.send_request(options)
3342
+ end
3343
+
3263
3344
  # Creates or updates the policy schema in the specified policy store.
3264
3345
  # The schema is used to validate any Cedar policies and policy templates
3265
3346
  # submitted to the policy store. Any changes to the schema validate only
@@ -3345,6 +3426,112 @@ module Aws::VerifiedPermissions
3345
3426
  req.send_request(options)
3346
3427
  end
3347
3428
 
3429
+ # Assigns one or more tags (key-value pairs) to the specified Amazon
3430
+ # Verified Permissions resource. Tags can help you organize and
3431
+ # categorize your resources. You can also use them to scope user
3432
+ # permissions by granting a user permission to access or change only
3433
+ # resources with certain tag values. In Verified Permissions, policy
3434
+ # stores can be tagged.
3435
+ #
3436
+ # Tags don't have any semantic meaning to Amazon Web Services and are
3437
+ # interpreted strictly as strings of characters.
3438
+ #
3439
+ # You can use the TagResource action with a resource that already has
3440
+ # tags. If you specify a new tag key, this tag is appended to the list
3441
+ # of tags associated with the resource. If you specify a tag key that is
3442
+ # already associated with the resource, the new tag value that you
3443
+ # specify replaces the previous value for that tag.
3444
+ #
3445
+ # You can associate as many as 50 tags with a resource.
3446
+ #
3447
+ # @option params [required, String] :resource_arn
3448
+ # The ARN of the resource that you're adding tags to.
3449
+ #
3450
+ # @option params [required, Hash<String,String>] :tags
3451
+ # The list of key-value pairs to associate with the resource.
3452
+ #
3453
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3454
+ #
3455
+ #
3456
+ # @example Example: TagResource
3457
+ #
3458
+ # # The following example tags the resource.
3459
+ #
3460
+ # resp = client.tag_resource({
3461
+ # resource_arn: "C7v5xMplfFH3i3e4Jrzb1a",
3462
+ # tags: {
3463
+ # "key1" => "value1",
3464
+ # "key2" => "value2",
3465
+ # },
3466
+ # })
3467
+ #
3468
+ # resp.to_h outputs the following:
3469
+ # {
3470
+ # }
3471
+ #
3472
+ # @example Request syntax with placeholder values
3473
+ #
3474
+ # resp = client.tag_resource({
3475
+ # resource_arn: "AmazonResourceName", # required
3476
+ # tags: { # required
3477
+ # "TagKey" => "TagValue",
3478
+ # },
3479
+ # })
3480
+ #
3481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/TagResource AWS API Documentation
3482
+ #
3483
+ # @overload tag_resource(params = {})
3484
+ # @param [Hash] params ({})
3485
+ def tag_resource(params = {}, options = {})
3486
+ req = build_request(:tag_resource, params)
3487
+ req.send_request(options)
3488
+ end
3489
+
3490
+ # Removes one or more tags from the specified Amazon Verified
3491
+ # Permissions resource. In Verified Permissions, policy stores can be
3492
+ # tagged.
3493
+ #
3494
+ # @option params [required, String] :resource_arn
3495
+ # The ARN of the resource from which you are removing tags.
3496
+ #
3497
+ # @option params [required, Array<String>] :tag_keys
3498
+ # The list of tag keys to remove from the resource.
3499
+ #
3500
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3501
+ #
3502
+ #
3503
+ # @example Example: UntagResource
3504
+ #
3505
+ # # The following example removes the listed tags from the resource.
3506
+ #
3507
+ # resp = client.untag_resource({
3508
+ # resource_arn: "C7v5xMplfFH3i3e4Jrzb1a",
3509
+ # tag_keys: [
3510
+ # "key1",
3511
+ # "key2",
3512
+ # ],
3513
+ # })
3514
+ #
3515
+ # resp.to_h outputs the following:
3516
+ # {
3517
+ # }
3518
+ #
3519
+ # @example Request syntax with placeholder values
3520
+ #
3521
+ # resp = client.untag_resource({
3522
+ # resource_arn: "AmazonResourceName", # required
3523
+ # tag_keys: ["TagKey"], # required
3524
+ # })
3525
+ #
3526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UntagResource AWS API Documentation
3527
+ #
3528
+ # @overload untag_resource(params = {})
3529
+ # @param [Hash] params ({})
3530
+ def untag_resource(params = {}, options = {})
3531
+ req = build_request(:untag_resource, params)
3532
+ req.send_request(options)
3533
+ end
3534
+
3348
3535
  # Updates the specified identity source to use a new identity provider
3349
3536
  # (IdP), or to change the mapping of identities from the IdP to a
3350
3537
  # different principal entity type.
@@ -3821,7 +4008,7 @@ module Aws::VerifiedPermissions
3821
4008
  tracer: tracer
3822
4009
  )
3823
4010
  context[:gem_name] = 'aws-sdk-verifiedpermissions'
3824
- context[:gem_version] = '1.43.0'
4011
+ context[:gem_version] = '1.44.0'
3825
4012
  Seahorse::Client::Request.new(handlers, context)
3826
4013
  end
3827
4014
 
@@ -19,6 +19,7 @@ module Aws::VerifiedPermissions
19
19
  ActionIdentifier = Shapes::StructureShape.new(name: 'ActionIdentifier')
20
20
  ActionIdentifierList = Shapes::ListShape.new(name: 'ActionIdentifierList')
21
21
  ActionType = Shapes::StringShape.new(name: 'ActionType')
22
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
22
23
  AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
23
24
  Audience = Shapes::StringShape.new(name: 'Audience')
24
25
  Audiences = Shapes::ListShape.new(name: 'Audiences')
@@ -46,6 +47,7 @@ module Aws::VerifiedPermissions
46
47
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
47
48
  BooleanAttribute = Shapes::BooleanShape.new(name: 'BooleanAttribute')
48
49
  CedarJson = Shapes::StringShape.new(name: 'CedarJson')
50
+ CedarVersion = Shapes::StringShape.new(name: 'CedarVersion')
49
51
  Claim = Shapes::StringShape.new(name: 'Claim')
50
52
  ClientId = Shapes::StringShape.new(name: 'ClientId')
51
53
  ClientIds = Shapes::ListShape.new(name: 'ClientIds')
@@ -130,6 +132,8 @@ module Aws::VerifiedPermissions
130
132
  ListPolicyStoresOutput = Shapes::StructureShape.new(name: 'ListPolicyStoresOutput')
131
133
  ListPolicyTemplatesInput = Shapes::StructureShape.new(name: 'ListPolicyTemplatesInput')
132
134
  ListPolicyTemplatesOutput = Shapes::StructureShape.new(name: 'ListPolicyTemplatesOutput')
135
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
136
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
133
137
  LongAttribute = Shapes::IntegerShape.new(name: 'LongAttribute')
134
138
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
135
139
  Namespace = Shapes::StringShape.new(name: 'Namespace')
@@ -189,12 +193,21 @@ module Aws::VerifiedPermissions
189
193
  StaticPolicyDescription = Shapes::StringShape.new(name: 'StaticPolicyDescription')
190
194
  String = Shapes::StringShape.new(name: 'String')
191
195
  StringAttribute = Shapes::StringShape.new(name: 'StringAttribute')
196
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
197
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
198
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
199
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
200
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
201
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
192
202
  TemplateLinkedPolicyDefinition = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinition')
193
203
  TemplateLinkedPolicyDefinitionDetail = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinitionDetail')
194
204
  TemplateLinkedPolicyDefinitionItem = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinitionItem')
195
205
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
196
206
  TimestampFormat = Shapes::TimestampShape.new(name: 'TimestampFormat', timestampFormat: "iso8601")
197
207
  Token = Shapes::StringShape.new(name: 'Token')
208
+ TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
209
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
210
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
198
211
  UpdateCognitoGroupConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoGroupConfiguration')
199
212
  UpdateCognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoUserPoolConfiguration')
200
213
  UpdateConfiguration = Shapes::UnionShape.new(name: 'UpdateConfiguration')
@@ -399,7 +412,7 @@ module Aws::VerifiedPermissions
399
412
  ContextMap.key = Shapes::ShapeRef.new(shape: String)
400
413
  ContextMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
401
414
 
402
- CreateIdentitySourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
415
+ CreateIdentitySourceInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
403
416
  CreateIdentitySourceInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
404
417
  CreateIdentitySourceInput.add_member(:configuration, Shapes::ShapeRef.new(shape: Configuration, required: true, location_name: "configuration"))
405
418
  CreateIdentitySourceInput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
@@ -411,7 +424,7 @@ module Aws::VerifiedPermissions
411
424
  CreateIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
412
425
  CreateIdentitySourceOutput.struct_class = Types::CreateIdentitySourceOutput
413
426
 
414
- CreatePolicyInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
427
+ CreatePolicyInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
415
428
  CreatePolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
416
429
  CreatePolicyInput.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinition, required: true, location_name: "definition"))
417
430
  CreatePolicyInput.struct_class = Types::CreatePolicyInput
@@ -427,10 +440,11 @@ module Aws::VerifiedPermissions
427
440
  CreatePolicyOutput.add_member(:effect, Shapes::ShapeRef.new(shape: PolicyEffect, location_name: "effect"))
428
441
  CreatePolicyOutput.struct_class = Types::CreatePolicyOutput
429
442
 
430
- CreatePolicyStoreInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
443
+ CreatePolicyStoreInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
431
444
  CreatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
432
445
  CreatePolicyStoreInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
433
446
  CreatePolicyStoreInput.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
447
+ CreatePolicyStoreInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
434
448
  CreatePolicyStoreInput.struct_class = Types::CreatePolicyStoreInput
435
449
 
436
450
  CreatePolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -439,7 +453,7 @@ module Aws::VerifiedPermissions
439
453
  CreatePolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
440
454
  CreatePolicyStoreOutput.struct_class = Types::CreatePolicyStoreOutput
441
455
 
442
- CreatePolicyTemplateInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
456
+ CreatePolicyTemplateInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
443
457
  CreatePolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
444
458
  CreatePolicyTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyTemplateDescription, location_name: "description"))
445
459
  CreatePolicyTemplateInput.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
@@ -519,7 +533,7 @@ module Aws::VerifiedPermissions
519
533
  GetIdentitySourceInput.struct_class = Types::GetIdentitySourceInput
520
534
 
521
535
  GetIdentitySourceOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
522
- GetIdentitySourceOutput.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceDetails, deprecated: true, location_name: "details", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration"}))
536
+ GetIdentitySourceOutput.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceDetails, deprecated: true, location_name: "details", metadata: {"deprecatedMessage" => "This attribute has been replaced by configuration.cognitoUserPoolConfiguration"}))
523
537
  GetIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
524
538
  GetIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
525
539
  GetIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -544,6 +558,7 @@ module Aws::VerifiedPermissions
544
558
  GetPolicyOutput.struct_class = Types::GetPolicyOutput
545
559
 
546
560
  GetPolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
561
+ GetPolicyStoreInput.add_member(:tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "tags"))
547
562
  GetPolicyStoreInput.struct_class = Types::GetPolicyStoreInput
548
563
 
549
564
  GetPolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -553,6 +568,8 @@ module Aws::VerifiedPermissions
553
568
  GetPolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
554
569
  GetPolicyStoreOutput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
555
570
  GetPolicyStoreOutput.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
571
+ GetPolicyStoreOutput.add_member(:cedar_version, Shapes::ShapeRef.new(shape: CedarVersion, location_name: "cedarVersion"))
572
+ GetPolicyStoreOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
556
573
  GetPolicyStoreOutput.struct_class = Types::GetPolicyStoreOutput
557
574
 
558
575
  GetPolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -577,10 +594,10 @@ module Aws::VerifiedPermissions
577
594
  GetSchemaOutput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceList, location_name: "namespaces"))
578
595
  GetSchemaOutput.struct_class = Types::GetSchemaOutput
579
596
 
580
- 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"}))
581
- 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"}))
582
- 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"}))
583
- 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"}))
597
+ 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"}))
598
+ 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"}))
599
+ 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"}))
600
+ 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"}))
584
601
  IdentitySourceDetails.struct_class = Types::IdentitySourceDetails
585
602
 
586
603
  IdentitySourceFilter.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
@@ -589,7 +606,7 @@ module Aws::VerifiedPermissions
589
606
  IdentitySourceFilters.member = Shapes::ShapeRef.new(shape: IdentitySourceFilter)
590
607
 
591
608
  IdentitySourceItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
592
- IdentitySourceItem.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceItemDetails, deprecated: true, location_name: "details", metadata: {"deprecatedMessage"=>"This attribute has been replaced by configuration.cognitoUserPoolConfiguration"}))
609
+ IdentitySourceItem.add_member(:details, Shapes::ShapeRef.new(shape: IdentitySourceItemDetails, deprecated: true, location_name: "details", metadata: {"deprecatedMessage" => "This attribute has been replaced by configuration.cognitoUserPoolConfiguration"}))
593
610
  IdentitySourceItem.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
594
611
  IdentitySourceItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
595
612
  IdentitySourceItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
@@ -597,10 +614,10 @@ module Aws::VerifiedPermissions
597
614
  IdentitySourceItem.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationItem, location_name: "configuration"))
598
615
  IdentitySourceItem.struct_class = Types::IdentitySourceItem
599
616
 
600
- 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"}))
601
- 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"}))
602
- 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"}))
603
- 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"}))
617
+ 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"}))
618
+ 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"}))
619
+ 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"}))
620
+ 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"}))
604
621
  IdentitySourceItemDetails.struct_class = Types::IdentitySourceItemDetails
605
622
 
606
623
  IdentitySources.member = Shapes::ShapeRef.new(shape: IdentitySourceItem)
@@ -676,6 +693,12 @@ module Aws::VerifiedPermissions
676
693
  ListPolicyTemplatesOutput.add_member(:policy_templates, Shapes::ShapeRef.new(shape: PolicyTemplatesList, required: true, location_name: "policyTemplates"))
677
694
  ListPolicyTemplatesOutput.struct_class = Types::ListPolicyTemplatesOutput
678
695
 
696
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
697
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
698
+
699
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
700
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
701
+
679
702
  NamespaceList.member = Shapes::ShapeRef.new(shape: Namespace)
680
703
 
681
704
  OpenIdConnectAccessTokenConfiguration.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
@@ -870,6 +893,17 @@ module Aws::VerifiedPermissions
870
893
  StaticPolicyDefinitionItem.add_member(:description, Shapes::ShapeRef.new(shape: StaticPolicyDescription, location_name: "description"))
871
894
  StaticPolicyDefinitionItem.struct_class = Types::StaticPolicyDefinitionItem
872
895
 
896
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
897
+
898
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
899
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
900
+
901
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
902
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
903
+ TagResourceInput.struct_class = Types::TagResourceInput
904
+
905
+ TagResourceOutput.struct_class = Types::TagResourceOutput
906
+
873
907
  TemplateLinkedPolicyDefinition.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
874
908
  TemplateLinkedPolicyDefinition.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
875
909
  TemplateLinkedPolicyDefinition.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
@@ -890,6 +924,16 @@ module Aws::VerifiedPermissions
890
924
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
891
925
  ThrottlingException.struct_class = Types::ThrottlingException
892
926
 
927
+ TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
928
+ TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "resourceName"))
929
+ TooManyTagsException.struct_class = Types::TooManyTagsException
930
+
931
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "resourceArn"))
932
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
933
+ UntagResourceInput.struct_class = Types::UntagResourceInput
934
+
935
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
936
+
893
937
  UpdateCognitoGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
894
938
  UpdateCognitoGroupConfiguration.struct_class = Types::UpdateCognitoGroupConfiguration
895
939
 
@@ -1346,6 +1390,19 @@ module Aws::VerifiedPermissions
1346
1390
  )
1347
1391
  end)
1348
1392
 
1393
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1394
+ o.name = "ListTagsForResource"
1395
+ o.http_method = "POST"
1396
+ o.http_request_uri = "/"
1397
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
1398
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
1399
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1404
+ end)
1405
+
1349
1406
  api.add_operation(:put_schema, Seahorse::Model::Operation.new.tap do |o|
1350
1407
  o.name = "PutSchema"
1351
1408
  o.http_method = "POST"
@@ -1361,6 +1418,33 @@ module Aws::VerifiedPermissions
1361
1418
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1362
1419
  end)
1363
1420
 
1421
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1422
+ o.name = "TagResource"
1423
+ o.http_method = "POST"
1424
+ o.http_request_uri = "/"
1425
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
1426
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
1427
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1430
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1431
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1433
+ end)
1434
+
1435
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1436
+ o.name = "UntagResource"
1437
+ o.http_method = "POST"
1438
+ o.http_request_uri = "/"
1439
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
1440
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
1441
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1445
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1446
+ end)
1447
+
1364
1448
  api.add_operation(:update_identity_source, Seahorse::Model::Operation.new.tap do |o|
1365
1449
  o.name = "UpdateIdentitySource"
1366
1450
  o.http_method = "POST"
@@ -34,6 +34,7 @@ module Aws::VerifiedPermissions
34
34
  # * {ResourceNotFoundException}
35
35
  # * {ServiceQuotaExceededException}
36
36
  # * {ThrottlingException}
37
+ # * {TooManyTagsException}
37
38
  # * {ValidationException}
38
39
  #
39
40
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -204,6 +205,26 @@ module Aws::VerifiedPermissions
204
205
  end
205
206
  end
206
207
 
208
+ class TooManyTagsException < ServiceError
209
+
210
+ # @param [Seahorse::Client::RequestContext] context
211
+ # @param [String] message
212
+ # @param [Aws::VerifiedPermissions::Types::TooManyTagsException] data
213
+ def initialize(context, message, data = Aws::EmptyStructure.new)
214
+ super(context, message, data)
215
+ end
216
+
217
+ # @return [String]
218
+ def message
219
+ @message || @data[:message]
220
+ end
221
+
222
+ # @return [String]
223
+ def resource_name
224
+ @data[:resource_name]
225
+ end
226
+ end
227
+
207
228
  class ValidationException < ServiceError
208
229
 
209
230
  # @param [Seahorse::Client::RequestContext] context
@@ -319,9 +319,11 @@ module Aws::VerifiedPermissions
319
319
  # @return [String]
320
320
  #
321
321
  # @!attribute [rw] entities
322
- # Specifies the list of resources and principals and their associated
323
- # attributes that Verified Permissions can examine when evaluating the
324
- # policies.
322
+ # (Optional) Specifies the list of resources and principals and their
323
+ # associated attributes that Verified Permissions can examine when
324
+ # evaluating the policies. These additional entities and their
325
+ # attributes can be referenced and checked by conditional elements in
326
+ # the policies in the specified policy store.
325
327
  #
326
328
  # <note markdown="1"> You can include only principal and resource entities in this
327
329
  # parameter; you can't include actions. You must specify actions in
@@ -460,8 +462,11 @@ module Aws::VerifiedPermissions
460
462
  # @return [String]
461
463
  #
462
464
  # @!attribute [rw] entities
463
- # Specifies the list of resources and their associated attributes that
464
- # Verified Permissions can examine when evaluating the policies.
465
+ # (Optional) Specifies the list of resources and their associated
466
+ # attributes that Verified Permissions can examine when evaluating the
467
+ # policies. These additional entities and their attributes can be
468
+ # referenced and checked by conditional elements in the policies in
469
+ # the specified policy store.
465
470
  #
466
471
  # You can't include principals in this parameter, only resource and
467
472
  # action entities. This parameter can't include any entities of a
@@ -1307,13 +1312,18 @@ module Aws::VerifiedPermissions
1307
1312
  # The default state is `DISABLED`.
1308
1313
  # @return [String]
1309
1314
  #
1315
+ # @!attribute [rw] tags
1316
+ # The list of key-value pairs to associate with the policy store.
1317
+ # @return [Hash<String,String>]
1318
+ #
1310
1319
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CreatePolicyStoreInput AWS API Documentation
1311
1320
  #
1312
1321
  class CreatePolicyStoreInput < Struct.new(
1313
1322
  :client_token,
1314
1323
  :validation_settings,
1315
1324
  :description,
1316
- :deletion_protection)
1325
+ :deletion_protection,
1326
+ :tags)
1317
1327
  SENSITIVE = [:description]
1318
1328
  include Aws::Structure
1319
1329
  end
@@ -1878,10 +1888,23 @@ module Aws::VerifiedPermissions
1878
1888
  # about.
1879
1889
  # @return [String]
1880
1890
  #
1891
+ # @!attribute [rw] tags
1892
+ # Specifies whether to return the tags that are attached to the policy
1893
+ # store. If this parameter is included in the API call, the tags are
1894
+ # returned, otherwise they are not returned.
1895
+ #
1896
+ # <note markdown="1"> If this parameter is included in the API call but there are no tags
1897
+ # attached to the policy store, the `tags` response parameter is
1898
+ # omitted from the response.
1899
+ #
1900
+ # </note>
1901
+ # @return [Boolean]
1902
+ #
1881
1903
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStoreInput AWS API Documentation
1882
1904
  #
1883
1905
  class GetPolicyStoreInput < Struct.new(
1884
- :policy_store_id)
1906
+ :policy_store_id,
1907
+ :tags)
1885
1908
  SENSITIVE = []
1886
1909
  include Aws::Structure
1887
1910
  end
@@ -1918,6 +1941,20 @@ module Aws::VerifiedPermissions
1918
1941
  # The default state is `DISABLED`.
1919
1942
  # @return [String]
1920
1943
  #
1944
+ # @!attribute [rw] cedar_version
1945
+ # The version of the Cedar language used with policies, policy
1946
+ # templates, and schemas in this policy store. For more information,
1947
+ # see [Amazon Verified Permissions upgrade to Cedar v4 FAQ][1].
1948
+ #
1949
+ #
1950
+ #
1951
+ # [1]: https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/cedar4-faq.html
1952
+ # @return [String]
1953
+ #
1954
+ # @!attribute [rw] tags
1955
+ # The list of tags associated with the policy store.
1956
+ # @return [Hash<String,String>]
1957
+ #
1921
1958
  # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStoreOutput AWS API Documentation
1922
1959
  #
1923
1960
  class GetPolicyStoreOutput < Struct.new(
@@ -1927,7 +1964,9 @@ module Aws::VerifiedPermissions
1927
1964
  :created_date,
1928
1965
  :last_updated_date,
1929
1966
  :description,
1930
- :deletion_protection)
1967
+ :deletion_protection,
1968
+ :cedar_version,
1969
+ :tags)
1931
1970
  SENSITIVE = [:description]
1932
1971
  include Aws::Structure
1933
1972
  end
@@ -2267,9 +2306,11 @@ module Aws::VerifiedPermissions
2267
2306
  # @return [Types::ContextDefinition]
2268
2307
  #
2269
2308
  # @!attribute [rw] entities
2270
- # Specifies the list of resources and principals and their associated
2271
- # attributes that Verified Permissions can examine when evaluating the
2272
- # policies.
2309
+ # (Optional) Specifies the list of resources and principals and their
2310
+ # associated attributes that Verified Permissions can examine when
2311
+ # evaluating the policies. These additional entities and their
2312
+ # attributes can be referenced and checked by conditional elements in
2313
+ # the policies in the specified policy store.
2273
2314
  #
2274
2315
  # <note markdown="1"> You can include only principal and resource entities in this
2275
2316
  # parameter; you can't include actions. You must specify actions in
@@ -2365,8 +2406,11 @@ module Aws::VerifiedPermissions
2365
2406
  # @return [Types::ContextDefinition]
2366
2407
  #
2367
2408
  # @!attribute [rw] entities
2368
- # Specifies the list of resources and their associated attributes that
2369
- # Verified Permissions can examine when evaluating the policies.
2409
+ # (Optional) Specifies the list of resources and their associated
2410
+ # attributes that Verified Permissions can examine when evaluating the
2411
+ # policies. These additional entities and their attributes can be
2412
+ # referenced and checked by conditional elements in the policies in
2413
+ # the specified policy store.
2370
2414
  #
2371
2415
  # You can't include principals in this parameter, only resource and
2372
2416
  # action entities. This parameter can't include any entities of a
@@ -2681,6 +2725,30 @@ module Aws::VerifiedPermissions
2681
2725
  include Aws::Structure
2682
2726
  end
2683
2727
 
2728
+ # @!attribute [rw] resource_arn
2729
+ # The ARN of the resource for which you want to view tags.
2730
+ # @return [String]
2731
+ #
2732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListTagsForResourceInput AWS API Documentation
2733
+ #
2734
+ class ListTagsForResourceInput < Struct.new(
2735
+ :resource_arn)
2736
+ SENSITIVE = []
2737
+ include Aws::Structure
2738
+ end
2739
+
2740
+ # @!attribute [rw] tags
2741
+ # The list of tags associated with the resource.
2742
+ # @return [Hash<String,String>]
2743
+ #
2744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/ListTagsForResourceOutput AWS API Documentation
2745
+ #
2746
+ class ListTagsForResourceOutput < Struct.new(
2747
+ :tags)
2748
+ SENSITIVE = []
2749
+ include Aws::Structure
2750
+ end
2751
+
2684
2752
  # The configuration of an OpenID Connect (OIDC) identity source for
2685
2753
  # handling access token claims. Contains the claim that you want to
2686
2754
  # identify as the principal in an authorization request, and the values
@@ -3814,6 +3882,27 @@ module Aws::VerifiedPermissions
3814
3882
  include Aws::Structure
3815
3883
  end
3816
3884
 
3885
+ # @!attribute [rw] resource_arn
3886
+ # The ARN of the resource that you're adding tags to.
3887
+ # @return [String]
3888
+ #
3889
+ # @!attribute [rw] tags
3890
+ # The list of key-value pairs to associate with the resource.
3891
+ # @return [Hash<String,String>]
3892
+ #
3893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/TagResourceInput AWS API Documentation
3894
+ #
3895
+ class TagResourceInput < Struct.new(
3896
+ :resource_arn,
3897
+ :tags)
3898
+ SENSITIVE = []
3899
+ include Aws::Structure
3900
+ end
3901
+
3902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/TagResourceOutput AWS API Documentation
3903
+ #
3904
+ class TagResourceOutput < Aws::EmptyStructure; end
3905
+
3817
3906
  # Contains information about a policy created by instantiating a policy
3818
3907
  # template.
3819
3908
  #
@@ -3936,6 +4025,46 @@ module Aws::VerifiedPermissions
3936
4025
  include Aws::Structure
3937
4026
  end
3938
4027
 
4028
+ # No more tags be added because the limit (50) has been reached. To add
4029
+ # new tags, use `UntagResource` to remove existing tags.
4030
+ #
4031
+ # @!attribute [rw] message
4032
+ # @return [String]
4033
+ #
4034
+ # @!attribute [rw] resource_name
4035
+ # An Amazon Resource Name (ARN) uniquely identifies an AWS resource.
4036
+ # @return [String]
4037
+ #
4038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/TooManyTagsException AWS API Documentation
4039
+ #
4040
+ class TooManyTagsException < Struct.new(
4041
+ :message,
4042
+ :resource_name)
4043
+ SENSITIVE = []
4044
+ include Aws::Structure
4045
+ end
4046
+
4047
+ # @!attribute [rw] resource_arn
4048
+ # The ARN of the resource from which you are removing tags.
4049
+ # @return [String]
4050
+ #
4051
+ # @!attribute [rw] tag_keys
4052
+ # The list of tag keys to remove from the resource.
4053
+ # @return [Array<String>]
4054
+ #
4055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UntagResourceInput AWS API Documentation
4056
+ #
4057
+ class UntagResourceInput < Struct.new(
4058
+ :resource_arn,
4059
+ :tag_keys)
4060
+ SENSITIVE = []
4061
+ include Aws::Structure
4062
+ end
4063
+
4064
+ # @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/UntagResourceOutput AWS API Documentation
4065
+ #
4066
+ class UntagResourceOutput < Aws::EmptyStructure; end
4067
+
3939
4068
  # The user group entities from an Amazon Cognito user pool identity
3940
4069
  # source.
3941
4070
  #
@@ -55,7 +55,7 @@ module Aws::VerifiedPermissions
55
55
  autoload :EndpointProvider, 'aws-sdk-verifiedpermissions/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-verifiedpermissions/endpoints'
57
57
 
58
- GEM_VERSION = '1.43.0'
58
+ GEM_VERSION = '1.44.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -281,7 +281,8 @@ module Aws
281
281
  mode: ("OFF" | "STRICT")
282
282
  },
283
283
  ?description: ::String,
284
- ?deletion_protection: ("ENABLED" | "DISABLED")
284
+ ?deletion_protection: ("ENABLED" | "DISABLED"),
285
+ ?tags: Hash[::String, ::String]
285
286
  ) -> _CreatePolicyStoreResponseSuccess
286
287
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyStoreResponseSuccess
287
288
 
@@ -386,10 +387,13 @@ module Aws
386
387
  def last_updated_date: () -> ::Time
387
388
  def description: () -> ::String
388
389
  def deletion_protection: () -> ("ENABLED" | "DISABLED")
390
+ def cedar_version: () -> ("CEDAR_2" | "CEDAR_4")
391
+ def tags: () -> ::Hash[::String, ::String]
389
392
  end
390
393
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy_store-instance_method
391
394
  def get_policy_store: (
392
- policy_store_id: ::String
395
+ policy_store_id: ::String,
396
+ ?tags: bool
393
397
  ) -> _GetPolicyStoreResponseSuccess
394
398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyStoreResponseSuccess
395
399
 
@@ -588,6 +592,16 @@ module Aws
588
592
  ) -> _ListPolicyTemplatesResponseSuccess
589
593
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyTemplatesResponseSuccess
590
594
 
595
+ interface _ListTagsForResourceResponseSuccess
596
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
597
+ def tags: () -> ::Hash[::String, ::String]
598
+ end
599
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#list_tags_for_resource-instance_method
600
+ def list_tags_for_resource: (
601
+ resource_arn: ::String
602
+ ) -> _ListTagsForResourceResponseSuccess
603
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
604
+
591
605
  interface _PutSchemaResponseSuccess
592
606
  include ::Seahorse::Client::_ResponseSuccess[Types::PutSchemaOutput]
593
607
  def policy_store_id: () -> ::String
@@ -604,6 +618,26 @@ module Aws
604
618
  ) -> _PutSchemaResponseSuccess
605
619
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSchemaResponseSuccess
606
620
 
621
+ interface _TagResourceResponseSuccess
622
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
623
+ end
624
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#tag_resource-instance_method
625
+ def tag_resource: (
626
+ resource_arn: ::String,
627
+ tags: Hash[::String, ::String]
628
+ ) -> _TagResourceResponseSuccess
629
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
630
+
631
+ interface _UntagResourceResponseSuccess
632
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
633
+ end
634
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#untag_resource-instance_method
635
+ def untag_resource: (
636
+ resource_arn: ::String,
637
+ tag_keys: Array[::String]
638
+ ) -> _UntagResourceResponseSuccess
639
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
640
+
607
641
  interface _UpdateIdentitySourceResponseSuccess
608
642
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentitySourceOutput]
609
643
  def created_date: () -> ::Time
data/sig/errors.rbs CHANGED
@@ -41,6 +41,10 @@ module Aws
41
41
  def service_code: () -> ::String
42
42
  def quota_code: () -> ::String
43
43
  end
44
+ class TooManyTagsException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ def resource_name: () -> ::String
47
+ end
44
48
  class ValidationException < ::Aws::Errors::ServiceError
45
49
  def message: () -> ::String
46
50
  def field_list: () -> ::String
data/sig/types.rbs CHANGED
@@ -285,6 +285,7 @@ module Aws::VerifiedPermissions
285
285
  attr_accessor validation_settings: Types::ValidationSettings
286
286
  attr_accessor description: ::String
287
287
  attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
288
+ attr_accessor tags: ::Hash[::String, ::String]
288
289
  SENSITIVE: [:description]
289
290
  end
290
291
 
@@ -437,6 +438,7 @@ module Aws::VerifiedPermissions
437
438
 
438
439
  class GetPolicyStoreInput
439
440
  attr_accessor policy_store_id: ::String
441
+ attr_accessor tags: bool
440
442
  SENSITIVE: []
441
443
  end
442
444
 
@@ -448,6 +450,8 @@ module Aws::VerifiedPermissions
448
450
  attr_accessor last_updated_date: ::Time
449
451
  attr_accessor description: ::String
450
452
  attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
453
+ attr_accessor cedar_version: ("CEDAR_2" | "CEDAR_4")
454
+ attr_accessor tags: ::Hash[::String, ::String]
451
455
  SENSITIVE: [:description]
452
456
  end
453
457
 
@@ -612,6 +616,16 @@ module Aws::VerifiedPermissions
612
616
  SENSITIVE: []
613
617
  end
614
618
 
619
+ class ListTagsForResourceInput
620
+ attr_accessor resource_arn: ::String
621
+ SENSITIVE: []
622
+ end
623
+
624
+ class ListTagsForResourceOutput
625
+ attr_accessor tags: ::Hash[::String, ::String]
626
+ SENSITIVE: []
627
+ end
628
+
615
629
  class OpenIdConnectAccessTokenConfiguration
616
630
  attr_accessor principal_id_claim: ::String
617
631
  attr_accessor audiences: ::Array[::String]
@@ -878,6 +892,15 @@ module Aws::VerifiedPermissions
878
892
  SENSITIVE: [:description]
879
893
  end
880
894
 
895
+ class TagResourceInput
896
+ attr_accessor resource_arn: ::String
897
+ attr_accessor tags: ::Hash[::String, ::String]
898
+ SENSITIVE: []
899
+ end
900
+
901
+ class TagResourceOutput < Aws::EmptyStructure
902
+ end
903
+
881
904
  class TemplateLinkedPolicyDefinition
882
905
  attr_accessor policy_template_id: ::String
883
906
  attr_accessor principal: Types::EntityIdentifier
@@ -906,6 +929,21 @@ module Aws::VerifiedPermissions
906
929
  SENSITIVE: []
907
930
  end
908
931
 
932
+ class TooManyTagsException
933
+ attr_accessor message: ::String
934
+ attr_accessor resource_name: ::String
935
+ SENSITIVE: []
936
+ end
937
+
938
+ class UntagResourceInput
939
+ attr_accessor resource_arn: ::String
940
+ attr_accessor tag_keys: ::Array[::String]
941
+ SENSITIVE: []
942
+ end
943
+
944
+ class UntagResourceOutput < Aws::EmptyStructure
945
+ end
946
+
909
947
  class UpdateCognitoGroupConfiguration
910
948
  attr_accessor group_entity_type: ::String
911
949
  SENSITIVE: [:group_entity_type]
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-verifiedpermissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.43.0
4
+ version: 1.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-04-11 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: aws-sdk-core
@@ -78,7 +77,6 @@ licenses:
78
77
  metadata:
79
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-verifiedpermissions
80
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-verifiedpermissions/CHANGELOG.md
81
- post_install_message:
82
80
  rdoc_options: []
83
81
  require_paths:
84
82
  - lib
@@ -93,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
91
  - !ruby/object:Gem::Version
94
92
  version: '0'
95
93
  requirements: []
96
- rubygems_version: 3.4.10
97
- signing_key:
94
+ rubygems_version: 3.6.7
98
95
  specification_version: 4
99
96
  summary: AWS SDK for Ruby - Amazon Verified Permissions
100
97
  test_files: []