@aws-sdk/client-inspector-scan 3.504.0 → 3.507.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 CHANGED
@@ -263,7 +263,7 @@ var se_ScanSbomCommand = /* @__PURE__ */ __name(async (input, context) => {
263
263
  }, "se_ScanSbomCommand");
264
264
  var de_ScanSbomCommand = /* @__PURE__ */ __name(async (output, context) => {
265
265
  if (output.statusCode !== 200 && output.statusCode >= 300) {
266
- return de_ScanSbomCommandError(output, context);
266
+ return de_CommandError(output, context);
267
267
  }
268
268
  const contents = (0, import_smithy_client.map)({
269
269
  $metadata: deserializeMetadata(output)
@@ -275,7 +275,7 @@ var de_ScanSbomCommand = /* @__PURE__ */ __name(async (output, context) => {
275
275
  Object.assign(contents, doc);
276
276
  return contents;
277
277
  }, "de_ScanSbomCommand");
278
- var de_ScanSbomCommandError = /* @__PURE__ */ __name(async (output, context) => {
278
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
279
279
  const parsedOutput = {
280
280
  ...output,
281
281
  body: await parseErrorBody(output.body, context)
@@ -302,7 +302,7 @@ var de_ScanSbomCommandError = /* @__PURE__ */ __name(async (output, context) =>
302
302
  errorCode
303
303
  });
304
304
  }
305
- }, "de_ScanSbomCommandError");
305
+ }, "de_CommandError");
306
306
  var throwDefaultError = (0, import_smithy_client.withBaseException)(InspectorScanServiceException);
307
307
  var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
308
308
  const contents = (0, import_smithy_client.map)({});
@@ -18,7 +18,7 @@ export const se_ScanSbomCommand = async (input, context) => {
18
18
  };
19
19
  export const de_ScanSbomCommand = async (output, context) => {
20
20
  if (output.statusCode !== 200 && output.statusCode >= 300) {
21
- return de_ScanSbomCommandError(output, context);
21
+ return de_CommandError(output, context);
22
22
  }
23
23
  const contents = map({
24
24
  $metadata: deserializeMetadata(output),
@@ -30,7 +30,7 @@ export const de_ScanSbomCommand = async (output, context) => {
30
30
  Object.assign(contents, doc);
31
31
  return contents;
32
32
  };
33
- const de_ScanSbomCommandError = async (output, context) => {
33
+ const de_CommandError = async (output, context) => {
34
34
  const parsedOutput = {
35
35
  ...output,
36
36
  body: await parseErrorBody(output.body, context),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector-scan",
3
3
  "description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
4
- "version": "3.504.0",
4
+ "version": "3.507.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-inspector-scan",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.504.0",
23
+ "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.504.0",
25
+ "@aws-sdk/credential-provider-node": "3.507.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",