aws-sdk-ram 1.12.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::RAM
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -50,6 +50,64 @@ module Aws::RAM
50
50
  include Aws::Structure
51
51
  end
52
52
 
53
+ # @note When making an API call, you may pass AssociateResourceSharePermissionRequest
54
+ # data as a hash:
55
+ #
56
+ # {
57
+ # resource_share_arn: "String", # required
58
+ # permission_arn: "String", # required
59
+ # replace: false,
60
+ # client_token: "String",
61
+ # }
62
+ #
63
+ # @!attribute [rw] resource_share_arn
64
+ # The Amazon Resource Name (ARN) of the resource share.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] permission_arn
68
+ # The ARN of the AWS RAM permission to associate with the resource
69
+ # share.
70
+ # @return [String]
71
+ #
72
+ # @!attribute [rw] replace
73
+ # Indicates whether the permission should replace the permissions that
74
+ # are currently associated with the resource share. Use `true` to
75
+ # replace the current permissions. Use `false` to add the permission
76
+ # to the current permission.
77
+ # @return [Boolean]
78
+ #
79
+ # @!attribute [rw] client_token
80
+ # A unique, case-sensitive identifier that you provide to ensure the
81
+ # idempotency of the request.
82
+ # @return [String]
83
+ #
84
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionRequest AWS API Documentation
85
+ #
86
+ class AssociateResourceSharePermissionRequest < Struct.new(
87
+ :resource_share_arn,
88
+ :permission_arn,
89
+ :replace,
90
+ :client_token)
91
+ include Aws::Structure
92
+ end
93
+
94
+ # @!attribute [rw] return_value
95
+ # Indicates whether the request succeeded.
96
+ # @return [Boolean]
97
+ #
98
+ # @!attribute [rw] client_token
99
+ # A unique, case-sensitive identifier that you provide to ensure the
100
+ # idempotency of the request.
101
+ # @return [String]
102
+ #
103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermissionResponse AWS API Documentation
104
+ #
105
+ class AssociateResourceSharePermissionResponse < Struct.new(
106
+ :return_value,
107
+ :client_token)
108
+ include Aws::Structure
109
+ end
110
+
53
111
  # @note When making an API call, you may pass AssociateResourceShareRequest
54
112
  # data as a hash:
55
113
  #
@@ -119,6 +177,7 @@ module Aws::RAM
119
177
  # ],
120
178
  # allow_external_principals: false,
121
179
  # client_token: "String",
180
+ # permission_arns: ["String"],
122
181
  # }
123
182
  #
124
183
  # @!attribute [rw] name
@@ -150,6 +209,13 @@ module Aws::RAM
150
209
  # idempotency of the request.
151
210
  # @return [String]
152
211
  #
212
+ # @!attribute [rw] permission_arns
213
+ # The ARNs of the permissions to associate with the resource share. If
214
+ # you do not specify an ARN for the permission, AWS RAM automatically
215
+ # attaches the default version of the permission for each resource
216
+ # type.
217
+ # @return [Array<String>]
218
+ #
153
219
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShareRequest AWS API Documentation
154
220
  #
155
221
  class CreateResourceShareRequest < Struct.new(
@@ -158,7 +224,8 @@ module Aws::RAM
158
224
  :principals,
159
225
  :tags,
160
226
  :allow_external_principals,
161
- :client_token)
227
+ :client_token,
228
+ :permission_arns)
162
229
  include Aws::Structure
163
230
  end
164
231
 
@@ -221,6 +288,54 @@ module Aws::RAM
221
288
  include Aws::Structure
222
289
  end
223
290
 
