@aws-sdk/client-codeguru-security 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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.de_UpdateAccountConfigurationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListScansCommand = exports.de_ListFindingsMetricsCommand = exports.de_GetScanCommand = exports.de_GetMetricsSummaryCommand = exports.de_GetFindingsCommand = exports.de_GetAccountConfigurationCommand = exports.de_CreateUploadUrlCommand = exports.de_CreateScanCommand = exports.de_BatchGetFindingsCommand = exports.se_UpdateAccountConfigurationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListScansCommand = exports.se_ListFindingsMetricsCommand = exports.se_GetScanCommand = exports.se_GetMetricsSummaryCommand = exports.se_GetFindingsCommand = exports.se_GetAccountConfigurationCommand = exports.se_CreateUploadUrlCommand = exports.se_CreateScanCommand = exports.se_BatchGetFindingsCommand = void 0;
4
+ const core_1 = require("@aws-sdk/core");
4
5
  const protocol_http_1 = require("@smithy/protocol-http");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const uuid_1 = require("uuid");
@@ -347,7 +348,7 @@ const de_CreateScanCommand = async (output, context) => {
347
348
  });
348
349
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
349
350
  const doc = (0, smithy_client_1.take)(data, {
350
- resourceId: (_) => (0, smithy_client_1._json)((0, smithy_client_1.expectUnion)(_)),
351
+ resourceId: (_) => (0, smithy_client_1._json)((0, core_1.awsExpectUnion)(_)),
351
352
  runId: smithy_client_1.expectString,
352
353
  scanName: smithy_client_1.expectString,
353
354
  scanNameArn: smithy_client_1.expectString,
@@ -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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, take, withBaseException, } from "@smithy/smithy-client";
3
4
  import { v4 as generateIdempotencyToken } from "uuid";
4
5
  import { CodeGuruSecurityServiceException as __BaseException } from "../models/CodeGuruSecurityServiceException";
5
6
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguru-security",
3
3
  "description": "AWS SDK for JavaScript Codeguru Security 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"