@aws-sdk/client-inspector-scan 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/InspectorScan.d.ts +5 -13
- package/dist-types/ts3.4/InspectorScanClient.d.ts +7 -20
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -10
- package/dist-types/ts3.4/commands/ScanSbomCommand.d.ts +7 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +5 -16
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ScanSbomCommandInput,
|
|
4
|
-
ScanSbomCommandOutput,
|
|
5
|
-
} from "./commands/ScanSbomCommand";
|
|
2
|
+
import { ScanSbomCommandInput, ScanSbomCommandOutput } from "./commands/ScanSbomCommand";
|
|
6
3
|
import { InspectorScanClient } from "./InspectorScanClient";
|
|
7
4
|
export interface InspectorScan {
|
|
8
5
|
scanSbom(
|
|
9
6
|
args: ScanSbomCommandInput,
|
|
10
|
-
options?: __HttpHandlerOptions
|
|
7
|
+
options?: __HttpHandlerOptions,
|
|
11
8
|
): Promise<ScanSbomCommandOutput>;
|
|
12
|
-
scanSbom(
|
|
13
|
-
args: ScanSbomCommandInput,
|
|
14
|
-
cb: (err: any, data?: ScanSbomCommandOutput) => void
|
|
15
|
-
): void;
|
|
9
|
+
scanSbom(args: ScanSbomCommandInput, cb: (err: any, data?: ScanSbomCommandOutput) => void): void;
|
|
16
10
|
scanSbom(
|
|
17
11
|
args: ScanSbomCommandInput,
|
|
18
12
|
options: __HttpHandlerOptions,
|
|
19
|
-
cb: (err: any, data?: ScanSbomCommandOutput) => void
|
|
13
|
+
cb: (err: any, data?: ScanSbomCommandOutput) => void,
|
|
20
14
|
): void;
|
|
21
15
|
}
|
|
22
|
-
export declare class InspectorScan
|
|
23
|
-
extends InspectorScanClient
|
|
24
|
-
implements InspectorScan {}
|
|
16
|
+
export declare class InspectorScan extends InspectorScanClient implements InspectorScan {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -36,10 +33,7 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
ScanSbomCommandInput,
|
|
41
|
-
ScanSbomCommandOutput,
|
|
42
|
-
} from "./commands/ScanSbomCommand";
|
|
36
|
+
import { ScanSbomCommandInput, ScanSbomCommandOutput } from "./commands/ScanSbomCommand";
|
|
43
37
|
import {
|
|
44
38
|
ClientInputEndpointParameters,
|
|
45
39
|
ClientResolvedEndpointParameters,
|
|
@@ -49,8 +43,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
49
43
|
export { __Client };
|
|
50
44
|
export type ServiceInputTypes = ScanSbomCommandInput;
|
|
51
45
|
export type ServiceOutputTypes = ScanSbomCommandOutput;
|
|
52
|
-
export interface ClientDefaults
|
|
53
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
46
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
54
47
|
requestHandler?: __HttpHandlerUserInput;
|
|
55
48
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
56
49
|
urlParser?: __UrlParser;
|
|
@@ -75,9 +68,7 @@ export interface ClientDefaults
|
|
|
75
68
|
extensions?: RuntimeExtension[];
|
|
76
69
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
77
70
|
}
|
|
78
|
-
export type InspectorScanClientConfigType = Partial<
|
|
79
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
80
|
-
> &
|
|
71
|
+
export type InspectorScanClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
81
72
|
ClientDefaults &
|
|
82
73
|
UserAgentInputConfig &
|
|
83
74
|
RetryInputConfig &
|
|
@@ -86,8 +77,7 @@ export type InspectorScanClientConfigType = Partial<
|
|
|
86
77
|
EndpointInputConfig<EndpointParameters> &
|
|
87
78
|
HttpAuthSchemeInputConfig &
|
|
88
79
|
ClientInputEndpointParameters;
|
|
89
|
-
export interface InspectorScanClientConfig
|
|
90
|
-
extends InspectorScanClientConfigType {}
|
|
80
|
+
export interface InspectorScanClientConfig extends InspectorScanClientConfigType {}
|
|
91
81
|
export type InspectorScanClientResolvedConfigType =
|
|
92
82
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
93
83
|
Required<ClientDefaults> &
|
|
@@ -99,8 +89,7 @@ export type InspectorScanClientResolvedConfigType =
|
|
|
99
89
|
EndpointResolvedConfig<EndpointParameters> &
|
|
100
90
|
HttpAuthSchemeResolvedConfig &
|
|
101
91
|
ClientResolvedEndpointParameters;
|
|
102
|
-
export interface InspectorScanClientResolvedConfig
|
|
103
|
-
extends InspectorScanClientResolvedConfigType {}
|
|
92
|
+
export interface InspectorScanClientResolvedConfig extends InspectorScanClientResolvedConfigType {}
|
|
104
93
|
export declare class InspectorScanClient extends __Client<
|
|
105
94
|
__HttpHandlerOptions,
|
|
106
95
|
ServiceInputTypes,
|
|
@@ -108,8 +97,6 @@ export declare class InspectorScanClient extends __Client<
|
|
|
108
97
|
InspectorScanClientResolvedConfig
|
|
109
98
|
> {
|
|
110
99
|
readonly config: InspectorScanClientResolvedConfig;
|
|
111
|
-
constructor(
|
|
112
|
-
...[configuration]: __CheckOptionalClientConfig<InspectorScanClientConfig>
|
|
113
|
-
);
|
|
100
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<InspectorScanClientConfig>);
|
|
114
101
|
destroy(): void;
|
|
115
102
|
}
|
|
@@ -7,17 +7,10 @@ import { InspectorScanHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: InspectorScanHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: InspectorScanHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): InspectorScanHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { InspectorScanClientResolvedConfig } from "../InspectorScanClient";
|
|
15
|
-
export interface InspectorScanHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface InspectorScanHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface InspectorScanHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface InspectorScanHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
InspectorScanClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
InspectorScanHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultInspectorScanHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: InspectorScanClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<InspectorScanHttpAuthSchemeParameters>;
|
|
31
|
-
export interface InspectorScanHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<InspectorScanHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface InspectorScanHttpAuthSchemeProvider extends HttpAuthSchemeProvider<InspectorScanHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultInspectorScanHttpAuthSchemeProvider: InspectorScanHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: InspectorScanHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: InspectorScanHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -2,20 +2,22 @@ import { EndpointParameterInstructions } from "@smithy/types";
|
|
|
2
2
|
import { InspectorScanClientResolvedConfig } from "./InspectorScanClient";
|
|
3
3
|
export declare const command: <
|
|
4
4
|
I extends import("./commands").ScanSbomCommandInput,
|
|
5
|
-
O extends import("./commands").ScanSbomCommandOutput
|
|
5
|
+
O extends import("./commands").ScanSbomCommandOutput,
|
|
6
6
|
>(
|
|
7
7
|
added: EndpointParameterInstructions,
|
|
8
8
|
plugins: (
|
|
9
9
|
CommandCtor: any,
|
|
10
10
|
clientStack: any,
|
|
11
11
|
config: any,
|
|
12
|
-
options: any
|
|
12
|
+
options: any,
|
|
13
13
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
14
14
|
op: string,
|
|
15
15
|
$: import("@smithy/types").StaticOperationSchema,
|
|
16
|
-
smithyContext?: Record<string, unknown
|
|
16
|
+
smithyContext?: Record<string, unknown>,
|
|
17
17
|
) => {
|
|
18
|
-
new (
|
|
18
|
+
new (
|
|
19
|
+
input: I,
|
|
20
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
21
|
I,
|
|
20
22
|
O,
|
|
21
23
|
InspectorScanClientResolvedConfig,
|
|
@@ -34,9 +36,4 @@ export declare const command: <
|
|
|
34
36
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
};
|
|
36
38
|
export declare const _ep0: EndpointParameterInstructions;
|
|
37
|
-
export declare const _mw0: (
|
|
38
|
-
Command: any,
|
|
39
|
-
cs: any,
|
|
40
|
-
config: any,
|
|
41
|
-
o: any
|
|
42
|
-
) => never[];
|
|
39
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -2,18 +2,20 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { ScanSbomRequest, ScanSbomResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface ScanSbomCommandInput extends ScanSbomRequest {}
|
|
5
|
-
export interface ScanSbomCommandOutput
|
|
6
|
-
extends ScanSbomResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ScanSbomCommandOutput extends ScanSbomResponse, __MetadataBearer {}
|
|
8
6
|
declare const ScanSbomCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: ScanSbomCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
ScanSbomCommandInput,
|
|
11
11
|
ScanSbomCommandOutput,
|
|
12
12
|
import("..").InspectorScanClientResolvedConfig,
|
|
13
13
|
ScanSbomCommandInput,
|
|
14
14
|
ScanSbomCommandOutput
|
|
15
15
|
>;
|
|
16
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: ScanSbomCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
17
19
|
ScanSbomCommandInput,
|
|
18
20
|
ScanSbomCommandOutput,
|
|
19
21
|
import("..").InspectorScanClientResolvedConfig,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface InspectorScanExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
-
import {
|
|
3
|
-
InternalServerExceptionReason,
|
|
4
|
-
ValidationExceptionReason,
|
|
5
|
-
} from "./enums";
|
|
2
|
+
import { InternalServerExceptionReason, ValidationExceptionReason } from "./enums";
|
|
6
3
|
import { InspectorScanServiceException as __BaseException } from "./InspectorScanServiceException";
|
|
7
4
|
import { ValidationExceptionField } from "./models_0";
|
|
8
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
9
6
|
readonly name: "AccessDeniedException";
|
|
10
7
|
readonly $fault: "client";
|
|
11
|
-
constructor(
|
|
12
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
|
-
);
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
9
|
}
|
|
15
10
|
export declare class InternalServerException extends __BaseException {
|
|
16
11
|
readonly name: "InternalServerException";
|
|
@@ -18,9 +13,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
18
13
|
$retryable: {};
|
|
19
14
|
reason: InternalServerExceptionReason | undefined;
|
|
20
15
|
retryAfterSeconds?: number | undefined;
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
23
|
-
);
|
|
16
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
24
17
|
}
|
|
25
18
|
export declare class ThrottlingException extends __BaseException {
|
|
26
19
|
readonly name: "ThrottlingException";
|
|
@@ -29,16 +22,12 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
29
22
|
throttling: boolean;
|
|
30
23
|
};
|
|
31
24
|
retryAfterSeconds?: number | undefined;
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
34
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
35
26
|
}
|
|
36
27
|
export declare class ValidationException extends __BaseException {
|
|
37
28
|
readonly name: "ValidationException";
|
|
38
29
|
readonly $fault: "client";
|
|
39
30
|
reason: ValidationExceptionReason | undefined;
|
|
40
31
|
fields?: ValidationExceptionField[] | undefined;
|
|
41
|
-
constructor(
|
|
42
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
43
|
-
);
|
|
32
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
44
33
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: InspectorScanClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InspectorScanHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var InspectorScanServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var InternalServerException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector-scan",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Inspector Scan Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector-scan",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-inspector-scan"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector-scan",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-inspector-scan"
|
|
68
68
|
}
|
|
69
69
|
}
|