aws-sdk-ram 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ram.rb +1 -1
- data/lib/aws-sdk-ram/client.rb +29 -9
- data/lib/aws-sdk-ram/client_api.rb +26 -0
- data/lib/aws-sdk-ram/types.rb +46 -16
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4998ddba22f50dd86a2675223a48cc6682b266c3c393ba1b04f7479019e305ce
|
4
|
+
data.tar.gz: d64f826987aa2724927582923bde2877f51c3a74c2b0ce6d3f521c5b7a908add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2e6d285877a4680dd9d97fa1155eb177a504fed937138cbe7ec209b6fdc7ce63f7b43d9ca3d89d19969ef77fbf1d76e85e108ae27e17fc2d763b00bf85f0499
|
7
|
+
data.tar.gz: 4509a93d7b104da8f2f5e2623009abb0028db1462767c9fef26c8c51bb9f08b14cfcf308044449aa587133a405b37ad71e4ecd2dd5976dd82c025345da4b5908
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2021-06-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Resource Access Manager (RAM) is releasing new field isResourceTypeDefault in ListPermissions and GetPermission response, and adding permissionArn parameter to GetResourceShare request to filter by permission attached
|
8
|
+
|
4
9
|
1.25.0 (2021-04-08)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
data/lib/aws-sdk-ram.rb
CHANGED
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -367,6 +367,7 @@ module Aws::RAM
|
|
367
367
|
# resp.resource_share_invitation.resource_share_associations[0].creation_time #=> Time
|
368
368
|
# resp.resource_share_invitation.resource_share_associations[0].last_updated_time #=> Time
|
369
369
|
# resp.resource_share_invitation.resource_share_associations[0].external #=> Boolean
|
370
|
+
# resp.resource_share_invitation.receiver_arn #=> String
|
370
371
|
# resp.client_token #=> String
|
371
372
|
#
|
372
373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation AWS API Documentation
|
@@ -439,8 +440,8 @@ module Aws::RAM
|
|
439
440
|
# The Amazon Resource Name (ARN) of the resource share.
|
440
441
|
#
|
441
442
|
# @option params [required, String] :permission_arn
|
442
|
-
# The ARN of the AWS RAM
|
443
|
-
# share.
|
443
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permissions to associate
|
444
|
+
# with the resource share.
|
444
445
|
#
|
445
446
|
# @option params [Boolean] :replace
|
446
447
|
# Indicates whether the permission should replace the permissions that
|
@@ -452,6 +453,10 @@ module Aws::RAM
|
|
452
453
|
# A unique, case-sensitive identifier that you provide to ensure the
|
453
454
|
# idempotency of the request.
|
454
455
|
#
|
456
|
+
# @option params [Integer] :permission_version
|
457
|
+
# The version of the AWS RAM permissions to associate with the resource
|
458
|
+
# share.
|
459
|
+
#
|
455
460
|
# @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
456
461
|
#
|
457
462
|
# * {Types::AssociateResourceSharePermissionResponse#return_value #return_value} => Boolean
|
@@ -464,6 +469,7 @@ module Aws::RAM
|
|
464
469
|
# permission_arn: "String", # required
|
465
470
|
# replace: false,
|
466
471
|
# client_token: "String",
|
472
|
+
# permission_version: 1,
|
467
473
|
# })
|
468
474
|
#
|
469
475
|
# @example Response structure
|
@@ -734,6 +740,7 @@ module Aws::RAM
|
|
734
740
|
# resp.permission.permission #=> String
|
735
741
|
# resp.permission.creation_time #=> Time
|
736
742
|
# resp.permission.last_updated_time #=> Time
|
743
|
+
# resp.permission.is_resource_type_default #=> Boolean
|
737
744
|
#
|
738
745
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission AWS API Documentation
|
739
746
|
#
|
@@ -864,7 +871,7 @@ module Aws::RAM
|
|
864
871
|
req.send_request(options)
|
865
872
|
end
|
866
873
|
|
867
|
-
# Gets the invitations
|
874
|
+
# Gets the invitations that you have received for resource shares.
|
868
875
|
#
|
869
876
|
# @option params [Array<String>] :resource_share_invitation_arns
|
870
877
|
# The Amazon Resource Names (ARN) of the invitations.
|
@@ -916,6 +923,7 @@ module Aws::RAM
|
|
916
923
|
# resp.resource_share_invitations[0].resource_share_associations[0].creation_time #=> Time
|
917
924
|
# resp.resource_share_invitations[0].resource_share_associations[0].last_updated_time #=> Time
|
918
925
|
# resp.resource_share_invitations[0].resource_share_associations[0].external #=> Boolean
|
926
|
+
# resp.resource_share_invitations[0].receiver_arn #=> String
|
919
927
|
# resp.next_token #=> String
|
920
928
|
#
|
921
929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations AWS API Documentation
|
@@ -931,7 +939,7 @@ module Aws::RAM
|
|
931
939
|
# shared with you.
|
932
940
|
#
|
933
941
|
# @option params [Array<String>] :resource_share_arns
|
934
|
-
# The
|
942
|
+
# The ARNs of the resource shares.
|
935
943
|
#
|
936
944
|
# @option params [String] :resource_share_status
|
937
945
|
# The status of the resource share.
|
@@ -953,6 +961,10 @@ module Aws::RAM
|
|
953
961
|
# retrieve the remaining results, make another call with the returned
|
954
962
|
# `nextToken` value.
|
955
963
|
#
|
964
|
+
# @option params [String] :permission_arn
|
965
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permission that is
|
966
|
+
# associated with the resource share.
|
967
|
+
#
|
956
968
|
# @return [Types::GetResourceSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
957
969
|
#
|
958
970
|
# * {Types::GetResourceSharesResponse#resource_shares #resource_shares} => Array<Types::ResourceShare>
|
@@ -975,6 +987,7 @@ module Aws::RAM
|
|
975
987
|
# ],
|
976
988
|
# next_token: "String",
|
977
989
|
# max_results: 1,
|
990
|
+
# permission_arn: "String",
|
978
991
|
# })
|
979
992
|
#
|
980
993
|
# @example Response structure
|
@@ -1074,6 +1087,8 @@ module Aws::RAM
|
|
1074
1087
|
# * {Types::ListPermissionsResponse#permissions #permissions} => Array<Types::ResourceSharePermissionSummary>
|
1075
1088
|
# * {Types::ListPermissionsResponse#next_token #next_token} => String
|
1076
1089
|
#
|
1090
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1091
|
+
#
|
1077
1092
|
# @example Request syntax with placeholder values
|
1078
1093
|
#
|
1079
1094
|
# resp = client.list_permissions({
|
@@ -1093,6 +1108,7 @@ module Aws::RAM
|
|
1093
1108
|
# resp.permissions[0].status #=> String
|
1094
1109
|
# resp.permissions[0].creation_time #=> Time
|
1095
1110
|
# resp.permissions[0].last_updated_time #=> Time
|
1111
|
+
# resp.permissions[0].is_resource_type_default #=> Boolean
|
1096
1112
|
# resp.next_token #=> String
|
1097
1113
|
#
|
1098
1114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions AWS API Documentation
|
@@ -1132,8 +1148,7 @@ module Aws::RAM
|
|
1132
1148
|
# `network-firewall:StatefulRuleGroup` \|
|
1133
1149
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1134
1150
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1135
|
-
# `route53resolver:
|
1136
|
-
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1151
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
1137
1152
|
# `route53resolver:ResolverRule`
|
1138
1153
|
#
|
1139
1154
|
# @option params [Array<String>] :resource_share_arns
|
@@ -1204,6 +1219,8 @@ module Aws::RAM
|
|
1204
1219
|
# * {Types::ListResourceSharePermissionsResponse#permissions #permissions} => Array<Types::ResourceSharePermissionSummary>
|
1205
1220
|
# * {Types::ListResourceSharePermissionsResponse#next_token #next_token} => String
|
1206
1221
|
#
|
1222
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1223
|
+
#
|
1207
1224
|
# @example Request syntax with placeholder values
|
1208
1225
|
#
|
1209
1226
|
# resp = client.list_resource_share_permissions({
|
@@ -1223,6 +1240,7 @@ module Aws::RAM
|
|
1223
1240
|
# resp.permissions[0].status #=> String
|
1224
1241
|
# resp.permissions[0].creation_time #=> Time
|
1225
1242
|
# resp.permissions[0].last_updated_time #=> Time
|
1243
|
+
# resp.permissions[0].is_resource_type_default #=> Boolean
|
1226
1244
|
# resp.next_token #=> String
|
1227
1245
|
#
|
1228
1246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions AWS API Documentation
|
@@ -1249,6 +1267,8 @@ module Aws::RAM
|
|
1249
1267
|
# * {Types::ListResourceTypesResponse#resource_types #resource_types} => Array<Types::ServiceNameAndResourceType>
|
1250
1268
|
# * {Types::ListResourceTypesResponse#next_token #next_token} => String
|
1251
1269
|
#
|
1270
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1271
|
+
#
|
1252
1272
|
# @example Request syntax with placeholder values
|
1253
1273
|
#
|
1254
1274
|
# resp = client.list_resource_types({
|
@@ -1297,8 +1317,7 @@ module Aws::RAM
|
|
1297
1317
|
# `network-firewall:StatefulRuleGroup` \|
|
1298
1318
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1299
1319
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1300
|
-
# `route53resolver:
|
1301
|
-
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1320
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
1302
1321
|
# `route53resolver:ResolverRule`
|
1303
1322
|
#
|
1304
1323
|
# @option params [Array<String>] :resource_arns
|
@@ -1433,6 +1452,7 @@ module Aws::RAM
|
|
1433
1452
|
# resp.resource_share_invitation.resource_share_associations[0].creation_time #=> Time
|
1434
1453
|
# resp.resource_share_invitation.resource_share_associations[0].last_updated_time #=> Time
|
1435
1454
|
# resp.resource_share_invitation.resource_share_associations[0].external #=> Boolean
|
1455
|
+
# resp.resource_share_invitation.receiver_arn #=> String
|
1436
1456
|
# resp.client_token #=> String
|
1437
1457
|
#
|
1438
1458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation AWS API Documentation
|
@@ -1570,7 +1590,7 @@ module Aws::RAM
|
|
1570
1590
|
params: params,
|
1571
1591
|
config: config)
|
1572
1592
|
context[:gem_name] = 'aws-sdk-ram'
|
1573
|
-
context[:gem_version] = '1.
|
1593
|
+
context[:gem_version] = '1.26.0'
|
1574
1594
|
Seahorse::Client::Request.new(handlers, context)
|
1575
1595
|
end
|
1576
1596
|
|
@@ -137,6 +137,7 @@ module Aws::RAM
|
|
137
137
|
AssociateResourceSharePermissionRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "permissionArn"))
|
138
138
|
AssociateResourceSharePermissionRequest.add_member(:replace, Shapes::ShapeRef.new(shape: Boolean, location_name: "replace"))
|
139
139
|
AssociateResourceSharePermissionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
140
|
+
AssociateResourceSharePermissionRequest.add_member(:permission_version, Shapes::ShapeRef.new(shape: Integer, location_name: "permissionVersion"))
|
140
141
|
AssociateResourceSharePermissionRequest.struct_class = Types::AssociateResourceSharePermissionRequest
|
141
142
|
|
142
143
|
AssociateResourceSharePermissionResponse.add_member(:return_value, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnValue"))
|
@@ -245,6 +246,7 @@ module Aws::RAM
|
|
245
246
|
GetResourceSharesRequest.add_member(:tag_filters, Shapes::ShapeRef.new(shape: TagFilters, location_name: "tagFilters"))
|
246
247
|
GetResourceSharesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
247
248
|
GetResourceSharesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
249
|
+
GetResourceSharesRequest.add_member(:permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "permissionArn"))
|
248
250
|
GetResourceSharesRequest.struct_class = Types::GetResourceSharesRequest
|
249
251
|
|
250
252
|
GetResourceSharesResponse.add_member(:resource_shares, Shapes::ShapeRef.new(shape: ResourceShareList, location_name: "resourceShares"))
|
@@ -423,6 +425,7 @@ module Aws::RAM
|
|
423
425
|
ResourceShareInvitation.add_member(:invitation_timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "invitationTimestamp"))
|
424
426
|
ResourceShareInvitation.add_member(:status, Shapes::ShapeRef.new(shape: ResourceShareInvitationStatus, location_name: "status"))
|
425
427
|
ResourceShareInvitation.add_member(:resource_share_associations, Shapes::ShapeRef.new(shape: ResourceShareAssociationList, deprecated: true, location_name: "resourceShareAssociations", metadata: {"deprecatedMessage"=>"This member has been deprecated. Use ListPendingInvitationResources."}))
|
428
|
+
ResourceShareInvitation.add_member(:receiver_arn, Shapes::ShapeRef.new(shape: String, location_name: "receiverArn"))
|
426
429
|
ResourceShareInvitation.struct_class = Types::ResourceShareInvitation
|
427
430
|
|
428
431
|
ResourceShareInvitationAlreadyAcceptedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -454,6 +457,7 @@ module Aws::RAM
|
|
454
457
|
ResourceSharePermissionDetail.add_member(:permission, Shapes::ShapeRef.new(shape: String, location_name: "permission"))
|
455
458
|
ResourceSharePermissionDetail.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
456
459
|
ResourceSharePermissionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
460
|
+
ResourceSharePermissionDetail.add_member(:is_resource_type_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResourceTypeDefault"))
|
457
461
|
ResourceSharePermissionDetail.struct_class = Types::ResourceSharePermissionDetail
|
458
462
|
|
459
463
|
ResourceSharePermissionList.member = Shapes::ShapeRef.new(shape: ResourceSharePermissionSummary)
|
@@ -466,6 +470,7 @@ module Aws::RAM
|
|
466
470
|
ResourceSharePermissionSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
467
471
|
ResourceSharePermissionSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
|
468
472
|
ResourceSharePermissionSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
|
473
|
+
ResourceSharePermissionSummary.add_member(:is_resource_type_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "isResourceTypeDefault"))
|
469
474
|
ResourceSharePermissionSummary.struct_class = Types::ResourceSharePermissionSummary
|
470
475
|
|
471
476
|
ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -665,6 +670,7 @@ module Aws::RAM
|
|
665
670
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
666
671
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
667
672
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
673
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException)
|
668
674
|
end)
|
669
675
|
|
670
676
|
api.add_operation(:enable_sharing_with_aws_organization, Seahorse::Model::Operation.new.tap do |o|
|
@@ -809,6 +815,12 @@ module Aws::RAM
|
|
809
815
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
810
816
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
811
817
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
818
|
+
o[:pager] = Aws::Pager.new(
|
819
|
+
limit_key: "max_results",
|
820
|
+
tokens: {
|
821
|
+
"next_token" => "next_token"
|
822
|
+
}
|
823
|
+
)
|
812
824
|
end)
|
813
825
|
|
814
826
|
api.add_operation(:list_principals, Seahorse::Model::Operation.new.tap do |o|
|
@@ -844,6 +856,12 @@ module Aws::RAM
|
|
844
856
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
845
857
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
846
858
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
859
|
+
o[:pager] = Aws::Pager.new(
|
860
|
+
limit_key: "max_results",
|
861
|
+
tokens: {
|
862
|
+
"next_token" => "next_token"
|
863
|
+
}
|
864
|
+
)
|
847
865
|
end)
|
848
866
|
|
849
867
|
api.add_operation(:list_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
@@ -856,6 +874,12 @@ module Aws::RAM
|
|
856
874
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
857
875
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
858
876
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
877
|
+
o[:pager] = Aws::Pager.new(
|
878
|
+
limit_key: "max_results",
|
879
|
+
tokens: {
|
880
|
+
"next_token" => "next_token"
|
881
|
+
}
|
882
|
+
)
|
859
883
|
end)
|
860
884
|
|
861
885
|
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
@@ -886,6 +910,7 @@ module Aws::RAM
|
|
886
910
|
o.input = Shapes::ShapeRef.new(shape: PromoteResourceShareCreatedFromPolicyRequest)
|
887
911
|
o.output = Shapes::ShapeRef.new(shape: PromoteResourceShareCreatedFromPolicyResponse)
|
888
912
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
913
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceShareLimitExceededException)
|
889
914
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
890
915
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
891
916
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
@@ -920,6 +945,7 @@ module Aws::RAM
|
|
920
945
|
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
921
946
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
922
947
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
923
949
|
o.errors << Shapes::ShapeRef.new(shape: TagLimitExceededException)
|
924
950
|
o.errors << Shapes::ShapeRef.new(shape: ResourceArnNotFoundException)
|
925
951
|
o.errors << Shapes::ShapeRef.new(shape: TagPolicyViolationException)
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -62,6 +62,7 @@ module Aws::RAM
|
|
62
62
|
# permission_arn: "String", # required
|
63
63
|
# replace: false,
|
64
64
|
# client_token: "String",
|
65
|
+
# permission_version: 1,
|
65
66
|
# }
|
66
67
|
#
|
67
68
|
# @!attribute [rw] resource_share_arn
|
@@ -69,8 +70,8 @@ module Aws::RAM
|
|
69
70
|
# @return [String]
|
70
71
|
#
|
71
72
|
# @!attribute [rw] permission_arn
|
72
|
-
# The ARN of the AWS RAM
|
73
|
-
# share.
|
73
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permissions to
|
74
|
+
# associate with the resource share.
|
74
75
|
# @return [String]
|
75
76
|
#
|
76
77
|
# @!attribute [rw] replace
|
@@ -85,13 +86,19 @@ module Aws::RAM
|
|
85
86
|
# idempotency of the request.
|
86
87
|
# @return [String]
|
87
88
|
#
|
89
|
+
# @!attribute [rw] permission_version
|
90
|
+
# The version of the AWS RAM permissions to associate with the
|
91
|
+
# resource share.
|
92
|
+
# @return [Integer]
|
93
|
+
#
|
88
94
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionRequest AWS API Documentation
|
89
95
|
#
|
90
96
|
class AssociateResourceSharePermissionRequest < Struct.new(
|
91
97
|
:resource_share_arn,
|
92
98
|
:permission_arn,
|
93
99
|
:replace,
|
94
|
-
:client_token
|
100
|
+
:client_token,
|
101
|
+
:permission_version)
|
95
102
|
SENSITIVE = []
|
96
103
|
include Aws::Structure
|
97
104
|
end
|
@@ -673,10 +680,11 @@ module Aws::RAM
|
|
673
680
|
# ],
|
674
681
|
# next_token: "String",
|
675
682
|
# max_results: 1,
|
683
|
+
# permission_arn: "String",
|
676
684
|
# }
|
677
685
|
#
|
678
686
|
# @!attribute [rw] resource_share_arns
|
679
|
-
# The
|
687
|
+
# The ARNs of the resource shares.
|
680
688
|
# @return [Array<String>]
|
681
689
|
#
|
682
690
|
# @!attribute [rw] resource_share_status
|
@@ -705,6 +713,11 @@ module Aws::RAM
|
|
705
713
|
# `nextToken` value.
|
706
714
|
# @return [Integer]
|
707
715
|
#
|
716
|
+
# @!attribute [rw] permission_arn
|
717
|
+
# The Amazon Resource Name (ARN) of the AWS RAM permission that is
|
718
|
+
# associated with the resource share.
|
719
|
+
# @return [String]
|
720
|
+
#
|
708
721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceSharesRequest AWS API Documentation
|
709
722
|
#
|
710
723
|
class GetResourceSharesRequest < Struct.new(
|
@@ -714,7 +727,8 @@ module Aws::RAM
|
|
714
727
|
:name,
|
715
728
|
:tag_filters,
|
716
729
|
:next_token,
|
717
|
-
:max_results
|
730
|
+
:max_results,
|
731
|
+
:permission_arn)
|
718
732
|
SENSITIVE = []
|
719
733
|
include Aws::Structure
|
720
734
|
end
|
@@ -975,8 +989,7 @@ module Aws::RAM
|
|
975
989
|
# `network-firewall:StatefulRuleGroup` \|
|
976
990
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
977
991
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
978
|
-
# `route53resolver:
|
979
|
-
# \|`route53resolver:ResolverQueryLogConfig` \|
|
992
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
980
993
|
# `route53resolver:ResolverRule`
|
981
994
|
# @return [String]
|
982
995
|
#
|
@@ -1159,8 +1172,7 @@ module Aws::RAM
|
|
1159
1172
|
# `network-firewall:StatefulRuleGroup` \|
|
1160
1173
|
# `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
|
1161
1174
|
# `resource-groups:Group` \| `rds:Cluster` \|
|
1162
|
-
# `route53resolver:
|
1163
|
-
# \|`route53resolver:ResolverQueryLogConfig` \|
|
1175
|
+
# `route53resolver:ResolverQueryLogConfig` \|
|
1164
1176
|
# `route53resolver:ResolverRule`
|
1165
1177
|
# @return [String]
|
1166
1178
|
#
|
@@ -1597,6 +1609,11 @@ module Aws::RAM
|
|
1597
1609
|
# [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html
|
1598
1610
|
# @return [Array<Types::ResourceShareAssociation>]
|
1599
1611
|
#
|
1612
|
+
# @!attribute [rw] receiver_arn
|
1613
|
+
# The Amazon Resource Name (ARN) of the IAM user or IAM role that
|
1614
|
+
# received the invitation.
|
1615
|
+
# @return [String]
|
1616
|
+
#
|
1600
1617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShareInvitation AWS API Documentation
|
1601
1618
|
#
|
1602
1619
|
class ResourceShareInvitation < Struct.new(
|
@@ -1607,7 +1624,8 @@ module Aws::RAM
|
|
1607
1624
|
:receiver_account_id,
|
1608
1625
|
:invitation_timestamp,
|
1609
1626
|
:status,
|
1610
|
-
:resource_share_associations
|
1627
|
+
:resource_share_associations,
|
1628
|
+
:receiver_arn)
|
1611
1629
|
SENSITIVE = []
|
1612
1630
|
include Aws::Structure
|
1613
1631
|
end
|
@@ -1688,8 +1706,8 @@ module Aws::RAM
|
|
1688
1706
|
# @return [String]
|
1689
1707
|
#
|
1690
1708
|
# @!attribute [rw] default_version
|
1691
|
-
#
|
1692
|
-
# default version.
|
1709
|
+
# Specifies whether the version of the permission is set to the
|
1710
|
+
# default version for this permission.
|
1693
1711
|
# @return [Boolean]
|
1694
1712
|
#
|
1695
1713
|
# @!attribute [rw] name
|
@@ -1715,6 +1733,11 @@ module Aws::RAM
|
|
1715
1733
|
# The date and time when the permission was last updated.
|
1716
1734
|
# @return [Time]
|
1717
1735
|
#
|
1736
|
+
# @!attribute [rw] is_resource_type_default
|
1737
|
+
# Specifies whether the version of the permission is set to the
|
1738
|
+
# default version for this resource type.
|
1739
|
+
# @return [Boolean]
|
1740
|
+
#
|
1718
1741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionDetail AWS API Documentation
|
1719
1742
|
#
|
1720
1743
|
class ResourceSharePermissionDetail < Struct.new(
|
@@ -1725,7 +1748,8 @@ module Aws::RAM
|
|
1725
1748
|
:resource_type,
|
1726
1749
|
:permission,
|
1727
1750
|
:creation_time,
|
1728
|
-
:last_updated_time
|
1751
|
+
:last_updated_time,
|
1752
|
+
:is_resource_type_default)
|
1729
1753
|
SENSITIVE = []
|
1730
1754
|
include Aws::Structure
|
1731
1755
|
end
|
@@ -1742,8 +1766,8 @@ module Aws::RAM
|
|
1742
1766
|
# @return [String]
|
1743
1767
|
#
|
1744
1768
|
# @!attribute [rw] default_version
|
1745
|
-
#
|
1746
|
-
# default version.
|
1769
|
+
# Specifies whether the version of the permission is set to the
|
1770
|
+
# default version for this permission.
|
1747
1771
|
# @return [Boolean]
|
1748
1772
|
#
|
1749
1773
|
# @!attribute [rw] name
|
@@ -1766,6 +1790,11 @@ module Aws::RAM
|
|
1766
1790
|
# The date and time when the permission was last updated.
|
1767
1791
|
# @return [Time]
|
1768
1792
|
#
|
1793
|
+
# @!attribute [rw] is_resource_type_default
|
1794
|
+
# Specifies whether the version of the permission is set to the
|
1795
|
+
# default version for this resource type.
|
1796
|
+
# @return [Boolean]
|
1797
|
+
#
|
1769
1798
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionSummary AWS API Documentation
|
1770
1799
|
#
|
1771
1800
|
class ResourceSharePermissionSummary < Struct.new(
|
@@ -1776,7 +1805,8 @@ module Aws::RAM
|
|
1776
1805
|
:resource_type,
|
1777
1806
|
:status,
|
1778
1807
|
:creation_time,
|
1779
|
-
:last_updated_time
|
1808
|
+
:last_updated_time,
|
1809
|
+
:is_resource_type_default)
|
1780
1810
|
SENSITIVE = []
|
1781
1811
|
include Aws::Structure
|
1782
1812
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - RAM
|