@aws-sdk/client-m2 3.438.0 → 3.440.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EnvironmentLifecycle = exports.StorageConfiguration = exports.BatchJobDefinition = exports.ApplicationDeploymentLifecycle = exports.DataSetTaskLifecycle = exports.DatasetDetailOrgAttributes = exports.BatchJobExecutionStatus = exports.BatchJobType = exports.BatchJobIdentifier = exports.ApplicationLifecycle = exports.ApplicationVersionLifecycle = exports.DeploymentLifecycle = exports.DataSetImportConfig = exports.ExternalLocation = exports.DatasetOrgAttributes = exports.ServiceQuotaExceededException = exports.EngineType = exports.Definition = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
3
+ exports.EnvironmentLifecycle = exports.StorageConfiguration = exports.BatchJobDefinition = exports.ApplicationDeploymentLifecycle = exports.DataSetTaskLifecycle = exports.ServiceUnavailableException = exports.DatasetDetailOrgAttributes = exports.ExecutionTimeoutException = exports.BatchJobExecutionStatus = exports.BatchJobType = exports.BatchJobIdentifier = exports.JobIdentifier = exports.ApplicationLifecycle = exports.ApplicationVersionLifecycle = exports.DeploymentLifecycle = exports.DataSetImportConfig = exports.ExternalLocation = exports.DatasetOrgAttributes = exports.ServiceQuotaExceededException = exports.EngineType = exports.Definition = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  const M2ServiceException_1 = require("./M2ServiceException");
5
5
  class AccessDeniedException extends M2ServiceException_1.M2ServiceException {
6
6
  constructor(opts) {
@@ -165,6 +165,7 @@ var DataSetImportConfig;
165
165
  })(DataSetImportConfig = exports.DataSetImportConfig || (exports.DataSetImportConfig = {}));
166
166
  exports.DeploymentLifecycle = {
167
167
  DEPLOYING: "Deploying",
168
+ DEPLOY_UPDATE: "Updating Deployment",
168
169
  FAILED: "Failed",
169
170
  SUCCEEDED: "Succeeded",
170
171
  };
@@ -186,6 +187,16 @@ exports.ApplicationLifecycle = {
186
187
  STOPPED: "Stopped",
187
188
  STOPPING: "Stopping",
188
189
  };
190
+ var JobIdentifier;
191
+ (function (JobIdentifier) {
192
+ JobIdentifier.visit = (value, visitor) => {
193
+ if (value.fileName !== undefined)
194
+ return visitor.fileName(value.fileName);
195
+ if (value.scriptName !== undefined)
196
+ return visitor.scriptName(value.scriptName);
197
+ return visitor._(value.$unknown[0], value.$unknown[1]);
198
+ };
199
+ })(JobIdentifier = exports.JobIdentifier || (exports.JobIdentifier = {}));
189
200
  var BatchJobIdentifier;
190
201
  (function (BatchJobIdentifier) {
191
202
  BatchJobIdentifier.visit = (value, visitor) => {
@@ -193,6 +204,8 @@ var BatchJobIdentifier;
193
204
  return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
194
205
  if (value.scriptBatchJobIdentifier !== undefined)
195
206
  return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
207
+ if (value.s3BatchJobIdentifier !== undefined)
208
+ return visitor.s3BatchJobIdentifier(value.s3BatchJobIdentifier);
196
209
  return visitor._(value.$unknown[0], value.$unknown[1]);
197
210
  };
198
211
  })(BatchJobIdentifier = exports.BatchJobIdentifier || (exports.BatchJobIdentifier = {}));
@@ -212,6 +225,20 @@ exports.BatchJobExecutionStatus = {
212
225
  SUCCEEDED: "Succeeded",
213
226
  SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
214
227
  };
228
+ class ExecutionTimeoutException extends M2ServiceException_1.M2ServiceException {
229
+ constructor(opts) {
230
+ super({
231
+ name: "ExecutionTimeoutException",
232
+ $fault: "server",
233
+ ...opts,
234
+ });
235
+ this.name = "ExecutionTimeoutException";
236
+ this.$fault = "server";
237
+ this.$retryable = {};
238
+ Object.setPrototypeOf(this, ExecutionTimeoutException.prototype);
239
+ }
240
+ }
241
+ exports.ExecutionTimeoutException = ExecutionTimeoutException;
215
242
  var DatasetDetailOrgAttributes;
216
243
  (function (DatasetDetailOrgAttributes) {
217
244
  DatasetDetailOrgAttributes.visit = (value, visitor) => {
@@ -226,9 +253,24 @@ var DatasetDetailOrgAttributes;
226
253
  return visitor._(value.$unknown[0], value.$unknown[1]);
227
254
  };
228
255
  })(DatasetDetailOrgAttributes = exports.DatasetDetailOrgAttributes || (exports.DatasetDetailOrgAttributes = {}));
256
+ class ServiceUnavailableException extends M2ServiceException_1.M2ServiceException {
257
+ constructor(opts) {
258
+ super({
259
+ name: "ServiceUnavailableException",
260
+ $fault: "server",
261
+ ...opts,
262
+ });
263
+ this.name = "ServiceUnavailableException";
264
+ this.$fault = "server";
265
+ this.$retryable = {};
266
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
267
+ }
268
+ }
269
+ exports.ServiceUnavailableException = ServiceUnavailableException;
229
270
  exports.DataSetTaskLifecycle = {
230
271
  COMPLETED: "Completed",
231
272
  CREATING: "Creating",
273
+ FAILED: "Failed",
232
274
  RUNNING: "Running",
233
275
  };
