aws-sdk-migrationhuborchestrator 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhuborchestrator/client.rb +158 -14
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a247a863a8cb2eaf40450bee2f267b21d9435400d3fdd7a0f0cddafab3161e94
|
4
|
+
data.tar.gz: f16ac0b226c0136456c7140e715af9efe87c47ab295c6117babdda751ad80d1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 931ee78369a05351f32e9e613bddbf2af2fd6976b9959563b7020b9f5ad7e56c2a06d31bb8c0cdd2ff6ac94d2af91670b02c7c76f15a7a2b845f81fc8b366f9d
|
7
|
+
data.tar.gz: 4831ba76b9046349815a2d37221181bc68d80d2e00888d9d5cd6063afe5b18b81666ca8f29bb1af1566133b28459d0940c4717ebb937695e18b6b4c8be55ff03
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.13.0
|
@@ -388,6 +388,68 @@ module Aws::MigrationHubOrchestrator
|
|
388
388
|
|
389
389
|
# @!group API Operations
|
390
390
|
|
391
|
+
# Creates a migration workflow template.
|
392
|
+
#
|
393
|
+
# @option params [required, String] :template_name
|
394
|
+
# The name of the migration workflow template.
|
395
|
+
#
|
396
|
+
# @option params [String] :template_description
|
397
|
+
# A description of the migration workflow template.
|
398
|
+
#
|
399
|
+
# @option params [required, Types::TemplateSource] :template_source
|
400
|
+
# The source of the migration workflow template.
|
401
|
+
#
|
402
|
+
# @option params [String] :client_token
|
403
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
404
|
+
# idempotency of the request. For more information, see [Idempotency][1]
|
405
|
+
# in the Smithy documentation.
|
406
|
+
#
|
407
|
+
# **A suitable default value is auto-generated.** You should normally
|
408
|
+
# not need to pass this option.**
|
409
|
+
#
|
410
|
+
#
|
411
|
+
#
|
412
|
+
# [1]: https://smithy.io/2.0/spec/behavior-traits.html#idempotencytoken-trait
|
413
|
+
#
|
414
|
+
# @option params [Hash<String,String>] :tags
|
415
|
+
# The tags to add to the migration workflow template.
|
416
|
+
#
|
417
|
+
# @return [Types::CreateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
418
|
+
#
|
419
|
+
# * {Types::CreateTemplateResponse#template_id #template_id} => String
|
420
|
+
# * {Types::CreateTemplateResponse#template_arn #template_arn} => String
|
421
|
+
# * {Types::CreateTemplateResponse#tags #tags} => Hash<String,String>
|
422
|
+
#
|
423
|
+
# @example Request syntax with placeholder values
|
424
|
+
#
|
425
|
+
# resp = client.create_template({
|
426
|
+
# template_name: "CreateTemplateRequestTemplateNameString", # required
|
427
|
+
# template_description: "CreateTemplateRequestTemplateDescriptionString",
|
428
|
+
# template_source: { # required
|
429
|
+
# workflow_id: "MigrationWorkflowId",
|
430
|
+
# },
|
431
|
+
# client_token: "ClientToken",
|
432
|
+
# tags: {
|
433
|
+
# "TagKey" => "TagValue",
|
434
|
+
# },
|
435
|
+
# })
|
436
|
+
#
|
437
|
+
# @example Response structure
|
438
|
+
#
|
439
|
+
# resp.template_id #=> String
|
440
|
+
# resp.template_arn #=> String
|
441
|
+
# resp.tags #=> Hash
|
442
|
+
# resp.tags["StringMapKey"] #=> String
|
443
|
+
#
|
444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/CreateTemplate AWS API Documentation
|
445
|
+
#
|
446
|
+
# @overload create_template(params = {})
|
447
|
+
# @param [Hash] params ({})
|
448
|
+
def create_template(params = {}, options = {})
|
449
|
+
req = build_request(:create_template, params)
|
450
|
+
req.send_request(options)
|
451
|
+
end
|
452
|
+
|
391
453
|
# Create a workflow to orchestrate your migrations.
|
392
454
|
#
|
393
455
|
# @option params [required, String] :name
|
@@ -399,7 +461,7 @@ module Aws::MigrationHubOrchestrator
|
|
399
461
|
# @option params [required, String] :template_id
|
400
462
|
# The ID of the template.
|
401
463
|
#
|
402
|
-
# @option params [
|
464
|
+
# @option params [String] :application_configuration_id
|
403
465
|
# The configuration ID of the application configured in Application
|
404
466
|
# Discovery Service.
|
405
467
|
#
|
@@ -432,7 +494,7 @@ module Aws::MigrationHubOrchestrator
|
|
432
494
|
# name: "CreateMigrationWorkflowRequestNameString", # required
|
433
495
|
# description: "CreateMigrationWorkflowRequestDescriptionString",
|
434
496
|
# template_id: "CreateMigrationWorkflowRequestTemplateIdString", # required
|
435
|
-
# application_configuration_id: "CreateMigrationWorkflowRequestApplicationConfigurationIdString",
|
497
|
+
# application_configuration_id: "CreateMigrationWorkflowRequestApplicationConfigurationIdString",
|
436
498
|
# input_parameters: { # required
|
437
499
|
# "StepInputParametersKey" => {
|
438
500
|
# integer_value: 1,
|
@@ -550,8 +612,8 @@ module Aws::MigrationHubOrchestrator
|
|
550
612
|
# required: false,
|
551
613
|
# value: {
|
552
614
|
# integer_value: 1,
|
553
|
-
# string_value: "
|
554
|
-
# list_of_string_value: ["
|
615
|
+
# string_value: "MaxStringValue",
|
616
|
+
# list_of_string_value: ["MaxStringValue"],
|
555
617
|
# },
|
556
618
|
# },
|
557
619
|
# ],
|
@@ -637,6 +699,28 @@ module Aws::MigrationHubOrchestrator
|
|
637
699
|
req.send_request(options)
|
638
700
|
end
|
639
701
|
|
702
|
+
# Deletes a migration workflow template.
|
703
|
+
#
|
704
|
+
# @option params [required, String] :id
|
705
|
+
# The ID of the request to delete a migration workflow template.
|
706
|
+
#
|
707
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
708
|
+
#
|
709
|
+
# @example Request syntax with placeholder values
|
710
|
+
#
|
711
|
+
# resp = client.delete_template({
|
712
|
+
# id: "TemplateId", # required
|
713
|
+
# })
|
714
|
+
#
|
715
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/DeleteTemplate AWS API Documentation
|
716
|
+
#
|
717
|
+
# @overload delete_template(params = {})
|
718
|
+
# @param [Hash] params ({})
|
719
|
+
def delete_template(params = {}, options = {})
|
720
|
+
req = build_request(:delete_template, params)
|
721
|
+
req.send_request(options)
|
722
|
+
end
|
723
|
+
|
640
724
|
# Delete a migration workflow. You must pause a running workflow in
|
641
725
|
# Migration Hub Orchestrator console to delete it.
|
642
726
|
#
|
@@ -735,12 +819,17 @@ module Aws::MigrationHubOrchestrator
|
|
735
819
|
# @return [Types::GetMigrationWorkflowTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
736
820
|
#
|
737
821
|
# * {Types::GetMigrationWorkflowTemplateResponse#id #id} => String
|
822
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#template_arn #template_arn} => String
|
738
823
|
# * {Types::GetMigrationWorkflowTemplateResponse#name #name} => String
|
739
824
|
# * {Types::GetMigrationWorkflowTemplateResponse#description #description} => String
|
740
825
|
# * {Types::GetMigrationWorkflowTemplateResponse#inputs #inputs} => Array<Types::TemplateInput>
|
741
826
|
# * {Types::GetMigrationWorkflowTemplateResponse#tools #tools} => Array<Types::Tool>
|
742
|
-
# * {Types::GetMigrationWorkflowTemplateResponse#status #status} => String
|
743
827
|
# * {Types::GetMigrationWorkflowTemplateResponse#creation_time #creation_time} => Time
|
828
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#owner #owner} => String
|
829
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#status #status} => String
|
830
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#status_message #status_message} => String
|
831
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#template_class #template_class} => String
|
832
|
+
# * {Types::GetMigrationWorkflowTemplateResponse#tags #tags} => Hash<String,String>
|
744
833
|
#
|
745
834
|
# @example Request syntax with placeholder values
|
746
835
|
#
|
@@ -751,6 +840,7 @@ module Aws::MigrationHubOrchestrator
|
|
751
840
|
# @example Response structure
|
752
841
|
#
|
753
842
|
# resp.id #=> String
|
843
|
+
# resp.template_arn #=> String
|
754
844
|
# resp.name #=> String
|
755
845
|
# resp.description #=> String
|
756
846
|
# resp.inputs #=> Array
|
@@ -760,8 +850,13 @@ module Aws::MigrationHubOrchestrator
|
|
760
850
|
# resp.tools #=> Array
|
761
851
|
# resp.tools[0].name #=> String
|
762
852
|
# resp.tools[0].url #=> String
|
763
|
-
# resp.status #=> String, one of "CREATED"
|
764
853
|
# resp.creation_time #=> Time
|
854
|
+
# resp.owner #=> String
|
855
|
+
# resp.status #=> String, one of "CREATED", "READY", "PENDING_CREATION", "CREATING", "CREATION_FAILED"
|
856
|
+
# resp.status_message #=> String
|
857
|
+
# resp.template_class #=> String
|
858
|
+
# resp.tags #=> Hash
|
859
|
+
# resp.tags["StringMapKey"] #=> String
|
765
860
|
#
|
766
861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/GetTemplate AWS API Documentation
|
767
862
|
#
|
@@ -974,7 +1069,7 @@ module Aws::MigrationHubOrchestrator
|
|
974
1069
|
# The ID of the migration workflow.
|
975
1070
|
#
|
976
1071
|
# @option params [required, String] :step_group_id
|
977
|
-
#
|
1072
|
+
# The ID of the step group.
|
978
1073
|
#
|
979
1074
|
# @option params [required, String] :id
|
980
1075
|
# The ID of the step.
|
@@ -1041,7 +1136,7 @@ module Aws::MigrationHubOrchestrator
|
|
1041
1136
|
# resp.previous[0] #=> String
|
1042
1137
|
# resp.next #=> Array
|
1043
1138
|
# resp.next[0] #=> String
|
1044
|
-
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1139
|
+
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1045
1140
|
# resp.status_message #=> String
|
1046
1141
|
# resp.script_output_location #=> String
|
1047
1142
|
# resp.creation_time #=> Time
|
@@ -1425,7 +1520,7 @@ module Aws::MigrationHubOrchestrator
|
|
1425
1520
|
# resp.workflow_steps_summary[0].previous[0] #=> String
|
1426
1521
|
# resp.workflow_steps_summary[0].next #=> Array
|
1427
1522
|
# 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"
|
1523
|
+
# resp.workflow_steps_summary[0].status #=> String, one of "AWAITING_DEPENDENCIES", "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1429
1524
|
# resp.workflow_steps_summary[0].status_message #=> String
|
1430
1525
|
# resp.workflow_steps_summary[0].no_of_srv_completed #=> Integer
|
1431
1526
|
# resp.workflow_steps_summary[0].no_of_srv_failed #=> Integer
|
@@ -1536,7 +1631,7 @@ module Aws::MigrationHubOrchestrator
|
|
1536
1631
|
# resp.step_group_id #=> String
|
1537
1632
|
# resp.workflow_id #=> String
|
1538
1633
|
# resp.id #=> String
|
1539
|
-
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1634
|
+
# resp.status #=> String, one of "AWAITING_DEPENDENCIES", "SKIPPED", "READY", "IN_PROGRESS", "COMPLETED", "FAILED", "PAUSED", "USER_ATTENTION_REQUIRED"
|
1540
1635
|
#
|
1541
1636
|
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/RetryWorkflowStep AWS API Documentation
|
1542
1637
|
#
|
@@ -1676,6 +1771,55 @@ module Aws::MigrationHubOrchestrator
|
|
1676
1771
|
req.send_request(options)
|
1677
1772
|
end
|
1678
1773
|
|
1774
|
+
# Updates a migration workflow template.
|
1775
|
+
#
|
1776
|
+
# @option params [required, String] :id
|
1777
|
+
# The ID of the request to update a migration workflow template.
|
1778
|
+
#
|
1779
|
+
# @option params [String] :template_name
|
1780
|
+
# The name of the migration workflow template to update.
|
1781
|
+
#
|
1782
|
+
# @option params [String] :template_description
|
1783
|
+
# The description of the migration workflow template to update.
|
1784
|
+
#
|
1785
|
+
# @option params [String] :client_token
|
1786
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
1787
|
+
# idempotency of the request.
|
1788
|
+
#
|
1789
|
+
# **A suitable default value is auto-generated.** You should normally
|
1790
|
+
# not need to pass this option.**
|
1791
|
+
#
|
1792
|
+
# @return [Types::UpdateTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1793
|
+
#
|
1794
|
+
# * {Types::UpdateTemplateResponse#template_id #template_id} => String
|
1795
|
+
# * {Types::UpdateTemplateResponse#template_arn #template_arn} => String
|
1796
|
+
# * {Types::UpdateTemplateResponse#tags #tags} => Hash<String,String>
|
1797
|
+
#
|
1798
|
+
# @example Request syntax with placeholder values
|
1799
|
+
#
|
1800
|
+
# resp = client.update_template({
|
1801
|
+
# id: "TemplateId", # required
|
1802
|
+
# template_name: "UpdateTemplateRequestTemplateNameString",
|
1803
|
+
# template_description: "UpdateTemplateRequestTemplateDescriptionString",
|
1804
|
+
# client_token: "ClientToken",
|
1805
|
+
# })
|
1806
|
+
#
|
1807
|
+
# @example Response structure
|
1808
|
+
#
|
1809
|
+
# resp.template_id #=> String
|
1810
|
+
# resp.template_arn #=> String
|
1811
|
+
# resp.tags #=> Hash
|
1812
|
+
# resp.tags["StringMapKey"] #=> String
|
1813
|
+
#
|
1814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/UpdateTemplate AWS API Documentation
|
1815
|
+
#
|
1816
|
+
# @overload update_template(params = {})
|
1817
|
+
# @param [Hash] params ({})
|
1818
|
+
def update_template(params = {}, options = {})
|
1819
|
+
req = build_request(:update_template, params)
|
1820
|
+
req.send_request(options)
|
1821
|
+
end
|
1822
|
+
|
1679
1823
|
# Update a migration workflow.
|
1680
1824
|
#
|
1681
1825
|
# @option params [required, String] :id
|
@@ -1836,14 +1980,14 @@ module Aws::MigrationHubOrchestrator
|
|
1836
1980
|
# required: false,
|
1837
1981
|
# value: {
|
1838
1982
|
# integer_value: 1,
|
1839
|
-
# string_value: "
|
1840
|
-
# list_of_string_value: ["
|
1983
|
+
# string_value: "MaxStringValue",
|
1984
|
+
# list_of_string_value: ["MaxStringValue"],
|
1841
1985
|
# },
|
1842
1986
|
# },
|
1843
1987
|
# ],
|
1844
1988
|
# previous: ["StringListMember"],
|
1845
1989
|
# next: ["StringListMember"],
|
1846
|
-
# status: "AWAITING_DEPENDENCIES", # accepts AWAITING_DEPENDENCIES, READY, IN_PROGRESS, COMPLETED, FAILED, PAUSED, USER_ATTENTION_REQUIRED
|
1990
|
+
# status: "AWAITING_DEPENDENCIES", # accepts AWAITING_DEPENDENCIES, SKIPPED, READY, IN_PROGRESS, COMPLETED, FAILED, PAUSED, USER_ATTENTION_REQUIRED
|
1847
1991
|
# })
|
1848
1992
|
#
|
1849
1993
|
# @example Response structure
|
@@ -1941,7 +2085,7 @@ module Aws::MigrationHubOrchestrator
|
|
1941
2085
|
params: params,
|
1942
2086
|
config: config)
|
1943
2087
|
context[:gem_name] = 'aws-sdk-migrationhuborchestrator'
|
1944
|
-
context[:gem_version] = '1.
|
2088
|
+
context[:gem_version] = '1.13.0'
|
1945
2089
|
Seahorse::Client::Request.new(handlers, context)
|
1946
2090
|
end
|
1947
2091
|
|
@@ -16,12 +16,18 @@ module Aws::MigrationHubOrchestrator
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
ApplicationConfigurationName = Shapes::StringShape.new(name: 'ApplicationConfigurationName')
|
18
18
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
20
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
19
21
|
CreateMigrationWorkflowRequest = Shapes::StructureShape.new(name: 'CreateMigrationWorkflowRequest')
|
20
22
|
CreateMigrationWorkflowRequestApplicationConfigurationIdString = Shapes::StringShape.new(name: 'CreateMigrationWorkflowRequestApplicationConfigurationIdString')
|
21
23
|
CreateMigrationWorkflowRequestDescriptionString = Shapes::StringShape.new(name: 'CreateMigrationWorkflowRequestDescriptionString')
|
22
24
|
CreateMigrationWorkflowRequestNameString = Shapes::StringShape.new(name: 'CreateMigrationWorkflowRequestNameString')
|
23
25
|
CreateMigrationWorkflowRequestTemplateIdString = Shapes::StringShape.new(name: 'CreateMigrationWorkflowRequestTemplateIdString')
|
24
26
|
CreateMigrationWorkflowResponse = Shapes::StructureShape.new(name: 'CreateMigrationWorkflowResponse')
|
27
|
+
CreateTemplateRequest = Shapes::StructureShape.new(name: 'CreateTemplateRequest')
|
28
|
+
CreateTemplateRequestTemplateDescriptionString = Shapes::StringShape.new(name: 'CreateTemplateRequestTemplateDescriptionString')
|
29
|
+
CreateTemplateRequestTemplateNameString = Shapes::StringShape.new(name: 'CreateTemplateRequestTemplateNameString')
|
30
|
+
CreateTemplateResponse = Shapes::StructureShape.new(name: 'CreateTemplateResponse')
|
25
31
|
CreateWorkflowStepGroupRequest = Shapes::StructureShape.new(name: 'CreateWorkflowStepGroupRequest')
|
26
32
|
CreateWorkflowStepGroupResponse = Shapes::StructureShape.new(name: 'CreateWorkflowStepGroupResponse')
|
27
33
|
CreateWorkflowStepRequest = Shapes::StructureShape.new(name: 'CreateWorkflowStepRequest')
|
@@ -29,6 +35,8 @@ module Aws::MigrationHubOrchestrator
|
|
29
35
|
DataType = Shapes::StringShape.new(name: 'DataType')
|
30
36
|
DeleteMigrationWorkflowRequest = Shapes::StructureShape.new(name: 'DeleteMigrationWorkflowRequest')
|
31
37
|
DeleteMigrationWorkflowResponse = Shapes::StructureShape.new(name: 'DeleteMigrationWorkflowResponse')
|
38
|
+
DeleteTemplateRequest = Shapes::StructureShape.new(name: 'DeleteTemplateRequest')
|
39
|
+
DeleteTemplateResponse = Shapes::StructureShape.new(name: 'DeleteTemplateResponse')
|
32
40
|
DeleteWorkflowStepGroupRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowStepGroupRequest')
|
33
41
|
DeleteWorkflowStepGroupResponse = Shapes::StructureShape.new(name: 'DeleteWorkflowStepGroupResponse')
|
34
42
|
DeleteWorkflowStepRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowStepRequest')
|
@@ -66,6 +74,8 @@ module Aws::MigrationHubOrchestrator
|
|
66
74
|
ListWorkflowStepsRequest = Shapes::StructureShape.new(name: 'ListWorkflowStepsRequest')
|
67
75
|
ListWorkflowStepsResponse = Shapes::StructureShape.new(name: 'ListWorkflowStepsResponse')
|
68
76
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
77
|
+
MaxStringList = Shapes::ListShape.new(name: 'MaxStringList')
|
78
|
+
MaxStringValue = Shapes::StringShape.new(name: 'MaxStringValue')
|
69
79
|
MigrationWorkflowDescription = Shapes::StringShape.new(name: 'MigrationWorkflowDescription')
|
70
80
|
MigrationWorkflowId = Shapes::StringShape.new(name: 'MigrationWorkflowId')
|
71
81
|
MigrationWorkflowName = Shapes::StringShape.new(name: 'MigrationWorkflowName')
|
@@ -126,6 +136,7 @@ module Aws::MigrationHubOrchestrator
|
|
126
136
|
TemplateInputList = Shapes::ListShape.new(name: 'TemplateInputList')
|
127
137
|
TemplateInputName = Shapes::StringShape.new(name: 'TemplateInputName')
|
128
138
|
TemplateName = Shapes::StringShape.new(name: 'TemplateName')
|
139
|
+
TemplateSource = Shapes::UnionShape.new(name: 'TemplateSource')
|
129
140
|
TemplateStatus = Shapes::StringShape.new(name: 'TemplateStatus')
|
130
141
|
TemplateStepGroupSummary = Shapes::StructureShape.new(name: 'TemplateStepGroupSummary')
|
131
142
|
TemplateStepGroupSummaryList = Shapes::ListShape.new(name: 'TemplateStepGroupSummaryList')
|
@@ -143,6 +154,10 @@ module Aws::MigrationHubOrchestrator
|
|
143
154
|
UpdateMigrationWorkflowRequestDescriptionString = Shapes::StringShape.new(name: 'UpdateMigrationWorkflowRequestDescriptionString')
|
144
155
|
UpdateMigrationWorkflowRequestNameString = Shapes::StringShape.new(name: 'UpdateMigrationWorkflowRequestNameString')
|
145
156
|
UpdateMigrationWorkflowResponse = Shapes::StructureShape.new(name: 'UpdateMigrationWorkflowResponse')
|
157
|
+
UpdateTemplateRequest = Shapes::StructureShape.new(name: 'UpdateTemplateRequest')
|
158
|
+
UpdateTemplateRequestTemplateDescriptionString = Shapes::StringShape.new(name: 'UpdateTemplateRequestTemplateDescriptionString')
|
159
|
+
UpdateTemplateRequestTemplateNameString = Shapes::StringShape.new(name: 'UpdateTemplateRequestTemplateNameString')
|
160
|
+
UpdateTemplateResponse = Shapes::StructureShape.new(name: 'UpdateTemplateResponse')
|
146
161
|
UpdateWorkflowStepGroupRequest = Shapes::StructureShape.new(name: 'UpdateWorkflowStepGroupRequest')
|
147
162
|
UpdateWorkflowStepGroupResponse = Shapes::StructureShape.new(name: 'UpdateWorkflowStepGroupResponse')
|
148
163
|
UpdateWorkflowStepRequest = Shapes::StructureShape.new(name: 'UpdateWorkflowStepRequest')
|
@@ -161,10 +176,13 @@ module Aws::MigrationHubOrchestrator
|
|
161
176
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
162
177
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
163
178
|
|
179
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
180
|
+
ConflictException.struct_class = Types::ConflictException
|
181
|
+
|
164
182
|
CreateMigrationWorkflowRequest.add_member(:name, Shapes::ShapeRef.new(shape: CreateMigrationWorkflowRequestNameString, required: true, location_name: "name"))
|
165
183
|
CreateMigrationWorkflowRequest.add_member(:description, Shapes::ShapeRef.new(shape: CreateMigrationWorkflowRequestDescriptionString, location_name: "description"))
|
166
184
|
CreateMigrationWorkflowRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: CreateMigrationWorkflowRequestTemplateIdString, required: true, location_name: "templateId"))
|
167
|
-
CreateMigrationWorkflowRequest.add_member(:application_configuration_id, Shapes::ShapeRef.new(shape: CreateMigrationWorkflowRequestApplicationConfigurationIdString,
|
185
|
+
CreateMigrationWorkflowRequest.add_member(:application_configuration_id, Shapes::ShapeRef.new(shape: CreateMigrationWorkflowRequestApplicationConfigurationIdString, location_name: "applicationConfigurationId"))
|
168
186
|
CreateMigrationWorkflowRequest.add_member(:input_parameters, Shapes::ShapeRef.new(shape: StepInputParameters, required: true, location_name: "inputParameters"))
|
169
187
|
CreateMigrationWorkflowRequest.add_member(:step_targets, Shapes::ShapeRef.new(shape: StringList, location_name: "stepTargets"))
|
170
188
|
CreateMigrationWorkflowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: StringMap, location_name: "tags"))
|
@@ -183,6 +201,18 @@ module Aws::MigrationHubOrchestrator
|
|
183
201
|
CreateMigrationWorkflowResponse.add_member(:tags, Shapes::ShapeRef.new(shape: StringMap, location_name: "tags"))
|
184
202
|
CreateMigrationWorkflowResponse.struct_class = Types::CreateMigrationWorkflowResponse
|
185
203
|
|
204
|
+
CreateTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: CreateTemplateRequestTemplateNameString, required: true, location_name: "templateName"))
|
205
|
+
CreateTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: CreateTemplateRequestTemplateDescriptionString, location_name: "templateDescription"))
|
206
|
+
CreateTemplateRequest.add_member(:template_source, Shapes::ShapeRef.new(shape: TemplateSource, required: true, location_name: "templateSource"))
|
207
|
+
CreateTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
208
|
+
CreateTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
209
|
+
CreateTemplateRequest.struct_class = Types::CreateTemplateRequest
|
210
|
+
|
211
|
+
CreateTemplateResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: String, location_name: "templateId"))
|
212
|
+
CreateTemplateResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: String, location_name: "templateArn"))
|
213
|
+
CreateTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: StringMap, location_name: "tags"))
|
214
|
+
CreateTemplateResponse.struct_class = Types::CreateTemplateResponse
|
215
|
+
|
186
216
|
CreateWorkflowStepGroupRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: MigrationWorkflowId, required: true, location_name: "workflowId"))
|
187
217
|
CreateWorkflowStepGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: StepGroupName, required: true, location_name: "name"))
|
188
218
|
CreateWorkflowStepGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: StepGroupDescription, location_name: "description"))
|
@@ -226,6 +256,11 @@ module Aws::MigrationHubOrchestrator
|
|
226
256
|
DeleteMigrationWorkflowResponse.add_member(:status, Shapes::ShapeRef.new(shape: MigrationWorkflowStatusEnum, location_name: "status"))
|
227
257
|
DeleteMigrationWorkflowResponse.struct_class = Types::DeleteMigrationWorkflowResponse
|
228
258
|
|
259
|
+
DeleteTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "id"))
|
260
|
+
DeleteTemplateRequest.struct_class = Types::DeleteTemplateRequest
|
261
|
+
|
262
|
+
DeleteTemplateResponse.struct_class = Types::DeleteTemplateResponse
|
263
|
+
|
229
264
|
DeleteWorkflowStepGroupRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: MigrationWorkflowId, required: true, location: "querystring", location_name: "workflowId"))
|
230
265
|
DeleteWorkflowStepGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: StepGroupId, required: true, location: "uri", location_name: "id"))
|
231
266
|
DeleteWorkflowStepGroupRequest.struct_class = Types::DeleteWorkflowStepGroupRequest
|
@@ -268,12 +303,17 @@ module Aws::MigrationHubOrchestrator
|
|
268
303
|
GetMigrationWorkflowTemplateRequest.struct_class = Types::GetMigrationWorkflowTemplateRequest
|
269
304
|
|
270
305
|
GetMigrationWorkflowTemplateResponse.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
306
|
+
GetMigrationWorkflowTemplateResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: String, location_name: "templateArn"))
|
271
307
|
GetMigrationWorkflowTemplateResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
272
308
|
GetMigrationWorkflowTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
273
309
|
GetMigrationWorkflowTemplateResponse.add_member(:inputs, Shapes::ShapeRef.new(shape: TemplateInputList, location_name: "inputs"))
|
274
310
|
GetMigrationWorkflowTemplateResponse.add_member(:tools, Shapes::ShapeRef.new(shape: ToolsList, location_name: "tools"))
|
275
|
-
GetMigrationWorkflowTemplateResponse.add_member(:status, Shapes::ShapeRef.new(shape: TemplateStatus, location_name: "status"))
|
276
311
|
GetMigrationWorkflowTemplateResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationTime"))
|
312
|
+
GetMigrationWorkflowTemplateResponse.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "owner"))
|
313
|
+
GetMigrationWorkflowTemplateResponse.add_member(:status, Shapes::ShapeRef.new(shape: TemplateStatus, location_name: "status"))
|
314
|
+
GetMigrationWorkflowTemplateResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
315
|
+
GetMigrationWorkflowTemplateResponse.add_member(:template_class, Shapes::ShapeRef.new(shape: String, location_name: "templateClass"))
|
316
|
+
GetMigrationWorkflowTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: StringMap, location_name: "tags"))
|
277
317
|
GetMigrationWorkflowTemplateResponse.struct_class = Types::GetMigrationWorkflowTemplateResponse
|
278
318
|
|
279
319
|
GetTemplateStepGroupRequest.add_member(:template_id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "templateId"))
|
@@ -434,6 +474,8 @@ module Aws::MigrationHubOrchestrator
|
|
434
474
|
ListWorkflowStepsResponse.add_member(:workflow_steps_summary, Shapes::ShapeRef.new(shape: WorkflowStepsSummaryList, required: true, location_name: "workflowStepsSummary"))
|
435
475
|
ListWorkflowStepsResponse.struct_class = Types::ListWorkflowStepsResponse
|
436
476
|
|
477
|
+
MaxStringList.member = Shapes::ShapeRef.new(shape: MaxStringValue)
|
478
|
+
|
437
479
|
MigrationWorkflowSummary.add_member(:id, Shapes::ShapeRef.new(shape: MigrationWorkflowId, location_name: "id"))
|
438
480
|
MigrationWorkflowSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
439
481
|
MigrationWorkflowSummary.add_member(:template_id, Shapes::ShapeRef.new(shape: String, location_name: "templateId"))
|
@@ -497,7 +539,7 @@ module Aws::MigrationHubOrchestrator
|
|
497
539
|
StepAutomationConfiguration.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, location_name: "targetType"))
|
498
540
|
StepAutomationConfiguration.struct_class = Types::StepAutomationConfiguration
|
499
541
|
|
500
|
-
StepInput.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "integerValue"
|
542
|
+
StepInput.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "integerValue"))
|
501
543
|
StepInput.add_member(:string_value, Shapes::ShapeRef.new(shape: StringValue, location_name: "stringValue"))
|
502
544
|
StepInput.add_member(:list_of_strings_value, Shapes::ShapeRef.new(shape: StringList, location_name: "listOfStringsValue"))
|
503
545
|
StepInput.add_member(:map_of_string_value, Shapes::ShapeRef.new(shape: StringMap, location_name: "mapOfStringValue"))
|
@@ -552,6 +594,12 @@ module Aws::MigrationHubOrchestrator
|
|
552
594
|
|
553
595
|
TemplateInputList.member = Shapes::ShapeRef.new(shape: TemplateInput)
|
554
596
|
|
597
|
+
TemplateSource.add_member(:workflow_id, Shapes::ShapeRef.new(shape: MigrationWorkflowId, location_name: "workflowId"))
|
598
|
+
TemplateSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
599
|
+
TemplateSource.add_member_subclass(:workflow_id, Types::TemplateSource::WorkflowId)
|
600
|
+
TemplateSource.add_member_subclass(:unknown, Types::TemplateSource::Unknown)
|
601
|
+
TemplateSource.struct_class = Types::TemplateSource
|
602
|
+
|
555
603
|
TemplateStepGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
556
604
|
TemplateStepGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
557
605
|
TemplateStepGroupSummary.add_member(:previous, Shapes::ShapeRef.new(shape: StringList, location_name: "previous"))
|
@@ -617,6 +665,17 @@ module Aws::MigrationHubOrchestrator
|
|
617
665
|
UpdateMigrationWorkflowResponse.add_member(:tags, Shapes::ShapeRef.new(shape: StringMap, location_name: "tags"))
|
618
666
|
UpdateMigrationWorkflowResponse.struct_class = Types::UpdateMigrationWorkflowResponse
|
619
667
|
|
668
|
+
UpdateTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: TemplateId, required: true, location: "uri", location_name: "id"))
|
669
|
+
UpdateTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: UpdateTemplateRequestTemplateNameString, location_name: "templateName"))
|
670
|
+
UpdateTemplateRequest.add_member(:template_description, Shapes::ShapeRef.new(shape: UpdateTemplateRequestTemplateDescriptionString, location_name: "templateDescription"))
|
671
|
+
UpdateTemplateRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
672
|
+
UpdateTemplateRequest.struct_class = Types::UpdateTemplateRequest
|
673
|
+
|
674
|
+
UpdateTemplateResponse.add_member(:template_id, Shapes::ShapeRef.new(shape: String, location_name: "templateId"))
|
675
|
+
UpdateTemplateResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: String, location_name: "templateArn"))
|
676
|
+
UpdateTemplateResponse.add_member(:tags, Shapes::ShapeRef.new(shape: StringMap, location_name: "tags"))
|
677
|
+
UpdateTemplateResponse.struct_class = Types::UpdateTemplateResponse
|
678
|
+
|
620
679
|
UpdateWorkflowStepGroupRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: MigrationWorkflowId, required: true, location: "querystring", location_name: "workflowId"))
|
621
680
|
UpdateWorkflowStepGroupRequest.add_member(:id, Shapes::ShapeRef.new(shape: StepGroupId, required: true, location: "uri", location_name: "id"))
|
622
681
|
UpdateWorkflowStepGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: StepGroupName, location_name: "name"))
|
@@ -683,9 +742,9 @@ module Aws::MigrationHubOrchestrator
|
|
683
742
|
|
684
743
|
WorkflowStepOutputList.member = Shapes::ShapeRef.new(shape: WorkflowStepOutput)
|
685
744
|
|
686
|
-
WorkflowStepOutputUnion.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "integerValue"
|
687
|
-
WorkflowStepOutputUnion.add_member(:string_value, Shapes::ShapeRef.new(shape:
|
688
|
-
WorkflowStepOutputUnion.add_member(:list_of_string_value, Shapes::ShapeRef.new(shape:
|
745
|
+
WorkflowStepOutputUnion.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "integerValue"))
|
746
|
+
WorkflowStepOutputUnion.add_member(:string_value, Shapes::ShapeRef.new(shape: MaxStringValue, location_name: "stringValue"))
|
747
|
+
WorkflowStepOutputUnion.add_member(:list_of_string_value, Shapes::ShapeRef.new(shape: MaxStringList, location_name: "listOfStringValue"))
|
689
748
|
WorkflowStepOutputUnion.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
690
749
|
WorkflowStepOutputUnion.add_member_subclass(:integer_value, Types::WorkflowStepOutputUnion::IntegerValue)
|
691
750
|
WorkflowStepOutputUnion.add_member_subclass(:string_value, Types::WorkflowStepOutputUnion::StringValue)
|
@@ -728,6 +787,19 @@ module Aws::MigrationHubOrchestrator
|
|
728
787
|
"uid" => "migrationhuborchestrator-2021-08-28",
|
729
788
|
}
|
730
789
|
|
790
|
+
api.add_operation(:create_template, Seahorse::Model::Operation.new.tap do |o|
|
791
|
+
o.name = "CreateTemplate"
|
792
|
+
o.http_method = "POST"
|
793
|
+
o.http_request_uri = "/template"
|
794
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTemplateRequest)
|
795
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTemplateResponse)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
801
|
+
end)
|
802
|
+
|
731
803
|
api.add_operation(:create_workflow, Seahorse::Model::Operation.new.tap do |o|
|
732
804
|
o.name = "CreateWorkflow"
|
733
805
|
o.http_method = "POST"
|
@@ -764,6 +836,19 @@ module Aws::MigrationHubOrchestrator
|
|
764
836
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
765
837
|
end)
|
766
838
|
|
839
|
+
api.add_operation(:delete_template, Seahorse::Model::Operation.new.tap do |o|
|
840
|
+
o.name = "DeleteTemplate"
|
841
|
+
o.http_method = "DELETE"
|
842
|
+
o.http_request_uri = "/template/{id}"
|
843
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTemplateRequest)
|
844
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTemplateResponse)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
850
|
+
end)
|
851
|
+
|
767
852
|
api.add_operation(:delete_workflow, Seahorse::Model::Operation.new.tap do |o|
|
768
853
|
o.name = "DeleteWorkflow"
|
769
854
|
o.http_method = "DELETE"
|
@@ -1074,6 +1159,19 @@ module Aws::MigrationHubOrchestrator
|
|
1074
1159
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1075
1160
|
end)
|
1076
1161
|
|
1162
|
+
api.add_operation(:update_template, Seahorse::Model::Operation.new.tap do |o|
|
1163
|
+
o.name = "UpdateTemplate"
|
1164
|
+
o.http_method = "POST"
|
1165
|
+
o.http_request_uri = "/template/{id}"
|
1166
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTemplateRequest)
|
1167
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTemplateResponse)
|
1168
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1169
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1170
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1171
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1173
|
+
end)
|
1174
|
+
|
1077
1175
|
api.add_operation(:update_workflow, Seahorse::Model::Operation.new.tap do |o|
|
1078
1176
|
o.name = "UpdateWorkflow"
|
1079
1177
|
o.http_method = "POST"
|
@@ -32,7 +32,7 @@ module Aws::MigrationHubOrchestrator
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://migrationhub-orchestrator-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -12,6 +12,20 @@ module Aws::MigrationHubOrchestrator
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class CreateTemplate
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::MigrationHubOrchestrator::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
15
29
|
class CreateWorkflow
|
16
30
|
def self.build(context)
|
17
31
|
unless context.config.regional_endpoint
|
@@ -54,6 +68,20 @@ module Aws::MigrationHubOrchestrator
|
|
54
68
|
end
|
55
69
|
end
|
56
70
|
|
71
|
+
class DeleteTemplate
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::MigrationHubOrchestrator::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
57
85
|
class DeleteWorkflow
|
58
86
|
def self.build(context)
|
59
87
|
unless context.config.regional_endpoint
|
@@ -362,6 +390,20 @@ module Aws::MigrationHubOrchestrator
|
|
362
390
|
end
|
363
391
|
end
|
364
392
|
|
393
|
+
class UpdateTemplate
|
394
|
+
def self.build(context)
|
395
|
+
unless context.config.regional_endpoint
|
396
|
+
endpoint = context.config.endpoint.to_s
|
397
|
+
end
|
398
|
+
Aws::MigrationHubOrchestrator::EndpointParameters.new(
|
399
|
+
region: context.config.region,
|
400
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
401
|
+
use_fips: context.config.use_fips_endpoint,
|
402
|
+
endpoint: endpoint,
|
403
|
+
)
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
365
407
|
class UpdateWorkflow
|
366
408
|
def self.build(context)
|
367
409
|
unless context.config.regional_endpoint
|
@@ -28,6 +28,7 @@ module Aws::MigrationHubOrchestrator
|
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
30
|
# * {AccessDeniedException}
|
31
|
+
# * {ConflictException}
|
31
32
|
# * {InternalServerException}
|
32
33
|
# * {ResourceNotFoundException}
|
33
34
|
# * {ThrottlingException}
|
@@ -58,6 +59,25 @@ module Aws::MigrationHubOrchestrator
|
|
58
59
|
end
|
59
60
|
end
|
60
61
|
|
62
|
+
class ConflictException < ServiceError
|
63
|
+
|
64
|
+
# @param [Seahorse::Client::RequestContext] context
|
65
|
+
# @param [String] message
|
66
|
+
# @param [Aws::MigrationHubOrchestrator::Types::ConflictException] data
|
67
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
68
|
+
super(context, message, data)
|
69
|
+
end
|
70
|
+
|
71
|
+
# @return [String]
|
72
|
+
def message
|
73
|
+
@message || @data[:message]
|
74
|
+
end
|
75
|
+
|
76
|
+
def retryable?
|
77
|
+
true
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
61
81
|
class InternalServerException < ServiceError
|
62
82
|
|
63
83
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -58,12 +58,16 @@ module Aws::MigrationHubOrchestrator
|
|
58
58
|
|
59
59
|
def parameters_for_operation(context)
|
60
60
|
case context.operation_name
|
61
|
+
when :create_template
|
62
|
+
Aws::MigrationHubOrchestrator::Endpoints::CreateTemplate.build(context)
|
61
63
|
when :create_workflow
|
62
64
|
Aws::MigrationHubOrchestrator::Endpoints::CreateWorkflow.build(context)
|
63
65
|
when :create_workflow_step
|
64
66
|
Aws::MigrationHubOrchestrator::Endpoints::CreateWorkflowStep.build(context)
|
65
67
|
when :create_workflow_step_group
|
66
68
|
Aws::MigrationHubOrchestrator::Endpoints::CreateWorkflowStepGroup.build(context)
|
69
|
+
when :delete_template
|
70
|
+
Aws::MigrationHubOrchestrator::Endpoints::DeleteTemplate.build(context)
|
67
71
|
when :delete_workflow
|
68
72
|
Aws::MigrationHubOrchestrator::Endpoints::DeleteWorkflow.build(context)
|
69
73
|
when :delete_workflow_step
|
@@ -108,6 +112,8 @@ module Aws::MigrationHubOrchestrator
|
|
108
112
|
Aws::MigrationHubOrchestrator::Endpoints::TagResource.build(context)
|
109
113
|
when :untag_resource
|
110
114
|
Aws::MigrationHubOrchestrator::Endpoints::UntagResource.build(context)
|
115
|
+
when :update_template
|
116
|
+
Aws::MigrationHubOrchestrator::Endpoints::UpdateTemplate.build(context)
|
111
117
|
when :update_workflow
|
112
118
|
Aws::MigrationHubOrchestrator::Endpoints::UpdateWorkflow.build(context)
|
113
119
|
when :update_workflow_step
|
@@ -23,6 +23,20 @@ module Aws::MigrationHubOrchestrator
|
|
23
23
|
include Aws::Structure
|
24
24
|
end
|
25
25
|
|
26
|
+
# This exception is thrown when an attempt to update or delete a
|
27
|
+
# resource would cause an inconsistent state.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] message
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/ConflictException AWS API Documentation
|
33
|
+
#
|
34
|
+
class ConflictException < Struct.new(
|
35
|
+
:message)
|
36
|
+
SENSITIVE = []
|
37
|
+
include Aws::Structure
|
38
|
+
end
|
39
|
+
|
26
40
|
# @!attribute [rw] name
|
27
41
|
# The name of the migration workflow.
|
28
42
|
# @return [String]
|
@@ -129,6 +143,77 @@ module Aws::MigrationHubOrchestrator
|
|
129
143
|
include Aws::Structure
|
130
144
|
end
|
131
145
|
|
146
|
+
# @!attribute [rw] template_name
|
147
|
+
# The name of the migration workflow template.
|
148
|
+
# @return [String]
|
149
|
+
#
|
150
|
+
# @!attribute [rw] template_description
|
151
|
+
# A description of the migration workflow template.
|
152
|
+
# @return [String]
|
153
|
+
#
|
154
|
+
# @!attribute [rw] template_source
|
155
|
+
# The source of the migration workflow template.
|
156
|
+
# @return [Types::TemplateSource]
|
157
|
+
#
|
158
|
+
# @!attribute [rw] client_token
|
159
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
160
|
+
# idempotency of the request. For more information, see
|
161
|
+
# [Idempotency][1] in the Smithy documentation.
|
162
|
+
#
|
163
|
+
# **A suitable default value is auto-generated.** You should normally
|
164
|
+
# not need to pass this option.
|
165
|
+
#
|
166
|
+
#
|
167
|
+
#
|
168
|
+
# [1]: https://smithy.io/2.0/spec/behavior-traits.html#idempotencytoken-trait
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
# @!attribute [rw] tags
|
172
|
+
# The tags to add to the migration workflow template.
|
173
|
+
# @return [Hash<String,String>]
|
174
|
+
#
|
175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/CreateTemplateRequest AWS API Documentation
|
176
|
+
#
|
177
|
+
class CreateTemplateRequest < Struct.new(
|
178
|
+
:template_name,
|
179
|
+
:template_description,
|
180
|
+
:template_source,
|
181
|
+
:client_token,
|
182
|
+
:tags)
|
183
|
+
SENSITIVE = []
|
184
|
+
include Aws::Structure
|
185
|
+
end
|
186
|
+
|
187
|
+
# @!attribute [rw] template_id
|
188
|
+
# The ID of the migration workflow template.
|
189
|
+
# @return [String]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] template_arn
|
192
|
+
# The Amazon Resource Name (ARN) of the migration workflow template.
|
193
|
+
# The format for an Migration Hub Orchestrator template ARN is
|
194
|
+
# `arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234`.
|
195
|
+
# For more information about ARNs, see [Amazon Resource Names
|
196
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
197
|
+
#
|
198
|
+
#
|
199
|
+
#
|
200
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html
|
201
|
+
# @return [String]
|
202
|
+
#
|
203
|
+
# @!attribute [rw] tags
|
204
|
+
# The tags added to the migration workflow template.
|
205
|
+
# @return [Hash<String,String>]
|
206
|
+
#
|
207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/CreateTemplateResponse AWS API Documentation
|
208
|
+
#
|
209
|
+
class CreateTemplateResponse < Struct.new(
|
210
|
+
:template_id,
|
211
|
+
:template_arn,
|
212
|
+
:tags)
|
213
|
+
SENSITIVE = []
|
214
|
+
include Aws::Structure
|
215
|
+
end
|
216
|
+
|
132
217
|
# @!attribute [rw] workflow_id
|
133
218
|
# The ID of the migration workflow that will contain the step group.
|
134
219
|
# @return [String]
|
@@ -328,6 +413,22 @@ module Aws::MigrationHubOrchestrator
|
|
328
413
|
include Aws::Structure
|
329
414
|
end
|
330
415
|
|
416
|
+
# @!attribute [rw] id
|
417
|
+
# The ID of the request to delete a migration workflow template.
|
418
|
+
# @return [String]
|
419
|
+
#
|
420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/DeleteTemplateRequest AWS API Documentation
|
421
|
+
#
|
422
|
+
class DeleteTemplateRequest < Struct.new(
|
423
|
+
:id)
|
424
|
+
SENSITIVE = []
|
425
|
+
include Aws::Structure
|
426
|
+
end
|
427
|
+
|
428
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/DeleteTemplateResponse AWS API Documentation
|
429
|
+
#
|
430
|
+
class DeleteTemplateResponse < Aws::EmptyStructure; end
|
431
|
+
|
331
432
|
# @!attribute [rw] workflow_id
|
332
433
|
# The ID of the migration workflow.
|
333
434
|
# @return [String]
|
@@ -512,6 +613,19 @@ module Aws::MigrationHubOrchestrator
|
|
512
613
|
# The ID of the template.
|
513
614
|
# @return [String]
|
514
615
|
#
|
616
|
+
# @!attribute [rw] template_arn
|
617
|
+
# >The Amazon Resource Name (ARN) of the migration workflow
|
618
|
+
# template. The format for an Migration Hub Orchestrator template ARN
|
619
|
+
# is
|
620
|
+
# `arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234`.
|
621
|
+
# For more information about ARNs, see [Amazon Resource Names
|
622
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
623
|
+
#
|
624
|
+
#
|
625
|
+
#
|
626
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html
|
627
|
+
# @return [String]
|
628
|
+
#
|
515
629
|
# @!attribute [rw] name
|
516
630
|
# The name of the template.
|
517
631
|
# @return [String]
|
@@ -528,24 +642,58 @@ module Aws::MigrationHubOrchestrator
|
|
528
642
|
# List of AWS services utilized in a migration workflow.
|
529
643
|
# @return [Array<Types::Tool>]
|
530
644
|
#
|
645
|
+
# @!attribute [rw] creation_time
|
646
|
+
# The time at which the template was last created.
|
647
|
+
# @return [Time]
|
648
|
+
#
|
649
|
+
# @!attribute [rw] owner
|
650
|
+
# The owner of the migration workflow template.
|
651
|
+
# @return [String]
|
652
|
+
#
|
531
653
|
# @!attribute [rw] status
|
532
654
|
# The status of the template.
|
533
655
|
# @return [String]
|
534
656
|
#
|
535
|
-
# @!attribute [rw]
|
536
|
-
# The
|
537
|
-
# @return [
|
657
|
+
# @!attribute [rw] status_message
|
658
|
+
# The status message of retrieving migration workflow templates.
|
659
|
+
# @return [String]
|
660
|
+
#
|
661
|
+
# @!attribute [rw] template_class
|
662
|
+
# The class of the migration workflow template. The available template
|
663
|
+
# classes are:
|
664
|
+
#
|
665
|
+
# * A2C
|
666
|
+
#
|
667
|
+
# * MGN
|
668
|
+
#
|
669
|
+
# * SAP\_MULTI
|
670
|
+
#
|
671
|
+
# * SQL\_EC2
|
672
|
+
#
|
673
|
+
# * SQL\_RDS
|
674
|
+
#
|
675
|
+
# * VMIE
|
676
|
+
# @return [String]
|
677
|
+
#
|
678
|
+
# @!attribute [rw] tags
|
679
|
+
# The tags added to the migration workflow template.
|
680
|
+
# @return [Hash<String,String>]
|
538
681
|
#
|
539
682
|
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/GetMigrationWorkflowTemplateResponse AWS API Documentation
|
540
683
|
#
|
541
684
|
class GetMigrationWorkflowTemplateResponse < Struct.new(
|
542
685
|
:id,
|
686
|
+
:template_arn,
|
543
687
|
:name,
|
544
688
|
:description,
|
545
689
|
:inputs,
|
546
690
|
:tools,
|
691
|
+
:creation_time,
|
692
|
+
:owner,
|
547
693
|
:status,
|
548
|
-
:
|
694
|
+
:status_message,
|
695
|
+
:template_class,
|
696
|
+
:tags)
|
549
697
|
SENSITIVE = []
|
550
698
|
include Aws::Structure
|
551
699
|
end
|
@@ -799,7 +947,7 @@ module Aws::MigrationHubOrchestrator
|
|
799
947
|
# @return [String]
|
800
948
|
#
|
801
949
|
# @!attribute [rw] step_group_id
|
802
|
-
#
|
950
|
+
# The ID of the step group.
|
803
951
|
# @return [String]
|
804
952
|
#
|
805
953
|
# @!attribute [rw] id
|
@@ -1696,6 +1844,28 @@ module Aws::MigrationHubOrchestrator
|
|
1696
1844
|
include Aws::Structure
|
1697
1845
|
end
|
1698
1846
|
|
1847
|
+
# The migration workflow template used as the source for the new
|
1848
|
+
# template.
|
1849
|
+
#
|
1850
|
+
# @note TemplateSource is a union - when making an API calls you must set exactly one of the members.
|
1851
|
+
#
|
1852
|
+
# @!attribute [rw] workflow_id
|
1853
|
+
# The ID of the workflow from the source migration workflow template.
|
1854
|
+
# @return [String]
|
1855
|
+
#
|
1856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/TemplateSource AWS API Documentation
|
1857
|
+
#
|
1858
|
+
class TemplateSource < Struct.new(
|
1859
|
+
:workflow_id,
|
1860
|
+
:unknown)
|
1861
|
+
SENSITIVE = []
|
1862
|
+
include Aws::Structure
|
1863
|
+
include Aws::Structure::Union
|
1864
|
+
|
1865
|
+
class WorkflowId < TemplateSource; end
|
1866
|
+
class Unknown < TemplateSource; end
|
1867
|
+
end
|
1868
|
+
|
1699
1869
|
# The summary of the step group in the template.
|
1700
1870
|
#
|
1701
1871
|
# @!attribute [rw] id
|
@@ -1964,6 +2134,67 @@ module Aws::MigrationHubOrchestrator
|
|
1964
2134
|
include Aws::Structure
|
1965
2135
|
end
|
1966
2136
|
|
2137
|
+
# @!attribute [rw] id
|
2138
|
+
# The ID of the request to update a migration workflow template.
|
2139
|
+
# @return [String]
|
2140
|
+
#
|
2141
|
+
# @!attribute [rw] template_name
|
2142
|
+
# The name of the migration workflow template to update.
|
2143
|
+
# @return [String]
|
2144
|
+
#
|
2145
|
+
# @!attribute [rw] template_description
|
2146
|
+
# The description of the migration workflow template to update.
|
2147
|
+
# @return [String]
|
2148
|
+
#
|
2149
|
+
# @!attribute [rw] client_token
|
2150
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
2151
|
+
# idempotency of the request.
|
2152
|
+
#
|
2153
|
+
# **A suitable default value is auto-generated.** You should normally
|
2154
|
+
# not need to pass this option.
|
2155
|
+
# @return [String]
|
2156
|
+
#
|
2157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/UpdateTemplateRequest AWS API Documentation
|
2158
|
+
#
|
2159
|
+
class UpdateTemplateRequest < Struct.new(
|
2160
|
+
:id,
|
2161
|
+
:template_name,
|
2162
|
+
:template_description,
|
2163
|
+
:client_token)
|
2164
|
+
SENSITIVE = []
|
2165
|
+
include Aws::Structure
|
2166
|
+
end
|
2167
|
+
|
2168
|
+
# @!attribute [rw] template_id
|
2169
|
+
# The ID of the migration workflow template being updated.
|
2170
|
+
# @return [String]
|
2171
|
+
#
|
2172
|
+
# @!attribute [rw] template_arn
|
2173
|
+
# The ARN of the migration workflow template being updated. The format
|
2174
|
+
# for an Migration Hub Orchestrator template ARN is
|
2175
|
+
# `arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234`.
|
2176
|
+
# For more information about ARNs, see [Amazon Resource Names
|
2177
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
2178
|
+
#
|
2179
|
+
#
|
2180
|
+
#
|
2181
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html
|
2182
|
+
# @return [String]
|
2183
|
+
#
|
2184
|
+
# @!attribute [rw] tags
|
2185
|
+
# The tags added to the migration workflow template.
|
2186
|
+
# @return [Hash<String,String>]
|
2187
|
+
#
|
2188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/migrationhuborchestrator-2021-08-28/UpdateTemplateResponse AWS API Documentation
|
2189
|
+
#
|
2190
|
+
class UpdateTemplateResponse < Struct.new(
|
2191
|
+
:template_id,
|
2192
|
+
:template_arn,
|
2193
|
+
:tags)
|
2194
|
+
SENSITIVE = []
|
2195
|
+
include Aws::Structure
|
2196
|
+
end
|
2197
|
+
|
1967
2198
|
# @!attribute [rw] workflow_id
|
1968
2199
|
# The ID of the migration workflow.
|
1969
2200
|
# @return [String]
|
@@ -33,7 +33,7 @@ require_relative 'aws-sdk-migrationhuborchestrator/customizations'
|
|
33
33
|
# structure.
|
34
34
|
#
|
35
35
|
# migration_hub_orchestrator = Aws::MigrationHubOrchestrator::Client.new
|
36
|
-
# resp = migration_hub_orchestrator.
|
36
|
+
# resp = migration_hub_orchestrator.create_template(params)
|
37
37
|
#
|
38
38
|
# See {Client} for more information.
|
39
39
|
#
|
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-migrationhuborchestrator/customizations'
|
|
53
53
|
# @!group service
|
54
54
|
module Aws::MigrationHubOrchestrator
|
55
55
|
|
56
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.13.0'
|
57
57
|
|
58
58
|
end
|
data/sig/client.rbs
CHANGED
@@ -72,6 +72,24 @@ module Aws
|
|
72
72
|
| (?Hash[Symbol, untyped]) -> instance
|
73
73
|
|
74
74
|
|
75
|
+
interface _CreateTemplateResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTemplateResponse]
|
77
|
+
def template_id: () -> ::String
|
78
|
+
def template_arn: () -> ::String
|
79
|
+
def tags: () -> ::Hash[::String, ::String]
|
80
|
+
end
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#create_template-instance_method
|
82
|
+
def create_template: (
|
83
|
+
template_name: ::String,
|
84
|
+
?template_description: ::String,
|
85
|
+
template_source: {
|
86
|
+
workflow_id: ::String?
|
87
|
+
},
|
88
|
+
?client_token: ::String,
|
89
|
+
?tags: Hash[::String, ::String]
|
90
|
+
) -> _CreateTemplateResponseSuccess
|
91
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTemplateResponseSuccess
|
92
|
+
|
75
93
|
interface _CreateWorkflowResponseSuccess
|
76
94
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMigrationWorkflowResponse]
|
77
95
|
def id: () -> ::String
|
@@ -91,7 +109,7 @@ module Aws
|
|
91
109
|
name: ::String,
|
92
110
|
?description: ::String,
|
93
111
|
template_id: ::String,
|
94
|
-
application_configuration_id: ::String,
|
112
|
+
?application_configuration_id: ::String,
|
95
113
|
input_parameters: Hash[::String, {
|
96
114
|
integer_value: ::Integer?,
|
97
115
|
string_value: ::String?,
|
@@ -169,6 +187,15 @@ module Aws
|
|
169
187
|
) -> _CreateWorkflowStepGroupResponseSuccess
|
170
188
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowStepGroupResponseSuccess
|
171
189
|
|
190
|
+
interface _DeleteTemplateResponseSuccess
|
191
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTemplateResponse]
|
192
|
+
end
|
193
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#delete_template-instance_method
|
194
|
+
def delete_template: (
|
195
|
+
id: ::String
|
196
|
+
) -> _DeleteTemplateResponseSuccess
|
197
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTemplateResponseSuccess
|
198
|
+
|
172
199
|
interface _DeleteWorkflowResponseSuccess
|
173
200
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMigrationWorkflowResponse]
|
174
201
|
def id: () -> ::String
|
@@ -205,12 +232,17 @@ module Aws
|
|
205
232
|
interface _GetTemplateResponseSuccess
|
206
233
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetMigrationWorkflowTemplateResponse]
|
207
234
|
def id: () -> ::String
|
235
|
+
def template_arn: () -> ::String
|
208
236
|
def name: () -> ::String
|
209
237
|
def description: () -> ::String
|
210
238
|
def inputs: () -> ::Array[Types::TemplateInput]
|
211
239
|
def tools: () -> ::Array[Types::Tool]
|
212
|
-
def status: () -> ("CREATED")
|
213
240
|
def creation_time: () -> ::Time
|
241
|
+
def owner: () -> ::String
|
242
|
+
def status: () -> ("CREATED" | "READY" | "PENDING_CREATION" | "CREATING" | "CREATION_FAILED")
|
243
|
+
def status_message: () -> ::String
|
244
|
+
def template_class: () -> ::String
|
245
|
+
def tags: () -> ::Hash[::String, ::String]
|
214
246
|
end
|
215
247
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#get_template-instance_method
|
216
248
|
def get_template: (
|
@@ -303,7 +335,7 @@ module Aws
|
|
303
335
|
def outputs: () -> ::Array[Types::WorkflowStepOutput]
|
304
336
|
def previous: () -> ::Array[::String]
|
305
337
|
def next: () -> ::Array[::String]
|
306
|
-
def status: () -> ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
338
|
+
def status: () -> ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
307
339
|
def status_message: () -> ::String
|
308
340
|
def script_output_location: () -> ::String
|
309
341
|
def creation_time: () -> ::Time
|
@@ -453,7 +485,7 @@ module Aws
|
|
453
485
|
def step_group_id: () -> ::String
|
454
486
|
def workflow_id: () -> ::String
|
455
487
|
def id: () -> ::String
|
456
|
-
def status: () -> ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
488
|
+
def status: () -> ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
457
489
|
end
|
458
490
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#retry_workflow_step-instance_method
|
459
491
|
def retry_workflow_step: (
|
@@ -511,6 +543,21 @@ module Aws
|
|
511
543
|
) -> _UntagResourceResponseSuccess
|
512
544
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
513
545
|
|
546
|
+
interface _UpdateTemplateResponseSuccess
|
547
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTemplateResponse]
|
548
|
+
def template_id: () -> ::String
|
549
|
+
def template_arn: () -> ::String
|
550
|
+
def tags: () -> ::Hash[::String, ::String]
|
551
|
+
end
|
552
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MigrationHubOrchestrator/Client.html#update_template-instance_method
|
553
|
+
def update_template: (
|
554
|
+
id: ::String,
|
555
|
+
?template_name: ::String,
|
556
|
+
?template_description: ::String,
|
557
|
+
?client_token: ::String
|
558
|
+
) -> _UpdateTemplateResponseSuccess
|
559
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTemplateResponseSuccess
|
560
|
+
|
514
561
|
interface _UpdateWorkflowResponseSuccess
|
515
562
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMigrationWorkflowResponse]
|
516
563
|
def id: () -> ::String
|
@@ -584,7 +631,7 @@ module Aws
|
|
584
631
|
],
|
585
632
|
?previous: Array[::String],
|
586
633
|
?next: Array[::String],
|
587
|
-
?status: ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
634
|
+
?status: ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
588
635
|
) -> _UpdateWorkflowStepResponseSuccess
|
589
636
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkflowStepResponseSuccess
|
590
637
|
|
data/sig/errors.rbs
CHANGED
@@ -14,6 +14,9 @@ module Aws
|
|
14
14
|
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
15
|
def message: () -> ::String
|
16
16
|
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
17
20
|
class InternalServerException < ::Aws::Errors::ServiceError
|
18
21
|
def message: () -> ::String
|
19
22
|
end
|
data/sig/types.rbs
CHANGED
@@ -13,6 +13,11 @@ module Aws::MigrationHubOrchestrator
|
|
13
13
|
SENSITIVE: []
|
14
14
|
end
|
15
15
|
|
16
|
+
class ConflictException
|
17
|
+
attr_accessor message: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
16
21
|
class CreateMigrationWorkflowRequest
|
17
22
|
attr_accessor name: ::String
|
18
23
|
attr_accessor description: ::String
|
@@ -39,6 +44,22 @@ module Aws::MigrationHubOrchestrator
|
|
39
44
|
SENSITIVE: [:workflow_inputs]
|
40
45
|
end
|
41
46
|
|
47
|
+
class CreateTemplateRequest
|
48
|
+
attr_accessor template_name: ::String
|
49
|
+
attr_accessor template_description: ::String
|
50
|
+
attr_accessor template_source: Types::TemplateSource
|
51
|
+
attr_accessor client_token: ::String
|
52
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
53
|
+
SENSITIVE: []
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateTemplateResponse
|
57
|
+
attr_accessor template_id: ::String
|
58
|
+
attr_accessor template_arn: ::String
|
59
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
60
|
+
SENSITIVE: []
|
61
|
+
end
|
62
|
+
|
42
63
|
class CreateWorkflowStepGroupRequest
|
43
64
|
attr_accessor workflow_id: ::String
|
44
65
|
attr_accessor name: ::String
|
@@ -94,6 +115,14 @@ module Aws::MigrationHubOrchestrator
|
|
94
115
|
SENSITIVE: []
|
95
116
|
end
|
96
117
|
|
118
|
+
class DeleteTemplateRequest
|
119
|
+
attr_accessor id: ::String
|
120
|
+
SENSITIVE: []
|
121
|
+
end
|
122
|
+
|
123
|
+
class DeleteTemplateResponse < Aws::EmptyStructure
|
124
|
+
end
|
125
|
+
|
97
126
|
class DeleteWorkflowStepGroupRequest
|
98
127
|
attr_accessor workflow_id: ::String
|
99
128
|
attr_accessor id: ::String
|
@@ -149,12 +178,17 @@ module Aws::MigrationHubOrchestrator
|
|
149
178
|
|
150
179
|
class GetMigrationWorkflowTemplateResponse
|
151
180
|
attr_accessor id: ::String
|
181
|
+
attr_accessor template_arn: ::String
|
152
182
|
attr_accessor name: ::String
|
153
183
|
attr_accessor description: ::String
|
154
184
|
attr_accessor inputs: ::Array[Types::TemplateInput]
|
155
185
|
attr_accessor tools: ::Array[Types::Tool]
|
156
|
-
attr_accessor status: ("CREATED")
|
157
186
|
attr_accessor creation_time: ::Time
|
187
|
+
attr_accessor owner: ::String
|
188
|
+
attr_accessor status: ("CREATED" | "READY" | "PENDING_CREATION" | "CREATING" | "CREATION_FAILED")
|
189
|
+
attr_accessor status_message: ::String
|
190
|
+
attr_accessor template_class: ::String
|
191
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
158
192
|
SENSITIVE: []
|
159
193
|
end
|
160
194
|
|
@@ -242,7 +276,7 @@ module Aws::MigrationHubOrchestrator
|
|
242
276
|
attr_accessor outputs: ::Array[Types::WorkflowStepOutput]
|
243
277
|
attr_accessor previous: ::Array[::String]
|
244
278
|
attr_accessor next: ::Array[::String]
|
245
|
-
attr_accessor status: ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
279
|
+
attr_accessor status: ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
246
280
|
attr_accessor status_message: ::String
|
247
281
|
attr_accessor script_output_location: ::String
|
248
282
|
attr_accessor creation_time: ::Time
|
@@ -416,7 +450,7 @@ module Aws::MigrationHubOrchestrator
|
|
416
450
|
attr_accessor step_group_id: ::String
|
417
451
|
attr_accessor workflow_id: ::String
|
418
452
|
attr_accessor id: ::String
|
419
|
-
attr_accessor status: ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
453
|
+
attr_accessor status: ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
420
454
|
SENSITIVE: []
|
421
455
|
end
|
422
456
|
|
@@ -500,6 +534,17 @@ module Aws::MigrationHubOrchestrator
|
|
500
534
|
SENSITIVE: []
|
501
535
|
end
|
502
536
|
|
537
|
+
class TemplateSource
|
538
|
+
attr_accessor workflow_id: ::String
|
539
|
+
attr_accessor unknown: untyped
|
540
|
+
SENSITIVE: []
|
541
|
+
|
542
|
+
class WorkflowId < TemplateSource
|
543
|
+
end
|
544
|
+
class Unknown < TemplateSource
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
503
548
|
class TemplateStepGroupSummary
|
504
549
|
attr_accessor id: ::String
|
505
550
|
attr_accessor name: ::String
|
@@ -574,6 +619,21 @@ module Aws::MigrationHubOrchestrator
|
|
574
619
|
SENSITIVE: [:workflow_inputs]
|
575
620
|
end
|
576
621
|
|
622
|
+
class UpdateTemplateRequest
|
623
|
+
attr_accessor id: ::String
|
624
|
+
attr_accessor template_name: ::String
|
625
|
+
attr_accessor template_description: ::String
|
626
|
+
attr_accessor client_token: ::String
|
627
|
+
SENSITIVE: []
|
628
|
+
end
|
629
|
+
|
630
|
+
class UpdateTemplateResponse
|
631
|
+
attr_accessor template_id: ::String
|
632
|
+
attr_accessor template_arn: ::String
|
633
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
634
|
+
SENSITIVE: []
|
635
|
+
end
|
636
|
+
|
577
637
|
class UpdateWorkflowStepGroupRequest
|
578
638
|
attr_accessor workflow_id: ::String
|
579
639
|
attr_accessor id: ::String
|
@@ -608,7 +668,7 @@ module Aws::MigrationHubOrchestrator
|
|
608
668
|
attr_accessor outputs: ::Array[Types::WorkflowStepOutput]
|
609
669
|
attr_accessor previous: ::Array[::String]
|
610
670
|
attr_accessor next: ::Array[::String]
|
611
|
-
attr_accessor status: ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
671
|
+
attr_accessor status: ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
612
672
|
SENSITIVE: []
|
613
673
|
end
|
614
674
|
|
@@ -676,7 +736,7 @@ module Aws::MigrationHubOrchestrator
|
|
676
736
|
attr_accessor owner: ("AWS_MANAGED" | "CUSTOM")
|
677
737
|
attr_accessor previous: ::Array[::String]
|
678
738
|
attr_accessor next: ::Array[::String]
|
679
|
-
attr_accessor status: ("AWAITING_DEPENDENCIES" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
739
|
+
attr_accessor status: ("AWAITING_DEPENDENCIES" | "SKIPPED" | "READY" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "PAUSED" | "USER_ATTENTION_REQUIRED")
|
680
740
|
attr_accessor status_message: ::String
|
681
741
|
attr_accessor no_of_srv_completed: ::Integer
|
682
742
|
attr_accessor no_of_srv_failed: ::Integer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-migrationhuborchestrator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.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: 2024-
|
11
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|