@aws-sdk/client-migrationhuborchestrator 3.523.0 → 3.525.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.
Files changed (80) hide show
  1. package/README.md +26 -2
  2. package/dist-cjs/index.js +210 -5
  3. package/dist-es/MigrationHubOrchestrator.js +6 -0
  4. package/dist-es/commands/CreateTemplateCommand.js +24 -0
  5. package/dist-es/commands/DeleteTemplateCommand.js +24 -0
  6. package/dist-es/commands/UpdateTemplateCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +26 -0
  9. package/dist-es/protocols/Aws_restJson1.js +107 -1
  10. package/dist-types/MigrationHubOrchestrator.d.ts +23 -2
  11. package/dist-types/MigrationHubOrchestratorClient.d.ts +7 -4
  12. package/dist-types/commands/CreateTemplateCommand.d.ts +86 -0
  13. package/dist-types/commands/CreateWorkflowCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateWorkflowStepCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteTemplateCommand.d.ts +71 -0
  16. package/dist-types/commands/GetTemplateCommand.d.ts +8 -1
  17. package/dist-types/commands/GetWorkflowStepCommand.d.ts +1 -1
  18. package/dist-types/commands/UpdateTemplateCommand.d.ts +80 -0
  19. package/dist-types/commands/UpdateWorkflowStepCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +3 -0
  21. package/dist-types/index.d.ts +2 -2
  22. package/dist-types/models/models_0.d.ts +223 -4
  23. package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
  24. package/dist-types/ts3.4/MigrationHubOrchestrator.d.ts +51 -0
  25. package/dist-types/ts3.4/MigrationHubOrchestratorClient.d.ts +18 -0
  26. package/dist-types/ts3.4/commands/CreateTemplateCommand.d.ts +29 -0
  27. package/dist-types/ts3.4/commands/DeleteTemplateCommand.d.ts +29 -0
  28. package/dist-types/ts3.4/commands/UpdateTemplateCommand.d.ts +29 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +63 -2
  31. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  32. package/package.json +20 -18
  33. package/dist-cjs/MigrationHubOrchestrator.js +0 -1
  34. package/dist-cjs/MigrationHubOrchestratorClient.js +0 -1
  35. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  36. package/dist-cjs/commands/CreateWorkflowCommand.js +0 -1
  37. package/dist-cjs/commands/CreateWorkflowStepCommand.js +0 -1
  38. package/dist-cjs/commands/CreateWorkflowStepGroupCommand.js +0 -1
  39. package/dist-cjs/commands/DeleteWorkflowCommand.js +0 -1
  40. package/dist-cjs/commands/DeleteWorkflowStepCommand.js +0 -1
  41. package/dist-cjs/commands/DeleteWorkflowStepGroupCommand.js +0 -1
  42. package/dist-cjs/commands/GetTemplateCommand.js +0 -1
  43. package/dist-cjs/commands/GetTemplateStepCommand.js +0 -1
  44. package/dist-cjs/commands/GetTemplateStepGroupCommand.js +0 -1
  45. package/dist-cjs/commands/GetWorkflowCommand.js +0 -1
  46. package/dist-cjs/commands/GetWorkflowStepCommand.js +0 -1
  47. package/dist-cjs/commands/GetWorkflowStepGroupCommand.js +0 -1
  48. package/dist-cjs/commands/ListPluginsCommand.js +0 -1
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  50. package/dist-cjs/commands/ListTemplateStepGroupsCommand.js +0 -1
  51. package/dist-cjs/commands/ListTemplateStepsCommand.js +0 -1
  52. package/dist-cjs/commands/ListTemplatesCommand.js +0 -1
  53. package/dist-cjs/commands/ListWorkflowStepGroupsCommand.js +0 -1
  54. package/dist-cjs/commands/ListWorkflowStepsCommand.js +0 -1
  55. package/dist-cjs/commands/ListWorkflowsCommand.js +0 -1
  56. package/dist-cjs/commands/RetryWorkflowStepCommand.js +0 -1
  57. package/dist-cjs/commands/StartWorkflowCommand.js +0 -1
  58. package/dist-cjs/commands/StopWorkflowCommand.js +0 -1
  59. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  60. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  61. package/dist-cjs/commands/UpdateWorkflowCommand.js +0 -1
  62. package/dist-cjs/commands/UpdateWorkflowStepCommand.js +0 -1
  63. package/dist-cjs/commands/UpdateWorkflowStepGroupCommand.js +0 -1
  64. package/dist-cjs/commands/index.js +0 -1
  65. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  66. package/dist-cjs/extensionConfiguration.js +0 -1
  67. package/dist-cjs/models/MigrationHubOrchestratorServiceException.js +0 -1
  68. package/dist-cjs/models/index.js +0 -1
  69. package/dist-cjs/models/models_0.js +0 -1
  70. package/dist-cjs/pagination/Interfaces.js +0 -1
  71. package/dist-cjs/pagination/ListPluginsPaginator.js +0 -1
  72. package/dist-cjs/pagination/ListTemplateStepGroupsPaginator.js +0 -1
  73. package/dist-cjs/pagination/ListTemplateStepsPaginator.js +0 -1
  74. package/dist-cjs/pagination/ListTemplatesPaginator.js +0 -1
  75. package/dist-cjs/pagination/ListWorkflowStepGroupsPaginator.js +0 -1
  76. package/dist-cjs/pagination/ListWorkflowStepsPaginator.js +0 -1
  77. package/dist-cjs/pagination/ListWorkflowsPaginator.js +0 -1
  78. package/dist-cjs/pagination/index.js +0 -1
  79. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  80. package/dist-cjs/runtimeExtensions.js +0 -1
