aws-sdk-migrationhub 1.21.0 → 1.26.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
- SHA1:
3
- metadata.gz: 6de82a760d12bcabf164ef42003009ea243b0045
4
- data.tar.gz: 4367f511a9ee90ac79833f674b9fc4b70c539d1e
2
+ SHA256:
3
+ metadata.gz: 1e59e7daa988098e7b1a0fbb2a2a706e1d62ce94c8d867e4b90caad89ccd688f
4
+ data.tar.gz: b0c6d1fef050b608d0c86ac935aa836bdc665bf847fbd3d3f2748206aaf3479b
5
5
  SHA512:
6
- metadata.gz: dff9856dd4531c16f624fce3552808169dc1527784372f656f0d85cfad7bba0b58b5a76393d61efe4111c191b8e0d2328ecdd803ab00f466056421b624bd5d44
7
- data.tar.gz: 8cff4fda76d4ae849ebc3ff7ece4944163216070cb42ccfadb449ed60f59a10d2a2ac40af7e336b4d06dcec93283f91071fafaf18603a9da97a2b9c42de7716a
6
+ metadata.gz: fa003fe2a60e36d8c9eeb1a610551d963fcbca4035b82652381bd3c1c30f60b1eada1655f9125deef0aa39e50356d47cbddc41fc8b7ff98e2b5b67fc9d39fe02
7
+ data.tar.gz: '056730659f74ce8195af1653f1d6400f378ccb8ba0877ad599c466592807b842a375d400c9c50d78800c341a9452d042de2f8078987dfd5c37413f0478813d8b'
@@ -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-migrationhub/customizations'
45
47
  # @service
46
48
  module Aws::MigrationHub
47
49
 
48
- GEM_VERSION = '1.21.0'
50
+ GEM_VERSION = '1.26.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
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:migrationhub)
32
35
  module Aws::MigrationHub
33
36
  # An API client for MigrationHub. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::MigrationHub::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::MigrationHub::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::MigrationHub
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::MigrationHub
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::MigrationHub
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::MigrationHub
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.
@@ -229,15 +233,19 @@ module Aws::MigrationHub
229
233
  #
230
234
  # @option options [String] :retry_mode ("legacy")
231
235
  # 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.
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
  #
@@ -275,8 +283,7 @@ module Aws::MigrationHub
275
283
  #
276
284
  # @option options [Integer] :http_read_timeout (60) The default
277
285
  # 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}.
286
+ # safely be set per-request on the session.
280
287
  #
281
288
  # @option options [Float] :http_idle_timeout (5) The number of
282
289
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +295,7 @@ module Aws::MigrationHub
288
295
  # request body. This option has no effect unless the request has
289
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
297
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
298
+ # request on the session.
292
299
  #
293
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
301
  # HTTP debug output will be sent to the `:logger`.
@@ -713,6 +720,8 @@ module Aws::MigrationHub
713
720
  # * {Types::ListApplicationStatesResult#application_state_list #application_state_list} => Array<Types::ApplicationState>
714
721
  # * {Types::ListApplicationStatesResult#next_token #next_token} => String
715
722
  #
723
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
724
+ #
716
725
  # @example Request syntax with placeholder values
717
726
  #
718
727
  # resp = client.list_application_states({
@@ -769,6 +778,8 @@ module Aws::MigrationHub
769
778
  # * {Types::ListCreatedArtifactsResult#next_token #next_token} => String
770
779
  # * {Types::ListCreatedArtifactsResult#created_artifact_list #created_artifact_list} => Array<Types::CreatedArtifact>
771
780
  #
781
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
782
+ #
772
783
  # @example Request syntax with placeholder values
773
784
  #
774
785
  # resp = client.list_created_artifacts({
@@ -816,6 +827,8 @@ module Aws::MigrationHub
816
827
  # * {Types::ListDiscoveredResourcesResult#next_token #next_token} => String
817
828
  # * {Types::ListDiscoveredResourcesResult#discovered_resource_list #discovered_resource_list} => Array<Types::DiscoveredResource>
818
829
  #
830
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
831
+ #
819
832
  # @example Request syntax with placeholder values
820
833
  #
821
834
  # resp = client.list_discovered_resources({
@@ -868,6 +881,8 @@ module Aws::MigrationHub
868
881
  # * {Types::ListMigrationTasksResult#next_token #next_token} => String
