aws-sdk-ram 1.24.0 → 1.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbd01e408461539e716e80ac662999438ac8c7327f8879011e75adcaae2f6de6
4
- data.tar.gz: b574dcb52f1921b7e4e5a1043ae77f46e4ce5ca1685c048bf6b47d5cdf2c793f
3
+ metadata.gz: cb55ba4483ecf45b64efb01db1e2e1c05e287de1926c4464446a30b8e4f4ca38
4
+ data.tar.gz: 776dbf9dd57995c22eee498fb3fa984e6136c1df38b82bff51938bb6796e8414
5
5
  SHA512:
6
- metadata.gz: 295765bb848a9664cd13438a0d4f6ef89197afa96323e26f3561d9fad21adb921c84dd0a775c9c93c95c847bee3d879c494fb092463d4e170b58990666fe0b6f
7
- data.tar.gz: c651db93ceaa154a7671fc98a4aa74e1b66325687142cd5e2fd04b91c626f36bd89558a7dffa9f94d07ea56b29a5b697ca8231c9a1e58d3ff908d76663b8f51b
6
+ metadata.gz: 1414aba1690bb753b3e323d6e1f3501a9ed5b4b273f19324c7560a2c3f076537d9b63aa0b7471372df3a9c4c8035c5d9bf34210a959fdffa0c82b24340b4151c
7
+ data.tar.gz: 4c60a267e86e60ce390c37f03931286b8147990a82b83d2f3426858e30ed6b0095a32ee4e2ea6dba95434640259ec5041b8752cb8111ef23fa12ae97d9760291
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2021-07-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.27.0 (2021-07-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.26.0 (2021-06-10)
15
+ ------------------
16
+
17
+ * 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
18
+
19
+ 1.25.0 (2021-04-08)
20
+ ------------------
21
+
22
+ * Feature - Documentation updates for AWS RAM resource sharing
23
+
4
24
  1.24.0 (2021-03-10)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.28.0
data/lib/aws-sdk-ram.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ram/customizations'
48
48
  # @!group service
49
49
  module Aws::RAM
50
50
 
51
- GEM_VERSION = '1.24.0'
51
+ GEM_VERSION = '1.28.0'
52
52
 
53
53
  end
@@ -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
@@ -388,7 +389,9 @@ module Aws::RAM
388
389
  # The Amazon Resource Names (ARN) of the resources.
389
390
  #
390
391
  # @option params [Array<String>] :principals
391
- # The principals.
392
+ # The principals to associate with the resource share. The possible
393
+ # values are IDs of AWS accounts, and the ARNs of organizational units
394
+ # (OU) or organizations from AWS Organizations.
392
395
  #
393
396
  # @option params [String] :client_token
394
397
  # A unique, case-sensitive identifier that you provide to ensure the
@@ -437,8 +440,8 @@ module Aws::RAM
437
440
  # The Amazon Resource Name (ARN) of the resource share.
438
441
  #
439
442
  # @option params [required, String] :permission_arn
440
- # The ARN of the AWS RAM permission to associate with the resource
441
- # share.
443
+ # The Amazon Resource Name (ARN) of the AWS RAM permissions to associate
444
+ # with the resource share.
442
445
  #
443
446
  # @option params [Boolean] :replace
444
447
  # Indicates whether the permission should replace the permissions that
@@ -450,6 +453,10 @@ module Aws::RAM
450
453
  # A unique, case-sensitive identifier that you provide to ensure the
451
454
  # idempotency of the request.
452
455
  #
456
+ # @option params [Integer] :permission_version
457
+ # The version of the AWS RAM permissions to associate with the resource
458
+ # share.
459
+ #
453
460
  # @return [Types::AssociateResourceSharePermissionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
454
461
  #
455
462
  # * {Types::AssociateResourceSharePermissionResponse#return_value #return_value} => Boolean
@@ -462,6 +469,7 @@ module Aws::RAM
462
469
  # permission_arn: "String", # required
463
470
  # replace: false,
464
471
  # client_token: "String",
472
+ # permission_version: 1,
465
473
  # })
466
474
  #
467
475
  # @example Response structure
@@ -732,6 +740,7 @@ module Aws::RAM
732
740
  # resp.permission.permission #=> String
733
741
  # resp.permission.creation_time #=> Time
734
742
  # resp.permission.last_updated_time #=> Time
743
+ # resp.permission.is_resource_type_default #=> Boolean
735
744
  #
736
745
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission AWS API Documentation
737
746
  #
@@ -862,7 +871,7 @@ module Aws::RAM
862
871
  req.send_request(options)
863
872
  end
864
873
 
865
- # Gets the invitations for resource sharing that you've received.
874
+ # Gets the invitations that you have received for resource shares.
866
875
  #
867
876
  # @option params [Array<String>] :resource_share_invitation_arns
868
877
  # The Amazon Resource Names (ARN) of the invitations.
@@ -914,6 +923,7 @@ module Aws::RAM
914
923
  # resp.resource_share_invitations[0].resource_share_associations[0].creation_time #=> Time
915
924
  # resp.resource_share_invitations[0].resource_share_associations[0].last_updated_time #=> Time
916
925
  # resp.resource_share_invitations[0].resource_share_associations[0].external #=> Boolean
926
+ # resp.resource_share_invitations[0].receiver_arn #=> String
917
927
  # resp.next_token #=> String
918
928
  #
919
929
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations AWS API Documentation
@@ -929,7 +939,7 @@ module Aws::RAM
929
939
  # shared with you.
930
940
  #
931
941
  # @option params [Array<String>] :resource_share_arns
932
- # The Amazon Resource Names (ARN) of the resource shares.
942
+ # The ARNs of the resource shares.
933
943
  #
934
944
  # @option params [String] :resource_share_status
935
945
  # The status of the resource share.
@@ -951,6 +961,10 @@ module Aws::RAM
951
961
  # retrieve the remaining results, make another call with the returned
952
962
  # `nextToken` value.
953
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
+ #
954
968
  # @return [Types::GetResourceSharesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
955
969
  #
956
970
  # * {Types::GetResourceSharesResponse#resource_shares #resource_shares} => Array&lt;Types::ResourceShare&gt;
@@ -973,6 +987,7 @@ module Aws::RAM
973
987
  # ],
974
988
  # next_token: "String",
975
989
  # max_results: 1,
990
+ # permission_arn: "String",
976
991
  # })
977
992
  #
978
993
  # @example Response structure
@@ -1072,6 +1087,8 @@ module Aws::RAM
1072
1087
  # * {Types::ListPermissionsResponse#permissions #permissions} => Array&lt;Types::ResourceSharePermissionSummary&gt;
1073
1088
  # * {Types::ListPermissionsResponse#next_token #next_token} => String
1074
1089
  #
1090
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1091
+ #
1075
1092
  # @example Request syntax with placeholder values
1076
1093
  #
1077
1094
  # resp = client.list_permissions({
@@ -1091,6 +1108,7 @@ module Aws::RAM
1091
1108
  # resp.permissions[0].status #=> String
1092
1109
  # resp.permissions[0].creation_time #=> Time
1093
1110
  # resp.permissions[0].last_updated_time #=> Time
1111
+ # resp.permissions[0].is_resource_type_default #=> Boolean
1094
1112
  # resp.next_token #=> String
1095
1113
  #
1096
1114
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions AWS API Documentation
@@ -1117,12 +1135,20 @@ module Aws::RAM
1117
1135
  # @option params [String] :resource_type
1118
1136
  # The resource type.
1119
1137
  #
1120
- # Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
1121
- # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
1138
+ # Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
1139
+ # `codebuild:Project` \| `codebuild:ReportGroup` \|
1140
+ # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
1141
+ # `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
1122
1142
  # `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
1123
1143
  # `imagebuilder:Component` \| `imagebuilder:Image` \|
1124
- # `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration` I
1144
+ # `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
1145
+ # `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
1146
+ # `license-manager:LicenseConfiguration` I
1147
+ # `network-firewall:FirewallPolicy` \|
1148
+ # `network-firewall:StatefulRuleGroup` \|
1149
+ # `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
1125
1150
  # `resource-groups:Group` \| `rds:Cluster` \|
1151
+ # `route53resolver:ResolverQueryLogConfig` \|
1126
1152
  # `route53resolver:ResolverRule`
1127
1153
  #
1128
1154
  # @option params [Array<String>] :resource_share_arns
@@ -1193,6 +1219,8 @@ module Aws::RAM
1193
1219
  # * {Types::ListResourceSharePermissionsResponse#permissions #permissions} => Array&lt;Types::ResourceSharePermissionSummary&gt;
1194
1220
  # * {Types::ListResourceSharePermissionsResponse#next_token #next_token} => String
1195
1221
  #
1222
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1223
+ #
1196
1224
  # @example Request syntax with placeholder values
1197
1225
  #
1198
1226
  # resp = client.list_resource_share_permissions({
@@ -1212,6 +1240,7 @@ module Aws::RAM
1212
1240
  # resp.permissions[0].status #=> String
1213
1241
  # resp.permissions[0].creation_time #=> Time
1214
1242
  # resp.permissions[0].last_updated_time #=> Time
1243
+ # resp.permissions[0].is_resource_type_default #=> Boolean
1215
1244
  # resp.next_token #=> String
1216
1245
  #
1217
1246
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions AWS API Documentation
@@ -1238,6 +1267,8 @@ module Aws::RAM
1238
1267
  # * {Types::ListResourceTypesResponse#resource_types #resource_types} => Array&lt;Types::ServiceNameAndResourceType&gt;
1239
1268
  # * {Types::ListResourceTypesResponse#next_token #next_token} => String
1240
1269
  #
1270
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1271
+ #
1241
1272
  # @example Request syntax with placeholder values
1242
1273
  #
1243
1274
  # resp = client.list_resource_types({
@@ -1273,12 +1304,20 @@ module Aws::RAM
1273
1304
  # @option params [String] :resource_type
1274
1305
  # The resource type.
1275
1306
  #
1276
- # Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
1277
- # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
1307
+ # Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
1308
+ # `codebuild:Project` \| `codebuild:ReportGroup` \|
1309
+ # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
1310
+ # `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
1278
1311
  # `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
1279
1312
  # `imagebuilder:Component` \| `imagebuilder:Image` \|
1280
- # `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration` I
1313
+ # `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
1314
+ # `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
1315
+ # `license-manager:LicenseConfiguration` I
1316
+ # `network-firewall:FirewallPolicy` \|
1317
+ # `network-firewall:StatefulRuleGroup` \|
1318
+ # `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
1281
1319
  # `resource-groups:Group` \| `rds:Cluster` \|
1320
+ # `route53resolver:ResolverQueryLogConfig` \|
1282
1321
  # `route53resolver:ResolverRule`
1283
1322
  #
1284
1323
  # @option params [Array<String>] :resource_arns
@@ -1413,6 +1452,7 @@ module Aws::RAM
1413
1452
  # resp.resource_share_invitation.resource_share_associations[0].creation_time #=> Time
1414
1453
  # resp.resource_share_invitation.resource_share_associations[0].last_updated_time #=> Time
1415
1454
  # resp.resource_share_invitation.resource_share_associations[0].external #=> Boolean
1455
+ # resp.resource_share_invitation.receiver_arn #=> String
1416
1456
  # resp.client_token #=> String
1417
1457
  #
1418
1458
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation AWS API Documentation
@@ -1550,7 +1590,7 @@ module Aws::RAM
1550
1590
  params: params,
1551
1591
  config: config)
