aws-sdk-migrationhubconfig 1.1.0 → 1.6.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: 7f2dac6c61e26921681d827e203e6a59afa06ac96aec2e62732112f4061a14ac
4
+ data.tar.gz: 6135f8433381fd588491f1a4a9a060fb61db147469f8e18c42ad1ebe23e1cab1
5
5
  SHA512:
6
- metadata.gz: 44762e455ebdcc0d7d4cea23f04959db2d7d01b403d756d3d644b341bfb375a756cdf437ffe08aadb08c476aed58a29aba66ed866186e924a343f1117cf3af8e
7
- data.tar.gz: 992fa0f8a708b1b43d6fe2a99c7e27672dc284224f8db0aaaf1932c0292a67f1a51154d419ae45b8e15bf4c73807236dfc7c7fe401ecdef72b312c41f219e923
6
+ metadata.gz: 7ef887d6caeba7c5210bb98d1c4338e3d3fdc7c3b9ab4cc5ec0d80af283d275cb8454d1a54b205d611aa7cf2bc64a8e452eac172f50d6a4be75ca08d54d73803
7
+ data.tar.gz: 4576fd1f2ab6e98896db9504a3e6359207493021cf9c83b73ad644ece6fc1bfd021110def441f1478ed00e2f14aab4c50d2672bee28f226c31aa699d7eda6deb
@@ -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-migrationhubconfig/customizations'
45
47
  # @service
46
48
  module Aws::MigrationHubConfig
47
49
 
48
- GEM_VERSION = '1.1.0'
50
+ GEM_VERSION = '1.6.0'
49
51
 
50
52
  end
@@ -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/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::MigrationHubConfig
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::JsonRpc)
74
78
 
@@ -105,7 +109,7 @@ module Aws::MigrationHubConfig
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 search for in the following locations:
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::MigrationHubConfig
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 avalid HTTP(S) URI.
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::MigrationHubConfig
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. Defaults to `false`.
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.
@@ -279,8 +283,7 @@ module Aws::MigrationHubConfig
279
283
  #
280
284
  # @option options [Integer] :http_read_timeout (60) The default
281
285
  # 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}.
286
+ # safely be set per-request on the session.
284
287
  #
285
288
  # @option options [Float] :http_idle_timeout (5) The number of
286
289
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +295,7 @@ module Aws::MigrationHubConfig
292
295
  # request body. This option has no effect unless the request has
293
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
297
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
298
+ # request on the session.
296
299
  #
297
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
301
  # HTTP debug output will be sent to the `:logger`.
@@ -364,8 +367,7 @@ module Aws::MigrationHubConfig
364
367
  req.send_request(options)
365
368
  end
366
369
 
367
- # This API permits filtering on the `ControlId`, `HomeRegion`, and
368
- # `RegionControlScope` fields.
370
+ # This API permits filtering on the `ControlId` and `HomeRegion` fields.
369
371
  #
370
372
  # @option params [String] :control_id
371
373
  # The `ControlID` is a unique identifier string of your
@@ -392,6 +394,8 @@ module Aws::MigrationHubConfig
392
394
  # * {Types::DescribeHomeRegionControlsResult#home_region_controls #home_region_controls} => Array<Types::HomeRegionControl>
393
395
  # * {Types::DescribeHomeRegionControlsResult#next_token #next_token} => String
394
396
  #
397
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
398
+ #
395
399
  # @example Request syntax with placeholder values
396
400
  #
397
401
  # resp = client.describe_home_region_controls({
@@ -461,7 +465,7 @@ module Aws::MigrationHubConfig
461
465
  params: params,
462
466
  config: config)
463
467
  context[:gem_name] = 'aws-sdk-migrationhubconfig'
464
- context[:gem_version] = '1.1.0'
468
+ context[:gem_version] = '1.6.0'
465
469
  Seahorse::Client::Request.new(handlers, context)
466
470
  end
467
471
 
@@ -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:
@@ -29,10 +31,12 @@ module Aws::MigrationHubConfig
29
31
  InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
30
32
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
31
33
  RequestedTime = Shapes::TimestampShape.new(name: 'RequestedTime')
34
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
32
35
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
33
36
  Target = Shapes::StructureShape.new(name: 'Target')
34
37
  TargetId = Shapes::StringShape.new(name: 'TargetId')
35
38
  TargetType = Shapes::StringShape.new(name: 'TargetType')
39
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
36
40
  Token = Shapes::StringShape.new(name: 'Token')
37
41
 
38
42
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -86,6 +90,10 @@ module Aws::MigrationHubConfig
86
90
  Target.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, location_name: "Id"))
87
91
  Target.struct_class = Types::Target
88
92
 
93
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
94
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
95
+ ThrottlingException.struct_class = Types::ThrottlingException
96
+
89
97
 
90
98
  # @api private
91
99
  API = Seahorse::Model::Api.new.tap do |api|
@@ -114,6 +122,7 @@ module Aws::MigrationHubConfig
114
122
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
115
123
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
116
124
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
125
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
117
126
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
118
127
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
119
128
  end)
@@ -127,6 +136,7 @@ module Aws::MigrationHubConfig
127
136
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
128
137
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
129
138
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
139
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
130
140
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
131
141
  o[:pager] = Aws::Pager.new(
132
142
  limit_key: "max_results",
@@ -145,6 +155,7 @@ module Aws::MigrationHubConfig
145
155
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
146
156
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
147
157
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
158
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
148
159
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
149
160
  end)
