aws-sdk-migrationhuborchestrator 1.11.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhuborchestrator/client.rb +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 +7 -0
- data/lib/aws-sdk-migrationhuborchestrator/types.rb +236 -5
- data/lib/aws-sdk-migrationhuborchestrator.rb +2 -2
- data/sig/client.rbs +662 -0
- data/sig/errors.rbs +34 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +749 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
@@ -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
|
@@ -14,6 +14,7 @@ module Aws::MigrationHubOrchestrator
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::MigrationHubOrchestrator::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -57,12 +58,16 @@ module Aws::MigrationHubOrchestrator
|
|
57
58
|
|
58
59
|
def parameters_for_operation(context)
|
59
60
|
case context.operation_name
|
61
|
+
when :create_template
|
62
|
+
Aws::MigrationHubOrchestrator::Endpoints::CreateTemplate.build(context)
|
60
63
|
when :create_workflow
|
61
64
|
Aws::MigrationHubOrchestrator::Endpoints::CreateWorkflow.build(context)
|
62
65
|
when :create_workflow_step
|
63
66
|
Aws::MigrationHubOrchestrator::Endpoints::CreateWorkflowStep.build(context)
|
64
67
|
when :create_workflow_step_group
|
65
68
|
Aws::MigrationHubOrchestrator::Endpoints::CreateWorkflowStepGroup.build(context)
|
69
|
+
when :delete_template
|
70
|
+
Aws::MigrationHubOrchestrator::Endpoints::DeleteTemplate.build(context)
|
66
71
|
when :delete_workflow
|
67
72
|
Aws::MigrationHubOrchestrator::Endpoints::DeleteWorkflow.build(context)
|
68
73
|
when :delete_workflow_step
|
@@ -107,6 +112,8 @@ module Aws::MigrationHubOrchestrator
|
|
107
112
|
Aws::MigrationHubOrchestrator::Endpoints::TagResource.build(context)
|
108
113
|
when :untag_resource
|
109
114
|
Aws::MigrationHubOrchestrator::Endpoints::UntagResource.build(context)
|
115
|
+
when :update_template
|
116
|
+
Aws::MigrationHubOrchestrator::Endpoints::UpdateTemplate.build(context)
|
110
117
|
when :update_workflow
|
111
118
|
Aws::MigrationHubOrchestrator::Endpoints::UpdateWorkflow.build(context)
|
112
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
|