1552
1592
  context[:gem_name] = 'aws-sdk-ram'
1553
- context[:gem_version] = '1.24.0'
1593
+ context[:gem_version] = '1.28.0'
1554
1594
  Seahorse::Client::Request.new(handlers, context)
1555
1595
  end
1556
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)
@@ -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 permission to associate with the resource
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
@@ -133,7 +140,9 @@ module Aws::RAM
133
140
  # @return [Array<String>]
134
141
  #
135
142
  # @!attribute [rw] principals
136
- # The principals.
143
+ # The principals to associate with the resource share. The possible
144
+ # values are IDs of AWS accounts, and the ARNs of organizational units
145
+ # (OU) or organizations from AWS Organizations.
137
146
  # @return [Array<String>]
138
147
  #
139
148
  # @!attribute [rw] client_token
@@ -671,10 +680,11 @@ module Aws::RAM
671
680
  # ],
672
681
  # next_token: "String",
673
682
  # max_results: 1,
683
+ # permission_arn: "String",
674
684
  # }
675
685
  #
676
686
  # @!attribute [rw] resource_share_arns
677
- # The Amazon Resource Names (ARN) of the resource shares.
687
+ # The ARNs of the resource shares.
678
688
  # @return [Array<String>]
679
689
  #
680
690
  # @!attribute [rw] resource_share_status
