aws-sdk-migrationhuborchestrator 1.12.0 → 1.14.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhuborchestrator/client.rb +225 -57
- data/lib/aws-sdk-migrationhuborchestrator/client_api.rb +104 -6
- data/lib/aws-sdk-migrationhuborchestrator/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-migrationhuborchestrator/endpoints.rb +42 -0
- data/lib/aws-sdk-migrationhuborchestrator/errors.rb +20 -0
- data/lib/aws-sdk-migrationhuborchestrator/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-migrationhuborchestrator/types.rb +236 -5
- data/lib/aws-sdk-migrationhuborchestrator.rb +2 -2
- data/sig/client.rbs +52 -5
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +65 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4a73511793cb1d585cee3fbf67843ba79f909206e7b2763c675f75643cc8a6d
|
4
|
+
data.tar.gz: 5cfdcaeb4d9a67b9946aa576afcc68ea26255d73ec6270da5e9dfa87ec7b9063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa43ffe28a632e5ef2d42657634cc93ddac8f2bb7a2912e9739df74cd883ac50c236d621985f38e7a45fe268345b40ef44aea17fd9480349dd7d7539d3c8f173
|
7
|
+
data.tar.gz: ea7b129293da0c3d0d6a326d17de1e187afc3bdbe5a1ff42c73ab39467e1dc21955d58704efeba147cc005482b36324d4ce3c15223fa98a54c85d3059ea18d64
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.14.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.13.0 (2024-02-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds new CreateTemplate, UpdateTemplate and DeleteTemplate APIs.
|
13
|
+
|
4
14
|
1.12.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::MigrationHubOrchestrator
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::MigrationHubOrchestrator
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,57 +346,134 @@ module Aws::MigrationHubOrchestrator
|
|
337
346
|
# @option options [Aws::MigrationHubOrchestrator::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::MigrationHubOrchestrator::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
342
399
|
#
|
343
|
-
# @option options [
|
344
|
-
#
|
345
|
-
# `Timeout::Error`.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
346
402
|
#
|
347
|
-
# @option options [Float] :
|
348
|
-
#
|
349
|
-
# safely be set per-request on the session.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
350
405
|
#
|
351
|
-
# @option options [
|
352
|
-
#
|
353
|
-
# considered stale. Stale connections are closed and removed
|
354
|
-
# from the pool before making a request.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
355
408
|
#
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
#
|
361
|
-
|
409
|
+
def initialize(*args)
|
410
|
+
super
|
411
|
+
end
|
412
|
+
|
413
|
+
# @!group API Operations
|
414
|
+
|
415
|
+
# Creates a migration workflow template.
|
362
416
|
#
|
363
|
-
#
|
364
|
-
#
|
417
|
+
# @option params [required, String] :template_name
|
418
|
+
# The name of the migration workflow template.
|
365
419
|
#
|
366
|
-
#
|
367
|
-
#
|
420
|
+
# @option params [String] :template_description
|
421
|
+
# A description of the migration workflow template.
|
368
422
|
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
# connection.
|
423
|
+
# @option params [required, Types::TemplateSource] :template_source
|
424
|
+
# The source of the migration workflow template.
|
372
425
|
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
# will be used if available.
|
426
|
+
# @option params [String] :client_token
|
427
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
428
|
+
# idempotency of the request. For more information, see [Idempotency][1]
|
429
|
+
# in the Smithy documentation.
|
378
430
|
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
431
|
+
# **A suitable default value is auto-generated.** You should normally
|
432
|
+
# not need to pass this option.**
|
384
433
|
#
|
385
|
-
|
386
|
-
|
434
|
+
#
|
435
|
+
#
|
436
|
+
# [1]: https://smithy.io/2.0/spec/behavior-traits.html#idempotencytoken-trait
|
437
|
+
#
|
438
|
+
# @option params [Hash<String,String>] :tags
|
439
|
+
# The tags to add to the migration workflow template.
|
440
|
+
#
|
441
|
+
# @return [Types::CreateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
442
|
+
#
|
443
|
+
# * {Types::CreateTemplateResponse#template_id #template_id} => String
|
444
|
+
# * {Types::CreateTemplateResponse#template_arn #template_arn} => String
|
445
|
+
# * {Types::CreateTemplateResponse#tags #tags} => Hash<String,String>
|
446
|
+
#
|
447
|
+
# @example Request syntax with placeholder values
|
448
|
+
#
|
449
|
+
# resp = client.create_template({
|
450
|
+
# template_name: "CreateTemplateRequestTemplateNameString", # required
|
451
|
+
# template_description: "CreateTemplateRequestTemplateDescriptionString",
|
452
|
+
# template_source: { # required
|
453
|
+
# workflow_id: "MigrationWorkflowId",
|
454
|
+
# },
|
455
|
+
# client_token: "ClientToken",
|
456
|
+
# tags: {
|
457
|
+
# "TagKey" => "TagValue",
|
458
|
+
# },
|
459
|
+
# })
|
460
|
+
#
|
461
|
+
# @example Response structure
|
462
|
+
#
|
463
|
+
# resp.template_id #=> String
|
464
|
+
# resp.template_arn #=> String
|
465
|
+
# resp.tags #=> Hash
|
466
|
+
# resp.tags["StringMapKey"] #=> String
|
467
|
+
#
|
468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/CreateTemplate AWS API Documentation
|
469
|
+
#
|
470
|
+
# @overload create_template(params = {})
|
471
|
+
# @param [Hash] params ({})
|
472
|
+
def create_template(params = {}, options = {})
|
473
|
+
req = build_request(:create_template, params)
|
474
|
+
req.send_request(options)
|
387
475
|
end
|
388
476
|
|
389
|
-
# @!group API Operations
|
390
|
-
|
391
477
|
# Create a workflow to orchestrate your migrations.
|
392
478
|
#
|
393
479
|
# @option params [required, String] :name
|
@@ -399,7 +485,7 @@ module Aws::MigrationHubOrchestrator
|
|
399
485
|
# @option params [required, String] :template_id
|
400
486
|
# The ID of the template.
|
401
487
|
#
|
402
|
-
# @option params [
|
488
|
+
# @option params [String] :application_configuration_id
|
403
489
|
# The configuration ID of the application configured in Application
|
404
490
|
# Discovery Service.
|
405
491
|
#
|
@@ -432,7 +518,7 @@ module Aws::MigrationHubOrchestrator
|
|
432
518
|
# name: "CreateMigrationWorkflowRequestNameString", # required
|
433
519
|
# description: "CreateMigrationWorkflowRequestDescriptionString",
|
434
520
|
# template_id: "CreateMigrationWorkflowRequestTemplateIdString", # required
|
435
|
-
# application_configuration_id: "CreateMigrationWorkflowRequestApplicationConfigurationIdString",
|
521
|
+
# application_configuration_id: "CreateMigrationWorkflowRequestApplicationConfigurationIdString",
|
436
522
|
# input_parameters: { # required
|
437
523
|
# "StepInputParametersKey" => {
|
438
524
|
# integer_value: 1,
|
@@ -550,8 +636,8 @@ module Aws::MigrationHubOrchestrator
|
|
550
636
|
# required: false,
|
551
637
|
# value: {
|
552
638
|
# integer_value: 1,
|
553
|
-
# string_value: "
|
554
|
-
# list_of_string_value: ["
|
639
|
+
# string_value: "MaxStringValue",
|
640
|
+
# list_of_string_value: ["MaxStringValue"],
|
555
641
|
# },
|
556
642
|
# },
|
557
643
|
# ],
|
@@ -637,6 +723,28 @@ module Aws::MigrationHubOrchestrator
|
|
637
723
|
req.send_request(options)
|
638
724
|
end
|
639
725
|
|
726
|
+
# Deletes a migration workflow template.
|
727
|
+
#
|
728
|
+
# @option params [required, String] :id
|
729
|
+
# The ID of the request to delete a migration workflow template.
|
730
|
+
#
|
731
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
732
|
+
#
|
733
|
+
# @example Request syntax with placeholder values
|
734
|
+
#
|
735
|
+
# resp = client.delete_template({
|
736
|
+
# id: "TemplateId", # required
|
737
|
+
# })
|
738
|
+
#
|
739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/DeleteTemplate AWS API Documentation
|
740
|
+
#
|
741
|
+
# @overload delete_template(params = {})
|
742
|
+
# @param [Hash] params ({})
|
743
|
+
def delete_template(params = {}, options = {})
|
744
|
+
req = build_request(:delete_template, params)
|
745
|
+
req.send_request(options)
|
746
|
+
end
|
747
|
+
|
640
748
|
# Delete a migration workflow. You must pause a running workflow in
|
641
749
|
# Migration Hub Orchestrator console to delete it.
|
642
750
|
#
|
@@ -735,12 +843,17 @@ module Aws::MigrationHubOrchestrator
|
|
735
843
|
# @return [Types::GetMigrationWorkflowTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
736
844
|
#
|
737
845
|
# * {Types::GetMigrationWorkflowTemplateResponse#id #id} => String
|
846
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#template_arn #template_arn} => String
|
738
847
|
# * {Types::GetMigrationWorkflowTemplateResponse#name #name} => String
|
739
848
|
# * {Types::GetMigrationWorkflowTemplateResponse#description #description} => String
|
740
849
|
# * {Types::GetMigrationWorkflowTemplateResponse#inputs #inputs} => Array<Types::TemplateInput>
|
741
850
|
# * {Types::GetMigrationWorkflowTemplateResponse#tools #tools} => Array<Types::Tool>
|
742
|
-
# * {Types::GetMigrationWorkflowTemplateResponse#status #status} => String
|
743
851
|
# * {Types::GetMigrationWorkflowTemplateResponse#creation_time #creation_time} => Time
|
852
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#owner #owner} => String
|
853
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#status #status} => String
|
854
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#status_message #status_message} => String
|
855
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#template_class #template_class} => String
|
856
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#tags #tags} => Hash<String,String>
|
744
857
|
#
|
745
858
|
# @example Request syntax with placeholder values
|
746
859
|
#
|
@@ -751,6 +864,7 @@ module Aws::MigrationHubOrchestrator
|
|
751
864
|
# @example Response structure
|
752
865
|
#
|
753
866
|
# resp.id #=> String
|
867
|
+
# resp.template_arn #=> String
|
754
868
|
# resp.name #=> String
|
755
869
|
# resp.description #=> String
|
756
870
|
# resp.inputs #=> Array
|
@@ -760,8 +874,13 @@ module Aws::MigrationHubOrchestrator
|
|
760
874
|
# resp.tools #=> Array
|
761
875
|
# resp.tools[0].name #=> String
|
762
876
|
# resp.tools[0].url #=> String
|
763
|
-
# resp.status #=> String, one of "CREATED"
|
764
877
|
# resp.creation_time #=> Time
|
878
|
+
# resp.owner #=> String
|
879
|
+
# resp.status #=> String, one of "CREATED", "READY", "PENDING_CREATION", "CREATING", "CREATION_FAILED"
|
880
|
+
# resp.status_message #=> String
|
881
|
+
# resp.template_class #=> String
|
882
|
+
# resp.tags #=> Hash
|
883
|
+
# resp.tags["StringMapKey"] #=> String
|
765
884
|
#
|
766
885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/GetTemplate AWS API Documentation
|
767
886
|
#
|
@@ -974,7 +1093,7 @@ module Aws::MigrationHubOrchestrator
|
|
974
1093
|
# The ID of the migration workflow.
|
975
1094
|
#
|
976
1095
|
# @option params [required, String] :step_group_id
|
977
|
-
#
|
1096
|
+
# The ID of the step group.
|
978
1097
|
#
|
979
1098
|
# @option params [required, String] :id
|
980
1099
|
# The ID of the step.
|
@@ -1041,7 +1160,7 @@ module Aws::MigrationHubOrchestrator
|
|
1041
1160
|
# resp.previous[0] #=> String
|
1042
1161
|
# resp.next #=> Array
|
1043
1162
|
# resp.next[0] #=> String
|
1044
|
-
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1163
|
+
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1045
1164
|
# resp.status_message #=> String
|
1046
1165
|
# resp.script_output_location #=> String
|
1047
1166
|
# resp.creation_time #=> Time
|
@@ -1425,7 +1544,7 @@ module Aws::MigrationHubOrchestrator
|
|
1425
1544
|
# resp.workflow_steps_summary[0].previous[0] #=> String
|
1426
1545
|
# resp.workflow_steps_summary[0].next #=> Array
|
1427
1546
|
# resp.workflow_steps_summary[0].next[0] #=> String
|
1428
|
-
# resp.workflow_steps_summary[0].status #=> String, one of "AWAITING_DEPENDENCIES", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1547
|
+
# resp.workflow_steps_summary[0].status #=> String, one of "AWAITING_DEPENDENCIES", "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1429
1548
|
# resp.workflow_steps_summary[0].status_message #=> String
|
1430
1549
|
# resp.workflow_steps_summary[0].no_of_srv_completed #=> Integer
|
1431
1550
|
# resp.workflow_steps_summary[0].no_of_srv_failed #=> Integer
|
@@ -1536,7 +1655,7 @@ module Aws::MigrationHubOrchestrator
|
|
1536
1655
|
# resp.step_group_id #=> String
|
1537
1656
|
# resp.workflow_id #=> String
|
1538
1657
|
# resp.id #=> String
|
1539
|
-
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1658
|
+
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1540
1659
|
#
|
1541
1660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/RetryWorkflowStep AWS API Documentation
|
1542
1661
|
#
|
@@ -1676,6 +1795,55 @@ module Aws::MigrationHubOrchestrator
|
|
1676
1795
|
req.send_request(options)
|
1677
1796
|
end
|
1678
1797
|
|
1798
|
+
# Updates a migration workflow template.
|
1799
|
+
#
|
1800
|
+
# @option params [required, String] :id
|
1801
|
+
# The ID of the request to update a migration workflow template.
|
1802
|
+
#
|
1803
|
+
# @option params [String] :template_name
|
1804
|
+
# The name of the migration workflow template to update.
|
1805
|
+
#
|
1806
|
+
# @option params [String] :template_description
|
1807
|
+
# The description of the migration workflow template to update.
|
1808
|
+
#
|
1809
|
+
# @option params [String] :client_token
|
1810
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
1811
|
+
# idempotency of the request.
|
1812
|
+
#
|
1813
|
+
# **A suitable default value is auto-generated.** You should normally
|
1814
|
+
# not need to pass this option.**
|
1815
|
+
#
|
1816
|
+
# @return [Types::UpdateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1817
|
+
#
|
1818
|
+
# * {Types::UpdateTemplateResponse#template_id #template_id} => String
|
1819
|
+
# * {Types::UpdateTemplateResponse#template_arn #template_arn} => String
|
1820
|
+
# * {Types::UpdateTemplateResponse#tags #tags} => Hash<String,String>
|
1821
|
+
#
|
1822
|
+
# @example Request syntax with placeholder values
|
1823
|
+
#
|
1824
|
+
# resp = client.update_template({
|
1825
|
+
# id: "TemplateId", # required
|
1826
|
+
# template_name: "UpdateTemplateRequestTemplateNameString",
|
1827
|
+
# template_description: "UpdateTemplateRequestTemplateDescriptionString",
|
1828
|
+
# client_token: "ClientToken",
|
1829
|
+
# })
|
1830
|
+
#
|
1831
|
+
# @example Response structure
|
1832
|
+
#
|
1833
|
+
# resp.template_id #=> String
|
1834
|
+
# resp.template_arn #=> String
|
1835
|
+
# resp.tags #=> Hash
|
1836
|
+
# resp.tags["StringMapKey"] #=> String
|
1837
|
+
#
|
1838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/UpdateTemplate AWS API Documentation
|
1839
|
+
#
|
1840
|
+
# @overload update_template(params = {})
|
1841
|
+
# @param [Hash] params ({})
|
1842
|
+
def update_template(params = {}, options = {})
|
1843
|
+
req = build_request(:update_template, params)
|
1844
|
+
req.send_request(options)
|
1845
|
+
end
|
1846
|
+
|
1679
1847
|
# Update a migration workflow.
|
1680
1848
|
#
|
1681
1849
|
# @option params [required, String] :id
|
@@ -1836,14 +2004,14 @@ module Aws::MigrationHubOrchestrator
|
|
1836
2004
|
# required: false,
|
1837
2005
|
# value: {
|
1838
2006
|
# integer_value: 1,
|
1839
|
-
# string_value: "
|
1840
|
-
# list_of_string_value: ["
|
2007
|
+
# string_value: "MaxStringValue",
|
2008
|
+
# list_of_string_value: ["MaxStringValue"],
|
1841
2009
|
# },
|
1842
2010
|
# },
|
1843
2011
|
# ],
|
1844
2012
|
# previous: ["StringListMember"],
|
1845
2013
|
# next: ["StringListMember"],
|
1846
|
-
# status: "AWAITING_DEPENDENCIES", # accepts AWAITING_DEPENDENCIES, READY, IN_PROGRESS, COMPLETED, FAILED, PAUSED, USER_ATTENTION_REQUIRED
|
2014
|
+
# status: "AWAITING_DEPENDENCIES", # accepts AWAITING_DEPENDENCIES, SKIPPED, READY, IN_PROGRESS, COMPLETED, FAILED, PAUSED, USER_ATTENTION_REQUIRED
|
1847
2015
|
# })
|
1848
2016
|
#
|
1849
2017
|
# @example Response structure
|
@@ -1941,7 +2109,7 @@ module Aws::MigrationHubOrchestrator
|
|
1941
2109
|
params: params,
|
1942
2110
|
config: config)
|
1943
2111
|
context[:gem_name] = 'aws-sdk-migrationhuborchestrator'
|
1944
|
-
context[:gem_version] = '1.
|
2112
|
+
context[:gem_version] = '1.14.0'
|
1945
2113
|
Seahorse::Client::Request.new(handlers, context)
|
1946
2114
|
end
|
1947
2115
|
|