@aws-sdk/client-inspector-scan 3.456.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.
Files changed (75) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +213 -0
  3. package/dist-cjs/InspectorScan.js +13 -0
  4. package/dist-cjs/InspectorScanClient.js +43 -0
  5. package/dist-cjs/commands/ScanSbomCommand.js +51 -0
  6. package/dist-cjs/commands/index.js +4 -0
  7. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  8. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  9. package/dist-cjs/endpoint/ruleset.js +7 -0
  10. package/dist-cjs/extensionConfiguration.js +2 -0
  11. package/dist-cjs/index.js +11 -0
  12. package/dist-cjs/models/InspectorScanServiceException.js +12 -0
  13. package/dist-cjs/models/index.js +4 -0
  14. package/dist-cjs/models/models_0.js +80 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +196 -0
  16. package/dist-cjs/runtimeConfig.browser.js +39 -0
  17. package/dist-cjs/runtimeConfig.js +50 -0
  18. package/dist-cjs/runtimeConfig.native.js +15 -0
  19. package/dist-cjs/runtimeConfig.shared.js +24 -0
  20. package/dist-cjs/runtimeExtensions.js +22 -0
  21. package/dist-es/InspectorScan.js +9 -0
  22. package/dist-es/InspectorScanClient.js +39 -0
  23. package/dist-es/commands/ScanSbomCommand.js +47 -0
  24. package/dist-es/commands/index.js +1 -0
  25. package/dist-es/endpoint/EndpointParameters.js +8 -0
  26. package/dist-es/endpoint/endpointResolver.js +8 -0
  27. package/dist-es/endpoint/ruleset.js +4 -0
  28. package/dist-es/extensionConfiguration.js +1 -0
  29. package/dist-es/index.js +6 -0
  30. package/dist-es/models/InspectorScanServiceException.js +8 -0
  31. package/dist-es/models/index.js +1 -0
  32. package/dist-es/models/models_0.js +73 -0
  33. package/dist-es/protocols/Aws_restJson1.js +191 -0
  34. package/dist-es/runtimeConfig.browser.js +34 -0
  35. package/dist-es/runtimeConfig.js +45 -0
  36. package/dist-es/runtimeConfig.native.js +11 -0
  37. package/dist-es/runtimeConfig.shared.js +20 -0
  38. package/dist-es/runtimeExtensions.js +18 -0
  39. package/dist-types/InspectorScan.d.ts +17 -0
  40. package/dist-types/InspectorScanClient.d.ts +170 -0
  41. package/dist-types/commands/ScanSbomCommand.d.ts +91 -0
  42. package/dist-types/commands/index.d.ts +1 -0
  43. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  44. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  45. package/dist-types/endpoint/ruleset.d.ts +2 -0
  46. package/dist-types/extensionConfiguration.d.ts +8 -0
  47. package/dist-types/index.d.ts +14 -0
  48. package/dist-types/models/InspectorScanServiceException.d.ts +13 -0
  49. package/dist-types/models/index.d.ts +1 -0
  50. package/dist-types/models/models_0.d.ts +169 -0
  51. package/dist-types/protocols/Aws_restJson1.d.ts +11 -0
  52. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  53. package/dist-types/runtimeConfig.d.ts +46 -0
  54. package/dist-types/runtimeConfig.native.d.ts +45 -0
  55. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  56. package/dist-types/runtimeExtensions.d.ts +17 -0
  57. package/dist-types/ts3.4/InspectorScan.d.ts +24 -0
  58. package/dist-types/ts3.4/InspectorScanClient.d.ts +123 -0
  59. package/dist-types/ts3.4/commands/ScanSbomCommand.d.ts +35 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  61. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  62. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  63. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  64. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  65. package/dist-types/ts3.4/index.d.ts +9 -0
  66. package/dist-types/ts3.4/models/InspectorScanServiceException.d.ts +8 -0
  67. package/dist-types/ts3.4/models/index.d.ts +1 -0
  68. package/dist-types/ts3.4/models/models_0.d.ts +71 -0
  69. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +17 -0
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  74. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  75. package/package.json +102 -0
@@ -0,0 +1,71 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocumentType as __DocumentType } from "@smithy/types";
3
+ import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export declare const InternalServerExceptionReason: {
12
+ readonly FAILED_TO_GENERATE_SBOM: "FAILED_TO_GENERATE_SBOM";
13
+ readonly OTHER: "OTHER";
14
+ };
15
+ export type InternalServerExceptionReason =
16
+ (typeof InternalServerExceptionReason)[keyof typeof InternalServerExceptionReason];
17
+ export declare class InternalServerException extends __BaseException {
18
+ readonly name: "InternalServerException";
19
+ readonly $fault: "server";
20
+ $retryable: {};
21
+ reason: InternalServerExceptionReason | undefined;
22
+ retryAfterSeconds?: number;
23
+ constructor(
24
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
25
+ );
26
+ }
27
+ export declare const OutputFormat: {
28
+ readonly CYCLONE_DX_1_5: "CYCLONE_DX_1_5";
29
+ readonly INSPECTOR: "INSPECTOR";
30
+ };
31
+ export type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
32
+ export interface ScanSbomRequest {
33
+ sbom: __DocumentType | undefined;
34
+ outputFormat?: OutputFormat;
35
+ }
36
+ export interface ScanSbomResponse {
37
+ sbom?: __DocumentType;
38
+ }
39
+ export declare class ThrottlingException extends __BaseException {
40
+ readonly name: "ThrottlingException";
41
+ readonly $fault: "client";
42
+ $retryable: {
43
+ throttling: boolean;
44
+ };
45
+ retryAfterSeconds?: number;
46
+ constructor(
47
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
48
+ );
49
+ }
50
+ export interface ValidationExceptionField {
51
+ name: string | undefined;
52
+ message: string | undefined;
53
+ }
54
+ export declare const ValidationExceptionReason: {
55
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
56
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
57
+ readonly OTHER: "OTHER";
58
+ readonly UNKNOWN_OPERATION: "UNKNOWN_OPERATION";
59
+ readonly UNSUPPORTED_SBOM_TYPE: "UNSUPPORTED_SBOM_TYPE";
60
+ };
61
+ export type ValidationExceptionReason =
62
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
63
+ export declare class ValidationException extends __BaseException {
64
+ readonly name: "ValidationException";
65
+ readonly $fault: "client";
66
+ reason: ValidationExceptionReason | undefined;
67
+ fields?: ValidationExceptionField[];
68
+ constructor(
69
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
70
+ );
71
+ }
@@ -0,0 +1,17 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ ScanSbomCommandInput,
8
+ ScanSbomCommandOutput,
9
+ } from "../commands/ScanSbomCommand";
10
+ export declare const se_ScanSbomCommand: (
11
+ input: ScanSbomCommandInput,
12
+ context: __SerdeContext
13
+ ) => Promise<__HttpRequest>;
14
+ export declare const de_ScanSbomCommand: (
15
+ output: __HttpResponse,
16
+ context: __SerdeContext
17
+ ) => Promise<ScanSbomCommandOutput>;
@@ -0,0 +1,97 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { InspectorScanClientConfig } from "./InspectorScanClient";
3
+ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
17
+ requestHandler:
18
+ | (import("@smithy/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@smithy/types").HttpHandlerOptions
22
+ > &
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
31
+ | RequestHandler;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ sha256: import("@smithy/types").HashConstructor;
34
+ streamCollector: import("@smithy/types").StreamCollector;
35
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ apiVersion: string;
38
+ urlParser: import("@smithy/types").UrlParser;
39
+ base64Decoder: import("@smithy/types").Decoder;
40
+ base64Encoder: import("@smithy/types").Encoder;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: import("@smithy/types").Encoder;
43
+ disableHostPrefix: boolean;
44
+ serviceId: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ retryStrategy?:
72
+ | import("@smithy/types").RetryStrategy
73
+ | import("@smithy/types").RetryStrategyV2
74
+ | undefined;
75
+ credentials?:
76
+ | import("@smithy/types").AwsCredentialIdentity
77
+ | import("@smithy/types").Provider<
78
+ import("@smithy/types").AwsCredentialIdentity
79
+ >
80
+ | undefined;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme | undefined
85
+ ) => Promise<import("@smithy/types").RequestSigner>)
86
+ | undefined;
87
+ signingEscapePath?: boolean | undefined;
88
+ systemClockOffset?: number | undefined;
89
+ signingRegion?: string | undefined;
90
+ signerConstructor?:
91
+ | (new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner)
95
+ | undefined;
96
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
97
+ };
@@ -0,0 +1,97 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { InspectorScanClientConfig } from "./InspectorScanClient";
3
+ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider: (
10
+ input: any
11
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
+ >;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<string>;
17
+ requestHandler:
18
+ | (import("@smithy/types").RequestHandler<
19
+ any,
20
+ any,
21
+ import("@smithy/types").HttpHandlerOptions
22
+ > &
23
+ import("@smithy/types").RequestHandler<
24
+ import("@smithy/protocol-http").HttpRequest,
25
+ import("@smithy/protocol-http").HttpResponse,
26
+ import("@smithy/types").HttpHandlerOptions
27
+ > & {
28
+ updateHttpClientConfig(key: never, value: never): void;
29
+ httpHandlerConfigs(): {};
30
+ })
31
+ | RequestHandler;
32
+ retryMode: string | import("@smithy/types").Provider<string>;
33
+ sha256: import("@smithy/types").HashConstructor;
34
+ streamCollector: import("@smithy/types").StreamCollector;
35
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
36
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
+ apiVersion: string;
38
+ urlParser: import("@smithy/types").UrlParser;
39
+ base64Decoder: import("@smithy/types").Decoder;
40
+ base64Encoder: import("@smithy/types").Encoder;
41
+ utf8Decoder: import("@smithy/types").Decoder;
42
+ utf8Encoder: import("@smithy/types").Encoder;
43
+ disableHostPrefix: boolean;
44
+ serviceId: string;
45
+ logger: import("@smithy/types").Logger;
46
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
47
+ endpoint?:
48
+ | ((
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ ) &
55
+ (
56
+ | string
57
+ | import("@smithy/types").Provider<string>
58
+ | import("@smithy/types").Endpoint
59
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
60
+ | import("@smithy/types").EndpointV2
61
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
62
+ ))
63
+ | undefined;
64
+ endpointProvider: (
65
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
66
+ context?: {
67
+ logger?: import("@smithy/types").Logger | undefined;
68
+ }
69
+ ) => import("@smithy/types").EndpointV2;
70
+ tls?: boolean | undefined;
71
+ retryStrategy?:
72
+ | import("@smithy/types").RetryStrategy
73
+ | import("@smithy/types").RetryStrategyV2
74
+ | undefined;
75
+ credentials?:
76
+ | import("@smithy/types").AwsCredentialIdentity
77
+ | import("@smithy/types").Provider<
78
+ import("@smithy/types").AwsCredentialIdentity
79
+ >
80
+ | undefined;
81
+ signer?:
82
+ | import("@smithy/types").RequestSigner
83
+ | ((
84
+ authScheme?: import("@smithy/types").AuthScheme | undefined
85
+ ) => Promise<import("@smithy/types").RequestSigner>)
86
+ | undefined;
87
+ signingEscapePath?: boolean | undefined;
88
+ systemClockOffset?: number | undefined;
89
+ signingRegion?: string | undefined;
90
+ signerConstructor?:
91
+ | (new (
92
+ options: import("@smithy/signature-v4").SignatureV4Init &
93
+ import("@smithy/signature-v4").SignatureV4CryptoInit
94
+ ) => import("@smithy/types").RequestSigner)
95
+ | undefined;
96
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
97
+ };
@@ -0,0 +1,88 @@
1
+ import { InspectorScanClientConfig } from "./InspectorScanClient";
2
+ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | (import("@smithy/types").RequestHandler<
7
+ any,
8
+ any,
9
+ import("@smithy/types").HttpHandlerOptions
10
+ > &
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
19
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
+ streamCollector: import("@smithy/types").StreamCollector;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: import("@smithy/types").Encoder;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: import("@smithy/types").Encoder;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ region: string | import("@smithy/types").Provider<any>;
33
+ credentialDefaultProvider: (
34
+ input: any
35
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
36
+ defaultUserAgentProvider: import("@smithy/types").Provider<
37
+ import("@smithy/types").UserAgent
38
+ >;
39
+ maxAttempts: number | import("@smithy/types").Provider<number>;
40
+ retryMode: string | import("@smithy/types").Provider<string>;
41
+ logger: import("@smithy/types").Logger;
42
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ defaultsMode:
44
+ | import("@smithy/smithy-client").DefaultsMode
45
+ | import("@smithy/types").Provider<
46
+ import("@smithy/smithy-client").DefaultsMode
47
+ >;
48
+ endpoint?:
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ | undefined;
55
+ endpointProvider: (
56
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
57
+ context?: {
58
+ logger?: import("@smithy/types").Logger | undefined;
59
+ }
60
+ ) => import("@smithy/types").EndpointV2;
61
+ tls?: boolean | undefined;
62
+ retryStrategy?:
63
+ | import("@smithy/types").RetryStrategy
64
+ | import("@smithy/types").RetryStrategyV2
65
+ | undefined;
66
+ credentials?:
67
+ | import("@smithy/types").AwsCredentialIdentity
68
+ | import("@smithy/types").Provider<
69
+ import("@smithy/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@smithy/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@smithy/types").AuthScheme | undefined
76
+ ) => Promise<import("@smithy/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@smithy/signature-v4").SignatureV4Init &
84
+ import("@smithy/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@smithy/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
88
+ };
@@ -0,0 +1,19 @@
1
+ import { InspectorScanClientConfig } from "./InspectorScanClient";
2
+ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@smithy/types").Logger | undefined;
11
+ }
12
+ ) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ logger: import("@smithy/types").Logger;
15
+ serviceId: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ utf8Decoder: import("@smithy/types").Decoder;
18
+ utf8Encoder: import("@smithy/types").Encoder;
19
+ };
@@ -0,0 +1,11 @@
1
+ import { InspectorScanExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: InspectorScanExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
package/package.json ADDED
@@ -0,0 +1,102 @@
1
+ {
2
+ "name": "@aws-sdk/client-inspector-scan",
3
+ "description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
4
+ "version": "3.456.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
+ "build:es": "tsc -p tsconfig.es.json",
10
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
11
+ "build:types": "tsc -p tsconfig.types.json",
12
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
15
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo inspector-scan"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
20
+ "sideEffects": false,
21
+ "dependencies": {
22
+ "@aws-crypto/sha256-browser": "3.0.0",
23
+ "@aws-crypto/sha256-js": "3.0.0",
24
+ "@aws-sdk/client-sts": "3.454.0",
25
+ "@aws-sdk/core": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.451.0",
27
+ "@aws-sdk/middleware-host-header": "3.451.0",
28
+ "@aws-sdk/middleware-logger": "3.451.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
+ "@aws-sdk/middleware-signing": "3.451.0",
31
+ "@aws-sdk/middleware-user-agent": "3.451.0",
32
+ "@aws-sdk/region-config-resolver": "3.451.0",
33
+ "@aws-sdk/types": "3.451.0",
34
+ "@aws-sdk/util-endpoints": "3.451.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.451.0",
36
+ "@aws-sdk/util-user-agent-node": "3.451.0",
37
+ "@smithy/config-resolver": "^2.0.18",
38
+ "@smithy/fetch-http-handler": "^2.2.6",
39
+ "@smithy/hash-node": "^2.0.15",
40
+ "@smithy/invalid-dependency": "^2.0.13",
41
+ "@smithy/middleware-content-length": "^2.0.15",
42
+ "@smithy/middleware-endpoint": "^2.2.0",
43
+ "@smithy/middleware-retry": "^2.0.20",
44
+ "@smithy/middleware-serde": "^2.0.13",
45
+ "@smithy/middleware-stack": "^2.0.7",
46
+ "@smithy/node-config-provider": "^2.1.5",
47
+ "@smithy/node-http-handler": "^2.1.9",
48
+ "@smithy/protocol-http": "^3.0.9",
49
+ "@smithy/smithy-client": "^2.1.15",
50
+ "@smithy/types": "^2.5.0",
51
+ "@smithy/url-parser": "^2.0.13",
52
+ "@smithy/util-base64": "^2.0.1",
53
+ "@smithy/util-body-length-browser": "^2.0.0",
54
+ "@smithy/util-body-length-node": "^2.1.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.25",
57
+ "@smithy/util-endpoints": "^1.0.4",
58
+ "@smithy/util-retry": "^2.0.6",
59
+ "@smithy/util-utf8": "^2.0.2",
60
+ "tslib": "^2.5.0"
61
+ },
62
+ "devDependencies": {
63
+ "@smithy/service-client-documentation-generator": "^2.0.0",
64
+ "@tsconfig/node14": "1.0.3",
65
+ "@types/node": "^14.14.31",
66
+ "concurrently": "7.0.0",
67
+ "downlevel-dts": "0.10.1",
68
+ "rimraf": "3.0.2",
69
+ "typedoc": "0.23.23",
70
+ "typescript": "~4.9.5"
71
+ },
72
+ "engines": {
73
+ "node": ">=14.0.0"
74
+ },
75
+ "typesVersions": {
76
+ "<4.0": {
77
+ "dist-types/*": [
78
+ "dist-types/ts3.4/*"
79
+ ]
80
+ }
81
+ },
82
+ "files": [
83
+ "dist-*/**"
84
+ ],
85
+ "author": {
86
+ "name": "AWS SDK for JavaScript Team",
87
+ "url": "https://aws.amazon.com/javascript/"
88
+ },
89
+ "license": "Apache-2.0",
90
+ "browser": {
91
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
92
+ },
93
+ "react-native": {
94
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
95
+ },
96
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector-scan",
97
+ "repository": {
98
+ "type": "git",
99
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
100
+ "directory": "clients/client-inspector-scan"
101
+ }
102
+ }