aws-sdk-ram 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ram.rb +1 -1
- data/lib/aws-sdk-ram/client.rb +288 -9
- data/lib/aws-sdk-ram/client_api.rb +181 -0
- data/lib/aws-sdk-ram/types.rb +423 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e7d095ab568dcf3572337c93bbce8d7fb479344
|
4
|
+
data.tar.gz: 8866b4da6445325a0f3e698a5a73113b1f5bb58e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7201431bec8bc046e65711ea66eebf7b0c0e12a256c27d9a1de12fca064223bdb100ef0c2510546c4a3dca61083a9c0ddae0a457f08dd5ae465962a559f1f981
|
7
|
+
data.tar.gz: 5661b1733b6b9e002ec756357f672640b922e37fb598d66a0c80685c036b0ba7b0851c9384b6af71e867941811bb873eb045f40524c64624cc5200d1de411d50
|
data/lib/aws-sdk-ram.rb
CHANGED
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -358,6 +358,53 @@ module Aws::RAM
|
|
358
358
|
req.send_request(options)
|
359
359
|
end
|
360
360
|
|
361
|
+
# Associates a permission with a resource share.
|
362
|
+
#
|
363
|
+
# @option params [required, String] :resource_share_arn
|
364
|
+
# The Amazon Resource Name (ARN) of the resource share.
|
365
|
+
#
|
366
|
+
# @option params [required, String] :permission_arn
|
367
|
+
# The ARN of the AWS RAM permission to associate with the resource
|
368
|
+
# share.
|
369
|
+
#
|
370
|
+
# @option params [Boolean] :replace
|
371
|
+
# Indicates whether the permission should replace the permissions that
|
372
|
+
# are currently associated with the resource share. Use `true` to
|
373
|
+
# replace the current permissions. Use `false` to add the permission to
|
374
|
+
# the current permission.
|
375
|
+
#
|
376
|
+
# @option params [String] :client_token
|
377
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
378
|
+
# idempotency of the request.
|
379
|
+
#
|
380
|
+
# @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
381
|
+
#
|
382
|
+
# * {Types::AssociateResourceSharePermissionResponse#return_value #return_value} => Boolean
|
383
|
+
# * {Types::AssociateResourceSharePermissionResponse#client_token #client_token} => String
|
384
|
+
#
|
385
|
+
# @example Request syntax with placeholder values
|
386
|
+
#
|
387
|
+
# resp = client.associate_resource_share_permission({
|
388
|
+
# resource_share_arn: "String", # required
|
389
|
+
# permission_arn: "String", # required
|
390
|
+
# replace: false,
|
391
|
+
# client_token: "String",
|
392
|
+
# })
|
393
|
+
#
|
394
|
+
# @example Response structure
|
395
|
+
#
|
396
|
+
# resp.return_value #=> Boolean
|
397
|
+
# resp.client_token #=> String
|
398
|
+
#
|
399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission AWS API Documentation
|
400
|
+
#
|
401
|
+
# @overload associate_resource_share_permission(params = {})
|
402
|
+
# @param [Hash] params ({})
|
403
|
+
def associate_resource_share_permission(params = {}, options = {})
|
404
|
+
req = build_request(:associate_resource_share_permission, params)
|
405
|
+
req.send_request(options)
|
406
|
+
end
|
407
|
+
|
361
408
|
# Creates a resource share.
|
362
409
|
#
|
363
410
|
# @option params [required, String] :name
|
@@ -383,6 +430,11 @@ module Aws::RAM
|
|
383
430
|
# A unique, case-sensitive identifier that you provide to ensure the
|
384
431
|
# idempotency of the request.
|
385
432
|
#
|
433
|
+
# @option params [Array<String>] :permission_arns
|
434
|
+
# The ARNs of the permissions to associate with the resource share. If
|
435
|
+
# you do not specify an ARN for the permission, AWS RAM automatically
|
436
|
+
# attaches the default version of the permission for each resource type.
|
437
|
+
#
|
386
438
|
# @return [Types::CreateResourceShareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
387
439
|
#
|
388
440
|
# * {Types::CreateResourceShareResponse#resource_share #resource_share} => Types::ResourceShare
|
@@ -402,6 +454,7 @@ module Aws::RAM
|
|
402
454
|
# ],
|
403
455
|
# allow_external_principals: false,
|
404
456
|
# client_token: "String",
|
457
|
+
# permission_arns: ["String"],
|
405
458
|
# })
|
406
459
|
#
|
407
460
|
# @example Response structure
|
@@ -417,6 +470,7 @@ module Aws::RAM
|
|
417
470
|
# resp.resource_share.tags[0].value #=> String
|
418
471
|
# resp.resource_share.creation_time #=> Time
|
419
472
|
# resp.resource_share.last_updated_time #=> Time
|
473
|
+
# resp.resource_share.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
|
420
474
|
# resp.client_token #=> String
|
421
475
|
#
|
422
476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare AWS API Documentation
|
@@ -470,7 +524,7 @@ module Aws::RAM
|
|
470
524
|
# The Amazon Resource Name (ARN) of the resource share.
|
471
525
|
#
|
472
526
|
# @option params [Array<String>] :resource_arns
|
473
|
-
# The Amazon Resource Names (
|
527
|
+
# The Amazon Resource Names (ARNs) of the resources.
|
474
528
|
#
|
475
529
|
# @option params [Array<String>] :principals
|
476
530
|
# The principals.
|
@@ -516,6 +570,45 @@ module Aws::RAM
|
|
516
570
|
req.send_request(options)
|
517
571
|
end
|
518
572
|
|
573
|
+
# Disassociates an AWS RAM permission from a resource share.
|
574
|
+
#
|
575
|
+
# @option params [required, String] :resource_share_arn
|
576
|
+
# The Amazon Resource Name (ARN) of the resource share.
|
577
|
+
#
|
578
|
+
# @option params [required, String] :permission_arn
|
579
|
+
# The ARN of the permission to disassociate from the resource share.
|
580
|
+
#
|
581
|
+
# @option params [String] :client_token
|
582
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
583
|
+
# idempotency of the request.
|
584
|
+
#
|
585
|
+
# @return [Types::DisassociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
586
|
+
#
|
587
|
+
# * {Types::DisassociateResourceSharePermissionResponse#return_value #return_value} => Boolean
|
588
|
+
# * {Types::DisassociateResourceSharePermissionResponse#client_token #client_token} => String
|
589
|
+
#
|
590
|
+
# @example Request syntax with placeholder values
|
591
|
+
#
|
592
|
+
# resp = client.disassociate_resource_share_permission({
|
593
|
+
# resource_share_arn: "String", # required
|
594
|
+
# permission_arn: "String", # required
|
595
|
+
# client_token: "String",
|
596
|
+
# })
|
597
|
+
#
|
598
|
+
# @example Response structure
|
599
|
+
#
|
600
|
+
# resp.return_value #=> Boolean
|
601
|
+
# resp.client_token #=> String
|
602
|
+
#
|
603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission AWS API Documentation
|
604
|
+
#
|
605
|
+
# @overload disassociate_resource_share_permission(params = {})
|
606
|
+
# @param [Hash] params ({})
|
607
|
+
def disassociate_resource_share_permission(params = {}, options = {})
|
608
|
+
req = build_request(:disassociate_resource_share_permission, params)
|
609
|
+
req.send_request(options)
|
610
|
+
end
|
611
|
+
|
519
612
|
# Enables resource sharing within your AWS Organization.
|
520
613
|
#
|
521
614
|
# The caller must be the master account for the AWS Organization.
|
@@ -537,6 +630,45 @@ module Aws::RAM
|
|
537
630
|
req.send_request(options)
|
538
631
|
end
|
539
632
|
|
633
|
+
# Gets the contents of an AWS RAM permission in JSON format.
|
634
|
+
#
|
635
|
+
# @option params [required, String] :permission_arn
|
636
|
+
# The ARN of the permission.
|
637
|
+
#
|
638
|
+
# @option params [Integer] :permission_version
|
639
|
+
# The identifier for the version of the permission.
|
640
|
+
#
|
641
|
+
# @return [Types::GetPermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
642
|
+
#
|
643
|
+
# * {Types::GetPermissionResponse#permission #permission} => Types::ResourceSharePermissionDetail
|
644
|
+
#
|
645
|
+
# @example Request syntax with placeholder values
|
646
|
+
#
|
647
|
+
# resp = client.get_permission({
|
648
|
+
# permission_arn: "String", # required
|
649
|
+
# permission_version: 1,
|
650
|
+
# })
|
651
|
+
#
|
652
|
+
# @example Response structure
|
653
|
+
#
|
654
|
+
# resp.permission.arn #=> String
|
655
|
+
# resp.permission.version #=> String
|
656
|
+
# resp.permission.default_version #=> Boolean
|
657
|
+
# resp.permission.name #=> String
|
658
|
+
# resp.permission.resource_type #=> String
|
659
|
+
# resp.permission.permission #=> String
|
660
|
+
# resp.permission.creation_time #=> Time
|
661
|
+
# resp.permission.last_updated_time #=> Time
|
662
|
+
#
|
663
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission AWS API Documentation
|
664
|
+
#
|
665
|
+
# @overload get_permission(params = {})
|
666
|
+
# @param [Hash] params ({})
|
667
|
+
def get_permission(params = {}, options = {})
|
668
|
+
req = build_request(:get_permission, params)
|
669
|
+
req.send_request(options)
|
670
|
+
end
|
671
|
+
|
540
672
|
# Gets the policies for the specified resources that you own and have
|
541
673
|
# shared.
|
542
674
|
#
|
@@ -586,7 +718,10 @@ module Aws::RAM
|
|
586
718
|
# Gets the resources or principals for the resource shares that you own.
|
587
719
|
#
|
588
720
|
# @option params [required, String] :association_type
|
589
|
-
# The association type.
|
721
|
+
# The association type. Specify `PRINCIPAL` to list the principals that
|
722
|
+
# are associated with the specified resource share. Specify `RESOURCE`
|
723
|
+
# to list the resources that are associated with the specified resource
|
724
|
+
# share.
|
590
725
|
#
|
591
726
|
# @option params [Array<String>] :resource_share_arns
|
592
727
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -773,6 +908,7 @@ module Aws::RAM
|
|
773
908
|
# resp.resource_shares[0].tags[0].value #=> String
|
774
909
|
# resp.resource_shares[0].creation_time #=> Time
|
775
910
|
# resp.resource_shares[0].last_updated_time #=> Time
|
911
|
+
# resp.resource_shares[0].feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
|
776
912
|
# resp.next_token #=> String
|
777
913
|
#
|
778
914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares AWS API Documentation
|
@@ -817,6 +953,7 @@ module Aws::RAM
|
|
817
953
|
# resp.resources[0].arn #=> String
|
818
954
|
# resp.resources[0].type #=> String
|
819
955
|
# resp.resources[0].resource_share_arn #=> String
|
956
|
+
# resp.resources[0].resource_group_arn #=> String
|
820
957
|
# resp.resources[0].status #=> String, one of "AVAILABLE", "ZONAL_RESOURCE_INACCESSIBLE", "LIMIT_EXCEEDED", "UNAVAILABLE", "PENDING"
|
821
958
|
# resp.resources[0].status_message #=> String
|
822
959
|
# resp.resources[0].creation_time #=> Time
|
@@ -832,8 +969,58 @@ module Aws::RAM
|
|
832
969
|
req.send_request(options)
|
833
970
|
end
|
834
971
|
|
835
|
-
# Lists the
|
836
|
-
#
|
972
|
+
# Lists the AWS RAM permissions.
|
973
|
+
#
|
974
|
+
# @option params [String] :resource_type
|
975
|
+
# Specifies the resource type for which to list permissions. For
|
976
|
+
# example, to list only permissions that apply to EC2 subnets, specify
|
977
|
+
# `ec2:Subnet`.
|
978
|
+
#
|
979
|
+
# @option params [String] :next_token
|
980
|
+
# The token for the next page of results.
|
981
|
+
#
|
982
|
+
# @option params [Integer] :max_results
|
983
|
+
# The maximum number of results to return with a single call. To
|
984
|
+
# retrieve the remaining results, make another call with the returned
|
985
|
+
# `nextToken` value.
|
986
|
+
#
|
987
|
+
# @return [Types::ListPermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
988
|
+
#
|
989
|
+
# * {Types::ListPermissionsResponse#permissions #permissions} => Array<Types::ResourceSharePermissionSummary>
|
990
|
+
# * {Types::ListPermissionsResponse#next_token #next_token} => String
|
991
|
+
#
|
992
|
+
# @example Request syntax with placeholder values
|
993
|
+
#
|
994
|
+
# resp = client.list_permissions({
|
995
|
+
# resource_type: "String",
|
996
|
+
# next_token: "String",
|
997
|
+
# max_results: 1,
|
998
|
+
# })
|
999
|
+
#
|
1000
|
+
# @example Response structure
|
1001
|
+
#
|
1002
|
+
# resp.permissions #=> Array
|
1003
|
+
# resp.permissions[0].arn #=> String
|
1004
|
+
# resp.permissions[0].version #=> String
|
1005
|
+
# resp.permissions[0].default_version #=> Boolean
|
1006
|
+
# resp.permissions[0].name #=> String
|
1007
|
+
# resp.permissions[0].resource_type #=> String
|
1008
|
+
# resp.permissions[0].status #=> String
|
1009
|
+
# resp.permissions[0].creation_time #=> Time
|
1010
|
+
# resp.permissions[0].last_updated_time #=> Time
|
1011
|
+
# resp.next_token #=> String
|
1012
|
+
#
|
1013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions AWS API Documentation
|
1014
|
+
#
|
1015
|
+
# @overload list_permissions(params = {})
|
1016
|
+
# @param [Hash] params ({})
|
1017
|
+
def list_permissions(params = {}, options = {})
|
1018
|
+
req = build_request(:list_permissions, params)
|
1019
|
+
req.send_request(options)
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# Lists the principals that you have shared resources with or that have
|
1023
|
+
# shared resources with you.
|
837
1024
|
#
|
838
1025
|
# @option params [required, String] :resource_owner
|
839
1026
|
# The type of owner.
|
@@ -847,8 +1034,10 @@ module Aws::RAM
|
|
847
1034
|
# @option params [String] :resource_type
|
848
1035
|
# The resource type.
|
849
1036
|
#
|
850
|
-
# Valid values: `
|
851
|
-
#
|
1037
|
+
# Valid values: `ec2:CapacityReservation` \| `ec2:Subnet` \|
|
1038
|
+
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1039
|
+
# `license-manager:LicenseConfiguration` \| `rds:Cluster` \|
|
1040
|
+
# `route53resolver:ResolverRule` I `resource-groups:Group`
|
852
1041
|
#
|
853
1042
|
# @option params [Array<String>] :resource_share_arns
|
854
1043
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -897,6 +1086,55 @@ module Aws::RAM
|
|
897
1086
|
req.send_request(options)
|
898
1087
|
end
|
899
1088
|
|
1089
|
+
# Lists the AWS RAM permissions that are associated with a resource
|
1090
|
+
# share.
|
1091
|
+
#
|
1092
|
+
# @option params [required, String] :resource_share_arn
|
1093
|
+
# The Amazon Resource Name (ARN) of the resource share.
|
1094
|
+
#
|
1095
|
+
# @option params [String] :next_token
|
1096
|
+
# The token for the next page of results.
|
1097
|
+
#
|
1098
|
+
# @option params [Integer] :max_results
|
1099
|
+
# The maximum number of results to return with a single call. To
|
1100
|
+
# retrieve the remaining results, make another call with the returned
|
1101
|
+
# `nextToken` value.
|
1102
|
+
#
|
1103
|
+
# @return [Types::ListResourceSharePermissionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1104
|
+
#
|
1105
|
+
# * {Types::ListResourceSharePermissionsResponse#permissions #permissions} => Array<Types::ResourceSharePermissionSummary>
|
1106
|
+
# * {Types::ListResourceSharePermissionsResponse#next_token #next_token} => String
|
1107
|
+
#
|
1108
|
+
# @example Request syntax with placeholder values
|
1109
|
+
#
|
1110
|
+
# resp = client.list_resource_share_permissions({
|
1111
|
+
# resource_share_arn: "String", # required
|
1112
|
+
# next_token: "String",
|
1113
|
+
# max_results: 1,
|
1114
|
+
# })
|
1115
|
+
#
|
1116
|
+
# @example Response structure
|
1117
|
+
#
|
1118
|
+
# resp.permissions #=> Array
|
1119
|
+
# resp.permissions[0].arn #=> String
|
1120
|
+
# resp.permissions[0].version #=> String
|
1121
|
+
# resp.permissions[0].default_version #=> Boolean
|
1122
|
+
# resp.permissions[0].name #=> String
|
1123
|
+
# resp.permissions[0].resource_type #=> String
|
1124
|
+
# resp.permissions[0].status #=> String
|
1125
|
+
# resp.permissions[0].creation_time #=> Time
|
1126
|
+
# resp.permissions[0].last_updated_time #=> Time
|
1127
|
+
# resp.next_token #=> String
|
1128
|
+
#
|
1129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions AWS API Documentation
|
1130
|
+
#
|
1131
|
+
# @overload list_resource_share_permissions(params = {})
|
1132
|
+
# @param [Hash] params ({})
|
1133
|
+
def list_resource_share_permissions(params = {}, options = {})
|
1134
|
+
req = build_request(:list_resource_share_permissions, params)
|
1135
|
+
req.send_request(options)
|
1136
|
+
end
|
1137
|
+
|
900
1138
|
# Lists the resources that you added to a resource shares or the
|
901
1139
|
# resources that are shared with you.
|
902
1140
|
#
|
@@ -909,8 +1147,10 @@ module Aws::RAM
|
|
909
1147
|
# @option params [String] :resource_type
|
910
1148
|
# The resource type.
|
911
1149
|
#
|
912
|
-
# Valid values: `
|
913
|
-
#
|
1150
|
+
# Valid values: `ec2:CapacityReservation` \| `ec2:Subnet` \|
|
1151
|
+
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1152
|
+
# `license-manager:LicenseConfiguration` \| `rds:Cluster` \|
|
1153
|
+
# `route53resolver:ResolverRule` \| `resource-groups:Group`
|
914
1154
|
#
|
915
1155
|
# @option params [Array<String>] :resource_arns
|
916
1156
|
# The Amazon Resource Names (ARN) of the resources.
|
@@ -949,6 +1189,7 @@ module Aws::RAM
|
|
949
1189
|
# resp.resources[0].arn #=> String
|
950
1190
|
# resp.resources[0].type #=> String
|
951
1191
|
# resp.resources[0].resource_share_arn #=> String
|
1192
|
+
# resp.resources[0].resource_group_arn #=> String
|
952
1193
|
# resp.resources[0].status #=> String, one of "AVAILABLE", "ZONAL_RESOURCE_INACCESSIBLE", "LIMIT_EXCEEDED", "UNAVAILABLE", "PENDING"
|
953
1194
|
# resp.resources[0].status_message #=> String
|
954
1195
|
# resp.resources[0].creation_time #=> Time
|
@@ -964,6 +1205,43 @@ module Aws::RAM
|
|
964
1205
|
req.send_request(options)
|
965
1206
|
end
|
966
1207
|
|
1208
|
+
# Resource shares that were created by attaching a policy to a resource
|
1209
|
+
# are visible only to the resource share owner, and the resource share
|
1210
|
+
# cannot be modified in AWS RAM.
|
1211
|
+
#
|
1212
|
+
# Use this API action to promote the resource share. When you promote
|
1213
|
+
# the resource share, it becomes:
|
1214
|
+
#
|
1215
|
+
# * Visible to all principals that it is shared with.
|
1216
|
+
#
|
1217
|
+
# * Modifiable in AWS RAM.
|
1218
|
+
#
|
1219
|
+
# @option params [required, String] :resource_share_arn
|
1220
|
+
# The ARN of the resource share to promote.
|
1221
|
+
#
|
1222
|
+
# @return [Types::PromoteResourceShareCreatedFromPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1223
|
+
#
|
1224
|
+
# * {Types::PromoteResourceShareCreatedFromPolicyResponse#return_value #return_value} => Boolean
|
1225
|
+
#
|
1226
|
+
# @example Request syntax with placeholder values
|
1227
|
+
#
|
1228
|
+
# resp = client.promote_resource_share_created_from_policy({
|
1229
|
+
# resource_share_arn: "String", # required
|
1230
|
+
# })
|
1231
|
+
#
|
1232
|
+
# @example Response structure
|
1233
|
+
#
|
1234
|
+
# resp.return_value #=> Boolean
|
1235
|
+
#
|
1236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy AWS API Documentation
|
1237
|
+
#
|
1238
|
+
# @overload promote_resource_share_created_from_policy(params = {})
|
1239
|
+
# @param [Hash] params ({})
|
1240
|
+
def promote_resource_share_created_from_policy(params = {}, options = {})
|
1241
|
+
req = build_request(:promote_resource_share_created_from_policy, params)
|
1242
|
+
req.send_request(options)
|
1243
|
+
end
|
1244
|
+
|
967
1245
|
# Rejects an invitation to a resource share from another AWS account.
|
968
1246
|
#
|
969
1247
|
# @option params [required, String] :resource_share_invitation_arn
|
@@ -1116,6 +1394,7 @@ module Aws::RAM
|
|
1116
1394
|
# resp.resource_share.tags[0].value #=> String
|
1117
1395
|
# resp.resource_share.creation_time #=> Time
|
1118
1396
|
# resp.resource_share.last_updated_time #=> Time
|
1397
|
+
# resp.resource_share.feature_set #=> String, one of "CREATED_FROM_POLICY", "PROMOTING_TO_STANDARD", "STANDARD"
|
1119
1398
|
# resp.client_token #=> String
|
1120
1399
|
#
|
1121
1400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare AWS API Documentation
|
@@ -1140,7 +1419,7 @@ module Aws::RAM
|
|
1140
1419
|
params: params,
|
1141
1420
|
config: config)
|
1142
1421
|
context[:gem_name] = 'aws-sdk-ram'
|
1143
|
-
context[:gem_version] = '1.
|
1422
|
+
context[:gem_version] = '1.13.0'
|
1144
1423
|
Seahorse::Client::Request.new(handlers, context)
|
1145
1424
|
end
|
1146
1425
|
|
@@ -13,6 +13,8 @@ module Aws::RAM
|
|
13
13
|
|
14
14
|
AcceptResourceShareInvitationRequest = Shapes::StructureShape.new(name: 'AcceptResourceShareInvitationRequest')
|
15
15
|
AcceptResourceShareInvitationResponse = Shapes::StructureShape.new(name: 'AcceptResourceShareInvitationResponse')
|
16
|
+
AssociateResourceSharePermissionRequest = Shapes::StructureShape.new(name: 'AssociateResourceSharePermissionRequest')
|
17
|
+
AssociateResourceSharePermissionResponse = Shapes::StructureShape.new(name: 'AssociateResourceSharePermissionResponse')
|
16
18
|
AssociateResourceShareRequest = Shapes::StructureShape.new(name: 'AssociateResourceShareRequest')
|
17
19
|
AssociateResourceShareResponse = Shapes::StructureShape.new(name: 'AssociateResourceShareResponse')
|
18
20
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
@@ -21,10 +23,14 @@ module Aws::RAM
|
|
21
23
|
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
22
24
|
DeleteResourceShareRequest = Shapes::StructureShape.new(name: 'DeleteResourceShareRequest')
|
23
25
|
DeleteResourceShareResponse = Shapes::StructureShape.new(name: 'DeleteResourceShareResponse')
|
26
|
+
DisassociateResourceSharePermissionRequest = Shapes::StructureShape.new(name: 'DisassociateResourceSharePermissionRequest')
|
27
|
+
DisassociateResourceSharePermissionResponse = Shapes::StructureShape.new(name: 'DisassociateResourceSharePermissionResponse')
|
24
28
|
DisassociateResourceShareRequest = Shapes::StructureShape.new(name: 'DisassociateResourceShareRequest')
|
25
29
|
DisassociateResourceShareResponse = Shapes::StructureShape.new(name: 'DisassociateResourceShareResponse')
|
26
30
|
EnableSharingWithAwsOrganizationRequest = Shapes::StructureShape.new(name: 'EnableSharingWithAwsOrganizationRequest')
|
27
31
|
EnableSharingWithAwsOrganizationResponse = Shapes::StructureShape.new(name: 'EnableSharingWithAwsOrganizationResponse')
|
32
|
+
GetPermissionRequest = Shapes::StructureShape.new(name: 'GetPermissionRequest')
|
33
|
+
GetPermissionResponse = Shapes::StructureShape.new(name: 'GetPermissionResponse')
|
28
34
|
GetResourcePoliciesRequest = Shapes::StructureShape.new(name: 'GetResourcePoliciesRequest')
|
29
35
|
GetResourcePoliciesResponse = Shapes::StructureShape.new(name: 'GetResourcePoliciesResponse')
|
30
36
|
GetResourceShareAssociationsRequest = Shapes::StructureShape.new(name: 'GetResourceShareAssociationsRequest')
|
@@ -34,6 +40,7 @@ module Aws::RAM
|
|
34
40
|
GetResourceSharesRequest = Shapes::StructureShape.new(name: 'GetResourceSharesRequest')
|
35
41
|
GetResourceSharesResponse = Shapes::StructureShape.new(name: 'GetResourceSharesResponse')
|
36
42
|
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
43
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
37
44
|
InvalidClientTokenException = Shapes::StructureShape.new(name: 'InvalidClientTokenException')
|
38
45
|
InvalidMaxResultsException = Shapes::StructureShape.new(name: 'InvalidMaxResultsException')
|
39
46
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
@@ -42,19 +49,26 @@ module Aws::RAM
|
|
42
49
|
InvalidStateTransitionException = Shapes::StructureShape.new(name: 'InvalidStateTransitionException')
|
43
50
|
ListPendingInvitationResourcesRequest = Shapes::StructureShape.new(name: 'ListPendingInvitationResourcesRequest')
|
44
51
|
ListPendingInvitationResourcesResponse = Shapes::StructureShape.new(name: 'ListPendingInvitationResourcesResponse')
|
52
|
+
ListPermissionsRequest = Shapes::StructureShape.new(name: 'ListPermissionsRequest')
|
53
|
+
ListPermissionsResponse = Shapes::StructureShape.new(name: 'ListPermissionsResponse')
|
45
54
|
ListPrincipalsRequest = Shapes::StructureShape.new(name: 'ListPrincipalsRequest')
|
46
55
|
ListPrincipalsResponse = Shapes::StructureShape.new(name: 'ListPrincipalsResponse')
|
56
|
+
ListResourceSharePermissionsRequest = Shapes::StructureShape.new(name: 'ListResourceSharePermissionsRequest')
|
57
|
+
ListResourceSharePermissionsResponse = Shapes::StructureShape.new(name: 'ListResourceSharePermissionsResponse')
|
47
58
|
ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
|
48
59
|
ListResourcesResponse = Shapes::StructureShape.new(name: 'ListResourcesResponse')
|
49
60
|
MalformedArnException = Shapes::StructureShape.new(name: 'MalformedArnException')
|
50
61
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
51
62
|
MissingRequiredParameterException = Shapes::StructureShape.new(name: 'MissingRequiredParameterException')
|
52
63
|
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
64
|
+
PermissionArnList = Shapes::ListShape.new(name: 'PermissionArnList')
|
53
65
|
Policy = Shapes::StringShape.new(name: 'Policy')
|
54
66
|
PolicyList = Shapes::ListShape.new(name: 'PolicyList')
|
55
67
|
Principal = Shapes::StructureShape.new(name: 'Principal')
|
56
68
|
PrincipalArnOrIdList = Shapes::ListShape.new(name: 'PrincipalArnOrIdList')
|
57
69
|
PrincipalList = Shapes::ListShape.new(name: 'PrincipalList')
|
70
|
+
PromoteResourceShareCreatedFromPolicyRequest = Shapes::StructureShape.new(name: 'PromoteResourceShareCreatedFromPolicyRequest')
|
71
|
+
PromoteResourceShareCreatedFromPolicyResponse = Shapes::StructureShape.new(name: 'PromoteResourceShareCreatedFromPolicyResponse')
|
58
72
|
RejectResourceShareInvitationRequest = Shapes::StructureShape.new(name: 'RejectResourceShareInvitationRequest')
|
59
73
|
RejectResourceShareInvitationResponse = Shapes::StructureShape.new(name: 'RejectResourceShareInvitationResponse')
|
60
74
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
@@ -68,6 +82,7 @@ module Aws::RAM
|
|
68
82
|
ResourceShareAssociationList = Shapes::ListShape.new(name: 'ResourceShareAssociationList')
|
69
83
|
ResourceShareAssociationStatus = Shapes::StringShape.new(name: 'ResourceShareAssociationStatus')
|
70
84
|
ResourceShareAssociationType = Shapes::StringShape.new(name: 'ResourceShareAssociationType')
|
85
|
+
ResourceShareFeatureSet = Shapes::StringShape.new(name: 'ResourceShareFeatureSet')
|
71
86
|
ResourceShareInvitation = Shapes::StructureShape.new(name: 'ResourceShareInvitation')
|
72
87
|
ResourceShareInvitationAlreadyAcceptedException = Shapes::StructureShape.new(name: 'ResourceShareInvitationAlreadyAcceptedException')
|
73
88
|
ResourceShareInvitationAlreadyRejectedException = Shapes::StructureShape.new(name: 'ResourceShareInvitationAlreadyRejectedException')
|
@@ -78,6 +93,9 @@ module Aws::RAM
|
|
78
93
|
ResourceShareInvitationStatus = Shapes::StringShape.new(name: 'ResourceShareInvitationStatus')
|
79
94
|
ResourceShareLimitExceededException = Shapes::StructureShape.new(name: 'ResourceShareLimitExceededException')
|
80
95
|
ResourceShareList = Shapes::ListShape.new(name: 'ResourceShareList')
|
96
|
+
ResourceSharePermissionDetail = Shapes::StructureShape.new(name: 'ResourceSharePermissionDetail')
|
97
|
+
ResourceSharePermissionList = Shapes::ListShape.new(name: 'ResourceSharePermissionList')
|
98
|
+
ResourceSharePermissionSummary = Shapes::StructureShape.new(name: 'ResourceSharePermissionSummary')
|
81
99
|
ResourceShareStatus = Shapes::StringShape.new(name: 'ResourceShareStatus')
|
82
100
|
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
83
101
|
ServerInternalException = Shapes::StructureShape.new(name: 'ServerInternalException')
|
@@ -109,6 +127,16 @@ module Aws::RAM
|
|
109
127
|
AcceptResourceShareInvitationResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
110
128
|
AcceptResourceShareInvitationResponse.struct_class = Types::AcceptResourceShareInvitationResponse
|
111
129
|
|
130
|
+
AssociateResourceSharePermissionRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
131
|
+
AssociateResourceSharePermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
132
|
+
AssociateResourceSharePermissionRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "replace"))
|
133
|
+
AssociateResourceSharePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
134
|
+
AssociateResourceSharePermissionRequest.struct_class = Types::AssociateResourceSharePermissionRequest
|
135
|
+
|
136
|
+
AssociateResourceSharePermissionResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
137
|
+
AssociateResourceSharePermissionResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
138
|
+
AssociateResourceSharePermissionResponse.struct_class = Types::AssociateResourceSharePermissionResponse
|
139
|
+
|
112
140
|
AssociateResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
113
141
|
AssociateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
114
142
|
AssociateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
@@ -125,6 +153,7 @@ module Aws::RAM
|
|
125
153
|
CreateResourceShareRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
126
154
|
CreateResourceShareRequest.add_member(:allow_external_principals, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowExternalPrincipals"))
|
127
155
|
CreateResourceShareRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
156
|
+
CreateResourceShareRequest.add_member(:permission_arns, Shapes::ShapeRef.new(shape: PermissionArnList, location_name: "permissionArns"))
|
128
157
|
CreateResourceShareRequest.struct_class = Types::CreateResourceShareRequest
|
129
158
|
|
130
159
|
CreateResourceShareResponse.add_member(:resource_share, Shapes::ShapeRef.new(shape: ResourceShare, location_name: "resourceShare"))
|
@@ -139,6 +168,15 @@ module Aws::RAM
|
|
139
168
|
DeleteResourceShareResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
140
169
|
DeleteResourceShareResponse.struct_class = Types::DeleteResourceShareResponse
|
141
170
|
|
171
|
+
DisassociateResourceSharePermissionRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
172
|
+
DisassociateResourceSharePermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
173
|
+
DisassociateResourceSharePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
174
|
+
DisassociateResourceSharePermissionRequest.struct_class = Types::DisassociateResourceSharePermissionRequest
|
175
|
+
|
176
|
+
DisassociateResourceSharePermissionResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
177
|
+
DisassociateResourceSharePermissionResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
178
|
+
DisassociateResourceSharePermissionResponse.struct_class = Types::DisassociateResourceSharePermissionResponse
|
179
|
+
|
142
180
|
DisassociateResourceShareRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
143
181
|
DisassociateResourceShareRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, location_name: "resourceArns"))
|
144
182
|
DisassociateResourceShareRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
@@ -154,6 +192,13 @@ module Aws::RAM
|
|
154
192
|
EnableSharingWithAwsOrganizationResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
155
193
|
EnableSharingWithAwsOrganizationResponse.struct_class = Types::EnableSharingWithAwsOrganizationResponse
|
156
194
|
|
195
|
+
GetPermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
196
|
+
GetPermissionRequest.add_member(:permission_version, Shapes::ShapeRef.new(shape: Integer, location_name: "permissionVersion"))
|
197
|
+
GetPermissionRequest.struct_class = Types::GetPermissionRequest
|
198
|
+
|
199
|
+
GetPermissionResponse.add_member(:permission, Shapes::ShapeRef.new(shape: ResourceSharePermissionDetail, location_name: "permission"))
|
200
|
+
GetPermissionResponse.struct_class = Types::GetPermissionResponse
|
201
|
+
|
157
202
|
GetResourcePoliciesRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArnList, required: true, location_name: "resourceArns"))
|
158
203
|
GetResourcePoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
159
204
|
GetResourcePoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
@@ -230,6 +275,15 @@ module Aws::RAM
|
|
230
275
|
ListPendingInvitationResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
231
276
|
ListPendingInvitationResourcesResponse.struct_class = Types::ListPendingInvitationResourcesResponse
|
232
277
|
|
278
|
+
ListPermissionsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
279
|
+
ListPermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
280
|
+
ListPermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
281
|
+
ListPermissionsRequest.struct_class = Types::ListPermissionsRequest
|
282
|
+
|
283
|
+
ListPermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourceSharePermissionList, location_name: "permissions"))
|
284
|
+
ListPermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
285
|
+
ListPermissionsResponse.struct_class = Types::ListPermissionsResponse
|
286
|
+
|
233
287
|
ListPrincipalsRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
234
288
|
ListPrincipalsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
|
235
289
|
ListPrincipalsRequest.add_member(:principals, Shapes::ShapeRef.new(shape: PrincipalArnOrIdList, location_name: "principals"))
|
@@ -243,6 +297,15 @@ module Aws::RAM
|
|
243
297
|
ListPrincipalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
244
298
|
ListPrincipalsResponse.struct_class = Types::ListPrincipalsResponse
|
245
299
|
|
300
|
+
ListResourceSharePermissionsRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareArn"))
|
301
|
+
ListResourceSharePermissionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
302
|
+
ListResourceSharePermissionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
303
|
+
ListResourceSharePermissionsRequest.struct_class = Types::ListResourceSharePermissionsRequest
|
304
|
+
|
305
|
+
ListResourceSharePermissionsResponse.add_member(:permissions, Shapes::ShapeRef.new(shape: ResourceSharePermissionList, location_name: "permissions"))
|
306
|
+
ListResourceSharePermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
307
|
+
ListResourceSharePermissionsResponse.struct_class = Types::ListResourceSharePermissionsResponse
|
308
|
+
|
246
309
|
ListResourcesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
247
310
|
ListResourcesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
248
311
|
ListResourcesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
@@ -265,6 +328,8 @@ module Aws::RAM
|
|
265
328
|
OperationNotPermittedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
266
329
|
OperationNotPermittedException.struct_class = Types::OperationNotPermittedException
|
267
330
|
|
331
|
+
PermissionArnList.member = Shapes::ShapeRef.new(shape: String)
|
332
|
+
|
268
333
|
PolicyList.member = Shapes::ShapeRef.new(shape: Policy)
|
269
334
|
|
270
335
|
Principal.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
@@ -278,6 +343,12 @@ module Aws::RAM
|
|
278
343
|
|
279
344
|
PrincipalList.member = Shapes::ShapeRef.new(shape: Principal)
|
280
345
|
|
346
|
+
PromoteResourceShareCreatedFromPolicyRequest.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "resourceShareArn"))
|
347
|
+
PromoteResourceShareCreatedFromPolicyRequest.struct_class = Types::PromoteResourceShareCreatedFromPolicyRequest
|
348
|
+
|
349
|
+
PromoteResourceShareCreatedFromPolicyResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
350
|
+
PromoteResourceShareCreatedFromPolicyResponse.struct_class = Types::PromoteResourceShareCreatedFromPolicyResponse
|
351
|
+
|
281
352
|
RejectResourceShareInvitationRequest.add_member(:resource_share_invitation_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareInvitationArn"))
|
282
353
|
RejectResourceShareInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
283
354
|
RejectResourceShareInvitationRequest.struct_class = Types::RejectResourceShareInvitationRequest
|
@@ -289,6 +360,7 @@ module Aws::RAM
|
|
289
360
|
Resource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
290
361
|
Resource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
291
362
|
Resource.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceShareArn"))
|
363
|
+
Resource.add_member(:resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceGroupArn"))
|
292
364
|
Resource.add_member(:status, Shapes::ShapeRef.new(shape: ResourceStatus, location_name: "status"))
|
293
365
|
Resource.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
294
366
|
Resource.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
@@ -311,6 +383,7 @@ module Aws::RAM
|
|
311
383
|
ResourceShare.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
312
384
|
ResourceShare.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
313
385
|
ResourceShare.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
386
|
+
ResourceShare.add_member(:feature_set, Shapes::ShapeRef.new(shape: ResourceShareFeatureSet, location_name: "featureSet"))
|
314
387
|
ResourceShare.struct_class = Types::ResourceShare
|
315
388
|
|
316
389
|
ResourceShareArnList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -359,6 +432,28 @@ module Aws::RAM
|
|
359
432
|
|
360
433
|
ResourceShareList.member = Shapes::ShapeRef.new(shape: ResourceShare)
|
361
434
|
|
435
|
+
ResourceSharePermissionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
436
|
+
ResourceSharePermissionDetail.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
437
|
+
ResourceSharePermissionDetail.add_member(:default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultVersion"))
|
438
|
+
ResourceSharePermissionDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
439
|
+
ResourceSharePermissionDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
440
|
+
ResourceSharePermissionDetail.add_member(:permission, Shapes::ShapeRef.new(shape: String, location_name: "permission"))
|
441
|
+
ResourceSharePermissionDetail.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
442
|
+
ResourceSharePermissionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
443
|
+
ResourceSharePermissionDetail.struct_class = Types::ResourceSharePermissionDetail
|
444
|
+
|
445
|
+
ResourceSharePermissionList.member = Shapes::ShapeRef.new(shape: ResourceSharePermissionSummary)
|
446
|
+
|
447
|
+
ResourceSharePermissionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
448
|
+
ResourceSharePermissionSummary.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
449
|
+
ResourceSharePermissionSummary.add_member(:default_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "defaultVersion"))
|
450
|
+
ResourceSharePermissionSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
451
|
+
ResourceSharePermissionSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
452
|
+
ResourceSharePermissionSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
453
|
+
ResourceSharePermissionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
454
|
+
ResourceSharePermissionSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
455
|
+
ResourceSharePermissionSummary.struct_class = Types::ResourceSharePermissionSummary
|
456
|
+
|
362
457
|
ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
363
458
|
ServerInternalException.struct_class = Types::ServerInternalException
|
364
459
|
|
@@ -468,6 +563,21 @@ module Aws::RAM
|
|
468
563
|
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
469
564
|
end)
|
470
565
|
|
566
|
+
api.add_operation(:associate_resource_share_permission, Seahorse::Model::Operation.new.tap do |o|
|
567
|
+
o.name = "AssociateResourceSharePermission"
|
568
|
+
o.http_method = "POST"
|
569
|
+
o.http_request_uri = "/associateresourcesharepermission"
|
570
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateResourceSharePermissionRequest)
|
571
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateResourceSharePermissionResponse)
|
572
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
573
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
578
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
579
|
+
end)
|
580
|
+
|
471
581
|
api.add_operation(:create_resource_share, Seahorse::Model::Operation.new.tap do |o|
|
472
582
|
o.name = "CreateResourceShare"
|
473
583
|
o.http_method = "POST"
|
@@ -522,6 +632,21 @@ module Aws::RAM
|
|
522
632
|
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
523
633
|
end)
|
524
634
|
|
635
|
+
api.add_operation(:disassociate_resource_share_permission, Seahorse::Model::Operation.new.tap do |o|
|
636
|
+
o.name = "DisassociateResourceSharePermission"
|
637
|
+
o.http_method = "POST"
|
638
|
+
o.http_request_uri = "/disassociateresourcesharepermission"
|
639
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateResourceSharePermissionRequest)
|
640
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateResourceSharePermissionResponse)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidClientTokenException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
648
|
+
end)
|
649
|
+
|
525
650
|
api.add_operation(:enable_sharing_with_aws_organization, Seahorse::Model::Operation.new.tap do |o|
|
526
651
|
o.name = "EnableSharingWithAwsOrganization"
|
527
652
|
o.http_method = "POST"
|
@@ -533,6 +658,20 @@ module Aws::RAM
|
|
533
658
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
534
659
|
end)
|
535
660
|
|
661
|
+
api.add_operation(:get_permission, Seahorse::Model::Operation.new.tap do |o|
|
662
|
+
o.name = "GetPermission"
|
663
|
+
o.http_method = "POST"
|
664
|
+
o.http_request_uri = "/getpermission"
|
665
|
+
o.input = Shapes::ShapeRef.new(shape: GetPermissionRequest)
|
666
|
+
o.output = Shapes::ShapeRef.new(shape: GetPermissionResponse)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
670
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
672
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
673
|
+
end)
|
674
|
+
|
536
675
|
api.add_operation(:get_resource_policies, Seahorse::Model::Operation.new.tap do |o|
|
537
676
|
o.name = "GetResourcePolicies"
|
538
677
|
o.http_method = "POST"
|
@@ -637,6 +776,19 @@ module Aws::RAM
|
|
637
776
|
)
|
638
777
|
end)
|
639
778
|
|
779
|
+
api.add_operation(:list_permissions, Seahorse::Model::Operation.new.tap do |o|
|
780
|
+
o.name = "ListPermissions"
|
781
|
+
o.http_method = "POST"
|
782
|
+
o.http_request_uri = "/listpermissions"
|
783
|
+
o.input = Shapes::ShapeRef.new(shape: ListPermissionsRequest)
|
784
|
+
o.output = Shapes::ShapeRef.new(shape: ListPermissionsResponse)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
789
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
790
|
+
end)
|
791
|
+
|
640
792
|
api.add_operation(:list_principals, Seahorse::Model::Operation.new.tap do |o|
|
641
793
|
o.name = "ListPrincipals"
|
642
794
|
o.http_method = "POST"
|
@@ -657,6 +809,21 @@ module Aws::RAM
|
|
657
809
|
)
|
658
810
|
end)
|
659
811
|
|
812
|
+
api.add_operation(:list_resource_share_permissions, Seahorse::Model::Operation.new.tap do |o|
|
813
|
+
o.name = "ListResourceSharePermissions"
|
814
|
+
o.http_method = "POST"
|
815
|
+
o.http_request_uri = "/listresourcesharepermissions"
|
816
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceSharePermissionsRequest)
|
817
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceSharePermissionsResponse)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
819
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
820
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
821
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
822
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
823
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
824
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
825
|
+
end)
|
826
|
+
|
660
827
|
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
661
828
|
o.name = "ListResources"
|
662
829
|
o.http_method = "POST"
|
@@ -678,6 +845,20 @@ module Aws::RAM
|
|
678
845
|
)
|
679
846
|
end)
|
680
847
|
|
848
|
+
api.add_operation(:promote_resource_share_created_from_policy, Seahorse::Model::Operation.new.tap do |o|
|
849
|
+
o.name = "PromoteResourceShareCreatedFromPolicy"
|
850
|
+
o.http_method = "POST"
|
851
|
+
o.http_request_uri = "/promoteresourcesharecreatedfrompolicy"
|
852
|
+
o.input = Shapes::ShapeRef.new(shape: PromoteResourceShareCreatedFromPolicyRequest)
|
853
|
+
o.output = Shapes::ShapeRef.new(shape: PromoteResourceShareCreatedFromPolicyResponse)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
860
|
+
end)
|
861
|
+
|
681
862
|
api.add_operation(:reject_resource_share_invitation, Seahorse::Model::Operation.new.tap do |o|
|
682
863
|
o.name = "RejectResourceShareInvitation"
|
683
864
|
o.http_method = "POST"
|