aws-sdk-ram 1.14.0 → 1.19.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 +5 -5
- data/lib/aws-sdk-ram.rb +3 -1
- data/lib/aws-sdk-ram/client.rb +92 -27
- data/lib/aws-sdk-ram/client_api.rb +35 -0
- data/lib/aws-sdk-ram/errors.rb +2 -0
- data/lib/aws-sdk-ram/resource.rb +3 -7
- data/lib/aws-sdk-ram/types.rb +152 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 86fc035af29b1e124bc7a945587e550a266983810072912cef097dc144ccd7c7
|
4
|
+
data.tar.gz: 79ebd2a5096f672015a5b83b43f32d730b4379dbf08c28884225df9f38ed60db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7baa5d61c042e3e7c2dc1a54071b34477640886b2b36696ef2d9397f0d0eaf0fbd638d2820ab26d175bfc90891b8574785df317fd86e28050a37ffa07fa572d
|
7
|
+
data.tar.gz: e5231f075a169374cb9777899c459774eb6b9df26c1a577e687bcc14702ef7c4e9c3e9d9e081f642d52d5e3b7ec36d9682aad6c56204abdab45bf9d6829bf3d1
|
data/lib/aws-sdk-ram.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-ram/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::RAM
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.19.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-ram/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:ram)
|
|
32
35
|
module Aws::RAM
|
33
36
|
# An API client for RAM. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::RAM::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -69,6 +72,7 @@ module Aws::RAM
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -105,7 +109,7 @@ module Aws::RAM
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::RAM
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::RAM
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::RAM
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -265,8 +273,7 @@ module Aws::RAM
|
|
265
273
|
#
|
266
274
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
275
|
# 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}.
|
276
|
+
# safely be set per-request on the session.
|
270
277
|
#
|
271
278
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
279
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +285,7 @@ module Aws::RAM
|
|
278
285
|
# request body. This option has no effect unless the request has
|
279
286
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
287
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
288
|
+
# request on the session.
|
282
289
|
#
|
283
290
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
291
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -742,6 +749,8 @@ module Aws::RAM
|
|
742
749
|
# * {Types::GetResourcePoliciesResponse#policies #policies} => Array<String>
|
743
750
|
# * {Types::GetResourcePoliciesResponse#next_token #next_token} => String
|
744
751
|
#
|
752
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
753
|
+
#
|
745
754
|
# @example Request syntax with placeholder values
|
746
755
|
#
|
747
756
|
# resp = client.get_resource_policies({
|
@@ -801,6 +810,8 @@ module Aws::RAM
|
|
801
810
|
# * {Types::GetResourceShareAssociationsResponse#resource_share_associations #resource_share_associations} => Array<Types::ResourceShareAssociation>
|
802
811
|
# * {Types::GetResourceShareAssociationsResponse#next_token #next_token} => String
|
803
812
|
#
|
813
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
814
|
+
#
|
804
815
|
# @example Request syntax with placeholder values
|
805
816
|
#
|
806
817
|
# resp = client.get_resource_share_associations({
|
@@ -857,6 +868,8 @@ module Aws::RAM
|
|
857
868
|
# * {Types::GetResourceShareInvitationsResponse#resource_share_invitations #resource_share_invitations} => Array<Types::ResourceShareInvitation>
|
858
869
|
# * {Types::GetResourceShareInvitationsResponse#next_token #next_token} => String
|
859
870
|
#
|
871
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
872
|
+
#
|
860
873
|
# @example Request syntax with placeholder values
|
861
874
|
#
|
862
875
|
# resp = client.get_resource_share_invitations({
|
@@ -928,6 +941,8 @@ module Aws::RAM
|
|
928
941
|
# * {Types::GetResourceSharesResponse#resource_shares #resource_shares} => Array<Types::ResourceShare>
|
929
942
|
# * {Types::GetResourceSharesResponse#next_token #next_token} => String
|
930
943
|
#
|
944
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
945
|
+
#
|
931
946
|
# @example Request syntax with placeholder values
|
932
947
|
#
|
933
948
|
# resp = client.get_resource_shares({
|
@@ -990,6 +1005,8 @@ module Aws::RAM
|
|
990
1005
|
# * {Types::ListPendingInvitationResourcesResponse#resources #resources} => Array<Types::Resource>
|
991
1006
|
# * {Types::ListPendingInvitationResourcesResponse#next_token #next_token} => String
|
992
1007
|
#
|
1008
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1009
|
+
#
|
993
1010
|
# @example Request syntax with placeholder values
|
994
1011
|
#
|
995
1012
|
# resp = client.list_pending_invitation_resources({
|
@@ -1085,10 +1102,13 @@ module Aws::RAM
|
|
1085
1102
|
# @option params [String] :resource_type
|
1086
1103
|
# The resource type.
|
1087
1104
|
#
|
1088
|
-
# Valid values: `
|
1105
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1106
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
1089
1107
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1090
|
-
# `
|
1091
|
-
# `
|
1108
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1109
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration` I
|
1110
|
+
# `resource-groups:Group` \| `rds:Cluster` \|
|
1111
|
+
# `route53resolver:ResolverRule`
|
1092
1112
|
#
|
1093
1113
|
# @option params [Array<String>] :resource_share_arns
|
1094
1114
|
# The Amazon Resource Names (ARN) of the resource shares.
|
@@ -1106,6 +1126,8 @@ module Aws::RAM
|
|
1106
1126
|
# * {Types::ListPrincipalsResponse#principals #principals} => Array<Types::Principal>
|
1107
1127
|
# * {Types::ListPrincipalsResponse#next_token #next_token} => String
|
1108
1128
|
#
|
1129
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1130
|
+
#
|
1109
1131
|
# @example Request syntax with placeholder values
|
1110
1132
|
#
|
1111
1133
|
# resp = client.list_principals({
|
@@ -1186,6 +1208,44 @@ module Aws::RAM
|
|
1186
1208
|
req.send_request(options)
|
1187
1209
|
end
|
1188
1210
|
|
1211
|
+
# Lists the shareable resource types supported by AWS RAM.
|
1212
|
+
#
|
1213
|
+
# @option params [String] :next_token
|
1214
|
+
# The token for the next page of results.
|
1215
|
+
#
|
1216
|
+
# @option params [Integer] :max_results
|
1217
|
+
# The maximum number of results to return with a single call. To
|
1218
|
+
# retrieve the remaining results, make another call with the returned
|
1219
|
+
# `nextToken` value.
|
1220
|
+
#
|
1221
|
+
# @return [Types::ListResourceTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1222
|
+
#
|
1223
|
+
# * {Types::ListResourceTypesResponse#resource_types #resource_types} => Array<Types::ServiceNameAndResourceType>
|
1224
|
+
# * {Types::ListResourceTypesResponse#next_token #next_token} => String
|
1225
|
+
#
|
1226
|
+
# @example Request syntax with placeholder values
|
1227
|
+
#
|
1228
|
+
# resp = client.list_resource_types({
|
1229
|
+
# next_token: "String",
|
1230
|
+
# max_results: 1,
|
1231
|
+
# })
|
1232
|
+
#
|
1233
|
+
# @example Response structure
|
1234
|
+
#
|
1235
|
+
# resp.resource_types #=> Array
|
1236
|
+
# resp.resource_types[0].resource_type #=> String
|
1237
|
+
# resp.resource_types[0].service_name #=> String
|
1238
|
+
# resp.next_token #=> String
|
1239
|
+
#
|
1240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes AWS API Documentation
|
1241
|
+
#
|
1242
|
+
# @overload list_resource_types(params = {})
|
1243
|
+
# @param [Hash] params ({})
|
1244
|
+
def list_resource_types(params = {}, options = {})
|
1245
|
+
req = build_request(:list_resource_types, params)
|
1246
|
+
req.send_request(options)
|
1247
|
+
end
|
1248
|
+
|
1189
1249
|
# Lists the resources that you added to a resource shares or the
|
1190
1250
|
# resources that are shared with you.
|
1191
1251
|
#
|
@@ -1198,10 +1258,13 @@ module Aws::RAM
|
|
1198
1258
|
# @option params [String] :resource_type
|
1199
1259
|
# The resource type.
|
1200
1260
|
#
|
1201
|
-
# Valid values: `
|
1261
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1262
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
1202
1263
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1203
|
-
# `
|
1204
|
-
# `
|
1264
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1265
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration` I
|
1266
|
+
# `resource-groups:Group` \| `rds:Cluster` \|
|
1267
|
+
# `route53resolver:ResolverRule`
|
1205
1268
|
#
|
1206
1269
|
# @option params [Array<String>] :resource_arns
|
1207
1270
|
# The Amazon Resource Names (ARN) of the resources.
|
@@ -1222,6 +1285,8 @@ module Aws::RAM
|
|
1222
1285
|
# * {Types::ListResourcesResponse#resources #resources} => Array<Types::Resource>
|
1223
1286
|
# * {Types::ListResourcesResponse#next_token #next_token} => String
|
1224
1287
|
#
|
1288
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1289
|
+
#
|
1225
1290
|
# @example Request syntax with placeholder values
|
1226
1291
|
#
|
1227
1292
|
# resp = client.list_resources({
|
@@ -1470,7 +1535,7 @@ module Aws::RAM
|
|
1470
1535
|
params: params,
|
1471
1536
|
config: config)
|
1472
1537
|
context[:gem_name] = 'aws-sdk-ram'
|
1473
|
-
context[:gem_version] = '1.
|
1538
|
+
context[:gem_version] = '1.19.0'
|
1474
1539
|
Seahorse::Client::Request.new(handlers, context)
|
1475
1540
|
end
|
1476
1541
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -55,6 +57,8 @@ module Aws::RAM
|
|
55
57
|
ListPrincipalsResponse = Shapes::StructureShape.new(name: 'ListPrincipalsResponse')
|
56
58
|
ListResourceSharePermissionsRequest = Shapes::StructureShape.new(name: 'ListResourceSharePermissionsRequest')
|
57
59
|
ListResourceSharePermissionsResponse = Shapes::StructureShape.new(name: 'ListResourceSharePermissionsResponse')
|
60
|
+
ListResourceTypesRequest = Shapes::StructureShape.new(name: 'ListResourceTypesRequest')
|
61
|
+
ListResourceTypesResponse = Shapes::StructureShape.new(name: 'ListResourceTypesResponse')
|
58
62
|
ListResourcesRequest = Shapes::StructureShape.new(name: 'ListResourcesRequest')
|
59
63
|
ListResourcesResponse = Shapes::StructureShape.new(name: 'ListResourcesResponse')
|
60
64
|
MalformedArnException = Shapes::StructureShape.new(name: 'MalformedArnException')
|
@@ -99,6 +103,8 @@ module Aws::RAM
|
|
99
103
|
ResourceShareStatus = Shapes::StringShape.new(name: 'ResourceShareStatus')
|
100
104
|
ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
|
101
105
|
ServerInternalException = Shapes::StructureShape.new(name: 'ServerInternalException')
|
106
|
+
ServiceNameAndResourceType = Shapes::StructureShape.new(name: 'ServiceNameAndResourceType')
|
107
|
+
ServiceNameAndResourceTypeList = Shapes::ListShape.new(name: 'ServiceNameAndResourceTypeList')
|
102
108
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
103
109
|
String = Shapes::StringShape.new(name: 'String')
|
104
110
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -306,6 +312,14 @@ module Aws::RAM
|
|
306
312
|
ListResourceSharePermissionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
307
313
|
ListResourceSharePermissionsResponse.struct_class = Types::ListResourceSharePermissionsResponse
|
308
314
|
|
315
|
+
ListResourceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
316
|
+
ListResourceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
317
|
+
ListResourceTypesRequest.struct_class = Types::ListResourceTypesRequest
|
318
|
+
|
319
|
+
ListResourceTypesResponse.add_member(:resource_types, Shapes::ShapeRef.new(shape: ServiceNameAndResourceTypeList, location_name: "resourceTypes"))
|
320
|
+
ListResourceTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
321
|
+
ListResourceTypesResponse.struct_class = Types::ListResourceTypesResponse
|
322
|
+
|
309
323
|
ListResourcesRequest.add_member(:resource_owner, Shapes::ShapeRef.new(shape: ResourceOwner, required: true, location_name: "resourceOwner"))
|
310
324
|
ListResourcesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
311
325
|
ListResourcesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
@@ -457,6 +471,12 @@ module Aws::RAM
|
|
457
471
|
ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
458
472
|
ServerInternalException.struct_class = Types::ServerInternalException
|
459
473
|
|
474
|
+
ServiceNameAndResourceType.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
|
475
|
+
ServiceNameAndResourceType.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
|
476
|
+
ServiceNameAndResourceType.struct_class = Types::ServiceNameAndResourceType
|
477
|
+
|
478
|
+
ServiceNameAndResourceTypeList.member = Shapes::ShapeRef.new(shape: ServiceNameAndResourceType)
|
479
|
+
|
460
480
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
461
481
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
462
482
|
|
@@ -681,6 +701,7 @@ module Aws::RAM
|
|
681
701
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
682
702
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
683
703
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceArnNotFoundException)
|
684
705
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
685
706
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
686
707
|
o[:pager] = Aws::Pager.new(
|
@@ -721,6 +742,7 @@ module Aws::RAM
|
|
721
742
|
o.errors << Shapes::ShapeRef.new(shape: ResourceShareInvitationArnNotFoundException)
|
722
743
|
o.errors << Shapes::ShapeRef.new(shape: InvalidMaxResultsException)
|
723
744
|
o.errors << Shapes::ShapeRef.new(shape: MalformedArnException)
|
745
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
724
746
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
725
747
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
726
748
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
@@ -824,6 +846,18 @@ module Aws::RAM
|
|
824
846
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
|
825
847
|
end)
|
826
848
|
|
849
|
+
api.add_operation(:list_resource_types, Seahorse::Model::Operation.new.tap do |o|
|
850
|
+
o.name = "ListResourceTypes"
|
851
|
+
o.http_method = "POST"
|
852
|
+
o.http_request_uri = "/listresourcetypes"
|
853
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceTypesRequest)
|
854
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceTypesResponse)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
859
|
+
end)
|
860
|
+
|
827
861
|
api.add_operation(:list_resources, Seahorse::Model::Operation.new.tap do |o|
|
828
862
|
o.name = "ListResources"
|
829
863
|
o.http_method = "POST"
|
@@ -857,6 +891,7 @@ module Aws::RAM
|
|
857
891
|
o.errors << Shapes::ShapeRef.new(shape: MissingRequiredParameterException)
|
858
892
|
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
859
893
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
860
895
|
end)
|
861
896
|
|
862
897
|
api.add_operation(:reject_resource_share_invitation, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-ram/errors.rb
CHANGED
data/lib/aws-sdk-ram/resource.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
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)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
data/lib/aws-sdk-ram/types.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -30,6 +32,7 @@ module Aws::RAM
|
|
30
32
|
class AcceptResourceShareInvitationRequest < Struct.new(
|
31
33
|
:resource_share_invitation_arn,
|
32
34
|
:client_token)
|
35
|
+
SENSITIVE = []
|
33
36
|
include Aws::Structure
|
34
37
|
end
|
35
38
|
|
@@ -47,6 +50,7 @@ module Aws::RAM
|
|
47
50
|
class AcceptResourceShareInvitationResponse < Struct.new(
|
48
51
|
:resource_share_invitation,
|
49
52
|
:client_token)
|
53
|
+
SENSITIVE = []
|
50
54
|
include Aws::Structure
|
51
55
|
end
|
52
56
|
|
@@ -88,6 +92,7 @@ module Aws::RAM
|
|
88
92
|
:permission_arn,
|
89
93
|
:replace,
|
90
94
|
:client_token)
|
95
|
+
SENSITIVE = []
|
91
96
|
include Aws::Structure
|
92
97
|
end
|
93
98
|
|
@@ -105,6 +110,7 @@ module Aws::RAM
|
|
105
110
|
class AssociateResourceSharePermissionResponse < Struct.new(
|
106
111
|
:return_value,
|
107
112
|
:client_token)
|
113
|
+
SENSITIVE = []
|
108
114
|
include Aws::Structure
|
109
115
|
end
|
110
116
|
|
@@ -142,6 +148,7 @@ module Aws::RAM
|
|
142
148
|
:resource_arns,
|
143
149
|
:principals,
|
144
150
|
:client_token)
|
151
|
+
SENSITIVE = []
|
145
152
|
include Aws::Structure
|
146
153
|
end
|
147
154
|
|
@@ -159,6 +166,7 @@ module Aws::RAM
|
|
159
166
|
class AssociateResourceShareResponse < Struct.new(
|
160
167
|
:resource_share_associations,
|
161
168
|
:client_token)
|
169
|
+
SENSITIVE = []
|
162
170
|
include Aws::Structure
|
163
171
|
end
|
164
172
|
|
@@ -226,6 +234,7 @@ module Aws::RAM
|
|
226
234
|
:allow_external_principals,
|
227
235
|
:client_token,
|
228
236
|
:permission_arns)
|
237
|
+
SENSITIVE = []
|
229
238
|
include Aws::Structure
|
230
239
|
end
|
231
240
|
|
@@ -243,6 +252,7 @@ module Aws::RAM
|
|
243
252
|
class CreateResourceShareResponse < Struct.new(
|
244
253
|
:resource_share,
|
245
254
|
:client_token)
|
255
|
+
SENSITIVE = []
|
246
256
|
include Aws::Structure
|
247
257
|
end
|
248
258
|
|
@@ -268,6 +278,7 @@ module Aws::RAM
|
|
268
278
|
class DeleteResourceShareRequest < Struct.new(
|
269
279
|
:resource_share_arn,
|
270
280
|
:client_token)
|
281
|
+
SENSITIVE = []
|
271
282
|
include Aws::Structure
|
272
283
|
end
|
273
284
|
|
@@ -285,6 +296,7 @@ module Aws::RAM
|
|
285
296
|
class DeleteResourceShareResponse < Struct.new(
|
286
297
|
:return_value,
|
287
298
|
:client_token)
|
299
|
+
SENSITIVE = []
|
288
300
|
include Aws::Structure
|
289
301
|
end
|
290
302
|
|
@@ -316,6 +328,7 @@ module Aws::RAM
|
|
316
328
|
:resource_share_arn,
|
317
329
|
:permission_arn,
|
318
330
|
:client_token)
|
331
|
+
SENSITIVE = []
|
319
332
|
include Aws::Structure
|
320
333
|
end
|
321
334
|
|
@@ -333,6 +346,7 @@ module Aws::RAM
|
|
333
346
|
class DisassociateResourceSharePermissionResponse < Struct.new(
|
334
347
|
:return_value,
|
335
348
|
:client_token)
|
349
|
+
SENSITIVE = []
|
336
350
|
include Aws::Structure
|
337
351
|
end
|
338
352
|
|
@@ -370,6 +384,7 @@ module Aws::RAM
|
|
370
384
|
:resource_arns,
|
371
385
|
:principals,
|
372
386
|
:client_token)
|
387
|
+
SENSITIVE = []
|
373
388
|
include Aws::Structure
|
374
389
|
end
|
375
390
|
|
@@ -387,6 +402,7 @@ module Aws::RAM
|
|
387
402
|
class DisassociateResourceShareResponse < Struct.new(
|
388
403
|
:resource_share_associations,
|
389
404
|
:client_token)
|
405
|
+
SENSITIVE = []
|
390
406
|
include Aws::Structure
|
391
407
|
end
|
392
408
|
|
@@ -404,6 +420,7 @@ module Aws::RAM
|
|
404
420
|
#
|
405
421
|
class EnableSharingWithAwsOrganizationResponse < Struct.new(
|
406
422
|
:return_value)
|
423
|
+
SENSITIVE = []
|
407
424
|
include Aws::Structure
|
408
425
|
end
|
409
426
|
|
@@ -428,6 +445,7 @@ module Aws::RAM
|
|
428
445
|
class GetPermissionRequest < Struct.new(
|
429
446
|
:permission_arn,
|
430
447
|
:permission_version)
|
448
|
+
SENSITIVE = []
|
431
449
|
include Aws::Structure
|
432
450
|
end
|
433
451
|
|
@@ -439,6 +457,7 @@ module Aws::RAM
|
|
439
457
|
#
|
440
458
|
class GetPermissionResponse < Struct.new(
|
441
459
|
:permission)
|
460
|
+
SENSITIVE = []
|
442
461
|
include Aws::Structure
|
443
462
|
end
|
444
463
|
|
@@ -477,6 +496,7 @@ module Aws::RAM
|
|
477
496
|
:principal,
|
478
497
|
:next_token,
|
479
498
|
:max_results)
|
499
|
+
SENSITIVE = []
|
480
500
|
include Aws::Structure
|
481
501
|
end
|
482
502
|
|
@@ -494,6 +514,7 @@ module Aws::RAM
|
|
494
514
|
class GetResourcePoliciesResponse < Struct.new(
|
495
515
|
:policies,
|
496
516
|
:next_token)
|
517
|
+
SENSITIVE = []
|
497
518
|
include Aws::Structure
|
498
519
|
end
|
499
520
|
|
@@ -555,6 +576,7 @@ module Aws::RAM
|
|
555
576
|
:association_status,
|
556
577
|
:next_token,
|
557
578
|
:max_results)
|
579
|
+
SENSITIVE = []
|
558
580
|
include Aws::Structure
|
559
581
|
end
|
560
582
|
|
@@ -572,6 +594,7 @@ module Aws::RAM
|
|
572
594
|
class GetResourceShareAssociationsResponse < Struct.new(
|
573
595
|
:resource_share_associations,
|
574
596
|
:next_token)
|
597
|
+
SENSITIVE = []
|
575
598
|
include Aws::Structure
|
576
599
|
end
|
577
600
|
|
@@ -610,6 +633,7 @@ module Aws::RAM
|
|
610
633
|
:resource_share_arns,
|
611
634
|
:next_token,
|
612
635
|
:max_results)
|
636
|
+
SENSITIVE = []
|
613
637
|
include Aws::Structure
|
614
638
|
end
|
615
639
|
|
@@ -627,6 +651,7 @@ module Aws::RAM
|
|
627
651
|
class GetResourceShareInvitationsResponse < Struct.new(
|
628
652
|
:resource_share_invitations,
|
629
653
|
:next_token)
|
654
|
+
SENSITIVE = []
|
630
655
|
include Aws::Structure
|
631
656
|
end
|
632
657
|
|
@@ -688,6 +713,7 @@ module Aws::RAM
|
|
688
713
|
:tag_filters,
|
689
714
|
:next_token,
|
690
715
|
:max_results)
|
716
|
+
SENSITIVE = []
|
691
717
|
include Aws::Structure
|
692
718
|
end
|
693
719
|
|
@@ -705,6 +731,7 @@ module Aws::RAM
|
|
705
731
|
class GetResourceSharesResponse < Struct.new(
|
706
732
|
:resource_shares,
|
707
733
|
:next_token)
|
734
|
+
SENSITIVE = []
|
708
735
|
include Aws::Structure
|
709
736
|
end
|
710
737
|
|
@@ -719,6 +746,7 @@ module Aws::RAM
|
|
719
746
|
#
|
720
747
|
class IdempotentParameterMismatchException < Struct.new(
|
721
748
|
:message)
|
749
|
+
SENSITIVE = []
|
722
750
|
include Aws::Structure
|
723
751
|
end
|
724
752
|
|
@@ -731,6 +759,7 @@ module Aws::RAM
|
|
731
759
|
#
|
732
760
|
class InvalidClientTokenException < Struct.new(
|
733
761
|
:message)
|
762
|
+
SENSITIVE = []
|
734
763
|
include Aws::Structure
|
735
764
|
end
|
736
765
|
|
@@ -743,6 +772,7 @@ module Aws::RAM
|
|
743
772
|
#
|
744
773
|
class InvalidMaxResultsException < Struct.new(
|
745
774
|
:message)
|
775
|
+
SENSITIVE = []
|
746
776
|
include Aws::Structure
|
747
777
|
end
|
748
778
|
|
@@ -755,6 +785,7 @@ module Aws::RAM
|
|
755
785
|
#
|
756
786
|
class InvalidNextTokenException < Struct.new(
|
757
787
|
:message)
|
788
|
+
SENSITIVE = []
|
758
789
|
include Aws::Structure
|
759
790
|
end
|
760
791
|
|
@@ -767,6 +798,7 @@ module Aws::RAM
|
|
767
798
|
#
|
768
799
|
class InvalidParameterException < Struct.new(
|
769
800
|
:message)
|
801
|
+
SENSITIVE = []
|
770
802
|
include Aws::Structure
|
771
803
|
end
|
772
804
|
|
@@ -779,6 +811,7 @@ module Aws::RAM
|
|
779
811
|
#
|
780
812
|
class InvalidResourceTypeException < Struct.new(
|
781
813
|
:message)
|
814
|
+
SENSITIVE = []
|
782
815
|
include Aws::Structure
|
783
816
|
end
|
784
817
|
|
@@ -791,6 +824,7 @@ module Aws::RAM
|
|
791
824
|
#
|
792
825
|
class InvalidStateTransitionException < Struct.new(
|
793
826
|
:message)
|
827
|
+
SENSITIVE = []
|
794
828
|
include Aws::Structure
|
795
829
|
end
|
796
830
|
|
@@ -823,6 +857,7 @@ module Aws::RAM
|
|
823
857
|
:resource_share_invitation_arn,
|
824
858
|
:next_token,
|
825
859
|
:max_results)
|
860
|
+
SENSITIVE = []
|
826
861
|
include Aws::Structure
|
827
862
|
end
|
828
863
|
|
@@ -840,6 +875,7 @@ module Aws::RAM
|
|
840
875
|
class ListPendingInvitationResourcesResponse < Struct.new(
|
841
876
|
:resources,
|
842
877
|
:next_token)
|
878
|
+
SENSITIVE = []
|
843
879
|
include Aws::Structure
|
844
880
|
end
|
845
881
|
|
@@ -874,6 +910,7 @@ module Aws::RAM
|
|
874
910
|
:resource_type,
|
875
911
|
:next_token,
|
876
912
|
:max_results)
|
913
|
+
SENSITIVE = []
|
877
914
|
include Aws::Structure
|
878
915
|
end
|
879
916
|
|
@@ -891,6 +928,7 @@ module Aws::RAM
|
|
891
928
|
class ListPermissionsResponse < Struct.new(
|
892
929
|
:permissions,
|
893
930
|
:next_token)
|
931
|
+
SENSITIVE = []
|
894
932
|
include Aws::Structure
|
895
933
|
end
|
896
934
|
|
@@ -922,10 +960,13 @@ module Aws::RAM
|
|
922
960
|
# @!attribute [rw] resource_type
|
923
961
|
# The resource type.
|
924
962
|
#
|
925
|
-
# Valid values: `
|
963
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
964
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
926
965
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
927
|
-
# `
|
928
|
-
# `
|
966
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
967
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
|
968
|
+
# I `resource-groups:Group` \| `rds:Cluster` \|
|
969
|
+
# `route53resolver:ResolverRule`
|
929
970
|
# @return [String]
|
930
971
|
#
|
931
972
|
# @!attribute [rw] resource_share_arns
|
@@ -952,6 +993,7 @@ module Aws::RAM
|
|
952
993
|
:resource_share_arns,
|
953
994
|
:next_token,
|
954
995
|
:max_results)
|
996
|
+
SENSITIVE = []
|
955
997
|
include Aws::Structure
|
956
998
|
end
|
957
999
|
|
@@ -969,6 +1011,7 @@ module Aws::RAM
|
|
969
1011
|
class ListPrincipalsResponse < Struct.new(
|
970
1012
|
:principals,
|
971
1013
|
:next_token)
|
1014
|
+
SENSITIVE = []
|
972
1015
|
include Aws::Structure
|
973
1016
|
end
|
974
1017
|
|
@@ -1001,6 +1044,7 @@ module Aws::RAM
|
|
1001
1044
|
:resource_share_arn,
|
1002
1045
|
:next_token,
|
1003
1046
|
:max_results)
|
1047
|
+
SENSITIVE = []
|
1004
1048
|
include Aws::Structure
|
1005
1049
|
end
|
1006
1050
|
|
@@ -1018,6 +1062,52 @@ module Aws::RAM
|
|
1018
1062
|
class ListResourceSharePermissionsResponse < Struct.new(
|
1019
1063
|
:permissions,
|
1020
1064
|
:next_token)
|
1065
|
+
SENSITIVE = []
|
1066
|
+
include Aws::Structure
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# @note When making an API call, you may pass ListResourceTypesRequest
|
1070
|
+
# data as a hash:
|
1071
|
+
#
|
1072
|
+
# {
|
1073
|
+
# next_token: "String",
|
1074
|
+
# max_results: 1,
|
1075
|
+
# }
|
1076
|
+
#
|
1077
|
+
# @!attribute [rw] next_token
|
1078
|
+
# The token for the next page of results.
|
1079
|
+
# @return [String]
|
1080
|
+
#
|
1081
|
+
# @!attribute [rw] max_results
|
1082
|
+
# The maximum number of results to return with a single call. To
|
1083
|
+
# retrieve the remaining results, make another call with the returned
|
1084
|
+
# `nextToken` value.
|
1085
|
+
# @return [Integer]
|
1086
|
+
#
|
1087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypesRequest AWS API Documentation
|
1088
|
+
#
|
1089
|
+
class ListResourceTypesRequest < Struct.new(
|
1090
|
+
:next_token,
|
1091
|
+
:max_results)
|
1092
|
+
SENSITIVE = []
|
1093
|
+
include Aws::Structure
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# @!attribute [rw] resource_types
|
1097
|
+
# The shareable resource types supported by AWS RAM.
|
1098
|
+
# @return [Array<Types::ServiceNameAndResourceType>]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] next_token
|
1101
|
+
# The token to use to retrieve the next page of results. This value is
|
1102
|
+
# `null` when there are no more results to return.
|
1103
|
+
# @return [String]
|
1104
|
+
#
|
1105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypesResponse AWS API Documentation
|
1106
|
+
#
|
1107
|
+
class ListResourceTypesResponse < Struct.new(
|
1108
|
+
:resource_types,
|
1109
|
+
:next_token)
|
1110
|
+
SENSITIVE = []
|
1021
1111
|
include Aws::Structure
|
1022
1112
|
end
|
1023
1113
|
|
@@ -1045,10 +1135,13 @@ module Aws::RAM
|
|
1045
1135
|
# @!attribute [rw] resource_type
|
1046
1136
|
# The resource type.
|
1047
1137
|
#
|
1048
|
-
# Valid values: `
|
1138
|
+
# Valid values: `codebuild:Project` \| `codebuild:ReportGroup` \|
|
1139
|
+
# `ec2:CapacityReservation` \| `ec2:DedicatedHost` \| `ec2:Subnet` \|
|
1049
1140
|
# `ec2:TrafficMirrorTarget` \| `ec2:TransitGateway` \|
|
1050
|
-
# `
|
1051
|
-
# `
|
1141
|
+
# `imagebuilder:Component` \| `imagebuilder:Image` \|
|
1142
|
+
# `imagebuilder:ImageRecipe` \| `license-manager:LicenseConfiguration`
|
1143
|
+
# I `resource-groups:Group` \| `rds:Cluster` \|
|
1144
|
+
# `route53resolver:ResolverRule`
|
1052
1145
|
# @return [String]
|
1053
1146
|
#
|
1054
1147
|
# @!attribute [rw] resource_arns
|
@@ -1079,6 +1172,7 @@ module Aws::RAM
|
|
1079
1172
|
:resource_share_arns,
|
1080
1173
|
:next_token,
|
1081
1174
|
:max_results)
|
1175
|
+
SENSITIVE = []
|
1082
1176
|
include Aws::Structure
|
1083
1177
|
end
|
1084
1178
|
|
@@ -1096,6 +1190,7 @@ module Aws::RAM
|
|
1096
1190
|
class ListResourcesResponse < Struct.new(
|
1097
1191
|
:resources,
|
1098
1192
|
:next_token)
|
1193
|
+
SENSITIVE = []
|
1099
1194
|
include Aws::Structure
|
1100
1195
|
end
|
1101
1196
|
|
@@ -1108,6 +1203,7 @@ module Aws::RAM
|
|
1108
1203
|
#
|
1109
1204
|
class MalformedArnException < Struct.new(
|
1110
1205
|
:message)
|
1206
|
+
SENSITIVE = []
|
1111
1207
|
include Aws::Structure
|
1112
1208
|
end
|
1113
1209
|
|
@@ -1120,6 +1216,7 @@ module Aws::RAM
|
|
1120
1216
|
#
|
1121
1217
|
class MissingRequiredParameterException < Struct.new(
|
1122
1218
|
:message)
|
1219
|
+
SENSITIVE = []
|
1123
1220
|
include Aws::Structure
|
1124
1221
|
end
|
1125
1222
|
|
@@ -1132,6 +1229,7 @@ module Aws::RAM
|
|
1132
1229
|
#
|
1133
1230
|
class OperationNotPermittedException < Struct.new(
|
1134
1231
|
:message)
|
1232
|
+
SENSITIVE = []
|
1135
1233
|
include Aws::Structure
|
1136
1234
|
end
|
1137
1235
|
|
@@ -1166,6 +1264,7 @@ module Aws::RAM
|
|
1166
1264
|
:creation_time,
|
1167
1265
|
:last_updated_time,
|
1168
1266
|
:external)
|
1267
|
+
SENSITIVE = []
|
1169
1268
|
include Aws::Structure
|
1170
1269
|
end
|
1171
1270
|
|
@@ -1184,6 +1283,7 @@ module Aws::RAM
|
|
1184
1283
|
#
|
1185
1284
|
class PromoteResourceShareCreatedFromPolicyRequest < Struct.new(
|
1186
1285
|
:resource_share_arn)
|
1286
|
+
SENSITIVE = []
|
1187
1287
|
include Aws::Structure
|
1188
1288
|
end
|
1189
1289
|
|
@@ -1195,6 +1295,7 @@ module Aws::RAM
|
|
1195
1295
|
#
|
1196
1296
|
class PromoteResourceShareCreatedFromPolicyResponse < Struct.new(
|
1197
1297
|
:return_value)
|
1298
|
+
SENSITIVE = []
|
1198
1299
|
include Aws::Structure
|
1199
1300
|
end
|
1200
1301
|
|
@@ -1220,6 +1321,7 @@ module Aws::RAM
|
|
1220
1321
|
class RejectResourceShareInvitationRequest < Struct.new(
|
1221
1322
|
:resource_share_invitation_arn,
|
1222
1323
|
:client_token)
|
1324
|
+
SENSITIVE = []
|
1223
1325
|
include Aws::Structure
|
1224
1326
|
end
|
1225
1327
|
|
@@ -1237,6 +1339,7 @@ module Aws::RAM
|
|
1237
1339
|
class RejectResourceShareInvitationResponse < Struct.new(
|
1238
1340
|
:resource_share_invitation,
|
1239
1341
|
:client_token)
|
1342
|
+
SENSITIVE = []
|
1240
1343
|
include Aws::Structure
|
1241
1344
|
end
|
1242
1345
|
|
@@ -1286,6 +1389,7 @@ module Aws::RAM
|
|
1286
1389
|
:status_message,
|
1287
1390
|
:creation_time,
|
1288
1391
|
:last_updated_time)
|
1392
|
+
SENSITIVE = []
|
1289
1393
|
include Aws::Structure
|
1290
1394
|
end
|
1291
1395
|
|
@@ -1298,6 +1402,7 @@ module Aws::RAM
|
|
1298
1402
|
#
|
1299
1403
|
class ResourceArnNotFoundException < Struct.new(
|
1300
1404
|
:message)
|
1405
|
+
SENSITIVE = []
|
1301
1406
|
include Aws::Structure
|
1302
1407
|
end
|
1303
1408
|
|
@@ -1372,6 +1477,7 @@ module Aws::RAM
|
|
1372
1477
|
:creation_time,
|
1373
1478
|
:last_updated_time,
|
1374
1479
|
:feature_set)
|
1480
|
+
SENSITIVE = []
|
1375
1481
|
include Aws::Structure
|
1376
1482
|
end
|
1377
1483
|
|
@@ -1428,6 +1534,7 @@ module Aws::RAM
|
|
1428
1534
|
:creation_time,
|
1429
1535
|
:last_updated_time,
|
1430
1536
|
:external)
|
1537
|
+
SENSITIVE = []
|
1431
1538
|
include Aws::Structure
|
1432
1539
|
end
|
1433
1540
|
|
@@ -1481,6 +1588,7 @@ module Aws::RAM
|
|
1481
1588
|
:invitation_timestamp,
|
1482
1589
|
:status,
|
1483
1590
|
:resource_share_associations)
|
1591
|
+
SENSITIVE = []
|
1484
1592
|
include Aws::Structure
|
1485
1593
|
end
|
1486
1594
|
|
@@ -1493,6 +1601,7 @@ module Aws::RAM
|
|
1493
1601
|
#
|
1494
1602
|
class ResourceShareInvitationAlreadyAcceptedException < Struct.new(
|
1495
1603
|
:message)
|
1604
|
+
SENSITIVE = []
|
1496
1605
|
include Aws::Structure
|
1497
1606
|
end
|
1498
1607
|
|
@@ -1505,6 +1614,7 @@ module Aws::RAM
|
|
1505
1614
|
#
|
1506
1615
|
class ResourceShareInvitationAlreadyRejectedException < Struct.new(
|
1507
1616
|
:message)
|
1617
|
+
SENSITIVE = []
|
1508
1618
|
include Aws::Structure
|
1509
1619
|
end
|
1510
1620
|
|
@@ -1517,6 +1627,7 @@ module Aws::RAM
|
|
1517
1627
|
#
|
1518
1628
|
class ResourceShareInvitationArnNotFoundException < Struct.new(
|
1519
1629
|
:message)
|
1630
|
+
SENSITIVE = []
|
1520
1631
|
include Aws::Structure
|
1521
1632
|
end
|
1522
1633
|
|
@@ -1529,6 +1640,7 @@ module Aws::RAM
|
|
1529
1640
|
#
|
1530
1641
|
class ResourceShareInvitationExpiredException < Struct.new(
|
1531
1642
|
:message)
|
1643
|
+
SENSITIVE = []
|
1532
1644
|
include Aws::Structure
|
1533
1645
|
end
|
1534
1646
|
|
@@ -1541,6 +1653,7 @@ module Aws::RAM
|
|
1541
1653
|
#
|
1542
1654
|
class ResourceShareLimitExceededException < Struct.new(
|
1543
1655
|
:message)
|
1656
|
+
SENSITIVE = []
|
1544
1657
|
include Aws::Structure
|
1545
1658
|
end
|
1546
1659
|
|
@@ -1593,6 +1706,7 @@ module Aws::RAM
|
|
1593
1706
|
:permission,
|
1594
1707
|
:creation_time,
|
1595
1708
|
:last_updated_time)
|
1709
|
+
SENSITIVE = []
|
1596
1710
|
include Aws::Structure
|
1597
1711
|
end
|
1598
1712
|
|
@@ -1643,6 +1757,7 @@ module Aws::RAM
|
|
1643
1757
|
:status,
|
1644
1758
|
:creation_time,
|
1645
1759
|
:last_updated_time)
|
1760
|
+
SENSITIVE = []
|
1646
1761
|
include Aws::Structure
|
1647
1762
|
end
|
1648
1763
|
|
@@ -1656,6 +1771,27 @@ module Aws::RAM
|
|
1656
1771
|
#
|
1657
1772
|
class ServerInternalException < Struct.new(
|
1658
1773
|
:message)
|
1774
|
+
SENSITIVE = []
|
1775
|
+
include Aws::Structure
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
# Information about the shareable resource types and the AWS services to
|
1779
|
+
# which they belong.
|
1780
|
+
#
|
1781
|
+
# @!attribute [rw] resource_type
|
1782
|
+
# The shareable resource types.
|
1783
|
+
# @return [String]
|
1784
|
+
#
|
1785
|
+
# @!attribute [rw] service_name
|
1786
|
+
# The name of the AWS services to which the resources belong.
|
1787
|
+
# @return [String]
|
1788
|
+
#
|
1789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ServiceNameAndResourceType AWS API Documentation
|
1790
|
+
#
|
1791
|
+
class ServiceNameAndResourceType < Struct.new(
|
1792
|
+
:resource_type,
|
1793
|
+
:service_name)
|
1794
|
+
SENSITIVE = []
|
1659
1795
|
include Aws::Structure
|
1660
1796
|
end
|
1661
1797
|
|
@@ -1668,6 +1804,7 @@ module Aws::RAM
|
|
1668
1804
|
#
|
1669
1805
|
class ServiceUnavailableException < Struct.new(
|
1670
1806
|
:message)
|
1807
|
+
SENSITIVE = []
|
1671
1808
|
include Aws::Structure
|
1672
1809
|
end
|
1673
1810
|
|
@@ -1694,6 +1831,7 @@ module Aws::RAM
|
|
1694
1831
|
class Tag < Struct.new(
|
1695
1832
|
:key,
|
1696
1833
|
:value)
|
1834
|
+
SENSITIVE = []
|
1697
1835
|
include Aws::Structure
|
1698
1836
|
end
|
1699
1837
|
|
@@ -1720,6 +1858,7 @@ module Aws::RAM
|
|
1720
1858
|
class TagFilter < Struct.new(
|
1721
1859
|
:tag_key,
|
1722
1860
|
:tag_values)
|
1861
|
+
SENSITIVE = []
|
1723
1862
|
include Aws::Structure
|
1724
1863
|
end
|
1725
1864
|
|
@@ -1732,6 +1871,7 @@ module Aws::RAM
|
|
1732
1871
|
#
|
1733
1872
|
class TagLimitExceededException < Struct.new(
|
1734
1873
|
:message)
|
1874
|
+
SENSITIVE = []
|
1735
1875
|
include Aws::Structure
|
1736
1876
|
end
|
1737
1877
|
|
@@ -1744,6 +1884,7 @@ module Aws::RAM
|
|
1744
1884
|
#
|
1745
1885
|
class TagPolicyViolationException < Struct.new(
|
1746
1886
|
:message)
|
1887
|
+
SENSITIVE = []
|
1747
1888
|
include Aws::Structure
|
1748
1889
|
end
|
1749
1890
|
|
@@ -1773,6 +1914,7 @@ module Aws::RAM
|
|
1773
1914
|
class TagResourceRequest < Struct.new(
|
1774
1915
|
:resource_share_arn,
|
1775
1916
|
:tags)
|
1917
|
+
SENSITIVE = []
|
1776
1918
|
include Aws::Structure
|
1777
1919
|
end
|
1778
1920
|
|
@@ -1789,6 +1931,7 @@ module Aws::RAM
|
|
1789
1931
|
#
|
1790
1932
|
class UnknownResourceException < Struct.new(
|
1791
1933
|
:message)
|
1934
|
+
SENSITIVE = []
|
1792
1935
|
include Aws::Structure
|
1793
1936
|
end
|
1794
1937
|
|
@@ -1813,6 +1956,7 @@ module Aws::RAM
|
|
1813
1956
|
class UntagResourceRequest < Struct.new(
|
1814
1957
|
:resource_share_arn,
|
1815
1958
|
:tag_keys)
|
1959
|
+
SENSITIVE = []
|
1816
1960
|
include Aws::Structure
|
1817
1961
|
end
|
1818
1962
|
|
@@ -1855,6 +1999,7 @@ module Aws::RAM
|
|
1855
1999
|
:name,
|
1856
2000
|
:allow_external_principals,
|
1857
2001
|
:client_token)
|
2002
|
+
SENSITIVE = []
|
1858
2003
|
include Aws::Structure
|
1859
2004
|
end
|
1860
2005
|
|
@@ -1872,6 +2017,7 @@ module Aws::RAM
|
|
1872
2017
|
class UpdateResourceShareResponse < Struct.new(
|
1873
2018
|
:resource_share,
|
1874
2019
|
:client_token)
|
2020
|
+
SENSITIVE = []
|
1875
2021
|
include Aws::Structure
|
1876
2022
|
end
|
1877
2023
|
|
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.19.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-06-23 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.
|
22
|
+
version: 3.99.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.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|