@aws-sdk/client-inspector-scan 3.1077.0 → 3.1078.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
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -425,16 +426,11 @@ class InspectorScanClient extends Client {
425
426
  }
426
427
  }
427
428
 
428
- class ScanSbomCommand extends Command
429
- .classBuilder()
430
- .ep(commonParams)
431
- .m(function (Command, cs, config, o) {
432
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
- })
434
- .s("InspectorScan", "ScanSbom", {})
435
- .n("InspectorScanClient", "ScanSbomCommand")
436
- .sc(ScanSbom$)
437
- .build() {
429
+ const command = makeBuilder(commonParams, "InspectorScan", "InspectorScanClient", getEndpointPlugin);
430
+ const _ep0 = {};
431
+ const _mw0 = (Command, cs, config, o) => [];
432
+
433
+ class ScanSbomCommand extends command(_ep0, _mw0, "ScanSbom", ScanSbom$) {
438
434
  }
439
435
 
440
436
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "InspectorScan", "InspectorScanClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ScanSbom$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ScanSbomCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorScan", "ScanSbom", {})
13
- .n("InspectorScanClient", "ScanSbomCommand")
14
- .sc(ScanSbom$)
15
- .build() {
3
+ export class ScanSbomCommand extends command(_ep0, _mw0, "ScanSbom", ScanSbom$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./InspectorScanClient";
2
2
  export * from "./InspectorScan";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { InspectorScanClientResolvedConfig } from "./InspectorScanClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends import("./commands").ScanSbomCommandInput, O extends import("./commands").ScanSbomCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, InspectorScanClientResolvedConfig, import("./commands").ScanSbomCommandInput, import("./commands").ScanSbomCommandOutput>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, InspectorScanClientResolvedConfig, import("./commands").ScanSbomCommandInput, import("./commands").ScanSbomCommandOutput>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { InspectorScanClientResolvedConfig } from "../InspectorScanClient";
4
2
  import type { ScanSbomRequest, ScanSbomResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface ScanSbomCommandInput extends ScanSbomRequest {
22
19
  export interface ScanSbomCommandOutput extends ScanSbomResponse, __MetadataBearer {
23
20
  }
24
21
  declare const ScanSbomCommand_base: {
25
- new (input: ScanSbomCommandInput): import("@smithy/core/client").CommandImpl<ScanSbomCommandInput, ScanSbomCommandOutput, InspectorScanClientResolvedConfig, ScanSbomCommandInput, ScanSbomCommandOutput>;
26
- new (input: ScanSbomCommandInput): import("@smithy/core/client").CommandImpl<ScanSbomCommandInput, ScanSbomCommandOutput, InspectorScanClientResolvedConfig, ScanSbomCommandInput, ScanSbomCommandOutput>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ScanSbomCommandInput): import("@smithy/core/client").CommandImpl<ScanSbomCommandInput, ScanSbomCommandOutput, import("..").InspectorScanClientResolvedConfig, ScanSbomCommandInput, ScanSbomCommandOutput>;
23
+ new (input: ScanSbomCommandInput): import("@smithy/core/client").CommandImpl<ScanSbomCommandInput, ScanSbomCommandOutput, import("..").InspectorScanClientResolvedConfig, ScanSbomCommandInput, ScanSbomCommandOutput>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the <a href="https://docs.aws.amazon.com/inspector/latest/user/sbom-generator.html">Amazon Inspector SBOM generator</a>.</p> <note> <p> The output of this action reports NVD and CVSS scores when NVD and CVSS scores are available. Because the output reports both scores, you might notice a discrepency between them. However, you can triage the severity of either score depending on the vendor of your choosing. </p> </note>
@@ -9,6 +9,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { InspectorScanExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export { Command as $Command } from "@smithy/core/client";
12
13
  export * from "./schemas/schemas_0";
13
14
  export * from "./models/enums";
14
15
  export * from "./models/errors";
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import { InspectorScanClientResolvedConfig } from "./InspectorScanClient";
3
+ export declare const command: <
4
+ I extends import("./commands").ScanSbomCommandInput,
5
+ O extends import("./commands").ScanSbomCommandOutput
6
+ >(
7
+ added: EndpointParameterInstructions,
8
+ plugins: (
9
+ CommandCtor: any,
10
+ clientStack: any,
11
+ config: any,
12
+ options: any
13
+ ) => import("@smithy/types").Pluggable<any, any>[],
14
+ op: string,
15
+ $: import("@smithy/types").StaticOperationSchema,
16
+ smithyContext?: Record<string, unknown>
17
+ ) => {
18
+ new (input: I): import("@smithy/core/client").CommandImpl<
19
+ I,
20
+ O,
21
+ InspectorScanClientResolvedConfig,
22
+ import("./commands").ScanSbomCommandInput,
23
+ import("./commands").ScanSbomCommandOutput
24
+ >;
25
+ new (
26
+ ...[input]: import("@smithy/types").OptionalParameter<I>
27
+ ): import("@smithy/core/client").CommandImpl<
28
+ I,
29
+ O,
30
+ InspectorScanClientResolvedConfig,
31
+ import("./commands").ScanSbomCommandInput,
32
+ import("./commands").ScanSbomCommandOutput
33
+ >;
34
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ };
36
+ export declare const _ep0: EndpointParameterInstructions;
37
+ export declare const _mw0: (
38
+ Command: any,
39
+ cs: any,
40
+ config: any,
41
+ o: any
42
+ ) => never[];
@@ -1,9 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { InspectorScanClientResolvedConfig } from "../InspectorScanClient";
4
2
  import { ScanSbomRequest, ScanSbomResponse } from "../models/models_0";
5
3
  export { __MetadataBearer };
6
- export { $Command };
7
4
  export interface ScanSbomCommandInput extends ScanSbomRequest {}
8
5
  export interface ScanSbomCommandOutput
9
6
  extends ScanSbomResponse,
@@ -12,20 +9,18 @@ declare const ScanSbomCommand_base: {
12
9
  new (input: ScanSbomCommandInput): import("@smithy/core/client").CommandImpl<
13
10
  ScanSbomCommandInput,
14
11
  ScanSbomCommandOutput,
15
- InspectorScanClientResolvedConfig,
12
+ import("..").InspectorScanClientResolvedConfig,
16
13
  ScanSbomCommandInput,
17
14
  ScanSbomCommandOutput
18
15
  >;
19
16
  new (input: ScanSbomCommandInput): import("@smithy/core/client").CommandImpl<
20
17
  ScanSbomCommandInput,
21
18
  ScanSbomCommandOutput,
22
- InspectorScanClientResolvedConfig,
19
+ import("..").InspectorScanClientResolvedConfig,
23
20
  ScanSbomCommandInput,
24
21
  ScanSbomCommandOutput
25
22
  >;
26
- getEndpointParameterInstructions(): {
27
- [x: string]: unknown;
28
- };
23
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
29
24
  };
30
25
  export declare class ScanSbomCommand extends ScanSbomCommand_base {
31
26
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { InspectorScanExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
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.1077.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {