@aws-sdk/client-codeguru-security 3.429.0 → 3.431.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,
|
|
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,
|
|
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.
|
|
4
|
+
"version": "3.431.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,28 +21,29 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/
|
|
26
|
-
"@aws-sdk/
|
|
24
|
+
"@aws-sdk/client-sts": "3.431.0",
|
|
25
|
+
"@aws-sdk/core": "3.431.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.431.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.431.0",
|
|
27
28
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
29
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
30
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
31
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
33
|
"@aws-sdk/types": "3.428.0",
|
|
33
34
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
35
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
39
|
"@smithy/hash-node": "^2.0.11",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
41
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
44
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
45
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
47
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
48
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
49
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
55
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
57
|
"@smithy/util-retry": "^2.0.4",
|
|
57
58
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
59
|
"tslib": "^2.5.0",
|