@aws-sdk/client-m2 3.936.0 → 3.939.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.
package/dist-cjs/index.js CHANGED
@@ -2591,6 +2591,82 @@ const paginateListEngineVersions = core.createPaginator(M2Client, ListEngineVers
2591
2591
 
2592
2592
  const paginateListEnvironments = core.createPaginator(M2Client, ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
2593
2593
 
2594
+ const ValidationExceptionReason = {
2595
+ CANNOT_PARSE: "cannotParse",
2596
+ FEATURE_NOT_AVAILABLE: "featureNotAvailable",
2597
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
2598
+ OTHER: "other",
2599
+ UNKNOWN_OPERATION: "unknownOperation",
2600
+ UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion",
2601
+ };
2602
+ const EngineType = {
2603
+ BLUAGE: "bluage",
2604
+ MICROFOCUS: "microfocus",
2605
+ };
2606
+ const DeploymentLifecycle = {
2607
+ DEPLOYING: "Deploying",
2608
+ DEPLOY_UPDATE: "Updating Deployment",
2609
+ FAILED: "Failed",
2610
+ SUCCEEDED: "Succeeded",
2611
+ };
2612
+ const ApplicationVersionLifecycle = {
2613
+ AVAILABLE: "Available",
2614
+ CREATING: "Creating",
2615
+ FAILED: "Failed",
2616
+ };
2617
+ const ApplicationLifecycle = {
2618
+ AVAILABLE: "Available",
2619
+ CREATED: "Created",
2620
+ CREATING: "Creating",
2621
+ DELETING: "Deleting",
2622
+ DELETING_FROM_ENVIRONMENT: "Deleting From Environment",
2623
+ FAILED: "Failed",
2624
+ READY: "Ready",
2625
+ RUNNING: "Running",
2626
+ STARTING: "Starting",
2627
+ STOPPED: "Stopped",
2628
+ STOPPING: "Stopping",
2629
+ };
2630
+ const BatchJobType = {
2631
+ JES2: "JES2",
2632
+ JES3: "JES3",
2633
+ VSE: "VSE",
2634
+ };
2635
+ const BatchJobExecutionStatus = {
2636
+ CANCELLED: "Cancelled",
2637
+ CANCELLING: "Cancelling",
2638
+ DISPATCH: "Dispatching",
2639
+ FAILED: "Failed",
2640
+ HOLDING: "Holding",
2641
+ PURGED: "Purged",
2642
+ RUNNING: "Running",
2643
+ SUBMITTING: "Submitting",
2644
+ SUCCEEDED: "Succeeded",
2645
+ SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
2646
+ };
2647
+ const DataSetTaskLifecycle = {
2648
+ COMPLETED: "Completed",
2649
+ CREATING: "Creating",
2650
+ FAILED: "Failed",
2651
+ RUNNING: "Running",
2652
+ };
2653
+ const ApplicationDeploymentLifecycle = {
2654
+ DEPLOYED: "Deployed",
2655
+ DEPLOYING: "Deploying",
2656
+ };
2657
+ const NetworkType = {
2658
+ DUAL: "dual",
2659
+ IPV4: "ipv4",
2660
+ };
2661
+ const EnvironmentLifecycle = {
2662
+ AVAILABLE: "Available",
2663
+ CREATING: "Creating",
2664
+ DELETING: "Deleting",
2665
+ FAILED: "Failed",
2666
+ UNHEALTHY: "UnHealthy",
2667
+ UPDATING: "Updating",
2668
+ };
2669
+
2594
2670
  Object.defineProperty(exports, "$Command", {
2595
2671
  enumerable: true,
2596
2672
  get: function () { return smithyClient.Command; }
@@ -2600,6 +2676,11 @@ Object.defineProperty(exports, "__Client", {
2600
2676
  get: function () { return smithyClient.Client; }
2601
2677
  });
2602
2678
  exports.AccessDeniedException = AccessDeniedException$1;
2679
+ exports.ApplicationDeploymentLifecycle = ApplicationDeploymentLifecycle;
2680
+ exports.ApplicationLifecycle = ApplicationLifecycle;
2681
+ exports.ApplicationVersionLifecycle = ApplicationVersionLifecycle;
2682
+ exports.BatchJobExecutionStatus = BatchJobExecutionStatus;
2683
+ exports.BatchJobType = BatchJobType;
2603
2684
  exports.CancelBatchJobExecutionCommand = CancelBatchJobExecutionCommand;
2604
2685
  exports.ConflictException = ConflictException$1;
2605
2686
  exports.CreateApplicationCommand = CreateApplicationCommand;
@@ -2607,9 +2688,13 @@ exports.CreateDataSetExportTaskCommand = CreateDataSetExportTaskCommand;
2607
2688
  exports.CreateDataSetImportTaskCommand = CreateDataSetImportTaskCommand;
2608
2689
  exports.CreateDeploymentCommand = CreateDeploymentCommand;
2609
2690
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
2691
+ exports.DataSetTaskLifecycle = DataSetTaskLifecycle;
2610
2692
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
2611
2693
  exports.DeleteApplicationFromEnvironmentCommand = DeleteApplicationFromEnvironmentCommand;
2612
2694
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
2695
+ exports.DeploymentLifecycle = DeploymentLifecycle;
2696
+ exports.EngineType = EngineType;
2697
+ exports.EnvironmentLifecycle = EnvironmentLifecycle;
2613
2698
  exports.ExecutionTimeoutException = ExecutionTimeoutException$1;
2614
2699
  exports.GetApplicationCommand = GetApplicationCommand;
2615
2700
  exports.GetApplicationVersionCommand = GetApplicationVersionCommand;
@@ -2636,6 +2721,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2636
2721
  exports.M2 = M2;
2637
2722
  exports.M2Client = M2Client;
2638
2723
  exports.M2ServiceException = M2ServiceException$1;
2724
+ exports.NetworkType = NetworkType;
2639
2725
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
2640
2726
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2641
2727
  exports.ServiceUnavailableException = ServiceUnavailableException$1;
@@ -2648,6 +2734,7 @@ exports.UntagResourceCommand = UntagResourceCommand;
2648
2734
  exports.UpdateApplicationCommand = UpdateApplicationCommand;
2649
2735
  exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
2650
2736
  exports.ValidationException = ValidationException$1;
2737
+ exports.ValidationExceptionReason = ValidationExceptionReason;
2651
2738
  exports.paginateListApplicationVersions = paginateListApplicationVersions;
2652
2739
  exports.paginateListApplications = paginateListApplications;
2653
2740
  exports.paginateListBatchJobDefinitions = paginateListBatchJobDefinitions;
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./M2Client";
2
2
  export * from "./M2";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
+ export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { M2ServiceException } from "./models/M2ServiceException";
@@ -0,0 +1,75 @@
1
+ export const ValidationExceptionReason = {
2
+ CANNOT_PARSE: "cannotParse",
3
+ FEATURE_NOT_AVAILABLE: "featureNotAvailable",
4
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
5
+ OTHER: "other",
6
+ UNKNOWN_OPERATION: "unknownOperation",
7
+ UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion",
8
+ };
9
+ export const EngineType = {
10
+ BLUAGE: "bluage",
11
+ MICROFOCUS: "microfocus",
12
+ };
13
+ export const DeploymentLifecycle = {
14
+ DEPLOYING: "Deploying",
15
+ DEPLOY_UPDATE: "Updating Deployment",
16
+ FAILED: "Failed",
17
+ SUCCEEDED: "Succeeded",
18
+ };
19
+ export const ApplicationVersionLifecycle = {
20
+ AVAILABLE: "Available",
21
+ CREATING: "Creating",
22
+ FAILED: "Failed",
23
+ };
24
+ export const ApplicationLifecycle = {
25
+ AVAILABLE: "Available",
26
+ CREATED: "Created",
27
+ CREATING: "Creating",
28
+ DELETING: "Deleting",
29
+ DELETING_FROM_ENVIRONMENT: "Deleting From Environment",
30
+ FAILED: "Failed",
31
+ READY: "Ready",
32
+ RUNNING: "Running",
33
+ STARTING: "Starting",
34
+ STOPPED: "Stopped",
35
+ STOPPING: "Stopping",
36
+ };
37
+ export const BatchJobType = {
38
+ JES2: "JES2",
39
+ JES3: "JES3",
40
+ VSE: "VSE",
41
+ };
42
+ export const BatchJobExecutionStatus = {
43
+ CANCELLED: "Cancelled",
44
+ CANCELLING: "Cancelling",
45
+ DISPATCH: "Dispatching",
46
+ FAILED: "Failed",
47
+ HOLDING: "Holding",
48
+ PURGED: "Purged",
49
+ RUNNING: "Running",
50
+ SUBMITTING: "Submitting",
51
+ SUCCEEDED: "Succeeded",
52
+ SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
53
+ };
54
+ export const DataSetTaskLifecycle = {
55
+ COMPLETED: "Completed",
56
+ CREATING: "Creating",
57
+ FAILED: "Failed",
58
+ RUNNING: "Running",
59
+ };
60
+ export const ApplicationDeploymentLifecycle = {
61
+ DEPLOYED: "Deployed",
62
+ DEPLOYING: "Deploying",
63
+ };
64
+ export const NetworkType = {
65
+ DUAL: "dual",
66
+ IPV4: "ipv4",
67
+ };
68
+ export const EnvironmentLifecycle = {
69
+ AVAILABLE: "Available",
70
+ CREATING: "Creating",
71
+ DELETING: "Deleting",
72
+ FAILED: "Failed",
73
+ UNHEALTHY: "UnHealthy",
74
+ UPDATING: "Updating",
75
+ };
@@ -1,75 +1 @@
1
- export const ValidationExceptionReason = {
2
- CANNOT_PARSE: "cannotParse",
3
- FEATURE_NOT_AVAILABLE: "featureNotAvailable",
4
- FIELD_VALIDATION_FAILED: "fieldValidationFailed",
5
- OTHER: "other",
6
- UNKNOWN_OPERATION: "unknownOperation",
7
- UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion",
8
- };
9
- export const EngineType = {
10
- BLUAGE: "bluage",
11
- MICROFOCUS: "microfocus",
12
- };
13
- export const DeploymentLifecycle = {
14
- DEPLOYING: "Deploying",
15
- DEPLOY_UPDATE: "Updating Deployment",
16
- FAILED: "Failed",
17
- SUCCEEDED: "Succeeded",
18
- };
19
- export const ApplicationVersionLifecycle = {
20
- AVAILABLE: "Available",
21
- CREATING: "Creating",
22
- FAILED: "Failed",
23
- };
24
- export const ApplicationLifecycle = {
25
- AVAILABLE: "Available",
26
- CREATED: "Created",
27
- CREATING: "Creating",
28
- DELETING: "Deleting",
29
- DELETING_FROM_ENVIRONMENT: "Deleting From Environment",
30
- FAILED: "Failed",
31
- READY: "Ready",
32
- RUNNING: "Running",
33
- STARTING: "Starting",
34
- STOPPED: "Stopped",
35
- STOPPING: "Stopping",
36
- };
37
- export const BatchJobType = {
38
- JES2: "JES2",
39
- JES3: "JES3",
40
- VSE: "VSE",
41
- };
42
- export const BatchJobExecutionStatus = {
43
- CANCELLED: "Cancelled",
44
- CANCELLING: "Cancelling",
45
- DISPATCH: "Dispatching",
46
- FAILED: "Failed",
47
- HOLDING: "Holding",
48
- PURGED: "Purged",
49
- RUNNING: "Running",
50
- SUBMITTING: "Submitting",
51
- SUCCEEDED: "Succeeded",
52
- SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
53
- };
54
- export const DataSetTaskLifecycle = {
55
- COMPLETED: "Completed",
56
- CREATING: "Creating",
57
- FAILED: "Failed",
58
- RUNNING: "Running",
59
- };
60
- export const ApplicationDeploymentLifecycle = {
61
- DEPLOYED: "Deployed",
62
- DEPLOYING: "Deploying",
63
- };
64
- export const NetworkType = {
65
- DUAL: "dual",
66
- IPV4: "ipv4",
67
- };
68
- export const EnvironmentLifecycle = {
69
- AVAILABLE: "Available",
70
- CREATING: "Creating",
71
- DELETING: "Deleting",
72
- FAILED: "Failed",
73
- UNHEALTHY: "UnHealthy",
74
- UPDATING: "Updating",
75
- };
1
+ export {};
@@ -14,6 +14,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { M2ExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
16
16
  export * from "./pagination";
17
+ export * from "./models/enums";
17
18
  export * from "./models/errors";
18
19
  export type * from "./models/models_0";
19
20
  export { M2ServiceException } from "./models/M2ServiceException";
@@ -0,0 +1,163 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ValidationExceptionReason: {
6
+ readonly CANNOT_PARSE: "cannotParse";
7
+ readonly FEATURE_NOT_AVAILABLE: "featureNotAvailable";
8
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
9
+ readonly OTHER: "other";
10
+ readonly UNKNOWN_OPERATION: "unknownOperation";
11
+ readonly UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const EngineType: {
22
+ readonly BLUAGE: "bluage";
23
+ readonly MICROFOCUS: "microfocus";
24
+ };
25
+ /**
26
+ * @public
27
+ */
28
+ export type EngineType = (typeof EngineType)[keyof typeof EngineType];
29
+ /**
30
+ * @public
31
+ * @enum
32
+ */
33
+ export declare const DeploymentLifecycle: {
34
+ readonly DEPLOYING: "Deploying";
35
+ readonly DEPLOY_UPDATE: "Updating Deployment";
36
+ readonly FAILED: "Failed";
37
+ readonly SUCCEEDED: "Succeeded";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type DeploymentLifecycle = (typeof DeploymentLifecycle)[keyof typeof DeploymentLifecycle];
43
+ /**
44
+ * @public
45
+ * @enum
46
+ */
47
+ export declare const ApplicationVersionLifecycle: {
48
+ readonly AVAILABLE: "Available";
49
+ readonly CREATING: "Creating";
50
+ readonly FAILED: "Failed";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type ApplicationVersionLifecycle = (typeof ApplicationVersionLifecycle)[keyof typeof ApplicationVersionLifecycle];
56
+ /**
57
+ * @public
58
+ * @enum
59
+ */
60
+ export declare const ApplicationLifecycle: {
61
+ readonly AVAILABLE: "Available";
62
+ readonly CREATED: "Created";
63
+ readonly CREATING: "Creating";
64
+ readonly DELETING: "Deleting";
65
+ readonly DELETING_FROM_ENVIRONMENT: "Deleting From Environment";
66
+ readonly FAILED: "Failed";
67
+ readonly READY: "Ready";
68
+ readonly RUNNING: "Running";
69
+ readonly STARTING: "Starting";
70
+ readonly STOPPED: "Stopped";
71
+ readonly STOPPING: "Stopping";
72
+ };
73
+ /**
74
+ * @public
75
+ */
76
+ export type ApplicationLifecycle = (typeof ApplicationLifecycle)[keyof typeof ApplicationLifecycle];
77
+ /**
78
+ * @public
79
+ * @enum
80
+ */
81
+ export declare const BatchJobType: {
82
+ readonly JES2: "JES2";
83
+ readonly JES3: "JES3";
84
+ readonly VSE: "VSE";
85
+ };
86
+ /**
87
+ * @public
88
+ */
89
+ export type BatchJobType = (typeof BatchJobType)[keyof typeof BatchJobType];
90
+ /**
91
+ * @public
92
+ * @enum
93
+ */
94
+ export declare const BatchJobExecutionStatus: {
95
+ readonly CANCELLED: "Cancelled";
96
+ readonly CANCELLING: "Cancelling";
97
+ readonly DISPATCH: "Dispatching";
98
+ readonly FAILED: "Failed";
99
+ readonly HOLDING: "Holding";
100
+ readonly PURGED: "Purged";
101
+ readonly RUNNING: "Running";
102
+ readonly SUBMITTING: "Submitting";
103
+ readonly SUCCEEDED: "Succeeded";
104
+ readonly SUCCEEDED_WITH_WARNING: "Succeeded With Warning";
105
+ };
106
+ /**
107
+ * @public
108
+ */
109
+ export type BatchJobExecutionStatus = (typeof BatchJobExecutionStatus)[keyof typeof BatchJobExecutionStatus];
110
+ /**
111
+ * @public
112
+ * @enum
113
+ */
114
+ export declare const DataSetTaskLifecycle: {
115
+ readonly COMPLETED: "Completed";
116
+ readonly CREATING: "Creating";
117
+ readonly FAILED: "Failed";
118
+ readonly RUNNING: "Running";
119
+ };
120
+ /**
121
+ * @public
122
+ */
123
+ export type DataSetTaskLifecycle = (typeof DataSetTaskLifecycle)[keyof typeof DataSetTaskLifecycle];
124
+ /**
125
+ * @public
126
+ * @enum
127
+ */
128
+ export declare const ApplicationDeploymentLifecycle: {
129
+ readonly DEPLOYED: "Deployed";
130
+ readonly DEPLOYING: "Deploying";
131
+ };
132
+ /**
133
+ * @public
134
+ */
135
+ export type ApplicationDeploymentLifecycle = (typeof ApplicationDeploymentLifecycle)[keyof typeof ApplicationDeploymentLifecycle];
136
+ /**
137
+ * @public
138
+ * @enum
139
+ */
140
+ export declare const NetworkType: {
141
+ readonly DUAL: "dual";
142
+ readonly IPV4: "ipv4";
143
+ };
144
+ /**
145
+ * @public
146
+ */
147
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
148
+ /**
149
+ * @public
150
+ * @enum
151
+ */
152
+ export declare const EnvironmentLifecycle: {
153
+ readonly AVAILABLE: "Available";
154
+ readonly CREATING: "Creating";
155
+ readonly DELETING: "Deleting";
156
+ readonly FAILED: "Failed";
157
+ readonly UNHEALTHY: "UnHealthy";
158
+ readonly UPDATING: "Updating";
159
+ };
160
+ /**
161
+ * @public
162
+ */
163
+ export type EnvironmentLifecycle = (typeof EnvironmentLifecycle)[keyof typeof EnvironmentLifecycle];
@@ -1,6 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
2
3
  import { M2ServiceException as __BaseException } from "./M2ServiceException";
3
- import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
4
+ import { ValidationExceptionField } from "./models_0";
4
5
  /**
5
6
  * <p>The account or role doesn't have the right permissions to make the request.</p>
6
7
  * @public
@@ -1,3 +1,4 @@
1
+ import { ApplicationDeploymentLifecycle, ApplicationLifecycle, ApplicationVersionLifecycle, BatchJobExecutionStatus, BatchJobType, DataSetTaskLifecycle, DeploymentLifecycle, EngineType, EnvironmentLifecycle, NetworkType } from "./enums";
1
2
  /**
2
3
  * <p>Defines an alternate key. This value is optional. A legacy data set might not have any
3
4
  * alternate key defined but if those alternate keys definitions exist, provide them, as some
@@ -69,22 +70,6 @@ export interface ValidationExceptionField {
69
70
  */
70
71
  message: string | undefined;
71
72
  }
72
- /**
73
- * @public
74
- * @enum
75
- */
76
- export declare const ValidationExceptionReason: {
77
- readonly CANNOT_PARSE: "cannotParse";
78
- readonly FEATURE_NOT_AVAILABLE: "featureNotAvailable";
79
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
80
- readonly OTHER: "other";
81
- readonly UNKNOWN_OPERATION: "unknownOperation";
82
- readonly UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion";
83
- };
84
- /**
85
- * @public
86
- */
87
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
88
73
  /**
89
74
  * <p>The application definition for a particular application. </p>
90
75
  * @public
@@ -131,18 +116,6 @@ export declare namespace Definition {
131
116
  _: (name: string, value: any) => T;
132
117
  }
133
118
  }
134
- /**
135
- * @public
136
- * @enum
137
- */
138
- export declare const EngineType: {
139
- readonly BLUAGE: "bluage";
140
- readonly MICROFOCUS: "microfocus";
141
- };
142
- /**
143
- * @public
144
- */
145
- export type EngineType = (typeof EngineType)[keyof typeof EngineType];
146
119
  /**
147
120
  * @public
148
121
  */
@@ -762,20 +735,6 @@ export interface GetApplicationRequest {
762
735
  */
763
736
  applicationId: string | undefined;
764
737
  }
765
- /**
766
- * @public
767
- * @enum
768
- */
769
- export declare const DeploymentLifecycle: {
770
- readonly DEPLOYING: "Deploying";
771
- readonly DEPLOY_UPDATE: "Updating Deployment";
772
- readonly FAILED: "Failed";
773
- readonly SUCCEEDED: "Succeeded";
774
- };
775
- /**
776
- * @public
777
- */
778
- export type DeploymentLifecycle = (typeof DeploymentLifecycle)[keyof typeof DeploymentLifecycle];
779
738
  /**
780
739
  * <p>Contains a summary of a deployed application.</p>
781
740
  * @public
@@ -797,19 +756,6 @@ export interface DeployedVersionSummary {
797
756
  */
798
757
  statusReason?: string | undefined;
799
758
  }
800
- /**
801
- * @public
802
- * @enum
803
- */
804
- export declare const ApplicationVersionLifecycle: {
805
- readonly AVAILABLE: "Available";
806
- readonly CREATING: "Creating";
807
- readonly FAILED: "Failed";
808
- };
809
- /**
810
- * @public
811
- */
812
- export type ApplicationVersionLifecycle = (typeof ApplicationVersionLifecycle)[keyof typeof ApplicationVersionLifecycle];
813
759
  /**
814
760
  * <p>Defines an application version summary.</p>
815
761
  * @public
@@ -853,27 +799,6 @@ export interface LogGroupSummary {
853
799
  */
854
800
  logGroupName: string | undefined;
855
801
  }
856
- /**
857
- * @public
858
- * @enum
859
- */
860
- export declare const ApplicationLifecycle: {
861
- readonly AVAILABLE: "Available";
862
- readonly CREATED: "Created";
863
- readonly CREATING: "Creating";
864
- readonly DELETING: "Deleting";
865
- readonly DELETING_FROM_ENVIRONMENT: "Deleting From Environment";
866
- readonly FAILED: "Failed";
867
- readonly READY: "Ready";
868
- readonly RUNNING: "Running";
869
- readonly STARTING: "Starting";
870
- readonly STOPPED: "Stopped";
871
- readonly STOPPING: "Stopping";
872
- };
873
- /**
874
- * @public
875
- */
876
- export type ApplicationLifecycle = (typeof ApplicationLifecycle)[keyof typeof ApplicationLifecycle];
877
802
  /**
878
803
  * @public
879
804
  */
@@ -1281,39 +1206,6 @@ export declare namespace BatchJobIdentifier {
1281
1206
  _: (name: string, value: any) => T;
1282
1207
  }
1283
1208
  }
1284
- /**
1285
- * @public
1286
- * @enum
1287
- */
1288
- export declare const BatchJobType: {
1289
- readonly JES2: "JES2";
1290
- readonly JES3: "JES3";
1291
- readonly VSE: "VSE";
1292
- };
1293
- /**
1294
- * @public
1295
- */
1296
- export type BatchJobType = (typeof BatchJobType)[keyof typeof BatchJobType];
1297
- /**
1298
- * @public
1299
- * @enum
1300
- */
1301
- export declare const BatchJobExecutionStatus: {
1302
- readonly CANCELLED: "Cancelled";
1303
- readonly CANCELLING: "Cancelling";
1304
- readonly DISPATCH: "Dispatching";
1305
- readonly FAILED: "Failed";
1306
- readonly HOLDING: "Holding";
1307
- readonly PURGED: "Purged";
1308
- readonly RUNNING: "Running";
1309
- readonly SUBMITTING: "Submitting";
1310
- readonly SUCCEEDED: "Succeeded";
1311
- readonly SUCCEEDED_WITH_WARNING: "Succeeded With Warning";
1312
- };
1313
- /**
1314
- * @public
1315
- */
1316
- export type BatchJobExecutionStatus = (typeof BatchJobExecutionStatus)[keyof typeof BatchJobExecutionStatus];
1317
1209
  /**
1318
1210
  * @public
1319
1211
  */
@@ -1636,20 +1528,6 @@ export interface GetDataSetExportTaskRequest {
1636
1528
  */
1637
1529
  taskId: string | undefined;
1638
1530
  }
1639
- /**
1640
- * @public
1641
- * @enum
1642
- */
1643
- export declare const DataSetTaskLifecycle: {
1644
- readonly COMPLETED: "Completed";
1645
- readonly CREATING: "Creating";
1646
- readonly FAILED: "Failed";
1647
- readonly RUNNING: "Running";
1648
- };
1649
- /**
1650
- * @public
1651
- */
1652
- export type DataSetTaskLifecycle = (typeof DataSetTaskLifecycle)[keyof typeof DataSetTaskLifecycle];
1653
1531
  /**
1654
1532
  * <p>Represents a summary of data set exports.</p>
1655
1533
  * @public
@@ -1859,18 +1737,6 @@ export interface ListApplicationsRequest {
1859
1737
  */
1860
1738
  environmentId?: string | undefined;
1861
1739
  }
1862
- /**
1863
- * @public
1864
- * @enum
1865
- */
1866
- export declare const ApplicationDeploymentLifecycle: {
1867
- readonly DEPLOYED: "Deployed";
1868
- readonly DEPLOYING: "Deploying";
1869
- };
1870
- /**
1871
- * @public
1872
- */
1873
- export type ApplicationDeploymentLifecycle = (typeof ApplicationDeploymentLifecycle)[keyof typeof ApplicationDeploymentLifecycle];
1874
1740
  /**
1875
1741
  * <p>A subset of the possible application attributes. Used in the application list.</p>
1876
1742
  * @public
@@ -2732,18 +2598,6 @@ export interface HighAvailabilityConfig {
2732
2598
  */
2733
2599
  desiredCapacity: number | undefined;
2734
2600
  }
2735
- /**
2736
- * @public
2737
- * @enum
2738
- */
2739
- export declare const NetworkType: {
2740
- readonly DUAL: "dual";
2741
- readonly IPV4: "ipv4";
2742
- };
2743
- /**
2744
- * @public
2745
- */
2746
- export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
2747
2601
  /**
2748
2602
  * <p>Defines the storage configuration for an Amazon EFS file system.</p>
2749
2603
  * @public
@@ -2973,22 +2827,6 @@ export interface PendingMaintenance {
2973
2827
  */
2974
2828
  engineVersion?: string | undefined;
2975
2829
  }
2976
- /**
2977
- * @public
2978
- * @enum
2979
- */
2980
- export declare const EnvironmentLifecycle: {
2981
- readonly AVAILABLE: "Available";
2982
- readonly CREATING: "Creating";
2983
- readonly DELETING: "Deleting";
2984
- readonly FAILED: "Failed";
2985
- readonly UNHEALTHY: "UnHealthy";
2986
- readonly UPDATING: "Updating";
2987
- };
2988
- /**
2989
- * @public
2990
- */
2991
- export type EnvironmentLifecycle = (typeof EnvironmentLifecycle)[keyof typeof EnvironmentLifecycle];
2992
2830
  /**
2993
2831
  * @public
2994
2832
  */
@@ -5,6 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { M2ExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
+ export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
10
11
  export { M2ServiceException } from "./models/M2ServiceException";
@@ -0,0 +1,94 @@
1
+ export declare const ValidationExceptionReason: {
2
+ readonly CANNOT_PARSE: "cannotParse";
3
+ readonly FEATURE_NOT_AVAILABLE: "featureNotAvailable";
4
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
5
+ readonly OTHER: "other";
6
+ readonly UNKNOWN_OPERATION: "unknownOperation";
7
+ readonly UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion";
8
+ };
9
+ export type ValidationExceptionReason =
10
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
11
+ export declare const EngineType: {
12
+ readonly BLUAGE: "bluage";
13
+ readonly MICROFOCUS: "microfocus";
14
+ };
15
+ export type EngineType = (typeof EngineType)[keyof typeof EngineType];
16
+ export declare const DeploymentLifecycle: {
17
+ readonly DEPLOYING: "Deploying";
18
+ readonly DEPLOY_UPDATE: "Updating Deployment";
19
+ readonly FAILED: "Failed";
20
+ readonly SUCCEEDED: "Succeeded";
21
+ };
22
+ export type DeploymentLifecycle =
23
+ (typeof DeploymentLifecycle)[keyof typeof DeploymentLifecycle];
24
+ export declare const ApplicationVersionLifecycle: {
25
+ readonly AVAILABLE: "Available";
26
+ readonly CREATING: "Creating";
27
+ readonly FAILED: "Failed";
28
+ };
29
+ export type ApplicationVersionLifecycle =
30
+ (typeof ApplicationVersionLifecycle)[keyof typeof ApplicationVersionLifecycle];
31
+ export declare const ApplicationLifecycle: {
32
+ readonly AVAILABLE: "Available";
33
+ readonly CREATED: "Created";
34
+ readonly CREATING: "Creating";
35
+ readonly DELETING: "Deleting";
36
+ readonly DELETING_FROM_ENVIRONMENT: "Deleting From Environment";
37
+ readonly FAILED: "Failed";
38
+ readonly READY: "Ready";
39
+ readonly RUNNING: "Running";
40
+ readonly STARTING: "Starting";
41
+ readonly STOPPED: "Stopped";
42
+ readonly STOPPING: "Stopping";
43
+ };
44
+ export type ApplicationLifecycle =
45
+ (typeof ApplicationLifecycle)[keyof typeof ApplicationLifecycle];
46
+ export declare const BatchJobType: {
47
+ readonly JES2: "JES2";
48
+ readonly JES3: "JES3";
49
+ readonly VSE: "VSE";
50
+ };
51
+ export type BatchJobType = (typeof BatchJobType)[keyof typeof BatchJobType];
52
+ export declare const BatchJobExecutionStatus: {
53
+ readonly CANCELLED: "Cancelled";
54
+ readonly CANCELLING: "Cancelling";
55
+ readonly DISPATCH: "Dispatching";
56
+ readonly FAILED: "Failed";
57
+ readonly HOLDING: "Holding";
58
+ readonly PURGED: "Purged";
59
+ readonly RUNNING: "Running";
60
+ readonly SUBMITTING: "Submitting";
61
+ readonly SUCCEEDED: "Succeeded";
62
+ readonly SUCCEEDED_WITH_WARNING: "Succeeded With Warning";
63
+ };
64
+ export type BatchJobExecutionStatus =
65
+ (typeof BatchJobExecutionStatus)[keyof typeof BatchJobExecutionStatus];
66
+ export declare const DataSetTaskLifecycle: {
67
+ readonly COMPLETED: "Completed";
68
+ readonly CREATING: "Creating";
69
+ readonly FAILED: "Failed";
70
+ readonly RUNNING: "Running";
71
+ };
72
+ export type DataSetTaskLifecycle =
73
+ (typeof DataSetTaskLifecycle)[keyof typeof DataSetTaskLifecycle];
74
+ export declare const ApplicationDeploymentLifecycle: {
75
+ readonly DEPLOYED: "Deployed";
76
+ readonly DEPLOYING: "Deploying";
77
+ };
78
+ export type ApplicationDeploymentLifecycle =
79
+ (typeof ApplicationDeploymentLifecycle)[keyof typeof ApplicationDeploymentLifecycle];
80
+ export declare const NetworkType: {
81
+ readonly DUAL: "dual";
82
+ readonly IPV4: "ipv4";
83
+ };
84
+ export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
85
+ export declare const EnvironmentLifecycle: {
86
+ readonly AVAILABLE: "Available";
87
+ readonly CREATING: "Creating";
88
+ readonly DELETING: "Deleting";
89
+ readonly FAILED: "Failed";
90
+ readonly UNHEALTHY: "UnHealthy";
91
+ readonly UPDATING: "Updating";
92
+ };
93
+ export type EnvironmentLifecycle =
94
+ (typeof EnvironmentLifecycle)[keyof typeof EnvironmentLifecycle];
@@ -1,9 +1,7 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ValidationExceptionReason } from "./enums";
2
3
  import { M2ServiceException as __BaseException } from "./M2ServiceException";
3
- import {
4
- ValidationExceptionField,
5
- ValidationExceptionReason,
6
- } from "./models_0";
4
+ import { ValidationExceptionField } from "./models_0";
7
5
  export declare class AccessDeniedException extends __BaseException {
8
6
  readonly name: "AccessDeniedException";
9
7
  readonly $fault: "client";
@@ -1,3 +1,15 @@
1
+ import {
2
+ ApplicationDeploymentLifecycle,
3
+ ApplicationLifecycle,
4
+ ApplicationVersionLifecycle,
5
+ BatchJobExecutionStatus,
6
+ BatchJobType,
7
+ DataSetTaskLifecycle,
8
+ DeploymentLifecycle,
9
+ EngineType,
10
+ EnvironmentLifecycle,
11
+ NetworkType,
12
+ } from "./enums";
1
13
  export interface AlternateKey {
2
14
  name?: string | undefined;
3
15
  offset: number | undefined;
@@ -14,16 +26,6 @@ export interface ValidationExceptionField {
14
26
  name: string | undefined;
15
27
  message: string | undefined;
16
28
  }
17
- export declare const ValidationExceptionReason: {
18
- readonly CANNOT_PARSE: "cannotParse";
19
- readonly FEATURE_NOT_AVAILABLE: "featureNotAvailable";
20
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
21
- readonly OTHER: "other";
22
- readonly UNKNOWN_OPERATION: "unknownOperation";
23
- readonly UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion";
24
- };
25
- export type ValidationExceptionReason =
26
- (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
27
29
  export type Definition =
28
30
  | Definition.ContentMember
29
31
  | Definition.S3LocationMember
@@ -50,11 +52,6 @@ export declare namespace Definition {
50
52
  _: (name: string, value: any) => T;
51
53
  }
52
54
  }
53
- export declare const EngineType: {
54
- readonly BLUAGE: "bluage";
55
- readonly MICROFOCUS: "microfocus";
56
- };
57
- export type EngineType = (typeof EngineType)[keyof typeof EngineType];
58
55
  export interface CreateApplicationRequest {
59
56
  name: string | undefined;
60
57
  description?: string | undefined;
@@ -271,26 +268,11 @@ export interface DeleteApplicationFromEnvironmentResponse {}
271
268
  export interface GetApplicationRequest {
272
269
  applicationId: string | undefined;
273
270
  }
274
- export declare const DeploymentLifecycle: {
275
- readonly DEPLOYING: "Deploying";
276
- readonly DEPLOY_UPDATE: "Updating Deployment";
277
- readonly FAILED: "Failed";
278
- readonly SUCCEEDED: "Succeeded";
279
- };
280
- export type DeploymentLifecycle =
281
- (typeof DeploymentLifecycle)[keyof typeof DeploymentLifecycle];
282
271
  export interface DeployedVersionSummary {
283
272
  applicationVersion: number | undefined;
284
273
  status: DeploymentLifecycle | undefined;
285
274
  statusReason?: string | undefined;
286
275
  }
287
- export declare const ApplicationVersionLifecycle: {
288
- readonly AVAILABLE: "Available";
289
- readonly CREATING: "Creating";
290
- readonly FAILED: "Failed";
291
- };
292
- export type ApplicationVersionLifecycle =
293
- (typeof ApplicationVersionLifecycle)[keyof typeof ApplicationVersionLifecycle];
294
276
  export interface ApplicationVersionSummary {
295
277
  applicationVersion: number | undefined;
296
278
  status: ApplicationVersionLifecycle | undefined;
@@ -301,21 +283,6 @@ export interface LogGroupSummary {
301
283
  logType: string | undefined;
302
284
  logGroupName: string | undefined;
303
285
  }
304
- export declare const ApplicationLifecycle: {
305
- readonly AVAILABLE: "Available";
306
- readonly CREATED: "Created";
307
- readonly CREATING: "Creating";
308
- readonly DELETING: "Deleting";
309
- readonly DELETING_FROM_ENVIRONMENT: "Deleting From Environment";
310
- readonly FAILED: "Failed";
311
- readonly READY: "Ready";
312
- readonly RUNNING: "Running";
313
- readonly STARTING: "Starting";
314
- readonly STOPPED: "Stopped";
315
- readonly STOPPING: "Stopping";
316
- };
317
- export type ApplicationLifecycle =
318
- (typeof ApplicationLifecycle)[keyof typeof ApplicationLifecycle];
319
286
  export interface GetApplicationResponse {
320
287
  name: string | undefined;
321
288
  description?: string | undefined;
@@ -455,26 +422,6 @@ export declare namespace BatchJobIdentifier {
455
422
  _: (name: string, value: any) => T;
456
423
  }
457
424
  }
458
- export declare const BatchJobType: {
459
- readonly JES2: "JES2";
460
- readonly JES3: "JES3";
461
- readonly VSE: "VSE";
462
- };
463
- export type BatchJobType = (typeof BatchJobType)[keyof typeof BatchJobType];
464
- export declare const BatchJobExecutionStatus: {
465
- readonly CANCELLED: "Cancelled";
466
- readonly CANCELLING: "Cancelling";
467
- readonly DISPATCH: "Dispatching";
468
- readonly FAILED: "Failed";
469
- readonly HOLDING: "Holding";
470
- readonly PURGED: "Purged";
471
- readonly RUNNING: "Running";
472
- readonly SUBMITTING: "Submitting";
473
- readonly SUCCEEDED: "Succeeded";
474
- readonly SUCCEEDED_WITH_WARNING: "Succeeded With Warning";
475
- };
476
- export type BatchJobExecutionStatus =
477
- (typeof BatchJobExecutionStatus)[keyof typeof BatchJobExecutionStatus];
478
425
  export interface GetBatchJobExecutionResponse {
479
426
  executionId: string | undefined;
480
427
  applicationId: string | undefined;
@@ -579,14 +526,6 @@ export interface GetDataSetExportTaskRequest {
579
526
  applicationId: string | undefined;
580
527
  taskId: string | undefined;
581
528
  }
582
- export declare const DataSetTaskLifecycle: {
583
- readonly COMPLETED: "Completed";
584
- readonly CREATING: "Creating";
585
- readonly FAILED: "Failed";
586
- readonly RUNNING: "Running";
587
- };
588
- export type DataSetTaskLifecycle =
589
- (typeof DataSetTaskLifecycle)[keyof typeof DataSetTaskLifecycle];
590
529
  export interface DataSetExportSummary {
591
530
  total: number | undefined;
592
531
  succeeded: number | undefined;
@@ -636,12 +575,6 @@ export interface ListApplicationsRequest {
636
575
  names?: string[] | undefined;
637
576
  environmentId?: string | undefined;
638
577
  }
639
- export declare const ApplicationDeploymentLifecycle: {
640
- readonly DEPLOYED: "Deployed";
641
- readonly DEPLOYING: "Deploying";
642
- };
643
- export type ApplicationDeploymentLifecycle =
644
- (typeof ApplicationDeploymentLifecycle)[keyof typeof ApplicationDeploymentLifecycle];
645
578
  export interface ApplicationSummary {
646
579
  name: string | undefined;
647
580
  description?: string | undefined;
@@ -855,11 +788,6 @@ export interface UpdateApplicationResponse {
855
788
  export interface HighAvailabilityConfig {
856
789
  desiredCapacity: number | undefined;
857
790
  }
858
- export declare const NetworkType: {
859
- readonly DUAL: "dual";
860
- readonly IPV4: "ipv4";
861
- };
862
- export type NetworkType = (typeof NetworkType)[keyof typeof NetworkType];
863
791
  export interface EfsStorageConfiguration {
864
792
  fileSystemId: string | undefined;
865
793
  mountPoint: string | undefined;
@@ -929,16 +857,6 @@ export interface PendingMaintenance {
929
857
  schedule?: MaintenanceSchedule | undefined;
930
858
  engineVersion?: string | undefined;
931
859
  }
932
- export declare const EnvironmentLifecycle: {
933
- readonly AVAILABLE: "Available";
934
- readonly CREATING: "Creating";
935
- readonly DELETING: "Deleting";
936
- readonly FAILED: "Failed";
937
- readonly UNHEALTHY: "UnHealthy";
938
- readonly UPDATING: "Updating";
939
- };
940
- export type EnvironmentLifecycle =
941
- (typeof EnvironmentLifecycle)[keyof typeof EnvironmentLifecycle];
942
860
  export interface GetEnvironmentResponse {
943
861
  name: string | undefined;
944
862
  description?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-m2",
3
3
  "description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
4
- "version": "3.936.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-m2",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",