aws-sdk-migrationhub 1.21.0 → 1.22.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6de82a760d12bcabf164ef42003009ea243b0045
4
- data.tar.gz: 4367f511a9ee90ac79833f674b9fc4b70c539d1e
2
+ SHA256:
3
+ metadata.gz: 14aed068b3b18a650b79b2d3e0df98fb15a05f615396c3b12cf5d98ea01673d2
4
+ data.tar.gz: de96790e1a27ebb6d2eee266bb8f0883be08a132fe490bb5accadeeb7d400654
5
5
  SHA512:
6
- metadata.gz: dff9856dd4531c16f624fce3552808169dc1527784372f656f0d85cfad7bba0b58b5a76393d61efe4111c191b8e0d2328ecdd803ab00f466056421b624bd5d44
7
- data.tar.gz: 8cff4fda76d4ae849ebc3ff7ece4944163216070cb42ccfadb449ed60f59a10d2a2ac40af7e336b4d06dcec93283f91071fafaf18603a9da97a2b9c42de7716a
6
+ metadata.gz: 427d5e820906159b5d8b11075f95050be3c816fc0d65fd08cad26b6ff2e0c0242b9b5434a45e370004f181fad525bc50803b710d28404d577a2d179d1b488b73
7
+ data.tar.gz: f4f96b3fe72a18e8bb4fd4353c20edf54e87fbeb52da3e5b6b045b5e1c982edd898acea2a1fe2d59a0471145432a2c9f16869fc1d7c9cccefecb126048c8a031
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-migrationhub/customizations'
45
45
  # @service
46
46
  module Aws::MigrationHub
47
47
 
48
- GEM_VERSION = '1.21.0'
48
+ GEM_VERSION = '1.22.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:migrationhub)
32
32
  module Aws::MigrationHub
33
33
  # An API client for MigrationHub. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::MigrationHub::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::MigrationHub::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::MigrationHub
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
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
  #
@@ -275,8 +279,7 @@ module Aws::MigrationHub
275
279
  #
276
280
  # @option options [Integer] :http_read_timeout (60) The default
277
281
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
280
283
  #
281
284
  # @option options [Float] :http_idle_timeout (5) The number of
282
285
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +291,7 @@ module Aws::MigrationHub
288
291
  # request body. This option has no effect unless the request has
289
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
293
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
292
295
  #
293
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
297
  # HTTP debug output will be sent to the `:logger`.
@@ -713,6 +716,8 @@ module Aws::MigrationHub
713
716
  # * {Types::ListApplicationStatesResult#application_state_list #application_state_list} => Array<Types::ApplicationState>
714
717
  # * {Types::ListApplicationStatesResult#next_token #next_token} => String
715
718
  #
719
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
720
+ #
716
721
  # @example Request syntax with placeholder values
717
722
  #
718
723
  # resp = client.list_application_states({
@@ -769,6 +774,8 @@ module Aws::MigrationHub
769
774
  # * {Types::ListCreatedArtifactsResult#next_token #next_token} => String
770
775
  # * {Types::ListCreatedArtifactsResult#created_artifact_list #created_artifact_list} => Array<Types::CreatedArtifact>
771
776
  #
777
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
778
+ #
772
779
  # @example Request syntax with placeholder values
773
780
  #
774
781
  # resp = client.list_created_artifacts({
@@ -816,6 +823,8 @@ module Aws::MigrationHub
816
823
  # * {Types::ListDiscoveredResourcesResult#next_token #next_token} => String
817
824
  # * {Types::ListDiscoveredResourcesResult#discovered_resource_list #discovered_resource_list} => Array<Types::DiscoveredResource>
818
825
  #
826
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
827
+ #
819
828
  # @example Request syntax with placeholder values
820
829
  #
821
830
  # resp = client.list_discovered_resources({
@@ -868,6 +877,8 @@ module Aws::MigrationHub
868
877
  # * {Types::ListMigrationTasksResult#next_token #next_token} => String
869
878
  # * {Types::ListMigrationTasksResult#migration_task_summary_list #migration_task_summary_list} => Array<Types::MigrationTaskSummary>
870
879
  #
880
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
881
+ #
871
882
  # @example Request syntax with placeholder values
872
883
  #
873
884
  # resp = client.list_migration_tasks({
@@ -912,6 +923,8 @@ module Aws::MigrationHub
912
923
  # * {Types::ListProgressUpdateStreamsResult#progress_update_stream_summary_list #progress_update_stream_summary_list} => Array<Types::ProgressUpdateStreamSummary>
913
924
  # * {Types::ListProgressUpdateStreamsResult#next_token #next_token} => String
914
925
  #
926
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
927
+ #
915
928
  # @example Request syntax with placeholder values
916
929
  #
917
930
  # resp = client.list_progress_update_streams({
@@ -1138,7 +1151,7 @@ module Aws::MigrationHub
1138
1151
  params: params,
