@aws-sdk/client-m2 3.300.0 → 3.303.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 (37) hide show
  1. package/dist-cjs/models/models_0.js +65 -75
  2. package/dist-es/models/models_0.js +65 -75
  3. package/dist-types/commands/CancelBatchJobExecutionCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -3
  5. package/dist-types/commands/CreateDataSetImportTaskCommand.d.ts +13 -13
  6. package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateEnvironmentCommand.d.ts +8 -8
  8. package/dist-types/commands/DeleteApplicationCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteApplicationFromEnvironmentCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +1 -1
  11. package/dist-types/commands/GetApplicationCommand.d.ts +1 -1
  12. package/dist-types/commands/GetApplicationVersionCommand.d.ts +1 -1
  13. package/dist-types/commands/GetBatchJobExecutionCommand.d.ts +1 -1
  14. package/dist-types/commands/GetDataSetDetailsCommand.d.ts +1 -1
  15. package/dist-types/commands/GetDataSetImportTaskCommand.d.ts +1 -1
  16. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  17. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  18. package/dist-types/commands/ListApplicationVersionsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListApplicationsCommand.d.ts +2 -2
  20. package/dist-types/commands/ListBatchJobDefinitionsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListBatchJobExecutionsCommand.d.ts +2 -2
  22. package/dist-types/commands/ListDataSetImportHistoryCommand.d.ts +1 -1
  23. package/dist-types/commands/ListDataSetsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListDeploymentsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListEngineVersionsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -2
  27. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/StartApplicationCommand.d.ts +1 -1
  29. package/dist-types/commands/StartBatchJobCommand.d.ts +5 -5
  30. package/dist-types/commands/StopApplicationCommand.d.ts +1 -1
  31. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  32. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  33. package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -2
  34. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +1 -1
  35. package/dist-types/models/models_0.d.ts +115 -65
  36. package/dist-types/ts3.4/models/models_0.d.ts +83 -65
  37. package/package.json +34 -34
@@ -28,10 +28,10 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
28
28
  * import { M2Client, ListApplicationsCommand } from "@aws-sdk/client-m2"; // ES Modules import
29
29
  * // const { M2Client, ListApplicationsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
30
30
  * const client = new M2Client(config);