869
882
  # * {Types::ListMigrationTasksResult#migration_task_summary_list #migration_task_summary_list} => Array<Types::MigrationTaskSummary>
870
883
  #
884
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
885
+ #
871
886
  # @example Request syntax with placeholder values
872
887
  #
873
888
  # resp = client.list_migration_tasks({
@@ -912,6 +927,8 @@ module Aws::MigrationHub
912
927
  # * {Types::ListProgressUpdateStreamsResult#progress_update_stream_summary_list #progress_update_stream_summary_list} => Array<Types::ProgressUpdateStreamSummary>
913
928
  # * {Types::ListProgressUpdateStreamsResult#next_token #next_token} => String
914
929
  #
930
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
931
+ #
915
932
  # @example Request syntax with placeholder values
916
933
  #
917
934
  # resp = client.list_progress_update_streams({
@@ -1138,7 +1155,7 @@ module Aws::MigrationHub
1138
1155
  params: params,
1139
1156
  config: config)
1140
1157
  context[:gem_name] = 'aws-sdk-migrationhub'
1141
- context[:gem_version] = '1.21.0'
1158
+ context[:gem_version] = '1.26.0'
1142
1159
  Seahorse::Client::Request.new(handlers, context)
1143
1160
  end
1144
1161
 
@@ -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:
@@ -85,10 +87,12 @@ module Aws::MigrationHub
85
87
  ResourceAttributeValue = Shapes::StringShape.new(name: 'ResourceAttributeValue')
86
88
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
87
89
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
90
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
88
91
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
89
92
  Status = Shapes::StringShape.new(name: 'Status')
90
93
  StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
91
94
  Task = Shapes::StructureShape.new(name: 'Task')
95
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
92
96
  Token = Shapes::StringShape.new(name: 'Token')
93
97
  UnauthorizedOperation = Shapes::StructureShape.new(name: 'UnauthorizedOperation')
94
98
  UpdateDateTime = Shapes::TimestampShape.new(name: 'UpdateDateTime')
@@ -310,6 +314,10 @@ module Aws::MigrationHub
310
314
  Task.add_member(:progress_percent, Shapes::ShapeRef.new(shape: ProgressPercent, location_name: "ProgressPercent"))
311
315
  Task.struct_class = Types::Task
312
316
 
317
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
318
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location_name: "RetryAfterSeconds"))
319
+ ThrottlingException.struct_class = Types::ThrottlingException
320
+
313
321
  UnauthorizedOperation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
314
322
  UnauthorizedOperation.struct_class = Types::UnauthorizedOperation
315
323
 
@@ -338,6 +346,7 @@ module Aws::MigrationHub
338
346
  o.input = Shapes::ShapeRef.new(shape: AssociateCreatedArtifactRequest)
339
347
  o.output = Shapes::ShapeRef.new(shape: AssociateCreatedArtifactResult)
340
348
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
349
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
341
350
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
342
351
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
343
352
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -354,6 +363,7 @@ module Aws::MigrationHub
354
363
  o.input = Shapes::ShapeRef.new(shape: AssociateDiscoveredResourceRequest)
355
364
  o.output = Shapes::ShapeRef.new(shape: AssociateDiscoveredResourceResult)
356
365
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
366
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
357
367
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
358
368
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
359
369
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -371,6 +381,7 @@ module Aws::MigrationHub
371
381
  o.input = Shapes::ShapeRef.new(shape: CreateProgressUpdateStreamRequest)
372
382
  o.output = Shapes::ShapeRef.new(shape: CreateProgressUpdateStreamResult)
373
383
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
384
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
374
385
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
375
386
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
376
387
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -386,6 +397,7 @@ module Aws::MigrationHub
386
397
  o.input = Shapes::ShapeRef.new(shape: DeleteProgressUpdateStreamRequest)
387
398
  o.output = Shapes::ShapeRef.new(shape: DeleteProgressUpdateStreamResult)
388
399
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
400
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
389
401
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
390
402
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
391
403
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -402,6 +414,7 @@ module Aws::MigrationHub
402
414
  o.input = Shapes::ShapeRef.new(shape: DescribeApplicationStateRequest)
403
415
  o.output = Shapes::ShapeRef.new(shape: DescribeApplicationStateResult)
404
416
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
417
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
405
418
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
406
419
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
407
420
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -417,6 +430,7 @@ module Aws::MigrationHub
417
430
  o.input = Shapes::ShapeRef.new(shape: DescribeMigrationTaskRequest)
