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.
data/sig/client.rbs CHANGED
@@ -115,6 +115,12 @@ module Aws
115
115
  def associate_resource_share_permission: (
116
116
  resource_share_arn: ::String,
117
117
  permission_arn: ::String,
118
+ ?permission_template_parameters: Array[
119
+ {
120
+ name: ::String?,
121
+ values: Array[::String]?
122
+ }
123
+ ],
118
124
  ?replace: bool,
119
125
  ?client_token: ::String,
120
126
  ?permission_version: ::Integer
@@ -131,6 +137,13 @@ module Aws
131
137
  name: ::String,
132
138
  resource_type: ::String,
133
139
  policy_template: ::String,
140
+ ?permission_template_parameters: Array[
141
+ {
142
+ name: ::String?,
143
+ type: ("STRING" | "STRING_LIST")?,
144
+ description: ::String?
145
+ }
146
+ ],
134
147
  ?client_token: ::String,
135
148
  ?tags: Array[
136
149
  {
@@ -150,6 +163,13 @@ module Aws
150
163
  def create_permission_version: (
151
164
  permission_arn: ::String,
152
165
  policy_template: ::String,
166
+ ?permission_template_parameters: Array[
167
+ {
168
+ name: ::String?,
169
+ type: ("STRING" | "STRING_LIST")?,
170
+ description: ::String?
171
+ }
172
+ ],
153
173
  ?client_token: ::String
154
174
  ) -> _CreatePermissionVersionResponseSuccess
155
175
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePermissionVersionResponseSuccess
@@ -174,6 +194,17 @@ module Aws
174
194
  ?client_token: ::String,
175
195
  ?permission_arns: Array[::String],
176
196
  ?sources: Array[::String],
197
+ ?permission_template_parameters: Array[
198
+ {
199
+ permission_arn: ::String?,
200
+ permission_template_parameters: Array[
201
+ {
202
+ name: ::String?,
203
+ values: Array[::String]?
204
+ }
205
+ ]?
206
+ }
207
+ ],
177
208
  ?resource_share_configuration: {
178
209
  retain_sharing_on_account_leave_organization: bool?
179
210
  }
@@ -184,7 +215,7 @@ module Aws
184
215
  include ::Seahorse::Client::_ResponseSuccess[Types::DeletePermissionResponse]
185
216
  def return_value: () -> bool
186
217
  def client_token: () -> ::String
187
- def permission_status: () -> ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
218
+ def permission_status: () -> ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
188
219
  end
189
220
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#delete_permission-instance_method
190
221
  def delete_permission: (
@@ -197,7 +228,7 @@ module Aws
197
228
  include ::Seahorse::Client::_ResponseSuccess[Types::DeletePermissionVersionResponse]
198
229
  def return_value: () -> bool
199
230
  def client_token: () -> ::String
200
- def permission_status: () -> ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
231
+ def permission_status: () -> ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
201
232
  end
202
233
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#delete_permission_version-instance_method
203
234
  def delete_permission_version: (
@@ -263,7 +294,13 @@ module Aws
263
294
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#get_permission-instance_method
264
295
  def get_permission: (
265
296
  permission_arn: ::String,
266
- ?permission_version: ::Integer
297
+ ?permission_version: ::Integer,
298
+ ?permission_template_parameters: Array[
299
+ {
300
+ name: ::String?,
301
+ values: Array[::String]?
302
+ }
303
+ ]
267
304
  ) -> _GetPermissionResponseSuccess
268
305
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPermissionResponseSuccess
269
306
 
@@ -363,6 +400,8 @@ module Aws
363
400
  ?resource_type: ::String,
364
401
  ?feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD"),
365
402
  ?default_version: bool,
403
+ ?resource_owner: ("SELF" | "OTHER-ACCOUNTS"),
404
+ ?resource_share_arn: ::String,
366
405
  ?next_token: ::String,
367
406
  ?max_results: ::Integer
368
407
  ) -> _ListPermissionAssociationsResponseSuccess
@@ -389,9 +428,11 @@ module Aws
389
428
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_permissions-instance_method
390
429
  def list_permissions: (
391
430
  ?resource_type: ::String,
431
+ ?resource_owner: ("SELF" | "OTHER-ACCOUNTS"),
392
432
  ?next_token: ::String,
393
433
  ?max_results: ::Integer,
394
- ?permission_type: ("ALL" | "AWS_MANAGED" | "CUSTOMER_MANAGED")
434
+ ?permission_type: ("ALL" | "AWS_MANAGED" | "CUSTOMER_MANAGED"),
435
+ ?permission_status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
395
436
  ) -> _ListPermissionsResponseSuccess
396
437
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionsResponseSuccess
397
438
 
@@ -531,6 +572,12 @@ module Aws
531
572
  from_permission_arn: ::String,
532
573
  ?from_permission_version: ::Integer,
533
574
  to_permission_arn: ::String,
575
+ ?permission_template_parameters: Array[
576
+ {
577
+ name: ::String?,
578
+ values: Array[::String]?
579
+ }
580
+ ],
534
581
  ?client_token: ::String
535
582
  ) -> _ReplacePermissionAssociationsResponseSuccess
536
583
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReplacePermissionAssociationsResponseSuccess
@@ -575,6 +622,19 @@ module Aws
575
622
  ) -> _UntagResourceResponseSuccess
576
623
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
577
624
 
625
+ interface _UpdatePermissionResponseSuccess
626
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePermissionResponse]
627
+ def client_token: () -> ::String
628
+ def permission_status: () -> ("ATTACHABLE" | "DEPRECATED")
629
+ end
630
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#update_permission-instance_method
631
+ def update_permission: (
632
+ permission_arn: ::String,
633
+ status: ("ATTACHABLE" | "DEPRECATED"),
634
+ ?client_token: ::String
635
+ ) -> _UpdatePermissionResponseSuccess
636
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePermissionResponseSuccess
637
+
578
638
  interface _UpdateResourceShareResponseSuccess
579
639
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceShareResponse]
580
640
  def resource_share: () -> Types::ResourceShare