291
+ # @note When making an API call, you may pass DisassociateResourceSharePermissionRequest
292
+ # data as a hash:
293
+ #
294
+ # {
295
+ # resource_share_arn: "String", # required
296
+ # permission_arn: "String", # required
297
+ # client_token: "String",
298
+ # }
299
+ #
300
+ # @!attribute [rw] resource_share_arn
301
+ # The Amazon Resource Name (ARN) of the resource share.
302
+ # @return [String]
303
+ #
304
+ # @!attribute [rw] permission_arn
305
+ # The ARN of the permission to disassociate from the resource share.
306
+ # @return [String]
307
+ #
308
+ # @!attribute [rw] client_token
309
+ # A unique, case-sensitive identifier that you provide to ensure the
310
+ # idempotency of the request.
311
+ # @return [String]
312
+ #
313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermissionRequest AWS API Documentation
314
+ #
315
+ class DisassociateResourceSharePermissionRequest < Struct.new(
316
+ :resource_share_arn,
317
+ :permission_arn,
318
+ :client_token)
319
+ include Aws::Structure
320
+ end
321
+
322
+ # @!attribute [rw] return_value
323
+ # Indicates whether the request succeeded.
324
+ # @return [Boolean]
325
+ #
326
+ # @!attribute [rw] client_token
327
+ # A unique, case-sensitive identifier that you provide to ensure the
328
+ # idempotency of the request.
329
+ # @return [String]
330
+ #
331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermissionResponse AWS API Documentation
332
+ #
333
+ class DisassociateResourceSharePermissionResponse < Struct.new(
334
+ :return_value,
335
+ :client_token)
336
+ include Aws::Structure
337
+ end
338
+
224
339
  # @note When making an API call, you may pass DisassociateResourceShareRequest
225
340
  # data as a hash:
226
341
  #
@@ -236,7 +351,7 @@ module Aws::RAM
236
351
  # @return [String]
237
352
  #
238
353
  # @!attribute [rw] resource_arns
239
- # The Amazon Resource Names (ARN) of the resources.
354
+ # The Amazon Resource Names (ARNs) of the resources.
240
355
  # @return [Array<String>]
241
356
  #
242
357
  # @!attribute [rw] principals
@@ -292,6 +407,41 @@ module Aws::RAM
292
407
  include Aws::Structure
293
408
  end
294
409
 
410
+ # @note When making an API call, you may pass GetPermissionRequest
411
+ # data as a hash:
412
+ #
413
+ # {
414
+ # permission_arn: "String", # required
415
+ # permission_version: 1,
416
+ # }
417
+ #
418
+ # @!attribute [rw] permission_arn
419
+ # The ARN of the permission.
420
+ # @return [String]
421
+ #
422
+ # @!attribute [rw] permission_version
423
+ # The identifier for the version of the permission.
424
+ # @return [Integer]
425
+ #
426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermissionRequest AWS API Documentation
427
+ #
428
+ class GetPermissionRequest < Struct.new(
429
+ :permission_arn,
430
+ :permission_version)
431
+ include Aws::Structure
432
+ end
433
+
434
+ # @!attribute [rw] permission
435
+ # Information about the permission.
436
+ # @return [Types::ResourceSharePermissionDetail]
437
+ #
438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermissionResponse AWS API Documentation
439
+ #
440
+ class GetPermissionResponse < Struct.new(
441
+ :permission)
442
+ include Aws::Structure
443
+ end
444
+
295
445
  # @note When making an API call, you may pass GetResourcePoliciesRequest
296
446
  # data as a hash:
297
447
  #
@@ -361,7 +511,10 @@ module Aws::RAM
361
511
  # }
362
512
  #
363
513
  # @!attribute [rw] association_type
364
- # The association type.
514
+ # The association type. Specify `PRINCIPAL` to list the principals
515
+ # that are associated with the specified resource share. Specify
516
+ # `RESOURCE` to list the resources that are associated with the
517
+ # specified resource share.
365
518
  # @return [String]
366
519
  #
367
520
  # @!attribute [rw] resource_share_arns
@@ -690,6 +843,57 @@ module Aws::RAM
690
843
  include Aws::Structure
691
844
  end
692
845
 