418
431
  o.output = Shapes::ShapeRef.new(shape: DescribeMigrationTaskResult)
419
432
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
420
434
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
421
435
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
422
436
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -431,6 +445,7 @@ module Aws::MigrationHub
431
445
  o.input = Shapes::ShapeRef.new(shape: DisassociateCreatedArtifactRequest)
432
446
  o.output = Shapes::ShapeRef.new(shape: DisassociateCreatedArtifactResult)
433
447
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
448
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
434
449
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
435
450
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
436
451
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -447,6 +462,7 @@ module Aws::MigrationHub
447
462
  o.input = Shapes::ShapeRef.new(shape: DisassociateDiscoveredResourceRequest)
448
463
  o.output = Shapes::ShapeRef.new(shape: DisassociateDiscoveredResourceResult)
449
464
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
465
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
450
466
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
451
467
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
452
468
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -463,6 +479,7 @@ module Aws::MigrationHub
463
479
  o.input = Shapes::ShapeRef.new(shape: ImportMigrationTaskRequest)
464
480
  o.output = Shapes::ShapeRef.new(shape: ImportMigrationTaskResult)
465
481
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
482
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
466
483
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
467
484
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
468
485
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -479,6 +496,7 @@ module Aws::MigrationHub
479
496
  o.input = Shapes::ShapeRef.new(shape: ListApplicationStatesRequest)
480
497
  o.output = Shapes::ShapeRef.new(shape: ListApplicationStatesResult)
481
498
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
499
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
482
500
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
483
501
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
484
502
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -498,6 +516,7 @@ module Aws::MigrationHub
498
516
  o.input = Shapes::ShapeRef.new(shape: ListCreatedArtifactsRequest)
499
517
  o.output = Shapes::ShapeRef.new(shape: ListCreatedArtifactsResult)
500
518
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
519
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
501
520
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
502
521
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
503
522
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -518,6 +537,7 @@ module Aws::MigrationHub
518
537
  o.input = Shapes::ShapeRef.new(shape: ListDiscoveredResourcesRequest)
519
538
  o.output = Shapes::ShapeRef.new(shape: ListDiscoveredResourcesResult)
520
539
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
540
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
521
541
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
522
542
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
523
543
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -538,6 +558,7 @@ module Aws::MigrationHub
538
558
  o.input = Shapes::ShapeRef.new(shape: ListMigrationTasksRequest)
539
559
  o.output = Shapes::ShapeRef.new(shape: ListMigrationTasksResult)
540
560
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
541
562
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
542
563
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
543
564
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -559,6 +580,7 @@ module Aws::MigrationHub
559
580
  o.input = Shapes::ShapeRef.new(shape: ListProgressUpdateStreamsRequest)
560
581
  o.output = Shapes::ShapeRef.new(shape: ListProgressUpdateStreamsResult)
561
582
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
562
584
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
563
585
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
564
586
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
@@ -578,6 +600,7 @@ module Aws::MigrationHub
578
600
  o.input = Shapes::ShapeRef.new(shape: NotifyApplicationStateRequest)
579
601
  o.output = Shapes::ShapeRef.new(shape: NotifyApplicationStateResult)
580
602
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
603
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
581
604
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
582
605
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
583
606
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -595,6 +618,7 @@ module Aws::MigrationHub
595
618
  o.input = Shapes::ShapeRef.new(shape: NotifyMigrationTaskStateRequest)
596
619
  o.output = Shapes::ShapeRef.new(shape: NotifyMigrationTaskStateResult)
597
620
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
598
622
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
599
623
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
600
624
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -611,6 +635,7 @@ module Aws::MigrationHub
611
635
  o.input = Shapes::ShapeRef.new(shape: PutResourceAttributesRequest)
612
636
  o.output = Shapes::ShapeRef.new(shape: PutResourceAttributesResult)
613
637
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
614
639
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
615
640
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
616
641
  o.errors << Shapes::ShapeRef.new(shape: DryRunOperation)
@@ -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:
@@ -33,6 +35,7 @@ module Aws::MigrationHub
33
35
  # * {PolicyErrorException}
34
36
  # * {ResourceNotFoundException}
35
37
  # * {ServiceUnavailableException}
38
+ # * {ThrottlingException}
36
39
  # * {UnauthorizedOperation}
37
40
  #
38
41
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -161,6 +164,26 @@ module Aws::MigrationHub
161
164
  end
162
165
  end
