@aws-sdk/client-migrationhuborchestrator 3.301.0 → 3.306.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.
@@ -58,23 +58,22 @@ var StepInput;
58
58
  return visitor._(value.$unknown[0], value.$unknown[1]);
59
59
  };
60
60
  })(StepInput = exports.StepInput || (exports.StepInput = {}));
61
- var MigrationWorkflowStatusEnum;
62
- (function (MigrationWorkflowStatusEnum) {
63
- MigrationWorkflowStatusEnum["COMPLETED"] = "COMPLETED";
64
- MigrationWorkflowStatusEnum["CREATING"] = "CREATING";
65
- MigrationWorkflowStatusEnum["CREATION_FAILED"] = "CREATION_FAILED";
66
- MigrationWorkflowStatusEnum["DELETED"] = "DELETED";
67
- MigrationWorkflowStatusEnum["DELETING"] = "DELETING";
68
- MigrationWorkflowStatusEnum["DELETION_FAILED"] = "DELETION_FAILED";
69
- MigrationWorkflowStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
70
- MigrationWorkflowStatusEnum["NOT_STARTED"] = "NOT_STARTED";
71
- MigrationWorkflowStatusEnum["PAUSED"] = "PAUSED";
72
- MigrationWorkflowStatusEnum["PAUSING"] = "PAUSING";
73
- MigrationWorkflowStatusEnum["PAUSING_FAILED"] = "PAUSING_FAILED";
74
- MigrationWorkflowStatusEnum["STARTING"] = "STARTING";
75
- MigrationWorkflowStatusEnum["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
76
- MigrationWorkflowStatusEnum["WORKFLOW_FAILED"] = "WORKFLOW_FAILED";
77
- })(MigrationWorkflowStatusEnum = exports.MigrationWorkflowStatusEnum || (exports.MigrationWorkflowStatusEnum = {}));
61
+ exports.MigrationWorkflowStatusEnum = {
62
+ COMPLETED: "COMPLETED",
63
+ CREATING: "CREATING",
64
+ CREATION_FAILED: "CREATION_FAILED",
65
+ DELETED: "DELETED",
66
+ DELETING: "DELETING",
67
+ DELETION_FAILED: "DELETION_FAILED",
68
+ IN_PROGRESS: "IN_PROGRESS",
69
+ NOT_STARTED: "NOT_STARTED",
70
+ PAUSED: "PAUSED",
71
+ PAUSING: "PAUSING",
72
+ PAUSING_FAILED: "PAUSING_FAILED",
73
+ STARTING: "STARTING",
74
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
75
+ WORKFLOW_FAILED: "WORKFLOW_FAILED",
76
+ };
78
77
  class InternalServerException extends MigrationHubOrchestratorServiceException_1.MigrationHubOrchestratorServiceException {
79
78
  constructor(opts) {
80
79
  super({
@@ -101,54 +100,46 @@ class ThrottlingException extends MigrationHubOrchestratorServiceException_1.Mig
101
100
  }
102
101
  }
103
102
  exports.ThrottlingException = ThrottlingException;
104
- var DataType;
105
- (function (DataType) {
106
- DataType["INTEGER"] = "INTEGER";
107
- DataType["STRING"] = "STRING";
108
- DataType["STRINGLIST"] = "STRINGLIST";
109
- DataType["STRINGMAP"] = "STRINGMAP";
110
- })(DataType = exports.DataType || (exports.DataType = {}));
111
- var TemplateStatus;
112
- (function (TemplateStatus) {
113
- TemplateStatus["CREATED"] = "CREATED";
114
- })(TemplateStatus = exports.TemplateStatus || (exports.TemplateStatus = {}));
115
- var PluginHealth;
116
- (function (PluginHealth) {
117
- PluginHealth["PLUGIN_HEALTHY"] = "HEALTHY";
118
- PluginHealth["PLUGIN_UNHEALTHY"] = "UNHEALTHY";
119
- })(PluginHealth = exports.PluginHealth || (exports.PluginHealth = {}));
120
- var StepActionType;
121
- (function (StepActionType) {
122
- StepActionType["AUTOMATED"] = "AUTOMATED";
123
- StepActionType["MANUAL"] = "MANUAL";
124
- })(StepActionType = exports.StepActionType || (exports.StepActionType = {}));
125
- var RunEnvironment;
126
- (function (RunEnvironment) {
127
- RunEnvironment["AWS"] = "AWS";
128
- RunEnvironment["ONPREMISE"] = "ONPREMISE";
129
- })(RunEnvironment = exports.RunEnvironment || (exports.RunEnvironment = {}));
130
- var TargetType;
131
- (function (TargetType) {
132
- TargetType["ALL"] = "ALL";
133
- TargetType["NONE"] = "NONE";
134
- TargetType["SINGLE"] = "SINGLE";
135
- })(TargetType = exports.TargetType || (exports.TargetType = {}));
136
- var Owner;
137
- (function (Owner) {
138
- Owner["AWSManaged"] = "AWS_MANAGED";
139
- Owner["CUSTOM"] = "CUSTOM";
140
- })(Owner = exports.Owner || (exports.Owner = {}));
141
- var StepGroupStatus;
142
- (function (StepGroupStatus) {
143
- StepGroupStatus["AWAITING_DEPENDENCIES"] = "AWAITING_DEPENDENCIES";
144
- StepGroupStatus["COMPLETED"] = "COMPLETED";
145
- StepGroupStatus["FAILED"] = "FAILED";
146
- StepGroupStatus["IN_PROGRESS"] = "IN_PROGRESS";
147
- StepGroupStatus["PAUSED"] = "PAUSED";
148
- StepGroupStatus["PAUSING"] = "PAUSING";
149
- StepGroupStatus["READY"] = "READY";
150
- StepGroupStatus["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
151
- })(StepGroupStatus = exports.StepGroupStatus || (exports.StepGroupStatus = {}));
103
+ exports.DataType = {
104
+ INTEGER: "INTEGER",
105
+ STRING: "STRING",
106
+ STRINGLIST: "STRINGLIST",
107
+ STRINGMAP: "STRINGMAP",
108
+ };
109
+ exports.TemplateStatus = {
110
+ CREATED: "CREATED",
111
+ };
112
+ exports.PluginHealth = {
113
+ PLUGIN_HEALTHY: "HEALTHY",
114
+ PLUGIN_UNHEALTHY: "UNHEALTHY",
115
+ };
116
+ exports.StepActionType = {
117
+ AUTOMATED: "AUTOMATED",
118
+ MANUAL: "MANUAL",
119
+ };
120
+ exports.RunEnvironment = {
121
+ AWS: "AWS",
122
+ ONPREMISE: "ONPREMISE",
123
+ };
124
+ exports.TargetType = {
125
+ ALL: "ALL",
126
+ NONE: "NONE",
127
+ SINGLE: "SINGLE",
128
+ };
129
+ exports.Owner = {
130
+ AWSManaged: "AWS_MANAGED",
131
+ CUSTOM: "CUSTOM",
132
+ };
133
+ exports.StepGroupStatus = {
134
+ AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
135
+ COMPLETED: "COMPLETED",
136
+ FAILED: "FAILED",
137
+ IN_PROGRESS: "IN_PROGRESS",
138
+ PAUSED: "PAUSED",
139
+ PAUSING: "PAUSING",
140
+ READY: "READY",
141
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
142
+ };
152
143
  var WorkflowStepOutputUnion;
153
144
  (function (WorkflowStepOutputUnion) {
154
145
  WorkflowStepOutputUnion.visit = (value, visitor) => {
@@ -161,16 +152,15 @@ var WorkflowStepOutputUnion;
161
152
  return visitor._(value.$unknown[0], value.$unknown[1]);
162
153
  };
163
154
  })(WorkflowStepOutputUnion = exports.WorkflowStepOutputUnion || (exports.WorkflowStepOutputUnion = {}));
164
- var StepStatus;
165
- (function (StepStatus) {
166
- StepStatus["AWAITING_DEPENDENCIES"] = "AWAITING_DEPENDENCIES";
167
- StepStatus["COMPLETED"] = "COMPLETED";
168
- StepStatus["FAILED"] = "FAILED";
169
- StepStatus["IN_PROGRESS"] = "IN_PROGRESS";
170
- StepStatus["PAUSED"] = "PAUSED";
171
- StepStatus["READY"] = "READY";
172
- StepStatus["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
173
- })(StepStatus = exports.StepStatus || (exports.StepStatus = {}));
155
+ exports.StepStatus = {
156
+ AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
157
+ COMPLETED: "COMPLETED",
158
+ FAILED: "FAILED",
159
+ IN_PROGRESS: "IN_PROGRESS",
160
+ PAUSED: "PAUSED",
161
+ READY: "READY",
162
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
163
+ };
174
164
  const CreateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
175
165
  ...obj,
176
166
  ...(obj.inputParameters && { inputParameters: smithy_client_1.SENSITIVE_STRING }),
@@ -52,23 +52,22 @@ export var StepInput;
52
52
  return visitor._(value.$unknown[0], value.$unknown[1]);
53
53
  };
54
54
  })(StepInput || (StepInput = {}));
55
- export var MigrationWorkflowStatusEnum;
56
- (function (MigrationWorkflowStatusEnum) {
57
- MigrationWorkflowStatusEnum["COMPLETED"] = "COMPLETED";
58
- MigrationWorkflowStatusEnum["CREATING"] = "CREATING";
59
- MigrationWorkflowStatusEnum["CREATION_FAILED"] = "CREATION_FAILED";
60
- MigrationWorkflowStatusEnum["DELETED"] = "DELETED";
61
- MigrationWorkflowStatusEnum["DELETING"] = "DELETING";
62
- MigrationWorkflowStatusEnum["DELETION_FAILED"] = "DELETION_FAILED";
63
- MigrationWorkflowStatusEnum["IN_PROGRESS"] = "IN_PROGRESS";
64
- MigrationWorkflowStatusEnum["NOT_STARTED"] = "NOT_STARTED";
65
- MigrationWorkflowStatusEnum["PAUSED"] = "PAUSED";
66
- MigrationWorkflowStatusEnum["PAUSING"] = "PAUSING";
67
- MigrationWorkflowStatusEnum["PAUSING_FAILED"] = "PAUSING_FAILED";
68
- MigrationWorkflowStatusEnum["STARTING"] = "STARTING";
69
- MigrationWorkflowStatusEnum["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
70
- MigrationWorkflowStatusEnum["WORKFLOW_FAILED"] = "WORKFLOW_FAILED";
71
- })(MigrationWorkflowStatusEnum || (MigrationWorkflowStatusEnum = {}));
55
+ export const MigrationWorkflowStatusEnum = {
56
+ COMPLETED: "COMPLETED",
57
+ CREATING: "CREATING",
58
+ CREATION_FAILED: "CREATION_FAILED",
59
+ DELETED: "DELETED",
60
+ DELETING: "DELETING",
61
+ DELETION_FAILED: "DELETION_FAILED",
62
+ IN_PROGRESS: "IN_PROGRESS",
63
+ NOT_STARTED: "NOT_STARTED",
64
+ PAUSED: "PAUSED",
65
+ PAUSING: "PAUSING",
66
+ PAUSING_FAILED: "PAUSING_FAILED",
67
+ STARTING: "STARTING",
68
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
69
+ WORKFLOW_FAILED: "WORKFLOW_FAILED",
70
+ };
72
71
  export class InternalServerException extends __BaseException {
73
72
  constructor(opts) {
74
73
  super({
@@ -93,54 +92,46 @@ export class ThrottlingException extends __BaseException {
93
92
  Object.setPrototypeOf(this, ThrottlingException.prototype);
94
93
  }
95
94
  }
96
- export var DataType;
97
- (function (DataType) {
98
- DataType["INTEGER"] = "INTEGER";
99
- DataType["STRING"] = "STRING";
100
- DataType["STRINGLIST"] = "STRINGLIST";
101
- DataType["STRINGMAP"] = "STRINGMAP";
102
- })(DataType || (DataType = {}));
103
- export var TemplateStatus;
104
- (function (TemplateStatus) {
105
- TemplateStatus["CREATED"] = "CREATED";
106
- })(TemplateStatus || (TemplateStatus = {}));
107
- export var PluginHealth;
108
- (function (PluginHealth) {
109
- PluginHealth["PLUGIN_HEALTHY"] = "HEALTHY";
110
- PluginHealth["PLUGIN_UNHEALTHY"] = "UNHEALTHY";
111
- })(PluginHealth || (PluginHealth = {}));
112
- export var StepActionType;
113
- (function (StepActionType) {
114
- StepActionType["AUTOMATED"] = "AUTOMATED";
115
- StepActionType["MANUAL"] = "MANUAL";
116
- })(StepActionType || (StepActionType = {}));
117
- export var RunEnvironment;
118
- (function (RunEnvironment) {
119
- RunEnvironment["AWS"] = "AWS";
120
- RunEnvironment["ONPREMISE"] = "ONPREMISE";
121
- })(RunEnvironment || (RunEnvironment = {}));
122
- export var TargetType;
123
- (function (TargetType) {
124
- TargetType["ALL"] = "ALL";
125
- TargetType["NONE"] = "NONE";
126
- TargetType["SINGLE"] = "SINGLE";
127
- })(TargetType || (TargetType = {}));
128
- export var Owner;
129
- (function (Owner) {
130
- Owner["AWSManaged"] = "AWS_MANAGED";
131
- Owner["CUSTOM"] = "CUSTOM";
132
- })(Owner || (Owner = {}));
133
- export var StepGroupStatus;
134
- (function (StepGroupStatus) {
135
- StepGroupStatus["AWAITING_DEPENDENCIES"] = "AWAITING_DEPENDENCIES";
136
- StepGroupStatus["COMPLETED"] = "COMPLETED";
137
- StepGroupStatus["FAILED"] = "FAILED";
138
- StepGroupStatus["IN_PROGRESS"] = "IN_PROGRESS";
139
- StepGroupStatus["PAUSED"] = "PAUSED";
140
- StepGroupStatus["PAUSING"] = "PAUSING";
141
- StepGroupStatus["READY"] = "READY";
142
- StepGroupStatus["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
143
- })(StepGroupStatus || (StepGroupStatus = {}));
95
+ export const DataType = {
96
+ INTEGER: "INTEGER",
97
+ STRING: "STRING",
98
+ STRINGLIST: "STRINGLIST",
99
+ STRINGMAP: "STRINGMAP",
100
+ };
101
+ export const TemplateStatus = {
102
+ CREATED: "CREATED",
103
+ };
104
+ export const PluginHealth = {
105
+ PLUGIN_HEALTHY: "HEALTHY",
106
+ PLUGIN_UNHEALTHY: "UNHEALTHY",
107
+ };
108
+ export const StepActionType = {
109
+ AUTOMATED: "AUTOMATED",
110
+ MANUAL: "MANUAL",
111
+ };
112
+ export const RunEnvironment = {
113
+ AWS: "AWS",
114
+ ONPREMISE: "ONPREMISE",
115
+ };
116
+ export const TargetType = {
117
+ ALL: "ALL",
118
+ NONE: "NONE",
119
+ SINGLE: "SINGLE",
120
+ };
121
+ export const Owner = {
122
+ AWSManaged: "AWS_MANAGED",
123
+ CUSTOM: "CUSTOM",
124
+ };
125
+ export const StepGroupStatus = {
126
+ AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
127
+ COMPLETED: "COMPLETED",
128
+ FAILED: "FAILED",
129
+ IN_PROGRESS: "IN_PROGRESS",
130
+ PAUSED: "PAUSED",
131
+ PAUSING: "PAUSING",
132
+ READY: "READY",
133
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
134
+ };
144
135
  export var WorkflowStepOutputUnion;
145
136
  (function (WorkflowStepOutputUnion) {
146
137
  WorkflowStepOutputUnion.visit = (value, visitor) => {
@@ -153,16 +144,15 @@ export var WorkflowStepOutputUnion;
153
144
  return visitor._(value.$unknown[0], value.$unknown[1]);
154
145
  };
155
146
  })(WorkflowStepOutputUnion || (WorkflowStepOutputUnion = {}));
156
- export var StepStatus;
157
- (function (StepStatus) {
158
- StepStatus["AWAITING_DEPENDENCIES"] = "AWAITING_DEPENDENCIES";
159
- StepStatus["COMPLETED"] = "COMPLETED";
160
- StepStatus["FAILED"] = "FAILED";
161
- StepStatus["IN_PROGRESS"] = "IN_PROGRESS";
162
- StepStatus["PAUSED"] = "PAUSED";
163
- StepStatus["READY"] = "READY";
164
- StepStatus["USER_ATTENTION_REQUIRED"] = "USER_ATTENTION_REQUIRED";
165
- })(StepStatus || (StepStatus = {}));
147
+ export const StepStatus = {
148
+ AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES",
149
+ COMPLETED: "COMPLETED",
150
+ FAILED: "FAILED",
151
+ IN_PROGRESS: "IN_PROGRESS",
152
+ PAUSED: "PAUSED",
153
+ READY: "READY",
154
+ USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED",
155
+ };
166
156
  export const CreateMigrationWorkflowRequestFilterSensitiveLog = (obj) => ({
167
157
  ...obj,
168
158
  ...(obj.inputParameters && { inputParameters: SENSITIVE_STRING }),
@@ -157,23 +157,28 @@ export interface CreateMigrationWorkflowRequest {
157
157
  }
158
158
  /**
159
159
  * @public
160
+ * @enum
160
161
  */
161
- export declare enum MigrationWorkflowStatusEnum {
162
- COMPLETED = "COMPLETED",
163
- CREATING = "CREATING",
164
- CREATION_FAILED = "CREATION_FAILED",
165
- DELETED = "DELETED",
166
- DELETING = "DELETING",
167
- DELETION_FAILED = "DELETION_FAILED",
168
- IN_PROGRESS = "IN_PROGRESS",
169
- NOT_STARTED = "NOT_STARTED",
170
- PAUSED = "PAUSED",
171
- PAUSING = "PAUSING",
172
- PAUSING_FAILED = "PAUSING_FAILED",
173
- STARTING = "STARTING",
174
- USER_ATTENTION_REQUIRED = "USER_ATTENTION_REQUIRED",
175
- WORKFLOW_FAILED = "WORKFLOW_FAILED"
176
- }
162
+ export declare const MigrationWorkflowStatusEnum: {
163
+ readonly COMPLETED: "COMPLETED";
164
+ readonly CREATING: "CREATING";
165
+ readonly CREATION_FAILED: "CREATION_FAILED";
166
+ readonly DELETED: "DELETED";
167
+ readonly DELETING: "DELETING";
168
+ readonly DELETION_FAILED: "DELETION_FAILED";
169
+ readonly IN_PROGRESS: "IN_PROGRESS";
170
+ readonly NOT_STARTED: "NOT_STARTED";
171
+ readonly PAUSED: "PAUSED";
172
+ readonly PAUSING: "PAUSING";
173
+ readonly PAUSING_FAILED: "PAUSING_FAILED";
174
+ readonly STARTING: "STARTING";
175
+ readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
176
+ readonly WORKFLOW_FAILED: "WORKFLOW_FAILED";
177
+ };
178
+ /**
179
+ * @public
180
+ */
181
+ export type MigrationWorkflowStatusEnum = (typeof MigrationWorkflowStatusEnum)[keyof typeof MigrationWorkflowStatusEnum];
177
182
  /**
178
183
  * @public
179
184
  */
@@ -626,13 +631,18 @@ export interface GetMigrationWorkflowTemplateRequest {
626
631
  }
627
632
  /**
628
633
  * @public
634
+ * @enum
629
635
  */
630
- export declare enum DataType {
631
- INTEGER = "INTEGER",
632
- STRING = "STRING",
633
- STRINGLIST = "STRINGLIST",
634
- STRINGMAP = "STRINGMAP"
635
- }
636
+ export declare const DataType: {
637
+ readonly INTEGER: "INTEGER";
638
+ readonly STRING: "STRING";
639
+ readonly STRINGLIST: "STRINGLIST";
640
+ readonly STRINGMAP: "STRINGMAP";
641
+ };
642
+ /**
643
+ * @public
644
+ */
645
+ export type DataType = (typeof DataType)[keyof typeof DataType];
636
646
  /**
637
647
  * @public
638
648
  * <p>The input parameters of a template.</p>
@@ -653,10 +663,15 @@ export interface TemplateInput {
653
663
  }
654
664
  /**
655
665
  * @public
666
+ * @enum
656
667
  */
657
- export declare enum TemplateStatus {
658
- CREATED = "CREATED"
659
- }
668
+ export declare const TemplateStatus: {
669
+ readonly CREATED: "CREATED";
670
+ };
671
+ /**
672
+ * @public
673
+ */
674
+ export type TemplateStatus = (typeof TemplateStatus)[keyof typeof TemplateStatus];
660
675
  /**
661
676
  * @public
662
677
  */
@@ -757,11 +772,16 @@ export interface ListPluginsRequest {
757
772
  }
758
773
  /**
759
774
  * @public
775
+ * @enum
760
776
  */
761
- export declare enum PluginHealth {
762
- PLUGIN_HEALTHY = "HEALTHY",
763
- PLUGIN_UNHEALTHY = "UNHEALTHY"
764
- }
777
+ export declare const PluginHealth: {
778
+ readonly PLUGIN_HEALTHY: "HEALTHY";
779
+ readonly PLUGIN_UNHEALTHY: "UNHEALTHY";
780
+ };
781
+ /**
782
+ * @public
783
+ */
784
+ export type PluginHealth = (typeof PluginHealth)[keyof typeof PluginHealth];
765
785
  /**
766
786
  * @public
767
787
  * <p>The summary of the Migration Hub Orchestrator plugin.</p>
@@ -861,11 +881,16 @@ export interface StepOutput {
861
881
  }
862
882
  /**
863
883
  * @public
884
+ * @enum
864
885
  */
865
- export declare enum StepActionType {
866
- AUTOMATED = "AUTOMATED",
867
- MANUAL = "MANUAL"
868
- }
886
+ export declare const StepActionType: {
887
+ readonly AUTOMATED: "AUTOMATED";
888
+ readonly MANUAL: "MANUAL";
889
+ };
890
+ /**
891
+ * @public
892
+ */
893
+ export type StepActionType = (typeof StepActionType)[keyof typeof StepActionType];
869
894
  /**
870
895
  * @public
871
896
  * <p>Command to be run on a particular operating system.</p>
@@ -882,11 +907,16 @@ export interface PlatformCommand {
882
907
  }
883
908
  /**
884
909
  * @public
910
+ * @enum
885
911
  */
886
- export declare enum RunEnvironment {
887
- AWS = "AWS",
888
- ONPREMISE = "ONPREMISE"
889
- }
912
+ export declare const RunEnvironment: {
913
+ readonly AWS: "AWS";
914
+ readonly ONPREMISE: "ONPREMISE";
915
+ };
916
+ /**
917
+ * @public
918
+ */
919
+ export type RunEnvironment = (typeof RunEnvironment)[keyof typeof RunEnvironment];
890
920
  /**
891
921
  * @public
892
922
  * <p>The script location for a particular operating system.</p>
@@ -903,12 +933,17 @@ export interface PlatformScriptKey {
903
933
  }
904
934
  /**
905
935
  * @public
936
+ * @enum
906
937
  */
907
- export declare enum TargetType {
908
- ALL = "ALL",
909
- NONE = "NONE",
910
- SINGLE = "SINGLE"
911
- }
938
+ export declare const TargetType: {
939
+ readonly ALL: "ALL";
940
+ readonly NONE: "NONE";
941
+ readonly SINGLE: "SINGLE";
942
+ };
943
+ /**
944
+ * @public
945
+ */
946
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
912
947
  /**
913
948
  * @public
914
949
  * <p>The custom script to run tests on source or target environments.</p>
@@ -1008,11 +1043,16 @@ export interface ListTemplateStepsRequest {
1008
1043
  }
1009
1044
  /**
1010
1045
  * @public
1046
+ * @enum
1011
1047
  */
1012
- export declare enum Owner {
1013
- AWSManaged = "AWS_MANAGED",
1014
- CUSTOM = "CUSTOM"
1015
- }
1048
+ export declare const Owner: {
1049
+ readonly AWSManaged: "AWS_MANAGED";
1050
+ readonly CUSTOM: "CUSTOM";
1051
+ };
1052
+ /**
1053
+ * @public
1054
+ */
1055
+ export type Owner = (typeof Owner)[keyof typeof Owner];
1016
1056
  /**
1017
1057
  * @public
1018
1058
  * <p>The summary of the step.</p>
@@ -1084,17 +1124,22 @@ export interface GetTemplateStepGroupRequest {
1084
1124
  }
1085
1125
  /**
1086
1126
  * @public
1127
+ * @enum
1087
1128
  */
1088
- export declare enum StepGroupStatus {
1089
- AWAITING_DEPENDENCIES = "AWAITING_DEPENDENCIES",
1090
- COMPLETED = "COMPLETED",
1091
- FAILED = "FAILED",
1092
- IN_PROGRESS = "IN_PROGRESS",
1093
- PAUSED = "PAUSED",
1094
- PAUSING = "PAUSING",
1095
- READY = "READY",
1096
- USER_ATTENTION_REQUIRED = "USER_ATTENTION_REQUIRED"
1097
- }
1129
+ export declare const StepGroupStatus: {
1130
+ readonly AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES";
1131
+ readonly COMPLETED: "COMPLETED";
1132
+ readonly FAILED: "FAILED";
1133
+ readonly IN_PROGRESS: "IN_PROGRESS";
1134
+ readonly PAUSED: "PAUSED";
1135
+ readonly PAUSING: "PAUSING";
1136
+ readonly READY: "READY";
1137
+ readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
1138
+ };
1139
+ /**
1140
+ * @public
1141
+ */
1142
+ export type StepGroupStatus = (typeof StepGroupStatus)[keyof typeof StepGroupStatus];
1098
1143
  /**
1099
1144
  * @public
1100
1145
  */
@@ -1417,16 +1462,21 @@ export interface GetWorkflowStepRequest {
1417
1462
  }
1418
1463
  /**
1419
1464
  * @public
1465
+ * @enum
1420
1466
  */
1421
- export declare enum StepStatus {
1422
- AWAITING_DEPENDENCIES = "AWAITING_DEPENDENCIES",
1423
- COMPLETED = "COMPLETED",
1424
- FAILED = "FAILED",
1425
- IN_PROGRESS = "IN_PROGRESS",
1426
- PAUSED = "PAUSED",
1427
- READY = "READY",
1428
- USER_ATTENTION_REQUIRED = "USER_ATTENTION_REQUIRED"
1429
- }
1467
+ export declare const StepStatus: {
1468
+ readonly AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES";
1469
+ readonly COMPLETED: "COMPLETED";
1470
+ readonly FAILED: "FAILED";
1471
+ readonly IN_PROGRESS: "IN_PROGRESS";
1472
+ readonly PAUSED: "PAUSED";
1473
+ readonly READY: "READY";
1474
+ readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
1475
+ };
1476
+ /**
1477
+ * @public
1478
+ */
1479
+ export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
1430
1480
  /**
1431
1481
  * @public
1432
1482
  */
@@ -89,22 +89,24 @@ export interface CreateMigrationWorkflowRequest {
89
89
  stepTargets?: string[];
90
90
  tags?: Record<string, string>;
91
91
  }
92
- export declare enum MigrationWorkflowStatusEnum {
93
- COMPLETED = "COMPLETED",
94
- CREATING = "CREATING",
95
- CREATION_FAILED = "CREATION_FAILED",
96
- DELETED = "DELETED",
97
- DELETING = "DELETING",
98
- DELETION_FAILED = "DELETION_FAILED",
99
- IN_PROGRESS = "IN_PROGRESS",
100
- NOT_STARTED = "NOT_STARTED",
101
- PAUSED = "PAUSED",
102
- PAUSING = "PAUSING",
103
- PAUSING_FAILED = "PAUSING_FAILED",
104
- STARTING = "STARTING",
105
- USER_ATTENTION_REQUIRED = "USER_ATTENTION_REQUIRED",
106
- WORKFLOW_FAILED = "WORKFLOW_FAILED",
107
- }
92
+ export declare const MigrationWorkflowStatusEnum: {
93
+ readonly COMPLETED: "COMPLETED";
94
+ readonly CREATING: "CREATING";
95
+ readonly CREATION_FAILED: "CREATION_FAILED";
96
+ readonly DELETED: "DELETED";
97
+ readonly DELETING: "DELETING";
98
+ readonly DELETION_FAILED: "DELETION_FAILED";
99
+ readonly IN_PROGRESS: "IN_PROGRESS";
100
+ readonly NOT_STARTED: "NOT_STARTED";
101
+ readonly PAUSED: "PAUSED";
102
+ readonly PAUSING: "PAUSING";
103
+ readonly PAUSING_FAILED: "PAUSING_FAILED";
104
+ readonly STARTING: "STARTING";
105
+ readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
106
+ readonly WORKFLOW_FAILED: "WORKFLOW_FAILED";
107
+ };
108
+ export type MigrationWorkflowStatusEnum =
109
+ (typeof MigrationWorkflowStatusEnum)[keyof typeof MigrationWorkflowStatusEnum];
108
110
  export interface CreateMigrationWorkflowResponse {
109
111
  id?: string;
110
112
  arn?: string;
@@ -237,20 +239,23 @@ export interface UpdateMigrationWorkflowResponse {
237
239
  export interface GetMigrationWorkflowTemplateRequest {
238
240
  id: string | undefined;
239
241
  }
240
- export declare enum DataType {
241
- INTEGER = "INTEGER",
242
- STRING = "STRING",
243
- STRINGLIST = "STRINGLIST",
244
- STRINGMAP = "STRINGMAP",
245
- }
242
+ export declare const DataType: {
243
+ readonly INTEGER: "INTEGER";
244
+ readonly STRING: "STRING";
245
+ readonly STRINGLIST: "STRINGLIST";
246
+ readonly STRINGMAP: "STRINGMAP";
247
+ };
248
+ export type DataType = (typeof DataType)[keyof typeof DataType];
246
249
  export interface TemplateInput {
247
250
  inputName?: string;
248
251
  dataType?: DataType | string;
249
252
  required?: boolean;
250
253
  }
251
- export declare enum TemplateStatus {
252
- CREATED = "CREATED",
253
- }
254
+ export declare const TemplateStatus: {
255
+ readonly CREATED: "CREATED";
256
+ };
257
+ export type TemplateStatus =
258
+ (typeof TemplateStatus)[keyof typeof TemplateStatus];
254
259
  export interface GetMigrationWorkflowTemplateResponse {
255
260
  id?: string;
256
261
  name?: string;
@@ -279,10 +284,11 @@ export interface ListPluginsRequest {
279
284
  maxResults?: number;
280
285
  nextToken?: string;
281
286
  }
282
- export declare enum PluginHealth {
283
- PLUGIN_HEALTHY = "HEALTHY",
284
- PLUGIN_UNHEALTHY = "UNHEALTHY",
285
- }
287
+ export declare const PluginHealth: {
288
+ readonly PLUGIN_HEALTHY: "HEALTHY";
289
+ readonly PLUGIN_UNHEALTHY: "UNHEALTHY";
290
+ };
291
+ export type PluginHealth = (typeof PluginHealth)[keyof typeof PluginHealth];
286
292
  export interface PluginSummary {
287
293
  pluginId?: string;
288
294
  hostname?: string;
@@ -310,27 +316,32 @@ export interface StepOutput {
310
316
  dataType?: DataType | string;
311
317
  required?: boolean;
312
318
  }
313
- export declare enum StepActionType {
314
- AUTOMATED = "AUTOMATED",
315
- MANUAL = "MANUAL",
316
- }
319
+ export declare const StepActionType: {
320
+ readonly AUTOMATED: "AUTOMATED";
321
+ readonly MANUAL: "MANUAL";
322
+ };
323
+ export type StepActionType =
324
+ (typeof StepActionType)[keyof typeof StepActionType];
317
325
  export interface PlatformCommand {
318
326
  linux?: string;
319
327
  windows?: string;
320
328
  }
321
- export declare enum RunEnvironment {
322
- AWS = "AWS",
323
- ONPREMISE = "ONPREMISE",
324
- }
329
+ export declare const RunEnvironment: {
330
+ readonly AWS: "AWS";
331
+ readonly ONPREMISE: "ONPREMISE";
332
+ };
333
+ export type RunEnvironment =
334
+ (typeof RunEnvironment)[keyof typeof RunEnvironment];
325
335
  export interface PlatformScriptKey {
326
336
  linux?: string;
327
337
  windows?: string;
328
338
  }
329
- export declare enum TargetType {
330
- ALL = "ALL",
331
- NONE = "NONE",
332
- SINGLE = "SINGLE",
333
- }
339
+ export declare const TargetType: {
340
+ readonly ALL: "ALL";
341
+ readonly NONE: "NONE";
342
+ readonly SINGLE: "SINGLE";
343
+ };
344
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
334
345
  export interface StepAutomationConfiguration {
335
346
  scriptLocationS3Bucket?: string;
336
347
  scriptLocationS3Key?: PlatformScriptKey;
@@ -357,10 +368,11 @@ export interface ListTemplateStepsRequest {
357
368
  templateId: string | undefined;
358
369
  stepGroupId: string | undefined;
359
370
  }
360
- export declare enum Owner {
361
- AWSManaged = "AWS_MANAGED",
362
- CUSTOM = "CUSTOM",
363
- }
371
+ export declare const Owner: {
372
+ readonly AWSManaged: "AWS_MANAGED";
373
+ readonly CUSTOM: "CUSTOM";
374
+ };
375
+ export type Owner = (typeof Owner)[keyof typeof Owner];
364
376
  export interface TemplateStepSummary {
365
377
  id?: string;
366
378
  stepGroupId?: string;
@@ -380,16 +392,18 @@ export interface GetTemplateStepGroupRequest {
380
392
  templateId: string | undefined;
381
393
  id: string | undefined;
382
394
  }
383
- export declare enum StepGroupStatus {
384
- AWAITING_DEPENDENCIES = "AWAITING_DEPENDENCIES",
385
- COMPLETED = "COMPLETED",
386
- FAILED = "FAILED",
387
- IN_PROGRESS = "IN_PROGRESS",
388
- PAUSED = "PAUSED",
389
- PAUSING = "PAUSING",
390
- READY = "READY",
391
- USER_ATTENTION_REQUIRED = "USER_ATTENTION_REQUIRED",
392
- }
395
+ export declare const StepGroupStatus: {
396
+ readonly AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES";
397
+ readonly COMPLETED: "COMPLETED";
398
+ readonly FAILED: "FAILED";
399
+ readonly IN_PROGRESS: "IN_PROGRESS";
400
+ readonly PAUSED: "PAUSED";
401
+ readonly PAUSING: "PAUSING";
402
+ readonly READY: "READY";
403
+ readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
404
+ };
405
+ export type StepGroupStatus =
406
+ (typeof StepGroupStatus)[keyof typeof StepGroupStatus];
393
407
  export interface GetTemplateStepGroupResponse {
394
408
  templateId?: string;
395
409
  id?: string;
@@ -502,15 +516,16 @@ export interface GetWorkflowStepRequest {
502
516
  stepGroupId: string | undefined;
503
517
  id: string | undefined;
504
518
  }
505
- export declare enum StepStatus {
506
- AWAITING_DEPENDENCIES = "AWAITING_DEPENDENCIES",
507
- COMPLETED = "COMPLETED",
508
- FAILED = "FAILED",
509
- IN_PROGRESS = "IN_PROGRESS",
510
- PAUSED = "PAUSED",
511
- READY = "READY",
512
- USER_ATTENTION_REQUIRED = "USER_ATTENTION_REQUIRED",
513
- }
519
+ export declare const StepStatus: {
520
+ readonly AWAITING_DEPENDENCIES: "AWAITING_DEPENDENCIES";
521
+ readonly COMPLETED: "COMPLETED";
522
+ readonly FAILED: "FAILED";
523
+ readonly IN_PROGRESS: "IN_PROGRESS";
524
+ readonly PAUSED: "PAUSED";
525
+ readonly READY: "READY";
526
+ readonly USER_ATTENTION_REQUIRED: "USER_ATTENTION_REQUIRED";
527
+ };
528
+ export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
514
529
  export interface GetWorkflowStepResponse {
515
530
  name?: string;
516
531
  stepGroupId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhuborchestrator",
3
3
  "description": "AWS SDK for JavaScript Migrationhuborchestrator Client for Node.js, Browser and React Native",
4
- "version": "3.301.0",
4
+ "version": "3.306.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.301.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.301.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.306.0",
25
+ "@aws-sdk/config-resolver": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.306.0",
27
+ "@aws-sdk/fetch-http-handler": "3.306.0",
28
+ "@aws-sdk/hash-node": "3.306.0",
29
+ "@aws-sdk/invalid-dependency": "3.306.0",
30
+ "@aws-sdk/middleware-content-length": "3.306.0",
31
+ "@aws-sdk/middleware-endpoint": "3.306.0",
32
+ "@aws-sdk/middleware-host-header": "3.306.0",
33
+ "@aws-sdk/middleware-logger": "3.306.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.306.0",
35
+ "@aws-sdk/middleware-retry": "3.306.0",
36
+ "@aws-sdk/middleware-serde": "3.306.0",
37
+ "@aws-sdk/middleware-signing": "3.306.0",
38
+ "@aws-sdk/middleware-stack": "3.306.0",
39
+ "@aws-sdk/middleware-user-agent": "3.306.0",
40
+ "@aws-sdk/node-config-provider": "3.306.0",
41
+ "@aws-sdk/node-http-handler": "3.306.0",
42
+ "@aws-sdk/protocol-http": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.306.0",
44
+ "@aws-sdk/types": "3.306.0",
45
+ "@aws-sdk/url-parser": "3.306.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.306.0",
51
+ "@aws-sdk/util-endpoints": "3.306.0",
52
+ "@aws-sdk/util-retry": "3.306.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.306.0",
54
+ "@aws-sdk/util-user-agent-node": "3.306.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",