846
+ # @note When making an API call, you may pass ListPermissionsRequest
847
+ # data as a hash:
848
+ #
849
+ # {
850
+ # resource_type: "String",
851
+ # next_token: "String",
852
+ # max_results: 1,
853
+ # }
854
+ #
855
+ # @!attribute [rw] resource_type
856
+ # Specifies the resource type for which to list permissions. For
857
+ # example, to list only permissions that apply to EC2 subnets, specify
858
+ # `ec2:Subnet`.
859
+ # @return [String]
860
+ #
861
+ # @!attribute [rw] next_token
862
+ # The token for the next page of results.
863
+ # @return [String]
864
+ #
865
+ # @!attribute [rw] max_results
866
+ # The maximum number of results to return with a single call. To
867
+ # retrieve the remaining results, make another call with the returned
868
+ # `nextToken` value.
869
+ # @return [Integer]
870
+ #
871
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionsRequest AWS API Documentation
872
+ #
873
+ class ListPermissionsRequest < Struct.new(
874
+ :resource_type,
875
+ :next_token,
876
+ :max_results)
877
+ include Aws::Structure
878
+ end
879
+
880
+ # @!attribute [rw] permissions
881
+ # Information about the permissions.
882
+ # @return [Array<Types::ResourceSharePermissionSummary>]
883
+ #
884
+ # @!attribute [rw] next_token
885
+ # The token to use to retrieve the next page of results. This value is
886
+ # `null` when there are no more results to return.
887
+ # @return [String]
888
+ #
889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionsResponse AWS API Documentation
890
+ #
891
+ class ListPermissionsResponse < Struct.new(
892
+ :permissions,
893
+ :next_token)
894
+ include Aws::Structure
895
+ end
896
+
693
897
  # @note When making an API call, you may pass ListPrincipalsRequest
694
898
  # data as a hash:
695
899
  #
@@ -718,8 +922,13 @@ module Aws::RAM
718
922
  # @!attribute [rw] resource_type
719
923
  # The resource type.
720
924
  #
721
- # Valid values: `route53resolver:ResolverRule` \| `ec2:TransitGateway`
722
- # \| `ec2:Subnet` \| `license-manager:LicenseConfiguration`
925
+ # Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
926
+ # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
927
+ # `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
928
+ # `imagebuilder:Component` \| `imagebuilder:Image` \|
929
+ # `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
930
+ # I `resource-groups:Group` \| `rds:Cluster` \|
931
+ # `route53resolver:ResolverRule`
723
932
  # @return [String]
724
933
  #
725
934
  # @!attribute [rw] resource_share_arns
@@ -766,6 +975,98 @@ module Aws::RAM
766
975
  include Aws::Structure
767
976
  end
768
977
 
