aws-sdk-verifiedpermissions 1.42.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-verifiedpermissions/client.rb +215 -11
- data/lib/aws-sdk-verifiedpermissions/client_api.rb +107 -14
- data/lib/aws-sdk-verifiedpermissions/errors.rb +37 -0
- data/lib/aws-sdk-verifiedpermissions/types.rb +181 -13
- data/lib/aws-sdk-verifiedpermissions.rb +1 -1
- data/sig/client.rbs +39 -2
- data/sig/errors.rbs +7 -0
- data/sig/types.rbs +46 -0
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e12ecb6bc46cd467561306d4e8368777241e6e5f74e8e0a5b6142f75b112037e
|
4
|
+
data.tar.gz: 47b79b6027a1bf5d8e6ac20728882cfde661fc4e29d5c8768e709a68793ee833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d777128b39c78129c23d594617d1ed6de5df6931de8386b46580bfdf3c9aa6ce103f7c08071b0ea6bfd878e4e08fb0fb4dafa8a48352263a18f6e985d2f336
|
7
|
+
data.tar.gz: e138ebe4efbb54bfe92e7d74a48e7a8d4eb8d7b89683d81e06794c3a0a7ef84ab27fa9ee4e5298293715b0b84e4701dd66d6a4d5462e706f9c8094cccfb85224
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.43.0 (2025-04-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds deletion protection support to policy stores. Deletion protection is disabled by default, can be enabled via the CreatePolicyStore or UpdatePolicyStore APIs, and is visible in GetPolicyStore.
|
13
|
+
|
4
14
|
1.42.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
640
|
-
# attributes that Verified Permissions can examine when
|
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
|
951
|
-
# Verified Permissions can examine when evaluating the
|
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
|
@@ -1649,6 +1654,15 @@ module Aws::VerifiedPermissions
|
|
1649
1654
|
# Descriptive text that you can provide to help with identification of
|
1650
1655
|
# the current policy store.
|
1651
1656
|
#
|
1657
|
+
# @option params [String] :deletion_protection
|
1658
|
+
# Specifies whether the policy store can be deleted. If enabled, the
|
1659
|
+
# policy store can't be deleted.
|
1660
|
+
#
|
1661
|
+
# The default state is `DISABLED`.
|
1662
|
+
#
|
1663
|
+
# @option params [Hash<String,String>] :tags
|
1664
|
+
# The list of key-value pairs to associate with the policy store.
|
1665
|
+
#
|
1652
1666
|
# @return [Types::CreatePolicyStoreOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1653
1667
|
#
|
1654
1668
|
# * {Types::CreatePolicyStoreOutput#policy_store_id #policy_store_id} => String
|
@@ -1684,6 +1698,10 @@ module Aws::VerifiedPermissions
|
|
1684
1698
|
# mode: "OFF", # required, accepts OFF, STRICT
|
1685
1699
|
# },
|
1686
1700
|
# description: "PolicyStoreDescription",
|
1701
|
+
# deletion_protection: "ENABLED", # accepts ENABLED, DISABLED
|
1702
|
+
# tags: {
|
1703
|
+
# "TagKey" => "TagValue",
|
1704
|
+
# },
|
1687
1705
|
# })
|
1688
1706
|
#
|
1689
1707
|
# @example Response structure
|
@@ -2174,6 +2192,17 @@ module Aws::VerifiedPermissions
|
|
2174
2192
|
# @option params [required, String] :policy_store_id
|
2175
2193
|
# Specifies the ID of the policy store that you want information about.
|
2176
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
|
+
#
|
2177
2206
|
# @return [Types::GetPolicyStoreOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2178
2207
|
#
|
2179
2208
|
# * {Types::GetPolicyStoreOutput#policy_store_id #policy_store_id} => String
|
@@ -2182,6 +2211,9 @@ module Aws::VerifiedPermissions
|
|
2182
2211
|
# * {Types::GetPolicyStoreOutput#created_date #created_date} => Time
|
2183
2212
|
# * {Types::GetPolicyStoreOutput#last_updated_date #last_updated_date} => Time
|
2184
2213
|
# * {Types::GetPolicyStoreOutput#description #description} => String
|
2214
|
+
# * {Types::GetPolicyStoreOutput#deletion_protection #deletion_protection} => String
|
2215
|
+
# * {Types::GetPolicyStoreOutput#cedar_version #cedar_version} => String
|
2216
|
+
# * {Types::GetPolicyStoreOutput#tags #tags} => Hash<String,String>
|
2185
2217
|
#
|
2186
2218
|
#
|
2187
2219
|
# @example Example: GetPolicyStore
|
@@ -2207,6 +2239,7 @@ module Aws::VerifiedPermissions
|
|
2207
2239
|
#
|
2208
2240
|
# resp = client.get_policy_store({
|
2209
2241
|
# policy_store_id: "PolicyStoreId", # required
|
2242
|
+
# tags: false,
|
2210
2243
|
# })
|
2211
2244
|
#
|
2212
2245
|
# @example Response structure
|
@@ -2217,6 +2250,10 @@ module Aws::VerifiedPermissions
|
|
2217
2250
|
# resp.created_date #=> Time
|
2218
2251
|
# resp.last_updated_date #=> Time
|
2219
2252
|
# resp.description #=> String
|
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
|
2220
2257
|
#
|
2221
2258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStore AWS API Documentation
|
2222
2259
|
#
|
@@ -2382,9 +2419,11 @@ module Aws::VerifiedPermissions
|
|
2382
2419
|
# authorization decisions.
|
2383
2420
|
#
|
2384
2421
|
# @option params [Types::EntitiesDefinition] :entities
|
2385
|
-
# Specifies the list of resources and principals and their
|
2386
|
-
# attributes that Verified Permissions can examine when
|
2387
|
-
# 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.
|
2388
2427
|
#
|
2389
2428
|
# <note markdown="1"> You can include only principal and resource entities in this
|
2390
2429
|
# parameter; you can't include actions. You must specify actions in the
|
@@ -2582,8 +2621,11 @@ module Aws::VerifiedPermissions
|
|
2582
2621
|
# authorization decisions.
|
2583
2622
|
#
|
2584
2623
|
# @option params [Types::EntitiesDefinition] :entities
|
2585
|
-
# Specifies the list of resources and their associated
|
2586
|
-
# Verified Permissions can examine when evaluating the
|
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.
|
2587
2629
|
#
|
2588
2630
|
# You can't include principals in this parameter, only resource and
|
2589
2631
|
# action entities. This parameter can't include any entities of a type
|
@@ -3251,6 +3293,54 @@ module Aws::VerifiedPermissions
|
|
3251
3293
|
req.send_request(options)
|
3252
3294
|
end
|
3253
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<String,String>
|
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
|
+
|
3254
3344
|
# Creates or updates the policy schema in the specified policy store.
|
3255
3345
|
# The schema is used to validate any Cedar policies and policy templates
|
3256
3346
|
# submitted to the policy store. Any changes to the schema validate only
|
@@ -3336,6 +3426,112 @@ module Aws::VerifiedPermissions
|
|
3336
3426
|
req.send_request(options)
|
3337
3427
|
end
|
3338
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
|
+
|
3339
3535
|
# Updates the specified identity source to use a new identity provider
|
3340
3536
|
# (IdP), or to change the mapping of identities from the IdP to a
|
3341
3537
|
# different principal entity type.
|
@@ -3621,6 +3817,13 @@ module Aws::VerifiedPermissions
|
|
3621
3817
|
# A structure that defines the validation settings that want to enable
|
3622
3818
|
# for the policy store.
|
3623
3819
|
#
|
3820
|
+
# @option params [String] :deletion_protection
|
3821
|
+
# Specifies whether the policy store can be deleted. If enabled, the
|
3822
|
+
# policy store can't be deleted.
|
3823
|
+
#
|
3824
|
+
# When you call `UpdatePolicyStore`, this parameter is unchanged unless
|
3825
|
+
# explicitly included in the call.
|
3826
|
+
#
|
3624
3827
|
# @option params [String] :description
|
3625
3828
|
# Descriptive text that you can provide to help with identification of
|
3626
3829
|
# the current policy store.
|
@@ -3659,6 +3862,7 @@ module Aws::VerifiedPermissions
|
|
3659
3862
|
# validation_settings: { # required
|
3660
3863
|
# mode: "OFF", # required, accepts OFF, STRICT
|
3661
3864
|
# },
|
3865
|
+
# deletion_protection: "ENABLED", # accepts ENABLED, DISABLED
|
3662
3866
|
# description: "PolicyStoreDescription",
|
3663
3867
|
# })
|
3664
3868
|
#
|
@@ -3804,7 +4008,7 @@ module Aws::VerifiedPermissions
|
|
3804
4008
|
tracer: tracer
|
3805
4009
|
)
|
3806
4010
|
context[:gem_name] = 'aws-sdk-verifiedpermissions'
|
3807
|
-
context[:gem_version] = '1.
|
4011
|
+
context[:gem_version] = '1.44.0'
|
3808
4012
|
Seahorse::Client::Request.new(handlers, context)
|
3809
4013
|
end
|
3810
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')
|
@@ -79,6 +81,7 @@ module Aws::VerifiedPermissions
|
|
79
81
|
DeletePolicyStoreOutput = Shapes::StructureShape.new(name: 'DeletePolicyStoreOutput')
|
80
82
|
DeletePolicyTemplateInput = Shapes::StructureShape.new(name: 'DeletePolicyTemplateInput')
|
81
83
|
DeletePolicyTemplateOutput = Shapes::StructureShape.new(name: 'DeletePolicyTemplateOutput')
|
84
|
+
DeletionProtection = Shapes::StringShape.new(name: 'DeletionProtection')
|
82
85
|
DeterminingPolicyItem = Shapes::StructureShape.new(name: 'DeterminingPolicyItem')
|
83
86
|
DeterminingPolicyList = Shapes::ListShape.new(name: 'DeterminingPolicyList')
|
84
87
|
DiscoveryUrl = Shapes::StringShape.new(name: 'DiscoveryUrl')
|
@@ -113,6 +116,7 @@ module Aws::VerifiedPermissions
|
|
113
116
|
IdentitySourceItemDetails = Shapes::StructureShape.new(name: 'IdentitySourceItemDetails')
|
114
117
|
IdentitySources = Shapes::ListShape.new(name: 'IdentitySources')
|
115
118
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
119
|
+
InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
|
116
120
|
IpAddr = Shapes::StringShape.new(name: 'IpAddr')
|
117
121
|
IsAuthorizedInput = Shapes::StructureShape.new(name: 'IsAuthorizedInput')
|
118
122
|
IsAuthorizedOutput = Shapes::StructureShape.new(name: 'IsAuthorizedOutput')
|
@@ -128,6 +132,8 @@ module Aws::VerifiedPermissions
|
|
128
132
|
ListPolicyStoresOutput = Shapes::StructureShape.new(name: 'ListPolicyStoresOutput')
|
129
133
|
ListPolicyTemplatesInput = Shapes::StructureShape.new(name: 'ListPolicyTemplatesInput')
|
130
134
|
ListPolicyTemplatesOutput = Shapes::StructureShape.new(name: 'ListPolicyTemplatesOutput')
|
135
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
136
|
+
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
131
137
|
LongAttribute = Shapes::IntegerShape.new(name: 'LongAttribute')
|
132
138
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
133
139
|
Namespace = Shapes::StringShape.new(name: 'Namespace')
|
@@ -187,12 +193,21 @@ module Aws::VerifiedPermissions
|
|
187
193
|
StaticPolicyDescription = Shapes::StringShape.new(name: 'StaticPolicyDescription')
|
188
194
|
String = Shapes::StringShape.new(name: 'String')
|
189
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')
|
190
202
|
TemplateLinkedPolicyDefinition = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinition')
|
191
203
|
TemplateLinkedPolicyDefinitionDetail = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinitionDetail')
|
192
204
|
TemplateLinkedPolicyDefinitionItem = Shapes::StructureShape.new(name: 'TemplateLinkedPolicyDefinitionItem')
|
193
205
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
194
206
|
TimestampFormat = Shapes::TimestampShape.new(name: 'TimestampFormat', timestampFormat: "iso8601")
|
195
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')
|
196
211
|
UpdateCognitoGroupConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoGroupConfiguration')
|
197
212
|
UpdateCognitoUserPoolConfiguration = Shapes::StructureShape.new(name: 'UpdateCognitoUserPoolConfiguration')
|
198
213
|
UpdateConfiguration = Shapes::UnionShape.new(name: 'UpdateConfiguration')
|
@@ -397,7 +412,7 @@ module Aws::VerifiedPermissions
|
|
397
412
|
ContextMap.key = Shapes::ShapeRef.new(shape: String)
|
398
413
|
ContextMap.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
399
414
|
|
400
|
-
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}))
|
401
416
|
CreateIdentitySourceInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
402
417
|
CreateIdentitySourceInput.add_member(:configuration, Shapes::ShapeRef.new(shape: Configuration, required: true, location_name: "configuration"))
|
403
418
|
CreateIdentitySourceInput.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
|
@@ -409,7 +424,7 @@ module Aws::VerifiedPermissions
|
|
409
424
|
CreateIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
410
425
|
CreateIdentitySourceOutput.struct_class = Types::CreateIdentitySourceOutput
|
411
426
|
|
412
|
-
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}))
|
413
428
|
CreatePolicyInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
414
429
|
CreatePolicyInput.add_member(:definition, Shapes::ShapeRef.new(shape: PolicyDefinition, required: true, location_name: "definition"))
|
415
430
|
CreatePolicyInput.struct_class = Types::CreatePolicyInput
|
@@ -425,9 +440,11 @@ module Aws::VerifiedPermissions
|
|
425
440
|
CreatePolicyOutput.add_member(:effect, Shapes::ShapeRef.new(shape: PolicyEffect, location_name: "effect"))
|
426
441
|
CreatePolicyOutput.struct_class = Types::CreatePolicyOutput
|
427
442
|
|
428
|
-
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}))
|
429
444
|
CreatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
|
430
445
|
CreatePolicyStoreInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
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"))
|
431
448
|
CreatePolicyStoreInput.struct_class = Types::CreatePolicyStoreInput
|
432
449
|
|
433
450
|
CreatePolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -436,7 +453,7 @@ module Aws::VerifiedPermissions
|
|
436
453
|
CreatePolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
437
454
|
CreatePolicyStoreOutput.struct_class = Types::CreatePolicyStoreOutput
|
438
455
|
|
439
|
-
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}))
|
440
457
|
CreatePolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
441
458
|
CreatePolicyTemplateInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyTemplateDescription, location_name: "description"))
|
442
459
|
CreatePolicyTemplateInput.add_member(:statement, Shapes::ShapeRef.new(shape: PolicyStatement, required: true, location_name: "statement"))
|
@@ -516,7 +533,7 @@ module Aws::VerifiedPermissions
|
|
516
533
|
GetIdentitySourceInput.struct_class = Types::GetIdentitySourceInput
|
517
534
|
|
518
535
|
GetIdentitySourceOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
519
|
-
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"}))
|
520
537
|
GetIdentitySourceOutput.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
|
521
538
|
GetIdentitySourceOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
522
539
|
GetIdentitySourceOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -541,6 +558,7 @@ module Aws::VerifiedPermissions
|
|
541
558
|
GetPolicyOutput.struct_class = Types::GetPolicyOutput
|
542
559
|
|
543
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"))
|
544
562
|
GetPolicyStoreInput.struct_class = Types::GetPolicyStoreInput
|
545
563
|
|
546
564
|
GetPolicyStoreOutput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -549,6 +567,9 @@ module Aws::VerifiedPermissions
|
|
549
567
|
GetPolicyStoreOutput.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
550
568
|
GetPolicyStoreOutput.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
551
569
|
GetPolicyStoreOutput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
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"))
|
552
573
|
GetPolicyStoreOutput.struct_class = Types::GetPolicyStoreOutput
|
553
574
|
|
554
575
|
GetPolicyTemplateInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -573,10 +594,10 @@ module Aws::VerifiedPermissions
|
|
573
594
|
GetSchemaOutput.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespaceList, location_name: "namespaces"))
|
574
595
|
GetSchemaOutput.struct_class = Types::GetSchemaOutput
|
575
596
|
|
576
|
-
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"}))
|
577
|
-
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"}))
|
578
|
-
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"}))
|
579
|
-
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"}))
|
580
601
|
IdentitySourceDetails.struct_class = Types::IdentitySourceDetails
|
581
602
|
|
582
603
|
IdentitySourceFilter.add_member(:principal_entity_type, Shapes::ShapeRef.new(shape: PrincipalEntityType, location_name: "principalEntityType"))
|
@@ -585,7 +606,7 @@ module Aws::VerifiedPermissions
|
|
585
606
|
IdentitySourceFilters.member = Shapes::ShapeRef.new(shape: IdentitySourceFilter)
|
586
607
|
|
587
608
|
IdentitySourceItem.add_member(:created_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "createdDate"))
|
588
|
-
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"}))
|
589
610
|
IdentitySourceItem.add_member(:identity_source_id, Shapes::ShapeRef.new(shape: IdentitySourceId, required: true, location_name: "identitySourceId"))
|
590
611
|
IdentitySourceItem.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: TimestampFormat, required: true, location_name: "lastUpdatedDate"))
|
591
612
|
IdentitySourceItem.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
@@ -593,10 +614,10 @@ module Aws::VerifiedPermissions
|
|
593
614
|
IdentitySourceItem.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationItem, location_name: "configuration"))
|
594
615
|
IdentitySourceItem.struct_class = Types::IdentitySourceItem
|
595
616
|
|
596
|
-
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"}))
|
597
|
-
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"}))
|
598
|
-
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"}))
|
599
|
-
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"}))
|
600
621
|
IdentitySourceItemDetails.struct_class = Types::IdentitySourceItemDetails
|
601
622
|
|
602
623
|
IdentitySources.member = Shapes::ShapeRef.new(shape: IdentitySourceItem)
|
@@ -604,6 +625,9 @@ module Aws::VerifiedPermissions
|
|
604
625
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
605
626
|
InternalServerException.struct_class = Types::InternalServerException
|
606
627
|
|
628
|
+
InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
629
|
+
InvalidStateException.struct_class = Types::InvalidStateException
|
630
|
+
|
607
631
|
IsAuthorizedInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
608
632
|
IsAuthorizedInput.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
|
609
633
|
IsAuthorizedInput.add_member(:action, Shapes::ShapeRef.new(shape: ActionIdentifier, location_name: "action"))
|
@@ -669,6 +693,12 @@ module Aws::VerifiedPermissions
|
|
669
693
|
ListPolicyTemplatesOutput.add_member(:policy_templates, Shapes::ShapeRef.new(shape: PolicyTemplatesList, required: true, location_name: "policyTemplates"))
|
670
694
|
ListPolicyTemplatesOutput.struct_class = Types::ListPolicyTemplatesOutput
|
671
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
|
+
|
672
702
|
NamespaceList.member = Shapes::ShapeRef.new(shape: Namespace)
|
673
703
|
|
674
704
|
OpenIdConnectAccessTokenConfiguration.add_member(:principal_id_claim, Shapes::ShapeRef.new(shape: Claim, location_name: "principalIdClaim"))
|
@@ -863,6 +893,17 @@ module Aws::VerifiedPermissions
|
|
863
893
|
StaticPolicyDefinitionItem.add_member(:description, Shapes::ShapeRef.new(shape: StaticPolicyDescription, location_name: "description"))
|
864
894
|
StaticPolicyDefinitionItem.struct_class = Types::StaticPolicyDefinitionItem
|
865
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
|
+
|
866
907
|
TemplateLinkedPolicyDefinition.add_member(:policy_template_id, Shapes::ShapeRef.new(shape: PolicyTemplateId, required: true, location_name: "policyTemplateId"))
|
867
908
|
TemplateLinkedPolicyDefinition.add_member(:principal, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "principal"))
|
868
909
|
TemplateLinkedPolicyDefinition.add_member(:resource, Shapes::ShapeRef.new(shape: EntityIdentifier, location_name: "resource"))
|
@@ -883,6 +924,16 @@ module Aws::VerifiedPermissions
|
|
883
924
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
884
925
|
ThrottlingException.struct_class = Types::ThrottlingException
|
885
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
|
+
|
886
937
|
UpdateCognitoGroupConfiguration.add_member(:group_entity_type, Shapes::ShapeRef.new(shape: GroupEntityType, required: true, location_name: "groupEntityType"))
|
887
938
|
UpdateCognitoGroupConfiguration.struct_class = Types::UpdateCognitoGroupConfiguration
|
888
939
|
|
@@ -961,6 +1012,7 @@ module Aws::VerifiedPermissions
|
|
961
1012
|
|
962
1013
|
UpdatePolicyStoreInput.add_member(:policy_store_id, Shapes::ShapeRef.new(shape: PolicyStoreId, required: true, location_name: "policyStoreId"))
|
963
1014
|
UpdatePolicyStoreInput.add_member(:validation_settings, Shapes::ShapeRef.new(shape: ValidationSettings, required: true, location_name: "validationSettings"))
|
1015
|
+
UpdatePolicyStoreInput.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "deletionProtection"))
|
964
1016
|
UpdatePolicyStoreInput.add_member(:description, Shapes::ShapeRef.new(shape: PolicyStoreDescription, location_name: "description"))
|
965
1017
|
UpdatePolicyStoreInput.struct_class = Types::UpdatePolicyStoreInput
|
966
1018
|
|
@@ -1152,6 +1204,7 @@ module Aws::VerifiedPermissions
|
|
1152
1204
|
o.input = Shapes::ShapeRef.new(shape: DeletePolicyStoreInput)
|
1153
1205
|
o.output = Shapes::ShapeRef.new(shape: DeletePolicyStoreOutput)
|
1154
1206
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1207
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
1155
1208
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1156
1209
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1157
1210
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -1337,6 +1390,19 @@ module Aws::VerifiedPermissions
|
|
1337
1390
|
)
|
1338
1391
|
end)
|
1339
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
|
+
|
1340
1406
|
api.add_operation(:put_schema, Seahorse::Model::Operation.new.tap do |o|
|
1341
1407
|
o.name = "PutSchema"
|
1342
1408
|
o.http_method = "POST"
|
@@ -1352,6 +1418,33 @@ module Aws::VerifiedPermissions
|
|
1352
1418
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1353
1419
|
end)
|
1354
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
|
+
|
1355
1448
|
api.add_operation(:update_identity_source, Seahorse::Model::Operation.new.tap do |o|
|
1356
1449
|
o.name = "UpdateIdentitySource"
|
1357
1450
|
o.http_method = "POST"
|
@@ -30,9 +30,11 @@ module Aws::VerifiedPermissions
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ConflictException}
|
32
32
|
# * {InternalServerException}
|
33
|
+
# * {InvalidStateException}
|
33
34
|
# * {ResourceNotFoundException}
|
34
35
|
# * {ServiceQuotaExceededException}
|
35
36
|
# * {ThrottlingException}
|
37
|
+
# * {TooManyTagsException}
|
36
38
|
# * {ValidationException}
|
37
39
|
#
|
38
40
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -95,6 +97,21 @@ module Aws::VerifiedPermissions
|
|
95
97
|
end
|
96
98
|
end
|
97
99
|
|
100
|
+
class InvalidStateException < ServiceError
|
101
|
+
|
102
|
+
# @param [Seahorse::Client::RequestContext] context
|
103
|
+
# @param [String] message
|
104
|
+
# @param [Aws::VerifiedPermissions::Types::InvalidStateException] data
|
105
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
106
|
+
super(context, message, data)
|
107
|
+
end
|
108
|
+
|
109
|
+
# @return [String]
|
110
|
+
def message
|
111
|
+
@message || @data[:message]
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
98
115
|
class ResourceNotFoundException < ServiceError
|
99
116
|
|
100
117
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -188,6 +205,26 @@ module Aws::VerifiedPermissions
|
|
188
205
|
end
|
189
206
|
end
|
190
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
|
+
|
191
228
|
class ValidationException < ServiceError
|
192
229
|
|
193
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
|
323
|
-
# attributes that Verified Permissions can examine when
|
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
|
464
|
-
# Verified Permissions can examine when evaluating the
|
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
|
@@ -1300,12 +1305,25 @@ module Aws::VerifiedPermissions
|
|
1300
1305
|
# the current policy store.
|
1301
1306
|
# @return [String]
|
1302
1307
|
#
|
1308
|
+
# @!attribute [rw] deletion_protection
|
1309
|
+
# Specifies whether the policy store can be deleted. If enabled, the
|
1310
|
+
# policy store can't be deleted.
|
1311
|
+
#
|
1312
|
+
# The default state is `DISABLED`.
|
1313
|
+
# @return [String]
|
1314
|
+
#
|
1315
|
+
# @!attribute [rw] tags
|
1316
|
+
# The list of key-value pairs to associate with the policy store.
|
1317
|
+
# @return [Hash<String,String>]
|
1318
|
+
#
|
1303
1319
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/CreatePolicyStoreInput AWS API Documentation
|
1304
1320
|
#
|
1305
1321
|
class CreatePolicyStoreInput < Struct.new(
|
1306
1322
|
:client_token,
|
1307
1323
|
:validation_settings,
|
1308
|
-
:description
|
1324
|
+
:description,
|
1325
|
+
:deletion_protection,
|
1326
|
+
:tags)
|
1309
1327
|
SENSITIVE = [:description]
|
1310
1328
|
include Aws::Structure
|
1311
1329
|
end
|
@@ -1870,10 +1888,23 @@ module Aws::VerifiedPermissions
|
|
1870
1888
|
# about.
|
1871
1889
|
# @return [String]
|
1872
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
|
+
#
|
1873
1903
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStoreInput AWS API Documentation
|
1874
1904
|
#
|
1875
1905
|
class GetPolicyStoreInput < Struct.new(
|
1876
|
-
:policy_store_id
|
1906
|
+
:policy_store_id,
|
1907
|
+
:tags)
|
1877
1908
|
SENSITIVE = []
|
1878
1909
|
include Aws::Structure
|
1879
1910
|
end
|
@@ -1903,6 +1934,27 @@ module Aws::VerifiedPermissions
|
|
1903
1934
|
# the current policy store.
|
1904
1935
|
# @return [String]
|
1905
1936
|
#
|
1937
|
+
# @!attribute [rw] deletion_protection
|
1938
|
+
# Specifies whether the policy store can be deleted. If enabled, the
|
1939
|
+
# policy store can't be deleted.
|
1940
|
+
#
|
1941
|
+
# The default state is `DISABLED`.
|
1942
|
+
# @return [String]
|
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
|
+
#
|
1906
1958
|
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/GetPolicyStoreOutput AWS API Documentation
|
1907
1959
|
#
|
1908
1960
|
class GetPolicyStoreOutput < Struct.new(
|
@@ -1911,7 +1963,10 @@ module Aws::VerifiedPermissions
|
|
1911
1963
|
:validation_settings,
|
1912
1964
|
:created_date,
|
1913
1965
|
:last_updated_date,
|
1914
|
-
:description
|
1966
|
+
:description,
|
1967
|
+
:deletion_protection,
|
1968
|
+
:cedar_version,
|
1969
|
+
:tags)
|
1915
1970
|
SENSITIVE = [:description]
|
1916
1971
|
include Aws::Structure
|
1917
1972
|
end
|
@@ -2211,6 +2266,20 @@ module Aws::VerifiedPermissions
|
|
2211
2266
|
include Aws::Structure
|
2212
2267
|
end
|
2213
2268
|
|
2269
|
+
# The policy store can't be deleted because deletion protection is
|
2270
|
+
# enabled. To delete this policy store, disable deletion protection.
|
2271
|
+
#
|
2272
|
+
# @!attribute [rw] message
|
2273
|
+
# @return [String]
|
2274
|
+
#
|
2275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/InvalidStateException AWS API Documentation
|
2276
|
+
#
|
2277
|
+
class InvalidStateException < Struct.new(
|
2278
|
+
:message)
|
2279
|
+
SENSITIVE = []
|
2280
|
+
include Aws::Structure
|
2281
|
+
end
|
2282
|
+
|
2214
2283
|
# @!attribute [rw] policy_store_id
|
2215
2284
|
# Specifies the ID of the policy store. Policies in this policy store
|
2216
2285
|
# will be used to make an authorization decision for the input.
|
@@ -2237,9 +2306,11 @@ module Aws::VerifiedPermissions
|
|
2237
2306
|
# @return [Types::ContextDefinition]
|
2238
2307
|
#
|
2239
2308
|
# @!attribute [rw] entities
|
2240
|
-
# Specifies the list of resources and principals and their
|
2241
|
-
# attributes that Verified Permissions can examine when
|
2242
|
-
# 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.
|
2243
2314
|
#
|
2244
2315
|
# <note markdown="1"> You can include only principal and resource entities in this
|
2245
2316
|
# parameter; you can't include actions. You must specify actions in
|
@@ -2335,8 +2406,11 @@ module Aws::VerifiedPermissions
|
|
2335
2406
|
# @return [Types::ContextDefinition]
|
2336
2407
|
#
|
2337
2408
|
# @!attribute [rw] entities
|
2338
|
-
# Specifies the list of resources and their associated
|
2339
|
-
# Verified Permissions can examine when evaluating the
|
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.
|
2340
2414
|
#
|
2341
2415
|
# You can't include principals in this parameter, only resource and
|
2342
2416
|
# action entities. This parameter can't include any entities of a
|
@@ -2651,6 +2725,30 @@ module Aws::VerifiedPermissions
|
|
2651
2725
|
include Aws::Structure
|
2652
2726
|
end
|
2653
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
|
+
|
2654
2752
|
# The configuration of an OpenID Connect (OIDC) identity source for
|
2655
2753
|
# handling access token claims. Contains the claim that you want to
|
2656
2754
|
# identify as the principal in an authorization request, and the values
|
@@ -3784,6 +3882,27 @@ module Aws::VerifiedPermissions
|
|
3784
3882
|
include Aws::Structure
|
3785
3883
|
end
|
3786
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
|
+
|
3787
3906
|
# Contains information about a policy created by instantiating a policy
|
3788
3907
|
# template.
|
3789
3908
|
#
|
@@ -3906,6 +4025,46 @@ module Aws::VerifiedPermissions
|
|
3906
4025
|
include Aws::Structure
|
3907
4026
|
end
|
3908
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
|
+
|
3909
4068
|
# The user group entities from an Amazon Cognito user pool identity
|
3910
4069
|
# source.
|
3911
4070
|
#
|
@@ -4383,6 +4542,14 @@ module Aws::VerifiedPermissions
|
|
4383
4542
|
# for the policy store.
|
4384
4543
|
# @return [Types::ValidationSettings]
|
4385
4544
|
#
|
4545
|
+
# @!attribute [rw] deletion_protection
|
4546
|
+
# Specifies whether the policy store can be deleted. If enabled, the
|
4547
|
+
# policy store can't be deleted.
|
4548
|
+
#
|
4549
|
+
# When you call `UpdatePolicyStore`, this parameter is unchanged
|
4550
|
+
# unless explicitly included in the call.
|
4551
|
+
# @return [String]
|
4552
|
+
#
|
4386
4553
|
# @!attribute [rw] description
|
4387
4554
|
# Descriptive text that you can provide to help with identification of
|
4388
4555
|
# the current policy store.
|
@@ -4393,6 +4560,7 @@ module Aws::VerifiedPermissions
|
|
4393
4560
|
class UpdatePolicyStoreInput < Struct.new(
|
4394
4561
|
:policy_store_id,
|
4395
4562
|
:validation_settings,
|
4563
|
+
:deletion_protection,
|
4396
4564
|
:description)
|
4397
4565
|
SENSITIVE = [:description]
|
4398
4566
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
@@ -280,7 +280,9 @@ module Aws
|
|
280
280
|
validation_settings: {
|
281
281
|
mode: ("OFF" | "STRICT")
|
282
282
|
},
|
283
|
-
?description: ::String
|
283
|
+
?description: ::String,
|
284
|
+
?deletion_protection: ("ENABLED" | "DISABLED"),
|
285
|
+
?tags: Hash[::String, ::String]
|
284
286
|
) -> _CreatePolicyStoreResponseSuccess
|
285
287
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePolicyStoreResponseSuccess
|
286
288
|
|
@@ -384,10 +386,14 @@ module Aws
|
|
384
386
|
def created_date: () -> ::Time
|
385
387
|
def last_updated_date: () -> ::Time
|
386
388
|
def description: () -> ::String
|
389
|
+
def deletion_protection: () -> ("ENABLED" | "DISABLED")
|
390
|
+
def cedar_version: () -> ("CEDAR_2" | "CEDAR_4")
|
391
|
+
def tags: () -> ::Hash[::String, ::String]
|
387
392
|
end
|
388
393
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/VerifiedPermissions/Client.html#get_policy_store-instance_method
|
389
394
|
def get_policy_store: (
|
390
|
-
policy_store_id: ::String
|
395
|
+
policy_store_id: ::String,
|
396
|
+
?tags: bool
|
391
397
|
) -> _GetPolicyStoreResponseSuccess
|
392
398
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPolicyStoreResponseSuccess
|
393
399
|
|
@@ -586,6 +592,16 @@ module Aws
|
|
586
592
|
) -> _ListPolicyTemplatesResponseSuccess
|
587
593
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPolicyTemplatesResponseSuccess
|
588
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
|
+
|
589
605
|
interface _PutSchemaResponseSuccess
|
590
606
|
include ::Seahorse::Client::_ResponseSuccess[Types::PutSchemaOutput]
|
591
607
|
def policy_store_id: () -> ::String
|
@@ -602,6 +618,26 @@ module Aws
|
|
602
618
|
) -> _PutSchemaResponseSuccess
|
603
619
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSchemaResponseSuccess
|
604
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
|
+
|
605
641
|
interface _UpdateIdentitySourceResponseSuccess
|
606
642
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentitySourceOutput]
|
607
643
|
def created_date: () -> ::Time
|
@@ -682,6 +718,7 @@ module Aws
|
|
682
718
|
validation_settings: {
|
683
719
|
mode: ("OFF" | "STRICT")
|
684
720
|
},
|
721
|
+
?deletion_protection: ("ENABLED" | "DISABLED"),
|
685
722
|
?description: ::String
|
686
723
|
) -> _UpdatePolicyStoreResponseSuccess
|
687
724
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePolicyStoreResponseSuccess
|
data/sig/errors.rbs
CHANGED
@@ -21,6 +21,9 @@ module Aws
|
|
21
21
|
class InternalServerException < ::Aws::Errors::ServiceError
|
22
22
|
def message: () -> ::String
|
23
23
|
end
|
24
|
+
class InvalidStateException < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
end
|
24
27
|
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
25
28
|
def message: () -> ::String
|
26
29
|
def resource_id: () -> ::String
|
@@ -38,6 +41,10 @@ module Aws
|
|
38
41
|
def service_code: () -> ::String
|
39
42
|
def quota_code: () -> ::String
|
40
43
|
end
|
44
|
+
class TooManyTagsException < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
def resource_name: () -> ::String
|
47
|
+
end
|
41
48
|
class ValidationException < ::Aws::Errors::ServiceError
|
42
49
|
def message: () -> ::String
|
43
50
|
def field_list: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -284,6 +284,8 @@ module Aws::VerifiedPermissions
|
|
284
284
|
attr_accessor client_token: ::String
|
285
285
|
attr_accessor validation_settings: Types::ValidationSettings
|
286
286
|
attr_accessor description: ::String
|
287
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
288
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
287
289
|
SENSITIVE: [:description]
|
288
290
|
end
|
289
291
|
|
@@ -436,6 +438,7 @@ module Aws::VerifiedPermissions
|
|
436
438
|
|
437
439
|
class GetPolicyStoreInput
|
438
440
|
attr_accessor policy_store_id: ::String
|
441
|
+
attr_accessor tags: bool
|
439
442
|
SENSITIVE: []
|
440
443
|
end
|
441
444
|
|
@@ -446,6 +449,9 @@ module Aws::VerifiedPermissions
|
|
446
449
|
attr_accessor created_date: ::Time
|
447
450
|
attr_accessor last_updated_date: ::Time
|
448
451
|
attr_accessor description: ::String
|
452
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
453
|
+
attr_accessor cedar_version: ("CEDAR_2" | "CEDAR_4")
|
454
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
449
455
|
SENSITIVE: [:description]
|
450
456
|
end
|
451
457
|
|
@@ -516,6 +522,11 @@ module Aws::VerifiedPermissions
|
|
516
522
|
SENSITIVE: []
|
517
523
|
end
|
518
524
|
|
525
|
+
class InvalidStateException
|
526
|
+
attr_accessor message: ::String
|
527
|
+
SENSITIVE: []
|
528
|
+
end
|
529
|
+
|
519
530
|
class IsAuthorizedInput
|
520
531
|
attr_accessor policy_store_id: ::String
|
521
532
|
attr_accessor principal: Types::EntityIdentifier
|
@@ -605,6 +616,16 @@ module Aws::VerifiedPermissions
|
|
605
616
|
SENSITIVE: []
|
606
617
|
end
|
607
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
|
+
|
608
629
|
class OpenIdConnectAccessTokenConfiguration
|
609
630
|
attr_accessor principal_id_claim: ::String
|
610
631
|
attr_accessor audiences: ::Array[::String]
|
@@ -871,6 +892,15 @@ module Aws::VerifiedPermissions
|
|
871
892
|
SENSITIVE: [:description]
|
872
893
|
end
|
873
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
|
+
|
874
904
|
class TemplateLinkedPolicyDefinition
|
875
905
|
attr_accessor policy_template_id: ::String
|
876
906
|
attr_accessor principal: Types::EntityIdentifier
|
@@ -899,6 +929,21 @@ module Aws::VerifiedPermissions
|
|
899
929
|
SENSITIVE: []
|
900
930
|
end
|
901
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
|
+
|
902
947
|
class UpdateCognitoGroupConfiguration
|
903
948
|
attr_accessor group_entity_type: ::String
|
904
949
|
SENSITIVE: [:group_entity_type]
|
@@ -1015,6 +1060,7 @@ module Aws::VerifiedPermissions
|
|
1015
1060
|
class UpdatePolicyStoreInput
|
1016
1061
|
attr_accessor policy_store_id: ::String
|
1017
1062
|
attr_accessor validation_settings: Types::ValidationSettings
|
1063
|
+
attr_accessor deletion_protection: ("ENABLED" | "DISABLED")
|
1018
1064
|
attr_accessor description: ::String
|
1019
1065
|
SENSITIVE: [:description]
|
1020
1066
|
end
|
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.
|
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:
|
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.
|
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: []
|