163
166
 
167
+ class ThrottlingException < ServiceError
168
+
169
+ # @param [Seahorse::Client::RequestContext] context
170
+ # @param [String] message
171
+ # @param [Aws::MigrationHub::Types::ThrottlingException] data
172
+ def initialize(context, message, data = Aws::EmptyStructure.new)
173
+ super(context, message, data)
174
+ end
175
+
176
+ # @return [String]
177
+ def message
178
+ @message || @data[:message]
179
+ end
180
+
181
+ # @return [String]
182
+ def retry_after_seconds
183
+ @data[:retry_after_seconds]
184
+ end
185
+ end
186
+
164
187
  class UnauthorizedOperation < ServiceError
165
188
 
166
189
  # @param [Seahorse::Client::RequestContext] context
@@ -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::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)
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::MigrationHub
17
19
  #
18
20
  class AccessDeniedException < Struct.new(
19
21
  :message)
22
+ SENSITIVE = []
20
23
  include Aws::Structure
21
24
  end
22
25
 
@@ -43,6 +46,7 @@ module Aws::MigrationHub
43
46
  :application_id,
44
47
  :application_status,
45
48
  :last_updated_time)
49
+ SENSITIVE = []
46
50
  include Aws::Structure
47
51
  end
48
52
 
@@ -85,6 +89,7 @@ module Aws::MigrationHub
85
89
  :migration_task_name,
86
90
  :created_artifact,
87
91
  :dry_run)
92
+ SENSITIVE = []
88
93
  include Aws::Structure
89
94
  end
90
95
 
@@ -130,6 +135,7 @@ module Aws::MigrationHub
130
135
  :migration_task_name,
131
136
  :discovered_resource,
132
137
  :dry_run)
138
+ SENSITIVE = []
133
139
  include Aws::Structure
134
140
  end
135
141
 
@@ -160,6 +166,7 @@ module Aws::MigrationHub
160
166
  class CreateProgressUpdateStreamRequest < Struct.new(
161
167
  :progress_update_stream_name,
162
168
  :dry_run)
169
+ SENSITIVE = []
163
170
  include Aws::Structure
164
171
  end
165
172
 
@@ -192,6 +199,7 @@ module Aws::MigrationHub
192
199
  class CreatedArtifact < Struct.new(
193
200
  :name,
194
201
  :description)
202
+ SENSITIVE = []
195
203
  include Aws::Structure
196
204
  end
197
205
 
@@ -218,6 +226,7 @@ module Aws::MigrationHub
218
226
  class DeleteProgressUpdateStreamRequest < Struct.new(
219
227
  :progress_update_stream_name,
220
228
  :dry_run)
229
+ SENSITIVE = []
221
230
  include Aws::Structure
222
231
  end
223
232
 
@@ -241,6 +250,7 @@ module Aws::MigrationHub
241
250
  #
242
251
  class DescribeApplicationStateRequest < Struct.new(
243
252
  :application_id)
253
+ SENSITIVE = []
244
254
  include Aws::Structure
245
255
  end
246
256
 
@@ -257,6 +267,7 @@ module Aws::MigrationHub
257
267
  class DescribeApplicationStateResult < Struct.new(
258
268
  :application_status,
259
269
  :last_updated_time)
270
+ SENSITIVE = []
260
271
  include Aws::Structure
261
272
  end
262
273
 
@@ -282,6 +293,7 @@ module Aws::MigrationHub
282
293
  class DescribeMigrationTaskRequest < Struct.new(
283
294
  :progress_update_stream,
284
295
  :migration_task_name)
296
+ SENSITIVE = []
285
297
  include Aws::Structure
286
298
  end
287
299
 
@@ -293,6 +305,7 @@ module Aws::MigrationHub
293
305
  #
294
306
  class DescribeMigrationTaskResult < Struct.new(
295
307
  :migration_task)
308
+ SENSITIVE = []
296
309
  include Aws::Structure
297
310
  end
298
311
 
@@ -333,6 +346,7 @@ module Aws::MigrationHub
333
346
  :migration_task_name,
334
347
  :created_artifact_name,
335
348
  :dry_run)
349
+ SENSITIVE = []
336
350
  include Aws::Structure
337
351
  end
338
352
 
@@ -376,6 +390,7 @@ module Aws::MigrationHub
376
390
  :migration_task_name,
377
391
  :configuration_id,
378
392
  :dry_run)