@@ -154,7 +154,7 @@ export interface CreateMigrationWorkflowRequest {
154
154
  * @public
155
155
  * <p>The configuration ID of the application configured in Application Discovery Service.</p>
156
156
  */
157
- applicationConfigurationId: string | undefined;
157
+ applicationConfigurationId?: string;
158
158
  /**
159
159
  * @public
160
160
  * <p>The input parameters required to create a migration workflow.</p>
@@ -721,6 +721,120 @@ export interface UpdateMigrationWorkflowResponse {
721
721
  */
722
722
  tags?: Record<string, string>;
723
723
  }
724
+ /**
725
+ * @public
726
+ * <p>This exception is thrown when an attempt to update or delete
727
+ * a resource would cause an inconsistent state.</p>
728
+ */
729
+ export declare class ConflictException extends __BaseException {
730
+ readonly name: "ConflictException";
731
+ readonly $fault: "client";
732
+ $retryable: {};
733
+ /**
734
+ * @internal
735
+ */
736
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
737
+ }
738
+ /**
739
+ * @public
740
+ * <p>The migration workflow template used as the source for the new template.</p>
741
+ */
742
+ export type TemplateSource = TemplateSource.WorkflowIdMember | TemplateSource.$UnknownMember;
743
+ /**
744
+ * @public
745
+ */
746
+ export declare namespace TemplateSource {
747
+ /**
748
+ * @public
749
+ * <p>The ID of the workflow from the source migration workflow template.</p>
750
+ */
751
+ interface WorkflowIdMember {
752
+ workflowId: string;
753
+ $unknown?: never;
754
+ }
755
+ /**
756
+ * @public
757
+ */
758
+ interface $UnknownMember {
759
+ workflowId?: never;
760
+ $unknown: [string, any];
761
+ }
762
+ interface Visitor<T> {
763
+ workflowId: (value: string) => T;
764
+ _: (name: string, value: any) => T;
765
+ }
766
+ const visit: <T>(value: TemplateSource, visitor: Visitor<T>) => T;
767
+ }
768
+ /**
769
+ * @public
770
+ */
771
+ export interface CreateTemplateRequest {
772
+ /**
773
+ * @public
774
+ * <p>The name of the migration workflow template.</p>
775
+ */
776
+ templateName: string | undefined;
777
+ /**
778
+ * @public
779
+ * <p>A description of the migration workflow template.</p>
780
+ */
781
+ templateDescription?: string;
782
+ /**
783
+ * @public
784
+ * <p>The source of the migration workflow template.</p>
785
+ */
786
+ templateSource: TemplateSource | undefined;
787
+ /**
788
+ * @public
789
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
790
+ * request. For more information, see <a href="https://smithy.io/2.0/spec/behavior-traits.html#idempotencytoken-trait">Idempotency</a> in the Smithy documentation.</p>
791
+ */
792
+ clientToken?: string;
793
+ /**
794
+ * @public
795
+ * <p>The tags to add to the migration workflow template.</p>
796
+ */
797
+ tags?: Record<string, string>;
798
+ }
799
+ /**
800
+ * @public
801
+ */
802
+ export interface CreateTemplateResponse {
803
+ /**
804
+ * @public
805
+ * <p>The ID of the migration workflow template.</p>
806
+ */
807
+ templateId?: string;
808
+ /**
809
+ * @public
810
+ * <p>The Amazon Resource Name (ARN) of the migration workflow template. The format for an
811
+ * Migration Hub Orchestrator template ARN is
812
+ * <code>arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234</code>.
813
+ * For more information about ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">Amazon Resource Names (ARNs)</a>
814
+ * in the <i>AWS General Reference</i>.</p>
815
+ */
816
+ templateArn?: string;
817
+ /**
818
+ * @public
819
+ * <p>The tags added to the migration workflow template.</p>
820
+ */
821
+ tags?: Record<string, string>;
822
+ }
823
+ /**
824
+ * @public
825
+ */
826
+ export interface DeleteTemplateRequest {
827
+ /**
828
+ * @public
829
+ * <p>The ID of the request to delete a migration workflow template.</p>
830
+ */
831
+ id: string | undefined;
832
+ }
833
+ /**
834
+ * @public
835
+ */
836
+ export interface DeleteTemplateResponse {
837
+ }
724
838
  /**
725
839
  * @public
726
840
  */