data/sig/types.rbs CHANGED
@@ -23,6 +23,7 @@ module Aws::RAM
23
23
  class AssociateResourceSharePermissionRequest
24
24
  attr_accessor resource_share_arn: ::String
25
25
  attr_accessor permission_arn: ::String
26
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterInput]
26
27
  attr_accessor replace: bool
27
28
  attr_accessor client_token: ::String
28
29
  attr_accessor permission_version: ::Integer
@@ -59,6 +60,7 @@ module Aws::RAM
59
60
  attr_accessor feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD")
60
61
  attr_accessor last_updated_time: ::Time
61
62
  attr_accessor resource_share_arn: ::String
63
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameter]
62
64
  SENSITIVE: []
63
65
  end
64
66
 
@@ -77,6 +79,7 @@ module Aws::RAM
77
79
  attr_accessor name: ::String
78
80
  attr_accessor resource_type: ::String
79
81
  attr_accessor policy_template: ::String
82
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterDeclaration]
80
83
  attr_accessor client_token: ::String
81
84
  attr_accessor tags: ::Array[Types::Tag]
82
85
  SENSITIVE: []
@@ -91,6 +94,7 @@ module Aws::RAM
91
94
  class CreatePermissionVersionRequest
92
95
  attr_accessor permission_arn: ::String
93
96
  attr_accessor policy_template: ::String
97
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterDeclaration]
94
98
  attr_accessor client_token: ::String
95
99
  SENSITIVE: []
96
100
  end
@@ -110,6 +114,7 @@ module Aws::RAM
110
114
  attr_accessor client_token: ::String
111
115
  attr_accessor permission_arns: ::Array[::String]
112
116
  attr_accessor sources: ::Array[::String]
117
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionArnAndTemplateParameters]
113
118
  attr_accessor resource_share_configuration: Types::ResourceShareConfiguration
114
119
  SENSITIVE: []
115
120
  end
@@ -129,7 +134,7 @@ module Aws::RAM
129
134
  class DeletePermissionResponse
130
135
  attr_accessor return_value: bool
131
136
  attr_accessor client_token: ::String
132
- attr_accessor permission_status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
137
+ attr_accessor permission_status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
133
138
  SENSITIVE: []
134
139
  end
135
140
 
@@ -143,7 +148,7 @@ module Aws::RAM
143
148
  class DeletePermissionVersionResponse
144
149
  attr_accessor return_value: bool
145
150
  attr_accessor client_token: ::String
146
- attr_accessor permission_status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
151
+ attr_accessor permission_status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
147
152
  SENSITIVE: []
148
153
  end
149
154
 
@@ -198,6 +203,7 @@ module Aws::RAM
198
203
  class GetPermissionRequest
199
204
  attr_accessor permission_arn: ::String
200
205
  attr_accessor permission_version: ::Integer
206
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterInput]
201
207
  SENSITIVE: []
202
208
  end
203
209
 
@@ -331,6 +337,8 @@ module Aws::RAM
331
337
  attr_accessor resource_type: ::String
332
338
  attr_accessor feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD")
333
339
  attr_accessor default_version: bool
340
+ attr_accessor resource_owner: ("SELF" | "OTHER-ACCOUNTS")
341
+ attr_accessor resource_share_arn: ::String
334
342
  attr_accessor next_token: ::String
335
343
  attr_accessor max_results: ::Integer
336
344
  SENSITIVE: []
@@ -357,9 +365,11 @@ module Aws::RAM
357
365
 
358
366
  class ListPermissionsRequest
359
367
  attr_accessor resource_type: ::String
368
+ attr_accessor resource_owner: ("SELF" | "OTHER-ACCOUNTS")
360
369
  attr_accessor next_token: ::String
