aws-sdk-migrationhuborchestrator 1.11.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d6235a0c7237aea649c64d421f6dab552d5c3209f065bee2b637597dfc83c06
4
- data.tar.gz: b074e3b37a6076f30fe49b007f6c23426479c05e5e5bd477ad6be56109185bd8
3
+ metadata.gz: a247a863a8cb2eaf40450bee2f267b21d9435400d3fdd7a0f0cddafab3161e94
4
+ data.tar.gz: f16ac0b226c0136456c7140e715af9efe87c47ab295c6117babdda751ad80d1e
5
5
  SHA512:
6
- metadata.gz: 23e5064207b453a7bf819eceac4447f1ffbfebc46c312007bdace1eb458bd573762aa339a55c6f75ce67af19ed47d4966e292e7a440868055e1579bb7aedbe75
7
- data.tar.gz: b52669b9fccd31d299a6d8a4783995e16569d994202617daa0d51aa6247c98081ba07e2a8d6b597cef9d36e3e469c42f5119f782969122d22d888c5b4401448d
6
+ metadata.gz: 931ee78369a05351f32e9e613bddbf2af2fd6976b9959563b7020b9f5ad7e56c2a06d31bb8c0cdd2ff6ac94d2af91670b02c7c76f15a7a2b845f81fc8b366f9d
7
+ data.tar.gz: 4831ba76b9046349815a2d37221181bc68d80d2e00888d9d5cd6063afe5b18b81666ca8f29bb1af1566133b28459d0940c4717ebb937695e18b6b4c8be55ff03
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2024-02-29)
5
+ ------------------
6
+
7
+ * Feature - Adds new CreateTemplate, UpdateTemplate and DeleteTemplate APIs.
8
+
9
+ 1.12.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.11.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
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&lt;String,String&gt;
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 [required, String] :application_configuration_id
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", # required
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: "StringValue",
554
- # list_of_string_value: ["StringListMember"],
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&lt;Types::TemplateInput&gt;
741
826
  # * {Types::GetMigrationWorkflowTemplateResponse#tools #tools} => Array&lt;Types::Tool&gt;
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&lt;String,String&gt;
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
- # desThe ID of the step group.
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&lt;String,String&gt;
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: "StringValue",
1840
- # list_of_string_value: ["StringListMember"],
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.11.0'
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, required: true, location_name: "applicationConfigurationId"))
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", metadata: {"box"=>true}))
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", metadata: {"box"=>true}))
687
- WorkflowStepOutputUnion.add_member(:string_value, Shapes::ShapeRef.new(shape: StringValue, location_name: "stringValue"))
688
- WorkflowStepOutputUnion.add_member(:list_of_string_value, Shapes::ShapeRef.new(shape: StringList, location_name: "listOfStringValue"))
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?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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