@@ -772,6 +886,10 @@ export interface TemplateInput {
772
886
  */
773
887
  export declare const TemplateStatus: {
774
888
  readonly CREATED: "CREATED";
889
+ readonly CREATING: "CREATING";
890
+ readonly CREATION_FAILED: "CREATION_FAILED";
891
+ readonly PENDING_CREATION: "PENDING_CREATION";
892
+ readonly READY: "READY";
775
893
  };
776
894
  /**
777
895
  * @public
@@ -786,6 +904,15 @@ export interface GetMigrationWorkflowTemplateResponse {
786
904
  * <p>The ID of the template.</p>
787
905
  */
788
906
  id?: string;
907
+ /**
908
+ * @public
909
+ * <p>&gt;The Amazon Resource Name (ARN) of the migration workflow template. The format for an
910
+ * Migration Hub Orchestrator template ARN is
911
+ * <code>arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234</code>.
912
+ * For more information about ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">Amazon Resource Names (ARNs)</a>
913
+ * in the <i>AWS General Reference</i>.</p>
914
+ */
915
+ templateArn?: string;
789
916
  /**
790
917
  * @public
791
918
  * <p>The name of the template.</p>
@@ -806,6 +933,16 @@ export interface GetMigrationWorkflowTemplateResponse {
806
933
  * <p>List of AWS services utilized in a migration workflow.</p>
807
934
  */
808
935
  tools?: Tool[];
936
+ /**
937
+ * @public
938
+ * <p>The time at which the template was last created.</p>
939
+ */
940
+ creationTime?: Date;
941
+ /**
942
+ * @public
943
+ * <p>The owner of the migration workflow template.</p>
944
+ */
945
+ owner?: string;
809
946
  /**
810
947
  * @public
811
948
  * <p>The status of the template.</p>
@@ -813,9 +950,40 @@ export interface GetMigrationWorkflowTemplateResponse {
813
950
  status?: TemplateStatus;
814
951
  /**
815
952
  * @public
816
- * <p>The time at which the template was last created.</p>
953
+ * <p>The status message of retrieving migration workflow templates.</p>
817
954
  */
818
- creationTime?: Date;
955
+ statusMessage?: string;
956
+ /**
957
+ * @public
958
+ * <p>The class of the migration workflow template. The available template classes
959
+ * are:</p>
960
+ * <ul>
961
+ * <li>
962
+ * <p>A2C</p>
963
+ * </li>
964
+ * <li>
965
+ * <p>MGN</p>
966
+ * </li>
967
+ * <li>
968
+ * <p>SAP_MULTI</p>
969
+ * </li>
970
+ * <li>
971
+ * <p>SQL_EC2</p>
972
+ * </li>
973
+ * <li>
974
+ * <p>SQL_RDS</p>
975
+ * </li>
976
+ * <li>
977
+ * <p>VMIE</p>
978
+ * </li>
979
+ * </ul>
980
+ */
981
+ templateClass?: string;
982
+ /**
983
+ * @public
984
+ * <p>The tags added to the migration workflow template.</p>
985
+ */
986
+ tags?: Record<string, string>;
819
987
  }
