@aws-sdk/client-m2 3.934.0 → 3.936.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 +0 -86
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +143 -0
- package/dist-es/models/models_0.js +0 -143
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +187 -0
- package/dist-types/models/models_0.d.ts +0 -186
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +87 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -83
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -197,14 +197,6 @@ let ThrottlingException$1 = class ThrottlingException extends M2ServiceException
|
|
|
197
197
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
const ValidationExceptionReason = {
|
|
201
|
-
CANNOT_PARSE: "cannotParse",
|
|
202
|
-
FEATURE_NOT_AVAILABLE: "featureNotAvailable",
|
|
203
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
204
|
-
OTHER: "other",
|
|
205
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
206
|
-
UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion",
|
|
207
|
-
};
|
|
208
200
|
let ValidationException$1 = class ValidationException extends M2ServiceException$1 {
|
|
209
201
|
name = "ValidationException";
|
|
210
202
|
$fault = "client";
|
|
@@ -221,10 +213,6 @@ let ValidationException$1 = class ValidationException extends M2ServiceException
|
|
|
221
213
|
this.fieldList = opts.fieldList;
|
|
222
214
|
}
|
|
223
215
|
};
|
|
224
|
-
const EngineType = {
|
|
225
|
-
BLUAGE: "bluage",
|
|
226
|
-
MICROFOCUS: "microfocus",
|
|
227
|
-
};
|
|
228
216
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends M2ServiceException$1 {
|
|
229
217
|
name = "ServiceQuotaExceededException";
|
|
230
218
|
$fault = "client";
|
|
@@ -245,47 +233,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
245
233
|
this.quotaCode = opts.quotaCode;
|
|
246
234
|
}
|
|
247
235
|
};
|
|
248
|
-
const DeploymentLifecycle = {
|
|
249
|
-
DEPLOYING: "Deploying",
|
|
250
|
-
DEPLOY_UPDATE: "Updating Deployment",
|
|
251
|
-
FAILED: "Failed",
|
|
252
|
-
SUCCEEDED: "Succeeded",
|
|
253
|
-
};
|
|
254
|
-
const ApplicationVersionLifecycle = {
|
|
255
|
-
AVAILABLE: "Available",
|
|
256
|
-
CREATING: "Creating",
|
|
257
|
-
FAILED: "Failed",
|
|
258
|
-
};
|
|
259
|
-
const ApplicationLifecycle = {
|
|
260
|
-
AVAILABLE: "Available",
|
|
261
|
-
CREATED: "Created",
|
|
262
|
-
CREATING: "Creating",
|
|
263
|
-
DELETING: "Deleting",
|
|
264
|
-
DELETING_FROM_ENVIRONMENT: "Deleting From Environment",
|
|
265
|
-
FAILED: "Failed",
|
|
266
|
-
READY: "Ready",
|
|
267
|
-
RUNNING: "Running",
|
|
268
|
-
STARTING: "Starting",
|
|
269
|
-
STOPPED: "Stopped",
|
|
270
|
-
STOPPING: "Stopping",
|
|
271
|
-
};
|
|
272
|
-
const BatchJobType = {
|
|
273
|
-
JES2: "JES2",
|
|
274
|
-
JES3: "JES3",
|
|
275
|
-
VSE: "VSE",
|
|
276
|
-
};
|
|
277
|
-
const BatchJobExecutionStatus = {
|
|
278
|
-
CANCELLED: "Cancelled",
|
|
279
|
-
CANCELLING: "Cancelling",
|
|
280
|
-
DISPATCH: "Dispatching",
|
|
281
|
-
FAILED: "Failed",
|
|
282
|
-
HOLDING: "Holding",
|
|
283
|
-
PURGED: "Purged",
|
|
284
|
-
RUNNING: "Running",
|
|
285
|
-
SUBMITTING: "Submitting",
|
|
286
|
-
SUCCEEDED: "Succeeded",
|
|
287
|
-
SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
|
|
288
|
-
};
|
|
289
236
|
let ExecutionTimeoutException$1 = class ExecutionTimeoutException extends M2ServiceException$1 {
|
|
290
237
|
name = "ExecutionTimeoutException";
|
|
291
238
|
$fault = "server";
|
|
@@ -312,28 +259,6 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends M2
|
|
|
312
259
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
313
260
|
}
|
|
314
261
|
};
|
|
315
|
-
const DataSetTaskLifecycle = {
|
|
316
|
-
COMPLETED: "Completed",
|
|
317
|
-
CREATING: "Creating",
|
|
318
|
-
FAILED: "Failed",
|
|
319
|
-
RUNNING: "Running",
|
|
320
|
-
};
|
|
321
|
-
const ApplicationDeploymentLifecycle = {
|
|
322
|
-
DEPLOYED: "Deployed",
|
|
323
|
-
DEPLOYING: "Deploying",
|
|
324
|
-
};
|
|
325
|
-
const NetworkType = {
|
|
326
|
-
DUAL: "dual",
|
|
327
|
-
IPV4: "ipv4",
|
|
328
|
-
};
|
|
329
|
-
const EnvironmentLifecycle = {
|
|
330
|
-
AVAILABLE: "Available",
|
|
331
|
-
CREATING: "Creating",
|
|
332
|
-
DELETING: "Deleting",
|
|
333
|
-
FAILED: "Failed",
|
|
334
|
-
UNHEALTHY: "UnHealthy",
|
|
335
|
-
UPDATING: "Updating",
|
|
336
|
-
};
|
|
337
262
|
|
|
338
263
|
const _ADE = "AccessDeniedException";
|
|
339
264
|
const _AK = "AlternateKey";
|
|
@@ -2675,11 +2600,6 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2675
2600
|
get: function () { return smithyClient.Client; }
|
|
2676
2601
|
});
|
|
2677
2602
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2678
|
-
exports.ApplicationDeploymentLifecycle = ApplicationDeploymentLifecycle;
|
|
2679
|
-
exports.ApplicationLifecycle = ApplicationLifecycle;
|
|
2680
|
-
exports.ApplicationVersionLifecycle = ApplicationVersionLifecycle;
|
|
2681
|
-
exports.BatchJobExecutionStatus = BatchJobExecutionStatus;
|
|
2682
|
-
exports.BatchJobType = BatchJobType;
|
|
2683
2603
|
exports.CancelBatchJobExecutionCommand = CancelBatchJobExecutionCommand;
|
|
2684
2604
|
exports.ConflictException = ConflictException$1;
|
|
2685
2605
|
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
@@ -2687,13 +2607,9 @@ exports.CreateDataSetExportTaskCommand = CreateDataSetExportTaskCommand;
|
|
|
2687
2607
|
exports.CreateDataSetImportTaskCommand = CreateDataSetImportTaskCommand;
|
|
2688
2608
|
exports.CreateDeploymentCommand = CreateDeploymentCommand;
|
|
2689
2609
|
exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
|
|
2690
|
-
exports.DataSetTaskLifecycle = DataSetTaskLifecycle;
|
|
2691
2610
|
exports.DeleteApplicationCommand = DeleteApplicationCommand;
|
|
2692
2611
|
exports.DeleteApplicationFromEnvironmentCommand = DeleteApplicationFromEnvironmentCommand;
|
|
2693
2612
|
exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
|
|
2694
|
-
exports.DeploymentLifecycle = DeploymentLifecycle;
|
|
2695
|
-
exports.EngineType = EngineType;
|
|
2696
|
-
exports.EnvironmentLifecycle = EnvironmentLifecycle;
|
|
2697
2613
|
exports.ExecutionTimeoutException = ExecutionTimeoutException$1;
|
|
2698
2614
|
exports.GetApplicationCommand = GetApplicationCommand;
|
|
2699
2615
|
exports.GetApplicationVersionCommand = GetApplicationVersionCommand;
|
|
@@ -2720,7 +2636,6 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
2720
2636
|
exports.M2 = M2;
|
|
2721
2637
|
exports.M2Client = M2Client;
|
|
2722
2638
|
exports.M2ServiceException = M2ServiceException$1;
|
|
2723
|
-
exports.NetworkType = NetworkType;
|
|
2724
2639
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2725
2640
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2726
2641
|
exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
@@ -2733,7 +2648,6 @@ exports.UntagResourceCommand = UntagResourceCommand;
|
|
|
2733
2648
|
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
2734
2649
|
exports.UpdateEnvironmentCommand = UpdateEnvironmentCommand;
|
|
2735
2650
|
exports.ValidationException = ValidationException$1;
|
|
2736
|
-
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2737
2651
|
exports.paginateListApplicationVersions = paginateListApplicationVersions;
|
|
2738
2652
|
exports.paginateListApplications = paginateListApplications;
|
|
2739
2653
|
exports.paginateListBatchJobDefinitions = paginateListBatchJobDefinitions;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { M2ServiceException as __BaseException } from "./M2ServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
resourceType;
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ConflictException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
+
this.resourceId = opts.resourceId;
|
|
27
|
+
this.resourceType = opts.resourceType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
retryAfterSeconds;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
resourceId;
|
|
49
|
+
resourceType;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "ResourceNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
+
this.resourceId = opts.resourceId;
|
|
58
|
+
this.resourceType = opts.resourceType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class ThrottlingException extends __BaseException {
|
|
62
|
+
name = "ThrottlingException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
$retryable = {
|
|
65
|
+
throttling: true,
|
|
66
|
+
};
|
|
67
|
+
serviceCode;
|
|
68
|
+
quotaCode;
|
|
69
|
+
retryAfterSeconds;
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ThrottlingException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
77
|
+
this.serviceCode = opts.serviceCode;
|
|
78
|
+
this.quotaCode = opts.quotaCode;
|
|
79
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export class ValidationException extends __BaseException {
|
|
83
|
+
name = "ValidationException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
reason;
|
|
86
|
+
fieldList;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
94
|
+
this.reason = opts.reason;
|
|
95
|
+
this.fieldList = opts.fieldList;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
99
|
+
name = "ServiceQuotaExceededException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
resourceId;
|
|
102
|
+
resourceType;
|
|
103
|
+
serviceCode;
|
|
104
|
+
quotaCode;
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "ServiceQuotaExceededException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
112
|
+
this.resourceId = opts.resourceId;
|
|
113
|
+
this.resourceType = opts.resourceType;
|
|
114
|
+
this.serviceCode = opts.serviceCode;
|
|
115
|
+
this.quotaCode = opts.quotaCode;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export class ExecutionTimeoutException extends __BaseException {
|
|
119
|
+
name = "ExecutionTimeoutException";
|
|
120
|
+
$fault = "server";
|
|
121
|
+
$retryable = {};
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "ExecutionTimeoutException",
|
|
125
|
+
$fault: "server",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
Object.setPrototypeOf(this, ExecutionTimeoutException.prototype);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
export class ServiceUnavailableException extends __BaseException {
|
|
132
|
+
name = "ServiceUnavailableException";
|
|
133
|
+
$fault = "server";
|
|
134
|
+
$retryable = {};
|
|
135
|
+
constructor(opts) {
|
|
136
|
+
super({
|
|
137
|
+
name: "ServiceUnavailableException",
|
|
138
|
+
$fault: "server",
|
|
139
|
+
...opts,
|
|
140
|
+
});
|
|
141
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -1,84 +1,3 @@
|
|
|
1
|
-
import { M2ServiceException as __BaseException } from "./M2ServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export class ConflictException extends __BaseException {
|
|
15
|
-
name = "ConflictException";
|
|
16
|
-
$fault = "client";
|
|
17
|
-
resourceId;
|
|
18
|
-
resourceType;
|
|
19
|
-
constructor(opts) {
|
|
20
|
-
super({
|
|
21
|
-
name: "ConflictException",
|
|
22
|
-
$fault: "client",
|
|
23
|
-
...opts,
|
|
24
|
-
});
|
|
25
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
-
this.resourceId = opts.resourceId;
|
|
27
|
-
this.resourceType = opts.resourceType;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class InternalServerException extends __BaseException {
|
|
31
|
-
name = "InternalServerException";
|
|
32
|
-
$fault = "server";
|
|
33
|
-
$retryable = {};
|
|
34
|
-
retryAfterSeconds;
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "InternalServerException",
|
|
38
|
-
$fault: "server",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
-
name = "ResourceNotFoundException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
resourceId;
|
|
49
|
-
resourceType;
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "ResourceNotFoundException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
-
this.resourceId = opts.resourceId;
|
|
58
|
-
this.resourceType = opts.resourceType;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
export class ThrottlingException extends __BaseException {
|
|
62
|
-
name = "ThrottlingException";
|
|
63
|
-
$fault = "client";
|
|
64
|
-
$retryable = {
|
|
65
|
-
throttling: true,
|
|
66
|
-
};
|
|
67
|
-
serviceCode;
|
|
68
|
-
quotaCode;
|
|
69
|
-
retryAfterSeconds;
|
|
70
|
-
constructor(opts) {
|
|
71
|
-
super({
|
|
72
|
-
name: "ThrottlingException",
|
|
73
|
-
$fault: "client",
|
|
74
|
-
...opts,
|
|
75
|
-
});
|
|
76
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
77
|
-
this.serviceCode = opts.serviceCode;
|
|
78
|
-
this.quotaCode = opts.quotaCode;
|
|
79
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
1
|
export const ValidationExceptionReason = {
|
|
83
2
|
CANNOT_PARSE: "cannotParse",
|
|
84
3
|
FEATURE_NOT_AVAILABLE: "featureNotAvailable",
|
|
@@ -87,46 +6,10 @@ export const ValidationExceptionReason = {
|
|
|
87
6
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
88
7
|
UNSUPPORTED_ENGINE_VERSION: "unsupportedEngineVersion",
|
|
89
8
|
};
|
|
90
|
-
export class ValidationException extends __BaseException {
|
|
91
|
-
name = "ValidationException";
|
|
92
|
-
$fault = "client";
|
|
93
|
-
reason;
|
|
94
|
-
fieldList;
|
|
95
|
-
constructor(opts) {
|
|
96
|
-
super({
|
|
97
|
-
name: "ValidationException",
|
|
98
|
-
$fault: "client",
|
|
99
|
-
...opts,
|
|
100
|
-
});
|
|
101
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
102
|
-
this.reason = opts.reason;
|
|
103
|
-
this.fieldList = opts.fieldList;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
9
|
export const EngineType = {
|
|
107
10
|
BLUAGE: "bluage",
|
|
108
11
|
MICROFOCUS: "microfocus",
|
|
109
12
|
};
|
|
110
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
111
|
-
name = "ServiceQuotaExceededException";
|
|
112
|
-
$fault = "client";
|
|
113
|
-
resourceId;
|
|
114
|
-
resourceType;
|
|
115
|
-
serviceCode;
|
|
116
|
-
quotaCode;
|
|
117
|
-
constructor(opts) {
|
|
118
|
-
super({
|
|
119
|
-
name: "ServiceQuotaExceededException",
|
|
120
|
-
$fault: "client",
|
|
121
|
-
...opts,
|
|
122
|
-
});
|
|
123
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
124
|
-
this.resourceId = opts.resourceId;
|
|
125
|
-
this.resourceType = opts.resourceType;
|
|
126
|
-
this.serviceCode = opts.serviceCode;
|
|
127
|
-
this.quotaCode = opts.quotaCode;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
13
|
export const DeploymentLifecycle = {
|
|
131
14
|
DEPLOYING: "Deploying",
|
|
132
15
|
DEPLOY_UPDATE: "Updating Deployment",
|
|
@@ -168,32 +51,6 @@ export const BatchJobExecutionStatus = {
|
|
|
168
51
|
SUCCEEDED: "Succeeded",
|
|
169
52
|
SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
|
|
170
53
|
};
|
|
171
|
-
export class ExecutionTimeoutException extends __BaseException {
|
|
172
|
-
name = "ExecutionTimeoutException";
|
|
173
|
-
$fault = "server";
|
|
174
|
-
$retryable = {};
|
|
175
|
-
constructor(opts) {
|
|
176
|
-
super({
|
|
177
|
-
name: "ExecutionTimeoutException",
|
|
178
|
-
$fault: "server",
|
|
179
|
-
...opts,
|
|
180
|
-
});
|
|
181
|
-
Object.setPrototypeOf(this, ExecutionTimeoutException.prototype);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
export class ServiceUnavailableException extends __BaseException {
|
|
185
|
-
name = "ServiceUnavailableException";
|
|
186
|
-
$fault = "server";
|
|
187
|
-
$retryable = {};
|
|
188
|
-
constructor(opts) {
|
|
189
|
-
super({
|
|
190
|
-
name: "ServiceUnavailableException",
|
|
191
|
-
$fault: "server",
|
|
192
|
-
...opts,
|
|
193
|
-
});
|
|
194
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
54
|
export const DataSetTaskLifecycle = {
|
|
198
55
|
COMPLETED: "Completed",
|
|
199
56
|
CREATING: "Creating",
|
|
@@ -365,7 +365,7 @@ const _vI = "vpcId";
|
|
|
365
365
|
const _vS = "versionStatus";
|
|
366
366
|
const n0 = "com.amazonaws.m2";
|
|
367
367
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
368
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ExecutionTimeoutException as __ExecutionTimeoutException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
368
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ExecutionTimeoutException as __ExecutionTimeoutException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ServiceUnavailableException as __ServiceUnavailableException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
369
369
|
import { M2ServiceException as __M2ServiceException } from "../models/M2ServiceException";
|
|
370
370
|
export var AccessDeniedException = [
|
|
371
371
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,5 +14,6 @@ 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";
|
|
17
|
+
export * from "./models/errors";
|
|
18
|
+
export type * from "./models/models_0";
|
|
18
19
|
export { M2ServiceException } from "./models/M2ServiceException";
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { M2ServiceException as __BaseException } from "./M2ServiceException";
|
|
3
|
+
import { ValidationExceptionField, ValidationExceptionReason } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The account or role doesn't have the right permissions to make the request.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The parameters provided in the request conflict with existing resources.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class ConflictException extends __BaseException {
|
|
21
|
+
readonly name: "ConflictException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ID of the conflicting resource.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
resourceId?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The type of the conflicting resource.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
resourceType?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export declare class InternalServerException extends __BaseException {
|
|
43
|
+
readonly name: "InternalServerException";
|
|
44
|
+
readonly $fault: "server";
|
|
45
|
+
$retryable: {};
|
|
46
|
+
/**
|
|
47
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
retryAfterSeconds?: number | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>The specified resource was not found.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
61
|
+
readonly name: "ResourceNotFoundException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* <p>The ID of the missing resource.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
resourceId?: string | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* <p>The type of the missing resource.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
resourceType?: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* <p>The number of requests made exceeds the limit.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ThrottlingException extends __BaseException {
|
|
83
|
+
readonly name: "ThrottlingException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
$retryable: {
|
|
86
|
+
throttling: boolean;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* <p>The identifier of the service that the throttled request was made to.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
serviceCode?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The identifier of the throttled request.</p>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
quotaCode?: string | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
retryAfterSeconds?: number | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* <p>One or more parameters provided in the request is not valid.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class ValidationException extends __BaseException {
|
|
113
|
+
readonly name: "ValidationException";
|
|
114
|
+
readonly $fault: "client";
|
|
115
|
+
/**
|
|
116
|
+
* <p>The reason why it failed service validation.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
reason?: ValidationExceptionReason | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The list of fields that failed service validation.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* <p>One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
135
|
+
readonly name: "ServiceQuotaExceededException";
|
|
136
|
+
readonly $fault: "client";
|
|
137
|
+
/**
|
|
138
|
+
* <p>The ID of the resource that is exceeding the quota limit.</p>
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
resourceId?: string | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* <p>The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
resourceType?: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* <p>A code that identifies the service that the exceeded quota belongs to.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
serviceCode?: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>The identifier of the exceeded quota.</p>
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
quotaCode?: string | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
export declare class ExecutionTimeoutException extends __BaseException {
|
|
167
|
+
readonly name: "ExecutionTimeoutException";
|
|
168
|
+
readonly $fault: "server";
|
|
169
|
+
$retryable: {};
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
*/
|
|
173
|
+
constructor(opts: __ExceptionOptionType<ExecutionTimeoutException, __BaseException>);
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* <p>Server cannot process the request at the moment.</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
180
|
+
readonly name: "ServiceUnavailableException";
|
|
181
|
+
readonly $fault: "server";
|
|
182
|
+
$retryable: {};
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
187
|
+
}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { M2ServiceException as __BaseException } from "./M2ServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>The account or role doesn't have the right permissions to make the request.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
1
|
/**
|
|
16
2
|
* <p>Defines an alternate key. This value is optional. A legacy data set might not have any
|
|
17
3
|
* alternate key defined but if those alternate keys definitions exist, provide them, as some
|
|
@@ -67,98 +53,6 @@ export interface CancelBatchJobExecutionRequest {
|
|
|
67
53
|
*/
|
|
68
54
|
export interface CancelBatchJobExecutionResponse {
|
|
69
55
|
}
|
|
70
|
-
/**
|
|
71
|
-
* <p>The parameters provided in the request conflict with existing resources.</p>
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
export declare class ConflictException extends __BaseException {
|
|
75
|
-
readonly name: "ConflictException";
|
|
76
|
-
readonly $fault: "client";
|
|
77
|
-
/**
|
|
78
|
-
* <p>The ID of the conflicting resource.</p>
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
resourceId?: string | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* <p>The type of the conflicting resource.</p>
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
resourceType?: string | undefined;
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* <p>An unexpected error occurred during the processing of the request.</p>
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
export declare class InternalServerException extends __BaseException {
|
|
97
|
-
readonly name: "InternalServerException";
|
|
98
|
-
readonly $fault: "server";
|
|
99
|
-
$retryable: {};
|
|
100
|
-
/**
|
|
101
|
-
* <p>The number of seconds to wait before retrying the request.</p>
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
retryAfterSeconds?: number | undefined;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* <p>The specified resource was not found.</p>
|
|
112
|
-
* @public
|
|
113
|
-
*/
|
|
114
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
115
|
-
readonly name: "ResourceNotFoundException";
|
|
116
|
-
readonly $fault: "client";
|
|
117
|
-
/**
|
|
118
|
-
* <p>The ID of the missing resource.</p>
|
|
119
|
-
* @public
|
|
120
|
-
*/
|
|
121
|
-
resourceId?: string | undefined;
|
|
122
|
-
/**
|
|
123
|
-
* <p>The type of the missing resource.</p>
|
|
124
|
-
* @public
|
|
125
|
-
*/
|
|
126
|
-
resourceType?: string | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* @internal
|
|
129
|
-
*/
|
|
130
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* <p>The number of requests made exceeds the limit.</p>
|
|
134
|
-
* @public
|
|
135
|
-
*/
|
|
136
|
-
export declare class ThrottlingException extends __BaseException {
|
|
137
|
-
readonly name: "ThrottlingException";
|
|
138
|
-
readonly $fault: "client";
|
|
139
|
-
$retryable: {
|
|
140
|
-
throttling: boolean;
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* <p>The identifier of the service that the throttled request was made to.</p>
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
serviceCode?: string | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* <p>The identifier of the throttled request.</p>
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
quotaCode?: string | undefined;
|
|
152
|
-
/**
|
|
153
|
-
* <p>The number of seconds to wait before retrying the request.</p>
|
|
154
|
-
* @public
|
|
155
|
-
*/
|
|
156
|
-
retryAfterSeconds?: number | undefined;
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
161
|
-
}
|
|
162
56
|
/**
|
|
163
57
|
* <p>Contains information about a validation exception field.</p>
|
|
164
58
|
* @public
|
|
@@ -191,28 +85,6 @@ export declare const ValidationExceptionReason: {
|
|
|
191
85
|
* @public
|
|
192
86
|
*/
|
|
193
87
|
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
194
|
-
/**
|
|
195
|
-
* <p>One or more parameters provided in the request is not valid.</p>
|
|
196
|
-
* @public
|
|
197
|
-
*/
|
|
198
|
-
export declare class ValidationException extends __BaseException {
|
|
199
|
-
readonly name: "ValidationException";
|
|
200
|
-
readonly $fault: "client";
|
|
201
|
-
/**
|
|
202
|
-
* <p>The reason why it failed service validation.</p>
|
|
203
|
-
* @public
|
|
204
|
-
*/
|
|
205
|
-
reason?: ValidationExceptionReason | undefined;
|
|
206
|
-
/**
|
|
207
|
-
* <p>The list of fields that failed service validation.</p>
|
|
208
|
-
* @public
|
|
209
|
-
*/
|
|
210
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
211
|
-
/**
|
|
212
|
-
* @internal
|
|
213
|
-
*/
|
|
214
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
215
|
-
}
|
|
216
88
|
/**
|
|
217
89
|
* <p>The application definition for a particular application. </p>
|
|
218
90
|
* @public
|
|
@@ -339,38 +211,6 @@ export interface CreateApplicationResponse {
|
|
|
339
211
|
*/
|
|
340
212
|
applicationVersion: number | undefined;
|
|
341
213
|
}
|
|
342
|
-
/**
|
|
343
|
-
* <p>One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.</p>
|
|
344
|
-
* @public
|
|
345
|
-
*/
|
|
346
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
347
|
-
readonly name: "ServiceQuotaExceededException";
|
|
348
|
-
readonly $fault: "client";
|
|
349
|
-
/**
|
|
350
|
-
* <p>The ID of the resource that is exceeding the quota limit.</p>
|
|
351
|
-
* @public
|
|
352
|
-
*/
|
|
353
|
-
resourceId?: string | undefined;
|
|
354
|
-
/**
|
|
355
|
-
* <p>The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.</p>
|
|
356
|
-
* @public
|
|
357
|
-
*/
|
|
358
|
-
resourceType?: string | undefined;
|
|
359
|
-
/**
|
|
360
|
-
* <p>A code that identifies the service that the exceeded quota belongs to.</p>
|
|
361
|
-
* @public
|
|
362
|
-
*/
|
|
363
|
-
serviceCode?: string | undefined;
|
|
364
|
-
/**
|
|
365
|
-
* <p>The identifier of the exceeded quota.</p>
|
|
366
|
-
* @public
|
|
367
|
-
*/
|
|
368
|
-
quotaCode?: string | undefined;
|
|
369
|
-
/**
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
372
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
373
|
-
}
|
|
374
214
|
/**
|
|
375
215
|
* <p>Defines an external storage location.</p>
|
|
376
216
|
* @public
|
|
@@ -1547,19 +1387,6 @@ export interface GetBatchJobExecutionResponse {
|
|
|
1547
1387
|
*/
|
|
1548
1388
|
jobStepRestartMarker?: JobStepRestartMarker | undefined;
|
|
1549
1389
|
}
|
|
1550
|
-
/**
|
|
1551
|
-
* <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
|
|
1552
|
-
* @public
|
|
1553
|
-
*/
|
|
1554
|
-
export declare class ExecutionTimeoutException extends __BaseException {
|
|
1555
|
-
readonly name: "ExecutionTimeoutException";
|
|
1556
|
-
readonly $fault: "server";
|
|
1557
|
-
$retryable: {};
|
|
1558
|
-
/**
|
|
1559
|
-
* @internal
|
|
1560
|
-
*/
|
|
1561
|
-
constructor(opts: __ExceptionOptionType<ExecutionTimeoutException, __BaseException>);
|
|
1562
|
-
}
|
|
1563
1390
|
/**
|
|
1564
1391
|
* @public
|
|
1565
1392
|
*/
|
|
@@ -1794,19 +1621,6 @@ export interface GetDataSetDetailsResponse {
|
|
|
1794
1621
|
*/
|
|
1795
1622
|
fileSize?: number | undefined;
|
|
1796
1623
|
}
|
|
1797
|
-
/**
|
|
1798
|
-
* <p>Server cannot process the request at the moment.</p>
|
|
1799
|
-
* @public
|
|
1800
|
-
*/
|
|
1801
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
1802
|
-
readonly name: "ServiceUnavailableException";
|
|
1803
|
-
readonly $fault: "server";
|
|
1804
|
-
$retryable: {};
|
|
1805
|
-
/**
|
|
1806
|
-
* @internal
|
|
1807
|
-
*/
|
|
1808
|
-
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
1809
|
-
}
|
|
1810
1624
|
/**
|
|
1811
1625
|
* @public
|
|
1812
1626
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { M2ExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { M2ServiceException } from "./models/M2ServiceException";
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { M2ServiceException as __BaseException } from "./M2ServiceException";
|
|
3
|
+
import {
|
|
4
|
+
ValidationExceptionField,
|
|
5
|
+
ValidationExceptionReason,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
export declare class ConflictException extends __BaseException {
|
|
15
|
+
readonly name: "ConflictException";
|
|
16
|
+
readonly $fault: "client";
|
|
17
|
+
resourceId?: string | undefined;
|
|
18
|
+
resourceType?: string | undefined;
|
|
19
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
export declare class InternalServerException extends __BaseException {
|
|
22
|
+
readonly name: "InternalServerException";
|
|
23
|
+
readonly $fault: "server";
|
|
24
|
+
$retryable: {};
|
|
25
|
+
retryAfterSeconds?: number | undefined;
|
|
26
|
+
constructor(
|
|
27
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
readonly name: "ResourceNotFoundException";
|
|
32
|
+
readonly $fault: "client";
|
|
33
|
+
resourceId?: string | undefined;
|
|
34
|
+
resourceType?: string | undefined;
|
|
35
|
+
constructor(
|
|
36
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export declare class ThrottlingException extends __BaseException {
|
|
40
|
+
readonly name: "ThrottlingException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
$retryable: {
|
|
43
|
+
throttling: boolean;
|
|
44
|
+
};
|
|
45
|
+
serviceCode?: string | undefined;
|
|
46
|
+
quotaCode?: string | undefined;
|
|
47
|
+
retryAfterSeconds?: number | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ValidationException extends __BaseException {
|
|
53
|
+
readonly name: "ValidationException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
reason?: ValidationExceptionReason | undefined;
|
|
56
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
57
|
+
constructor(
|
|
58
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
readonly name: "ServiceQuotaExceededException";
|
|
63
|
+
readonly $fault: "client";
|
|
64
|
+
resourceId?: string | undefined;
|
|
65
|
+
resourceType?: string | undefined;
|
|
66
|
+
serviceCode?: string | undefined;
|
|
67
|
+
quotaCode?: string | undefined;
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export declare class ExecutionTimeoutException extends __BaseException {
|
|
73
|
+
readonly name: "ExecutionTimeoutException";
|
|
74
|
+
readonly $fault: "server";
|
|
75
|
+
$retryable: {};
|
|
76
|
+
constructor(
|
|
77
|
+
opts: __ExceptionOptionType<ExecutionTimeoutException, __BaseException>
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
81
|
+
readonly name: "ServiceUnavailableException";
|
|
82
|
+
readonly $fault: "server";
|
|
83
|
+
$retryable: {};
|
|
84
|
+
constructor(
|
|
85
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
86
|
+
);
|
|
87
|
+
}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { M2ServiceException as __BaseException } from "./M2ServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
1
|
export interface AlternateKey {
|
|
11
2
|
name?: string | undefined;
|
|
12
3
|
offset: number | undefined;
|
|
@@ -19,44 +10,6 @@ export interface CancelBatchJobExecutionRequest {
|
|
|
19
10
|
authSecretsManagerArn?: string | undefined;
|
|
20
11
|
}
|
|
21
12
|
export interface CancelBatchJobExecutionResponse {}
|
|
22
|
-
export declare class ConflictException extends __BaseException {
|
|
23
|
-
readonly name: "ConflictException";
|
|
24
|
-
readonly $fault: "client";
|
|
25
|
-
resourceId?: string | undefined;
|
|
26
|
-
resourceType?: string | undefined;
|
|
27
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
28
|
-
}
|
|
29
|
-
export declare class InternalServerException extends __BaseException {
|
|
30
|
-
readonly name: "InternalServerException";
|
|
31
|
-
readonly $fault: "server";
|
|
32
|
-
$retryable: {};
|
|
33
|
-
retryAfterSeconds?: number | undefined;
|
|
34
|
-
constructor(
|
|
35
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
36
|
-
);
|
|
37
|
-
}
|
|
38
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
39
|
-
readonly name: "ResourceNotFoundException";
|
|
40
|
-
readonly $fault: "client";
|
|
41
|
-
resourceId?: string | undefined;
|
|
42
|
-
resourceType?: string | undefined;
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
export declare class ThrottlingException extends __BaseException {
|
|
48
|
-
readonly name: "ThrottlingException";
|
|
49
|
-
readonly $fault: "client";
|
|
50
|
-
$retryable: {
|
|
51
|
-
throttling: boolean;
|
|
52
|
-
};
|
|
53
|
-
serviceCode?: string | undefined;
|
|
54
|
-
quotaCode?: string | undefined;
|
|
55
|
-
retryAfterSeconds?: number | undefined;
|
|
56
|
-
constructor(
|
|
57
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
13
|
export interface ValidationExceptionField {
|
|
61
14
|
name: string | undefined;
|
|
62
15
|
message: string | undefined;
|
|
@@ -71,15 +24,6 @@ export declare const ValidationExceptionReason: {
|
|
|
71
24
|
};
|
|
72
25
|
export type ValidationExceptionReason =
|
|
73
26
|
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
74
|
-
export declare class ValidationException extends __BaseException {
|
|
75
|
-
readonly name: "ValidationException";
|
|
76
|
-
readonly $fault: "client";
|
|
77
|
-
reason?: ValidationExceptionReason | undefined;
|
|
78
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
79
|
-
constructor(
|
|
80
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
27
|
export type Definition =
|
|
84
28
|
| Definition.ContentMember
|
|
85
29
|
| Definition.S3LocationMember
|
|
@@ -126,17 +70,6 @@ export interface CreateApplicationResponse {
|
|
|
126
70
|
applicationId: string | undefined;
|
|
127
71
|
applicationVersion: number | undefined;
|
|
128
72
|
}
|
|
129
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
130
|
-
readonly name: "ServiceQuotaExceededException";
|
|
131
|
-
readonly $fault: "client";
|
|
132
|
-
resourceId?: string | undefined;
|
|
133
|
-
resourceType?: string | undefined;
|
|
134
|
-
serviceCode?: string | undefined;
|
|
135
|
-
quotaCode?: string | undefined;
|
|
136
|
-
constructor(
|
|
137
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
73
|
export type ExternalLocation =
|
|
141
74
|
| ExternalLocation.S3LocationMember
|
|
142
75
|
| ExternalLocation.$UnknownMember;
|
|
@@ -557,14 +490,6 @@ export interface GetBatchJobExecutionResponse {
|
|
|
557
490
|
batchJobIdentifier?: BatchJobIdentifier | undefined;
|
|
558
491
|
jobStepRestartMarker?: JobStepRestartMarker | undefined;
|
|
559
492
|
}
|
|
560
|
-
export declare class ExecutionTimeoutException extends __BaseException {
|
|
561
|
-
readonly name: "ExecutionTimeoutException";
|
|
562
|
-
readonly $fault: "server";
|
|
563
|
-
$retryable: {};
|
|
564
|
-
constructor(
|
|
565
|
-
opts: __ExceptionOptionType<ExecutionTimeoutException, __BaseException>
|
|
566
|
-
);
|
|
567
|
-
}
|
|
568
493
|
export interface GetDataSetDetailsRequest {
|
|
569
494
|
applicationId: string | undefined;
|
|
570
495
|
dataSetName: string | undefined;
|
|
@@ -650,14 +575,6 @@ export interface GetDataSetDetailsResponse {
|
|
|
650
575
|
lastReferencedTime?: Date | undefined;
|
|
651
576
|
fileSize?: number | undefined;
|
|
652
577
|
}
|
|
653
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
654
|
-
readonly name: "ServiceUnavailableException";
|
|
655
|
-
readonly $fault: "server";
|
|
656
|
-
$retryable: {};
|
|
657
|
-
constructor(
|
|
658
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
659
|
-
);
|
|
660
|
-
}
|
|
661
578
|
export interface GetDataSetExportTaskRequest {
|
|
662
579
|
applicationId: string | undefined;
|
|
663
580
|
taskId: 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.
|
|
4
|
+
"version": "3.936.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",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|