978
+ # @note When making an API call, you may pass ListResourceSharePermissionsRequest
979
+ # data as a hash:
980
+ #
981
+ # {
982
+ # resource_share_arn: "String", # required
983
+ # next_token: "String",
984
+ # max_results: 1,
985
+ # }
986
+ #
987
+ # @!attribute [rw] resource_share_arn
988
+ # The Amazon Resource Name (ARN) of the resource share.
989
+ # @return [String]
990
+ #
991
+ # @!attribute [rw] next_token
992
+ # The token for the next page of results.
993
+ # @return [String]
994
+ #
995
+ # @!attribute [rw] max_results
996
+ # The maximum number of results to return with a single call. To
997
+ # retrieve the remaining results, make another call with the returned
998
+ # `nextToken` value.
999
+ # @return [Integer]
1000
+ #
1001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissionsRequest AWS API Documentation
1002
+ #
1003
+ class ListResourceSharePermissionsRequest < Struct.new(
1004
+ :resource_share_arn,
1005
+ :next_token,
1006
+ :max_results)
1007
+ include Aws::Structure
1008
+ end
1009
+
1010
+ # @!attribute [rw] permissions
1011
+ # The permissions associated with the resource share.
1012
+ # @return [Array<Types::ResourceSharePermissionSummary>]
1013
+ #
1014
+ # @!attribute [rw] next_token
1015
+ # The token to use to retrieve the next page of results. This value is
1016
+ # `null` when there are no more results to return.
1017
+ # @return [String]
1018
+ #
1019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissionsResponse AWS API Documentation
1020
+ #
1021
+ class ListResourceSharePermissionsResponse < Struct.new(
1022
+ :permissions,
1023
+ :next_token)
1024
+ include Aws::Structure
1025
+ end
1026
+
1027
+ # @note When making an API call, you may pass ListResourceTypesRequest
1028
+ # data as a hash:
1029
+ #
1030
+ # {
1031
+ # next_token: "String",
1032
+ # max_results: 1,
1033
+ # }
1034
+ #
1035
+ # @!attribute [rw] next_token
1036
+ # The token for the next page of results.
1037
+ # @return [String]
1038
+ #
1039
+ # @!attribute [rw] max_results
1040
+ # The maximum number of results to return with a single call. To
1041
+ # retrieve the remaining results, make another call with the returned
1042
+ # `nextToken` value.
1043
+ # @return [Integer]
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypesRequest AWS API Documentation
1046
+ #
1047
+ class ListResourceTypesRequest < Struct.new(
1048
+ :next_token,
1049
+ :max_results)
1050
+ include Aws::Structure
1051
+ end
1052
+
1053
+ # @!attribute [rw] resource_types
1054
+ # The shareable resource types supported by AWS RAM.
1055
+ # @return [Array<Types::ServiceNameAndResourceType>]
1056
+ #
1057
+ # @!attribute [rw] next_token
1058
+ # The token to use to retrieve the next page of results. This value is
1059
+ # `null` when there are no more results to return.
1060
+ # @return [String]
1061
+ #
1062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypesResponse AWS API Documentation
1063
+ #
1064
+ class ListResourceTypesResponse < Struct.new(
1065
+ :resource_types,
1066
+ :next_token)
1067
+ include Aws::Structure
1068
+ end
1069
+
769
1070
  # @note When making an API call, you may pass ListResourcesRequest
770
1071
  # data as a hash:
771
1072
  #
@@ -790,8 +1091,13 @@ module Aws::RAM
790
1091
  # @!attribute [rw] resource_type
791
1092
  # The resource type.
792
1093
  #
793
- # Valid values: `route53resolver:ResolverRule` \| `ec2:TransitGateway`
794
- # \| `ec2:Subnet` \| `license-manager:LicenseConfiguration`
1094
+ # Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
1095
+ # `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
1096
+ # `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
1097
+ # `imagebuilder:Component` \| `imagebuilder:Image` \|
1098
+ # `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
1099
+ # I `resource-groups:Group` \| `rds:Cluster` \|
1100
+ # `route53resolver:ResolverRule`
795
1101
  # @return [String]
796
1102
  #
797
1103
  # @!attribute [rw] resource_arns
@@ -912,6 +1218,35 @@ module Aws::RAM
912
1218
  include Aws::Structure
913
1219
  end
914
1220
 
1221
+ # @note When making an API call, you may pass PromoteResourceShareCreatedFromPolicyRequest
1222
+ # data as a hash:
1223
+ #
1224
+ # {
1225
+ # resource_share_arn: "String", # required
1226
+ # }
1227
+ #
1228
+ # @!attribute [rw] resource_share_arn
1229
+ # The ARN of the resource share to promote.
1230
+ # @return [String]
1231
+ #
1232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicyRequest AWS API Documentation
1233
+ #
1234
+ class PromoteResourceShareCreatedFromPolicyRequest < Struct.new(
1235
+ :resource_share_arn)
1236
+ include Aws::Structure
1237
+ end
1238
+
1239
+ # @!attribute [rw] return_value
1240
+ # Indicates whether the request succeeded.
1241
+ # @return [Boolean]
1242
+ #
1243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicyResponse AWS API Documentation
1244
+ #
1245
+ class PromoteResourceShareCreatedFromPolicyResponse < Struct.new(
1246
+ :return_value)
1247
+ include Aws::Structure
1248
+ end
1249
+
915
1250
  # @note When making an API call, you may pass RejectResourceShareInvitationRequest
