aws-sdk-migrationhubconfig 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fddd8b4137f8d0729d1b5d05999812b0c6220a3028a9e80f2855e80808f01ae6
4
- data.tar.gz: 16427f31923daec6c7d80c261458f122df788d5483175ba79942ee2b1644da2b
3
+ metadata.gz: 9da8d319720ea03bf5d8ff1484c85e971753c4b110a6da023d6045619d43d573
4
+ data.tar.gz: d489895dd0fedaffd62a94ef7cdcd502461c84909537a05fd3eed29fb1cc630f
5
5
  SHA512:
6
- metadata.gz: 44762e455ebdcc0d7d4cea23f04959db2d7d01b403d756d3d644b341bfb375a756cdf437ffe08aadb08c476aed58a29aba66ed866186e924a343f1117cf3af8e
7
- data.tar.gz: 992fa0f8a708b1b43d6fe2a99c7e27672dc284224f8db0aaaf1932c0292a67f1a51154d419ae45b8e15bf4c73807236dfc7c7fe401ecdef72b312c41f219e923
6
+ metadata.gz: 3c7cb14b60766d8c2a7dad5cac56c9b6bb712dbd086ff9491757b8b1312d0629557c0e4d370c1890bf851188c3ec78eeaec5f6528c54f3e413b2fa00687e6bb0
7
+ data.tar.gz: a14ee10a061ae6dd852bbf7bb5cb9fbe394278f9edc46d0e928f36eec3688c76e96e763da6cee4e8f2aacdfbc619f94b8f2628eb1be1e6dd45a8d5ef0006d0b3
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-migrationhubconfig/customizations'
45
45
  # @service
46
46
  module Aws::MigrationHubConfig
47
47
 
48
- GEM_VERSION = '1.1.0'
48
+ GEM_VERSION = '1.2.0'
49
49
 
50
50
  end
@@ -279,8 +279,7 @@ module Aws::MigrationHubConfig
279
279
  #
280
280
  # @option options [Integer] :http_read_timeout (60) The default
281
281
  # number of seconds to wait for response data. This value can
282
- # safely be set
283
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
284
283
  #
285
284
  # @option options [Float] :http_idle_timeout (5) The number of
286
285
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +291,7 @@ module Aws::MigrationHubConfig
292
291
  # request body. This option has no effect unless the request has
293
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
293
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
296
295
  #
297
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
297
  # HTTP debug output will be sent to the `:logger`.
@@ -364,8 +363,7 @@ module Aws::MigrationHubConfig
364
363
  req.send_request(options)
365
364
  end
366
365
 
367
- # This API permits filtering on the `ControlId`, `HomeRegion`, and
368
- # `RegionControlScope` fields.
366
+ # This API permits filtering on the `ControlId` and `HomeRegion` fields.
369
367
  #
370
368
  # @option params [String] :control_id
371
369
  # The `ControlID` is a unique identifier string of your
@@ -392,6 +390,8 @@ module Aws::MigrationHubConfig
392
390
  # * {Types::DescribeHomeRegionControlsResult#home_region_controls #home_region_controls} => Array<Types::HomeRegionControl>
393
391
  # * {Types::DescribeHomeRegionControlsResult#next_token #next_token} => String
394
392
  #
393
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
394
+ #
395
395
  # @example Request syntax with placeholder values
396
396
  #
397
397
  # resp = client.describe_home_region_controls({
@@ -461,7 +461,7 @@ module Aws::MigrationHubConfig
461
461
  params: params,
462
462
  config: config)
463
463
  context[:gem_name] = 'aws-sdk-migrationhubconfig'
464
- context[:gem_version] = '1.1.0'
464
+ context[:gem_version] = '1.2.0'
465
465
  Seahorse::Client::Request.new(handlers, context)
466
466
  end
467
467
 
@@ -29,10 +29,12 @@ module Aws::MigrationHubConfig
29
29
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
30
30
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
31
31
  RequestedTime = Shapes::TimestampShape.new(name: 'RequestedTime')
32
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
32
33
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
33
34
  Target = Shapes::StructureShape.new(name: 'Target')
34
35
  TargetId = Shapes::StringShape.new(name: 'TargetId')
35
36
  TargetType = Shapes::StringShape.new(name: 'TargetType')
37
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
36
38
  Token = Shapes::StringShape.new(name: 'Token')
37
39
 
38
40
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -86,6 +88,10 @@ module Aws::MigrationHubConfig
86
88
  Target.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, location_name: "Id"))
87
89
  Target.struct_class = Types::Target
88
90
 
91
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
92
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
93
+ ThrottlingException.struct_class = Types::ThrottlingException
94
+
89
95
 
90
96
  # @api private
91
97
  API = Seahorse::Model::Api.new.tap do |api|
@@ -114,6 +120,7 @@ module Aws::MigrationHubConfig
114
120
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
115
121
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
116
122
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
123
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
117
124
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
118
125
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
119
126
  end)
@@ -127,6 +134,7 @@ module Aws::MigrationHubConfig
127
134
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
128
135
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
129
136
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
137
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
130
138
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
131
139
  o[:pager] = Aws::Pager.new(
132
140
  limit_key: "max_results",
@@ -145,6 +153,7 @@ module Aws::MigrationHubConfig
145
153
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
146
154
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
147
155
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
156
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
148
157
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
149
158
  end)
150
159
  end
@@ -30,6 +30,7 @@ module Aws::MigrationHubConfig
30
30
  # * {InternalServerError}
31
31
  # * {InvalidInputException}
32
32
  # * {ServiceUnavailableException}
33
+ # * {ThrottlingException}
33
34
  #
34
35
  # Additionally, error classes are dynamically generated for service errors based on the error code
35
36
  # if they are not defined above.
@@ -112,5 +113,25 @@ module Aws::MigrationHubConfig
112
113
  end
113
114
  end
114
115
 
116
+ class ThrottlingException < ServiceError
117
+
118
+ # @param [Seahorse::Client::RequestContext] context
119
+ # @param [String] message
120
+ # @param [Aws::MigrationHubConfig::Types::ThrottlingException] data
121
+ def initialize(context, message, data = Aws::EmptyStructure.new)
122
+ super(context, message, data)
123
+ end
124
+
125
+ # @return [String]
126
+ def message
127
+ @message || @data[:message]
128
+ end
129
+
130
+ # @return [String]
131
+ def retry_after_seconds
132
+ @data[:retry_after_seconds]
133
+ end
134
+ end
135
+
115
136
  end
116
137
  end
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MigrationHubConfig
9
- # This class provides a resource oriented interface for MigrationHubConfig.
10
- # To create a resource object:
11
- # resource = Aws::MigrationHubConfig::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::MigrationHubConfig::Client.new(region: 'us-west-2')
15
- # resource = Aws::MigrationHubConfig::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -270,5 +270,22 @@ module Aws::MigrationHubConfig
270
270
  include Aws::Structure
271
271
  end
272
272
 
273
+ # The request was denied due to request throttling.
274
+ #
275
+ # @!attribute [rw] message
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] retry_after_seconds
279
+ # The number of seconds the caller should wait before retrying.
280
+ # @return [Integer]
281
+ #
282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/ThrottlingException AWS API Documentation
283
+ #
284
+ class ThrottlingException < Struct.new(
285
+ :message,
286
+ :retry_after_seconds)
287
+ include Aws::Structure
288
+ end
289
+
273
290
  end
274
291
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-migrationhubconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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-03-16 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -80,7 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubygems_version: 3.0.3
83
+ rubyforge_project:
84
+ rubygems_version: 2.7.6.2
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: AWS SDK for Ruby - AWS Migration Hub Config