@@ -703,6 +713,11 @@ module Aws::RAM
703
713
  # `nextToken` value.
704
714
  # @return [Integer]
705
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
+ #
706
721
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceSharesRequest AWS API Documentation
707
722
  #
708
723
  class GetResourceSharesRequest < Struct.new(
@@ -712,7 +727,8 @@ module Aws::RAM
712
727
  :name,
713
728
  :tag_filters,
714
729
  :next_token,
715
- :max_results)
730
+ :max_results,
731
+ :permission_arn)
716
732
  SENSITIVE = []
717
733
  include Aws::Structure
718
734
  end
@@ -960,12 +976,20 @@ module Aws::RAM
960
976
  # @!attribute [rw] resource_type
961
977
  # The resource type.
962
978
  #
963
- # Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
964
- # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
979
+ # Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
980
+ # `codebuild:Project` \| `codebuild:ReportGroup` \|
981
+ # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
982
+ # `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
965
983
  # `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
966
984
  # `imagebuilder:Component` \| `imagebuilder:Image` \|
967
- # `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
968
- # I `resource-groups:Group` \| `rds:Cluster` \|
985
+ # `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
986
+ # `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
987
+ # `license-manager:LicenseConfiguration` I
988
+ # `network-firewall:FirewallPolicy` \|
989
+ # `network-firewall:StatefulRuleGroup` \|
990
+ # `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
991
+ # `resource-groups:Group` \| `rds:Cluster` \|
992
+ # `route53resolver:ResolverQueryLogConfig` \|
969
993
  # `route53resolver:ResolverRule`