393
+ SENSITIVE = []
379
394
  include Aws::Structure
380
395
  end
381
396
 
@@ -408,6 +423,7 @@ module Aws::MigrationHub
408
423
  class DiscoveredResource < Struct.new(
409
424
  :configuration_id,
410
425
  :description)
426
+ SENSITIVE = []
411
427
  include Aws::Structure
412
428
  end
413
429
 
@@ -421,6 +437,7 @@ module Aws::MigrationHub
421
437
  #
422
438
  class DryRunOperation < Struct.new(
423
439
  :message)
440
+ SENSITIVE = []
424
441
  include Aws::Structure
425
442
  end
426
443
 
@@ -433,6 +450,7 @@ module Aws::MigrationHub
433
450
  #
434
451
  class HomeRegionNotSetException < Struct.new(
435
452
  :message)
453
+ SENSITIVE = []
436
454
  include Aws::Structure
437
455
  end
438
456
 
@@ -465,6 +483,7 @@ module Aws::MigrationHub
465
483
  :progress_update_stream,
466
484
  :migration_task_name,
467
485
  :dry_run)
486
+ SENSITIVE = []
468
487
  include Aws::Structure
469
488
  end
470
489
 
@@ -482,6 +501,7 @@ module Aws::MigrationHub
482
501
  #
483
502
  class InternalServerError < Struct.new(
484
503
  :message)
504
+ SENSITIVE = []
485
505
  include Aws::Structure
486
506
  end
487
507
 
@@ -495,6 +515,7 @@ module Aws::MigrationHub
495
515
  #
496
516
  class InvalidInputException < Struct.new(
497
517
  :message)
518
+ SENSITIVE = []
498
519
  include Aws::Structure
499
520
  end
500
521
 
@@ -528,6 +549,7 @@ module Aws::MigrationHub
528
549
  :application_ids,
529
550
  :next_token,
530
551
  :max_results)
552
+ SENSITIVE = []
531
553
  include Aws::Structure
532
554
  end
533
555
 
@@ -546,6 +568,7 @@ module Aws::MigrationHub
546
568
  class ListApplicationStatesResult < Struct.new(
547
569
  :application_state_list,
548
570
  :next_token)
571
+ SENSITIVE = []
549
572
  include Aws::Structure
550
573
  end
551
574
 
@@ -585,6 +608,7 @@ module Aws::MigrationHub
585
608
  :migration_task_name,
586
609
  :next_token,
587
610
  :max_results)
611
+ SENSITIVE = []
588
612
  include Aws::Structure
589
613
  end
590
614
 
@@ -604,6 +628,7 @@ module Aws::MigrationHub
604
628
  class ListCreatedArtifactsResult < Struct.new(
605
629
  :next_token,
606
630
  :created_artifact_list)
631
+ SENSITIVE = []
607
632
  include Aws::Structure
608
633
  end
609
634
 
@@ -643,6 +668,7 @@ module Aws::MigrationHub
643
668
  :migration_task_name,
644
669
  :next_token,
645
670
  :max_results)
671
+ SENSITIVE = []
646
672
  include Aws::Structure
647
673
  end
648
674
 
@@ -662,6 +688,7 @@ module Aws::MigrationHub
662
688
  class ListDiscoveredResourcesResult < Struct.new(
663
689
  :next_token,
664
690
  :discovered_resource_list)
691
+ SENSITIVE = []
665
692
  include Aws::Structure
666
693
  end
667
694
 
@@ -694,6 +721,7 @@ module Aws::MigrationHub
694
721
  :next_token,
695
722
  :max_results,
696
723
  :resource_name)
724
+ SENSITIVE = []
697
725
  include Aws::Structure
698
726
  end
699
727
 
@@ -714,6 +742,7 @@ module Aws::MigrationHub
714
742
  class ListMigrationTasksResult < Struct.new(
715
743
  :next_token,
716
744
  :migration_task_summary_list)
745
+ SENSITIVE = []
717
746
  include Aws::Structure
718
747
  end
719
748
 
@@ -740,6 +769,7 @@ module Aws::MigrationHub
740
769
  class ListProgressUpdateStreamsRequest < Struct.new(
741
770
  :next_token,
742
771
  :max_results)
772
+ SENSITIVE = []
743
773
  include Aws::Structure
744
774
  end
745
775
 
@@ -759,6 +789,7 @@ module Aws::MigrationHub
759
789
  class ListProgressUpdateStreamsResult < Struct.new(
760
790
  :progress_update_stream_summary_list,
761
791
  :next_token)
