@aws-sdk/client-m2 3.430.0 → 3.433.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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_ListApplicationsCommand = exports.de_GetSignedBluinsightsUrlCommand = exports.de_GetEnvironmentCommand = exports.de_GetDeploymentCommand = exports.de_GetDataSetImportTaskCommand = exports.de_GetDataSetDetailsCommand = exports.de_GetBatchJobExecutionCommand = exports.de_GetApplicationVersionCommand = exports.de_GetApplicationCommand = exports.de_DeleteEnvironmentCommand = exports.de_DeleteApplicationFromEnvironmentCommand = exports.de_DeleteApplicationCommand = exports.de_CreateEnvironmentCommand = exports.de_CreateDeploymentCommand = exports.de_CreateDataSetImportTaskCommand = exports.de_CreateApplicationCommand = exports.de_CancelBatchJobExecutionCommand = exports.se_UpdateEnvironmentCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopApplicationCommand = exports.se_StartBatchJobCommand = exports.se_StartApplicationCommand = exports.se_ListTagsForResourceCommand = exports.se_ListEnvironmentsCommand = exports.se_ListEngineVersionsCommand = exports.se_ListDeploymentsCommand = exports.se_ListDataSetsCommand = exports.se_ListDataSetImportHistoryCommand = exports.se_ListBatchJobExecutionsCommand = exports.se_ListBatchJobDefinitionsCommand = exports.se_ListApplicationVersionsCommand = exports.se_ListApplicationsCommand = exports.se_GetSignedBluinsightsUrlCommand = exports.se_GetEnvironmentCommand = exports.se_GetDeploymentCommand = exports.se_GetDataSetImportTaskCommand = exports.se_GetDataSetDetailsCommand = exports.se_GetBatchJobExecutionCommand = exports.se_GetApplicationVersionCommand = exports.se_GetApplicationCommand = exports.se_DeleteEnvironmentCommand = exports.se_DeleteApplicationFromEnvironmentCommand = exports.se_DeleteApplicationCommand = exports.se_CreateEnvironmentCommand = exports.se_CreateDeploymentCommand = exports.se_CreateDataSetImportTaskCommand = exports.se_CreateApplicationCommand = exports.se_CancelBatchJobExecutionCommand = void 0;
4
4
  exports.de_UpdateEnvironmentCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopApplicationCommand = exports.de_StartBatchJobCommand = exports.de_StartApplicationCommand = exports.de_ListTagsForResourceCommand = exports.de_ListEnvironmentsCommand = exports.de_ListEngineVersionsCommand = exports.de_ListDeploymentsCommand = exports.de_ListDataSetsCommand = exports.de_ListDataSetImportHistoryCommand = exports.de_ListBatchJobExecutionsCommand = exports.de_ListBatchJobDefinitionsCommand = exports.de_ListApplicationVersionsCommand = void 0;
5
+ const core_1 = require("@aws-sdk/core");
5
6
  const protocol_http_1 = require("@smithy/protocol-http");
6
7
  const smithy_client_1 = require("@smithy/smithy-client");
7
8
  const uuid_1 = require("uuid");
