aws-sdk-ram 1.52.0 → 1.53.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: 7863bd65a10aa67114a89a50130494feda9e3bf15a41aef816a0d76d6f5759fa
4
- data.tar.gz: a65b30a43b8861eba657c48a79eb6505b9b1c6d11b173689fda906c185c6c39b
3
+ metadata.gz: 2eb1163ecdfb851252b6d69299c2b1cdee2a641befe7845392555ef8935e783f
4
+ data.tar.gz: 8517dca0c55de0c1e6111305ff3a31c9b0de9e0d6a195f26a4ccda0bf94d7f7c
5
5
  SHA512:
6
- metadata.gz: 22716c798a25205df50aab497b6c7da328934dd541d12d8a6f2a601e7619ee4abc5efe8a0540ac419c452fa7df6df5dbee952fc4ea7ea5c728e3ddf122027f73
7
- data.tar.gz: c503af3b5c43056d0eb8e0595f24ed90746de2891a04f23f82a19e21b91b5c79f82b52d48655b9161115c1cb051c7787423b655b051da03ecfc6f7c9fcad8516
6
+ metadata.gz: 34ba84363f5229d9515db7fd7a335b9d0de0e95f4609647f18e60a4255f362d2f626484444ce33db3b0f17c7d751ccedabd198f63a1c16ac4ae851be40ebef83
7
+ data.tar.gz: c5b7891aeee98c3a28a12d45a6d6f7db739ca157558695bfc6521eaed0fd1f64e0a663baf9fd50581b6e37fdcc9fe28ccef90a64bc3ed5673dad47ac330cc409
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.52.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -3287,7 +3287,7 @@ module Aws::RAM
3287
3287
  params: params,
3288
3288
  config: config)
3289
3289
  context[:gem_name] = 'aws-sdk-ram'
3290
- context[:gem_version] = '1.52.0'
3290
+ context[:gem_version] = '1.53.0'
3291
3291
  Seahorse::Client::Request.new(handlers, context)
3292
3292
  end
3293
3293
 
@@ -14,6 +14,7 @@ module Aws::RAM
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::RAM::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
data/lib/aws-sdk-ram.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ram/customizations'
52
52
  # @!group service
53
53
  module Aws::RAM
54
54
 
