@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
@@ -60,12 +60,14 @@ export interface ValidationExceptionField {
60
60
  name: string | undefined;
61
61
  message: string | undefined;
62
62
  }
63
- export declare enum ValidationExceptionReason {
64
- CANNOT_PARSE = "cannotParse",
65
- FIELD_VALIDATION_FAILED = "fieldValidationFailed",
66
- OTHER = "other",
67
- UNKNOWN_OPERATION = "unknownOperation",
68
- }
63
+ export declare const ValidationExceptionReason: {
64
+ readonly CANNOT_PARSE: "cannotParse";
65
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
66
+ readonly OTHER: "other";
67
+ readonly UNKNOWN_OPERATION: "unknownOperation";
68
+ };
69
+ export type ValidationExceptionReason =
70
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
69
71
  export declare class ValidationException extends __BaseException {
70
72
  readonly name: "ValidationException";
71
73
  readonly $fault: "client";
@@ -102,10 +104,11 @@ export declare namespace Definition {
102
104
  }
103
105
  const visit: <T>(value: Definition, visitor: Visitor<T>) => T;
104
106
  }
105
- export declare enum EngineType {
106
- BLUAGE = "bluage",
107
- MICROFOCUS = "microfocus",
108
- }
107
+ export declare const EngineType: {
108
+ readonly BLUAGE: "bluage";
109
+ readonly MICROFOCUS: "microfocus";
110
+ };
111
+ export type EngineType = (typeof EngineType)[keyof typeof EngineType];
109
112
  export interface CreateApplicationRequest {
110
113
  name: string | undefined;
111
114
  description?: string;
@@ -263,21 +266,25 @@ export interface DeleteApplicationFromEnvironmentResponse {}
263
266
  export interface GetApplicationRequest {
264
267
  applicationId: string | undefined;
265
268
  }
266
- export declare enum DeploymentLifecycle {
267
- DEPLOYING = "Deploying",
268
- FAILED = "Failed",
269
- SUCCEEDED = "Succeeded",
270
- }
269
+ export declare const DeploymentLifecycle: {
270
+ readonly DEPLOYING: "Deploying";
271
+ readonly FAILED: "Failed";
272
+ readonly SUCCEEDED: "Succeeded";
273
+ };
274
+ export type DeploymentLifecycle =
275
+ (typeof DeploymentLifecycle)[keyof typeof DeploymentLifecycle];
271
276
  export interface DeployedVersionSummary {
272
277
  applicationVersion: number | undefined;
273
278
  status: DeploymentLifecycle | string | undefined;
274
279
  statusReason?: string;
275
280
  }
276
- export declare enum ApplicationVersionLifecycle {
277
- AVAILABLE = "Available",
278
- CREATING = "Creating",
279
- FAILED = "Failed",
280
- }
281
+ export declare const ApplicationVersionLifecycle: {
282
+ readonly AVAILABLE: "Available";
283
+ readonly CREATING: "Creating";
284
+ readonly FAILED: "Failed";
285
+ };
286
+ export type ApplicationVersionLifecycle =
287
+ (typeof ApplicationVersionLifecycle)[keyof typeof ApplicationVersionLifecycle];
281
288
  export interface ApplicationVersionSummary {
282
289
  applicationVersion: number | undefined;
283
290
  status: ApplicationVersionLifecycle | string | undefined;
@@ -288,19 +295,21 @@ export interface LogGroupSummary {
288
295
  logType: string | undefined;
289
296
  logGroupName: string | undefined;
290
297
  }
291
- export declare enum ApplicationLifecycle {
292
- AVAILABLE = "Available",
293
- CREATED = "Created",
294
- CREATING = "Creating",
295
- DELETING = "Deleting",
296
- DELETING_FROM_ENVIRONMENT = "Deleting From Environment",
297
- FAILED = "Failed",
298
- READY = "Ready",
299
- RUNNING = "Running",
300
- STARTING = "Starting",
301
- STOPPED = "Stopped",
302
- STOPPING = "Stopping",
303
- }
298
+ export declare const ApplicationLifecycle: {
299
+ readonly AVAILABLE: "Available";
300
+ readonly CREATED: "Created";
301
+ readonly CREATING: "Creating";
302
+ readonly DELETING: "Deleting";
303
+ readonly DELETING_FROM_ENVIRONMENT: "Deleting From Environment";
304
+ readonly FAILED: "Failed";
305
+ readonly READY: "Ready";
306
+ readonly RUNNING: "Running";
307
+ readonly STARTING: "Starting";
308
+ readonly STOPPED: "Stopped";
309
+ readonly STOPPING: "Stopping";
310
+ };
311
+ export type ApplicationLifecycle =
312
+ (typeof ApplicationLifecycle)[keyof typeof ApplicationLifecycle];
304
313
  export interface GetApplicationResponse {
305
314
  name: string | undefined;
306
315
  description?: string;
@@ -373,22 +382,25 @@ export declare namespace BatchJobIdentifier {
373
382
  }
374
383
  const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
375
384
  }
376
- export declare enum BatchJobType {
377
- JES2 = "JES2",
378
- JES3 = "JES3",
379
- VSE = "VSE",
380
- }
381
- export declare enum BatchJobExecutionStatus {
382
- CANCELLED = "Cancelled",
383
- CANCELLING = "Cancelling",
384
- DISPATCH = "Dispatching",
385
- FAILED = "Failed",
386
- HOLDING = "Holding",
387
- RUNNING = "Running",
388
- SUBMITTING = "Submitting",
389
- SUCCEEDED = "Succeeded",
390
- SUCCEEDED_WITH_WARNING = "Succeeded With Warning",
391
- }
385
+ export declare const BatchJobType: {
386
+ readonly JES2: "JES2";
387
+ readonly JES3: "JES3";
388
+ readonly VSE: "VSE";
389
+ };
390
+ export type BatchJobType = (typeof BatchJobType)[keyof typeof BatchJobType];
391
+ export declare const BatchJobExecutionStatus: {
392
+ readonly CANCELLED: "Cancelled";
393
+ readonly CANCELLING: "Cancelling";
394
+ readonly DISPATCH: "Dispatching";
395
+ readonly FAILED: "Failed";
396
+ readonly HOLDING: "Holding";
397
+ readonly RUNNING: "Running";
398
+ readonly SUBMITTING: "Submitting";
399
+ readonly SUCCEEDED: "Succeeded";
400
+ readonly SUCCEEDED_WITH_WARNING: "Succeeded With Warning";
401
+ };
402
+ export type BatchJobExecutionStatus =
403
+ (typeof BatchJobExecutionStatus)[keyof typeof BatchJobExecutionStatus];
392
404
  export interface GetBatchJobExecutionResponse {
393
405
  executionId: string | undefined;
394
406
  applicationId: string | undefined;
@@ -460,11 +472,13 @@ export interface GetDataSetImportTaskRequest {
460
472
  applicationId: string | undefined;
461
473
  taskId: string | undefined;
462
474
  }
463
- export declare enum DataSetTaskLifecycle {
464
- COMPLETED = "Completed",
465
- CREATING = "Creating",
466
- RUNNING = "Running",
467
- }
475
+ export declare const DataSetTaskLifecycle: {
476
+ readonly COMPLETED: "Completed";
477
+ readonly CREATING: "Creating";
478
+ readonly RUNNING: "Running";
479
+ };
480
+ export type DataSetTaskLifecycle =
481
+ (typeof DataSetTaskLifecycle)[keyof typeof DataSetTaskLifecycle];
468
482
  export interface DataSetImportSummary {
469
483
  total: number | undefined;
470
484
  succeeded: number | undefined;
@@ -496,10 +510,12 @@ export interface ListApplicationsRequest {
496
510
  names?: string[];
497
511
  environmentId?: string;
498
512
  }
499
- export declare enum ApplicationDeploymentLifecycle {
500
- DEPLOYED = "Deployed",
501
- DEPLOYING = "Deploying",
502
- }
513
+ export declare const ApplicationDeploymentLifecycle: {
514
+ readonly DEPLOYED: "Deployed";
515
+ readonly DEPLOYING: "Deploying";
516
+ };
517
+ export type ApplicationDeploymentLifecycle =
518
+ (typeof ApplicationDeploymentLifecycle)[keyof typeof ApplicationDeploymentLifecycle];
503
519
  export interface ApplicationSummary {
504
520
  name: string | undefined;
505
521
  description?: string;
@@ -745,13 +761,15 @@ export interface PendingMaintenance {
745
761
  schedule?: MaintenanceSchedule;
746
762
  engineVersion?: string;
747
763
  }
748
- export declare enum EnvironmentLifecycle {
749
- AVAILABLE = "Available",
750
- CREATING = "Creating",
751
- DELETING = "Deleting",
752
- FAILED = "Failed",
753
- UPDATING = "Updating",
754
- }
764
+ export declare const EnvironmentLifecycle: {
765
+ readonly AVAILABLE: "Available";
766
+ readonly CREATING: "Creating";
767
+ readonly DELETING: "Deleting";
768
+ readonly FAILED: "Failed";
769
+ readonly UPDATING: "Updating";
770
+ };
771
+ export type EnvironmentLifecycle =
772
+ (typeof EnvironmentLifecycle)[keyof typeof EnvironmentLifecycle];
755
773
  export interface GetEnvironmentResponse {
756
774
  name: string | undefined;
757
775
  description?: string;
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.300.0",
4
+ "version": "3.303.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,43 +21,43 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.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.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.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.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",