150
161
  end
@@ -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::MigrationHubConfig
30
32
  # * {InternalServerError}
31
33
  # * {InvalidInputException}
32
34
  # * {ServiceUnavailableException}
35
+ # * {ThrottlingException}
33
36
  #
34
37
  # Additionally, error classes are dynamically generated for service errors based on the error code
35
38
  # if they are not defined above.
@@ -112,5 +115,25 @@ module Aws::MigrationHubConfig
112
115
  end
113
116
  end
114
117
 
118
+ class ThrottlingException < ServiceError
119
+
120
+ # @param [Seahorse::Client::RequestContext] context
121
+ # @param [String] message
122
+ # @param [Aws::MigrationHubConfig::Types::ThrottlingException] data
123
+ def initialize(context, message, data = Aws::EmptyStructure.new)
124
+ super(context, message, data)
125
+ end
126
+
127
+ # @return [String]
128
+ def message
129
+ @message || @data[:message]
130
+ end
131
+
132
+ # @return [String]
133
+ def retry_after_seconds
134
+ @data[:retry_after_seconds]
135
+ end
136
+ end
137
+
115
138
  end
116
139
  end
@@ -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::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)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -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:
@@ -17,6 +19,7 @@ module Aws::MigrationHubConfig
17
19
  #
18
20
  class AccessDeniedException < Struct.new(
19
21
  :message)
22
+ SENSITIVE = []
20
23
  include Aws::Structure
21
24
  end
22
25
 
@@ -52,6 +55,7 @@ module Aws::MigrationHubConfig
52
55
  :home_region,
53
56
  :target,
54
57
  :dry_run)
58
+ SENSITIVE = []
55
59
  include Aws::Structure
56
60
  end
57
61
 
@@ -64,6 +68,7 @@ module Aws::MigrationHubConfig
64
68
  #
65
69
  class CreateHomeRegionControlResult < Struct.new(
66
70
  :home_region_control)
71
+ SENSITIVE = []
67
72
  include Aws::Structure
68
73
  end
69
74
 
@@ -114,6 +119,7 @@ module Aws::MigrationHubConfig
114
119
  :target,
115
120
  :max_results,
116
121
  :next_token)
122
+ SENSITIVE = []
117
123
  include Aws::Structure
118
124
  end
119
125
 
@@ -132,6 +138,7 @@ module Aws::MigrationHubConfig
132
138
  class DescribeHomeRegionControlsResult < Struct.new(
133
139
  :home_region_controls,
134
140
  :next_token)
141
+ SENSITIVE = []
135
142
  include Aws::Structure
136
143
  end
137
144
 
@@ -145,6 +152,7 @@ module Aws::MigrationHubConfig
145
152
  #
146
153
  class DryRunOperation < Struct.new(
147
154
  :message)
155
+ SENSITIVE = []
148
156
  include Aws::Structure
149
157
  end
150
158
 
@@ -162,6 +170,7 @@ module Aws::MigrationHubConfig
162
170
  #
163
171
  class GetHomeRegionResult < Struct.new(
164
172
  :home_region)
173
+ SENSITIVE = []
165
174
  include Aws::Structure
166
175
  end
167
176
 
@@ -199,6 +208,7 @@ module Aws::MigrationHubConfig
199
208
  :home_region,
200
209
  :target,
201
210
  :requested_time)
211
+ SENSITIVE = []
202
212
  include Aws::Structure
203
213
  end
204
214
 
@@ -212,6 +222,7 @@ module Aws::MigrationHubConfig
212
222
  #
213
223
  class InternalServerError < Struct.new(
214
224
  :message)
225
+ SENSITIVE = []
215
226
  include Aws::Structure
216
227
  end
217
228
 
@@ -225,6 +236,7 @@ module Aws::MigrationHubConfig
225
236
  #
226
237
  class InvalidInputException < Struct.new(
227
238
  :message)
239
+ SENSITIVE = []
228
240
  include Aws::Structure
229
241
  end
230
242
 
@@ -238,6 +250,7 @@ module Aws::MigrationHubConfig
238
250
  #
239
251
  class ServiceUnavailableException < Struct.new(
240
252
  :message)
253
+ SENSITIVE = []
241
254
  include Aws::Structure
242
255
  end
243
256
 
@@ -267,6 +280,25 @@ module Aws::MigrationHubConfig
267
280
  class Target < Struct.new(
268
281
  :type,
269
282
  :id)
283
+ SENSITIVE = []
284
+ include Aws::Structure
285
+ end
286
+
287
+ # The request was denied due to request throttling.
288
+ #
289
+ # @!attribute [rw] message
290
+ # @return [String]
291
+ #
292
+ # @!attribute [rw] retry_after_seconds
293
+ # The number of seconds the caller should wait before retrying.
294
+ # @return [Integer]
295
+ #
296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/ThrottlingException AWS API Documentation
297
+ #
298
+ class ThrottlingException < Struct.new(
299
+ :message,
300
+ :retry_after_seconds)
301
+ SENSITIVE = []
270
302
  include Aws::Structure
271
303
  end
272
304
 
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.6.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-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.71.0
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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -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