@aws-sdk/client-codeguru-security 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/CodeGuruSecurity.d.ts +48 -71
- package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +10 -35
- 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 -13
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateScanCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetMetricsSummaryCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetScanCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListFindingsMetricsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListScansCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateAccountConfigurationCommand.d.ts +4 -6
- 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 -15
- package/dist-types/ts3.4/models/models_0.d.ts +2 -11
- package/dist-types/ts3.4/pagination/GetFindingsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListScansPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/package.json +38 -38
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetMetricsSummaryRequest,
|
|
4
|
-
GetMetricsSummaryResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetMetricsSummaryRequest, GetMetricsSummaryResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetMetricsSummaryCommandInput
|
|
8
|
-
extends GetMetricsSummaryRequest {}
|
|
4
|
+
export interface GetMetricsSummaryCommandInput extends GetMetricsSummaryRequest {}
|
|
9
5
|
export interface GetMetricsSummaryCommandOutput
|
|
10
|
-
extends GetMetricsSummaryResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetMetricsSummaryResponse, __MetadataBearer {}
|
|
12
7
|
declare const GetMetricsSummaryCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetMetricsSummaryCommandInput
|
|
9
|
+
input: GetMetricsSummaryCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetMetricsSummaryCommandInput,
|
|
17
12
|
GetMetricsSummaryCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const GetMetricsSummaryCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: GetMetricsSummaryCommandInput
|
|
18
|
+
input: GetMetricsSummaryCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
GetMetricsSummaryCommandInput,
|
|
26
21
|
GetMetricsSummaryCommandOutput,
|
|
@@ -2,18 +2,20 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GetScanRequest, GetScanResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetScanCommandInput extends GetScanRequest {}
|
|
5
|
-
export interface GetScanCommandOutput
|
|
6
|
-
extends GetScanResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetScanCommandOutput extends GetScanResponse, __MetadataBearer {}
|
|
8
6
|
declare const GetScanCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: GetScanCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
GetScanCommandInput,
|
|
11
11
|
GetScanCommandOutput,
|
|
12
12
|
import("..").CodeGuruSecurityClientResolvedConfig,
|
|
13
13
|
import("..").ServiceInputTypes,
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: GetScanCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
17
19
|
GetScanCommandInput,
|
|
18
20
|
GetScanCommandOutput,
|
|
19
21
|
import("..").CodeGuruSecurityClientResolvedConfig,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListFindingsMetricsRequest,
|
|
4
|
-
ListFindingsMetricsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListFindingsMetricsRequest, ListFindingsMetricsResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListFindingsMetricsCommandInput
|
|
8
|
-
extends ListFindingsMetricsRequest {}
|
|
4
|
+
export interface ListFindingsMetricsCommandInput extends ListFindingsMetricsRequest {}
|
|
9
5
|
export interface ListFindingsMetricsCommandOutput
|
|
10
|
-
extends ListFindingsMetricsResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListFindingsMetricsResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListFindingsMetricsCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListFindingsMetricsCommandInput
|
|
9
|
+
input: ListFindingsMetricsCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListFindingsMetricsCommandInput,
|
|
17
12
|
ListFindingsMetricsCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const ListFindingsMetricsCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: ListFindingsMetricsCommandInput
|
|
18
|
+
input: ListFindingsMetricsCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
ListFindingsMetricsCommandInput,
|
|
26
21
|
ListFindingsMetricsCommandOutput,
|
|
@@ -2,11 +2,11 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { ListScansRequest, ListScansResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface ListScansCommandInput extends ListScansRequest {}
|
|
5
|
-
export interface ListScansCommandOutput
|
|
6
|
-
extends ListScansResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface ListScansCommandOutput extends ListScansResponse, __MetadataBearer {}
|
|
8
6
|
declare const ListScansCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: ListScansCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
ListScansCommandInput,
|
|
11
11
|
ListScansCommandOutput,
|
|
12
12
|
import("..").CodeGuruSecurityClientResolvedConfig,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListTagsForResourceRequest,
|
|
4
|
-
ListTagsForResourceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListTagsForResourceCommandInput
|
|
8
|
-
extends ListTagsForResourceRequest {}
|
|
4
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
9
5
|
export interface ListTagsForResourceCommandOutput
|
|
10
|
-
extends ListTagsForResourceResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListTagsForResourceCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListTagsForResourceCommandInput
|
|
9
|
+
input: ListTagsForResourceCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListTagsForResourceCommandInput,
|
|
17
12
|
ListTagsForResourceCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: ListTagsForResourceCommandInput
|
|
18
|
+
input: ListTagsForResourceCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
ListTagsForResourceCommandInput,
|
|
26
21
|
ListTagsForResourceCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
5
|
-
export interface TagResourceCommandOutput
|
|
6
|
-
extends TagResourceResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
8
6
|
declare const TagResourceCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: TagResourceCommandInput
|
|
8
|
+
input: TagResourceCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
TagResourceCommandInput,
|
|
13
11
|
TagResourceCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const TagResourceCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: TagResourceCommandInput
|
|
17
|
+
input: TagResourceCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
TagResourceCommandInput,
|
|
22
20
|
TagResourceCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UntagResourceRequest,
|
|
4
|
-
UntagResourceResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
8
|
-
export interface UntagResourceCommandOutput
|
|
9
|
-
extends UntagResourceResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
11
6
|
declare const UntagResourceCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: UntagResourceCommandInput
|
|
8
|
+
input: UntagResourceCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
UntagResourceCommandInput,
|
|
16
11
|
UntagResourceCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const UntagResourceCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: UntagResourceCommandInput
|
|
17
|
+
input: UntagResourceCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
UntagResourceCommandInput,
|
|
25
20
|
UntagResourceCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
UpdateAccountConfigurationResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateAccountConfigurationCommandInput
|
|
8
|
-
extends UpdateAccountConfigurationRequest {}
|
|
7
|
+
export interface UpdateAccountConfigurationCommandInput extends UpdateAccountConfigurationRequest {}
|
|
9
8
|
export interface UpdateAccountConfigurationCommandOutput
|
|
10
|
-
extends UpdateAccountConfigurationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends UpdateAccountConfigurationResponse, __MetadataBearer {}
|
|
12
10
|
declare const UpdateAccountConfigurationCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: UpdateAccountConfigurationCommandInput
|
|
12
|
+
input: UpdateAccountConfigurationCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
UpdateAccountConfigurationCommandInput,
|
|
17
15
|
UpdateAccountConfigurationCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const UpdateAccountConfigurationCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: UpdateAccountConfigurationCommandInput
|
|
21
|
+
input: UpdateAccountConfigurationCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
UpdateAccountConfigurationCommandInput,
|
|
26
24
|
UpdateAccountConfigurationCommandOutput,
|
|
@@ -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 CodeGuruSecurityExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -8,18 +8,14 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
8
|
errorCode: string | undefined;
|
|
9
9
|
resourceId?: string | undefined;
|
|
10
10
|
resourceType?: string | undefined;
|
|
11
|
-
constructor(
|
|
12
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
13
|
-
);
|
|
11
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
12
|
}
|
|
15
13
|
export declare class InternalServerException extends __BaseException {
|
|
16
14
|
readonly name: "InternalServerException";
|
|
17
15
|
readonly $fault: "server";
|
|
18
16
|
$retryable: {};
|
|
19
17
|
error?: string | undefined;
|
|
20
|
-
constructor(
|
|
21
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
-
);
|
|
18
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
23
19
|
}
|
|
24
20
|
export declare class ThrottlingException extends __BaseException {
|
|
25
21
|
readonly name: "ThrottlingException";
|
|
@@ -30,9 +26,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
30
26
|
errorCode: string | undefined;
|
|
31
27
|
serviceCode?: string | undefined;
|
|
32
28
|
quotaCode?: string | undefined;
|
|
33
|
-
constructor(
|
|
34
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
35
|
-
);
|
|
29
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
36
30
|
}
|
|
37
31
|
export declare class ValidationException extends __BaseException {
|
|
38
32
|
readonly name: "ValidationException";
|
|
@@ -40,9 +34,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
40
34
|
errorCode: string | undefined;
|
|
41
35
|
reason: ValidationExceptionReason | undefined;
|
|
42
36
|
fieldList?: ValidationExceptionField[] | undefined;
|
|
43
|
-
constructor(
|
|
44
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
45
|
-
);
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
46
38
|
}
|
|
47
39
|
export declare class ConflictException extends __BaseException {
|
|
48
40
|
readonly name: "ConflictException";
|
|
@@ -58,7 +50,5 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
58
50
|
errorCode: string | undefined;
|
|
59
51
|
resourceId: string | undefined;
|
|
60
52
|
resourceType: string | undefined;
|
|
61
|
-
constructor(
|
|
62
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
63
|
-
);
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
64
54
|
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AnalysisType,
|
|
3
|
-
ErrorCode,
|
|
4
|
-
ScanState,
|
|
5
|
-
ScanType,
|
|
6
|
-
Severity,
|
|
7
|
-
Status,
|
|
8
|
-
} from "./enums";
|
|
1
|
+
import { AnalysisType, ErrorCode, ScanState, ScanType, Severity, Status } from "./enums";
|
|
9
2
|
export interface FindingMetricsValuePerSeverity {
|
|
10
3
|
info?: number | undefined;
|
|
11
4
|
low?: number | undefined;
|
|
@@ -93,9 +86,7 @@ export interface ValidationExceptionField {
|
|
|
93
86
|
name: string | undefined;
|
|
94
87
|
message: string | undefined;
|
|
95
88
|
}
|
|
96
|
-
export type ResourceId =
|
|
97
|
-
| ResourceId.CodeArtifactIdMember
|
|
98
|
-
| ResourceId.$UnknownMember;
|
|
89
|
+
export type ResourceId = ResourceId.CodeArtifactIdMember | ResourceId.$UnknownMember;
|
|
99
90
|
export declare namespace ResourceId {
|
|
100
91
|
interface CodeArtifactIdMember {
|
|
101
92
|
codeArtifactId: string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetFindingsCommandInput,
|
|
4
|
-
GetFindingsCommandOutput,
|
|
5
|
-
} from "../commands/GetFindingsCommand";
|
|
2
|
+
import { GetFindingsCommandInput, GetFindingsCommandOutput } from "../commands/GetFindingsCommand";
|
|
6
3
|
import { CodeGuruSecurityPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateGetFindings: (
|
|
8
5
|
config: CodeGuruSecurityPaginationConfiguration,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { CodeGuruSecurityClient } from "../CodeGuruSecurityClient";
|
|
3
|
-
export interface CodeGuruSecurityPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface CodeGuruSecurityPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: CodeGuruSecurityClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListScansCommandInput,
|
|
4
|
-
ListScansCommandOutput,
|
|
5
|
-
} from "../commands/ListScansCommand";
|
|
2
|
+
import { ListScansCommandInput, ListScansCommandOutput } from "../commands/ListScansCommand";
|
|
6
3
|
import { CodeGuruSecurityPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListScans: (
|
|
8
5
|
config: CodeGuruSecurityPaginationConfiguration,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CodeGuruSecurityClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CodeGuruSecurityClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: CodeGuruSecurityClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { CodeGuruSecurityClientConfig } from "./CodeGuruSecurityClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CodeGuruSecurityClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CodeGuruSecurityClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeGuruSecurityHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: CodeGuruSecurityExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: CodeGuruSecurityExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|