@@ -1236,7 +1237,7 @@ const de_GetBatchJobExecutionCommand = async (output, context) => {
1236
1237
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1237
1238
  const doc = (0, smithy_client_1.take)(data, {
1238
1239
  applicationId: smithy_client_1.expectString,
1239
- batchJobIdentifier: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1240
+ batchJobIdentifier: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1240
1241
  endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1241
1242
  executionId: smithy_client_1.expectString,
1242
1243
  jobId: smithy_client_1.expectString,
@@ -1295,7 +1296,7 @@ const de_GetDataSetDetailsCommand = async (output, context) => {
1295
1296
  blocksize: smithy_client_1.expectInt32,
1296
1297
  creationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1297
1298
  dataSetName: smithy_client_1.expectString,
1298
- dataSetOrg: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
1299
+ dataSetOrg: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
1299
1300
  lastReferencedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1300
1301
  lastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
1301
1302
  location: smithy_client_1.expectString,
@@ -2514,7 +2515,7 @@ const de_ApplicationVersionSummaryList = (output, context) => {
2514
2515
  const de_BatchJobExecutionSummary = (output, context) => {
2515
2516
  return (0, smithy_client_1.take)(output, {
2516
2517
  applicationId: smithy_client_1.expectString,
2517
- batchJobIdentifier: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
2518
+ batchJobIdentifier: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
2518
2519
  endTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2519
2520
  executionId: smithy_client_1.expectString,
2520
2521
  jobId: smithy_client_1.expectString,
@@ -2631,7 +2632,7 @@ const de_StorageConfigurationList = (output, context) => {
2631
2632
  const retVal = (output || [])
2632
2633
  .filter((e) => e != null)
2633
2634
  .map((entry) => {
2634
- return de_StorageConfiguration((0, smithy_client_1.expectUnion)(entry), context);
2635
+ return de_StorageConfiguration((0, core_1.awsExpectUnion)(entry), context);
2635
2636
  });
2636
2637
  return retVal;
2637
2638
  };
@@ -1,5 +1,6 @@
1
+ import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, 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, 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
4
  import { v4 as generateIdempotencyToken } from "uuid";
4
5
  import { M2ServiceException as __BaseException } from "../models/M2ServiceException";
5
6
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, StorageConfiguration, ThrottlingException, ValidationException, } from "../models/models_0";
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.430.0",
4
+ "version": "3.433.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,40 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.430.0",
25
- "@aws-sdk/credential-provider-node": "3.430.0",
26
- "@aws-sdk/middleware-host-header": "3.429.0",
27
- "@aws-sdk/middleware-logger": "3.428.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
- "@aws-sdk/middleware-signing": "3.428.0",
30
- "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.430.0",
32
- "@aws-sdk/types": "3.428.0",
33
- "@aws-sdk/util-endpoints": "3.428.0",
34
- "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.430.0",
36
- "@smithy/config-resolver": "^2.0.15",
37
- "@smithy/fetch-http-handler": "^2.2.3",
38
- "@smithy/hash-node": "^2.0.11",
39
- "@smithy/invalid-dependency": "^2.0.11",
40
- "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.2",
42
- "@smithy/middleware-retry": "^2.0.17",
43
- "@smithy/middleware-serde": "^2.0.11",
44
- "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.2",
46
- "@smithy/node-http-handler": "^2.1.7",
47
- "@smithy/protocol-http": "^3.0.7",
48
- "@smithy/smithy-client": "^2.1.11",
49
- "@smithy/types": "^2.3.5",
50
- "@smithy/url-parser": "^2.0.11",
24
+ "@aws-sdk/client-sts": "3.433.0",
25
+ "@aws-sdk/core": "3.433.0",
26
+ "@aws-sdk/credential-provider-node": "3.433.0",
27
+ "@aws-sdk/middleware-host-header": "3.433.0",
28
+ "@aws-sdk/middleware-logger": "3.433.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.433.0",
30
+ "@aws-sdk/middleware-signing": "3.433.0",
31
+ "@aws-sdk/middleware-user-agent": "3.433.0",
32
+ "@aws-sdk/region-config-resolver": "3.433.0",
33
+ "@aws-sdk/types": "3.433.0",
34
+ "@aws-sdk/util-endpoints": "3.433.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.433.0",
36
+ "@aws-sdk/util-user-agent-node": "3.433.0",
37
+ "@smithy/config-resolver": "^2.0.16",
38
+ "@smithy/fetch-http-handler": "^2.2.4",
39
+ "@smithy/hash-node": "^2.0.12",
40
+ "@smithy/invalid-dependency": "^2.0.12",
41
+ "@smithy/middleware-content-length": "^2.0.14",
42
+ "@smithy/middleware-endpoint": "^2.1.3",
43
+ "@smithy/middleware-retry": "^2.0.18",
44
+ "@smithy/middleware-serde": "^2.0.12",
45
+ "@smithy/middleware-stack": "^2.0.6",
46
+ "@smithy/node-config-provider": "^2.1.3",
47
+ "@smithy/node-http-handler": "^2.1.8",
48
+ "@smithy/protocol-http": "^3.0.8",
49
+ "@smithy/smithy-client": "^2.1.12",
50
+ "@smithy/types": "^2.4.0",
51
+ "@smithy/url-parser": "^2.0.12",
51
52
  "@smithy/util-base64": "^2.0.0",
52
53
  "@smithy/util-body-length-browser": "^2.0.0",
53
54
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.20",
56
- "@smithy/util-retry": "^2.0.4",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.16",
56
+ "@smithy/util-defaults-mode-node": "^2.0.21",
57
+ "@smithy/util-retry": "^2.0.5",
57
58
  "@smithy/util-utf8": "^2.0.0",
58
59
  "tslib": "^2.5.0",
59
60
  "uuid": "^8.3.2"