aws-sdk-ram 1.30.0 → 1.34.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 +795 -225
- data/lib/aws-sdk-ram/client_api.rb +12 -0
- data/lib/aws-sdk-ram/errors.rb +16 -0
- data/lib/aws-sdk-ram/types.rb +1087 -349
- data/lib/aws-sdk-ram.rb +1 -1
- metadata +4 -4
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -119,7 +119,9 @@ module Aws::RAM
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
124
|
+
# to true.
|
123
125
|
#
|
124
126
|
# @option options [required, String] :region
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
@@ -275,6 +277,15 @@ module Aws::RAM
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
278
|
# requests are made, and retries are disabled.
|
277
279
|
#
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
282
|
+
# will be used if available.
|
283
|
+
#
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
287
|
+
# is set to `true`.
|
288
|
+
#
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
279
290
|
# When `true`, request parameters are validated before
|
280
291
|
# sending the request.
|
@@ -328,14 +339,32 @@ module Aws::RAM
|
|
328
339
|
# @!group API Operations
|
329
340
|
|
330
341
|
# Accepts an invitation to a resource share from another Amazon Web
|
331
|
-
# Services account.
|
342
|
+
# Services account. After you accept the invitation, the resources
|
343
|
+
# included in the resource share are available to interact with in the
|
344
|
+
# relevant Amazon Web Services Management Consoles and tools.
|
332
345
|
#
|
333
346
|
# @option params [required, String] :resource_share_invitation_arn
|
334
|
-
# The Amazon
|
347
|
+
# The [Amazon Resoure Name (ARN)][1] of the invitation that you want to
|
348
|
+
# accept.
|
349
|
+
#
|
350
|
+
#
|
351
|
+
#
|
352
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
335
353
|
#
|
336
354
|
# @option params [String] :client_token
|
337
|
-
#
|
338
|
-
# idempotency of the request.
|
355
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
356
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
357
|
+
# request without accidentally performing the same operation a second
|
358
|
+
# time. Passing the same value to a later call to an operation requires
|
359
|
+
# that you also pass the same value for all other parameters. We
|
360
|
+
# recommend that you use a [UUID type of value.][1].
|
361
|
+
#
|
362
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
363
|
+
# random one for you.
|
364
|
+
#
|
365
|
+
#
|
366
|
+
#
|
367
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
339
368
|
#
|
340
369
|
# @return [Types::AcceptResourceShareInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
341
370
|
#
|
@@ -380,42 +409,78 @@ module Aws::RAM
|
|
380
409
|
req.send_request(options)
|
381
410
|
end
|
382
411
|
|
383
|
-
#
|
384
|
-
#
|
412
|
+
# Adds the specified list of principals and list of resources to a
|
413
|
+
# resource share. Principals that already have access to this resource
|
414
|
+
# share immediately receive access to the added resources. Newly added
|
415
|
+
# principals immediately receive access to the resources shared in this
|
416
|
+
# resource share.
|
385
417
|
#
|
386
418
|
# @option params [required, String] :resource_share_arn
|
387
|
-
#
|
419
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
420
|
+
# that you want to add principals or resources to.
|
421
|
+
#
|
422
|
+
#
|
423
|
+
#
|
424
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
388
425
|
#
|
389
426
|
# @option params [Array<String>] :resource_arns
|
390
|
-
#
|
427
|
+
# Specifies a list of [Amazon Resource Names (ARNs)][1] of the resources
|
428
|
+
# that you want to share. This can be `null` if you want to add only
|
429
|
+
# principals.
|
430
|
+
#
|
431
|
+
#
|
432
|
+
#
|
433
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
391
434
|
#
|
392
435
|
# @option params [Array<String>] :principals
|
393
|
-
#
|
394
|
-
#
|
436
|
+
# Specifies a list of principals to whom you want to the resource share.
|
437
|
+
# This can be `null` if you want to add only resources.
|
438
|
+
#
|
439
|
+
# What the principals can do with the resources in the share is
|
440
|
+
# determined by the RAM permissions that you associate with the resource
|
441
|
+
# share. See AssociateResourceSharePermission.
|
442
|
+
#
|
443
|
+
# You can include the following values:
|
395
444
|
#
|
396
|
-
# * An Amazon Web Services account ID
|
445
|
+
# * An Amazon Web Services account ID, for example: `123456789012`
|
397
446
|
#
|
398
|
-
# * An Amazon
|
447
|
+
# * An [Amazon Resoure Name (ARN)][1] of an organization in
|
448
|
+
# Organizations, for example:
|
449
|
+
# `organizations::123456789012:organization/o-exampleorgid`
|
399
450
|
#
|
400
|
-
# * An ARN of an organizational unit (OU) in Organizations
|
451
|
+
# * An ARN of an organizational unit (OU) in Organizations, for example:
|
452
|
+
# `organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123`
|
401
453
|
#
|
402
|
-
# * An ARN of an IAM role
|
454
|
+
# * An ARN of an IAM role, for example:
|
455
|
+
# `iam::123456789012:role/rolename`
|
403
456
|
#
|
404
|
-
# * An ARN of an IAM user
|
457
|
+
# * An ARN of an IAM user, for example: `iam::123456789012user/username`
|
405
458
|
#
|
406
|
-
# <note markdown="1"> Not all resource types can be shared with IAM roles and
|
407
|
-
# more information, see [Sharing with IAM roles and
|
459
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and users. For
|
460
|
+
# more information, see [Sharing with IAM roles and users][2] in the
|
408
461
|
# *Resource Access Manager User Guide*.
|
409
462
|
#
|
410
463
|
# </note>
|
411
464
|
#
|
412
465
|
#
|
413
466
|
#
|
414
|
-
# [1]: https://docs.aws.amazon.com/
|
467
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
468
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
415
469
|
#
|
416
470
|
# @option params [String] :client_token
|
417
|
-
#
|
418
|
-
# idempotency of the request.
|
471
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
472
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
473
|
+
# request without accidentally performing the same operation a second
|
474
|
+
# time. Passing the same value to a later call to an operation requires
|
475
|
+
# that you also pass the same value for all other parameters. We
|
476
|
+
# recommend that you use a [UUID type of value.][1].
|
477
|
+
#
|
478
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
479
|
+
# random one for you.
|
480
|
+
#
|
481
|
+
#
|
482
|
+
#
|
483
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
419
484
|
#
|
420
485
|
# @return [Types::AssociateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
421
486
|
#
|
@@ -454,28 +519,64 @@ module Aws::RAM
|
|
454
519
|
req.send_request(options)
|
455
520
|
end
|
456
521
|
|
457
|
-
#
|
522
|
+
# Adds or replaces the RAM permission for a resource type included in a
|
523
|
+
# resource share. You can have exactly one permission associated with
|
524
|
+
# each resource type in the resource share. You can add a new RAM
|
525
|
+
# permission only if there are currently no resources of that resource
|
526
|
+
# type currently in the resource share.
|
458
527
|
#
|
459
528
|
# @option params [required, String] :resource_share_arn
|
460
|
-
#
|
529
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share to
|
530
|
+
# which you want to add or replace permissions.
|
531
|
+
#
|
532
|
+
#
|
533
|
+
#
|
534
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
461
535
|
#
|
462
536
|
# @option params [required, String] :permission_arn
|
463
|
-
#
|
464
|
-
# the resource share.
|
537
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the RAM permission to
|
538
|
+
# associate with the resource share. To find the ARN for a permission,
|
539
|
+
# use either the ListPermissions operation or go to the [Permissions
|
540
|
+
# library][2] page in the RAM console and then choose the name of the
|
541
|
+
# permission. The ARN is displayed on the detail page.
|
542
|
+
#
|
543
|
+
#
|
544
|
+
#
|
545
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
546
|
+
# [2]: https://console.aws.amazon.com/ram/home#Permissions:
|
465
547
|
#
|
466
548
|
# @option params [Boolean] :replace
|
467
|
-
#
|
468
|
-
#
|
469
|
-
# replace the current permissions. Use `false` to add the permission
|
470
|
-
# the current permission.
|
549
|
+
# Specifies whether the specified permission should replace or add to
|
550
|
+
# the existing permission associated with the resource share. Use `true`
|
551
|
+
# to replace the current permissions. Use `false` to add the permission
|
552
|
+
# to the current permission. The default value is `false`.
|
553
|
+
#
|
554
|
+
# <note markdown="1"> A resource share can have only one permission per resource type. If a
|
555
|
+
# resource share already has a permission for the specified resource
|
556
|
+
# type and you don't set `replace` to `true` then the operation returns
|
557
|
+
# an error. This helps prevent accidental overwriting of a permission.
|
558
|
+
#
|
559
|
+
# </note>
|
471
560
|
#
|
472
561
|
# @option params [String] :client_token
|
473
|
-
#
|
474
|
-
# idempotency of the request.
|
562
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
563
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
564
|
+
# request without accidentally performing the same operation a second
|
565
|
+
# time. Passing the same value to a later call to an operation requires
|
566
|
+
# that you also pass the same value for all other parameters. We
|
567
|
+
# recommend that you use a [UUID type of value.][1].
|
568
|
+
#
|
569
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
570
|
+
# random one for you.
|
571
|
+
#
|
572
|
+
#
|
573
|
+
#
|
574
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
475
575
|
#
|
476
576
|
# @option params [Integer] :permission_version
|
477
|
-
#
|
478
|
-
# share.
|
577
|
+
# Specifies the version of the RAM permission to associate with the
|
578
|
+
# resource share. If you don't specify this parameter, the operation
|
579
|
+
# uses the version designated as the default.
|
479
580
|
#
|
480
581
|
# @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
481
582
|
#
|
@@ -506,10 +607,10 @@ module Aws::RAM
|
|
506
607
|
req.send_request(options)
|
507
608
|
end
|
508
609
|
|
509
|
-
# Creates a resource share. You
|
510
|
-
# Resource Names (ARNs) for the resources you want to share
|
511
|
-
#
|
512
|
-
# permissions
|
610
|
+
# Creates a resource share. You can provide a list of the [Amazon
|
611
|
+
# Resource Names (ARNs)][1] for the resources that you want to share, a
|
612
|
+
# list of principals you want to share the resources with, and the
|
613
|
+
# permissions to grant those principals.
|
513
614
|
#
|
514
615
|
# <note markdown="1"> Sharing a resource makes it available for use by principals outside of
|
515
616
|
# the Amazon Web Services account that created the resource. Sharing
|
@@ -518,53 +619,86 @@ module Aws::RAM
|
|
518
619
|
#
|
519
620
|
# </note>
|
520
621
|
#
|
622
|
+
#
|
623
|
+
#
|
624
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
625
|
+
#
|
521
626
|
# @option params [required, String] :name
|
522
|
-
#
|
627
|
+
# Specifies the name of the resource share.
|
523
628
|
#
|
524
629
|
# @option params [Array<String>] :resource_arns
|
525
|
-
#
|
630
|
+
# Specifies a list of one or more ARNs of the resources to associate
|
631
|
+
# with the resource share.
|
526
632
|
#
|
527
633
|
# @option params [Array<String>] :principals
|
528
|
-
#
|
529
|
-
#
|
634
|
+
# Specifies a list of one or more principals to associate with the
|
635
|
+
# resource share.
|
636
|
+
#
|
637
|
+
# You can include the following values:
|
530
638
|
#
|
531
|
-
# * An Amazon Web Services account ID
|
639
|
+
# * An Amazon Web Services account ID, for example: `123456789012`
|
532
640
|
#
|
533
|
-
# * An Amazon
|
641
|
+
# * An [Amazon Resoure Name (ARN)][1] of an organization in
|
642
|
+
# Organizations, for example:
|
643
|
+
# `organizations::123456789012:organization/o-exampleorgid`
|
534
644
|
#
|
535
|
-
# * An ARN of an organizational unit (OU) in Organizations
|
645
|
+
# * An ARN of an organizational unit (OU) in Organizations, for example:
|
646
|
+
# `organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123`
|
536
647
|
#
|
537
|
-
# * An ARN of an IAM role
|
648
|
+
# * An ARN of an IAM role, for example:
|
649
|
+
# `iam::123456789012:role/rolename`
|
538
650
|
#
|
539
|
-
# * An ARN of an IAM user
|
651
|
+
# * An ARN of an IAM user, for example: `iam::123456789012user/username`
|
540
652
|
#
|
541
|
-
# <note markdown="1"> Not all resource types can be shared with IAM roles and
|
542
|
-
# more information, see [Sharing with IAM roles and
|
653
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and users. For
|
654
|
+
# more information, see [Sharing with IAM roles and users][2] in the
|
543
655
|
# *Resource Access Manager User Guide*.
|
544
656
|
#
|
545
657
|
# </note>
|
546
658
|
#
|
547
659
|
#
|
548
660
|
#
|
549
|
-
# [1]: https://docs.aws.amazon.com/
|
661
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
662
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
550
663
|
#
|
551
664
|
# @option params [Array<Types::Tag>] :tags
|
552
|
-
#
|
665
|
+
# Specifies one or more tags to attach to the resource share itself. It
|
666
|
+
# doesn't attach the tags to the resources associated with the resource
|
667
|
+
# share.
|
553
668
|
#
|
554
669
|
# @option params [Boolean] :allow_external_principals
|
555
|
-
#
|
556
|
-
# Organizations can be associated with a resource share.
|
670
|
+
# Specifies whether principals outside your organization in
|
671
|
+
# Organizations can be associated with a resource share. A value of
|
672
|
+
# `true` lets you share with individual Amazon Web Services accounts
|
673
|
+
# that are *not* in your organization. A value of `false` only has
|
674
|
+
# meaning if your account is a member of an Amazon Web Services
|
675
|
+
# Organization. The default value is `true`.
|
557
676
|
#
|
558
677
|
# @option params [String] :client_token
|
559
|
-
#
|
560
|
-
# idempotency of the request.
|
678
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
679
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
680
|
+
# request without accidentally performing the same operation a second
|
681
|
+
# time. Passing the same value to a later call to an operation requires
|
682
|
+
# that you also pass the same value for all other parameters. We
|
683
|
+
# recommend that you use a [UUID type of value.][1].
|
684
|
+
#
|
685
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
686
|
+
# random one for you.
|
687
|
+
#
|
688
|
+
#
|
689
|
+
#
|
690
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
561
691
|
#
|
562
692
|
# @option params [Array<String>] :permission_arns
|
563
|
-
#
|
564
|
-
# the resource share. If you do not specify an ARN for
|
565
|
-
# RAM automatically attaches the default version of the
|
566
|
-
# each resource type.
|
567
|
-
# resource type in
|
693
|
+
# Specifies the [Amazon Resource Names (ARNs)][1] of the RAM permission
|
694
|
+
# to associate with the resource share. If you do not specify an ARN for
|
695
|
+
# the permission, RAM automatically attaches the default version of the
|
696
|
+
# permission for each resource type. You can associate only one
|
697
|
+
# permission with each resource type included in the resource share.
|
698
|
+
#
|
699
|
+
#
|
700
|
+
#
|
701
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
568
702
|
#
|
569
703
|
# @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
570
704
|
#
|
@@ -613,14 +747,33 @@ module Aws::RAM
|
|
613
747
|
req.send_request(options)
|
614
748
|
end
|
615
749
|
|
616
|
-
# Deletes the specified resource share.
|
750
|
+
# Deletes the specified resource share. This doesn't delete any of the
|
751
|
+
# resources that were associated with the resource share; it only stops
|
752
|
+
# the sharing of those resources outside of the Amazon Web Services
|
753
|
+
# account that created them.
|
617
754
|
#
|
618
755
|
# @option params [required, String] :resource_share_arn
|
619
|
-
#
|
756
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share to
|
757
|
+
# delete.
|
758
|
+
#
|
759
|
+
#
|
760
|
+
#
|
761
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
620
762
|
#
|
621
763
|
# @option params [String] :client_token
|
622
|
-
#
|
623
|
-
# idempotency of the request.
|
764
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
765
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
766
|
+
# request without accidentally performing the same operation a second
|
767
|
+
# time. Passing the same value to a later call to an operation requires
|
768
|
+
# that you also pass the same value for all other parameters. We
|
769
|
+
# recommend that you use a [UUID type of value.][1].
|
770
|
+
#
|
771
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
772
|
+
# random one for you.
|
773
|
+
#
|
774
|
+
#
|
775
|
+
#
|
776
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
624
777
|
#
|
625
778
|
# @return [Types::DeleteResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
626
779
|
#
|
@@ -652,17 +805,68 @@ module Aws::RAM
|
|
652
805
|
# resource share.
|
653
806
|
#
|
654
807
|
# @option params [required, String] :resource_share_arn
|
655
|
-
#
|
808
|
+
# Specifies [Amazon Resoure Name (ARN)][1] of the resource share that
|
809
|
+
# you want to remove resources from.
|
810
|
+
#
|
811
|
+
#
|
812
|
+
#
|
813
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
656
814
|
#
|
657
815
|
# @option params [Array<String>] :resource_arns
|
658
|
-
#
|
816
|
+
# Specifies a list of [Amazon Resource Names (ARNs)][1] for one or more
|
817
|
+
# resources that you want to remove from the resource share. After the
|
818
|
+
# operation runs, these resources are no longer shared with principals
|
819
|
+
# outside of the Amazon Web Services account that created the resources.
|
820
|
+
#
|
821
|
+
#
|
822
|
+
#
|
823
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
659
824
|
#
|
660
825
|
# @option params [Array<String>] :principals
|
661
|
-
#
|
826
|
+
# Specifies a list of one or more principals that no longer are to have
|
827
|
+
# access to the resources in this resource share.
|
828
|
+
#
|
829
|
+
# You can include the following values:
|
830
|
+
#
|
831
|
+
# * An Amazon Web Services account ID, for example: `123456789012`
|
832
|
+
#
|
833
|
+
# * An [Amazon Resoure Name (ARN)][1] of an organization in
|
834
|
+
# Organizations, for example:
|
835
|
+
# `organizations::123456789012:organization/o-exampleorgid`
|
836
|
+
#
|
837
|
+
# * An ARN of an organizational unit (OU) in Organizations, for example:
|
838
|
+
# `organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123`
|
839
|
+
#
|
840
|
+
# * An ARN of an IAM role, for example:
|
841
|
+
# `iam::123456789012:role/rolename`
|
842
|
+
#
|
843
|
+
# * An ARN of an IAM user, for example: `iam::123456789012user/username`
|
844
|
+
#
|
845
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and users. For
|
846
|
+
# more information, see [Sharing with IAM roles and users][2] in the
|
847
|
+
# *Resource Access Manager User Guide*.
|
848
|
+
#
|
849
|
+
# </note>
|
850
|
+
#
|
851
|
+
#
|
852
|
+
#
|
853
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
854
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
662
855
|
#
|
663
856
|
# @option params [String] :client_token
|
664
|
-
#
|
665
|
-
# idempotency of the request.
|
857
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
858
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
859
|
+
# request without accidentally performing the same operation a second
|
860
|
+
# time. Passing the same value to a later call to an operation requires
|
861
|
+
# that you also pass the same value for all other parameters. We
|
862
|
+
# recommend that you use a [UUID type of value.][1].
|
863
|
+
#
|
864
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
865
|
+
# random one for you.
|
866
|
+
#
|
867
|
+
#
|
868
|
+
#
|
869
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
666
870
|
#
|
667
871
|
# @return [Types::DisassociateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
668
872
|
#
|
@@ -701,18 +905,42 @@ module Aws::RAM
|
|
701
905
|
req.send_request(options)
|
702
906
|
end
|
703
907
|
|
704
|
-
# Disassociates an RAM permission from a resource share.
|
908
|
+
# Disassociates an RAM permission from a resource share. Permission
|
909
|
+
# changes take effect immediately. You can remove a RAM permission from
|
910
|
+
# a resource share only if there are currently no resources of the
|
911
|
+
# relevant resource type currently attached to the resource share.
|
705
912
|
#
|
706
913
|
# @option params [required, String] :resource_share_arn
|
707
|
-
# The Amazon
|
914
|
+
# The [Amazon Resoure Name (ARN)][1] of the resource share from which
|
915
|
+
# you want to disassociate a permission.
|
916
|
+
#
|
917
|
+
#
|
918
|
+
#
|
919
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
708
920
|
#
|
709
921
|
# @option params [required, String] :permission_arn
|
710
|
-
# The Amazon
|
711
|
-
# the resource share.
|
922
|
+
# The [Amazon Resoure Name (ARN)][1] of the permission to disassociate
|
923
|
+
# from the resource share. Changes to permissions take effect
|
924
|
+
# immediately.
|
925
|
+
#
|
926
|
+
#
|
927
|
+
#
|
928
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
712
929
|
#
|
713
930
|
# @option params [String] :client_token
|
714
|
-
#
|
715
|
-
# idempotency of the request.
|
931
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
932
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
933
|
+
# request without accidentally performing the same operation a second
|
934
|
+
# time. Passing the same value to a later call to an operation requires
|
935
|
+
# that you also pass the same value for all other parameters. We
|
936
|
+
# recommend that you use a [UUID type of value.][1].
|
937
|
+
#
|
938
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
939
|
+
# random one for you.
|
940
|
+
#
|
941
|
+
#
|
942
|
+
#
|
943
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
716
944
|
#
|
717
945
|
# @return [Types::DisassociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
718
946
|
#
|
@@ -742,8 +970,16 @@ module Aws::RAM
|
|
742
970
|
end
|
743
971
|
|
744
972
|
# Enables resource sharing within your organization in Organizations.
|
973
|
+
# Calling this operation enables RAM to retrieve information about the
|
974
|
+
# organization and its structure. This lets you share resources with all
|
975
|
+
# of the accounts in an organization by specifying the organization's
|
976
|
+
# ID, or all of the accounts in an organizational unit (OU) by
|
977
|
+
# specifying the OU's ID. Until you enable sharing within the
|
978
|
+
# organization, you can specify only individual Amazon Web Services
|
979
|
+
# accounts, or for supported resource types, IAM users and roles.
|
745
980
|
#
|
746
|
-
#
|
981
|
+
# You must call this operation from an IAM user or role in the
|
982
|
+
# organization's management account.
|
747
983
|
#
|
748
984
|
# @return [Types::EnableSharingWithAwsOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
749
985
|
#
|
@@ -765,10 +1001,21 @@ module Aws::RAM
|
|
765
1001
|
# Gets the contents of an RAM permission in JSON format.
|
766
1002
|
#
|
767
1003
|
# @option params [required, String] :permission_arn
|
768
|
-
#
|
1004
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the permission whose
|
1005
|
+
# contents you want to retrieve. To find the ARN for a permission, use
|
1006
|
+
# either the ListPermissions operation or go to the [Permissions
|
1007
|
+
# library][2] page in the RAM console and then choose the name of the
|
1008
|
+
# permission. The ARN is displayed on the detail page.
|
1009
|
+
#
|
1010
|
+
#
|
1011
|
+
#
|
1012
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1013
|
+
# [2]: https://console.aws.amazon.com/ram/home#Permissions:
|
769
1014
|
#
|
770
1015
|
# @option params [Integer] :permission_version
|
771
|
-
#
|
1016
|
+
# Specifies identifier for the version of the RAM permission to
|
1017
|
+
# retrieve. If you don't specify this parameter, the operation
|
1018
|
+
# retrieves the default version.
|
772
1019
|
#
|
773
1020
|
# @return [Types::GetPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
774
1021
|
#
|
@@ -802,22 +1049,38 @@ module Aws::RAM
|
|
802
1049
|
req.send_request(options)
|
803
1050
|
end
|
804
1051
|
|
805
|
-
#
|
806
|
-
# shared.
|
1052
|
+
# Retrieves the resource policies for the specified resources that you
|
1053
|
+
# own and have shared.
|
807
1054
|
#
|
808
1055
|
# @option params [required, Array<String>] :resource_arns
|
809
|
-
#
|
1056
|
+
# Specifies the [Amazon Resource Names (ARNs)][1] of the resources whose
|
1057
|
+
# policies you want to retrieve.
|
1058
|
+
#
|
1059
|
+
#
|
1060
|
+
#
|
1061
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
810
1062
|
#
|
811
1063
|
# @option params [String] :principal
|
812
|
-
#
|
1064
|
+
# Specifies the principal.
|
813
1065
|
#
|
814
1066
|
# @option params [String] :next_token
|
815
|
-
#
|
1067
|
+
# Specifies that you want to receive the next page of results. Valid
|
1068
|
+
# only if you received a `NextToken` response in the previous request.
|
1069
|
+
# If you did, it indicates that more output is available. Set this
|
1070
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1071
|
+
# response to request the next page of results.
|
816
1072
|
#
|
817
1073
|
# @option params [Integer] :max_results
|
818
|
-
#
|
819
|
-
#
|
820
|
-
#
|
1074
|
+
# Specifies the total number of results that you want included on each
|
1075
|
+
# page of the response. If you do not include this parameter, it
|
1076
|
+
# defaults to a value that is specific to the operation. If additional
|
1077
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1078
|
+
# element is returned with a value (not null). Include the specified
|
1079
|
+
# value as the `NextToken` request parameter in the next call to the
|
1080
|
+
# operation to get the next part of the results. Note that the service
|
1081
|
+
# might return fewer results than the maximum even when there are more
|
1082
|
+
# results available. You should check `NextToken` after every operation
|
1083
|
+
# to ensure that you receive all of the results.
|
821
1084
|
#
|
822
1085
|
# @return [Types::GetResourcePoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
823
1086
|
#
|
@@ -850,35 +1113,73 @@ module Aws::RAM
|
|
850
1113
|
req.send_request(options)
|
851
1114
|
end
|
852
1115
|
|
853
|
-
#
|
1116
|
+
# Retrieves the resource and principal associations for resource shares
|
1117
|
+
# that you own.
|
854
1118
|
#
|
855
1119
|
# @option params [required, String] :association_type
|
856
|
-
#
|
857
|
-
#
|
858
|
-
#
|
859
|
-
#
|
1120
|
+
# Specifies whether you want to retrieve the associations that involve a
|
1121
|
+
# specified resource or principal.
|
1122
|
+
#
|
1123
|
+
# * `PRINCIPAL` – list the principals that are associated with the
|
1124
|
+
# specified resource share.
|
1125
|
+
#
|
1126
|
+
# * `RESOURCE` – list the resources that are associated with the
|
1127
|
+
# specified resource share.
|
860
1128
|
#
|
861
1129
|
# @option params [Array<String>] :resource_share_arns
|
862
|
-
#
|
1130
|
+
# Specifies a list of [Amazon Resource Names (ARNs)][1] of the resource
|
1131
|
+
# share whose associations you want to retrieve.
|
1132
|
+
#
|
1133
|
+
#
|
1134
|
+
#
|
1135
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
863
1136
|
#
|
864
1137
|
# @option params [String] :resource_arn
|
865
|
-
#
|
866
|
-
#
|
1138
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource whose
|
1139
|
+
# resource shares you want to retrieve.
|
1140
|
+
#
|
1141
|
+
# You cannot specify this parameter if the association type is
|
1142
|
+
# `PRINCIPAL`.
|
1143
|
+
#
|
1144
|
+
#
|
1145
|
+
#
|
1146
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
867
1147
|
#
|
868
1148
|
# @option params [String] :principal
|
869
|
-
#
|
870
|
-
#
|
1149
|
+
# Specifies the ID of the principal whose resource shares you want to
|
1150
|
+
# retrieve. This can be an Amazon Web Services account ID, an
|
1151
|
+
# organization ID, an organizational unit ID, or the [Amazon Resoure
|
1152
|
+
# Name (ARN)][1] of an individual IAM user or role.
|
1153
|
+
#
|
1154
|
+
# You cannot specify this parameter if the association type is
|
1155
|
+
# `RESOURCE`.
|
1156
|
+
#
|
1157
|
+
#
|
1158
|
+
#
|
1159
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
871
1160
|
#
|
872
1161
|
# @option params [String] :association_status
|
873
|
-
#
|
1162
|
+
# Specifies that you want to retrieve only associations with this
|
1163
|
+
# status.
|
874
1164
|
#
|
875
1165
|
# @option params [String] :next_token
|
876
|
-
#
|
1166
|
+
# Specifies that you want to receive the next page of results. Valid
|
1167
|
+
# only if you received a `NextToken` response in the previous request.
|
1168
|
+
# If you did, it indicates that more output is available. Set this
|
1169
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1170
|
+
# response to request the next page of results.
|
877
1171
|
#
|
878
1172
|
# @option params [Integer] :max_results
|
879
|
-
#
|
880
|
-
#
|
881
|
-
#
|
1173
|
+
# Specifies the total number of results that you want included on each
|
1174
|
+
# page of the response. If you do not include this parameter, it
|
1175
|
+
# defaults to a value that is specific to the operation. If additional
|
1176
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1177
|
+
# element is returned with a value (not null). Include the specified
|
1178
|
+
# value as the `NextToken` request parameter in the next call to the
|
1179
|
+
# operation to get the next part of the results. Note that the service
|
1180
|
+
# might return fewer results than the maximum even when there are more
|
1181
|
+
# results available. You should check `NextToken` after every operation
|
1182
|
+
# to ensure that you receive all of the results.
|
882
1183
|
#
|
883
1184
|
# @return [Types::GetResourceShareAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
884
1185
|
#
|
@@ -922,21 +1223,44 @@ module Aws::RAM
|
|
922
1223
|
req.send_request(options)
|
923
1224
|
end
|
924
1225
|
|
925
|
-
#
|
1226
|
+
# Retrieves details about invitations that you have received for
|
1227
|
+
# resource shares.
|
926
1228
|
#
|
927
1229
|
# @option params [Array<String>] :resource_share_invitation_arns
|
928
|
-
#
|
1230
|
+
# Specifies the [Amazon Resource Names (ARNs)][1] of the resource share
|
1231
|
+
# invitations you want information about.
|
1232
|
+
#
|
1233
|
+
#
|
1234
|
+
#
|
1235
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
929
1236
|
#
|
930
1237
|
# @option params [Array<String>] :resource_share_arns
|
931
|
-
#
|
1238
|
+
# Specifies that you want details about invitations only for the
|
1239
|
+
# resource shares described by this list of [Amazon Resource Names
|
1240
|
+
# (ARNs)][1]
|
1241
|
+
#
|
1242
|
+
#
|
1243
|
+
#
|
1244
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
932
1245
|
#
|
933
1246
|
# @option params [String] :next_token
|
934
|
-
#
|
1247
|
+
# Specifies that you want to receive the next page of results. Valid
|
1248
|
+
# only if you received a `NextToken` response in the previous request.
|
1249
|
+
# If you did, it indicates that more output is available. Set this
|
1250
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1251
|
+
# response to request the next page of results.
|
935
1252
|
#
|
936
1253
|
# @option params [Integer] :max_results
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
1254
|
+
# Specifies the total number of results that you want included on each
|
1255
|
+
# page of the response. If you do not include this parameter, it
|
1256
|
+
# defaults to a value that is specific to the operation. If additional
|
1257
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1258
|
+
# element is returned with a value (not null). Include the specified
|
1259
|
+
# value as the `NextToken` request parameter in the next call to the
|
1260
|
+
# operation to get the next part of the results. Note that the service
|
1261
|
+
# might return fewer results than the maximum even when there are more
|
1262
|
+
# results available. You should check `NextToken` after every operation
|
1263
|
+
# to ensure that you receive all of the results.
|
940
1264
|
#
|
941
1265
|
# @return [Types::GetResourceShareInvitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
942
1266
|
#
|
@@ -986,35 +1310,65 @@ module Aws::RAM
|
|
986
1310
|
req.send_request(options)
|
987
1311
|
end
|
988
1312
|
|
989
|
-
#
|
1313
|
+
# Retrieves details about the resource shares that you own or that are
|
990
1314
|
# shared with you.
|
991
1315
|
#
|
992
1316
|
# @option params [Array<String>] :resource_share_arns
|
993
|
-
#
|
1317
|
+
# Specifies the [Amazon Resource Names (ARNs)][1] of individual resource
|
1318
|
+
# shares that you want information about.
|
1319
|
+
#
|
1320
|
+
#
|
1321
|
+
#
|
1322
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
994
1323
|
#
|
995
1324
|
# @option params [String] :resource_share_status
|
996
|
-
#
|
1325
|
+
# Specifies that you want to retrieve details of only those resource
|
1326
|
+
# shares that have this status.
|
997
1327
|
#
|
998
1328
|
# @option params [required, String] :resource_owner
|
999
|
-
#
|
1329
|
+
# Specifies that you want to retrieve details of only those resource
|
1330
|
+
# shares that match the following:
|
1331
|
+
#
|
1332
|
+
# * <b> <code>SELF</code> </b> – resources that you are sharing
|
1333
|
+
#
|
1334
|
+
# * <b> <code>OTHER-ACCOUNTS</code> </b> – resources that other accounts
|
1335
|
+
# share with you
|
1000
1336
|
#
|
1001
1337
|
# @option params [String] :name
|
1002
|
-
#
|
1338
|
+
# Specifies the name of an individual resource share that you want to
|
1339
|
+
# retrieve details about.
|
1003
1340
|
#
|
1004
1341
|
# @option params [Array<Types::TagFilter>] :tag_filters
|
1005
|
-
#
|
1342
|
+
# Specifies that you want to retrieve details of only those resource
|
1343
|
+
# shares that match the specified tag keys and values.
|
1006
1344
|
#
|
1007
1345
|
# @option params [String] :next_token
|
1008
|
-
#
|
1346
|
+
# Specifies that you want to receive the next page of results. Valid
|
1347
|
+
# only if you received a `NextToken` response in the previous request.
|
1348
|
+
# If you did, it indicates that more output is available. Set this
|
1349
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1350
|
+
# response to request the next page of results.
|
1009
1351
|
#
|
1010
1352
|
# @option params [Integer] :max_results
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
#
|
1353
|
+
# Specifies the total number of results that you want included on each
|
1354
|
+
# page of the response. If you do not include this parameter, it
|
1355
|
+
# defaults to a value that is specific to the operation. If additional
|
1356
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1357
|
+
# element is returned with a value (not null). Include the specified
|
1358
|
+
# value as the `NextToken` request parameter in the next call to the
|
1359
|
+
# operation to get the next part of the results. Note that the service
|
1360
|
+
# might return fewer results than the maximum even when there are more
|
1361
|
+
# results available. You should check `NextToken` after every operation
|
1362
|
+
# to ensure that you receive all of the results.
|
1014
1363
|
#
|
1015
1364
|
# @option params [String] :permission_arn
|
1016
|
-
#
|
1017
|
-
#
|
1365
|
+
# Specifies that you want to retrieve details of only those resource
|
1366
|
+
# shares that use the RAM permission with this [Amazon Resoure Name
|
1367
|
+
# (ARN)][1].
|
1368
|
+
#
|
1369
|
+
#
|
1370
|
+
#
|
1371
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1018
1372
|
#
|
1019
1373
|
# @return [Types::GetResourceSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1020
1374
|
#
|
@@ -1068,18 +1422,51 @@ module Aws::RAM
|
|
1068
1422
|
end
|
1069
1423
|
|
1070
1424
|
# Lists the resources in a resource share that is shared with you but
|
1071
|
-
#
|
1425
|
+
# for which the invitation is still `PENDING`. That means that you
|
1426
|
+
# haven't accepted or rejected the invitation and the invitation
|
1427
|
+
# hasn't expired.
|
1072
1428
|
#
|
1073
1429
|
# @option params [required, String] :resource_share_invitation_arn
|
1074
|
-
#
|
1430
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the invitation. You
|
1431
|
+
# can use GetResourceShareInvitations to find the ARN of the invitation.
|
1432
|
+
#
|
1433
|
+
#
|
1434
|
+
#
|
1435
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1075
1436
|
#
|
1076
1437
|
# @option params [String] :next_token
|
1077
|
-
#
|
1438
|
+
# Specifies that you want to receive the next page of results. Valid
|
1439
|
+
# only if you received a `NextToken` response in the previous request.
|
1440
|
+
# If you did, it indicates that more output is available. Set this
|
1441
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1442
|
+
# response to request the next page of results.
|
1078
1443
|
#
|
1079
1444
|
# @option params [Integer] :max_results
|
1080
|
-
#
|
1081
|
-
#
|
1082
|
-
#
|
1445
|
+
# Specifies the total number of results that you want included on each
|
1446
|
+
# page of the response. If you do not include this parameter, it
|
1447
|
+
# defaults to a value that is specific to the operation. If additional
|
1448
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1449
|
+
# element is returned with a value (not null). Include the specified
|
1450
|
+
# value as the `NextToken` request parameter in the next call to the
|
1451
|
+
# operation to get the next part of the results. Note that the service
|
1452
|
+
# might return fewer results than the maximum even when there are more
|
1453
|
+
# results available. You should check `NextToken` after every operation
|
1454
|
+
# to ensure that you receive all of the results.
|
1455
|
+
#
|
1456
|
+
# @option params [String] :resource_region_scope
|
1457
|
+
# Specifies that you want the results to include only resources that
|
1458
|
+
# have the specified scope.
|
1459
|
+
#
|
1460
|
+
# * `ALL` – the results include both global and regional resources or
|
1461
|
+
# resource types.
|
1462
|
+
#
|
1463
|
+
# * `GLOBAL` – the results include only global resources or resource
|
1464
|
+
# types.
|
1465
|
+
#
|
1466
|
+
# * `REGIONAL` – the results include only regional resources or resource
|
1467
|
+
# types.
|
1468
|
+
#
|
1469
|
+
# The default value is `ALL`.
|
1083
1470
|
#
|
1084
1471
|
# @return [Types::ListPendingInvitationResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1085
1472
|
#
|
@@ -1094,6 +1481,7 @@ module Aws::RAM
|
|
1094
1481
|
# resource_share_invitation_arn: "String", # required
|
1095
1482
|
# next_token: "String",
|
1096
1483
|
# max_results: 1,
|
1484
|
+
# resource_region_scope: "ALL", # accepts ALL, REGIONAL, GLOBAL
|
1097
1485
|
# })
|
1098
1486
|
#
|
1099
1487
|
# @example Response structure
|
@@ -1107,6 +1495,7 @@ module Aws::RAM
|
|
1107
1495
|
# resp.resources[0].status_message #=> String
|
1108
1496
|
# resp.resources[0].creation_time #=> Time
|
1109
1497
|
# resp.resources[0].last_updated_time #=> Time
|
1498
|
+
# resp.resources[0].resource_region_scope #=> String, one of "REGIONAL", "GLOBAL"
|
1110
1499
|
# resp.next_token #=> String
|
1111
1500
|
#
|
1112
1501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources AWS API Documentation
|
@@ -1118,20 +1507,33 @@ module Aws::RAM
|
|
1118
1507
|
req.send_request(options)
|
1119
1508
|
end
|
1120
1509
|
|
1121
|
-
#
|
1510
|
+
# Retrieves a list of available RAM permissions that you can use for the
|
1511
|
+
# supported resource types.
|
1122
1512
|
#
|
1123
1513
|
# @option params [String] :resource_type
|
1124
|
-
# Specifies
|
1125
|
-
# example, to list only permissions that apply to EC2
|
1126
|
-
# `ec2:Subnet`.
|
1514
|
+
# Specifies that you want to list permissions for only the specified
|
1515
|
+
# resource type. For example, to list only permissions that apply to EC2
|
1516
|
+
# subnets, specify `ec2:Subnet`. You can use the ListResourceTypes
|
1517
|
+
# operation to get the specific string required.
|
1127
1518
|
#
|
1128
1519
|
# @option params [String] :next_token
|
1129
|
-
#
|
1520
|
+
# Specifies that you want to receive the next page of results. Valid
|
1521
|
+
# only if you received a `NextToken` response in the previous request.
|
1522
|
+
# If you did, it indicates that more output is available. Set this
|
1523
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1524
|
+
# response to request the next page of results.
|
1130
1525
|
#
|
1131
1526
|
# @option params [Integer] :max_results
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1527
|
+
# Specifies the total number of results that you want included on each
|
1528
|
+
# page of the response. If you do not include this parameter, it
|
1529
|
+
# defaults to a value that is specific to the operation. If additional
|
1530
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1531
|
+
# element is returned with a value (not null). Include the specified
|
1532
|
+
# value as the `NextToken` request parameter in the next call to the
|
1533
|
+
# operation to get the next part of the results. Note that the service
|
1534
|
+
# might return fewer results than the maximum even when there are more
|
1535
|
+
# results available. You should check `NextToken` after every operation
|
1536
|
+
# to ensure that you receive all of the results.
|
1135
1537
|
#
|
1136
1538
|
# @return [Types::ListPermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1137
1539
|
#
|
@@ -1171,49 +1573,91 @@ module Aws::RAM
|
|
1171
1573
|
req.send_request(options)
|
1172
1574
|
end
|
1173
1575
|
|
1174
|
-
# Lists the principals that you
|
1175
|
-
#
|
1576
|
+
# Lists the principals that you are sharing resources with or that are
|
1577
|
+
# sharing resources with you.
|
1176
1578
|
#
|
1177
1579
|
# @option params [required, String] :resource_owner
|
1178
|
-
#
|
1580
|
+
# Specifies that you want to list information for only resource shares
|
1581
|
+
# that match the following:
|
1582
|
+
#
|
1583
|
+
# * <b> <code>SELF</code> </b> – resources that you are sharing
|
1584
|
+
#
|
1585
|
+
# * <b> <code>OTHER-ACCOUNTS</code> </b> – resources that other accounts
|
1586
|
+
# share with you
|
1179
1587
|
#
|
1180
1588
|
# @option params [String] :resource_arn
|
1181
|
-
#
|
1589
|
+
# Specifies that you want to list principal information for the resource
|
1590
|
+
# share with the specified [Amazon Resoure Name (ARN)][1].
|
1591
|
+
#
|
1592
|
+
#
|
1593
|
+
#
|
1594
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1182
1595
|
#
|
1183
1596
|
# @option params [Array<String>] :principals
|
1184
|
-
#
|
1597
|
+
# Specifies that you want to list information for only the listed
|
1598
|
+
# principals.
|
1599
|
+
#
|
1600
|
+
# You can include the following values:
|
1601
|
+
#
|
1602
|
+
# * An Amazon Web Services account ID, for example: `123456789012`
|
1603
|
+
#
|
1604
|
+
# * An [Amazon Resoure Name (ARN)][1] of an organization in
|
1605
|
+
# Organizations, for example:
|
1606
|
+
# `organizations::123456789012:organization/o-exampleorgid`
|
1607
|
+
#
|
1608
|
+
# * An ARN of an organizational unit (OU) in Organizations, for example:
|
1609
|
+
# `organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123`
|
1610
|
+
#
|
1611
|
+
# * An ARN of an IAM role, for example:
|
1612
|
+
# `iam::123456789012:role/rolename`
|
1613
|
+
#
|
1614
|
+
# * An ARN of an IAM user, for example: `iam::123456789012user/username`
|
1615
|
+
#
|
1616
|
+
# <note markdown="1"> Not all resource types can be shared with IAM roles and users. For
|
1617
|
+
# more information, see [Sharing with IAM roles and users][2] in the
|
1618
|
+
# *Resource Access Manager User Guide*.
|
1619
|
+
#
|
1620
|
+
# </note>
|
1621
|
+
#
|
1622
|
+
#
|
1623
|
+
#
|
1624
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1625
|
+
# [2]: https://docs.aws.amazon.com/ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types
|
1185
1626
|
#
|
1186
1627
|
# @option params [String] :resource_type
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
#
|
1191
|
-
#
|
1192
|
-
# `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
|
1193
|
-
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1194
|
-
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1195
|
-
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
|
1196
|
-
# `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
|
1197
|
-
# `license-manager:LicenseConfiguration` I
|
1198
|
-
# `network-firewall:FirewallPolicy` \|
|
1199
|
-
# `network-firewall:StatefulRuleGroup` \|
|
1200
|
-
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1201
|
-
# `resource-groups:Group` \| `rds:Cluster` \|
|
1202
|
-
# `route53resolver:FirewallRuleGroup`
|
1203
|
-
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1204
|
-
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1205
|
-
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1628
|
+
# Specifies that you want to list information for only principals
|
1629
|
+
# associated with resource shares that include the specified resource
|
1630
|
+
# type.
|
1631
|
+
#
|
1632
|
+
# For a list of valid values, query the ListResourceTypes operation.
|
1206
1633
|
#
|
1207
1634
|
# @option params [Array<String>] :resource_share_arns
|
1208
|
-
#
|
1635
|
+
# Specifies that you want to list information for only principals
|
1636
|
+
# associated with the resource shares specified by a list the [Amazon
|
1637
|
+
# Resource Names (ARNs)][1].
|
1638
|
+
#
|
1639
|
+
#
|
1640
|
+
#
|
1641
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1209
1642
|
#
|
1210
1643
|
# @option params [String] :next_token
|
1211
|
-
#
|
1644
|
+
# Specifies that you want to receive the next page of results. Valid
|
1645
|
+
# only if you received a `NextToken` response in the previous request.
|
1646
|
+
# If you did, it indicates that more output is available. Set this
|
1647
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1648
|
+
# response to request the next page of results.
|
1212
1649
|
#
|
1213
1650
|
# @option params [Integer] :max_results
|
1214
|
-
#
|
1215
|
-
#
|
1216
|
-
#
|
1651
|
+
# Specifies the total number of results that you want included on each
|
1652
|
+
# page of the response. If you do not include this parameter, it
|
1653
|
+
# defaults to a value that is specific to the operation. If additional
|
1654
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1655
|
+
# element is returned with a value (not null). Include the specified
|
1656
|
+
# value as the `NextToken` request parameter in the next call to the
|
1657
|
+
# operation to get the next part of the results. Note that the service
|
1658
|
+
# might return fewer results than the maximum even when there are more
|
1659
|
+
# results available. You should check `NextToken` after every operation
|
1660
|
+
# to ensure that you receive all of the results.
|
1217
1661
|
#
|
1218
1662
|
# @return [Types::ListPrincipalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1219
1663
|
#
|
@@ -1256,15 +1700,31 @@ module Aws::RAM
|
|
1256
1700
|
# Lists the RAM permissions that are associated with a resource share.
|
1257
1701
|
#
|
1258
1702
|
# @option params [required, String] :resource_share_arn
|
1259
|
-
#
|
1703
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share for
|
1704
|
+
# which you want to retrieve the associated permissions.
|
1705
|
+
#
|
1706
|
+
#
|
1707
|
+
#
|
1708
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1260
1709
|
#
|
1261
1710
|
# @option params [String] :next_token
|
1262
|
-
#
|
1711
|
+
# Specifies that you want to receive the next page of results. Valid
|
1712
|
+
# only if you received a `NextToken` response in the previous request.
|
1713
|
+
# If you did, it indicates that more output is available. Set this
|
1714
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1715
|
+
# response to request the next page of results.
|
1263
1716
|
#
|
1264
1717
|
# @option params [Integer] :max_results
|
1265
|
-
#
|
1266
|
-
#
|
1267
|
-
#
|
1718
|
+
# Specifies the total number of results that you want included on each
|
1719
|
+
# page of the response. If you do not include this parameter, it
|
1720
|
+
# defaults to a value that is specific to the operation. If additional
|
1721
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1722
|
+
# element is returned with a value (not null). Include the specified
|
1723
|
+
# value as the `NextToken` request parameter in the next call to the
|
1724
|
+
# operation to get the next part of the results. Note that the service
|
1725
|
+
# might return fewer results than the maximum even when there are more
|
1726
|
+
# results available. You should check `NextToken` after every operation
|
1727
|
+
# to ensure that you receive all of the results.
|
1268
1728
|
#
|
1269
1729
|
# @return [Types::ListResourceSharePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1270
1730
|
#
|
@@ -1304,15 +1764,41 @@ module Aws::RAM
|
|
1304
1764
|
req.send_request(options)
|
1305
1765
|
end
|
1306
1766
|
|
1307
|
-
# Lists the
|
1767
|
+
# Lists the resource types that can be shared by RAM.
|
1308
1768
|
#
|
1309
1769
|
# @option params [String] :next_token
|
1310
|
-
#
|
1770
|
+
# Specifies that you want to receive the next page of results. Valid
|
1771
|
+
# only if you received a `NextToken` response in the previous request.
|
1772
|
+
# If you did, it indicates that more output is available. Set this
|
1773
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1774
|
+
# response to request the next page of results.
|
1311
1775
|
#
|
1312
1776
|
# @option params [Integer] :max_results
|
1313
|
-
#
|
1314
|
-
#
|
1315
|
-
#
|
1777
|
+
# Specifies the total number of results that you want included on each
|
1778
|
+
# page of the response. If you do not include this parameter, it
|
1779
|
+
# defaults to a value that is specific to the operation. If additional
|
1780
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1781
|
+
# element is returned with a value (not null). Include the specified
|
1782
|
+
# value as the `NextToken` request parameter in the next call to the
|
1783
|
+
# operation to get the next part of the results. Note that the service
|
1784
|
+
# might return fewer results than the maximum even when there are more
|
1785
|
+
# results available. You should check `NextToken` after every operation
|
1786
|
+
# to ensure that you receive all of the results.
|
1787
|
+
#
|
1788
|
+
# @option params [String] :resource_region_scope
|
1789
|
+
# Specifies that you want the results to include only resources that
|
1790
|
+
# have the specified scope.
|
1791
|
+
#
|
1792
|
+
# * `ALL` – the results include both global and regional resources or
|
1793
|
+
# resource types.
|
1794
|
+
#
|
1795
|
+
# * `GLOBAL` – the results include only global resources or resource
|
1796
|
+
# types.
|
1797
|
+
#
|
1798
|
+
# * `REGIONAL` – the results include only regional resources or resource
|
1799
|
+
# types.
|
1800
|
+
#
|
1801
|
+
# The default value is `ALL`.
|
1316
1802
|
#
|
1317
1803
|
# @return [Types::ListResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1318
1804
|
#
|
@@ -1326,6 +1812,7 @@ module Aws::RAM
|
|
1326
1812
|
# resp = client.list_resource_types({
|
1327
1813
|
# next_token: "String",
|
1328
1814
|
# max_results: 1,
|
1815
|
+
# resource_region_scope: "ALL", # accepts ALL, REGIONAL, GLOBAL
|
1329
1816
|
# })
|
1330
1817
|
#
|
1331
1818
|
# @example Response structure
|
@@ -1333,6 +1820,7 @@ module Aws::RAM
|
|
1333
1820
|
# resp.resource_types #=> Array
|
1334
1821
|
# resp.resource_types[0].resource_type #=> String
|
1335
1822
|
# resp.resource_types[0].service_name #=> String
|
1823
|
+
# resp.resource_types[0].resource_region_scope #=> String, one of "REGIONAL", "GLOBAL"
|
1336
1824
|
# resp.next_token #=> String
|
1337
1825
|
#
|
1338
1826
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes AWS API Documentation
|
@@ -1348,45 +1836,73 @@ module Aws::RAM
|
|
1348
1836
|
# resources that are shared with you.
|
1349
1837
|
#
|
1350
1838
|
# @option params [required, String] :resource_owner
|
1351
|
-
#
|
1839
|
+
# Specifies that you want to list only the resource shares that match
|
1840
|
+
# the following:
|
1841
|
+
#
|
1842
|
+
# * <b> <code>SELF</code> </b> – resources that you are sharing
|
1843
|
+
#
|
1844
|
+
# * <b> <code>OTHER-ACCOUNTS</code> </b> – resources that other accounts
|
1845
|
+
# share with you
|
1352
1846
|
#
|
1353
1847
|
# @option params [String] :principal
|
1354
|
-
#
|
1848
|
+
# Specifies that you want to list only the resource shares that are
|
1849
|
+
# associated with the specified principal.
|
1355
1850
|
#
|
1356
1851
|
# @option params [String] :resource_type
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
#
|
1360
|
-
#
|
1361
|
-
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
|
1362
|
-
# `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
|
1363
|
-
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1364
|
-
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1365
|
-
# `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
|
1366
|
-
# `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
|
1367
|
-
# `license-manager:LicenseConfiguration` I
|
1368
|
-
# `network-firewall:FirewallPolicy` \|
|
1369
|
-
# `network-firewall:StatefulRuleGroup` \|
|
1370
|
-
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1371
|
-
# `resource-groups:Group` \| `rds:Cluster` \|
|
1372
|
-
# `route53resolver:FirewallRuleGroup`
|
1373
|
-
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1374
|
-
# `route53resolver:ResolverRule` \| `s3-outposts:Outpost` \|
|
1375
|
-
# `ssm-contacts:Contact` \| `ssm-incidents:ResponsePlan`
|
1852
|
+
# Specifies that you want to list only the resource shares that include
|
1853
|
+
# resources of the specified resource type.
|
1854
|
+
#
|
1855
|
+
# For valid values, query the ListResourceTypes operation.
|
1376
1856
|
#
|
1377
1857
|
# @option params [Array<String>] :resource_arns
|
1378
|
-
#
|
1858
|
+
# Specifies that you want to list only the resource shares that include
|
1859
|
+
# resources with the specified [Amazon Resource Names (ARNs)][1].
|
1860
|
+
#
|
1861
|
+
#
|
1862
|
+
#
|
1863
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1379
1864
|
#
|
1380
1865
|
# @option params [Array<String>] :resource_share_arns
|
1381
|
-
#
|
1866
|
+
# Specifies that you want to list only resources in the resource shares
|
1867
|
+
# identified by the specified [Amazon Resource Names (ARNs)][1].
|
1868
|
+
#
|
1869
|
+
#
|
1870
|
+
#
|
1871
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1382
1872
|
#
|
1383
1873
|
# @option params [String] :next_token
|
1384
|
-
#
|
1874
|
+
# Specifies that you want to receive the next page of results. Valid
|
1875
|
+
# only if you received a `NextToken` response in the previous request.
|
1876
|
+
# If you did, it indicates that more output is available. Set this
|
1877
|
+
# parameter to the value provided by the previous call's `NextToken`
|
1878
|
+
# response to request the next page of results.
|
1385
1879
|
#
|
1386
1880
|
# @option params [Integer] :max_results
|
1387
|
-
#
|
1388
|
-
#
|
1389
|
-
#
|
1881
|
+
# Specifies the total number of results that you want included on each
|
1882
|
+
# page of the response. If you do not include this parameter, it
|
1883
|
+
# defaults to a value that is specific to the operation. If additional
|
1884
|
+
# items exist beyond the number you specify, the `NextToken` response
|
1885
|
+
# element is returned with a value (not null). Include the specified
|
1886
|
+
# value as the `NextToken` request parameter in the next call to the
|
1887
|
+
# operation to get the next part of the results. Note that the service
|
1888
|
+
# might return fewer results than the maximum even when there are more
|
1889
|
+
# results available. You should check `NextToken` after every operation
|
1890
|
+
# to ensure that you receive all of the results.
|
1891
|
+
#
|
1892
|
+
# @option params [String] :resource_region_scope
|
1893
|
+
# Specifies that you want the results to include only resources that
|
1894
|
+
# have the specified scope.
|
1895
|
+
#
|
1896
|
+
# * `ALL` – the results include both global and regional resources or
|
1897
|
+
# resource types.
|
1898
|
+
#
|
1899
|
+
# * `GLOBAL` – the results include only global resources or resource
|
1900
|
+
# types.
|
1901
|
+
#
|
1902
|
+
# * `REGIONAL` – the results include only regional resources or resource
|
1903
|
+
# types.
|
1904
|
+
#
|
1905
|
+
# The default value is `ALL`.
|
1390
1906
|
#
|
1391
1907
|
# @return [Types::ListResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1392
1908
|
#
|
@@ -1405,6 +1921,7 @@ module Aws::RAM
|
|
1405
1921
|
# resource_share_arns: ["String"],
|
1406
1922
|
# next_token: "String",
|
1407
1923
|
# max_results: 1,
|
1924
|
+
# resource_region_scope: "ALL", # accepts ALL, REGIONAL, GLOBAL
|
1408
1925
|
# })
|
1409
1926
|
#
|
1410
1927
|
# @example Response structure
|
@@ -1418,6 +1935,7 @@ module Aws::RAM
|
|
1418
1935
|
# resp.resources[0].status_message #=> String
|
1419
1936
|
# resp.resources[0].creation_time #=> Time
|
1420
1937
|
# resp.resources[0].last_updated_time #=> Time
|
1938
|
+
# resp.resources[0].resource_region_scope #=> String, one of "REGIONAL", "GLOBAL"
|
1421
1939
|
# resp.next_token #=> String
|
1422
1940
|
#
|
1423
1941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources AWS API Documentation
|
@@ -1429,19 +1947,23 @@ module Aws::RAM
|
|
1429
1947
|
req.send_request(options)
|
1430
1948
|
end
|
1431
1949
|
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
#
|
1950
|
+
# When you attach a resource-based permission policy to a resource, it
|
1951
|
+
# automatically creates a resource share. However, resource shares
|
1952
|
+
# created this way are visible only to the resource share owner, and the
|
1953
|
+
# resource share can't be modified in RAM.
|
1435
1954
|
#
|
1436
|
-
#
|
1437
|
-
#
|
1955
|
+
# You can use this operation to promote the resource share to a full RAM
|
1956
|
+
# resource share. When you promote a resource share, you can then manage
|
1957
|
+
# the resource share in RAM and it becomes visible to all of the
|
1958
|
+
# principals you shared it with.
|
1438
1959
|
#
|
1439
|
-
#
|
1960
|
+
# @option params [required, String] :resource_share_arn
|
1961
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share to
|
1962
|
+
# promote.
|
1440
1963
|
#
|
1441
|
-
# * Modifiable in RAM.
|
1442
1964
|
#
|
1443
|
-
#
|
1444
|
-
#
|
1965
|
+
#
|
1966
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1445
1967
|
#
|
1446
1968
|
# @return [Types::PromoteResourceShareCreatedFromPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1447
1969
|
#
|
@@ -1470,11 +1992,27 @@ module Aws::RAM
|
|
1470
1992
|
# Services account.
|
1471
1993
|
#
|
1472
1994
|
# @option params [required, String] :resource_share_invitation_arn
|
1473
|
-
#
|
1995
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the invitation that
|
1996
|
+
# you want to reject.
|
1997
|
+
#
|
1998
|
+
#
|
1999
|
+
#
|
2000
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1474
2001
|
#
|
1475
2002
|
# @option params [String] :client_token
|
1476
|
-
#
|
1477
|
-
# idempotency of the request.
|
2003
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
2004
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
2005
|
+
# request without accidentally performing the same operation a second
|
2006
|
+
# time. Passing the same value to a later call to an operation requires
|
2007
|
+
# that you also pass the same value for all other parameters. We
|
2008
|
+
# recommend that you use a [UUID type of value.][1].
|
2009
|
+
#
|
2010
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
2011
|
+
# random one for you.
|
2012
|
+
#
|
2013
|
+
#
|
2014
|
+
#
|
2015
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
1478
2016
|
#
|
1479
2017
|
# @return [Types::RejectResourceShareInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1480
2018
|
#
|
@@ -1519,13 +2057,22 @@ module Aws::RAM
|
|
1519
2057
|
req.send_request(options)
|
1520
2058
|
end
|
1521
2059
|
|
1522
|
-
# Adds the specified
|
2060
|
+
# Adds the specified tag keys and values to the specified resource
|
2061
|
+
# share. The tags are attached only to the resource share, not to the
|
2062
|
+
# resources that are in the resource share.
|
1523
2063
|
#
|
1524
2064
|
# @option params [required, String] :resource_share_arn
|
1525
|
-
#
|
2065
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2066
|
+
# that you want to add tags to.
|
2067
|
+
#
|
2068
|
+
#
|
2069
|
+
#
|
2070
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1526
2071
|
#
|
1527
2072
|
# @option params [required, Array<Types::Tag>] :tags
|
1528
|
-
#
|
2073
|
+
# A list of one or more tag key and value pairs. The tag key must be
|
2074
|
+
# present and not be an empty string. The tag value must be present but
|
2075
|
+
# can be an empty string.
|
1529
2076
|
#
|
1530
2077
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1531
2078
|
#
|
@@ -1550,14 +2097,20 @@ module Aws::RAM
|
|
1550
2097
|
req.send_request(options)
|
1551
2098
|
end
|
1552
2099
|
|
1553
|
-
# Removes the specified
|
1554
|
-
#
|
2100
|
+
# Removes the specified tag key and value pairs from the specified
|
2101
|
+
# resource share.
|
1555
2102
|
#
|
1556
2103
|
# @option params [required, String] :resource_share_arn
|
1557
|
-
#
|
2104
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2105
|
+
# that you want to remove tags from. The tags are removed from the
|
2106
|
+
# resource share, not the resources in the resource share.
|
2107
|
+
#
|
2108
|
+
#
|
2109
|
+
#
|
2110
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1558
2111
|
#
|
1559
2112
|
# @option params [required, Array<String>] :tag_keys
|
1560
|
-
#
|
2113
|
+
# Specifies a list of one or more tag keys that you want to remove.
|
1561
2114
|
#
|
1562
2115
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1563
2116
|
#
|
@@ -1577,21 +2130,38 @@ module Aws::RAM
|
|
1577
2130
|
req.send_request(options)
|
1578
2131
|
end
|
1579
2132
|
|
1580
|
-
#
|
2133
|
+
# Modifies some of the properties of the specified resource share.
|
1581
2134
|
#
|
1582
2135
|
# @option params [required, String] :resource_share_arn
|
1583
|
-
#
|
2136
|
+
# Specifies the [Amazon Resoure Name (ARN)][1] of the resource share
|
2137
|
+
# that you want to modify.
|
2138
|
+
#
|
2139
|
+
#
|
2140
|
+
#
|
2141
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1584
2142
|
#
|
1585
2143
|
# @option params [String] :name
|
1586
|
-
#
|
2144
|
+
# If specified, the new name that you want to attach to the resource
|
2145
|
+
# share.
|
1587
2146
|
#
|
1588
2147
|
# @option params [Boolean] :allow_external_principals
|
1589
|
-
#
|
2148
|
+
# Specifies whether principals outside your organization in
|
1590
2149
|
# Organizations can be associated with a resource share.
|
1591
2150
|
#
|
1592
2151
|
# @option params [String] :client_token
|
1593
|
-
#
|
1594
|
-
# idempotency of the request.
|
2152
|
+
# Specifies a unique, case-sensitive identifier that you provide to
|
2153
|
+
# ensure the idempotency of the request. This lets you safely retry the
|
2154
|
+
# request without accidentally performing the same operation a second
|
2155
|
+
# time. Passing the same value to a later call to an operation requires
|
2156
|
+
# that you also pass the same value for all other parameters. We
|
2157
|
+
# recommend that you use a [UUID type of value.][1].
|
2158
|
+
#
|
2159
|
+
# If you don't provide this value, then Amazon Web Services generates a
|
2160
|
+
# random one for you.
|
2161
|
+
#
|
2162
|
+
#
|
2163
|
+
#
|
2164
|
+
# [1]: https://wikipedia.org/wiki/Universally_unique_identifier
|
1595
2165
|
#
|
1596
2166
|
# @return [Types::UpdateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1597
2167
|
#
|
@@ -1645,7 +2215,7 @@ module Aws::RAM
|
|
1645
2215
|
params: params,
|
1646
2216
|
config: config)
|
1647
2217
|
context[:gem_name] = 'aws-sdk-ram'
|
1648
|
-
context[:gem_version] = '1.
|
2218
|
+
context[:gem_version] = '1.34.0'
|
1649
2219
|
Seahorse::Client::Request.new(handlers, context)
|
1650
2220
|
end
|
1651
2221
|
|