970
994
  # @return [String]
971
995
  #
@@ -1135,12 +1159,20 @@ module Aws::RAM
1135
1159
  # @!attribute [rw] resource_type
1136
1160
  # The resource type.
1137
1161
  #
1138
- # Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
1139
- # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
1162
+ # Valid values: `acm-pca:CertificateAuthority` \| `appmesh:Mesh` \|
1163
+ # `codebuild:Project` \| `codebuild:ReportGroup` \|
1164
+ # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \|
1165
+ # `ec2:LocalGatewayRouteTable` \| `ec2:PrefixList` \| `ec2:Subnet` \|
1140
1166
  # `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
1141
1167
  # `imagebuilder:Component` \| `imagebuilder:Image` \|
1142
- # `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
1143
- # I `resource-groups:Group` \| `rds:Cluster` \|
1168
+ # `imagebuilder:ImageRecipe` \| `imagebuilder:ContainerRecipe` \|
1169
+ # `glue:Catalog` \| `glue:Database` \| `glue:Table` \|
1170
+ # `license-manager:LicenseConfiguration` I
1171
+ # `network-firewall:FirewallPolicy` \|
1172
+ # `network-firewall:StatefulRuleGroup` \|
1173
+ # `network-firewall:StatelessRuleGroup` \| `outposts:Outpost` \|
1174
+ # `resource-groups:Group` \| `rds:Cluster` \|
1175
+ # `route53resolver:ResolverQueryLogConfig` \|
1144
1176
  # `route53resolver:ResolverRule`
1145
1177
  # @return [String]
1146
1178
  #
@@ -1577,6 +1609,11 @@ module Aws::RAM
1577
1609
  # [1]: https://docs.aws.amazon.com/ram/latest/APIReference/API_ListPendingInvitationResources.html
1578
1610
  # @return [Array<Types::ResourceShareAssociation>]
1579
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
+ #
1580
1617
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShareInvitation AWS API Documentation
1581
1618
  #
1582
1619
  class ResourceShareInvitation < Struct.new(
@@ -1587,7 +1624,8 @@ module Aws::RAM
1587
1624
  :receiver_account_id,
1588
1625
  :invitation_timestamp,
1589
1626
  :status,
1590
- :resource_share_associations)
1627
+ :resource_share_associations,
1628
+ :receiver_arn)
1591
1629
  SENSITIVE = []
1592
1630
  include Aws::Structure
1593
1631
  end
@@ -1668,8 +1706,8 @@ module Aws::RAM
1668
1706
  # @return [String]
1669
1707
  #
1670
1708
  # @!attribute [rw] default_version
1671
- # The identifier for the version of the permission that is set as the
1672
- # default version.
1709
+ # Specifies whether the version of the permission is set to the
1710
+ # default version for this permission.
1673
1711
  # @return [Boolean]
1674
1712
  #
1675
1713
  # @!attribute [rw] name
@@ -1695,6 +1733,11 @@ module Aws::RAM
1695
1733
  # The date and time when the permission was last updated.
1696
1734
  # @return [Time]
1697
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
+ #
1698
1741
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionDetail AWS API Documentation
1699
1742
  #
1700
1743
  class ResourceSharePermissionDetail < Struct.new(
@@ -1705,7 +1748,8 @@ module Aws::RAM
1705
1748
  :resource_type,
1706
1749
  :permission,
1707
1750
  :creation_time,
1708
- :last_updated_time)
1751
+ :last_updated_time,
1752
+ :is_resource_type_default)
1709
1753
  SENSITIVE = []
1710
1754
  include Aws::Structure
1711
1755
  end
@@ -1722,8 +1766,8 @@ module Aws::RAM
1722
1766
  # @return [String]
1723
1767
  #
1724
1768
  # @!attribute [rw] default_version
1725
- # The identifier for the version of the permission that is set as the
1726
- # default version.
1769
+ # Specifies whether the version of the permission is set to the
1770
+ # default version for this permission.
1727
1771
  # @return [Boolean]
1728
1772
  #
1729
1773
  # @!attribute [rw] name
@@ -1746,6 +1790,11 @@ module Aws::RAM
1746
1790
  # The date and time when the permission was last updated.
1747
1791
  # @return [Time]
1748
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
+ #
1749
1798
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionSummary AWS API Documentation
1750
1799
  #
1751
1800
  class ResourceSharePermissionSummary < Struct.new(
@@ -1756,7 +1805,8 @@ module Aws::RAM
1756
1805
  :resource_type,
1757
1806
  :status,
1758
1807
  :creation_time,
1759
- :last_updated_time)
1808
+ :last_updated_time,
1809
+ :is_resource_type_default)
1760
1810
  SENSITIVE = []
1761
1811
  include Aws::Structure
1762
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.24.0
4
+ version: 1.28.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-03-10 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.112.0
22
+ version: 3.119.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.112.0
32
+ version: 3.119.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ram
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-ram/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ram
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ram/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
@@ -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
- rubyforge_project:
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