234
276
  exports.ApplicationDeploymentLifecycle = {
@@ -476,6 +476,7 @@ const se_ListDataSetsCommand = async (input, context) => {
476
476
  nextToken: [, input.nextToken],
477
477
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
478
478
  prefix: [, input.prefix],
479
+ nameFilter: [, input.nameFilter],
479
480
  });
480
481
  let body;
481
482
  return new protocol_http_1.HttpRequest({
@@ -718,6 +719,7 @@ const se_UpdateEnvironmentCommand = async (input, context) => {
718
719
  applyDuringMaintenanceWindow: [],
719
720
  desiredCapacity: [],
720
721
  engineVersion: [],
722
+ forceUpdate: [],
721
723
  instanceType: [],
722
724
  preferredMaintenanceWindow: [],
723
725
  }));
@@ -1297,6 +1299,7 @@ const de_GetDataSetDetailsCommand = async (output, context) => {
1297
1299
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1298
1300
  dataSetName: smithy_client_1.expectString,
1299
1301
  dataSetOrg: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1302
+ fileSize: smithy_client_1.expectLong,
1300
1303
  lastReferencedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1301
1304
  lastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1302
1305
  location: smithy_client_1.expectString,
@@ -1316,12 +1319,21 @@ const de_GetDataSetDetailsCommandError = async (output, context) => {
1316
1319
  case "AccessDeniedException":
1317
1320
  case "com.amazonaws.m2#AccessDeniedException":
1318
1321
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1322
+ case "ConflictException":
1323
+ case "com.amazonaws.m2#ConflictException":
1324
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1325
+ case "ExecutionTimeoutException":
1326
+ case "com.amazonaws.m2#ExecutionTimeoutException":
1327
+ throw await de_ExecutionTimeoutExceptionRes(parsedOutput, context);
1319
1328
  case "InternalServerException":
1320
1329
  case "com.amazonaws.m2#InternalServerException":
1321
1330
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1322
1331
  case "ResourceNotFoundException":
1323
1332
  case "com.amazonaws.m2#ResourceNotFoundException":
1324
1333
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1334
+ case "ServiceUnavailableException":
1335
+ case "com.amazonaws.m2#ServiceUnavailableException":
1336
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1325
1337
  case "ThrottlingException":
1326
1338
  case "com.amazonaws.m2#ThrottlingException":
1327
1339
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1802,12 +1814,21 @@ const de_ListDataSetsCommandError = async (output, context) => {
1802
1814
  case "AccessDeniedException":
1803
1815
  case "com.amazonaws.m2#AccessDeniedException":
1804
1816
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1817
+ case "ConflictException":
1818
+ case "com.amazonaws.m2#ConflictException":
1819
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1820
+ case "ExecutionTimeoutException":
1821
+ case "com.amazonaws.m2#ExecutionTimeoutException":
1822
+ throw await de_ExecutionTimeoutExceptionRes(parsedOutput, context);
1805
1823
  case "InternalServerException":
1806
1824
  case "com.amazonaws.m2#InternalServerException":
1807
1825
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1808
1826
  case "ResourceNotFoundException":
1809
1827
  case "com.amazonaws.m2#ResourceNotFoundException":
1810
1828
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1829
+ case "ServiceUnavailableException":
1830
+ case "com.amazonaws.m2#ServiceUnavailableException":
1831
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1811
1832
  case "ThrottlingException":
1812
1833
  case "com.amazonaws.m2#ThrottlingException":
1813
1834
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -2360,6 +2381,19 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2360
2381
  });
2361
2382
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2362
2383
  };
2384
+ const de_ExecutionTimeoutExceptionRes = async (parsedOutput, context) => {
2385
+ const contents = (0, smithy_client_1.map)({});
2386
+ const data = parsedOutput.body;
2387
+ const doc = (0, smithy_client_1.take)(data, {
2388
+ message: smithy_client_1.expectString,
2389
+ });
2390
+ Object.assign(contents, doc);
2391
+ const exception = new models_0_1.ExecutionTimeoutException({
2392
+ $metadata: deserializeMetadata(parsedOutput),
2393
+ ...contents,
2394
+ });
2395
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2396
+ };
2363
2397
  const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2364
2398
  const contents = (0, smithy_client_1.map)({
2365
2399
  retryAfterSeconds: [
@@ -2410,6 +2444,19 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2410
2444
  });
2411
2445
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2412
2446
  };
2447
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
2448
+ const contents = (0, smithy_client_1.map)({});
2449
+ const data = parsedOutput.body;
2450
+ const doc = (0, smithy_client_1.take)(data, {
2451
+ message: smithy_client_1.expectString,
2452
+ });
2453
+ Object.assign(contents, doc);
2454
+ const exception = new models_0_1.ServiceUnavailableException({
2455
+ $metadata: deserializeMetadata(parsedOutput),
2456
+ ...contents,
2457
+ });
2458
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
2459
+ };
2413
2460
  const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2414
