aws-sdk-ram 1.29.0 → 1.30.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 +97 -42
- data/lib/aws-sdk-ram/types.rb +117 -59
- data/lib/aws-sdk-ram.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53d1075d60dcdd1b7b79f3a5aca52de932416731e61135a2ab376bf57811e6d2
|
4
|
+
data.tar.gz: 9ba92bc9a332d43b19a233806ef40842b3df7e3ea535ee9dba4c13dc1b14823e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 155389436774245eb04ab4e57c9dbe8e44368aa09b65747641702ed8e287e0fb3d0e1f5156f9d4e884b5eef6517b303e71146e7e88bd00000482da8e2fc12558
|
7
|
+
data.tar.gz: 67a8de540fa2eeefea3debd30672aec2f3edc541ae9428bc572dafe977b5c1bb7e8f18dcd38d2cc149ed72b591dac75678b4e374ff039fe9ee4b445dacf2c7c0
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -327,7 +327,8 @@ module Aws::RAM
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
-
# Accepts an invitation to a resource share from another
|
330
|
+
# Accepts an invitation to a resource share from another Amazon Web
|
331
|
+
# Services account.
|
331
332
|
#
|
332
333
|
# @option params [required, String] :resource_share_invitation_arn
|
333
334
|
# The Amazon Resource Name (ARN) of the invitation.
|
@@ -386,12 +387,31 @@ module Aws::RAM
|
|
386
387
|
# The Amazon Resource Name (ARN) of the resource share.
|
387
388
|
#
|
388
389
|
# @option params [Array<String>] :resource_arns
|
389
|
-
# The Amazon Resource Names (
|
390
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
390
391
|
#
|
391
392
|
# @option params [Array<String>] :principals
|
392
393
|
# The principals to associate with the resource share. The possible
|
393
|
-
# values are
|
394
|
-
#
|
394
|
+
# values are:
|
395
|
+
#
|
396
|
+
# * An Amazon Web Services account ID
|
397
|
+
#
|
398
|
+
# * An Amazon Resource Name (ARN) of an organization in Organizations
|
399
|
+
#
|
400
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
401
|
+
#
|
402
|
+
# * An ARN of an IAM role
|
403
|
+
#
|
404
|
+
# * An ARN of an IAM user
|
405
|
+
#
|
406
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users. For
|
407
|
+
# more information, see [Sharing with IAM roles and IAM users][1] in the
|
408
|
+
# *Resource Access Manager User Guide*.
|
409
|
+
#
|
410
|
+
# </note>
|
411
|
+
#
|
412
|
+
#
|
413
|
+
#
|
414
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
395
415
|
#
|
396
416
|
# @option params [String] :client_token
|
397
417
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -440,8 +460,8 @@ module Aws::RAM
|
|
440
460
|
# The Amazon Resource Name (ARN) of the resource share.
|
441
461
|
#
|
442
462
|
# @option params [required, String] :permission_arn
|
443
|
-
# The Amazon Resource Name (ARN) of the
|
444
|
-
#
|
463
|
+
# The Amazon Resource Name (ARN) of the RAM permission to associate with
|
464
|
+
# the resource share.
|
445
465
|
#
|
446
466
|
# @option params [Boolean] :replace
|
447
467
|
# Indicates whether the permission should replace the permissions that
|
@@ -454,7 +474,7 @@ module Aws::RAM
|
|
454
474
|
# idempotency of the request.
|
455
475
|
#
|
456
476
|
# @option params [Integer] :permission_version
|
457
|
-
# The version of the
|
477
|
+
# The version of the RAM permissions to associate with the resource
|
458
478
|
# share.
|
459
479
|
#
|
460
480
|
# @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -486,35 +506,65 @@ module Aws::RAM
|
|
486
506
|
req.send_request(options)
|
487
507
|
end
|
488
508
|
|
489
|
-
# Creates a resource share.
|
509
|
+
# Creates a resource share. You must provide a list of the Amazon
|
510
|
+
# Resource Names (ARNs) for the resources you want to share. You must
|
511
|
+
# also specify who you want to share the resources with, and the
|
512
|
+
# permissions that you grant them.
|
513
|
+
#
|
514
|
+
# <note markdown="1"> Sharing a resource makes it available for use by principals outside of
|
515
|
+
# the Amazon Web Services account that created the resource. Sharing
|
516
|
+
# doesn't change any permissions or quotas that apply to the resource
|
517
|
+
# in the account that created it.
|
518
|
+
#
|
519
|
+
# </note>
|
490
520
|
#
|
491
521
|
# @option params [required, String] :name
|
492
522
|
# The name of the resource share.
|
493
523
|
#
|
494
524
|
# @option params [Array<String>] :resource_arns
|
495
|
-
# The
|
496
|
-
# resource share.
|
525
|
+
# The ARNs of the resources to associate with the resource share.
|
497
526
|
#
|
498
527
|
# @option params [Array<String>] :principals
|
499
528
|
# The principals to associate with the resource share. The possible
|
500
|
-
# values are
|
501
|
-
#
|
529
|
+
# values are:
|
530
|
+
#
|
531
|
+
# * An Amazon Web Services account ID
|
532
|
+
#
|
533
|
+
# * An Amazon Resource Name (ARN) of an organization in Organizations
|
534
|
+
#
|
535
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
536
|
+
#
|
537
|
+
# * An ARN of an IAM role
|
538
|
+
#
|
539
|
+
# * An ARN of an IAM user
|
540
|
+
#
|
541
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users. For
|
542
|
+
# more information, see [Sharing with IAM roles and IAM users][1] in the
|
543
|
+
# *Resource Access Manager User Guide*.
|
544
|
+
#
|
545
|
+
# </note>
|
546
|
+
#
|
547
|
+
#
|
548
|
+
#
|
549
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
502
550
|
#
|
503
551
|
# @option params [Array<Types::Tag>] :tags
|
504
552
|
# One or more tags.
|
505
553
|
#
|
506
554
|
# @option params [Boolean] :allow_external_principals
|
507
|
-
# Indicates whether principals outside your
|
508
|
-
# associated with a resource share.
|
555
|
+
# Indicates whether principals outside your organization in
|
556
|
+
# Organizations can be associated with a resource share.
|
509
557
|
#
|
510
558
|
# @option params [String] :client_token
|
511
559
|
# A unique, case-sensitive identifier that you provide to ensure the
|
512
560
|
# idempotency of the request.
|
513
561
|
#
|
514
562
|
# @option params [Array<String>] :permission_arns
|
515
|
-
# The ARNs of the permissions to associate with
|
516
|
-
# you do not specify an ARN for the permission,
|
517
|
-
# attaches the default version of the permission for
|
563
|
+
# The Amazon Resource Names (ARNs) of the permissions to associate with
|
564
|
+
# the resource share. If you do not specify an ARN for the permission,
|
565
|
+
# RAM automatically attaches the default version of the permission for
|
566
|
+
# each resource type. Only one permission can be associated with each
|
567
|
+
# resource type in a resource share.
|
518
568
|
#
|
519
569
|
# @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
520
570
|
#
|
@@ -651,13 +701,14 @@ module Aws::RAM
|
|
651
701
|
req.send_request(options)
|
652
702
|
end
|
653
703
|
|
654
|
-
# Disassociates an
|
704
|
+
# Disassociates an RAM permission from a resource share.
|
655
705
|
#
|
656
706
|
# @option params [required, String] :resource_share_arn
|
657
707
|
# The Amazon Resource Name (ARN) of the resource share.
|
658
708
|
#
|
659
709
|
# @option params [required, String] :permission_arn
|
660
|
-
# The ARN of the permission to disassociate from
|
710
|
+
# The Amazon Resource Name (ARN) of the permission to disassociate from
|
711
|
+
# the resource share.
|
661
712
|
#
|
662
713
|
# @option params [String] :client_token
|
663
714
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -690,9 +741,9 @@ module Aws::RAM
|
|
690
741
|
req.send_request(options)
|
691
742
|
end
|
692
743
|
|
693
|
-
# Enables resource sharing within your
|
744
|
+
# Enables resource sharing within your organization in Organizations.
|
694
745
|
#
|
695
|
-
# The caller must be the master account for the
|
746
|
+
# The caller must be the master account for the organization.
|
696
747
|
#
|
697
748
|
# @return [Types::EnableSharingWithAwsOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
698
749
|
#
|
@@ -711,10 +762,10 @@ module Aws::RAM
|
|
711
762
|
req.send_request(options)
|
712
763
|
end
|
713
764
|
|
714
|
-
# Gets the contents of an
|
765
|
+
# Gets the contents of an RAM permission in JSON format.
|
715
766
|
#
|
716
767
|
# @option params [required, String] :permission_arn
|
717
|
-
# The ARN of the permission.
|
768
|
+
# The Amazon Resource Name (ARN) of the permission.
|
718
769
|
#
|
719
770
|
# @option params [Integer] :permission_version
|
720
771
|
# The identifier for the version of the permission.
|
@@ -755,7 +806,7 @@ module Aws::RAM
|
|
755
806
|
# shared.
|
756
807
|
#
|
757
808
|
# @option params [required, Array<String>] :resource_arns
|
758
|
-
# The Amazon Resource Names (
|
809
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
759
810
|
#
|
760
811
|
# @option params [String] :principal
|
761
812
|
# The principal.
|
@@ -939,7 +990,7 @@ module Aws::RAM
|
|
939
990
|
# shared with you.
|
940
991
|
#
|
941
992
|
# @option params [Array<String>] :resource_share_arns
|
942
|
-
# The ARNs of the resource shares.
|
993
|
+
# The Amazon Resource Names (ARNs) of the resource shares.
|
943
994
|
#
|
944
995
|
# @option params [String] :resource_share_status
|
945
996
|
# The status of the resource share.
|
@@ -962,7 +1013,7 @@ module Aws::RAM
|
|
962
1013
|
# `nextToken` value.
|
963
1014
|
#
|
964
1015
|
# @option params [String] :permission_arn
|
965
|
-
# The Amazon Resource Name (ARN) of the
|
1016
|
+
# The Amazon Resource Name (ARN) of the RAM permission that is
|
966
1017
|
# associated with the resource share.
|
967
1018
|
#
|
968
1019
|
# @return [Types::GetResourceSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1067,7 +1118,7 @@ module Aws::RAM
|
|
1067
1118
|
req.send_request(options)
|
1068
1119
|
end
|
1069
1120
|
|
1070
|
-
# Lists the
|
1121
|
+
# Lists the RAM permissions.
|
1071
1122
|
#
|
1072
1123
|
# @option params [String] :resource_type
|
1073
1124
|
# Specifies the resource type for which to list permissions. For
|
@@ -1148,8 +1199,10 @@ module Aws::RAM
|
|
1148
1199
|
# `network-firewall:StatefulRuleGroup` \|
|
1149
1200
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1150
1201
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1151
|
-
# `route53resolver:
|
1152
|
-
#
|
1202
|
+
# `route53resolver:FirewallRuleGroup`
|
1203
|
+
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1204
|
+
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1205
|
+
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1153
1206
|
#
|
1154
1207
|
# @option params [Array<String>] :resource_share_arns
|
1155
1208
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -1200,8 +1253,7 @@ module Aws::RAM
|
|
1200
1253
|
req.send_request(options)
|
1201
1254
|
end
|
1202
1255
|
|
1203
|
-
# Lists the
|
1204
|
-
# share.
|
1256
|
+
# Lists the RAM permissions that are associated with a resource share.
|
1205
1257
|
#
|
1206
1258
|
# @option params [required, String] :resource_share_arn
|
1207
1259
|
# The Amazon Resource Name (ARN) of the resource share.
|
@@ -1252,7 +1304,7 @@ module Aws::RAM
|
|
1252
1304
|
req.send_request(options)
|
1253
1305
|
end
|
1254
1306
|
|
1255
|
-
# Lists the shareable resource types supported by
|
1307
|
+
# Lists the shareable resource types supported by RAM.
|
1256
1308
|
#
|
1257
1309
|
# @option params [String] :next_token
|
1258
1310
|
# The token for the next page of results.
|
@@ -1317,11 +1369,13 @@ module Aws::RAM
|
|
1317
1369
|
# `network-firewall:StatefulRuleGroup` \|
|
1318
1370
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1319
1371
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1320
|
-
# `route53resolver:
|
1321
|
-
#
|
1372
|
+
# `route53resolver:FirewallRuleGroup`
|
1373
|
+
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1374
|
+
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1375
|
+
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1322
1376
|
#
|
1323
1377
|
# @option params [Array<String>] :resource_arns
|
1324
|
-
# The Amazon Resource Names (
|
1378
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
1325
1379
|
#
|
1326
1380
|
# @option params [Array<String>] :resource_share_arns
|
1327
1381
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -1377,17 +1431,17 @@ module Aws::RAM
|
|
1377
1431
|
|
1378
1432
|
# Resource shares that were created by attaching a policy to a resource
|
1379
1433
|
# are visible only to the resource share owner, and the resource share
|
1380
|
-
# cannot be modified in
|
1434
|
+
# cannot be modified in RAM.
|
1381
1435
|
#
|
1382
1436
|
# Use this API action to promote the resource share. When you promote
|
1383
1437
|
# the resource share, it becomes:
|
1384
1438
|
#
|
1385
1439
|
# * Visible to all principals that it is shared with.
|
1386
1440
|
#
|
1387
|
-
# * Modifiable in
|
1441
|
+
# * Modifiable in RAM.
|
1388
1442
|
#
|
1389
1443
|
# @option params [required, String] :resource_share_arn
|
1390
|
-
# The ARN of the resource share to promote.
|
1444
|
+
# The Amazon Resource Name (ARN) of the resource share to promote.
|
1391
1445
|
#
|
1392
1446
|
# @return [Types::PromoteResourceShareCreatedFromPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1393
1447
|
#
|
@@ -1412,7 +1466,8 @@ module Aws::RAM
|
|
1412
1466
|
req.send_request(options)
|
1413
1467
|
end
|
1414
1468
|
|
1415
|
-
# Rejects an invitation to a resource share from another
|
1469
|
+
# Rejects an invitation to a resource share from another Amazon Web
|
1470
|
+
# Services account.
|
1416
1471
|
#
|
1417
1472
|
# @option params [required, String] :resource_share_invitation_arn
|
1418
1473
|
# The Amazon Resource Name (ARN) of the invitation.
|
@@ -1531,8 +1586,8 @@ module Aws::RAM
|
|
1531
1586
|
# The name of the resource share.
|
1532
1587
|
#
|
1533
1588
|
# @option params [Boolean] :allow_external_principals
|
1534
|
-
# Indicates whether principals outside your
|
1535
|
-
# associated with a resource share.
|
1589
|
+
# Indicates whether principals outside your organization in
|
1590
|
+
# Organizations can be associated with a resource share.
|
1536
1591
|
#
|
1537
1592
|
# @option params [String] :client_token
|
1538
1593
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -1590,7 +1645,7 @@ module Aws::RAM
|
|
1590
1645
|
params: params,
|
1591
1646
|
config: config)
|
1592
1647
|
context[:gem_name] = 'aws-sdk-ram'
|
1593
|
-
context[:gem_version] = '1.
|
1648
|
+
context[:gem_version] = '1.30.0'
|
1594
1649
|
Seahorse::Client::Request.new(handlers, context)
|
1595
1650
|
end
|
1596
1651
|
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -70,8 +70,8 @@ module Aws::RAM
|
|
70
70
|
# @return [String]
|
71
71
|
#
|
72
72
|
# @!attribute [rw] permission_arn
|
73
|
-
# The Amazon Resource Name (ARN) of the
|
74
|
-
#
|
73
|
+
# The Amazon Resource Name (ARN) of the RAM permission to associate
|
74
|
+
# with the resource share.
|
75
75
|
# @return [String]
|
76
76
|
#
|
77
77
|
# @!attribute [rw] replace
|
@@ -87,8 +87,8 @@ module Aws::RAM
|
|
87
87
|
# @return [String]
|
88
88
|
#
|
89
89
|
# @!attribute [rw] permission_version
|
90
|
-
# The version of the
|
91
|
-
#
|
90
|
+
# The version of the RAM permissions to associate with the resource
|
91
|
+
# share.
|
92
92
|
# @return [Integer]
|
93
93
|
#
|
94
94
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionRequest AWS API Documentation
|
@@ -136,13 +136,32 @@ module Aws::RAM
|
|
136
136
|
# @return [String]
|
137
137
|
#
|
138
138
|
# @!attribute [rw] resource_arns
|
139
|
-
# The Amazon Resource Names (
|
139
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
140
140
|
# @return [Array<String>]
|
141
141
|
#
|
142
142
|
# @!attribute [rw] principals
|
143
143
|
# The principals to associate with the resource share. The possible
|
144
|
-
# values are
|
145
|
-
#
|
144
|
+
# values are:
|
145
|
+
#
|
146
|
+
# * An Amazon Web Services account ID
|
147
|
+
#
|
148
|
+
# * An Amazon Resource Name (ARN) of an organization in Organizations
|
149
|
+
#
|
150
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
151
|
+
#
|
152
|
+
# * An ARN of an IAM role
|
153
|
+
#
|
154
|
+
# * An ARN of an IAM user
|
155
|
+
#
|
156
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users.
|
157
|
+
# For more information, see [Sharing with IAM roles and IAM users][1]
|
158
|
+
# in the *Resource Access Manager User Guide*.
|
159
|
+
#
|
160
|
+
# </note>
|
161
|
+
#
|
162
|
+
#
|
163
|
+
#
|
164
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
146
165
|
# @return [Array<String>]
|
147
166
|
#
|
148
167
|
# @!attribute [rw] client_token
|
@@ -202,14 +221,32 @@ module Aws::RAM
|
|
202
221
|
# @return [String]
|
203
222
|
#
|
204
223
|
# @!attribute [rw] resource_arns
|
205
|
-
# The
|
206
|
-
# the resource share.
|
224
|
+
# The ARNs of the resources to associate with the resource share.
|
207
225
|
# @return [Array<String>]
|
208
226
|
#
|
209
227
|
# @!attribute [rw] principals
|
210
228
|
# The principals to associate with the resource share. The possible
|
211
|
-
# values are
|
212
|
-
#
|
229
|
+
# values are:
|
230
|
+
#
|
231
|
+
# * An Amazon Web Services account ID
|
232
|
+
#
|
233
|
+
# * An Amazon Resource Name (ARN) of an organization in Organizations
|
234
|
+
#
|
235
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
236
|
+
#
|
237
|
+
# * An ARN of an IAM role
|
238
|
+
#
|
239
|
+
# * An ARN of an IAM user
|
240
|
+
#
|
241
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users.
|
242
|
+
# For more information, see [Sharing with IAM roles and IAM users][1]
|
243
|
+
# in the *Resource Access Manager User Guide*.
|
244
|
+
#
|
245
|
+
# </note>
|
246
|
+
#
|
247
|
+
#
|
248
|
+
#
|
249
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
213
250
|
# @return [Array<String>]
|
214
251
|
#
|
215
252
|
# @!attribute [rw] tags
|
@@ -217,8 +254,8 @@ module Aws::RAM
|
|
217
254
|
# @return [Array<Types::Tag>]
|
218
255
|
#
|
219
256
|
# @!attribute [rw] allow_external_principals
|
220
|
-
# Indicates whether principals outside your
|
221
|
-
# associated with a resource share.
|
257
|
+
# Indicates whether principals outside your organization in
|
258
|
+
# Organizations can be associated with a resource share.
|
222
259
|
# @return [Boolean]
|
223
260
|
#
|
224
261
|
# @!attribute [rw] client_token
|
@@ -227,10 +264,11 @@ module Aws::RAM
|
|
227
264
|
# @return [String]
|
228
265
|
#
|
229
266
|
# @!attribute [rw] permission_arns
|
230
|
-
# The ARNs of the permissions to associate
|
231
|
-
# you do not specify an ARN for the
|
232
|
-
# attaches the default version of the
|
233
|
-
# type.
|
267
|
+
# The Amazon Resource Names (ARNs) of the permissions to associate
|
268
|
+
# with the resource share. If you do not specify an ARN for the
|
269
|
+
# permission, RAM automatically attaches the default version of the
|
270
|
+
# permission for each resource type. Only one permission can be
|
271
|
+
# associated with each resource type in a resource share.
|
234
272
|
# @return [Array<String>]
|
235
273
|
#
|
236
274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShareRequest AWS API Documentation
|
@@ -323,7 +361,8 @@ module Aws::RAM
|
|
323
361
|
# @return [String]
|
324
362
|
#
|
325
363
|
# @!attribute [rw] permission_arn
|
326
|
-
# The ARN of the permission to disassociate
|
364
|
+
# The Amazon Resource Name (ARN) of the permission to disassociate
|
365
|
+
# from the resource share.
|
327
366
|
# @return [String]
|
328
367
|
#
|
329
368
|
# @!attribute [rw] client_token
|
@@ -442,7 +481,7 @@ module Aws::RAM
|
|
442
481
|
# }
|
443
482
|
#
|
444
483
|
# @!attribute [rw] permission_arn
|
445
|
-
# The ARN of the permission.
|
484
|
+
# The Amazon Resource Name (ARN) of the permission.
|
446
485
|
# @return [String]
|
447
486
|
#
|
448
487
|
# @!attribute [rw] permission_version
|
@@ -481,7 +520,7 @@ module Aws::RAM
|
|
481
520
|
# }
|
482
521
|
#
|
483
522
|
# @!attribute [rw] resource_arns
|
484
|
-
# The Amazon Resource Names (
|
523
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
485
524
|
# @return [Array<String>]
|
486
525
|
#
|
487
526
|
# @!attribute [rw] principal
|
@@ -684,7 +723,7 @@ module Aws::RAM
|
|
684
723
|
# }
|
685
724
|
#
|
686
725
|
# @!attribute [rw] resource_share_arns
|
687
|
-
# The ARNs of the resource shares.
|
726
|
+
# The Amazon Resource Names (ARNs) of the resource shares.
|
688
727
|
# @return [Array<String>]
|
689
728
|
#
|
690
729
|
# @!attribute [rw] resource_share_status
|
@@ -714,7 +753,7 @@ module Aws::RAM
|
|
714
753
|
# @return [Integer]
|
715
754
|
#
|
716
755
|
# @!attribute [rw] permission_arn
|
717
|
-
# The Amazon Resource Name (ARN) of the
|
756
|
+
# The Amazon Resource Name (ARN) of the RAM permission that is
|
718
757
|
# associated with the resource share.
|
719
758
|
# @return [String]
|
720
759
|
#
|
@@ -989,8 +1028,10 @@ module Aws::RAM
|
|
989
1028
|
# `network-firewall:StatefulRuleGroup` \|
|
990
1029
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
991
1030
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
992
|
-
# `route53resolver:
|
993
|
-
#
|
1031
|
+
# `route53resolver:FirewallRuleGroup`
|
1032
|
+
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1033
|
+
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1034
|
+
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
994
1035
|
# @return [String]
|
995
1036
|
#
|
996
1037
|
# @!attribute [rw] resource_share_arns
|
@@ -1118,7 +1159,7 @@ module Aws::RAM
|
|
1118
1159
|
end
|
1119
1160
|
|
1120
1161
|
# @!attribute [rw] resource_types
|
1121
|
-
# The shareable resource types supported by
|
1162
|
+
# The shareable resource types supported by RAM.
|
1122
1163
|
# @return [Array<Types::ServiceNameAndResourceType>]
|
1123
1164
|
#
|
1124
1165
|
# @!attribute [rw] next_token
|
@@ -1172,12 +1213,14 @@ module Aws::RAM
|
|
1172
1213
|
# `network-firewall:StatefulRuleGroup` \|
|
1173
1214
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1174
1215
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1175
|
-
# `route53resolver:
|
1176
|
-
#
|
1216
|
+
# `route53resolver:FirewallRuleGroup`
|
1217
|
+
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1218
|
+
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1219
|
+
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1177
1220
|
# @return [String]
|
1178
1221
|
#
|
1179
1222
|
# @!attribute [rw] resource_arns
|
1180
|
-
# The Amazon Resource Names (
|
1223
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
1181
1224
|
# @return [Array<String>]
|
1182
1225
|
#
|
1183
1226
|
# @!attribute [rw] resource_share_arns
|
@@ -1265,7 +1308,7 @@ module Aws::RAM
|
|
1265
1308
|
include Aws::Structure
|
1266
1309
|
end
|
1267
1310
|
|
1268
|
-
# Describes a principal for use with
|
1311
|
+
# Describes a principal for use with Resource Access Manager.
|
1269
1312
|
#
|
1270
1313
|
# @!attribute [rw] id
|
1271
1314
|
# The ID of the principal.
|
@@ -1284,8 +1327,9 @@ module Aws::RAM
|
|
1284
1327
|
# @return [Time]
|
1285
1328
|
#
|
1286
1329
|
# @!attribute [rw] external
|
1287
|
-
# Indicates whether the principal belongs to the same
|
1288
|
-
# as the
|
1330
|
+
# Indicates whether the principal belongs to the same organization in
|
1331
|
+
# Organizations as the Amazon Web Services account that owns the
|
1332
|
+
# resource share.
|
1289
1333
|
# @return [Boolean]
|
1290
1334
|
#
|
1291
1335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/Principal AWS API Documentation
|
@@ -1308,7 +1352,7 @@ module Aws::RAM
|
|
1308
1352
|
# }
|
1309
1353
|
#
|
1310
1354
|
# @!attribute [rw] resource_share_arn
|
1311
|
-
# The ARN of the resource share to promote.
|
1355
|
+
# The Amazon Resource Name (ARN) of the resource share to promote.
|
1312
1356
|
# @return [String]
|
1313
1357
|
#
|
1314
1358
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicyRequest AWS API Documentation
|
@@ -1390,8 +1434,8 @@ module Aws::RAM
|
|
1390
1434
|
# @return [String]
|
1391
1435
|
#
|
1392
1436
|
# @!attribute [rw] resource_group_arn
|
1393
|
-
# The ARN of the resource group. This value is
|
1394
|
-
# resource is a resource group.
|
1437
|
+
# The Amazon Resource Name (ARN) of the resource group. This value is
|
1438
|
+
# returned only if the resource is a resource group.
|
1395
1439
|
# @return [String]
|
1396
1440
|
#
|
1397
1441
|
# @!attribute [rw] status
|
@@ -1449,12 +1493,13 @@ module Aws::RAM
|
|
1449
1493
|
# @return [String]
|
1450
1494
|
#
|
1451
1495
|
# @!attribute [rw] owning_account_id
|
1452
|
-
# The ID of the
|
1496
|
+
# The ID of the Amazon Web Services account that owns the resource
|
1497
|
+
# share.
|
1453
1498
|
# @return [String]
|
1454
1499
|
#
|
1455
1500
|
# @!attribute [rw] allow_external_principals
|
1456
|
-
# Indicates whether principals outside your
|
1457
|
-
# associated with a resource share.
|
1501
|
+
# Indicates whether principals outside your organization in
|
1502
|
+
# Organizations can be associated with a resource share.
|
1458
1503
|
# @return [Boolean]
|
1459
1504
|
#
|
1460
1505
|
# @!attribute [rw] status
|
@@ -1482,18 +1527,18 @@ module Aws::RAM
|
|
1482
1527
|
# include:
|
1483
1528
|
#
|
1484
1529
|
# * `CREATED_FROM_POLICY` - Indicates that the resource share was
|
1485
|
-
# created from an
|
1486
|
-
# policy attached to a resource. These
|
1487
|
-
#
|
1488
|
-
# in
|
1530
|
+
# created from an Amazon Web Services Identity and Access Management
|
1531
|
+
# (Amazon Web Services IAM) policy attached to a resource. These
|
1532
|
+
# resource shares are visible only to the Amazon Web Services
|
1533
|
+
# account that created it. They cannot be modified in RAM.
|
1489
1534
|
#
|
1490
1535
|
# * `PROMOTING_TO_STANDARD` - The resource share is in the process of
|
1491
1536
|
# being promoted. For more information, see
|
1492
1537
|
# PromoteResourceShareCreatedFromPolicy.
|
1493
1538
|
#
|
1494
|
-
# * `STANDARD` - Indicates that the resource share was created in
|
1495
|
-
#
|
1496
|
-
#
|
1539
|
+
# * `STANDARD` - Indicates that the resource share was created in RAM
|
1540
|
+
# using the console or APIs. These resource shares are visible to
|
1541
|
+
# all principals. They can be modified in RAM.
|
1497
1542
|
# @return [String]
|
1498
1543
|
#
|
1499
1544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShare AWS API Documentation
|
@@ -1524,9 +1569,19 @@ module Aws::RAM
|
|
1524
1569
|
# @return [String]
|
1525
1570
|
#
|
1526
1571
|
# @!attribute [rw] associated_entity
|
1527
|
-
# The associated entity. For resource associations, this is the
|
1528
|
-
# the resource. For principal associations,
|
1529
|
-
#
|
1572
|
+
# The associated entity. For resource associations, this is the Amazon
|
1573
|
+
# Resource Name (ARN) of the resource. For principal associations,
|
1574
|
+
# this is one of the following:
|
1575
|
+
#
|
1576
|
+
# * An Amazon Web Services account ID
|
1577
|
+
#
|
1578
|
+
# * An ARN of an organization in Organizations
|
1579
|
+
#
|
1580
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
1581
|
+
#
|
1582
|
+
# * An ARN of an IAM role
|
1583
|
+
#
|
1584
|
+
# * An ARN of an IAM user
|
1530
1585
|
# @return [String]
|
1531
1586
|
#
|
1532
1587
|
# @!attribute [rw] association_type
|
@@ -1550,8 +1605,9 @@ module Aws::RAM
|
|
1550
1605
|
# @return [Time]
|
1551
1606
|
#
|
1552
1607
|
# @!attribute [rw] external
|
1553
|
-
# Indicates whether the principal belongs to the same
|
1554
|
-
# as the
|
1608
|
+
# Indicates whether the principal belongs to the same organization in
|
1609
|
+
# Organizations as the Amazon Web Services account that owns the
|
1610
|
+
# resource share.
|
1555
1611
|
# @return [Boolean]
|
1556
1612
|
#
|
1557
1613
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShareAssociation AWS API Documentation
|
@@ -1585,11 +1641,12 @@ module Aws::RAM
|
|
1585
1641
|
# @return [String]
|
1586
1642
|
#
|
1587
1643
|
# @!attribute [rw] sender_account_id
|
1588
|
-
# The ID of the
|
1644
|
+
# The ID of the Amazon Web Services account that sent the invitation.
|
1589
1645
|
# @return [String]
|
1590
1646
|
#
|
1591
1647
|
# @!attribute [rw] receiver_account_id
|
1592
|
-
# The ID of the
|
1648
|
+
# The ID of the Amazon Web Services account that received the
|
1649
|
+
# invitation.
|
1593
1650
|
# @return [String]
|
1594
1651
|
#
|
1595
1652
|
# @!attribute [rw] invitation_timestamp
|
@@ -1695,10 +1752,10 @@ module Aws::RAM
|
|
1695
1752
|
include Aws::Structure
|
1696
1753
|
end
|
1697
1754
|
|
1698
|
-
# Information about an
|
1755
|
+
# Information about an RAM permission.
|
1699
1756
|
#
|
1700
1757
|
# @!attribute [rw] arn
|
1701
|
-
# The ARN of the permission.
|
1758
|
+
# The Amazon Resource Name (ARN) of the permission.
|
1702
1759
|
# @return [String]
|
1703
1760
|
#
|
1704
1761
|
# @!attribute [rw] version
|
@@ -1758,7 +1815,7 @@ module Aws::RAM
|
|
1758
1815
|
# share.
|
1759
1816
|
#
|
1760
1817
|
# @!attribute [rw] arn
|
1761
|
-
# The ARN of the permission.
|
1818
|
+
# The Amazon Resource Name (ARN) of the permission.
|
1762
1819
|
# @return [String]
|
1763
1820
|
#
|
1764
1821
|
# @!attribute [rw] version
|
@@ -1825,15 +1882,16 @@ module Aws::RAM
|
|
1825
1882
|
include Aws::Structure
|
1826
1883
|
end
|
1827
1884
|
|
1828
|
-
# Information about the shareable resource types and the
|
1829
|
-
# which they belong.
|
1885
|
+
# Information about the shareable resource types and the Amazon Web
|
1886
|
+
# Services services to which they belong.
|
1830
1887
|
#
|
1831
1888
|
# @!attribute [rw] resource_type
|
1832
1889
|
# The shareable resource types.
|
1833
1890
|
# @return [String]
|
1834
1891
|
#
|
1835
1892
|
# @!attribute [rw] service_name
|
1836
|
-
# The name of the
|
1893
|
+
# The name of the Amazon Web Services services to which the resources
|
1894
|
+
# belong.
|
1837
1895
|
# @return [String]
|
1838
1896
|
#
|
1839
1897
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ServiceNameAndResourceType AWS API Documentation
|
@@ -2033,8 +2091,8 @@ module Aws::RAM
|
|
2033
2091
|
# @return [String]
|
2034
2092
|
#
|
2035
2093
|
# @!attribute [rw] allow_external_principals
|
2036
|
-
# Indicates whether principals outside your
|
2037
|
-
# associated with a resource share.
|
2094
|
+
# Indicates whether principals outside your organization in
|
2095
|
+
# Organizations can be associated with a resource share.
|
2038
2096
|
# @return [Boolean]
|
2039
2097
|
#
|
2040
2098
|
# @!attribute [rw] client_token
|
data/lib/aws-sdk-ram.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|