31
- * const input = {
31
+ * const input = { // ListApplicationsRequest
32
32
  * nextToken: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
34
- * names: [
34
+ * names: [ // EntityNameList
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * environmentId: "STRING_VALUE",
@@ -28,7 +28,7 @@ export interface ListBatchJobDefinitionsCommandOutput extends ListBatchJobDefini
28
28
  * import { M2Client, ListBatchJobDefinitionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
29
29
  * // const { M2Client, ListBatchJobDefinitionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
30
30
  * const client = new M2Client(config);
31
- * const input = {
31
+ * const input = { // ListBatchJobDefinitionsRequest
32
32
  * nextToken: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
34
34
  * applicationId: "STRING_VALUE", // required
@@ -27,11 +27,11 @@ export interface ListBatchJobExecutionsCommandOutput extends ListBatchJobExecuti
27
27
  * import { M2Client, ListBatchJobExecutionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
28
28
  * // const { M2Client, ListBatchJobExecutionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
29
29
  * const client = new M2Client(config);
30
- * const input = {
30
+ * const input = { // ListBatchJobExecutionsRequest
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
33
33
  * applicationId: "STRING_VALUE", // required
34
- * executionIds: [
34
+ * executionIds: [ // IdentifierList
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * jobName: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListDataSetImportHistoryCommandOutput extends ListDataSetImport
26
26
  * import { M2Client, ListDataSetImportHistoryCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, ListDataSetImportHistoryCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // ListDataSetImportHistoryRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
32
  * applicationId: "STRING_VALUE", // required
@@ -28,7 +28,7 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
28
28
  * import { M2Client, ListDataSetsCommand } from "@aws-sdk/client-m2"; // ES Modules import
29
29
  * // const { M2Client, ListDataSetsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
30
30
  * const client = new M2Client(config);
31
- * const input = {
31
+ * const input = { // ListDataSetsRequest
32
32
  * applicationId: "STRING_VALUE", // required
33
33
  * nextToken: "STRING_VALUE",
34
34
  * maxResults: Number("int"),
@@ -28,7 +28,7 @@ export interface ListDeploymentsCommandOutput extends ListDeploymentsResponse, _
28
28
  * import { M2Client, ListDeploymentsCommand } from "@aws-sdk/client-m2"; // ES Modules import
29
29
  * // const { M2Client, ListDeploymentsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
30
30
  * const client = new M2Client(config);
31
- * const input = {
31
+ * const input = { // ListDeploymentsRequest
32
32
  * nextToken: "STRING_VALUE",
33
33
  * maxResults: Number("int"),
34
34
  * applicationId: "STRING_VALUE", // required
@@ -26,7 +26,7 @@ export interface ListEngineVersionsCommandOutput extends ListEngineVersionsRespo
26
26
  * import { M2Client, ListEngineVersionsCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, ListEngineVersionsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // ListEngineVersionsRequest
30
30
  * engineType: "STRING_VALUE",
31
31
  * nextToken: "STRING_VALUE",
32
32
  * maxResults: Number("int"),
@@ -26,10 +26,10 @@ export interface ListEnvironmentsCommandOutput extends ListEnvironmentsResponse,
26
26
  * import { M2Client, ListEnvironmentsCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, ListEnvironmentsCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // ListEnvironmentsRequest
30
30
  * nextToken: "STRING_VALUE",
31
31
  * maxResults: Number("int"),
32
- * names: [
32
+ * names: [ // EntityNameList
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * engineType: "STRING_VALUE",
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { M2Client, ListTagsForResourceCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -26,7 +26,7 @@ export interface StartApplicationCommandOutput extends StartApplicationResponse,
26
26
  * import { M2Client, StartApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, StartApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // StartApplicationRequest
30
30
  * applicationId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new StartApplicationCommand(input);
@@ -27,18 +27,18 @@ export interface StartBatchJobCommandOutput extends StartBatchJobResponse, __Met
27
27
  * import { M2Client, StartBatchJobCommand } from "@aws-sdk/client-m2"; // ES Modules import
28
28
  * // const { M2Client, StartBatchJobCommand } = require("@aws-sdk/client-m2"); // CommonJS import
29
29
  * const client = new M2Client(config);
30
- * const input = {
30
+ * const input = { // StartBatchJobRequest
31
31
  * applicationId: "STRING_VALUE", // required
32
- * batchJobIdentifier: { // Union: only one key present
33
- * fileBatchJobIdentifier: {
32
+ * batchJobIdentifier: { // BatchJobIdentifier Union: only one key present
33
+ * fileBatchJobIdentifier: { // FileBatchJobIdentifier
34
34
  * fileName: "STRING_VALUE", // required
35
35
  * folderPath: "STRING_VALUE",
36
36
  * },
37
- * scriptBatchJobIdentifier: {
37
+ * scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
38
38
  * scriptName: "STRING_VALUE", // required
39
39
  * },
40
40
  * },
41
- * jobParams: {
41
+ * jobParams: { // BatchJobParametersMap
42
42
  * "<keys>": "STRING_VALUE",
43
43
  * },
44
44
  * };
@@ -26,7 +26,7 @@ export interface StopApplicationCommandOutput extends StopApplicationResponse, _
26
26
  * import { M2Client, StopApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, StopApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // StopApplicationRequest
30
30
  * applicationId: "STRING_VALUE", // required
31
31
  * forceStop: true || false,
32
32
  * };
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { M2Client, TagResourceCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, TagResourceCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tags: { // required
31
+ * tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { M2Client, UntagResourceCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, UntagResourceCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * resourceArn: "STRING_VALUE", // required
31
- * tagKeys: [ // required
31
+ * tagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,11 +26,11 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
26
26
  * import { M2Client, UpdateApplicationCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, UpdateApplicationCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // UpdateApplicationRequest
30
30
  * applicationId: "STRING_VALUE", // required
31
31
  * description: "STRING_VALUE",
32
32
  * currentApplicationVersion: Number("int"), // required
33
- * definition: { // Union: only one key present
33
+ * definition: { // Definition Union: only one key present
34
34
  * s3Location: "STRING_VALUE",
35
35
  * content: "STRING_VALUE",
36
36
  * },
@@ -26,7 +26,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
26
26
  * import { M2Client, UpdateEnvironmentCommand } from "@aws-sdk/client-m2"; // ES Modules import
27
27
  * // const { M2Client, UpdateEnvironmentCommand } = require("@aws-sdk/client-m2"); // CommonJS import
28
28
  * const client = new M2Client(config);
29
- * const input = {
29
+ * const input = { // UpdateEnvironmentRequest
30
30
  * environmentId: "STRING_VALUE", // required
31
31
  * desiredCapacity: Number("int"),
32
32
  * instanceType: "STRING_VALUE",
@@ -156,13 +156,18 @@ export interface ValidationExceptionField {
156
156
  }
157
157
  /**
158
158
  * @public
159
+ * @enum
159
160
  */
160
- export declare enum ValidationExceptionReason {
161
- CANNOT_PARSE = "cannotParse",
162
- FIELD_VALIDATION_FAILED = "fieldValidationFailed",
163
- OTHER = "other",
164
- UNKNOWN_OPERATION = "unknownOperation"
165
- }
161
+ export declare const ValidationExceptionReason: {
162
+ readonly CANNOT_PARSE: "cannotParse";
163
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
164
+ readonly OTHER: "other";
165
+ readonly UNKNOWN_OPERATION: "unknownOperation";
166
+ };
167
+ /**
168
+ * @public
169
+ */
170
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
166
171
  /**
167
172
  * @public
168
173
  * <p>One or more parameters provided in the request is not valid.</p>
@@ -223,11 +228,16 @@ export declare namespace Definition {
223
228
  }
224
229
  /**
225
230
  * @public
231
+ * @enum
226
232
  */
227
- export declare enum EngineType {
228
- BLUAGE = "bluage",
229
- MICROFOCUS = "microfocus"
230
- }
233
+ export declare const EngineType: {
234
+ readonly BLUAGE: "bluage";
235
+ readonly MICROFOCUS: "microfocus";
236
+ };
237
+ /**
238
+ * @public
239
+ */
240
+ export type EngineType = (typeof EngineType)[keyof typeof EngineType];
231
241
  /**
232
242
  * @public
233
243
  */
@@ -644,12 +654,17 @@ export interface GetApplicationRequest {
644
654
  }
645
655
  /**
646
656
  * @public
657
+ * @enum
647
658
  */
648
- export declare enum DeploymentLifecycle {
649
- DEPLOYING = "Deploying",
650
- FAILED = "Failed",
651
- SUCCEEDED = "Succeeded"
652
- }
659
+ export declare const DeploymentLifecycle: {
660
+ readonly DEPLOYING: "Deploying";
661
+ readonly FAILED: "Failed";
662
+ readonly SUCCEEDED: "Succeeded";
663
+ };
664
+ /**
665
+ * @public
666
+ */
667
+ export type DeploymentLifecycle = (typeof DeploymentLifecycle)[keyof typeof DeploymentLifecycle];
653
668
  /**
654
669
  * @public
655
670
  * <p>Contains a summary of a deployed application.</p>
@@ -670,12 +685,17 @@ export interface DeployedVersionSummary {
670
685
  }
671
686
  /**
672
687
  * @public
688
+ * @enum
673
689
  */
674
- export declare enum ApplicationVersionLifecycle {
675
- AVAILABLE = "Available",
676
- CREATING = "Creating",
677
- FAILED = "Failed"
678
- }
690
+ export declare const ApplicationVersionLifecycle: {
691
+ readonly AVAILABLE: "Available";
692
+ readonly CREATING: "Creating";
693
+ readonly FAILED: "Failed";
694
+ };
695
+ /**
696
+ * @public
697
+ */
698
+ export type ApplicationVersionLifecycle = (typeof ApplicationVersionLifecycle)[keyof typeof ApplicationVersionLifecycle];
679
699
  /**
680
700
  * @public
681
701
  * <p>Defines an application version summary.</p>
@@ -715,20 +735,25 @@ export interface LogGroupSummary {
715
735
  }
716
736
  /**
717
737
  * @public
738
+ * @enum
718
739
  */
719
- export declare enum ApplicationLifecycle {
720
- AVAILABLE = "Available",
721
- CREATED = "Created",
722
- CREATING = "Creating",
723
- DELETING = "Deleting",
724
- DELETING_FROM_ENVIRONMENT = "Deleting From Environment",
725
- FAILED = "Failed",
726
- READY = "Ready",
727
- RUNNING = "Running",
728
- STARTING = "Starting",
729
- STOPPED = "Stopped",
730
- STOPPING = "Stopping"
731
- }
740
+ export declare const ApplicationLifecycle: {
741
+ readonly AVAILABLE: "Available";
742
+ readonly CREATED: "Created";
743
+ readonly CREATING: "Creating";
744
+ readonly DELETING: "Deleting";
745
+ readonly DELETING_FROM_ENVIRONMENT: "Deleting From Environment";
746
+ readonly FAILED: "Failed";
747
+ readonly READY: "Ready";
748
+ readonly RUNNING: "Running";
749
+ readonly STARTING: "Starting";
750
+ readonly STOPPED: "Stopped";
751
+ readonly STOPPING: "Stopping";
752
+ };
753
+ /**
754
+ * @public
755
+ */
756
+ export type ApplicationLifecycle = (typeof ApplicationLifecycle)[keyof typeof ApplicationLifecycle];
732
757
  /**
733
758
  * @public
734
759
  */
@@ -941,26 +966,36 @@ export declare namespace BatchJobIdentifier {
941
966
  }
942
967
  /**
943
968
  * @public
969
+ * @enum
944
970
  */
945
- export declare enum BatchJobType {
946
- JES2 = "JES2",
947
- JES3 = "JES3",
948
- VSE = "VSE"
949
- }
971
+ export declare const BatchJobType: {
972
+ readonly JES2: "JES2";
973
+ readonly JES3: "JES3";
974
+ readonly VSE: "VSE";
975
+ };
950
976
  /**
951
977
  * @public
952
978
  */
953
- export declare enum BatchJobExecutionStatus {
954
- CANCELLED = "Cancelled",
955
- CANCELLING = "Cancelling",
956
- DISPATCH = "Dispatching",
957
- FAILED = "Failed",
958
- HOLDING = "Holding",
959
- RUNNING = "Running",
960
- SUBMITTING = "Submitting",
961
- SUCCEEDED = "Succeeded",
962
- SUCCEEDED_WITH_WARNING = "Succeeded With Warning"
963
- }
979
+ export type BatchJobType = (typeof BatchJobType)[keyof typeof BatchJobType];
980
+ /**
981
+ * @public
982
+ * @enum
983
+ */
984
+ export declare const BatchJobExecutionStatus: {
985
+ readonly CANCELLED: "Cancelled";
986
+ readonly CANCELLING: "Cancelling";
987
+ readonly DISPATCH: "Dispatching";
988
+ readonly FAILED: "Failed";
989
+ readonly HOLDING: "Holding";
990
+ readonly RUNNING: "Running";
991
+ readonly SUBMITTING: "Submitting";
992
+ readonly SUCCEEDED: "Succeeded";
993
+ readonly SUCCEEDED_WITH_WARNING: "Succeeded With Warning";
994
+ };
995
+ /**
996
+ * @public
997
+ */
998
+ export type BatchJobExecutionStatus = (typeof BatchJobExecutionStatus)[keyof typeof BatchJobExecutionStatus];
964
999
  /**
965
1000
  * @public
966
1001
  */
@@ -1171,12 +1206,17 @@ export interface GetDataSetImportTaskRequest {
1171
1206
  }
1172
1207
  /**
1173
1208
  * @public
1209
+ * @enum
1174
1210
  */
1175
- export declare enum DataSetTaskLifecycle {
1176
- COMPLETED = "Completed",
1177
- CREATING = "Creating",
1178
- RUNNING = "Running"
1179
- }
1211
+ export declare const DataSetTaskLifecycle: {
1212
+ readonly COMPLETED: "Completed";
1213
+ readonly CREATING: "Creating";
1214
+ readonly RUNNING: "Running";
1215
+ };
1216
+ /**
1217
+ * @public
1218
+ */
1219
+ export type DataSetTaskLifecycle = (typeof DataSetTaskLifecycle)[keyof typeof DataSetTaskLifecycle];
1180
1220
  /**
1181
1221
  * @public
1182
1222
  * <p>Represents a summary of data set imports.</p>
@@ -1290,11 +1330,16 @@ export interface ListApplicationsRequest {
1290
1330
  }
1291
1331
  /**
1292
1332
  * @public
1333
+ * @enum
1293
1334
  */
1294
- export declare enum ApplicationDeploymentLifecycle {
1295
- DEPLOYED = "Deployed",
1296
- DEPLOYING = "Deploying"
1297
- }
1335
+ export declare const ApplicationDeploymentLifecycle: {
1336
+ readonly DEPLOYED: "Deployed";
1337
+ readonly DEPLOYING: "Deploying";
1338
+ };
1339
+ /**
1340
+ * @public
1341
+ */
1342
+ export type ApplicationDeploymentLifecycle = (typeof ApplicationDeploymentLifecycle)[keyof typeof ApplicationDeploymentLifecycle];
1298
1343
  /**
1299
1344
  * @public
1300
1345
  * <p>A subset of the possible application attributes. Used in the application list.</p>
@@ -2078,14 +2123,19 @@ export interface PendingMaintenance {
2078
2123
  }
2079
2124
  /**
2080
2125
  * @public
2126
+ * @enum
2081
2127
  */
2082
- export declare enum EnvironmentLifecycle {
2083
- AVAILABLE = "Available",
2084
- CREATING = "Creating",
2085
- DELETING = "Deleting",
2086
- FAILED = "Failed",
2087
- UPDATING = "Updating"
2088
- }
2128
+ export declare const EnvironmentLifecycle: {
2129
+ readonly AVAILABLE: "Available";
2130
+ readonly CREATING: "Creating";
2131
+ readonly DELETING: "Deleting";
2132
+ readonly FAILED: "Failed";
2133
+ readonly UPDATING: "Updating";
2134
+ };
2135
+ /**
2136
+ * @public
2137
+ */
2138
+ export type EnvironmentLifecycle = (typeof EnvironmentLifecycle)[keyof typeof EnvironmentLifecycle];
2089
2139
  /**
2090
2140
  * @public
2091
2141
  */