1139
1152
  config: config)
1140
1153
  context[:gem_name] = 'aws-sdk-migrationhub'
1141
- context[:gem_version] = '1.21.0'
1154
+ context[:gem_version] = '1.22.0'
1142
1155
  Seahorse::Client::Request.new(handlers, context)
1143
1156
  end
1144
1157
 
@@ -85,10 +85,12 @@ module Aws::MigrationHub
85
85
  ResourceAttributeValue = Shapes::StringShape.new(name: 'ResourceAttributeValue')
86
86
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
87
87
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
88
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
88
89
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
89
90
  Status = Shapes::StringShape.new(name: 'Status')
90
91
  StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
91
92
  Task = Shapes::StructureShape.new(name: 'Task')
93
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
92
94
  Token = Shapes::StringShape.new(name: 'Token')
93
95
  UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation')
94
96
  UpdateDateTime = Shapes::TimestampShape.new(name: 'UpdateDateTime')
@@ -310,6 +312,10 @@ module Aws::MigrationHub
310
312
  Task.add_member(:progress_percent, Shapes::ShapeRef.new(shape: ProgressPercent, location_name: "ProgressPercent"))
311
313
  Task.struct_class = Types::Task
312
314
 
315
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
316
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
317
+ ThrottlingException.struct_class = Types::ThrottlingException
318
+
313
319
  UnauthorizedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
314
320
  UnauthorizedOperation.struct_class = Types::UnauthorizedOperation
315
321
 
@@ -338,6 +344,7 @@ module Aws::MigrationHub
338
344
  o.input = Shapes::ShapeRef.new(shape: AssociateCreatedArtifactRequest)
339
345
  o.output = Shapes::ShapeRef.new(shape: AssociateCreatedArtifactResult)
340
346
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
347
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
341
348
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
342
349
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
343
350
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -354,6 +361,7 @@ module Aws::MigrationHub
354
361
  o.input = Shapes::ShapeRef.new(shape: AssociateDiscoveredResourceRequest)
355
362
  o.output = Shapes::ShapeRef.new(shape: AssociateDiscoveredResourceResult)
356
363
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
364
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
357
365
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
358
366
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
359
367
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -371,6 +379,7 @@ module Aws::MigrationHub
371
379
  o.input = Shapes::ShapeRef.new(shape: CreateProgressUpdateStreamRequest)
372
380
  o.output = Shapes::ShapeRef.new(shape: CreateProgressUpdateStreamResult)
373
381
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
382
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
374
383
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
375
384
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
376
385
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -386,6 +395,7 @@ module Aws::MigrationHub
386
395
  o.input = Shapes::ShapeRef.new(shape: DeleteProgressUpdateStreamRequest)
387
396
  o.output = Shapes::ShapeRef.new(shape: DeleteProgressUpdateStreamResult)
388
397
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
398
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
389
399
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
390
400
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
391
401
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -402,6 +412,7 @@ module Aws::MigrationHub
402
412
  o.input = Shapes::ShapeRef.new(shape: DescribeApplicationStateRequest)
403
413
  o.output = Shapes::ShapeRef.new(shape: DescribeApplicationStateResult)
404
414
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
415
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
405
416
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
406
417
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
407
418
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -417,6 +428,7 @@ module Aws::MigrationHub
417
428
  o.input = Shapes::ShapeRef.new(shape: DescribeMigrationTaskRequest)
418
429
  o.output = Shapes::ShapeRef.new(shape: DescribeMigrationTaskResult)
419
430
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
431
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
420
432
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
421
433
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
422
434
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -431,6 +443,7 @@ module Aws::MigrationHub
431
443
  o.input = Shapes::ShapeRef.new(shape: DisassociateCreatedArtifactRequest)
432
444
  o.output = Shapes::ShapeRef.new(shape: DisassociateCreatedArtifactResult)
433
445
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
446
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
434
447
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
435
448
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
436
449
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -447,6 +460,7 @@ module Aws::MigrationHub
447
460
  o.input = Shapes::ShapeRef.new(shape: DisassociateDiscoveredResourceRequest)
448
461
  o.output = Shapes::ShapeRef.new(shape: DisassociateDiscoveredResourceResult)
449
462
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
463
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
450
464
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
451
465
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
452
466
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -463,6 +477,7 @@ module Aws::MigrationHub
463
477
  o.input = Shapes::ShapeRef.new(shape: ImportMigrationTaskRequest)
464
478
  o.output = Shapes::ShapeRef.new(shape: ImportMigrationTaskResult)
465
479
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
480
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
466
481
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
467
482
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
468
483
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -479,6 +494,7 @@ module Aws::MigrationHub
479
494
  o.input = Shapes::ShapeRef.new(shape: ListApplicationStatesRequest)
480
495
  o.output = Shapes::ShapeRef.new(shape: ListApplicationStatesResult)
