aws-sdk-ram 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,6 +80,8 @@ module Aws::RAM
80
80
  ResourceArnNotFoundException = Shapes::StructureShape.new(name: 'ResourceArnNotFoundException')
81
81
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
82
82
  ResourceOwner = Shapes::StringShape.new(name: 'ResourceOwner')
83
+ ResourceRegionScope = Shapes::StringShape.new(name: 'ResourceRegionScope')
84
+ ResourceRegionScopeFilter = Shapes::StringShape.new(name: 'ResourceRegionScopeFilter')
83
85
  ResourceShare = Shapes::StructureShape.new(name: 'ResourceShare')
84
86
  ResourceShareArnList = Shapes::ListShape.new(name: 'ResourceShareArnList')
85
87
  ResourceShareAssociation = Shapes::StructureShape.new(name: 'ResourceShareAssociation')
@@ -119,6 +121,7 @@ module Aws::RAM
119
121
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
120
122
  TagValue = Shapes::StringShape.new(name: 'TagValue')
121
123
  TagValueList = Shapes::ListShape.new(name: 'TagValueList')
124
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
122
125
  UnknownResourceException = Shapes::StructureShape.new(name: 'UnknownResourceException')
123
126
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
124
127
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -277,6 +280,7 @@ module Aws::RAM
277
280
  ListPendingInvitationResourcesRequest.add_member(:resource_share_invitation_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceShareInvitationArn"))
278
281
  ListPendingInvitationResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
279
282
  ListPendingInvitationResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
283
+ ListPendingInvitationResourcesRequest.add_member(:resource_region_scope, Shapes::ShapeRef.new(shape: ResourceRegionScopeFilter, location_name: "resourceRegionScope"))
280
284
  ListPendingInvitationResourcesRequest.struct_class = Types::ListPendingInvitationResourcesRequest
281
285
 
282
286
  ListPendingInvitationResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
@@ -316,6 +320,7 @@ module Aws::RAM
316
320
 
317
321
  ListResourceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
318
322
  ListResourceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
323
+ ListResourceTypesRequest.add_member(:resource_region_scope, Shapes::ShapeRef.new(shape: ResourceRegionScopeFilter, location_name: "resourceRegionScope"))
319
324
  ListResourceTypesRequest.struct_class = Types::ListResourceTypesRequest
320
325
 
321
326
  ListResourceTypesResponse.add_member(:resource_types, Shapes::ShapeRef.new(shape: ServiceNameAndResourceTypeList, location_name: "resourceTypes"))
@@ -329,6 +334,7 @@ module Aws::RAM
329
334
  ListResourcesRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: ResourceShareArnList, location_name: "resourceShareArns"))
330
335
  ListResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
331
336
  ListResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
337
+ ListResourcesRequest.add_member(:resource_region_scope, Shapes::ShapeRef.new(shape: ResourceRegionScopeFilter, location_name: "resourceRegionScope"))
332
338
  ListResourcesRequest.struct_class = Types::ListResourcesRequest
333
339
 
334
340
  ListResourcesResponse.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "resources"))
@@ -381,6 +387,7 @@ module Aws::RAM
381
387
  Resource.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
382
388
  Resource.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
383
389
  Resource.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastUpdatedTime"))
390
+ Resource.add_member(:resource_region_scope, Shapes::ShapeRef.new(shape: ResourceRegionScope, location_name: "resourceRegionScope"))
384
391
  Resource.struct_class = Types::Resource
385
392
 
386
393
  ResourceArnList.member = Shapes::ShapeRef.new(shape: String)
@@ -478,6 +485,7 @@ module Aws::RAM
478
485
 
479
486
  ServiceNameAndResourceType.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
480
487
  ServiceNameAndResourceType.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
488
+ ServiceNameAndResourceType.add_member(:resource_region_scope, Shapes::ShapeRef.new(shape: ResourceRegionScope, location_name: "resourceRegionScope"))
481
489
  ServiceNameAndResourceType.struct_class = Types::ServiceNameAndResourceType
482
490
 
483
491
  ServiceNameAndResourceTypeList.member = Shapes::ShapeRef.new(shape: ServiceNameAndResourceType)
@@ -513,6 +521,9 @@ module Aws::RAM
513
521
 
514
522
  TagValueList.member = Shapes::ShapeRef.new(shape: TagValue)
515
523
 
524
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
525
+ ThrottlingException.struct_class = Types::ThrottlingException
526
+
516
527
  UnknownResourceException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
517
528
  UnknownResourceException.struct_class = Types::UnknownResourceException
518
529
 
@@ -586,6 +597,7 @@ module Aws::RAM
586
597
  o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
587
598
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
588
599
  o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
600
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
589
601
  end)
590
602
 
591
603
  api.add_operation(:associate_resource_share_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -47,6 +47,7 @@ module Aws::RAM
47
47
  # * {ServiceUnavailableException}
48
48
  # * {TagLimitExceededException}
49
49
  # * {TagPolicyViolationException}
50
+ # * {ThrottlingException}
50
51
  # * {UnknownResourceException}
51
52
  #
52
53
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -355,6 +356,21 @@ module Aws::RAM
355
356
  end
356
357
  end
357
358
 
359
+ class ThrottlingException < ServiceError
360
+
361
+ # @param [Seahorse::Client::RequestContext] context
362
+ # @param [String] message
363
+ # @param [Aws::RAM::Types::ThrottlingException] data
364
+ def initialize(context, message, data = Aws::EmptyStructure.new)
365
+ super(context, message, data)
366
+ end
367
+
368
+ # @return [String]
369
+ def message
370
+ @message || @data[:message]
371
+ end
372
+ end
373
+
358
374
  class UnknownResourceException < ServiceError
359
375
 
360
376
  # @param [Seahorse::Client::RequestContext] context