916
1251
  # data as a hash:
917
1252
  #
@@ -968,6 +1303,11 @@ module Aws::RAM
968
1303
  # The Amazon Resource Name (ARN) of the resource share.
969
1304
  # @return [String]
970
1305
  #
1306
+ # @!attribute [rw] resource_group_arn
1307
+ # The ARN of the resource group. This value is returned only if the
1308
+ # resource is a resource group.
1309
+ # @return [String]
1310
+ #
971
1311
  # @!attribute [rw] status
972
1312
  # The status of the resource.
973
1313
  # @return [String]
@@ -990,6 +1330,7 @@ module Aws::RAM
990
1330
  :arn,
991
1331
  :type,
992
1332
  :resource_share_arn,
1333
+ :resource_group_arn,
993
1334
  :status,
994
1335
  :status_message,
995
1336
  :creation_time,
@@ -1048,6 +1389,25 @@ module Aws::RAM
1048
1389
  # The time when the resource share was last updated.
1049
1390
  # @return [Time]
1050
1391
  #
1392
+ # @!attribute [rw] feature_set
1393
+ # Indicates how the resource share was created. Possible values
1394
+ # include:
1395
+ #
1396
+ # * `CREATED_FROM_POLICY` - Indicates that the resource share was
1397
+ # created from an AWS Identity and Access Management (AWS IAM)
1398
+ # policy attached to a resource. These resource shares are visible
1399
+ # only to the AWS account that created it. They cannot be modified
1400
+ # in AWS RAM.
1401
+ #
1402
+ # * `PROMOTING_TO_STANDARD` - The resource share is in the process of
1403
+ # being promoted. For more information, see
1404
+ # PromoteResourceShareCreatedFromPolicy.
1405
+ #
1406
+ # * `STANDARD` - Indicates that the resource share was created in AWS
1407
+ # RAM using the console or APIs. These resource shares are visible
1408
+ # to all principals. They can be modified in AWS RAM.
1409
+ # @return [String]
1410
+ #
1051
1411
  # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceShare AWS API Documentation
1052
1412
  #
1053
1413
  class ResourceShare < Struct.new(
@@ -1059,7 +1419,8 @@ module Aws::RAM
1059
1419
  :status_message,
1060
1420
  :tags,
1061
1421
  :creation_time,
1062
- :last_updated_time)
1422
+ :last_updated_time,
1423
+ :feature_set)
1063
1424
  include Aws::Structure
1064
1425
  end
1065
1426
 
@@ -1151,7 +1512,7 @@ module Aws::RAM
1151
1512
  #
1152
1513
  # @!attribute [rw] resource_share_associations
1153
1514
  # To view the resources associated with a pending resource share
1154
- # invitation, use [ListPendingInvitationResources][1].
1515
+ # invitation, use [ ListPendingInvitationResources][1].
1155
1516
  #
1156
1517
  #
1157
1518
  #
@@ -1232,6 +1593,108 @@ module Aws::RAM
1232
1593
  include Aws::Structure
1233
1594
  end
1234
1595
 
1596
+ # Information about an AWS RAM permission.
1597
+ #
1598
+ # @!attribute [rw] arn
1599
+ # The ARN of the permission.
1600
+ # @return [String]
1601
+ #
1602
+ # @!attribute [rw] version
1603
+ # The identifier for the version of the permission.
1604
+ # @return [String]
1605
+ #
1606
+ # @!attribute [rw] default_version
1607
+ # The identifier for the version of the permission that is set as the
1608
+ # default version.
1609
+ # @return [Boolean]
1610
+ #
1611
+ # @!attribute [rw] name
1612
+ # The name of the permission.
1613
+ # @return [String]
1614
+ #
1615
+ # @!attribute [rw] resource_type
1616
+ # The resource type to which the permission applies.
1617
+ # @return [String]
1618
+ #
1619
+ # @!attribute [rw] permission
1620
+ # The permission's effect and actions in JSON format. The `effect`
1621
+ # indicates whether the actions are allowed or denied. The `actions`
1622
+ # list the API actions to which the principal is granted or denied
1623
+ # access.
1624
+ # @return [String]
1625
+ #
1626
+ # @!attribute [rw] creation_time
1627
+ # The date and time when the permission was created.
1628
+ # @return [Time]
1629
+ #
1630
+ # @!attribute [rw] last_updated_time
1631
+ # The date and time when the permission was last updated.
1632
+ # @return [Time]
1633
+ #
1634
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionDetail AWS API Documentation
1635
+ #
1636
+ class ResourceSharePermissionDetail < Struct.new(
1637
+ :arn,
1638
+ :version,
1639
+ :default_version,
1640
+ :name,
1641
+ :resource_type,
1642
+ :permission,
1643
+ :creation_time,
1644
+ :last_updated_time)
1645
+ include Aws::Structure
1646
+ end
1647
+
1648
+ # Information about a permission that is associated with a resource
1649
+ # share.
1650
+ #
1651
+ # @!attribute [rw] arn
1652
+ # The ARN of the permission.
1653
+ # @return [String]
1654
+ #
1655
+ # @!attribute [rw] version
1656
+ # The identifier for the version of the permission.
1657
+ # @return [String]
1658
+ #
1659
+ # @!attribute [rw] default_version
1660
+ # The identifier for the version of the permission that is set as the
1661
+ # default version.
1662
+ # @return [Boolean]
1663
+ #
1664
+ # @!attribute [rw] name
1665
+ # The name of the permission.
1666
+ # @return [String]
1667
+ #
1668
+ # @!attribute [rw] resource_type
1669
+ # The type of resource to which the permission applies.
1670
+ # @return [String]
1671
+ #
1672
+ # @!attribute [rw] status
1673
+ # The current status of the permission.
1674
+ # @return [String]
1675
+ #
1676
+ # @!attribute [rw] creation_time
1677
+ # The date and time when the permission was created.
1678
+ # @return [Time]
1679
+ #
1680
+ # @!attribute [rw] last_updated_time
1681
+ # The date and time when the permission was last updated.
1682
+ # @return [Time]
1683
+ #
1684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ResourceSharePermissionSummary AWS API Documentation
1685
+ #
1686
+ class ResourceSharePermissionSummary < Struct.new(
1687
+ :arn,
1688
+ :version,
1689
+ :default_version,
1690
+ :name,
1691
+ :resource_type,
1692
+ :status,
1693
+ :creation_time,
1694
+ :last_updated_time)
1695
+ include Aws::Structure
1696
+ end
1697
+
1235
1698
  # The service could not respond to the request due to an internal
1236
1699
  # problem.
1237
1700
  #
@@ -1245,6 +1708,25 @@ module Aws::RAM
1245
1708
  include Aws::Structure
1246
1709
  end
1247
1710
 
1711
+ # Information about the shareable resource types and the AWS services to
1712
+ # which they belong.
1713
+ #
1714
+ # @!attribute [rw] resource_type
1715
+ # The shareable resource types.
1716
+ # @return [String]
1717
+ #
1718
+ # @!attribute [rw] service_name
1719
+ # The name of the AWS services to which the resources belong.
1720
+ # @return [String]
1721
+ #
1722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ServiceNameAndResourceType AWS API Documentation
1723
+ #
1724
+ class ServiceNameAndResourceType < Struct.new(
1725
+ :resource_type,
1726
+ :service_name)
1727
+ include Aws::Structure
1728
+ end
1729
+
1248
1730
  # The service is not available.
1249
1731
  #
1250
1732
  # @!attribute [rw] message