aws-sdk-ram 1.14.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-ram/client.rb +85 -24
- data/lib/aws-sdk-ram/client_api.rb +33 -0
- data/lib/aws-sdk-ram/resource.rb +1 -7
- data/lib/aws-sdk-ram/types.rb +74 -6
- data/lib/aws-sdk-ram.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2b323f0ec352598c9cdc38189bd79ed6dd2c4ec4174276435753d5e67a5758b0
|
4
|
+
data.tar.gz: e9d67296d6aaba5b57784e0ea1cb0d31648aa4633851f7a3562cab1813fc0a18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc034047d0d2e356397b16aaafbcd8f44ede4b3d296d7e51af07408431fa330e3d249fe792750a9558d2540b518009246649b18ff0a72f5ddbcb6f2c5b969ba1
|
7
|
+
data.tar.gz: 89bb43ad1bcdfc26bdaf115f35e7e12de8f326eda2471e6928df3500cc4c9a3e5ec5904fd2301b5a1089579cdf7994925582dc689d41104c73c2ed73fa4c596f
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ram)
|
|
32
32
|
module Aws::RAM
|
33
33
|
# An API client for RAM. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::RAM::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -229,15 +229,19 @@ module Aws::RAM
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::RAM
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::RAM
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -742,6 +745,8 @@ module Aws::RAM
|
|
742
745
|
# * {Types::GetResourcePoliciesResponse#policies #policies} => Array<String>
|
743
746
|
# * {Types::GetResourcePoliciesResponse#next_token #next_token} => String
|
744
747
|
#
|
748
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
749
|
+
#
|
745
750
|
# @example Request syntax with placeholder values
|
746
751
|
#
|
747
752
|
# resp = client.get_resource_policies({
|
@@ -801,6 +806,8 @@ module Aws::RAM
|
|
801
806
|
# * {Types::GetResourceShareAssociationsResponse#resource_share_associations #resource_share_associations} => Array<Types::ResourceShareAssociation>
|
802
807
|
# * {Types::GetResourceShareAssociationsResponse#next_token #next_token} => String
|
803
808
|
#
|
809
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
810
|
+
#
|
804
811
|
# @example Request syntax with placeholder values
|
805
812
|
#
|
806
813
|
# resp = client.get_resource_share_associations({
|
@@ -857,6 +864,8 @@ module Aws::RAM
|
|
857
864
|
# * {Types::GetResourceShareInvitationsResponse#resource_share_invitations #resource_share_invitations} => Array<Types::ResourceShareInvitation>
|
858
865
|
# * {Types::GetResourceShareInvitationsResponse#next_token #next_token} => String
|
859
866
|
#
|
867
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
868
|
+
#
|
860
869
|
# @example Request syntax with placeholder values
|
861
870
|
#
|
862
871
|
# resp = client.get_resource_share_invitations({
|
@@ -928,6 +937,8 @@ module Aws::RAM
|
|
928
937
|
# * {Types::GetResourceSharesResponse#resource_shares #resource_shares} => Array<Types::ResourceShare>
|
929
938
|
# * {Types::GetResourceSharesResponse#next_token #next_token} => String
|
930
939
|
#
|
940
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
941
|
+
#
|
931
942
|
# @example Request syntax with placeholder values
|
932
943
|
#
|
933
944
|
# resp = client.get_resource_shares({
|
@@ -990,6 +1001,8 @@ module Aws::RAM
|
|
990
1001
|
# * {Types::ListPendingInvitationResourcesResponse#resources #resources} => Array<Types::Resource>
|
991
1002
|
# * {Types::ListPendingInvitationResourcesResponse#next_token #next_token} => String
|
992
1003
|
#
|
1004
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1005
|
+
#
|
993
1006
|
# @example Request syntax with placeholder values
|
994
1007
|
#
|
995
1008
|
# resp = client.list_pending_invitation_resources({
|
@@ -1085,10 +1098,13 @@ module Aws::RAM
|
|
1085
1098
|
# @option params [String] :resource_type
|
1086
1099
|
# The resource type.
|
1087
1100
|
#
|
1088
|
-
# Valid values: `
|
1101
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1102
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
1089
1103
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1090
|
-
# `
|
1091
|
-
# `
|
1104
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1105
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration` I
|
1106
|
+
# `resource-groups:Group` \| `rds:Cluster` \|
|
1107
|
+
# `route53resolver:ResolverRule`
|
1092
1108
|
#
|
1093
1109
|
# @option params [Array<String>] :resource_share_arns
|
1094
1110
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -1106,6 +1122,8 @@ module Aws::RAM
|
|
1106
1122
|
# * {Types::ListPrincipalsResponse#principals #principals} => Array<Types::Principal>
|
1107
1123
|
# * {Types::ListPrincipalsResponse#next_token #next_token} => String
|
1108
1124
|
#
|
1125
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1126
|
+
#
|
1109
1127
|
# @example Request syntax with placeholder values
|
1110
1128
|
#
|
1111
1129
|
# resp = client.list_principals({
|
@@ -1186,6 +1204,44 @@ module Aws::RAM
|
|
1186
1204
|
req.send_request(options)
|
1187
1205
|
end
|
1188
1206
|
|
1207
|
+
# Lists the shareable resource types supported by AWS RAM.
|
1208
|
+
#
|
1209
|
+
# @option params [String] :next_token
|
1210
|
+
# The token for the next page of results.
|
1211
|
+
#
|
1212
|
+
# @option params [Integer] :max_results
|
1213
|
+
# The maximum number of results to return with a single call. To
|
1214
|
+
# retrieve the remaining results, make another call with the returned
|
1215
|
+
# `nextToken` value.
|
1216
|
+
#
|
1217
|
+
# @return [Types::ListResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1218
|
+
#
|
1219
|
+
# * {Types::ListResourceTypesResponse#resource_types #resource_types} => Array<Types::ServiceNameAndResourceType>
|
1220
|
+
# * {Types::ListResourceTypesResponse#next_token #next_token} => String
|
1221
|
+
#
|
1222
|
+
# @example Request syntax with placeholder values
|
1223
|
+
#
|
1224
|
+
# resp = client.list_resource_types({
|
1225
|
+
# next_token: "String",
|
1226
|
+
# max_results: 1,
|
1227
|
+
# })
|
1228
|
+
#
|
1229
|
+
# @example Response structure
|
1230
|
+
#
|
1231
|
+
# resp.resource_types #=> Array
|
1232
|
+
# resp.resource_types[0].resource_type #=> String
|
1233
|
+
# resp.resource_types[0].service_name #=> String
|
1234
|
+
# resp.next_token #=> String
|
1235
|
+
#
|
1236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes AWS API Documentation
|
1237
|
+
#
|
1238
|
+
# @overload list_resource_types(params = {})
|
1239
|
+
# @param [Hash] params ({})
|
1240
|
+
def list_resource_types(params = {}, options = {})
|
1241
|
+
req = build_request(:list_resource_types, params)
|
1242
|
+
req.send_request(options)
|
1243
|
+
end
|
1244
|
+
|
1189
1245
|
# Lists the resources that you added to a resource shares or the
|
1190
1246
|
# resources that are shared with you.
|
1191
1247
|
#
|
@@ -1198,10 +1254,13 @@ module Aws::RAM
|
|
1198
1254
|
# @option params [String] :resource_type
|
1199
1255
|
# The resource type.
|
1200
1256
|
#
|
1201
|
-
# Valid values: `
|
1257
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1258
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
1202
1259
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1203
|
-
# `
|
1204
|
-
# `
|
1260
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1261
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration` I
|
1262
|
+
# `resource-groups:Group` \| `rds:Cluster` \|
|
1263
|
+
# `route53resolver:ResolverRule`
|
1205
1264
|
#
|
1206
1265
|
# @option params [Array<String>] :resource_arns
|
1207
1266
|
# The Amazon Resource Names (ARN) of the resources.
|
@@ -1222,6 +1281,8 @@ module Aws::RAM
|
|
1222
1281
|
# * {Types::ListResourcesResponse#resources #resources} => Array<Types::Resource>
|
1223
1282
|
# * {Types::ListResourcesResponse#next_token #next_token} => String
|
1224
1283
|
#
|
1284
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1285
|
+
#
|
1225
1286
|
# @example Request syntax with placeholder values
|
1226
1287
|
#
|
1227
1288
|
# resp = client.list_resources({
|
@@ -1470,7 +1531,7 @@ module Aws::RAM
|
|
1470
1531
|
params: params,
|
1471
1532
|
config: config)
|
1472
1533
|
context[:gem_name] = 'aws-sdk-ram'
|
1473
|
-
context[:gem_version] = '1.
|
1534
|
+
context[:gem_version] = '1.15.0'
|
1474
1535
|
Seahorse::Client::Request.new(handlers, context)
|
1475
1536
|
end
|
1476
1537
|
|
@@ -55,6 +55,8 @@ module Aws::RAM
|
|
55
55
|
ListPrincipalsResponse = Shapes::StructureShape.new(name: 'ListPrincipalsResponse')
|
56
56
|
ListResourceSharePermissionsRequest = Shapes::StructureShape.new(name: 'ListResourceSharePermissionsRequest')
|
57
57
|
ListResourceSharePermissionsResponse = Shapes::StructureShape.new(name: 'ListResourceSharePermissionsResponse')
|
58
|
+
ListResourceTypesRequest = Shapes::StructureShape.new(name: 'ListResourceTypesRequest')
|
59
|
+
ListResourceTypesResponse = Shapes::StructureShape.new(name: 'ListResourceTypesResponse')
|
58
60
|
ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
|
59
61
|
ListResourcesResponse = Shapes::StructureShape.new(name: 'ListResourcesResponse')
|
60
62
|
MalformedArnException = Shapes::StructureShape.new(name: 'MalformedArnException')
|
@@ -99,6 +101,8 @@ module Aws::RAM
|
|
99
101
|
ResourceShareStatus = Shapes::StringShape.new(name: 'ResourceShareStatus')
|
100
102
|
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
101
103
|
ServerInternalException = Shapes::StructureShape.new(name: 'ServerInternalException')
|
104
|
+
ServiceNameAndResourceType = Shapes::StructureShape.new(name: 'ServiceNameAndResourceType')
|
105
|
+
ServiceNameAndResourceTypeList = Shapes::ListShape.new(name: 'ServiceNameAndResourceTypeList')
|
102
106
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
103
107
|
String = Shapes::StringShape.new(name: 'String')
|
104
108
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -306,6 +310,14 @@ module Aws::RAM
|
|
306
310
|
ListResourceSharePermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
307
311
|
ListResourceSharePermissionsResponse.struct_class = Types::ListResourceSharePermissionsResponse
|
308
312
|
|
313
|
+
ListResourceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
314
|
+
ListResourceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
315
|
+
ListResourceTypesRequest.struct_class = Types::ListResourceTypesRequest
|
316
|
+
|
317
|
+
ListResourceTypesResponse.add_member(:resource_types, Shapes::ShapeRef.new(shape: ServiceNameAndResourceTypeList, location_name: "resourceTypes"))
|
318
|
+
ListResourceTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
319
|
+
ListResourceTypesResponse.struct_class = Types::ListResourceTypesResponse
|
320
|
+
|
309
321
|
ListResourcesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
310
322
|
ListResourcesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
311
323
|
ListResourcesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
@@ -457,6 +469,12 @@ module Aws::RAM
|
|
457
469
|
ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
458
470
|
ServerInternalException.struct_class = Types::ServerInternalException
|
459
471
|
|
472
|
+
ServiceNameAndResourceType.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
473
|
+
ServiceNameAndResourceType.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
474
|
+
ServiceNameAndResourceType.struct_class = Types::ServiceNameAndResourceType
|
475
|
+
|
476
|
+
ServiceNameAndResourceTypeList.member = Shapes::ShapeRef.new(shape: ServiceNameAndResourceType)
|
477
|
+
|
460
478
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
461
479
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
462
480
|
|
@@ -681,6 +699,7 @@ module Aws::RAM
|
|
681
699
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
682
700
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
683
701
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
702
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceArnNotFoundException)
|
684
703
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
685
704
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
686
705
|
o[:pager] = Aws::Pager.new(
|
@@ -721,6 +740,7 @@ module Aws::RAM
|
|
721
740
|
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationArnNotFoundException)
|
722
741
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
723
742
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
743
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
724
744
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
725
745
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
726
746
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
@@ -824,6 +844,18 @@ module Aws::RAM
|
|
824
844
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
825
845
|
end)
|
826
846
|
|
847
|
+
api.add_operation(:list_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
848
|
+
o.name = "ListResourceTypes"
|
849
|
+
o.http_method = "POST"
|
850
|
+
o.http_request_uri = "/listresourcetypes"
|
851
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceTypesRequest)
|
852
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceTypesResponse)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
857
|
+
end)
|
858
|
+
|
827
859
|
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
828
860
|
o.name = "ListResources"
|
829
861
|
o.http_method = "POST"
|
@@ -857,6 +889,7 @@ module Aws::RAM
|
|
857
889
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
858
890
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
859
891
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
892
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
860
893
|
end)
|
861
894
|
|
862
895
|
api.add_operation(:reject_resource_share_invitation, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ram/resource.rb
CHANGED
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::RAM
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::RAM::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::RAM::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::RAM::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -922,10 +922,13 @@ module Aws::RAM
|
|
922
922
|
# @!attribute [rw] resource_type
|
923
923
|
# The resource type.
|
924
924
|
#
|
925
|
-
# Valid values: `
|
925
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
926
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
926
927
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
927
|
-
# `
|
928
|
-
# `
|
928
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
929
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
|
930
|
+
# I `resource-groups:Group` \| `rds:Cluster` \|
|
931
|
+
# `route53resolver:ResolverRule`
|
929
932
|
# @return [String]
|
930
933
|
#
|
931
934
|
# @!attribute [rw] resource_share_arns
|
@@ -1021,6 +1024,49 @@ module Aws::RAM
|
|
1021
1024
|
include Aws::Structure
|
1022
1025
|
end
|
1023
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
|
+
|
1024
1070
|
# @note When making an API call, you may pass ListResourcesRequest
|
1025
1071
|
# data as a hash:
|
1026
1072
|
#
|
@@ -1045,10 +1091,13 @@ module Aws::RAM
|
|
1045
1091
|
# @!attribute [rw] resource_type
|
1046
1092
|
# The resource type.
|
1047
1093
|
#
|
1048
|
-
# Valid values: `
|
1094
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1095
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
1049
1096
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1050
|
-
# `
|
1051
|
-
# `
|
1097
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1098
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
|
1099
|
+
# I `resource-groups:Group` \| `rds:Cluster` \|
|
1100
|
+
# `route53resolver:ResolverRule`
|
1052
1101
|
# @return [String]
|
1053
1102
|
#
|
1054
1103
|
# @!attribute [rw] resource_arns
|
@@ -1659,6 +1708,25 @@ module Aws::RAM
|
|
1659
1708
|
include Aws::Structure
|
1660
1709
|
end
|
1661
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
|
+
|
1662
1730
|
# The service is not available.
|
1663
1731
|
#
|
1664
1732
|
# @!attribute [rw] message
|
data/lib/aws-sdk-ram.rb
CHANGED
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.15.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: 2020-
|
11
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - RAM
|