aws-sdk-ram 1.28.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ram/client.rb +106 -42
- data/lib/aws-sdk-ram/types.rb +117 -59
- data/lib/aws-sdk-ram.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf06bbbed250f847b7b3b6e64651e2e7e084784db5c9edcce405e1a84d3ee32
|
4
|
+
data.tar.gz: 6878d26ce377ea9dbe2278d3ffc2e2c5200614643adf33e2dd486217be3db080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 372e49cafb77f1cc956d4cecac215d6bf43b6ed32aa1b69f427a0b97dc0c6ab5e0b8a2f94da678bd6e758f29f6ea5b6677da481669518028bbb45bc4b19958fc
|
7
|
+
data.tar.gz: 0233db771ddcc8787e890d14d0d36ad71cd32802355bb13238e9bc87d8e95d4389b5c9539b1a6108841e3add4fa2674d475328985bcdb47385541ab9b7d7ece2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2021-11-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.31.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.30.0 (2021-09-08)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - A minor text-only update that fixes several customer issues.
|
18
|
+
|
19
|
+
1.29.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.28.0 (2021-07-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -275,6 +275,15 @@ module Aws::RAM
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -327,7 +336,8 @@ module Aws::RAM
|
|
327
336
|
|
328
337
|
# @!group API Operations
|
329
338
|
|
330
|
-
# Accepts an invitation to a resource share from another
|
339
|
+
# Accepts an invitation to a resource share from another Amazon Web
|
340
|
+
# Services account.
|
331
341
|
#
|
332
342
|
# @option params [required, String] :resource_share_invitation_arn
|
333
343
|
# The Amazon Resource Name (ARN) of the invitation.
|
@@ -386,12 +396,31 @@ module Aws::RAM
|
|
386
396
|
# The Amazon Resource Name (ARN) of the resource share.
|
387
397
|
#
|
388
398
|
# @option params [Array<String>] :resource_arns
|
389
|
-
# The Amazon Resource Names (
|
399
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
390
400
|
#
|
391
401
|
# @option params [Array<String>] :principals
|
392
402
|
# The principals to associate with the resource share. The possible
|
393
|
-
# values are
|
394
|
-
#
|
403
|
+
# values are:
|
404
|
+
#
|
405
|
+
# * An Amazon Web Services account ID
|
406
|
+
#
|
407
|
+
# * An Amazon Resource Name (ARN) of an organization in Organizations
|
408
|
+
#
|
409
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
410
|
+
#
|
411
|
+
# * An ARN of an IAM role
|
412
|
+
#
|
413
|
+
# * An ARN of an IAM user
|
414
|
+
#
|
415
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users. For
|
416
|
+
# more information, see [Sharing with IAM roles and IAM users][1] in the
|
417
|
+
# *Resource Access Manager User Guide*.
|
418
|
+
#
|
419
|
+
# </note>
|
420
|
+
#
|
421
|
+
#
|
422
|
+
#
|
423
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
395
424
|
#
|
396
425
|
# @option params [String] :client_token
|
397
426
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -440,8 +469,8 @@ module Aws::RAM
|
|
440
469
|
# The Amazon Resource Name (ARN) of the resource share.
|
441
470
|
#
|
442
471
|
# @option params [required, String] :permission_arn
|
443
|
-
# The Amazon Resource Name (ARN) of the
|
444
|
-
#
|
472
|
+
# The Amazon Resource Name (ARN) of the RAM permission to associate with
|
473
|
+
# the resource share.
|
445
474
|
#
|
446
475
|
# @option params [Boolean] :replace
|
447
476
|
# Indicates whether the permission should replace the permissions that
|
@@ -454,7 +483,7 @@ module Aws::RAM
|
|
454
483
|
# idempotency of the request.
|
455
484
|
#
|
456
485
|
# @option params [Integer] :permission_version
|
457
|
-
# The version of the
|
486
|
+
# The version of the RAM permissions to associate with the resource
|
458
487
|
# share.
|
459
488
|
#
|
460
489
|
# @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -486,35 +515,65 @@ module Aws::RAM
|
|
486
515
|
req.send_request(options)
|
487
516
|
end
|
488
517
|
|
489
|
-
# Creates a resource share.
|
518
|
+
# Creates a resource share. You must provide a list of the Amazon
|
519
|
+
# Resource Names (ARNs) for the resources you want to share. You must
|
520
|
+
# also specify who you want to share the resources with, and the
|
521
|
+
# permissions that you grant them.
|
522
|
+
#
|
523
|
+
# <note markdown="1"> Sharing a resource makes it available for use by principals outside of
|
524
|
+
# the Amazon Web Services account that created the resource. Sharing
|
525
|
+
# doesn't change any permissions or quotas that apply to the resource
|
526
|
+
# in the account that created it.
|
527
|
+
#
|
528
|
+
# </note>
|
490
529
|
#
|
491
530
|
# @option params [required, String] :name
|
492
531
|
# The name of the resource share.
|
493
532
|
#
|
494
533
|
# @option params [Array<String>] :resource_arns
|
495
|
-
# The
|
496
|
-
# resource share.
|
534
|
+
# The ARNs of the resources to associate with the resource share.
|
497
535
|
#
|
498
536
|
# @option params [Array<String>] :principals
|
499
537
|
# The principals to associate with the resource share. The possible
|
500
|
-
# values are
|
501
|
-
#
|
538
|
+
# values are:
|
539
|
+
#
|
540
|
+
# * An Amazon Web Services account ID
|
541
|
+
#
|
542
|
+
# * An Amazon Resource Name (ARN) of an organization in Organizations
|
543
|
+
#
|
544
|
+
# * An ARN of an organizational unit (OU) in Organizations
|
545
|
+
#
|
546
|
+
# * An ARN of an IAM role
|
547
|
+
#
|
548
|
+
# * An ARN of an IAM user
|
549
|
+
#
|
550
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and IAM users. For
|
551
|
+
# more information, see [Sharing with IAM roles and IAM users][1] in the
|
552
|
+
# *Resource Access Manager User Guide*.
|
553
|
+
#
|
554
|
+
# </note>
|
555
|
+
#
|
556
|
+
#
|
557
|
+
#
|
558
|
+
# [1]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
502
559
|
#
|
503
560
|
# @option params [Array<Types::Tag>] :tags
|
504
561
|
# One or more tags.
|
505
562
|
#
|
506
563
|
# @option params [Boolean] :allow_external_principals
|
507
|
-
# Indicates whether principals outside your
|
508
|
-
# associated with a resource share.
|
564
|
+
# Indicates whether principals outside your organization in
|
565
|
+
# Organizations can be associated with a resource share.
|
509
566
|
#
|
510
567
|
# @option params [String] :client_token
|
511
568
|
# A unique, case-sensitive identifier that you provide to ensure the
|
512
569
|
# idempotency of the request.
|
513
570
|
#
|
514
571
|
# @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
|
572
|
+
# The Amazon Resource Names (ARNs) of the permissions to associate with
|
573
|
+
# the resource share. If you do not specify an ARN for the permission,
|
574
|
+
# RAM automatically attaches the default version of the permission for
|
575
|
+
# each resource type. Only one permission can be associated with each
|
576
|
+
# resource type in a resource share.
|
518
577
|
#
|
519
578
|
# @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
520
579
|
#
|
@@ -651,13 +710,14 @@ module Aws::RAM
|
|
651
710
|
req.send_request(options)
|
652
711
|
end
|
653
712
|
|
654
|
-
# Disassociates an
|
713
|
+
# Disassociates an RAM permission from a resource share.
|
655
714
|
#
|
656
715
|
# @option params [required, String] :resource_share_arn
|
657
716
|
# The Amazon Resource Name (ARN) of the resource share.
|
658
717
|
#
|
659
718
|
# @option params [required, String] :permission_arn
|
660
|
-
# The ARN of the permission to disassociate from
|
719
|
+
# The Amazon Resource Name (ARN) of the permission to disassociate from
|
720
|
+
# the resource share.
|
661
721
|
#
|
662
722
|
# @option params [String] :client_token
|
663
723
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -690,9 +750,9 @@ module Aws::RAM
|
|
690
750
|
req.send_request(options)
|
691
751
|
end
|
692
752
|
|
693
|
-
# Enables resource sharing within your
|
753
|
+
# Enables resource sharing within your organization in Organizations.
|
694
754
|
#
|
695
|
-
# The caller must be the master account for the
|
755
|
+
# The caller must be the master account for the organization.
|
696
756
|
#
|
697
757
|
# @return [Types::EnableSharingWithAwsOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
698
758
|
#
|
@@ -711,10 +771,10 @@ module Aws::RAM
|
|
711
771
|
req.send_request(options)
|
712
772
|
end
|
713
773
|
|
714
|
-
# Gets the contents of an
|
774
|
+
# Gets the contents of an RAM permission in JSON format.
|
715
775
|
#
|
716
776
|
# @option params [required, String] :permission_arn
|
717
|
-
# The ARN of the permission.
|
777
|
+
# The Amazon Resource Name (ARN) of the permission.
|
718
778
|
#
|
719
779
|
# @option params [Integer] :permission_version
|
720
780
|
# The identifier for the version of the permission.
|
@@ -755,7 +815,7 @@ module Aws::RAM
|
|
755
815
|
# shared.
|
756
816
|
#
|
757
817
|
# @option params [required, Array<String>] :resource_arns
|
758
|
-
# The Amazon Resource Names (
|
818
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
759
819
|
#
|
760
820
|
# @option params [String] :principal
|
761
821
|
# The principal.
|
@@ -939,7 +999,7 @@ module Aws::RAM
|
|
939
999
|
# shared with you.
|
940
1000
|
#
|
941
1001
|
# @option params [Array<String>] :resource_share_arns
|
942
|
-
# The ARNs of the resource shares.
|
1002
|
+
# The Amazon Resource Names (ARNs) of the resource shares.
|
943
1003
|
#
|
944
1004
|
# @option params [String] :resource_share_status
|
945
1005
|
# The status of the resource share.
|
@@ -962,7 +1022,7 @@ module Aws::RAM
|
|
962
1022
|
# `nextToken` value.
|
963
1023
|
#
|
964
1024
|
# @option params [String] :permission_arn
|
965
|
-
# The Amazon Resource Name (ARN) of the
|
1025
|
+
# The Amazon Resource Name (ARN) of the RAM permission that is
|
966
1026
|
# associated with the resource share.
|
967
1027
|
#
|
968
1028
|
# @return [Types::GetResourceSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1067,7 +1127,7 @@ module Aws::RAM
|
|
1067
1127
|
req.send_request(options)
|
1068
1128
|
end
|
1069
1129
|
|
1070
|
-
# Lists the
|
1130
|
+
# Lists the RAM permissions.
|
1071
1131
|
#
|
1072
1132
|
# @option params [String] :resource_type
|
1073
1133
|
# Specifies the resource type for which to list permissions. For
|
@@ -1148,8 +1208,10 @@ module Aws::RAM
|
|
1148
1208
|
# `network-firewall:StatefulRuleGroup` \|
|
1149
1209
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1150
1210
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1151
|
-
# `route53resolver:
|
1152
|
-
#
|
1211
|
+
# `route53resolver:FirewallRuleGroup`
|
1212
|
+
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1213
|
+
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1214
|
+
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1153
1215
|
#
|
1154
1216
|
# @option params [Array<String>] :resource_share_arns
|
1155
1217
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -1200,8 +1262,7 @@ module Aws::RAM
|
|
1200
1262
|
req.send_request(options)
|
1201
1263
|
end
|
1202
1264
|
|
1203
|
-
# Lists the
|
1204
|
-
# share.
|
1265
|
+
# Lists the RAM permissions that are associated with a resource share.
|
1205
1266
|
#
|
1206
1267
|
# @option params [required, String] :resource_share_arn
|
1207
1268
|
# The Amazon Resource Name (ARN) of the resource share.
|
@@ -1252,7 +1313,7 @@ module Aws::RAM
|
|
1252
1313
|
req.send_request(options)
|
1253
1314
|
end
|
1254
1315
|
|
1255
|
-
# Lists the shareable resource types supported by
|
1316
|
+
# Lists the shareable resource types supported by RAM.
|
1256
1317
|
#
|
1257
1318
|
# @option params [String] :next_token
|
1258
1319
|
# The token for the next page of results.
|
@@ -1317,11 +1378,13 @@ module Aws::RAM
|
|
1317
1378
|
# `network-firewall:StatefulRuleGroup` \|
|
1318
1379
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1319
1380
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1320
|
-
# `route53resolver:
|
1321
|
-
#
|
1381
|
+
# `route53resolver:FirewallRuleGroup`
|
1382
|
+
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1383
|
+
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1384
|
+
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1322
1385
|
#
|
1323
1386
|
# @option params [Array<String>] :resource_arns
|
1324
|
-
# The Amazon Resource Names (
|
1387
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
1325
1388
|
#
|
1326
1389
|
# @option params [Array<String>] :resource_share_arns
|
1327
1390
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -1377,17 +1440,17 @@ module Aws::RAM
|
|
1377
1440
|
|
1378
1441
|
# Resource shares that were created by attaching a policy to a resource
|
1379
1442
|
# are visible only to the resource share owner, and the resource share
|
1380
|
-
# cannot be modified in
|
1443
|
+
# cannot be modified in RAM.
|
1381
1444
|
#
|
1382
1445
|
# Use this API action to promote the resource share. When you promote
|
1383
1446
|
# the resource share, it becomes:
|
1384
1447
|
#
|
1385
1448
|
# * Visible to all principals that it is shared with.
|
1386
1449
|
#
|
1387
|
-
# * Modifiable in
|
1450
|
+
# * Modifiable in RAM.
|
1388
1451
|
#
|
1389
1452
|
# @option params [required, String] :resource_share_arn
|
1390
|
-
# The ARN of the resource share to promote.
|
1453
|
+
# The Amazon Resource Name (ARN) of the resource share to promote.
|
1391
1454
|
#
|
1392
1455
|
# @return [Types::PromoteResourceShareCreatedFromPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1393
1456
|
#
|
@@ -1412,7 +1475,8 @@ module Aws::RAM
|
|
1412
1475
|
req.send_request(options)
|
1413
1476
|
end
|
1414
1477
|
|
1415
|
-
# Rejects an invitation to a resource share from another
|
1478
|
+
# Rejects an invitation to a resource share from another Amazon Web
|
1479
|
+
# Services account.
|
1416
1480
|
#
|
1417
1481
|
# @option params [required, String] :resource_share_invitation_arn
|
1418
1482
|
# The Amazon Resource Name (ARN) of the invitation.
|
@@ -1531,8 +1595,8 @@ module Aws::RAM
|
|
1531
1595
|
# The name of the resource share.
|
1532
1596
|
#
|
1533
1597
|
# @option params [Boolean] :allow_external_principals
|
1534
|
-
# Indicates whether principals outside your
|
1535
|
-
# associated with a resource share.
|
1598
|
+
# Indicates whether principals outside your organization in
|
1599
|
+
# Organizations can be associated with a resource share.
|
1536
1600
|
#
|
1537
1601
|
# @option params [String] :client_token
|
1538
1602
|
# A unique, case-sensitive identifier that you provide to ensure the
|
@@ -1590,7 +1654,7 @@ module Aws::RAM
|
|
1590
1654
|
params: params,
|
1591
1655
|
config: config)
|
1592
1656
|
context[:gem_name] = 'aws-sdk-ram'
|
1593
|
-
context[:gem_version] = '1.
|
1657
|
+
context[:gem_version] = '1.32.0'
|
1594
1658
|
Seahorse::Client::Request.new(handlers, context)
|
1595
1659
|
end
|
1596
1660
|
|
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.32.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-
|
11
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|