361
370
  attr_accessor max_results: ::Integer
362
371
  attr_accessor permission_type: ("ALL" | "AWS_MANAGED" | "CUSTOMER_MANAGED")
372
+ attr_accessor permission_status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
363
373
  SENSITIVE: []
364
374
  end
365
375
 
@@ -485,11 +495,38 @@ module Aws::RAM
485
495
  SENSITIVE: []
486
496
  end
487
497
 
498
+ class PermissionArnAndTemplateParameters
499
+ attr_accessor permission_arn: ::String
500
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterInput]
501
+ SENSITIVE: []
502
+ end
503
+
488
504
  class PermissionLimitExceededException
489
505
  attr_accessor message: ::String
490
506
  SENSITIVE: []
491
507
  end
492
508
 
509
+ class PermissionTemplateParameter
510
+ attr_accessor name: ::String
511
+ attr_accessor type: ("STRING" | "STRING_LIST")
512
+ attr_accessor description: ::String
513
+ attr_accessor values: ::Array[::String]
514
+ SENSITIVE: []
515
+ end
516
+
517
+ class PermissionTemplateParameterDeclaration
518
+ attr_accessor name: ::String
519
+ attr_accessor type: ("STRING" | "STRING_LIST")
520
+ attr_accessor description: ::String
521
+ SENSITIVE: []
522
+ end
523
+
524
+ class PermissionTemplateParameterInput
525
+ attr_accessor name: ::String
526
+ attr_accessor values: ::Array[::String]
527
+ SENSITIVE: []
528
+ end
529
+
493
530
  class PermissionVersionsLimitExceededException
494
531
  attr_accessor message: ::String
495
532
  SENSITIVE: []
@@ -543,6 +580,7 @@ module Aws::RAM
543
580
  attr_accessor from_permission_arn: ::String
544
581
  attr_accessor from_permission_version: ::Integer
545
582
  attr_accessor to_permission_arn: ::String
583
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterInput]
546
584
  attr_accessor client_token: ::String
547
585
  SENSITIVE: []
548
586
  end
@@ -559,6 +597,7 @@ module Aws::RAM
559
597
  attr_accessor from_permission_version: ::String
560
598
  attr_accessor to_permission_arn: ::String
561
599
  attr_accessor to_permission_version: ::String
600
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameter]
562
601
  attr_accessor status: ("IN_PROGRESS" | "COMPLETED" | "FAILED")
563
602
  attr_accessor status_message: ::String
564
603
  attr_accessor creation_time: ::Time
@@ -662,13 +701,15 @@ module Aws::RAM
662
701
  attr_accessor name: ::String
663
702
  attr_accessor resource_type: ::String
664
703
  attr_accessor permission: ::String
704
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameterDeclaration]
665
705
  attr_accessor creation_time: ::Time
666
706
  attr_accessor last_updated_time: ::Time
667
707
  attr_accessor is_resource_type_default: bool
668
708
  attr_accessor permission_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
669
709
  attr_accessor feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD")
670
- attr_accessor status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
710
+ attr_accessor status: ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED" | "DEPRECATED")
671
711
  attr_accessor tags: ::Array[Types::Tag]
712
+ attr_accessor resource_owner: ("SELF" | "OTHER-ACCOUNTS")
672
713
  SENSITIVE: []
673
714
  end
674
715
 
@@ -684,7 +725,9 @@ module Aws::RAM
684
725
  attr_accessor is_resource_type_default: bool
685
726
  attr_accessor permission_type: ("CUSTOMER_MANAGED" | "AWS_MANAGED")
686
727
  attr_accessor feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD")
728
+ attr_accessor permission_template_parameters: ::Array[Types::PermissionTemplateParameter]
687
729
  attr_accessor tags: ::Array[Types::Tag]
730
+ attr_accessor resource_owner: ("SELF" | "OTHER-ACCOUNTS")
688
731
  SENSITIVE: []
689
732
  end
690
733
 
@@ -775,6 +818,19 @@ module Aws::RAM
775
818
  class UntagResourceResponse < Aws::EmptyStructure
776
819
  end
777
820
 
821
+ class UpdatePermissionRequest
822
+ attr_accessor permission_arn: ::String
823
+ attr_accessor status: ("ATTACHABLE" | "DEPRECATED")
824
+ attr_accessor client_token: ::String
825
+ SENSITIVE: []
826
+ end
827
+
828
+ class UpdatePermissionResponse
829
+ attr_accessor client_token: ::String
830
+ attr_accessor permission_status: ("ATTACHABLE" | "DEPRECATED")
831
+ SENSITIVE: []
832
+ end
833
+
778
834
  class UpdateResourceShareRequest
779
835
  attr_accessor resource_share_arn: ::String
780
836
  attr_accessor name: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.99.0
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.264.0
21
+ version: 3.265.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.264.0
31
+ version: 3.265.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement