aws-sdk-ram 1.99.0 → 1.100.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: bce71f08d0f9a2c48db695a445cc2cff7a4bb9530239a9cd5257c53e8ddfb4ff
4
- data.tar.gz: 72cdfba713a7e256e5c64abe1d109bb438e5f6bb44d8307009180238bc7d4135
3
+ metadata.gz: 8530377d531c3f6ced9a93af9f12f8ef0b7685b426f2d50a80e57a3402817e86
4
+ data.tar.gz: 8e04fc64f017d360d08e7bb2fbb0f3c0ada71cd99c36a3bdeed4023fa1d2cfbf
5
5
  SHA512:
6
- metadata.gz: 66bfac7787be7e7a2c0489219657b4fcaa2484bb9f264c397d125951846ef6886baf7851e9d03ccda89e719a061e60fc1a2232a40cd38792d72306c19685a0ec
7
- data.tar.gz: d3c1305008b225dd05769599069d39df99dad107232ff17c99953dd1db92458654b9049a85c4fcd668f8a7a05abd1cf027b57ecf1557d915afbbdf5727967db8
6
+ metadata.gz: 395c927680235cda8483af6cd329b1f5bf74ad4e63ea09a0e66511968b1f804734130ee603478a64e590f74afe545d8fc4884faf62a19312606bb7d175bc8427
7
+ data.tar.gz: cebb3482b97e16e4d67aab0f3575f7f69e3f71a0895b87c9dfb25dda147888a7bcd0f66444ebae2cb411276e01a69c19883dfd0c1415e00140956d451fb305e7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2026-11-06)
5
+ ------------------
6
+
7
+ * Feature - Adds support for using managed permission template parameters, discovering shared customer-managed permissions, and managing customer-managed permission deprecation.
8
+
4
9
  1.99.0 (2026-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.100.0
@@ -708,6 +708,12 @@ module Aws::RAM
708
708
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
709
709
  # [2]: https://console.aws.amazon.com/ram/home#Permissions:
710
710
  #
711
+ # @option params [Array<Types::PermissionTemplateParameterInput>] :permission_template_parameters
712
+ # Specifies the template parameter values for the permission being
713
+ # associated. You must provide values for all parameters declared in the
714
+ # permission template. This parameter is required only if the specified
715
+ # permission has template parameters.
716
+ #
711
717
  # @option params [Boolean] :replace
712
718
  # Specifies whether the specified permission should replace the existing
713
719
  # permission associated with the resource share. Use `true` to replace
@@ -765,6 +771,12 @@ module Aws::RAM
765
771
  # resp = client.associate_resource_share_permission({
766
772
  # resource_share_arn: "String", # required
767
773
  # permission_arn: "String", # required
774
+ # permission_template_parameters: [
775
+ # {
776
+ # name: "String",
777
+ # values: ["String"],
778
+ # },
779
+ # ],
768
780
  # replace: false,
769
781
  # client_token: "String",
770
782
  # permission_version: 1,
@@ -834,6 +846,14 @@ module Aws::RAM
834
846
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html
835
847
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html
836
848
  #
849
+ # @option params [Array<Types::PermissionTemplateParameterDeclaration>] :permission_template_parameters
850
+ # Specifies a list of template parameter declarations for this
851
+ # permission. Each declaration defines a named placeholder that can be
852
+ # used in the policy template using the syntax `@{parameterName}`.
853
+ # Template parameters can only appear in Condition Key and Condition
854
+ # Value fields of the policy. When you associate this permission with a
855
+ # resource share, you must provide values for all declared parameters.
856
+ #
837
857
  # @option params [String] :client_token
838
858
  # Specifies a unique, case-sensitive identifier that you provide to
839
859
  # ensure the idempotency of the request. This lets you safely retry the
@@ -868,6 +888,13 @@ module Aws::RAM
868
888
  # name: "PermissionName", # required
869
889
  # resource_type: "String", # required
870
890
  # policy_template: "Policy", # required
891
+ # permission_template_parameters: [
892
+ # {
893
+ # name: "String",
894
+ # type: "STRING", # accepts STRING, STRING_LIST
895
+ # description: "String",
896
+ # },
897
+ # ],
871
898
  # client_token: "String",
872
899
  # tags: [
873
900
  # {
@@ -890,9 +917,16 @@ module Aws::RAM
890
917
  # resp.permission.is_resource_type_default #=> Boolean
891
918
  # resp.permission.permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
892
919
  # resp.permission.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
920
+ # resp.permission.permission_template_parameters #=> Array
921
+ # resp.permission.permission_template_parameters[0].name #=> String
922
+ # resp.permission.permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
923
+ # resp.permission.permission_template_parameters[0].description #=> String
924
+ # resp.permission.permission_template_parameters[0].values #=> Array
925
+ # resp.permission.permission_template_parameters[0].values[0] #=> String
893
926
  # resp.permission.tags #=> Array
894
927
  # resp.permission.tags[0].key #=> String
895
928
  # resp.permission.tags[0].value #=> String
929
+ # resp.permission.resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
896
930
  # resp.client_token #=> String
897
931
  #
898
932
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreatePermission AWS API Documentation
@@ -954,6 +988,13 @@ module Aws::RAM
954
988
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/reference_policies_actions-resources-contextkeys.html
955
989
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html
956
990
  #
991
+ # @option params [Array<Types::PermissionTemplateParameterDeclaration>] :permission_template_parameters
992
+ # Specifies a list of template parameter declarations for this version
993
+ # of the permission. Each declaration defines a named placeholder that
994
+ # can be used in the policy template. Because each version is
995
+ # independent, you can define the same or a different set of template
996
+ # parameters for each version.
997
+ #
957
998
  # @option params [String] :client_token
958
999
  # Specifies a unique, case-sensitive identifier that you provide to
959
1000
  # ensure the idempotency of the request. This lets you safely retry the
@@ -983,6 +1024,13 @@ module Aws::RAM
983
1024
  # resp = client.create_permission_version({
984
1025
  # permission_arn: "String", # required
985
1026
  # policy_template: "Policy", # required
1027
+ # permission_template_parameters: [
1028
+ # {
1029
+ # name: "String",
1030
+ # type: "STRING", # accepts STRING, STRING_LIST
1031
+ # description: "String",
1032
+ # },
1033
+ # ],
986
1034
  # client_token: "String",
987
1035
  # })
988
1036
  #
@@ -994,15 +1042,20 @@ module Aws::RAM
994
1042
  # resp.permission.name #=> String
995
1043
  # resp.permission.resource_type #=> String
996
1044
  # resp.permission.permission #=> String
1045
+ # resp.permission.permission_template_parameters #=> Array
1046
+ # resp.permission.permission_template_parameters[0].name #=> String
1047
+ # resp.permission.permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
1048
+ # resp.permission.permission_template_parameters[0].description #=> String
997
1049
  # resp.permission.creation_time #=> Time
998
1050
  # resp.permission.last_updated_time #=> Time
999
1051
  # resp.permission.is_resource_type_default #=> Boolean
1000
1052
  # resp.permission.permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
1001
1053
  # resp.permission.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
1002
- # resp.permission.status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED"
1054
+ # resp.permission.status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED", "DEPRECATED"
1003
1055
  # resp.permission.tags #=> Array
1004
1056
  # resp.permission.tags[0].key #=> String
1005
1057
  # resp.permission.tags[0].value #=> String
1058
+ # resp.permission.resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
1006
1059
  # resp.client_token #=> String
1007
1060
  #
1008
1061
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreatePermissionVersion AWS API Documentation
@@ -1123,6 +1176,13 @@ module Aws::RAM
1123
1176
  # prevent confused deputy attacks by applying constraints on where
1124
1177
  # service principals can access resources from.
1125
1178
  #
1179
+ # @option params [Array<Types::PermissionArnAndTemplateParameters>] :permission_template_parameters
1180
+ # Specifies the template parameter values for each permission being
1181
+ # associated that has template parameters. Each entry maps a permission
1182
+ # ARN to the parameter values to use when rendering the permission
1183
+ # template for this resource share. You must provide values for all
1184
+ # parameters declared in each permission template.
1185
+ #
1126
1186
  # @option params [Types::ResourceShareConfiguration] :resource_share_configuration
1127
1187
  # Specifies the configuration of this resource share.
1128
1188
  #
@@ -1147,6 +1207,17 @@ module Aws::RAM
1147
1207
  # client_token: "String",
1148
1208
  # permission_arns: ["String"],
1149
1209
  # sources: ["String"],
1210
+ # permission_template_parameters: [
1211
+ # {
1212
+ # permission_arn: "String",
1213
+ # permission_template_parameters: [
1214
+ # {
1215
+ # name: "String",
1216
+ # values: ["String"],
1217
+ # },
1218
+ # ],
1219
+ # },
1220
+ # ],
1150
1221
  # resource_share_configuration: {
1151
1222
  # retain_sharing_on_account_leave_organization: false,
1152
1223
  # },
@@ -1228,7 +1299,7 @@ module Aws::RAM
1228
1299
  #
1229
1300
  # resp.return_value #=> Boolean
1230
1301
  # resp.client_token #=> String
1231
- # resp.permission_status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED"
1302
+ # resp.permission_status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED", "DEPRECATED"
1232
1303
  #
1233
1304
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeletePermission AWS API Documentation
1234
1305
  #
@@ -1308,7 +1379,7 @@ module Aws::RAM
1308
1379
  #
1309
1380
  # resp.return_value #=> Boolean
1310
1381
  # resp.client_token #=> String
1311
- # resp.permission_status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED"
1382
+ # resp.permission_status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED", "DEPRECATED"
1312
1383
  #
1313
1384
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeletePermissionVersion AWS API Documentation
1314
1385
  #
@@ -1598,6 +1669,13 @@ module Aws::RAM
1598
1669
 
1599
1670
  # Retrieves the contents of a managed permission in JSON format.
1600
1671
  #
1672
+ # If the permission has template parameters, you can include the
1673
+ # `permissionTemplateParameters` parameter in your request. The
1674
+ # operation then renders the returned policy with the specified values
1675
+ # in place of the template parameter placeholders. If you omit
1676
+ # `permissionTemplateParameters`, the operation returns the raw policy
1677
+ # template with `@{parameterName}` placeholders unchanged.
1678
+ #
1601
1679
  # @option params [required, String] :permission_arn
1602
1680
  # Specifies the [Amazon Resource Name (ARN)][1] of the permission whose
1603
1681
  # contents you want to retrieve. To find the ARN for a permission, use
@@ -1617,6 +1695,20 @@ module Aws::RAM
1617
1695
  #
1618
1696
  # To see the list of available versions, use ListPermissionVersions.
1619
1697
  #
1698
+ # @option params [Array<Types::PermissionTemplateParameterInput>] :permission_template_parameters
1699
+ # Specifies the template parameter values to use when rendering the
1700
+ # permission's policy template. Each entry supplies a parameter name
1701
+ # and its values. When you provide this parameter, the response contains
1702
+ # the rendered policy with the specified values in place of the template
1703
+ # parameter placeholders.
1704
+ #
1705
+ # For `STRING` type parameters, provide a single value. For
1706
+ # `STRING_LIST` type parameters, provide one or more values.
1707
+ #
1708
+ # You can specify this parameter only for permissions that declare
1709
+ # template parameters. You must provide values for all parameters
1710
+ # declared in the permission template.
1711
+ #
1620
1712
  # @return [Types::GetPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1621
1713
  #
1622
1714
  # * {Types::GetPermissionResponse#permission #permission} => Types::ResourceSharePermissionDetail
@@ -1626,6 +1718,12 @@ module Aws::RAM
1626
1718
  # resp = client.get_permission({
1627
1719
  # permission_arn: "String", # required
1628
1720
  # permission_version: 1,
1721
+ # permission_template_parameters: [
1722
+ # {
1723
+ # name: "String",
1724
+ # values: ["String"],
1725
+ # },
1726
+ # ],
1629
1727
  # })
1630
1728
  #
1631
1729
  # @example Response structure
@@ -1636,15 +1734,20 @@ module Aws::RAM
1636
1734
  # resp.permission.name #=> String
1637
1735
  # resp.permission.resource_type #=> String
1638
1736
  # resp.permission.permission #=> String
1737
+ # resp.permission.permission_template_parameters #=> Array
1738
+ # resp.permission.permission_template_parameters[0].name #=> String
1739
+ # resp.permission.permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
1740
+ # resp.permission.permission_template_parameters[0].description #=> String
1639
1741
  # resp.permission.creation_time #=> Time
1640
1742
  # resp.permission.last_updated_time #=> Time
1641
1743
  # resp.permission.is_resource_type_default #=> Boolean
1642
1744
  # resp.permission.permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
1643
1745
  # resp.permission.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
1644
- # resp.permission.status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED"
1746
+ # resp.permission.status #=> String, one of "ATTACHABLE", "UNATTACHABLE", "DELETING", "DELETED", "DEPRECATED"
1645
1747
  # resp.permission.tags #=> Array
1646
1748
  # resp.permission.tags[0].key #=> String
1647
1749
  # resp.permission.tags[0].value #=> String
1750
+ # resp.permission.resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
1648
1751
  #
1649
1752
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission AWS API Documentation
1650
1753
  #
@@ -2207,6 +2310,26 @@ module Aws::RAM
2207
2310
  # When `false` (the default value), lists associations with resource
2208
2311
  # shares that use any version of the specified managed permission.
2209
2312
  #
2313
+ # @option params [String] :resource_owner
2314
+ # Specifies that you want to list only those associations with resource
2315
+ # shares owned by a specific entity:
2316
+ #
2317
+ # * `SELF` – returns only associations with resource shares owned by the
2318
+ # calling account.
2319
+ #
2320
+ # * `OTHER-ACCOUNTS` – returns only associations with resource shares
2321
+ # owned by other Amazon Web Services accounts.
2322
+ #
2323
+ # If you don't specify this parameter, the default is `SELF`.
2324
+ #
2325
+ # @option params [String] :resource_share_arn
2326
+ # Specifies the [Amazon Resource Name (ARN)][1] of the resource share
2327
+ # for which you want to retrieve permission associations.
2328
+ #
2329
+ #
2330
+ #
2331
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2332
+ #
2210
2333
  # @option params [String] :next_token
2211
2334
  # Specifies that you want to receive the next page of results. Valid
2212
2335
  # only if you received a `NextToken` response in the previous request.
@@ -2242,6 +2365,8 @@ module Aws::RAM
2242
2365
  # resource_type: "String",
2243
2366
  # feature_set: "CREATED_FROM_POLICY", # accepts CREATED_FROM_POLICY, PROMOTING_TO_STANDARD, STANDARD
2244
2367
  # default_version: false,
2368
+ # resource_owner: "SELF", # accepts SELF, OTHER-ACCOUNTS
2369
+ # resource_share_arn: "String",
2245
2370
  # next_token: "String",
2246
2371
  # max_results: 1,
2247
2372
  # })
@@ -2257,6 +2382,12 @@ module Aws::RAM
2257
2382
  # resp.permissions[0].feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
2258
2383
  # resp.permissions[0].last_updated_time #=> Time
2259
2384
  # resp.permissions[0].resource_share_arn #=> String
2385
+ # resp.permissions[0].permission_template_parameters #=> Array
2386
+ # resp.permissions[0].permission_template_parameters[0].name #=> String
2387
+ # resp.permissions[0].permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
2388
+ # resp.permissions[0].permission_template_parameters[0].description #=> String
2389
+ # resp.permissions[0].permission_template_parameters[0].values #=> Array
2390
+ # resp.permissions[0].permission_template_parameters[0].values[0] #=> String
2260
2391
  # resp.next_token #=> String
2261
2392
  #
2262
2393
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionAssociations AWS API Documentation
@@ -2336,9 +2467,16 @@ module Aws::RAM
2336
2467
  # resp.permissions[0].is_resource_type_default #=> Boolean
2337
2468
  # resp.permissions[0].permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
2338
2469
  # resp.permissions[0].feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
2470
+ # resp.permissions[0].permission_template_parameters #=> Array
2471
+ # resp.permissions[0].permission_template_parameters[0].name #=> String
2472
+ # resp.permissions[0].permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
2473
+ # resp.permissions[0].permission_template_parameters[0].description #=> String
2474
+ # resp.permissions[0].permission_template_parameters[0].values #=> Array
2475
+ # resp.permissions[0].permission_template_parameters[0].values[0] #=> String
2339
2476
  # resp.permissions[0].tags #=> Array
2340
2477
  # resp.permissions[0].tags[0].key #=> String
2341
2478
  # resp.permissions[0].tags[0].value #=> String
2479
+ # resp.permissions[0].resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
2342
2480
  # resp.next_token #=> String
2343
2481
  #
2344
2482
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionVersions AWS API Documentation
@@ -2369,6 +2507,15 @@ module Aws::RAM
2369
2507
  # subnets, specify `ec2:subnet`. You can use the ListResourceTypes
2370
2508
  # operation to get the specific string required.
2371
2509
  #
2510
+ # @option params [String] :resource_owner
2511
+ # Specifies that you want to list only permissions owned by a specific
2512
+ # entity:
2513
+ #
2514
+ # * `SELF` – returns only permissions owned by the calling account.
2515
+ #
2516
+ # * `OTHER-ACCOUNTS` – returns only permissions shared with the calling
2517
+ # account by other accounts.
2518
+ #
2372
2519
  # @option params [String] :next_token
2373
2520
  # Specifies that you want to receive the next page of results. Valid
2374
2521
  # only if you received a `NextToken` response in the previous request.
@@ -2400,6 +2547,12 @@ module Aws::RAM
2400
2547
  #
2401
2548
  # If you don't specify this parameter, the default is `All`.
2402
2549
  #
2550
+ # @option params [String] :permission_status
2551
+ # Specifies that you want to filter the results to include only
2552
+ # permissions with the specified status. For example, use `ATTACHABLE`
2553
+ # to list only permissions that can be associated with resource shares,
2554
+ # or `DEPRECATED` to list only deprecated permissions.
2555
+ #
2403
2556
  # @return [Types::ListPermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2404
2557
  #
2405
2558
  # * {Types::ListPermissionsResponse#permissions #permissions} => Array&lt;Types::ResourceSharePermissionSummary&gt;
@@ -2411,9 +2564,11 @@ module Aws::RAM
2411
2564
  #
2412
2565
  # resp = client.list_permissions({
2413
2566
  # resource_type: "String",
2567
+ # resource_owner: "SELF", # accepts SELF, OTHER-ACCOUNTS
2414
2568
  # next_token: "String",
2415
2569
  # max_results: 1,
2416
2570
  # permission_type: "ALL", # accepts ALL, AWS_MANAGED, CUSTOMER_MANAGED
2571
+ # permission_status: "ATTACHABLE", # accepts ATTACHABLE, UNATTACHABLE, DELETING, DELETED, DEPRECATED
2417
2572
  # })
2418
2573
  #
2419
2574
  # @example Response structure
@@ -2430,9 +2585,16 @@ module Aws::RAM
2430
2585
  # resp.permissions[0].is_resource_type_default #=> Boolean
2431
2586
  # resp.permissions[0].permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
2432
2587
  # resp.permissions[0].feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
2588
+ # resp.permissions[0].permission_template_parameters #=> Array
2589
+ # resp.permissions[0].permission_template_parameters[0].name #=> String
2590
+ # resp.permissions[0].permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
2591
+ # resp.permissions[0].permission_template_parameters[0].description #=> String
2592
+ # resp.permissions[0].permission_template_parameters[0].values #=> Array
2593
+ # resp.permissions[0].permission_template_parameters[0].values[0] #=> String
2433
2594
  # resp.permissions[0].tags #=> Array
2434
2595
  # resp.permissions[0].tags[0].key #=> String
2435
2596
  # resp.permissions[0].tags[0].value #=> String
2597
+ # resp.permissions[0].resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
2436
2598
  # resp.next_token #=> String
2437
2599
  #
2438
2600
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions AWS API Documentation
@@ -2642,6 +2804,12 @@ module Aws::RAM
2642
2804
  # resp.replace_permission_associations_works[0].from_permission_version #=> String
2643
2805
  # resp.replace_permission_associations_works[0].to_permission_arn #=> String
2644
2806
  # resp.replace_permission_associations_works[0].to_permission_version #=> String
2807
+ # resp.replace_permission_associations_works[0].permission_template_parameters #=> Array
2808
+ # resp.replace_permission_associations_works[0].permission_template_parameters[0].name #=> String
2809
+ # resp.replace_permission_associations_works[0].permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
2810
+ # resp.replace_permission_associations_works[0].permission_template_parameters[0].description #=> String
2811
+ # resp.replace_permission_associations_works[0].permission_template_parameters[0].values #=> Array
2812
+ # resp.replace_permission_associations_works[0].permission_template_parameters[0].values[0] #=> String
2645
2813
  # resp.replace_permission_associations_works[0].status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
2646
2814
  # resp.replace_permission_associations_works[0].status_message #=> String
2647
2815
  # resp.replace_permission_associations_works[0].creation_time #=> Time
@@ -2723,9 +2891,16 @@ module Aws::RAM
2723
2891
  # resp.permissions[0].is_resource_type_default #=> Boolean
2724
2892
  # resp.permissions[0].permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
2725
2893
  # resp.permissions[0].feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
2894
+ # resp.permissions[0].permission_template_parameters #=> Array
2895
+ # resp.permissions[0].permission_template_parameters[0].name #=> String
2896
+ # resp.permissions[0].permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
2897
+ # resp.permissions[0].permission_template_parameters[0].description #=> String
2898
+ # resp.permissions[0].permission_template_parameters[0].values #=> Array
2899
+ # resp.permissions[0].permission_template_parameters[0].values[0] #=> String
2726
2900
  # resp.permissions[0].tags #=> Array
2727
2901
  # resp.permissions[0].tags[0].key #=> String
2728
2902
  # resp.permissions[0].tags[0].value #=> String
2903
+ # resp.permissions[0].resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
2729
2904
  # resp.next_token #=> String
2730
2905
  #
2731
2906
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions AWS API Documentation
@@ -3095,9 +3270,16 @@ module Aws::RAM
3095
3270
  # resp.permission.is_resource_type_default #=> Boolean
3096
3271
  # resp.permission.permission_type #=> String, one of "CUSTOMER_MANAGED", "AWS_MANAGED"
3097
3272
  # resp.permission.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
3273
+ # resp.permission.permission_template_parameters #=> Array
3274
+ # resp.permission.permission_template_parameters[0].name #=> String
3275
+ # resp.permission.permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
3276
+ # resp.permission.permission_template_parameters[0].description #=> String
3277
+ # resp.permission.permission_template_parameters[0].values #=> Array
3278
+ # resp.permission.permission_template_parameters[0].values[0] #=> String
3098
3279
  # resp.permission.tags #=> Array
3099
3280
  # resp.permission.tags[0].key #=> String
3100
3281
  # resp.permission.tags[0].value #=> String
3282
+ # resp.permission.resource_owner #=> String, one of "SELF", "OTHER-ACCOUNTS"
3101
3283
  # resp.client_token #=> String
3102
3284
  #
3103
3285
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromotePermissionCreatedFromPolicy AWS API Documentation
@@ -3273,6 +3455,12 @@ module Aws::RAM
3273
3455
  # The operation always associates the version that is currently the
3274
3456
  # default for the specified managed permission.
3275
3457
  #
3458
+ # @option params [Array<Types::PermissionTemplateParameterInput>] :permission_template_parameters
3459
+ # Specifies the template parameter values to apply when replacing the
3460
+ # permission. You must provide values for all parameters declared in the
3461
+ # target permission template. This parameter is required only if the
3462
+ # target permission (`toPermissionArn`) has template parameters.
3463
+ #
3276
3464
  # @option params [String] :client_token
3277
3465
  # Specifies a unique, case-sensitive identifier that you provide to
3278
3466
  # ensure the idempotency of the request. This lets you safely retry the
@@ -3303,6 +3491,12 @@ module Aws::RAM
3303
3491
  # from_permission_arn: "String", # required
3304
3492
  # from_permission_version: 1,
3305
3493
  # to_permission_arn: "String", # required
3494
+ # permission_template_parameters: [
3495
+ # {
3496
+ # name: "String",
3497
+ # values: ["String"],
3498
+ # },
3499
+ # ],
3306
3500
  # client_token: "String",
3307
3501
  # })
3308
3502
  #
@@ -3313,6 +3507,12 @@ module Aws::RAM
3313
3507
  # resp.replace_permission_associations_work.from_permission_version #=> String
3314
3508
  # resp.replace_permission_associations_work.to_permission_arn #=> String
3315
3509
  # resp.replace_permission_associations_work.to_permission_version #=> String
3510
+ # resp.replace_permission_associations_work.permission_template_parameters #=> Array
3511
+ # resp.replace_permission_associations_work.permission_template_parameters[0].name #=> String
3512
+ # resp.replace_permission_associations_work.permission_template_parameters[0].type #=> String, one of "STRING", "STRING_LIST"
3513
+ # resp.replace_permission_associations_work.permission_template_parameters[0].description #=> String
3514
+ # resp.replace_permission_associations_work.permission_template_parameters[0].values #=> Array
3515
+ # resp.replace_permission_associations_work.permission_template_parameters[0].values[0] #=> String
3316
3516
  # resp.replace_permission_associations_work.status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
3317
3517
  # resp.replace_permission_associations_work.status_message #=> String
3318
3518
  # resp.replace_permission_associations_work.creation_time #=> Time
@@ -3492,6 +3692,92 @@ module Aws::RAM
3492
3692
  req.send_request(options)
3493
3693
  end
3494
3694
 
3695
+ # Updates the status of the specified customer managed permission.
3696
+ #
3697
+ # Setting the status to `DEPRECATED` prevents new resource share
3698
+ # associations. Setting it to `ATTACHABLE` restores a previously
3699
+ # deprecated permission. Existing resource shares that use the
3700
+ # permission continue to function.
3701
+ #
3702
+ # @option params [required, String] :permission_arn
3703
+ # Specifies the [Amazon Resource Name (ARN)][1] of the customer managed
3704
+ # permission that you want to update.
3705
+ #
3706
+ #
3707
+ #
3708
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3709
+ #
3710
+ # @option params [required, String] :status
3711
+ # Specifies the new status for the permission. This can be one of the
3712
+ # following values:
3713
+ #
3714
+ # * `ATTACHABLE` – Restores a previously deprecated permission so it can
3715
+ # be associated with resource shares again.
3716
+ #
3717
+ # * `DEPRECATED` – Deprecates the permission so it can no longer be
3718
+ # associated with new resource shares.
3719
+ #
3720
+ # @option params [String] :client_token
3721
+ # Specifies a unique, case-sensitive identifier that you provide to
3722
+ # ensure the idempotency of the request. This lets you safely retry the
3723
+ # request without accidentally performing the same operation a second
3724
+ # time. Passing the same value to a later call to an operation requires
3725
+ # that you also pass the same value for all other parameters. We
3726
+ # recommend that you use a [UUID type of value.][1].
3727
+ #
3728
+ # If you don't provide this value, then Amazon Web Services generates a
3729
+ # random one for you.
3730
+ #
3731
+ # If you retry the operation with the same `ClientToken`, but with
3732
+ # different parameters, the retry fails with an
3733
+ # `IdempotentParameterMismatch` error.
3734
+ #
3735
+ #
3736
+ #
3737
+ # [1]: https://wikipedia.org/wiki/Universally_unique_identifier
3738
+ #
3739
+ # @return [Types::UpdatePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3740
+ #
3741
+ # * {Types::UpdatePermissionResponse#client_token #client_token} => String
3742
+ # * {Types::UpdatePermissionResponse#permission_status #permission_status} => String
3743
+ #
3744
+ #
3745
+ # @example Example: Deprecate a managed permission
3746
+ #
3747
+ # # Deprecates a customer managed permission so it can no longer be associated with new resource shares.
3748
+ #
3749
+ # resp = client.update_permission({
3750
+ # permission_arn: "arn:aws:ram:us-east-1:123456789012:permission/AnyCompanyImageBuilderPermission",
3751
+ # status: "DEPRECATED",
3752
+ # })
3753
+ #
3754
+ # resp.to_h outputs the following:
3755
+ # {
3756
+ # permission_status: "DEPRECATED",
3757
+ # }
3758
+ #
3759
+ # @example Request syntax with placeholder values
3760
+ #
3761
+ # resp = client.update_permission({
3762
+ # permission_arn: "String", # required
3763
+ # status: "ATTACHABLE", # required, accepts ATTACHABLE, DEPRECATED
3764
+ # client_token: "String",
3765
+ # })
3766
+ #
3767
+ # @example Response structure
3768
+ #
3769
+ # resp.client_token #=> String
3770
+ # resp.permission_status #=> String, one of "ATTACHABLE", "DEPRECATED"
3771
+ #
3772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdatePermission AWS API Documentation
3773
+ #
3774
+ # @overload update_permission(params = {})
3775
+ # @param [Hash] params ({})
3776
+ def update_permission(params = {}, options = {})
3777
+ req = build_request(:update_permission, params)
3778
+ req.send_request(options)
3779
+ end
3780
+
3495
3781
  # Modifies some of the properties of the specified resource share.
3496
3782
  #
3497
3783
  # @option params [required, String] :resource_share_arn
@@ -3587,7 +3873,7 @@ module Aws::RAM
3587
3873
  tracer: tracer
3588
3874
  )
3589
3875
  context[:gem_name] = 'aws-sdk-ram'
3590
- context[:gem_version] = '1.99.0'
3876
+ context[:gem_version] = '1.100.0'
3591
3877
  Seahorse::Client::Request.new(handlers, context)
3592
3878
  end
3593
3879