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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ram/client.rb +291 -5
- data/lib/aws-sdk-ram/client_api.rb +85 -0
- data/lib/aws-sdk-ram/types.rb +381 -7
- data/lib/aws-sdk-ram.rb +1 -1
- data/sig/client.rbs +64 -4
- data/sig/types.rbs +59 -3
- metadata +3 -3
data/lib/aws-sdk-ram/types.rb
CHANGED
|
@@ -91,6 +91,13 @@ module Aws::RAM
|
|
|
91
91
|
# [2]: https://console.aws.amazon.com/ram/home#Permissions:
|
|
92
92
|
# @return [String]
|
|
93
93
|
#
|
|
94
|
+
# @!attribute [rw] permission_template_parameters
|
|
95
|
+
# Specifies the template parameter values for the permission being
|
|
96
|
+
# associated. You must provide values for all parameters declared in
|
|
97
|
+
# the permission template. This parameter is required only if the
|
|
98
|
+
# specified permission has template parameters.
|
|
99
|
+
# @return [Array<Types::PermissionTemplateParameterInput>]
|
|
100
|
+
#
|
|
94
101
|
# @!attribute [rw] replace
|
|
95
102
|
# Specifies whether the specified permission should replace the
|
|
96
103
|
# existing permission associated with the resource share. Use `true`
|
|
@@ -147,6 +154,7 @@ module Aws::RAM
|
|
|
147
154
|
class AssociateResourceSharePermissionRequest < Struct.new(
|
|
148
155
|
:resource_share_arn,
|
|
149
156
|
:permission_arn,
|
|
157
|
+
:permission_template_parameters,
|
|
150
158
|
:replace,
|
|
151
159
|
:client_token,
|
|
152
160
|
:permission_version)
|
|
@@ -338,6 +346,10 @@ module Aws::RAM
|
|
|
338
346
|
# deleted.
|
|
339
347
|
#
|
|
340
348
|
# * `DELETED` – This permission or version is deleted.
|
|
349
|
+
#
|
|
350
|
+
# * `DEPRECATED` – The permission owner deprecated this permission. It
|
|
351
|
+
# can't be associated with new resource shares, but existing
|
|
352
|
+
# associations continue to function.
|
|
341
353
|
# @return [String]
|
|
342
354
|
#
|
|
343
355
|
# @!attribute [rw] feature_set
|
|
@@ -381,6 +393,13 @@ module Aws::RAM
|
|
|
381
393
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
382
394
|
# @return [String]
|
|
383
395
|
#
|
|
396
|
+
# @!attribute [rw] permission_template_parameters
|
|
397
|
+
# The template parameter values provided when the permission was
|
|
398
|
+
# associated with this resource share. If the permission has no
|
|
399
|
+
# declared template parameters, this member doesn't appear in the
|
|
400
|
+
# response.
|
|
401
|
+
# @return [Array<Types::PermissionTemplateParameter>]
|
|
402
|
+
#
|
|
384
403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociatedPermission AWS API Documentation
|
|
385
404
|
#
|
|
386
405
|
class AssociatedPermission < Struct.new(
|
|
@@ -391,7 +410,8 @@ module Aws::RAM
|
|
|
391
410
|
:status,
|
|
392
411
|
:feature_set,
|
|
393
412
|
:last_updated_time,
|
|
394
|
-
:resource_share_arn
|
|
413
|
+
:resource_share_arn,
|
|
414
|
+
:permission_template_parameters)
|
|
395
415
|
SENSITIVE = []
|
|
396
416
|
include Aws::Structure
|
|
397
417
|
end
|
|
@@ -493,6 +513,16 @@ module Aws::RAM
|
|
|
493
513
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html
|
|
494
514
|
# @return [String]
|
|
495
515
|
#
|
|
516
|
+
# @!attribute [rw] permission_template_parameters
|
|
517
|
+
# Specifies a list of template parameter declarations for this
|
|
518
|
+
# permission. Each declaration defines a named placeholder that can be
|
|
519
|
+
# used in the policy template using the syntax `@{parameterName}`.
|
|
520
|
+
# Template parameters can only appear in Condition Key and Condition
|
|
521
|
+
# Value fields of the policy. When you associate this permission with
|
|
522
|
+
# a resource share, you must provide values for all declared
|
|
523
|
+
# parameters.
|
|
524
|
+
# @return [Array<Types::PermissionTemplateParameterDeclaration>]
|
|
525
|
+
#
|
|
496
526
|
# @!attribute [rw] client_token
|
|
497
527
|
# Specifies a unique, case-sensitive identifier that you provide to
|
|
498
528
|
# ensure the idempotency of the request. This lets you safely retry
|
|
@@ -524,6 +554,7 @@ module Aws::RAM
|
|
|
524
554
|
:name,
|
|
525
555
|
:resource_type,
|
|
526
556
|
:policy_template,
|
|
557
|
+
:permission_template_parameters,
|
|
527
558
|
:client_token,
|
|
528
559
|
:tags)
|
|
529
560
|
SENSITIVE = []
|
|
@@ -592,6 +623,14 @@ module Aws::RAM
|
|
|
592
623
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html
|
|
593
624
|
# @return [String]
|
|
594
625
|
#
|
|
626
|
+
# @!attribute [rw] permission_template_parameters
|
|
627
|
+
# Specifies a list of template parameter declarations for this version
|
|
628
|
+
# of the permission. Each declaration defines a named placeholder that
|
|
629
|
+
# can be used in the policy template. Because each version is
|
|
630
|
+
# independent, you can define the same or a different set of template
|
|
631
|
+
# parameters for each version.
|
|
632
|
+
# @return [Array<Types::PermissionTemplateParameterDeclaration>]
|
|
633
|
+
#
|
|
595
634
|
# @!attribute [rw] client_token
|
|
596
635
|
# Specifies a unique, case-sensitive identifier that you provide to
|
|
597
636
|
# ensure the idempotency of the request. This lets you safely retry
|
|
@@ -617,13 +656,20 @@ module Aws::RAM
|
|
|
617
656
|
class CreatePermissionVersionRequest < Struct.new(
|
|
618
657
|
:permission_arn,
|
|
619
658
|
:policy_template,
|
|
659
|
+
:permission_template_parameters,
|
|
620
660
|
:client_token)
|
|
621
661
|
SENSITIVE = []
|
|
622
662
|
include Aws::Structure
|
|
623
663
|
end
|
|
624
664
|
|
|
625
665
|
# @!attribute [rw] permission
|
|
626
|
-
#
|
|
666
|
+
# The details of the new permission version, including its [Amazon
|
|
667
|
+
# Resource Name (ARN)][1], version number, status, and policy
|
|
668
|
+
# document.
|
|
669
|
+
#
|
|
670
|
+
#
|
|
671
|
+
#
|
|
672
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
627
673
|
# @return [Types::ResourceSharePermissionDetail]
|
|
628
674
|
#
|
|
629
675
|
# @!attribute [rw] client_token
|
|
@@ -746,6 +792,14 @@ module Aws::RAM
|
|
|
746
792
|
# service principals can access resources from.
|
|
747
793
|
# @return [Array<String>]
|
|
748
794
|
#
|
|
795
|
+
# @!attribute [rw] permission_template_parameters
|
|
796
|
+
# Specifies the template parameter values for each permission being
|
|
797
|
+
# associated that has template parameters. Each entry maps a
|
|
798
|
+
# permission ARN to the parameter values to use when rendering the
|
|
799
|
+
# permission template for this resource share. You must provide values
|
|
800
|
+
# for all parameters declared in each permission template.
|
|
801
|
+
# @return [Array<Types::PermissionArnAndTemplateParameters>]
|
|
802
|
+
#
|
|
749
803
|
# @!attribute [rw] resource_share_configuration
|
|
750
804
|
# Specifies the configuration of this resource share.
|
|
751
805
|
# @return [Types::ResourceShareConfiguration]
|
|
@@ -761,6 +815,7 @@ module Aws::RAM
|
|
|
761
815
|
:client_token,
|
|
762
816
|
:permission_arns,
|
|
763
817
|
:sources,
|
|
818
|
+
:permission_template_parameters,
|
|
764
819
|
:resource_share_configuration)
|
|
765
820
|
SENSITIVE = []
|
|
766
821
|
include Aws::Structure
|
|
@@ -1225,11 +1280,27 @@ module Aws::RAM
|
|
|
1225
1280
|
# To see the list of available versions, use ListPermissionVersions.
|
|
1226
1281
|
# @return [Integer]
|
|
1227
1282
|
#
|
|
1283
|
+
# @!attribute [rw] permission_template_parameters
|
|
1284
|
+
# Specifies the template parameter values to use when rendering the
|
|
1285
|
+
# permission's policy template. Each entry supplies a parameter name
|
|
1286
|
+
# and its values. When you provide this parameter, the response
|
|
1287
|
+
# contains the rendered policy with the specified values in place of
|
|
1288
|
+
# the template parameter placeholders.
|
|
1289
|
+
#
|
|
1290
|
+
# For `STRING` type parameters, provide a single value. For
|
|
1291
|
+
# `STRING_LIST` type parameters, provide one or more values.
|
|
1292
|
+
#
|
|
1293
|
+
# You can specify this parameter only for permissions that declare
|
|
1294
|
+
# template parameters. You must provide values for all parameters
|
|
1295
|
+
# declared in the permission template.
|
|
1296
|
+
# @return [Array<Types::PermissionTemplateParameterInput>]
|
|
1297
|
+
#
|
|
1228
1298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermissionRequest AWS API Documentation
|
|
1229
1299
|
#
|
|
1230
1300
|
class GetPermissionRequest < Struct.new(
|
|
1231
1301
|
:permission_arn,
|
|
1232
|
-
:permission_version
|
|
1302
|
+
:permission_version,
|
|
1303
|
+
:permission_template_parameters)
|
|
1233
1304
|
SENSITIVE = []
|
|
1234
1305
|
include Aws::Structure
|
|
1235
1306
|
end
|
|
@@ -1837,6 +1908,28 @@ module Aws::RAM
|
|
|
1837
1908
|
# shares that use any version of the specified managed permission.
|
|
1838
1909
|
# @return [Boolean]
|
|
1839
1910
|
#
|
|
1911
|
+
# @!attribute [rw] resource_owner
|
|
1912
|
+
# Specifies that you want to list only those associations with
|
|
1913
|
+
# resource shares owned by a specific entity:
|
|
1914
|
+
#
|
|
1915
|
+
# * `SELF` – returns only associations with resource shares owned by
|
|
1916
|
+
# the calling account.
|
|
1917
|
+
#
|
|
1918
|
+
# * `OTHER-ACCOUNTS` – returns only associations with resource shares
|
|
1919
|
+
# owned by other Amazon Web Services accounts.
|
|
1920
|
+
#
|
|
1921
|
+
# If you don't specify this parameter, the default is `SELF`.
|
|
1922
|
+
# @return [String]
|
|
1923
|
+
#
|
|
1924
|
+
# @!attribute [rw] resource_share_arn
|
|
1925
|
+
# Specifies the [Amazon Resource Name (ARN)][1] of the resource share
|
|
1926
|
+
# for which you want to retrieve permission associations.
|
|
1927
|
+
#
|
|
1928
|
+
#
|
|
1929
|
+
#
|
|
1930
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
1931
|
+
# @return [String]
|
|
1932
|
+
#
|
|
1840
1933
|
# @!attribute [rw] next_token
|
|
1841
1934
|
# Specifies that you want to receive the next page of results. Valid
|
|
1842
1935
|
# only if you received a `NextToken` response in the previous request.
|
|
@@ -1867,6 +1960,8 @@ module Aws::RAM
|
|
|
1867
1960
|
:resource_type,
|
|
1868
1961
|
:feature_set,
|
|
1869
1962
|
:default_version,
|
|
1963
|
+
:resource_owner,
|
|
1964
|
+
:resource_share_arn,
|
|
1870
1965
|
:next_token,
|
|
1871
1966
|
:max_results)
|
|
1872
1967
|
SENSITIVE = []
|
|
@@ -1969,6 +2064,16 @@ module Aws::RAM
|
|
|
1969
2064
|
# operation to get the specific string required.
|
|
1970
2065
|
# @return [String]
|
|
1971
2066
|
#
|
|
2067
|
+
# @!attribute [rw] resource_owner
|
|
2068
|
+
# Specifies that you want to list only permissions owned by a specific
|
|
2069
|
+
# entity:
|
|
2070
|
+
#
|
|
2071
|
+
# * `SELF` – returns only permissions owned by the calling account.
|
|
2072
|
+
#
|
|
2073
|
+
# * `OTHER-ACCOUNTS` – returns only permissions shared with the
|
|
2074
|
+
# calling account by other accounts.
|
|
2075
|
+
# @return [String]
|
|
2076
|
+
#
|
|
1972
2077
|
# @!attribute [rw] next_token
|
|
1973
2078
|
# Specifies that you want to receive the next page of results. Valid
|
|
1974
2079
|
# only if you received a `NextToken` response in the previous request.
|
|
@@ -2003,13 +2108,22 @@ module Aws::RAM
|
|
|
2003
2108
|
# If you don't specify this parameter, the default is `All`.
|
|
2004
2109
|
# @return [String]
|
|
2005
2110
|
#
|
|
2111
|
+
# @!attribute [rw] permission_status
|
|
2112
|
+
# Specifies that you want to filter the results to include only
|
|
2113
|
+
# permissions with the specified status. For example, use `ATTACHABLE`
|
|
2114
|
+
# to list only permissions that can be associated with resource
|
|
2115
|
+
# shares, or `DEPRECATED` to list only deprecated permissions.
|
|
2116
|
+
# @return [String]
|
|
2117
|
+
#
|
|
2006
2118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionsRequest AWS API Documentation
|
|
2007
2119
|
#
|
|
2008
2120
|
class ListPermissionsRequest < Struct.new(
|
|
2009
2121
|
:resource_type,
|
|
2122
|
+
:resource_owner,
|
|
2010
2123
|
:next_token,
|
|
2011
2124
|
:max_results,
|
|
2012
|
-
:permission_type
|
|
2125
|
+
:permission_type,
|
|
2126
|
+
:permission_status)
|
|
2013
2127
|
SENSITIVE = []
|
|
2014
2128
|
include Aws::Structure
|
|
2015
2129
|
end
|
|
@@ -2617,6 +2731,34 @@ module Aws::RAM
|
|
|
2617
2731
|
include Aws::Structure
|
|
2618
2732
|
end
|
|
2619
2733
|
|
|
2734
|
+
# Contains a permission ARN and its associated template parameter
|
|
2735
|
+
# values. The CreateResourceShare operation uses this structure when
|
|
2736
|
+
# associating permissions that have template parameters.
|
|
2737
|
+
#
|
|
2738
|
+
# @!attribute [rw] permission_arn
|
|
2739
|
+
# The [Amazon Resource Name (ARN)][1] of the permission to associate
|
|
2740
|
+
# with the resource share.
|
|
2741
|
+
#
|
|
2742
|
+
#
|
|
2743
|
+
#
|
|
2744
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
2745
|
+
# @return [String]
|
|
2746
|
+
#
|
|
2747
|
+
# @!attribute [rw] permission_template_parameters
|
|
2748
|
+
# The list of template parameter values to assign for this permission.
|
|
2749
|
+
# You must provide values for all parameters declared in the
|
|
2750
|
+
# permission template.
|
|
2751
|
+
# @return [Array<Types::PermissionTemplateParameterInput>]
|
|
2752
|
+
#
|
|
2753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PermissionArnAndTemplateParameters AWS API Documentation
|
|
2754
|
+
#
|
|
2755
|
+
class PermissionArnAndTemplateParameters < Struct.new(
|
|
2756
|
+
:permission_arn,
|
|
2757
|
+
:permission_template_parameters)
|
|
2758
|
+
SENSITIVE = []
|
|
2759
|
+
include Aws::Structure
|
|
2760
|
+
end
|
|
2761
|
+
|
|
2620
2762
|
# The operation failed because it would exceed the maximum number of
|
|
2621
2763
|
# permissions you can create in each Amazon Web Services Region. To view
|
|
2622
2764
|
# the limits for your Amazon Web Services account, see the [RAM page in
|
|
@@ -2637,6 +2779,104 @@ module Aws::RAM
|
|
|
2637
2779
|
include Aws::Structure
|
|
2638
2780
|
end
|
|
2639
2781
|
|
|
2782
|
+
# Contains the declaration of a template parameter for a customer
|
|
2783
|
+
# managed permission. When returned in the context of a permission
|
|
2784
|
+
# association, it also includes the values assigned to that parameter.
|
|
2785
|
+
#
|
|
2786
|
+
# @!attribute [rw] name
|
|
2787
|
+
# The name of the template parameter.
|
|
2788
|
+
# @return [String]
|
|
2789
|
+
#
|
|
2790
|
+
# @!attribute [rw] type
|
|
2791
|
+
# The type of the template parameter. This can be one of the following
|
|
2792
|
+
# values:
|
|
2793
|
+
#
|
|
2794
|
+
# * `STRING` – A single string value.
|
|
2795
|
+
#
|
|
2796
|
+
# * `STRING_LIST` – One or more string values.
|
|
2797
|
+
# @return [String]
|
|
2798
|
+
#
|
|
2799
|
+
# @!attribute [rw] description
|
|
2800
|
+
# A description of the template parameter.
|
|
2801
|
+
# @return [String]
|
|
2802
|
+
#
|
|
2803
|
+
# @!attribute [rw] values
|
|
2804
|
+
# The values assigned to this template parameter in the context of a
|
|
2805
|
+
# permission association. This field is present only when the
|
|
2806
|
+
# parameter has been assigned values (for example, in the response
|
|
2807
|
+
# from ListPermissionAssociations or ListResourceSharePermissions).
|
|
2808
|
+
# @return [Array<String>]
|
|
2809
|
+
#
|
|
2810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PermissionTemplateParameter AWS API Documentation
|
|
2811
|
+
#
|
|
2812
|
+
class PermissionTemplateParameter < Struct.new(
|
|
2813
|
+
:name,
|
|
2814
|
+
:type,
|
|
2815
|
+
:description,
|
|
2816
|
+
:values)
|
|
2817
|
+
SENSITIVE = []
|
|
2818
|
+
include Aws::Structure
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2821
|
+
# Describes a template parameter declaration for a customer managed
|
|
2822
|
+
# permission. Each declaration defines a named placeholder that can be
|
|
2823
|
+
# used in the permission's policy template.
|
|
2824
|
+
#
|
|
2825
|
+
# @!attribute [rw] name
|
|
2826
|
+
# The name of the template parameter. This name is used as the
|
|
2827
|
+
# placeholder in the policy template using the syntax
|
|
2828
|
+
# `@{parameterName}`.
|
|
2829
|
+
# @return [String]
|
|
2830
|
+
#
|
|
2831
|
+
# @!attribute [rw] type
|
|
2832
|
+
# The type of the template parameter. This can be one of the following
|
|
2833
|
+
# values:
|
|
2834
|
+
#
|
|
2835
|
+
# * `STRING` – A single string value that is substituted directly into
|
|
2836
|
+
# the template.
|
|
2837
|
+
#
|
|
2838
|
+
# * `STRING_LIST` – One or more string values that expand to an array
|
|
2839
|
+
# in the rendered policy.
|
|
2840
|
+
# @return [String]
|
|
2841
|
+
#
|
|
2842
|
+
# @!attribute [rw] description
|
|
2843
|
+
# A description of the template parameter that helps consumers
|
|
2844
|
+
# understand what value to provide.
|
|
2845
|
+
# @return [String]
|
|
2846
|
+
#
|
|
2847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PermissionTemplateParameterDeclaration AWS API Documentation
|
|
2848
|
+
#
|
|
2849
|
+
class PermissionTemplateParameterDeclaration < Struct.new(
|
|
2850
|
+
:name,
|
|
2851
|
+
:type,
|
|
2852
|
+
:description)
|
|
2853
|
+
SENSITIVE = []
|
|
2854
|
+
include Aws::Structure
|
|
2855
|
+
end
|
|
2856
|
+
|
|
2857
|
+
# Contains the name and values to assign to a template parameter when
|
|
2858
|
+
# associating a permission template with a resource share.
|
|
2859
|
+
#
|
|
2860
|
+
# @!attribute [rw] name
|
|
2861
|
+
# The name of the template parameter to assign a value to. This must
|
|
2862
|
+
# match a parameter name declared in the permission template.
|
|
2863
|
+
# @return [String]
|
|
2864
|
+
#
|
|
2865
|
+
# @!attribute [rw] values
|
|
2866
|
+
# The values to assign to the template parameter. For `STRING` type
|
|
2867
|
+
# parameters, provide a single value. For `STRING_LIST` type
|
|
2868
|
+
# parameters, provide one or more values.
|
|
2869
|
+
# @return [Array<String>]
|
|
2870
|
+
#
|
|
2871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PermissionTemplateParameterInput AWS API Documentation
|
|
2872
|
+
#
|
|
2873
|
+
class PermissionTemplateParameterInput < Struct.new(
|
|
2874
|
+
:name,
|
|
2875
|
+
:values)
|
|
2876
|
+
SENSITIVE = []
|
|
2877
|
+
include Aws::Structure
|
|
2878
|
+
end
|
|
2879
|
+
|
|
2640
2880
|
# The operation failed because it would exceed the limit for the number
|
|
2641
2881
|
# of versions you can have for a permission. To view the limits for your
|
|
2642
2882
|
# Amazon Web Services account, see the [RAM page in the Service Quotas
|
|
@@ -2751,7 +2991,12 @@ module Aws::RAM
|
|
|
2751
2991
|
end
|
|
2752
2992
|
|
|
2753
2993
|
# @!attribute [rw] permission
|
|
2754
|
-
#
|
|
2994
|
+
# The details of the promoted customer managed permission, including
|
|
2995
|
+
# its [Amazon Resource Name (ARN)][1], version, and status.
|
|
2996
|
+
#
|
|
2997
|
+
#
|
|
2998
|
+
#
|
|
2999
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
2755
3000
|
# @return [Types::ResourceSharePermissionSummary]
|
|
2756
3001
|
#
|
|
2757
3002
|
# @!attribute [rw] client_token
|
|
@@ -2884,6 +3129,13 @@ module Aws::RAM
|
|
|
2884
3129
|
# default for the specified managed permission.
|
|
2885
3130
|
# @return [String]
|
|
2886
3131
|
#
|
|
3132
|
+
# @!attribute [rw] permission_template_parameters
|
|
3133
|
+
# Specifies the template parameter values to apply when replacing the
|
|
3134
|
+
# permission. You must provide values for all parameters declared in
|
|
3135
|
+
# the target permission template. This parameter is required only if
|
|
3136
|
+
# the target permission (`toPermissionArn`) has template parameters.
|
|
3137
|
+
# @return [Array<Types::PermissionTemplateParameterInput>]
|
|
3138
|
+
#
|
|
2887
3139
|
# @!attribute [rw] client_token
|
|
2888
3140
|
# Specifies a unique, case-sensitive identifier that you provide to
|
|
2889
3141
|
# ensure the idempotency of the request. This lets you safely retry
|
|
@@ -2910,6 +3162,7 @@ module Aws::RAM
|
|
|
2910
3162
|
:from_permission_arn,
|
|
2911
3163
|
:from_permission_version,
|
|
2912
3164
|
:to_permission_arn,
|
|
3165
|
+
:permission_template_parameters,
|
|
2913
3166
|
:client_token)
|
|
2914
3167
|
SENSITIVE = []
|
|
2915
3168
|
include Aws::Structure
|
|
@@ -2974,6 +3227,12 @@ module Aws::RAM
|
|
|
2974
3227
|
# that is currently the default for this managed permission.
|
|
2975
3228
|
# @return [String]
|
|
2976
3229
|
#
|
|
3230
|
+
# @!attribute [rw] permission_template_parameters
|
|
3231
|
+
# The template parameter values to apply when replacing the
|
|
3232
|
+
# permission. This field is present only if the target permission is a
|
|
3233
|
+
# template with declared parameters.
|
|
3234
|
+
# @return [Array<Types::PermissionTemplateParameter>]
|
|
3235
|
+
#
|
|
2977
3236
|
# @!attribute [rw] status
|
|
2978
3237
|
# Specifies the current status of the background tasks for the
|
|
2979
3238
|
# specified ID. The output is one of the following strings:
|
|
@@ -3008,6 +3267,7 @@ module Aws::RAM
|
|
|
3008
3267
|
:from_permission_version,
|
|
3009
3268
|
:to_permission_arn,
|
|
3010
3269
|
:to_permission_version,
|
|
3270
|
+
:permission_template_parameters,
|
|
3011
3271
|
:status,
|
|
3012
3272
|
:status_message,
|
|
3013
3273
|
:creation_time,
|
|
@@ -3493,6 +3753,13 @@ module Aws::RAM
|
|
|
3493
3753
|
# denied access.
|
|
3494
3754
|
# @return [String]
|
|
3495
3755
|
#
|
|
3756
|
+
# @!attribute [rw] permission_template_parameters
|
|
3757
|
+
# The list of template parameter declarations defined for this
|
|
3758
|
+
# permission. Each declaration includes the parameter name, type, and
|
|
3759
|
+
# description. This field is present only if the permission is a
|
|
3760
|
+
# template with declared parameters.
|
|
3761
|
+
# @return [Array<Types::PermissionTemplateParameterDeclaration>]
|
|
3762
|
+
#
|
|
3496
3763
|
# @!attribute [rw] creation_time
|
|
3497
3764
|
# The date and time when the permission was created.
|
|
3498
3765
|
# @return [Time]
|
|
@@ -3562,12 +3829,26 @@ module Aws::RAM
|
|
|
3562
3829
|
# deleted.
|
|
3563
3830
|
#
|
|
3564
3831
|
# * `DELETED` – This permission or version is deleted.
|
|
3832
|
+
#
|
|
3833
|
+
# * `DEPRECATED` – The permission owner deprecated this permission. It
|
|
3834
|
+
# can't be associated with new resource shares, but existing
|
|
3835
|
+
# associations continue to function.
|
|
3565
3836
|
# @return [String]
|
|
3566
3837
|
#
|
|
3567
3838
|
# @!attribute [rw] tags
|
|
3568
3839
|
# The tag key and value pairs attached to the resource share.
|
|
3569
3840
|
# @return [Array<Types::Tag>]
|
|
3570
3841
|
#
|
|
3842
|
+
# @!attribute [rw] resource_owner
|
|
3843
|
+
# The owner of the permission. This can be one of the following
|
|
3844
|
+
# values:
|
|
3845
|
+
#
|
|
3846
|
+
# * `SELF` – The permission is owned by the current account.
|
|
3847
|
+
#
|
|
3848
|
+
# * `OTHER-ACCOUNTS` – The permission is owned by another account and
|
|
3849
|
+
# shared with the current account.
|
|
3850
|
+
# @return [String]
|
|
3851
|
+
#
|
|
3571
3852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionDetail AWS API Documentation
|
|
3572
3853
|
#
|
|
3573
3854
|
class ResourceSharePermissionDetail < Struct.new(
|
|
@@ -3577,13 +3858,15 @@ module Aws::RAM
|
|
|
3577
3858
|
:name,
|
|
3578
3859
|
:resource_type,
|
|
3579
3860
|
:permission,
|
|
3861
|
+
:permission_template_parameters,
|
|
3580
3862
|
:creation_time,
|
|
3581
3863
|
:last_updated_time,
|
|
3582
3864
|
:is_resource_type_default,
|
|
3583
3865
|
:permission_type,
|
|
3584
3866
|
:feature_set,
|
|
3585
3867
|
:status,
|
|
3586
|
-
:tags
|
|
3868
|
+
:tags,
|
|
3869
|
+
:resource_owner)
|
|
3587
3870
|
SENSITIVE = []
|
|
3588
3871
|
include Aws::Structure
|
|
3589
3872
|
end
|
|
@@ -3678,11 +3961,29 @@ module Aws::RAM
|
|
|
3678
3961
|
# in progress. This value changes to `STANDARD` when complete.
|
|
3679
3962
|
# @return [String]
|
|
3680
3963
|
#
|
|
3964
|
+
# @!attribute [rw] permission_template_parameters
|
|
3965
|
+
# The list of template parameters defined for this permission,
|
|
3966
|
+
# including their names, types, descriptions, and values. This field
|
|
3967
|
+
# is present only if the permission is a template with declared
|
|
3968
|
+
# parameters. When returned in the context of a permission
|
|
3969
|
+
# association, the values are also included.
|
|
3970
|
+
# @return [Array<Types::PermissionTemplateParameter>]
|
|
3971
|
+
#
|
|
3681
3972
|
# @!attribute [rw] tags
|
|
3682
3973
|
# A list of the tag key value pairs currently attached to the
|
|
3683
3974
|
# permission.
|
|
3684
3975
|
# @return [Array<Types::Tag>]
|
|
3685
3976
|
#
|
|
3977
|
+
# @!attribute [rw] resource_owner
|
|
3978
|
+
# The owner of the permission. This can be one of the following
|
|
3979
|
+
# values:
|
|
3980
|
+
#
|
|
3981
|
+
# * `SELF` – The permission is owned by the current account.
|
|
3982
|
+
#
|
|
3983
|
+
# * `OTHER-ACCOUNTS` – The permission is owned by another account and
|
|
3984
|
+
# shared with the current account.
|
|
3985
|
+
# @return [String]
|
|
3986
|
+
#
|
|
3686
3987
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionSummary AWS API Documentation
|
|
3687
3988
|
#
|
|
3688
3989
|
class ResourceSharePermissionSummary < Struct.new(
|
|
@@ -3697,7 +3998,9 @@ module Aws::RAM
|
|
|
3697
3998
|
:is_resource_type_default,
|
|
3698
3999
|
:permission_type,
|
|
3699
4000
|
:feature_set,
|
|
3700
|
-
:
|
|
4001
|
+
:permission_template_parameters,
|
|
4002
|
+
:tags,
|
|
4003
|
+
:resource_owner)
|
|
3701
4004
|
SENSITIVE = []
|
|
3702
4005
|
include Aws::Structure
|
|
3703
4006
|
end
|
|
@@ -4041,6 +4344,77 @@ module Aws::RAM
|
|
|
4041
4344
|
#
|
|
4042
4345
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
|
4043
4346
|
|
|
4347
|
+
# @!attribute [rw] permission_arn
|
|
4348
|
+
# Specifies the [Amazon Resource Name (ARN)][1] of the customer
|
|
4349
|
+
# managed permission that you want to update.
|
|
4350
|
+
#
|
|
4351
|
+
#
|
|
4352
|
+
#
|
|
4353
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
4354
|
+
# @return [String]
|
|
4355
|
+
#
|
|
4356
|
+
# @!attribute [rw] status
|
|
4357
|
+
# Specifies the new status for the permission. This can be one of the
|
|
4358
|
+
# following values:
|
|
4359
|
+
#
|
|
4360
|
+
# * `ATTACHABLE` – Restores a previously deprecated permission so it
|
|
4361
|
+
# can be associated with resource shares again.
|
|
4362
|
+
#
|
|
4363
|
+
# * `DEPRECATED` – Deprecates the permission so it can no longer be
|
|
4364
|
+
# associated with new resource shares.
|
|
4365
|
+
# @return [String]
|
|
4366
|
+
#
|
|
4367
|
+
# @!attribute [rw] client_token
|
|
4368
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
|
4369
|
+
# ensure the idempotency of the request. This lets you safely retry
|
|
4370
|
+
# the request without accidentally performing the same operation a
|
|
4371
|
+
# second time. Passing the same value to a later call to an operation
|
|
4372
|
+
# requires that you also pass the same value for all other parameters.
|
|
4373
|
+
# We recommend that you use a [UUID type of value.][1].
|
|
4374
|
+
#
|
|
4375
|
+
# If you don't provide this value, then Amazon Web Services generates
|
|
4376
|
+
# a random one for you.
|
|
4377
|
+
#
|
|
4378
|
+
# If you retry the operation with the same `ClientToken`, but with
|
|
4379
|
+
# different parameters, the retry fails with an
|
|
4380
|
+
# `IdempotentParameterMismatch` error.
|
|
4381
|
+
#
|
|
4382
|
+
#
|
|
4383
|
+
#
|
|
4384
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
|
4385
|
+
# @return [String]
|
|
4386
|
+
#
|
|
4387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdatePermissionRequest AWS API Documentation
|
|
4388
|
+
#
|
|
4389
|
+
class UpdatePermissionRequest < Struct.new(
|
|
4390
|
+
:permission_arn,
|
|
4391
|
+
:status,
|
|
4392
|
+
:client_token)
|
|
4393
|
+
SENSITIVE = []
|
|
4394
|
+
include Aws::Structure
|
|
4395
|
+
end
|
|
4396
|
+
|
|
4397
|
+
# @!attribute [rw] client_token
|
|
4398
|
+
# The idempotency identifier associated with this request. If you want
|
|
4399
|
+
# to repeat the same operation in an idempotent manner then you must
|
|
4400
|
+
# include this value in the `clientToken` request parameter of that
|
|
4401
|
+
# later call. All other parameters must also have the same values that
|
|
4402
|
+
# you used in the first call.
|
|
4403
|
+
# @return [String]
|
|
4404
|
+
#
|
|
4405
|
+
# @!attribute [rw] permission_status
|
|
4406
|
+
# The updated status of the permission.
|
|
4407
|
+
# @return [String]
|
|
4408
|
+
#
|
|
4409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdatePermissionResponse AWS API Documentation
|
|
4410
|
+
#
|
|
4411
|
+
class UpdatePermissionResponse < Struct.new(
|
|
4412
|
+
:client_token,
|
|
4413
|
+
:permission_status)
|
|
4414
|
+
SENSITIVE = []
|
|
4415
|
+
include Aws::Structure
|
|
4416
|
+
end
|
|
4417
|
+
|
|
4044
4418
|
# @!attribute [rw] resource_share_arn
|
|
4045
4419
|
# Specifies the [Amazon Resource Name (ARN)][1] of the resource share
|
|
4046
4420
|
# that you want to modify.
|