55
- GEM_VERSION = '1.52.0'
55
+ GEM_VERSION = '1.53.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,568 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module RAM
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AcceptResourceShareInvitationResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcceptResourceShareInvitationResponse]
77
+ def resource_share_invitation: () -> Types::ResourceShareInvitation
78
+ def client_token: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#accept_resource_share_invitation-instance_method
81
+ def accept_resource_share_invitation: (
82
+ resource_share_invitation_arn: ::String,
83
+ ?client_token: ::String
84
+ ) -> _AcceptResourceShareInvitationResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptResourceShareInvitationResponseSuccess
86
+
87
+ interface _AssociateResourceShareResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateResourceShareResponse]
89
+ def resource_share_associations: () -> ::Array[Types::ResourceShareAssociation]
90
+ def client_token: () -> ::String
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#associate_resource_share-instance_method
93
+ def associate_resource_share: (
94
+ resource_share_arn: ::String,
95
+ ?resource_arns: Array[::String],
96
+ ?principals: Array[::String],
97
+ ?client_token: ::String,
98
+ ?sources: Array[::String]
99
+ ) -> _AssociateResourceShareResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateResourceShareResponseSuccess
101
+
102
+ interface _AssociateResourceSharePermissionResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateResourceSharePermissionResponse]
104
+ def return_value: () -> bool
105
+ def client_token: () -> ::String
106
+ end
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#associate_resource_share_permission-instance_method
108
+ def associate_resource_share_permission: (
109
+ resource_share_arn: ::String,
110
+ permission_arn: ::String,
111
+ ?replace: bool,
112
+ ?client_token: ::String,
113
+ ?permission_version: ::Integer
114
+ ) -> _AssociateResourceSharePermissionResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateResourceSharePermissionResponseSuccess
116
+
117
+ interface _CreatePermissionResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePermissionResponse]
119
+ def permission: () -> Types::ResourceSharePermissionSummary
120
+ def client_token: () -> ::String
121
+ end
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#create_permission-instance_method
123
+ def create_permission: (
124
+ name: ::String,
125
+ resource_type: ::String,
126
+ policy_template: ::String,
127
+ ?client_token: ::String,
128
+ ?tags: Array[
129
+ {
130
+ key: ::String?,
131
+ value: ::String?
132
+ },
133
+ ]
134
+ ) -> _CreatePermissionResponseSuccess
135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePermissionResponseSuccess
136
+
137
+ interface _CreatePermissionVersionResponseSuccess
138
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePermissionVersionResponse]
139
+ def permission: () -> Types::ResourceSharePermissionDetail
140
+ def client_token: () -> ::String
141
+ end
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#create_permission_version-instance_method
143
+ def create_permission_version: (
144
+ permission_arn: ::String,
145
+ policy_template: ::String,
146
+ ?client_token: ::String
147
+ ) -> _CreatePermissionVersionResponseSuccess
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePermissionVersionResponseSuccess
149
+
150
+ interface _CreateResourceShareResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResourceShareResponse]
152
+ def resource_share: () -> Types::ResourceShare
153
+ def client_token: () -> ::String
154
+ end
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#create_resource_share-instance_method
156
+ def create_resource_share: (
157
+ name: ::String,
158
+ ?resource_arns: Array[::String],
159
+ ?principals: Array[::String],
160
+ ?tags: Array[
161
+ {
162
+ key: ::String?,
163
+ value: ::String?
164
+ },
165
+ ],
166
+ ?allow_external_principals: bool,
167
+ ?client_token: ::String,
168
+ ?permission_arns: Array[::String],
169
+ ?sources: Array[::String]
170
+ ) -> _CreateResourceShareResponseSuccess
171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceShareResponseSuccess
172
+
173
+ interface _DeletePermissionResponseSuccess
174
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePermissionResponse]
175
+ def return_value: () -> bool
176
+ def client_token: () -> ::String
177
+ def permission_status: () -> ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#delete_permission-instance_method
180
+ def delete_permission: (
181
+ permission_arn: ::String,
182
+ ?client_token: ::String
183
+ ) -> _DeletePermissionResponseSuccess
184
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePermissionResponseSuccess
185
+
186
+ interface _DeletePermissionVersionResponseSuccess
187
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePermissionVersionResponse]
188
+ def return_value: () -> bool
189
+ def client_token: () -> ::String
190
+ def permission_status: () -> ("ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED")
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#delete_permission_version-instance_method
193
+ def delete_permission_version: (
194
+ permission_arn: ::String,
195
+ permission_version: ::Integer,
196
+ ?client_token: ::String
197
+ ) -> _DeletePermissionVersionResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePermissionVersionResponseSuccess
199
+
200
+ interface _DeleteResourceShareResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourceShareResponse]
202
+ def return_value: () -> bool
203
+ def client_token: () -> ::String
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#delete_resource_share-instance_method
206
+ def delete_resource_share: (
207
+ resource_share_arn: ::String,
208
+ ?client_token: ::String
209
+ ) -> _DeleteResourceShareResponseSuccess
210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourceShareResponseSuccess
211
+
212
+ interface _DisassociateResourceShareResponseSuccess
213
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateResourceShareResponse]
214
+ def resource_share_associations: () -> ::Array[Types::ResourceShareAssociation]
215
+ def client_token: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#disassociate_resource_share-instance_method
218
+ def disassociate_resource_share: (
219
+ resource_share_arn: ::String,
220
+ ?resource_arns: Array[::String],
221
+ ?principals: Array[::String],
222
+ ?client_token: ::String,
223
+ ?sources: Array[::String]
224
+ ) -> _DisassociateResourceShareResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateResourceShareResponseSuccess
226
+
227
+ interface _DisassociateResourceSharePermissionResponseSuccess
228
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateResourceSharePermissionResponse]
229
+ def return_value: () -> bool
230
+ def client_token: () -> ::String
231
+ end
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#disassociate_resource_share_permission-instance_method
233
+ def disassociate_resource_share_permission: (
234
+ resource_share_arn: ::String,
235
+ permission_arn: ::String,
236
+ ?client_token: ::String
237
+ ) -> _DisassociateResourceSharePermissionResponseSuccess
238
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateResourceSharePermissionResponseSuccess
239
+
240
+ interface _EnableSharingWithAwsOrganizationResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableSharingWithAwsOrganizationResponse]
242
+ def return_value: () -> bool
243
+ end
244
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#enable_sharing_with_aws_organization-instance_method
245
+ def enable_sharing_with_aws_organization: (
246
+ ) -> _EnableSharingWithAwsOrganizationResponseSuccess
247
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableSharingWithAwsOrganizationResponseSuccess
248
+
249
+ interface _GetPermissionResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPermissionResponse]
251
+ def permission: () -> Types::ResourceSharePermissionDetail
252
+ end
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#get_permission-instance_method
254
+ def get_permission: (
255
+ permission_arn: ::String,
256
+ ?permission_version: ::Integer
257
+ ) -> _GetPermissionResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPermissionResponseSuccess
259
+
260
+ interface _GetResourcePoliciesResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePoliciesResponse]
262
+ def policies: () -> ::Array[::String]
263
+ def next_token: () -> ::String
264
+ end
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#get_resource_policies-instance_method
266
+ def get_resource_policies: (
267
+ resource_arns: Array[::String],
268
+ ?principal: ::String,
269
+ ?next_token: ::String,
270
+ ?max_results: ::Integer
271
+ ) -> _GetResourcePoliciesResponseSuccess
272
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePoliciesResponseSuccess
273
+
274
+ interface _GetResourceShareAssociationsResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceShareAssociationsResponse]
276
+ def resource_share_associations: () -> ::Array[Types::ResourceShareAssociation]
277
+ def next_token: () -> ::String
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#get_resource_share_associations-instance_method
280
+ def get_resource_share_associations: (
281
+ association_type: ("PRINCIPAL" | "RESOURCE"),
282
+ ?resource_share_arns: Array[::String],
283
+ ?resource_arn: ::String,
284
+ ?principal: ::String,
285
+ ?association_status: ("ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED"),
286
+ ?next_token: ::String,
287
+ ?max_results: ::Integer
288
+ ) -> _GetResourceShareAssociationsResponseSuccess
289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceShareAssociationsResponseSuccess
290
+
291
+ interface _GetResourceShareInvitationsResponseSuccess
292
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceShareInvitationsResponse]
293
+ def resource_share_invitations: () -> ::Array[Types::ResourceShareInvitation]
294
+ def next_token: () -> ::String
295
+ end
296
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#get_resource_share_invitations-instance_method
297
+ def get_resource_share_invitations: (
298
+ ?resource_share_invitation_arns: Array[::String],
299
+ ?resource_share_arns: Array[::String],
300
+ ?next_token: ::String,
301
+ ?max_results: ::Integer
302
+ ) -> _GetResourceShareInvitationsResponseSuccess
303
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceShareInvitationsResponseSuccess
304
+
305
+ interface _GetResourceSharesResponseSuccess
306
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceSharesResponse]
307
+ def resource_shares: () -> ::Array[Types::ResourceShare]
308
+ def next_token: () -> ::String
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#get_resource_shares-instance_method
311
+ def get_resource_shares: (
312
+ ?resource_share_arns: Array[::String],
313
+ ?resource_share_status: ("PENDING" | "ACTIVE" | "FAILED" | "DELETING" | "DELETED"),
314
+ resource_owner: ("SELF" | "OTHER-ACCOUNTS"),
315
+ ?name: ::String,
316
+ ?tag_filters: Array[
317
+ {
318
+ tag_key: ::String?,
319
+ tag_values: Array[::String]?
320
+ },
321
+ ],
322
+ ?next_token: ::String,
323
+ ?max_results: ::Integer,
324
+ ?permission_arn: ::String,
325
+ ?permission_version: ::Integer
326
+ ) -> _GetResourceSharesResponseSuccess
327
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceSharesResponseSuccess
328
+
329
+ interface _ListPendingInvitationResourcesResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPendingInvitationResourcesResponse]
331
+ def resources: () -> ::Array[Types::Resource]
332
+ def next_token: () -> ::String
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_pending_invitation_resources-instance_method
335
+ def list_pending_invitation_resources: (
336
+ resource_share_invitation_arn: ::String,
337
+ ?next_token: ::String,
338
+ ?max_results: ::Integer,
339
+ ?resource_region_scope: ("ALL" | "REGIONAL" | "GLOBAL")
340
+ ) -> _ListPendingInvitationResourcesResponseSuccess
341
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPendingInvitationResourcesResponseSuccess
342
+
343
+ interface _ListPermissionAssociationsResponseSuccess
344
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionAssociationsResponse]
345
+ def permissions: () -> ::Array[Types::AssociatedPermission]
346
+ def next_token: () -> ::String
347
+ end
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_permission_associations-instance_method
349
+ def list_permission_associations: (
350
+ ?permission_arn: ::String,
351
+ ?permission_version: ::Integer,
352
+ ?association_status: ("ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED"),
353
+ ?resource_type: ::String,
354
+ ?feature_set: ("CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD"),
355
+ ?default_version: bool,
356
+ ?next_token: ::String,
357
+ ?max_results: ::Integer
358
+ ) -> _ListPermissionAssociationsResponseSuccess
359
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionAssociationsResponseSuccess
360
+
361
+ interface _ListPermissionVersionsResponseSuccess
362
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionVersionsResponse]
363
+ def permissions: () -> ::Array[Types::ResourceSharePermissionSummary]
364
+ def next_token: () -> ::String
365
+ end
366
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_permission_versions-instance_method
367
+ def list_permission_versions: (
368
+ permission_arn: ::String,
369
+ ?next_token: ::String,
370
+ ?max_results: ::Integer
371
+ ) -> _ListPermissionVersionsResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionVersionsResponseSuccess
373
+
374
+ interface _ListPermissionsResponseSuccess
375
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionsResponse]
376
+ def permissions: () -> ::Array[Types::ResourceSharePermissionSummary]
377
+ def next_token: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_permissions-instance_method
380
+ def list_permissions: (
381
+ ?resource_type: ::String,
382
+ ?next_token: ::String,
383
+ ?max_results: ::Integer,
384
+ ?permission_type: ("ALL" | "AWS_MANAGED" | "CUSTOMER_MANAGED")
385
+ ) -> _ListPermissionsResponseSuccess
386
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionsResponseSuccess
387
+
388
+ interface _ListPrincipalsResponseSuccess
389
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPrincipalsResponse]
390
+ def principals: () -> ::Array[Types::Principal]
391
+ def next_token: () -> ::String
392
+ end
393
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_principals-instance_method
394
+ def list_principals: (
395
+ resource_owner: ("SELF" | "OTHER-ACCOUNTS"),
396
+ ?resource_arn: ::String,
397
+ ?principals: Array[::String],
398
+ ?resource_type: ::String,
399
+ ?resource_share_arns: Array[::String],
400
+ ?next_token: ::String,
401
+ ?max_results: ::Integer
402
+ ) -> _ListPrincipalsResponseSuccess
403
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrincipalsResponseSuccess
404
+
405
+ interface _ListReplacePermissionAssociationsWorkResponseSuccess
406
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReplacePermissionAssociationsWorkResponse]
407
+ def replace_permission_associations_works: () -> ::Array[Types::ReplacePermissionAssociationsWork]
408
+ def next_token: () -> ::String
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_replace_permission_associations_work-instance_method
411
+ def list_replace_permission_associations_work: (
412
+ ?work_ids: Array[::String],
413
+ ?status: ("IN_PROGRESS" | "COMPLETED" | "FAILED"),
414
+ ?next_token: ::String,
415
+ ?max_results: ::Integer
416
+ ) -> _ListReplacePermissionAssociationsWorkResponseSuccess
417
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReplacePermissionAssociationsWorkResponseSuccess
418
+
419
+ interface _ListResourceSharePermissionsResponseSuccess
420
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceSharePermissionsResponse]
421
+ def permissions: () -> ::Array[Types::ResourceSharePermissionSummary]
422
+ def next_token: () -> ::String
423
+ end
424
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_resource_share_permissions-instance_method
425
+ def list_resource_share_permissions: (
426
+ resource_share_arn: ::String,
427
+ ?next_token: ::String,
428
+ ?max_results: ::Integer
429
+ ) -> _ListResourceSharePermissionsResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceSharePermissionsResponseSuccess
431
+
432
+ interface _ListResourceTypesResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTypesResponse]
434
+ def resource_types: () -> ::Array[Types::ServiceNameAndResourceType]
435
+ def next_token: () -> ::String
436
+ end
437
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_resource_types-instance_method
438
+ def list_resource_types: (
439
+ ?next_token: ::String,
440
+ ?max_results: ::Integer,
441
+ ?resource_region_scope: ("ALL" | "REGIONAL" | "GLOBAL")
442
+ ) -> _ListResourceTypesResponseSuccess
443
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTypesResponseSuccess
444
+
445
+ interface _ListResourcesResponseSuccess
446
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesResponse]
447
+ def resources: () -> ::Array[Types::Resource]
448
+ def next_token: () -> ::String
449
+ end
450
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#list_resources-instance_method
451
+ def list_resources: (
452
+ resource_owner: ("SELF" | "OTHER-ACCOUNTS"),
453
+ ?principal: ::String,
454
+ ?resource_type: ::String,
455
+ ?resource_arns: Array[::String],
456
+ ?resource_share_arns: Array[::String],
457
+ ?next_token: ::String,
458
+ ?max_results: ::Integer,
459
+ ?resource_region_scope: ("ALL" | "REGIONAL" | "GLOBAL")
460
+ ) -> _ListResourcesResponseSuccess
461
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcesResponseSuccess
462
+
463
+ interface _PromotePermissionCreatedFromPolicyResponseSuccess
464
+ include ::Seahorse::Client::_ResponseSuccess[Types::PromotePermissionCreatedFromPolicyResponse]
465
+ def permission: () -> Types::ResourceSharePermissionSummary
466
+ def client_token: () -> ::String
467
+ end
468
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#promote_permission_created_from_policy-instance_method
469
+ def promote_permission_created_from_policy: (
470
+ permission_arn: ::String,
471
+ name: ::String,
472
+ ?client_token: ::String
473
+ ) -> _PromotePermissionCreatedFromPolicyResponseSuccess
474
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PromotePermissionCreatedFromPolicyResponseSuccess
475
+
476
+ interface _PromoteResourceShareCreatedFromPolicyResponseSuccess
477
+ include ::Seahorse::Client::_ResponseSuccess[Types::PromoteResourceShareCreatedFromPolicyResponse]
478
+ def return_value: () -> bool
479
+ end
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#promote_resource_share_created_from_policy-instance_method
481
+ def promote_resource_share_created_from_policy: (
482
+ resource_share_arn: ::String
483
+ ) -> _PromoteResourceShareCreatedFromPolicyResponseSuccess
484
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PromoteResourceShareCreatedFromPolicyResponseSuccess
485
+
486
+ interface _RejectResourceShareInvitationResponseSuccess
487
+ include ::Seahorse::Client::_ResponseSuccess[Types::RejectResourceShareInvitationResponse]
488
+ def resource_share_invitation: () -> Types::ResourceShareInvitation
489
+ def client_token: () -> ::String
490
+ end
491
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#reject_resource_share_invitation-instance_method
492
+ def reject_resource_share_invitation: (
493
+ resource_share_invitation_arn: ::String,
494
+ ?client_token: ::String
495
+ ) -> _RejectResourceShareInvitationResponseSuccess
496
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectResourceShareInvitationResponseSuccess
497
+
498
+ interface _ReplacePermissionAssociationsResponseSuccess
499
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReplacePermissionAssociationsResponse]
500
+ def replace_permission_associations_work: () -> Types::ReplacePermissionAssociationsWork
501
+ def client_token: () -> ::String
502
+ end
503
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#replace_permission_associations-instance_method
504
+ def replace_permission_associations: (
505
+ from_permission_arn: ::String,
506
+ ?from_permission_version: ::Integer,
507
+ to_permission_arn: ::String,
508
+ ?client_token: ::String
509
+ ) -> _ReplacePermissionAssociationsResponseSuccess
510
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReplacePermissionAssociationsResponseSuccess
511
+
512
+ interface _SetDefaultPermissionVersionResponseSuccess
513
+ include ::Seahorse::Client::_ResponseSuccess[Types::SetDefaultPermissionVersionResponse]
514
+ def return_value: () -> bool
515
+ def client_token: () -> ::String
516
+ end
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#set_default_permission_version-instance_method
518
+ def set_default_permission_version: (
519
+ permission_arn: ::String,
520
+ permission_version: ::Integer,
521
+ ?client_token: ::String
522
+ ) -> _SetDefaultPermissionVersionResponseSuccess
523
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetDefaultPermissionVersionResponseSuccess
524
+
525
+ interface _TagResourceResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
527
+ end
528
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#tag_resource-instance_method
529
+ def tag_resource: (
530
+ ?resource_share_arn: ::String,
531
+ tags: Array[
532
+ {
533
+ key: ::String?,
534
+ value: ::String?
535
+ },
536
+ ],
537
+ ?resource_arn: ::String
538
+ ) -> _TagResourceResponseSuccess
539
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
540
+
541
+ interface _UntagResourceResponseSuccess
542
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#untag_resource-instance_method
545
+ def untag_resource: (
546
+ ?resource_share_arn: ::String,
547
+ tag_keys: Array[::String],
548
+ ?resource_arn: ::String
549
+ ) -> _UntagResourceResponseSuccess
550
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
551
+
552
+ interface _UpdateResourceShareResponseSuccess
553
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceShareResponse]
554
+ def resource_share: () -> Types::ResourceShare
555
+ def client_token: () -> ::String
556
+ end
557
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RAM/Client.html#update_resource_share-instance_method
558
+ def update_resource_share: (
559
+ resource_share_arn: ::String,
560
+ ?name: ::String,
561
+ ?allow_external_principals: bool,
562
+ ?client_token: ::String
563
+ ) -> _UpdateResourceShareResponseSuccess
564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceShareResponseSuccess
565
+ end
566
+ end
567
+ end
568
+