aws-sdk-migrationhuborchestrator 1.12.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -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