2461
  const contents = (0, smithy_client_1.map)({
2415
2462
  retryAfterSeconds: [
@@ -155,6 +155,7 @@ export var DataSetImportConfig;
155
155
  })(DataSetImportConfig || (DataSetImportConfig = {}));
156
156
  export const DeploymentLifecycle = {
157
157
  DEPLOYING: "Deploying",
158
+ DEPLOY_UPDATE: "Updating Deployment",
158
159
  FAILED: "Failed",
159
160
  SUCCEEDED: "Succeeded",
160
161
  };
@@ -176,6 +177,16 @@ export const ApplicationLifecycle = {
176
177
  STOPPED: "Stopped",
177
178
  STOPPING: "Stopping",
178
179
  };
180
+ export var JobIdentifier;
181
+ (function (JobIdentifier) {
182
+ JobIdentifier.visit = (value, visitor) => {
183
+ if (value.fileName !== undefined)
184
+ return visitor.fileName(value.fileName);
185
+ if (value.scriptName !== undefined)
186
+ return visitor.scriptName(value.scriptName);
187
+ return visitor._(value.$unknown[0], value.$unknown[1]);
188
+ };
189
+ })(JobIdentifier || (JobIdentifier = {}));
179
190
  export var BatchJobIdentifier;
180
191
  (function (BatchJobIdentifier) {
181
192
  BatchJobIdentifier.visit = (value, visitor) => {
@@ -183,6 +194,8 @@ export var BatchJobIdentifier;
183
194
  return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
184
195
  if (value.scriptBatchJobIdentifier !== undefined)
185
196
  return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
197
+ if (value.s3BatchJobIdentifier !== undefined)
198
+ return visitor.s3BatchJobIdentifier(value.s3BatchJobIdentifier);
186
199
  return visitor._(value.$unknown[0], value.$unknown[1]);
187
200
  };
188
201
  })(BatchJobIdentifier || (BatchJobIdentifier = {}));
@@ -202,6 +215,19 @@ export const BatchJobExecutionStatus = {
202
215
  SUCCEEDED: "Succeeded",
203
216
  SUCCEEDED_WITH_WARNING: "Succeeded With Warning",
204
217
  };
218
+ export class ExecutionTimeoutException extends __BaseException {
219
+ constructor(opts) {
220
+ super({
221
+ name: "ExecutionTimeoutException",
222
+ $fault: "server",
223
+ ...opts,
224
+ });
225
+ this.name = "ExecutionTimeoutException";
226
+ this.$fault = "server";
227
+ this.$retryable = {};
228
+ Object.setPrototypeOf(this, ExecutionTimeoutException.prototype);
229
+ }
230
+ }
205
231
  export var DatasetDetailOrgAttributes;
206
232
  (function (DatasetDetailOrgAttributes) {
207
233
  DatasetDetailOrgAttributes.visit = (value, visitor) => {
@@ -216,9 +242,23 @@ export var DatasetDetailOrgAttributes;
216
242
  return visitor._(value.$unknown[0], value.$unknown[1]);
217
243
  };
218
244
  })(DatasetDetailOrgAttributes || (DatasetDetailOrgAttributes = {}));
245
+ export class ServiceUnavailableException extends __BaseException {
246
+ constructor(opts) {
247
+ super({
248
+ name: "ServiceUnavailableException",
249
+ $fault: "server",
250
+ ...opts,
251
+ });
252
+ this.name = "ServiceUnavailableException";
253
+ this.$fault = "server";
254
+ this.$retryable = {};
255
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
256
+ }
257
+ }
219
258
  export const DataSetTaskLifecycle = {
220
259
  COMPLETED: "Completed",
221
260
  CREATING: "Creating",
261
+ FAILED: "Failed",
222
262
  RUNNING: "Running",
223
263
  };
224
264
  export const ApplicationDeploymentLifecycle = {
@@ -1,9 +1,9 @@
1
1
  import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
2
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { M2ServiceException as __BaseException } from "../models/M2ServiceException";
6
- import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, StorageConfiguration, ThrottlingException, ValidationException, } from "../models/models_0";
6
+ import { AccessDeniedException, ConflictException, ExecutionTimeoutException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, StorageConfiguration, ThrottlingException, ValidationException, } from "../models/models_0";
7
7
  export const se_CancelBatchJobExecutionCommand = async (input, context) => {
8
8
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
9
9
  const headers = {};
@@ -451,6 +451,7 @@ export const se_ListDataSetsCommand = async (input, context) => {
451
451
  nextToken: [, input.nextToken],
452
452
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
453
453
  prefix: [, input.prefix],
454
+ nameFilter: [, input.nameFilter],
454
455
  });
455
456
  let body;
456
457
  return new __HttpRequest({
@@ -682,6 +683,7 @@ export const se_UpdateEnvironmentCommand = async (input, context) => {
682
683
  applyDuringMaintenanceWindow: [],
683
684
  desiredCapacity: [],
684
685
  engineVersion: [],
686
+ forceUpdate: [],
685
687
  instanceType: [],
686
688
  preferredMaintenanceWindow: [],
687
689
  }));
@@ -1249,6 +1251,7 @@ export const de_GetDataSetDetailsCommand = async (output, context) => {
1249
1251
  creationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1250
1252
  dataSetName: __expectString,
1251
1253
  dataSetOrg: (_) => _json(__expectUnion(_)),
1254
+ fileSize: __expectLong,
1252
1255
  lastReferencedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1253
1256
  lastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1254
1257
  location: __expectString,
@@ -1267,12 +1270,21 @@ const de_GetDataSetDetailsCommandError = async (output, context) => {
1267
1270
  case "AccessDeniedException":
1268
1271
  case "com.amazonaws.m2#AccessDeniedException":
1269
1272
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1273
+ case "ConflictException":
1274
+ case "com.amazonaws.m2#ConflictException":
1275
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1276
+ case "ExecutionTimeoutException":
1277
+ case "com.amazonaws.m2#ExecutionTimeoutException":
1278
+ throw await de_ExecutionTimeoutExceptionRes(parsedOutput, context);
1270
1279
  case "InternalServerException":
1271
1280
  case "com.amazonaws.m2#InternalServerException":
1272
1281
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1273
1282
  case "ResourceNotFoundException":
1274
1283
  case "com.amazonaws.m2#ResourceNotFoundException":
1275
1284
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1285
+ case "ServiceUnavailableException":
1286
+ case "com.amazonaws.m2#ServiceUnavailableException":
1287
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1276
1288
  case "ThrottlingException":
1277
1289
  case "com.amazonaws.m2#ThrottlingException":
1278
1290
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -1743,12 +1755,21 @@ const de_ListDataSetsCommandError = async (output, context) => {
1743
1755
  case "AccessDeniedException":
1744
1756
  case "com.amazonaws.m2#AccessDeniedException":
1745
1757
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1758
+ case "ConflictException":
1759
+ case "com.amazonaws.m2#ConflictException":
1760
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1761
+ case "ExecutionTimeoutException":
1762
+ case "com.amazonaws.m2#ExecutionTimeoutException":
1763
+ throw await de_ExecutionTimeoutExceptionRes(parsedOutput, context);
1746
1764
  case "InternalServerException":
1747
1765
  case "com.amazonaws.m2#InternalServerException":
1748
1766
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1749
1767
  case "ResourceNotFoundException":
1750
1768
  case "com.amazonaws.m2#ResourceNotFoundException":
1751
1769
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1770
+ case "ServiceUnavailableException":
1771
+ case "com.amazonaws.m2#ServiceUnavailableException":
1772
+ throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
1752
1773
  case "ThrottlingException":
1753
1774
  case "com.amazonaws.m2#ThrottlingException":
1754
1775
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
@@ -2290,6 +2311,19 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
2290
2311
  });
2291
2312
  return __decorateServiceException(exception, parsedOutput.body);
2292
2313
  };
2314
+ const de_ExecutionTimeoutExceptionRes = async (parsedOutput, context) => {
2315
+ const contents = map({});
2316
+ const data = parsedOutput.body;
2317
+ const doc = take(data, {
2318
+ message: __expectString,
2319
+ });
2320
+ Object.assign(contents, doc);
2321
+ const exception = new ExecutionTimeoutException({
2322
+ $metadata: deserializeMetadata(parsedOutput),
2323
+ ...contents,
2324
+ });
2325
+ return __decorateServiceException(exception, parsedOutput.body);
2326
+ };
2293
2327
  const de_InternalServerExceptionRes = async (parsedOutput, context) => {
2294
2328
  const contents = map({
2295
2329
  retryAfterSeconds: [
@@ -2340,6 +2374,19 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
2340
2374
  });
2341
2375
  return __decorateServiceException(exception, parsedOutput.body);
2342
2376
  };
2377
+ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
2378
+ const contents = map({});
2379
+ const data = parsedOutput.body;
2380
+ const doc = take(data, {
2381
+ message: __expectString,
2382
+ });
2383
+ Object.assign(contents, doc);
2384
+ const exception = new ServiceUnavailableException({
2385
+ $metadata: deserializeMetadata(parsedOutput),
2386
+ ...contents,
2387
+ });
2388
+ return __decorateServiceException(exception, parsedOutput.body);
2389
+ };
2343
2390
  const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
2344
2391
  const contents = map({
2345
2392
  retryAfterSeconds: [
@@ -56,6 +56,14 @@ export interface GetBatchJobExecutionCommandOutput extends GetBatchJobExecutionR
56
56
  * // scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
57
57
  * // scriptName: "STRING_VALUE", // required
58
58
  * // },
59
+ * // s3BatchJobIdentifier: { // S3BatchJobIdentifier
60
+ * // bucket: "STRING_VALUE", // required
61
+ * // keyPrefix: "STRING_VALUE",
62
+ * // identifier: { // JobIdentifier Union: only one key present
63
+ * // fileName: "STRING_VALUE",
64
+ * // scriptName: "STRING_VALUE",
65
+ * // },
66
+ * // },
59
67
  * // },
60
68
  * // };
61
69
  *
@@ -77,6 +77,7 @@ export interface GetDataSetDetailsCommandOutput extends GetDataSetDetailsRespons
77
77
  * // creationTime: new Date("TIMESTAMP"),
78
78
  * // lastUpdatedTime: new Date("TIMESTAMP"),
79
79
  * // lastReferencedTime: new Date("TIMESTAMP"),
80
+ * // fileSize: Number("long"),
80
81
  * // };
81
82
  *
82
83
  * ```
@@ -90,12 +91,21 @@ export interface GetDataSetDetailsCommandOutput extends GetDataSetDetailsRespons
90
91
  * @throws {@link AccessDeniedException} (client fault)
91
92
  * <p>The account or role doesn't have the right permissions to make the request.</p>
92
93
  *
94
+ * @throws {@link ConflictException} (client fault)
95
+ * <p>The parameters provided in the request conflict with existing resources.</p>
96
+ *
97
+ * @throws {@link ExecutionTimeoutException} (server fault)
98
+ * <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
99
+ *
93
100
  * @throws {@link InternalServerException} (server fault)
94
101
  * <p>An unexpected error occurred during the processing of the request.</p>
95
102
  *
96
103
  * @throws {@link ResourceNotFoundException} (client fault)
97
104
  * <p>The specified resource was not found.</p>
98
105
  *
106
+ * @throws {@link ServiceUnavailableException} (server fault)
107
+ * <p>Server cannot process the request at the moment.</p>
108
+ *
99
109
  * @throws {@link ThrottlingException} (client fault)
100
110
  * <p>The number of requests made exceeds the limit.</p>
101
111
  *
@@ -65,6 +65,14 @@ export interface ListBatchJobExecutionsCommandOutput extends ListBatchJobExecuti
65
65
  * // scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
66
66
  * // scriptName: "STRING_VALUE", // required
67
67
  * // },
68
+ * // s3BatchJobIdentifier: { // S3BatchJobIdentifier
69
+ * // bucket: "STRING_VALUE", // required
70
+ * // keyPrefix: "STRING_VALUE",
71
+ * // identifier: { // JobIdentifier Union: only one key present
72
+ * // fileName: "STRING_VALUE",
73
+ * // scriptName: "STRING_VALUE",
74
+ * // },
75
+ * // },
68
76
  * // },
69
77
  * // },
70
78
  * // ],
@@ -49,6 +49,7 @@ export interface ListDataSetImportHistoryCommandOutput extends ListDataSetImport
49
49
  * // pending: Number("int"), // required
50
50
  * // inProgress: Number("int"), // required
51
51
  * // },
52
+ * // statusReason: "STRING_VALUE",
52
53
  * // },
53
54
  * // ],
54
55
  * // nextToken: "STRING_VALUE",
@@ -37,6 +37,7 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
37
37
  * nextToken: "STRING_VALUE",
38
38
  * maxResults: Number("int"),
39
39
  * prefix: "STRING_VALUE",
40
+ * nameFilter: "STRING_VALUE",
40
41
  * };
41
42
  * const command = new ListDataSetsCommand(input);
42
43
  * const response = await client.send(command);
@@ -65,12 +66,21 @@ export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __Metad
65
66
  * @throws {@link AccessDeniedException} (client fault)
66
67
  * <p>The account or role doesn't have the right permissions to make the request.</p>
67
68
  *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>The parameters provided in the request conflict with existing resources.</p>
71
+ *
72
+ * @throws {@link ExecutionTimeoutException} (server fault)
73
+ * <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
74
+ *
68
75
  * @throws {@link InternalServerException} (server fault)
69
76
  * <p>An unexpected error occurred during the processing of the request.</p>
70
77
  *
71
78
  * @throws {@link ResourceNotFoundException} (client fault)
72
79
  * <p>The specified resource was not found.</p>
73
80
  *
81
+ * @throws {@link ServiceUnavailableException} (server fault)
82
+ * <p>Server cannot process the request at the moment.</p>
83
+ *
74
84
  * @throws {@link ThrottlingException} (client fault)
75
85
  * <p>The number of requests made exceeds the limit.</p>
76
86
  *
@@ -41,6 +41,14 @@ export interface StartBatchJobCommandOutput extends StartBatchJobResponse, __Met
41
41
  * scriptBatchJobIdentifier: { // ScriptBatchJobIdentifier
42
42
  * scriptName: "STRING_VALUE", // required
43
43
  * },
44
+ * s3BatchJobIdentifier: { // S3BatchJobIdentifier
45
+ * bucket: "STRING_VALUE", // required
46
+ * keyPrefix: "STRING_VALUE",
47
+ * identifier: { // JobIdentifier Union: only one key present
48
+ * fileName: "STRING_VALUE",
49
+ * scriptName: "STRING_VALUE",
50
+ * },
51
+ * },
44
52
  * },
45
53
  * jobParams: { // BatchJobParametersMap
46
54
  * "<keys>": "STRING_VALUE",
@@ -37,6 +37,7 @@ export interface UpdateEnvironmentCommandOutput extends UpdateEnvironmentRespons
37
37
  * engineVersion: "STRING_VALUE",
38
38
  * preferredMaintenanceWindow: "STRING_VALUE",
39
39
  * applyDuringMaintenanceWindow: true || false,
40
+ * forceUpdate: true || false,
40
41
  * };
41
42
  * const command = new UpdateEnvironmentCommand(input);
42
43
  * const response = await client.send(command);
@@ -141,7 +141,7 @@ export declare class ThrottlingException extends __BaseException {
141
141
  serviceCode?: string;
142
142
  /**
143
143
  * @public
144
- * <p>The identifier of the throttled reuqest.</p>
144
+ * <p>The identifier of the throttled request.</p>
145
145
  */
146
146
  quotaCode?: string;
147
147
  /**
@@ -816,6 +816,7 @@ export interface GetApplicationRequest {
816
816
  */
817
817
  export declare const DeploymentLifecycle: {
818
818
  readonly DEPLOYING: "Deploying";
819
+ readonly DEPLOY_UPDATE: "Updating Deployment";
819
820
  readonly FAILED: "Failed";
820
821
  readonly SUCCEEDED: "Succeeded";
821
822
  };
@@ -1122,6 +1123,69 @@ export interface FileBatchJobIdentifier {
1122
1123
  */
1123
1124
  folderPath?: string;
1124
1125
  }
1126
+ /**
1127
+ * @public
1128
+ * <p>Identifies a specific batch job.</p>
1129
+ */
1130
+ export type JobIdentifier = JobIdentifier.FileNameMember | JobIdentifier.ScriptNameMember | JobIdentifier.$UnknownMember;
1131
+ /**
1132
+ * @public
1133
+ */
1134
+ export declare namespace JobIdentifier {
1135
+ /**
1136
+ * @public
1137
+ * <p>The name of the file that contains the batch job definition.</p>
1138
+ */
1139
+ interface FileNameMember {
1140
+ fileName: string;
1141
+ scriptName?: never;
1142
+ $unknown?: never;
1143
+ }
1144
+ /**
1145
+ * @public
1146
+ * <p>The name of the script that contains the batch job definition.</p>
1147
+ */
1148
+ interface ScriptNameMember {
1149
+ fileName?: never;
1150
+ scriptName: string;
1151
+ $unknown?: never;
1152
+ }
1153
+ /**
1154
+ * @public
1155
+ */
1156
+ interface $UnknownMember {
1157
+ fileName?: never;
1158
+ scriptName?: never;
1159
+ $unknown: [string, any];
1160
+ }
1161
+ interface Visitor<T> {
1162
+ fileName: (value: string) => T;
1163
+ scriptName: (value: string) => T;
1164
+ _: (name: string, value: any) => T;
1165
+ }
1166
+ const visit: <T>(value: JobIdentifier, visitor: Visitor<T>) => T;
1167
+ }
1168
+ /**
1169
+ * @public
1170
+ * <p>A batch job identifier in which the batch jobs to run are identified by an Amazon S3 location.</p>
1171
+ */
1172
+ export interface S3BatchJobIdentifier {
1173
+ /**
1174
+ * @public
1175
+ * <p>The Amazon S3 bucket that contains the batch job definitions.</p>
1176
+ */
1177
+ bucket: string | undefined;
1178
+ /**
1179
+ * @public
1180
+ * <p>The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.</p>
1181
+ */
1182
+ keyPrefix?: string;
1183
+ /**
1184
+ * @public
1185
+ * <p>Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in <code>keyPrefix</code>.</p>
1186
+ */
1187
+ identifier: JobIdentifier | undefined;
1188
+ }
1125
1189
  /**
1126
1190
  * @public
1127
1191
  * <p>A batch job identifier in which the batch job to run is identified by the script
@@ -1138,7 +1202,7 @@ export interface ScriptBatchJobIdentifier {
1138
1202
  * @public
1139
1203
  * <p>Identifies a specific batch job.</p>
1140
1204
  */
1141
- export type BatchJobIdentifier = BatchJobIdentifier.FileBatchJobIdentifierMember | BatchJobIdentifier.ScriptBatchJobIdentifierMember | BatchJobIdentifier.$UnknownMember;
1205
+ export type BatchJobIdentifier = BatchJobIdentifier.FileBatchJobIdentifierMember | BatchJobIdentifier.S3BatchJobIdentifierMember | BatchJobIdentifier.ScriptBatchJobIdentifierMember | BatchJobIdentifier.$UnknownMember;
1142
1206
  /**
1143
1207
  * @public
1144
1208
  */
@@ -1150,6 +1214,7 @@ export declare namespace BatchJobIdentifier {
1150
1214
  interface FileBatchJobIdentifierMember {
1151
1215
  fileBatchJobIdentifier: FileBatchJobIdentifier;
1152
1216
  scriptBatchJobIdentifier?: never;
1217
+ s3BatchJobIdentifier?: never;
1153
1218
  $unknown?: never;
1154
1219
  }
1155
1220
  /**
@@ -1160,6 +1225,17 @@ export declare namespace BatchJobIdentifier {
1160
1225
  interface ScriptBatchJobIdentifierMember {
1161
1226
  fileBatchJobIdentifier?: never;
1162
1227
  scriptBatchJobIdentifier: ScriptBatchJobIdentifier;
1228
+ s3BatchJobIdentifier?: never;
1229
+ $unknown?: never;
1230
+ }
1231
+ /**
1232
+ * @public
1233
+ * <p>Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.</p>
1234
+ */
1235
+ interface S3BatchJobIdentifierMember {
1236
+ fileBatchJobIdentifier?: never;
1237
+ scriptBatchJobIdentifier?: never;
1238
+ s3BatchJobIdentifier: S3BatchJobIdentifier;
1163
1239
  $unknown?: never;
1164
1240
  }
1165
1241
  /**
@@ -1168,11 +1244,13 @@ export declare namespace BatchJobIdentifier {
1168
1244
  interface $UnknownMember {
1169
1245
  fileBatchJobIdentifier?: never;
1170
1246
  scriptBatchJobIdentifier?: never;
1247
+ s3BatchJobIdentifier?: never;
1171
1248
  $unknown: [string, any];
1172
1249
  }
1173
1250
  interface Visitor<T> {
1174
1251
  fileBatchJobIdentifier: (value: FileBatchJobIdentifier) => T;
1175
1252
  scriptBatchJobIdentifier: (value: ScriptBatchJobIdentifier) => T;
1253
+ s3BatchJobIdentifier: (value: S3BatchJobIdentifier) => T;
1176
1254
  _: (name: string, value: any) => T;
1177
1255
  }
1178
1256
  const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
@@ -1277,6 +1355,19 @@ export interface GetBatchJobExecutionResponse {
1277
1355
  */
1278
1356
  batchJobIdentifier?: BatchJobIdentifier;
1279
1357
  }
1358
+ /**
1359
+ * @public
1360
+ * <p> Failed to connect to server, or didn’t receive response within expected time period.</p>
1361
+ */
1362
+ export declare class ExecutionTimeoutException extends __BaseException {
1363
+ readonly name: "ExecutionTimeoutException";
1364
+ readonly $fault: "server";
1365
+ $retryable: {};
1366
+ /**
1367
+ * @internal
1368
+ */
1369
+ constructor(opts: __ExceptionOptionType<ExecutionTimeoutException, __BaseException>);
1370
+ }
1280
1371
  /**
1281
1372
  * @public
1282
1373
  */
@@ -1502,6 +1593,24 @@ export interface GetDataSetDetailsResponse {
1502
1593
  * <p>The last time the data set was referenced.</p>
1503
1594
  */
1504
1595
  lastReferencedTime?: Date;
1596
+ /**
1597
+ * @public
1598
+ * <p>File size of the dataset.</p>
1599
+ */
1600
+ fileSize?: number;
1601
+ }
1602
+ /**
1603
+ * @public
1604
+ * <p>Server cannot process the request at the moment.</p>
1605
+ */
1606
+ export declare class ServiceUnavailableException extends __BaseException {
1607
+ readonly name: "ServiceUnavailableException";
1608
+ readonly $fault: "server";
1609
+ $retryable: {};
1610
+ /**
1611
+ * @internal
1612
+ */
1613
+ constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
1505
1614
  }
1506
1615
  /**
1507
1616
  * @public
@@ -1526,6 +1635,7 @@ export interface GetDataSetImportTaskRequest {
1526
1635
  export declare const DataSetTaskLifecycle: {
1527
1636
  readonly COMPLETED: "Completed";
1528
1637
  readonly CREATING: "Creating";
1638
+ readonly FAILED: "Failed";
1529
1639
  readonly RUNNING: "Running";
1530
1640
  };
1531
1641
  /**
@@ -2080,6 +2190,11 @@ export interface DataSetImportTask {
2080
2190
  * <p>A summary of the data set import task.</p>
2081
2191
  */
2082
2192
  summary: DataSetImportSummary | undefined;
2193
+ /**
2194
+ * @public
2195
+ * <p>If dataset import failed, the failure reason will show here.</p>
2196
+ */
2197
+ statusReason?: string;
2083
2198
  }
2084
2199
  /**
2085
2200
  * @public
@@ -2125,6 +2240,11 @@ export interface ListDataSetsRequest {
2125
2240
  * sets.</p>
2126
2241
  */
2127
2242
  prefix?: string;
2243
+ /**
2244
+ * @public
2245
+ * <p>Filter dataset name matching the specified pattern. Can use * and % as wild cards.</p>
2246
+ */
2247
+ nameFilter?: string;
2128
2248
  }
2129
2249
  /**
2130
2250
  * @public
@@ -2509,8 +2629,8 @@ export interface CreateEnvironmentRequest {
2509
2629
  tags?: Record<string, string>;
2510
2630
  /**
2511
2631
  * @public
2512
- * <p>Configures the maintenance window you want for the runtime environment. If you do not
2513
- * provide a value, a random system-generated value will be assigned.</p>
2632
+ * <p>Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format <code>ddd:hh24:mi-ddd:hh24:mi</code> and must be less than 24 hours. The following two examples are valid maintenance windows: <code>sun:23:45-mon:00:15</code> or <code>sat:01:00-sat:03:00</code>. </p>
2633
+ * <p>If you do not provide a value, a random system-generated value will be assigned.</p>
2514
2634
  */
2515
2635
  preferredMaintenanceWindow?: string;
2516
2636
  /**
@@ -2700,7 +2820,7 @@ export interface GetEnvironmentResponse {
2700
2820
  /**
2701
2821
  * @public
2702
2822
  * <p>The number of instances included in the runtime environment. A standalone runtime
2703
- * environment has a maxiumum of one instance. Currently, a high availability runtime
2823
+ * environment has a maximum of one instance. Currently, a high availability runtime
2704
2824
  * environment has a maximum of two instances. </p>
2705
2825
  */
2706
2826
  actualCapacity?: number;
@@ -2717,8 +2837,8 @@ export interface GetEnvironmentResponse {
2717
2837
  statusReason?: string;
2718
2838
  /**
2719
2839
  * @public
2720
- * <p>Configures the maintenance window you want for the runtime environment. If you do not
2721
- * provide a value, a random system-generated value will be assigned.</p>
2840
+ * <p>The maintenance window for the runtime environment. If you don't
2841
+ * provide a value for the maintenance window, the service assigns a random value.</p>
2722
2842
  */
2723
2843
  preferredMaintenanceWindow?: string;
2724
2844
  /**
@@ -2848,8 +2968,8 @@ export interface UpdateEnvironmentRequest {
2848
2968
  engineVersion?: string;
2849
2969
  /**
2850
2970
  * @public
2851
- * <p>Configures the maintenance window you want for the runtime environment. If you do not
2852
- * provide a value, a random system-generated value will be assigned.</p>
2971
+ * <p>Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format <code>ddd:hh24:mi-ddd:hh24:mi</code> and must be less than 24 hours. The following two examples are valid maintenance windows: <code>sun:23:45-mon:00:15</code> or <code>sat:01:00-sat:03:00</code>. </p>
2972
+ * <p>If you do not provide a value, a random system-generated value will be assigned.</p>
2853
2973
  */
2854
2974
  preferredMaintenanceWindow?: string;
2855
2975
  /**
@@ -2861,6 +2981,13 @@ export interface UpdateEnvironmentRequest {
2861
2981
  * fail if <code>applyDuringMaintenanceWindow</code> is set to true.</p>
2862
2982
  */
2863
2983
  applyDuringMaintenanceWindow?: boolean;
2984
+ /**
2985
+ * @public
2986
+ * <p>Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment.</p>
2987
+ * <p>If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications.</p>
2988
+ * <p>This option is not needed if the attribute being updated is <code>preferredMaintenanceWindow</code>.</p>
2989
+ */
2990
+ forceUpdate?: boolean;
2864
2991
  }
2865
2992
  /**
2866
2993
  * @public
@@ -302,6 +302,7 @@ export interface GetApplicationRequest {
302
302
  }
303
303
  export declare const DeploymentLifecycle: {
304
304
  readonly DEPLOYING: "Deploying";
305
+ readonly DEPLOY_UPDATE: "Updating Deployment";
305
306
  readonly FAILED: "Failed";
306
307
  readonly SUCCEEDED: "Succeeded";
307
308
  };
@@ -387,32 +388,75 @@ export interface FileBatchJobIdentifier {
387
388
  fileName: string | undefined;
388
389
  folderPath?: string;
389
390
  }
391
+ export type JobIdentifier =
392
+ | JobIdentifier.FileNameMember
393
+ | JobIdentifier.ScriptNameMember
394
+ | JobIdentifier.$UnknownMember;
395
+ export declare namespace JobIdentifier {
396
+ interface FileNameMember {
397
+ fileName: string;
398
+ scriptName?: never;
399
+ $unknown?: never;
400
+ }
401
+ interface ScriptNameMember {
402
+ fileName?: never;
403
+ scriptName: string;
404
+ $unknown?: never;
405
+ }
406
+ interface $UnknownMember {
407
+ fileName?: never;
408
+ scriptName?: never;
409
+ $unknown: [string, any];
410
+ }
411
+ interface Visitor<T> {
412
+ fileName: (value: string) => T;
413
+ scriptName: (value: string) => T;
414
+ _: (name: string, value: any) => T;
415
+ }
416
+ const visit: <T>(value: JobIdentifier, visitor: Visitor<T>) => T;
417
+ }
418
+ export interface S3BatchJobIdentifier {
419
+ bucket: string | undefined;
420
+ keyPrefix?: string;
421
+ identifier: JobIdentifier | undefined;
422
+ }
390
423
  export interface ScriptBatchJobIdentifier {
391
424
  scriptName: string | undefined;
392
425
  }
393
426
  export type BatchJobIdentifier =
394
427
  | BatchJobIdentifier.FileBatchJobIdentifierMember
428
+ | BatchJobIdentifier.S3BatchJobIdentifierMember
395
429
  | BatchJobIdentifier.ScriptBatchJobIdentifierMember
396
430
  | BatchJobIdentifier.$UnknownMember;
397
431
  export declare namespace BatchJobIdentifier {
398
432
  interface FileBatchJobIdentifierMember {
399
433
  fileBatchJobIdentifier: FileBatchJobIdentifier;
400
434
  scriptBatchJobIdentifier?: never;
435
+ s3BatchJobIdentifier?: never;
401
436
  $unknown?: never;
402
437
  }
403
438
  interface ScriptBatchJobIdentifierMember {
404
439
  fileBatchJobIdentifier?: never;
405
440
  scriptBatchJobIdentifier: ScriptBatchJobIdentifier;
441
+ s3BatchJobIdentifier?: never;
442
+ $unknown?: never;
443
+ }
444
+ interface S3BatchJobIdentifierMember {
445
+ fileBatchJobIdentifier?: never;
446
+ scriptBatchJobIdentifier?: never;
447
+ s3BatchJobIdentifier: S3BatchJobIdentifier;
406
448
  $unknown?: never;
407
449
  }
408
450
  interface $UnknownMember {
409
451
  fileBatchJobIdentifier?: never;
410
452
  scriptBatchJobIdentifier?: never;
453
+ s3BatchJobIdentifier?: never;
411
454
  $unknown: [string, any];
412
455
  }
413
456
  interface Visitor<T> {
414
457
  fileBatchJobIdentifier: (value: FileBatchJobIdentifier) => T;
415
458
  scriptBatchJobIdentifier: (value: ScriptBatchJobIdentifier) => T;
459
+ s3BatchJobIdentifier: (value: S3BatchJobIdentifier) => T;
416
460
  _: (name: string, value: any) => T;
417
461
  }
418
462
  const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
@@ -450,6 +494,14 @@ export interface GetBatchJobExecutionResponse {
450
494
  returnCode?: string;
451
495
  batchJobIdentifier?: BatchJobIdentifier;
452
496
  }
497
+ export declare class ExecutionTimeoutException extends __BaseException {
498
+ readonly name: "ExecutionTimeoutException";
499
+ readonly $fault: "server";
500
+ $retryable: {};
501
+ constructor(
502
+ opts: __ExceptionOptionType<ExecutionTimeoutException, __BaseException>
503
+ );
504
+ }
453
505
  export interface GetDataSetDetailsRequest {
454
506
  applicationId: string | undefined;
455
507
  dataSetName: string | undefined;
@@ -534,6 +586,15 @@ export interface GetDataSetDetailsResponse {
534
586
  creationTime?: Date;
535
587
  lastUpdatedTime?: Date;
536
588
  lastReferencedTime?: Date;
589
+ fileSize?: number;
590
+ }
591
+ export declare class ServiceUnavailableException extends __BaseException {
592
+ readonly name: "ServiceUnavailableException";
593
+ readonly $fault: "server";
594
+ $retryable: {};
595
+ constructor(
596
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
597
+ );
537
598
  }
538
599
  export interface GetDataSetImportTaskRequest {
539
600
  applicationId: string | undefined;
@@ -542,6 +603,7 @@ export interface GetDataSetImportTaskRequest {
542
603
  export declare const DataSetTaskLifecycle: {
543
604
  readonly COMPLETED: "Completed";
544
605
  readonly CREATING: "Creating";
606
+ readonly FAILED: "Failed";
545
607
  readonly RUNNING: "Running";
546
608
  };
547
609
  export type DataSetTaskLifecycle =
@@ -690,6 +752,7 @@ export interface DataSetImportTask {
690
752
  taskId: string | undefined;
691
753
  status: DataSetTaskLifecycle | undefined;
692
754
  summary: DataSetImportSummary | undefined;
755
+ statusReason?: string;
693
756
  }
694
757
  export interface ListDataSetImportHistoryResponse {
695
758
  dataSetImportTasks: DataSetImportTask[] | undefined;
@@ -700,6 +763,7 @@ export interface ListDataSetsRequest {
700
763
  nextToken?: string;
701
764
  maxResults?: number;
702
765
  prefix?: string;
766
+ nameFilter?: string;
703
767
  }
704
768
  export interface DataSetSummary {
705
769
  dataSetName: string | undefined;
@@ -889,6 +953,7 @@ export interface UpdateEnvironmentRequest {
889
953
  engineVersion?: string;
890
954
  preferredMaintenanceWindow?: string;
891
955
  applyDuringMaintenanceWindow?: boolean;
956
+ forceUpdate?: boolean;
892
957
  }
893
958
  export interface UpdateEnvironmentResponse {
894
959
  environmentId: 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.438.0",
4
+ "version": "3.440.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",