792
+ SENSITIVE = []
762
793
  include Aws::Structure
763
794
  end
764
795
 
@@ -795,6 +826,7 @@ module Aws::MigrationHub
795
826
  :task,
796
827
  :update_date_time,
797
828
  :resource_attribute_list)
829
+ SENSITIVE = []
798
830
  include Aws::Structure
799
831
  end
800
832
 
@@ -837,6 +869,7 @@ module Aws::MigrationHub
837
869
  :progress_percent,
838
870
  :status_detail,
839
871
  :update_date_time)
872
+ SENSITIVE = []
840
873
  include Aws::Structure
841
874
  end
842
875
 
@@ -875,6 +908,7 @@ module Aws::MigrationHub
875
908
  :status,
876
909
  :update_date_time,
877
910
  :dry_run)
911
+ SENSITIVE = []
878
912
  include Aws::Structure
879
913
  end
880
914
 
@@ -936,6 +970,7 @@ module Aws::MigrationHub
936
970
  :update_date_time,
937
971
  :next_update_seconds,
938
972
  :dry_run)
973
+ SENSITIVE = []
939
974
  include Aws::Structure
940
975
  end
941
976
 
@@ -955,6 +990,7 @@ module Aws::MigrationHub
955
990
  #
956
991
  class PolicyErrorException < Struct.new(
957
992
  :message)
993
+ SENSITIVE = []
958
994
  include Aws::Structure
959
995
  end
960
996
 
@@ -970,6 +1006,7 @@ module Aws::MigrationHub
970
1006
  #
971
1007
  class ProgressUpdateStreamSummary < Struct.new(
972
1008
  :progress_update_stream_name)
1009
+ SENSITIVE = []
973
1010
  include Aws::Structure
974
1011
  end
975
1012
 
@@ -1040,6 +1077,7 @@ module Aws::MigrationHub
1040
1077
  :migration_task_name,
1041
1078
  :resource_attribute_list,
1042
1079
  :dry_run)
1080
+ SENSITIVE = []
1043
1081
  include Aws::Structure
1044
1082
  end
1045
1083
 
@@ -1092,6 +1130,7 @@ module Aws::MigrationHub
1092
1130
  class ResourceAttribute < Struct.new(
1093
1131
  :type,
1094
1132
  :value)
1133
+ SENSITIVE = []
1095
1134
  include Aws::Structure
1096
1135
  end
1097
1136
 
@@ -1107,6 +1146,7 @@ module Aws::MigrationHub
1107
1146
  #
1108
1147
  class ResourceNotFoundException < Struct.new(
1109
1148
  :message)
1149
+ SENSITIVE = []
1110
1150
  include Aws::Structure
1111
1151
  end
1112
1152
 
@@ -1120,6 +1160,7 @@ module Aws::MigrationHub
1120
1160
  #
1121
1161
  class ServiceUnavailableException < Struct.new(
1122
1162
  :message)
1163
+ SENSITIVE = []
1123
1164
  include Aws::Structure
1124
1165
  end
1125
1166
 
@@ -1154,6 +1195,26 @@ module Aws::MigrationHub
1154
1195
  :status,
1155
1196
  :status_detail,
1156
1197
  :progress_percent)
1198
+ SENSITIVE = []
1199
+ include Aws::Structure
1200
+ end
1201
+
1202
+ # The request was denied due to request throttling.
1203
+ #
1204
+ # @!attribute [rw] message
1205
+ # A message that provides information about the exception.
1206
+ # @return [String]
1207
+ #
1208
+ # @!attribute [rw] retry_after_seconds
1209
+ # The number of seconds the caller should wait before retrying.
1210
+ # @return [Integer]
1211
+ #
1212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ThrottlingException AWS API Documentation
1213
+ #
1214
+ class ThrottlingException < Struct.new(
1215
+ :message,
1216
+ :retry_after_seconds)
1217
+ SENSITIVE = []
1157
1218
  include Aws::Structure
1158
1219
  end
1159
1220
 
@@ -1167,6 +1228,7 @@ module Aws::MigrationHub
1167
1228
  #
1168
1229
  class UnauthorizedOperation < Struct.new(
1169
1230
  :message)
1231
+ SENSITIVE = []
1170
1232
  include Aws::Structure
1171
1233
  end
1172
1234
 
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.26.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-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
@@ -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