481
496
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
497
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
482
498
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
483
499
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
484
500
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -498,6 +514,7 @@ module Aws::MigrationHub
498
514
  o.input = Shapes::ShapeRef.new(shape: ListCreatedArtifactsRequest)
499
515
  o.output = Shapes::ShapeRef.new(shape: ListCreatedArtifactsResult)
500
516
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
517
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
501
518
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
502
519
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
503
520
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -518,6 +535,7 @@ module Aws::MigrationHub
518
535
  o.input = Shapes::ShapeRef.new(shape: ListDiscoveredResourcesRequest)
519
536
  o.output = Shapes::ShapeRef.new(shape: ListDiscoveredResourcesResult)
520
537
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
538
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
521
539
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
522
540
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
523
541
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -538,6 +556,7 @@ module Aws::MigrationHub
538
556
  o.input = Shapes::ShapeRef.new(shape: ListMigrationTasksRequest)
539
557
  o.output = Shapes::ShapeRef.new(shape: ListMigrationTasksResult)
540
558
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
559
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
541
560
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
542
561
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
543
562
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -559,6 +578,7 @@ module Aws::MigrationHub
559
578
  o.input = Shapes::ShapeRef.new(shape: ListProgressUpdateStreamsRequest)
560
579
  o.output = Shapes::ShapeRef.new(shape: ListProgressUpdateStreamsResult)
561
580
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
562
582
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
563
583
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
564
584
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -578,6 +598,7 @@ module Aws::MigrationHub
578
598
  o.input = Shapes::ShapeRef.new(shape: NotifyApplicationStateRequest)
579
599
  o.output = Shapes::ShapeRef.new(shape: NotifyApplicationStateResult)
580
600
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
601
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
581
602
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
582
603
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
583
604
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -595,6 +616,7 @@ module Aws::MigrationHub
595
616
  o.input = Shapes::ShapeRef.new(shape: NotifyMigrationTaskStateRequest)
596
617
  o.output = Shapes::ShapeRef.new(shape: NotifyMigrationTaskStateResult)
597
618
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
619
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
598
620
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
599
621
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
600
622
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -611,6 +633,7 @@ module Aws::MigrationHub
611
633
  o.input = Shapes::ShapeRef.new(shape: PutResourceAttributesRequest)
612
634
  o.output = Shapes::ShapeRef.new(shape: PutResourceAttributesResult)
613
635
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
614
637
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
615
638
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
616
639
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -33,6 +33,7 @@ module Aws::MigrationHub
33
33
  # * {PolicyErrorException}
34
34
  # * {ResourceNotFoundException}
35
35
  # * {ServiceUnavailableException}
36
+ # * {ThrottlingException}
36
37
  # * {UnauthorizedOperation}
37
38
  #
38
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -161,6 +162,26 @@ module Aws::MigrationHub
161
162
  end
162
163
  end
163
164
 
165
+ class ThrottlingException < ServiceError
166
+
167
+ # @param [Seahorse::Client::RequestContext] context
168
+ # @param [String] message
169
+ # @param [Aws::MigrationHub::Types::ThrottlingException] data
170
+ def initialize(context, message, data = Aws::EmptyStructure.new)
171
+ super(context, message, data)
172
+ end
173
+
174
+ # @return [String]
175
+ def message
176
+ @message || @data[:message]
177
+ end
178
+
179
+ # @return [String]
180
+ def retry_after_seconds
181
+ @data[:retry_after_seconds]
182
+ end
183
+ end
184
+
164
185
  class UnauthorizedOperation < ServiceError
165
186
 
166
187
  # @param [Seahorse::Client::RequestContext] context
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::MigrationHub
9
- # This class provides a resource oriented interface for MigrationHub.
10
- # To create a resource object:
11
- # resource = Aws::MigrationHub::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::MigrationHub::Client.new(region: 'us-west-2')
15
- # resource = Aws::MigrationHub::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -1157,6 +1157,24 @@ module Aws::MigrationHub
1157
1157
  include Aws::Structure
1158
1158
  end
1159
1159
 
1160
+ # The request was denied due to request throttling.
1161
+ #
1162
+ # @!attribute [rw] message
1163
+ # A message that provides information about the exception.
1164
+ # @return [String]
1165
+ #
1166
+ # @!attribute [rw] retry_after_seconds
1167
+ # The number of seconds the caller should wait before retrying.
1168
+ # @return [Integer]
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ThrottlingException AWS API Documentation
1171
+ #
1172
+ class ThrottlingException < Struct.new(
1173
+ :message,
1174
+ :retry_after_seconds)
1175
+ include Aws::Structure
1176
+ end
1177
+
1160
1178
  # Exception raised to indicate a request was not authorized when the
1161
1179
  # `DryRun` flag is set to "true".
1162
1180
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-migrationhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.22.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-09 00:00:00.000000000 Z
11
+ date: 2020-04-16 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.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS Migration Hub