820
988
  /**
821
989
  * @public
@@ -878,6 +1046,56 @@ export interface ListMigrationWorkflowTemplatesResponse {
878
1046
  */
879
1047
  templateSummary: TemplateSummary[] | undefined;
880
1048
  }
1049
+ /**
1050
+ * @public
1051
+ */
1052
+ export interface UpdateTemplateRequest {
1053
+ /**
1054
+ * @public
1055
+ * <p>The ID of the request to update a migration workflow template.</p>
1056
+ */
1057
+ id: string | undefined;
1058
+ /**
1059
+ * @public
1060
+ * <p>The name of the migration workflow template to update.</p>
1061
+ */
1062
+ templateName?: string;
1063
+ /**
1064
+ * @public
1065
+ * <p>The description of the migration workflow template to update.</p>
1066
+ */
1067
+ templateDescription?: string;
1068
+ /**
1069
+ * @public
1070
+ * <p>A unique, case-sensitive identifier that you provide to ensure the
1071
+ * idempotency of the request.</p>
1072
+ */
1073
+ clientToken?: string;
1074
+ }
1075
+ /**
1076
+ * @public
1077
+ */
1078
+ export interface UpdateTemplateResponse {
1079
+ /**
1080
+ * @public
1081
+ * <p>The ID of the migration workflow template being updated.</p>
1082
+ */
1083
+ templateId?: string;
1084
+ /**
1085
+ * @public
1086
+ * <p>The ARN of the migration workflow template being updated. The format for an Migration Hub Orchestrator
1087
+ * template ARN is
1088
+ * <code>arn:aws:migrationhub-orchestrator:region:account:template/template-abcd1234</code>.
1089
+ * For more information about ARNs, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html">Amazon Resource Names (ARNs)</a>
1090
+ * in the <i>AWS General Reference</i>.</p>
1091
+ */
1092
+ templateArn?: string;
1093
+ /**
1094
+ * @public
1095
+ * <p>The tags added to the migration workflow template.</p>
1096
+ */
1097
+ tags?: Record<string, string>;
1098
+ }
881
1099
  /**
882
1100
  * @public
883
1101
  */
@@ -1683,7 +1901,7 @@ export interface GetWorkflowStepRequest {
1683
1901
  workflowId: string | undefined;
1684
1902
  /**
1685
1903
  * @public
1686
- * <p>desThe ID of the step group.</p>
1904
+ * <p>The ID of the step group.</p>
1687
1905
  */
1688
1906
  stepGroupId: string | undefined;
1689
1907
  /**
@@ -1703,6 +1921,7 @@ export declare const StepStatus: {
1703
1921
  readonly IN_PROGRESS: "IN_PROGRESS";
1704
1922
  readonly PAUSED: "PAUSED";
1705
1923
  readonly READY: "READY";
1924
+ readonly SKIPPED: "SKIPPED";
1706
1925
  readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
1707
1926
  };
1708
1927
  /**
@@ -1,8 +1,10 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { CreateTemplateCommandInput, CreateTemplateCommandOutput } from "../commands/CreateTemplateCommand";
3
4
  import { CreateWorkflowCommandInput, CreateWorkflowCommandOutput } from "../commands/CreateWorkflowCommand";
4
5
  import { CreateWorkflowStepCommandInput, CreateWorkflowStepCommandOutput } from "../commands/CreateWorkflowStepCommand";
5
6
  import { CreateWorkflowStepGroupCommandInput, CreateWorkflowStepGroupCommandOutput } from "../commands/CreateWorkflowStepGroupCommand";
7
+ import { DeleteTemplateCommandInput, DeleteTemplateCommandOutput } from "../commands/DeleteTemplateCommand";
6
8
  import { DeleteWorkflowCommandInput, DeleteWorkflowCommandOutput } from "../commands/DeleteWorkflowCommand";
7
9
  import { DeleteWorkflowStepCommandInput, DeleteWorkflowStepCommandOutput } from "../commands/DeleteWorkflowStepCommand";
8
10
  import { DeleteWorkflowStepGroupCommandInput, DeleteWorkflowStepGroupCommandOutput } from "../commands/DeleteWorkflowStepGroupCommand";
@@ -25,9 +27,14 @@ import { StartWorkflowCommandInput, StartWorkflowCommandOutput } from "../comman
25
27
  import { StopWorkflowCommandInput, StopWorkflowCommandOutput } from "../commands/StopWorkflowCommand";
26
28
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
27
29
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
30
+ import { UpdateTemplateCommandInput, UpdateTemplateCommandOutput } from "../commands/UpdateTemplateCommand";
28
31
  import { UpdateWorkflowCommandInput, UpdateWorkflowCommandOutput } from "../commands/UpdateWorkflowCommand";
29
32
  import { UpdateWorkflowStepCommandInput, UpdateWorkflowStepCommandOutput } from "../commands/UpdateWorkflowStepCommand";
30
33
  import { UpdateWorkflowStepGroupCommandInput, UpdateWorkflowStepGroupCommandOutput } from "../commands/UpdateWorkflowStepGroupCommand";
34
+ /**
35
+ * serializeAws_restJson1CreateTemplateCommand
36
+ */
37
+ export declare const se_CreateTemplateCommand: (input: CreateTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
38
  /**
32
39
  * serializeAws_restJson1CreateWorkflowCommand
33
40
  */
@@ -40,6 +47,10 @@ export declare const se_CreateWorkflowStepCommand: (input: CreateWorkflowStepCom
40
47
  * serializeAws_restJson1CreateWorkflowStepGroupCommand
41
48
  */
42
49
  export declare const se_CreateWorkflowStepGroupCommand: (input: CreateWorkflowStepGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
+ /**
51
+ * serializeAws_restJson1DeleteTemplateCommand
52
+ */
53
+ export declare const se_DeleteTemplateCommand: (input: DeleteTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
54
  /**
44
55
  * serializeAws_restJson1DeleteWorkflowCommand
45
56
  */
@@ -128,6 +139,10 @@ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, con
128
139
  * serializeAws_restJson1UntagResourceCommand
129
140
  */
130
141
  export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
+ /**
143
+ * serializeAws_restJson1UpdateTemplateCommand
144
+ */
145
+ export declare const se_UpdateTemplateCommand: (input: UpdateTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
131
146
  /**
132
147
  * serializeAws_restJson1UpdateWorkflowCommand
133
148
  */
@@ -140,6 +155,10 @@ export declare const se_UpdateWorkflowStepCommand: (input: UpdateWorkflowStepCom
140
155
  * serializeAws_restJson1UpdateWorkflowStepGroupCommand
141
156
  */
142
157
  export declare const se_UpdateWorkflowStepGroupCommand: (input: UpdateWorkflowStepGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
158
+ /**
159
+ * deserializeAws_restJson1CreateTemplateCommand
160
+ */
161
+ export declare const de_CreateTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTemplateCommandOutput>;
143
162
  /**
144
163
  * deserializeAws_restJson1CreateWorkflowCommand
145
164
  */
@@ -152,6 +171,10 @@ export declare const de_CreateWorkflowStepCommand: (output: __HttpResponse, cont
152
171
  * deserializeAws_restJson1CreateWorkflowStepGroupCommand
153
172
  */
154
173
  export declare const de_CreateWorkflowStepGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkflowStepGroupCommandOutput>;
174
+ /**
175
+ * deserializeAws_restJson1DeleteTemplateCommand
176
+ */
177
+ export declare const de_DeleteTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTemplateCommandOutput>;
155
178
  /**
156
179
  * deserializeAws_restJson1DeleteWorkflowCommand
157
180
  */
@@ -240,6 +263,10 @@ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __
240
263
  * deserializeAws_restJson1UntagResourceCommand
241
264
  */
242
265
  export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
266
+ /**
267
+ * deserializeAws_restJson1UpdateTemplateCommand
268
+ */
269
+ export declare const de_UpdateTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTemplateCommandOutput>;
243
270
  /**
244
271
  * deserializeAws_restJson1UpdateWorkflowCommand
245
272
  */
@@ -1,4 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CreateTemplateCommandInput,
4
+ CreateTemplateCommandOutput,
5
+ } from "./commands/CreateTemplateCommand";
2
6
  import {
3
7
  CreateWorkflowCommandInput,
4
8
  CreateWorkflowCommandOutput,
@@ -11,6 +15,10 @@ import {
11
15
  CreateWorkflowStepGroupCommandInput,
12
16
  CreateWorkflowStepGroupCommandOutput,
13
17
  } from "./commands/CreateWorkflowStepGroupCommand";
18
+ import {
19
+ DeleteTemplateCommandInput,
20
+ DeleteTemplateCommandOutput,
21
+ } from "./commands/DeleteTemplateCommand";
14
22
  import {
15
23
  DeleteWorkflowCommandInput,
16
24
  DeleteWorkflowCommandOutput,
@@ -99,6 +107,10 @@ import {
99
107
  UntagResourceCommandInput,
100
108
  UntagResourceCommandOutput,
101
109
  } from "./commands/UntagResourceCommand";
110
+ import {
111
+ UpdateTemplateCommandInput,
112
+ UpdateTemplateCommandOutput,
113
+ } from "./commands/UpdateTemplateCommand";
102
114
  import {
103
115
  UpdateWorkflowCommandInput,
104
116
  UpdateWorkflowCommandOutput,
@@ -113,6 +125,19 @@ import {
113
125
  } from "./commands/UpdateWorkflowStepGroupCommand";
114
126
  import { MigrationHubOrchestratorClient } from "./MigrationHubOrchestratorClient";
115
127
  export interface MigrationHubOrchestrator {
128
+ createTemplate(
129
+ args: CreateTemplateCommandInput,
130
+ options?: __HttpHandlerOptions
131
+ ): Promise<CreateTemplateCommandOutput>;
132
+ createTemplate(
133
+ args: CreateTemplateCommandInput,
134
+ cb: (err: any, data?: CreateTemplateCommandOutput) => void
135
+ ): void;
136
+ createTemplate(
137
+ args: CreateTemplateCommandInput,
138
+ options: __HttpHandlerOptions,
139
+ cb: (err: any, data?: CreateTemplateCommandOutput) => void
140
+ ): void;
116
141
  createWorkflow(
117
142
  args: CreateWorkflowCommandInput,
118
143
  options?: __HttpHandlerOptions
@@ -152,6 +177,19 @@ export interface MigrationHubOrchestrator {
152
177
  options: __HttpHandlerOptions,
153
178
  cb: (err: any, data?: CreateWorkflowStepGroupCommandOutput) => void
154
179
  ): void;
180
+ deleteTemplate(
181
+ args: DeleteTemplateCommandInput,
182
+ options?: __HttpHandlerOptions
183
+ ): Promise<DeleteTemplateCommandOutput>;
184
+ deleteTemplate(
185
+ args: DeleteTemplateCommandInput,
186
+ cb: (err: any, data?: DeleteTemplateCommandOutput) => void
187
+ ): void;
188
+ deleteTemplate(
189
+ args: DeleteTemplateCommandInput,
190
+ options: __HttpHandlerOptions,
191
+ cb: (err: any, data?: DeleteTemplateCommandOutput) => void
192
+ ): void;
155
193
  deleteWorkflow(
156
194
  args: DeleteWorkflowCommandInput,
157
195
  options?: __HttpHandlerOptions
@@ -438,6 +476,19 @@ export interface MigrationHubOrchestrator {
438
476
  options: __HttpHandlerOptions,
439
477
  cb: (err: any, data?: UntagResourceCommandOutput) => void
440
478
  ): void;
479
+ updateTemplate(
480
+ args: UpdateTemplateCommandInput,
481
+ options?: __HttpHandlerOptions
482
+ ): Promise<UpdateTemplateCommandOutput>;
483
+ updateTemplate(
484
+ args: UpdateTemplateCommandInput,
485
+ cb: (err: any, data?: UpdateTemplateCommandOutput) => void
486
+ ): void;
487
+ updateTemplate(
488
+ args: UpdateTemplateCommandInput,
489
+ options: __HttpHandlerOptions,
490
+ cb: (err: any, data?: UpdateTemplateCommandOutput) => void
491
+ ): void;
441
492
  updateWorkflow(
442
493
  args: UpdateWorkflowCommandInput,
443
494
  options?: __HttpHandlerOptions
@@ -45,6 +45,10 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CreateTemplateCommandInput,
50
+ CreateTemplateCommandOutput,
51
+ } from "./commands/CreateTemplateCommand";
48
52
  import {
49
53
  CreateWorkflowCommandInput,
50
54
  CreateWorkflowCommandOutput,
@@ -57,6 +61,10 @@ import {
57
61
  CreateWorkflowStepGroupCommandInput,
58
62
  CreateWorkflowStepGroupCommandOutput,
59
63
  } from "./commands/CreateWorkflowStepGroupCommand";
64
+ import {
65
+ DeleteTemplateCommandInput,
66
+ DeleteTemplateCommandOutput,
67
+ } from "./commands/DeleteTemplateCommand";
60
68
  import {
61
69
  DeleteWorkflowCommandInput,
62
70
  DeleteWorkflowCommandOutput,
@@ -145,6 +153,10 @@ import {
145
153
  UntagResourceCommandInput,
146
154
  UntagResourceCommandOutput,
147
155
  } from "./commands/UntagResourceCommand";
156
+ import {
157
+ UpdateTemplateCommandInput,
158
+ UpdateTemplateCommandOutput,
159
+ } from "./commands/UpdateTemplateCommand";
148
160
  import {
149
161
  UpdateWorkflowCommandInput,
150
162
  UpdateWorkflowCommandOutput,
@@ -165,9 +177,11 @@ import {
165
177
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
166
178
  export { __Client };
167
179
  export type ServiceInputTypes =
180
+ | CreateTemplateCommandInput
168
181
  | CreateWorkflowCommandInput
169
182
  | CreateWorkflowStepCommandInput
170
183
  | CreateWorkflowStepGroupCommandInput
184
+ | DeleteTemplateCommandInput
171
185
  | DeleteWorkflowCommandInput
172
186
  | DeleteWorkflowStepCommandInput
173
187
  | DeleteWorkflowStepGroupCommandInput
@@ -190,13 +204,16 @@ export type ServiceInputTypes =
190
204
  | StopWorkflowCommandInput
191
205
  | TagResourceCommandInput
192
206
  | UntagResourceCommandInput
207
+ | UpdateTemplateCommandInput
193
208
  | UpdateWorkflowCommandInput
194
209
  | UpdateWorkflowStepCommandInput
195
210
  | UpdateWorkflowStepGroupCommandInput;
196
211
  export type ServiceOutputTypes =
212
+ | CreateTemplateCommandOutput
197
213
  | CreateWorkflowCommandOutput
198
214
  | CreateWorkflowStepCommandOutput
199
215
  | CreateWorkflowStepGroupCommandOutput
216
+ | DeleteTemplateCommandOutput
200
217
  | DeleteWorkflowCommandOutput
201
218
  | DeleteWorkflowStepCommandOutput
202
219
  | DeleteWorkflowStepGroupCommandOutput
@@ -219,6 +236,7 @@ export type ServiceOutputTypes =
219
236
  | StopWorkflowCommandOutput
220
237
  | TagResourceCommandOutput
221
238
  | UntagResourceCommandOutput
239
+ | UpdateTemplateCommandOutput
222
240
  | UpdateWorkflowCommandOutput
223
241
  | UpdateWorkflowStepCommandOutput
224
242
  | UpdateWorkflowStepGroupCommandOutput;
@@ -0,0 +1,29 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MigrationHubOrchestratorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MigrationHubOrchestratorClient";
8
+ import {
9
+ CreateTemplateRequest,
10
+ CreateTemplateResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface CreateTemplateCommandInput extends CreateTemplateRequest {}
14
+ export interface CreateTemplateCommandOutput
15
+ extends CreateTemplateResponse,
16
+ __MetadataBearer {}
17
+ declare const CreateTemplateCommand_base: {
18
+ new (
19
+ input: CreateTemplateCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ CreateTemplateCommandInput,
22
+ CreateTemplateCommandOutput,
23
+ MigrationHubOrchestratorClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class CreateTemplateCommand extends CreateTemplateCommand_base {}
@@ -0,0 +1,29 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MigrationHubOrchestratorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MigrationHubOrchestratorClient";
8
+ import {
9
+ DeleteTemplateRequest,
10
+ DeleteTemplateResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DeleteTemplateCommandInput extends DeleteTemplateRequest {}
14
+ export interface DeleteTemplateCommandOutput
15
+ extends DeleteTemplateResponse,
16
+ __MetadataBearer {}
17
+ declare const DeleteTemplateCommand_base: {
18
+ new (
19
+ input: DeleteTemplateCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ DeleteTemplateCommandInput,
22
+ DeleteTemplateCommandOutput,
23
+ MigrationHubOrchestratorClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class DeleteTemplateCommand extends DeleteTemplateCommand_base {}
@@ -0,0 +1,29 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ MigrationHubOrchestratorClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../MigrationHubOrchestratorClient";
8
+ import {
9
+ UpdateTemplateRequest,
10
+ UpdateTemplateResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface UpdateTemplateCommandInput extends UpdateTemplateRequest {}
14
+ export interface UpdateTemplateCommandOutput
15
+ extends UpdateTemplateResponse,
16
+ __MetadataBearer {}
17
+ declare const UpdateTemplateCommand_base: {
18
+ new (
19
+ input: UpdateTemplateCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UpdateTemplateCommandInput,
22
+ UpdateTemplateCommandOutput,
23
+ MigrationHubOrchestratorClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UpdateTemplateCommand extends UpdateTemplateCommand_base {}
@@ -1,6 +1,8 @@
1
+ export * from "./CreateTemplateCommand";
1
2
  export * from "./CreateWorkflowCommand";
2
3
  export * from "./CreateWorkflowStepCommand";
3
4
  export * from "./CreateWorkflowStepGroupCommand";
5
+ export * from "./DeleteTemplateCommand";
4
6
  export * from "./DeleteWorkflowCommand";
5
7
  export * from "./DeleteWorkflowStepCommand";
6
8
  export * from "./DeleteWorkflowStepGroupCommand";
@@ -23,6 +25,7 @@ export * from "./StartWorkflowCommand";
23
25
  export * from "./StopWorkflowCommand";
24
26
  export * from "./TagResourceCommand";
25
27
  export * from "./UntagResourceCommand";
28
+ export * from "./UpdateTemplateCommand";
26
29
  export * from "./UpdateWorkflowCommand";
27
30
  export * from "./UpdateWorkflowStepCommand";
28
31
  export * from "./UpdateWorkflowStepGroupCommand";