@aws-sdk/client-codeguru-security 3.533.0 → 3.540.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/endpoint/endpointResolver.js +4 -2
- package/dist-cjs/index.js +0 -3
- package/dist-es/endpoint/endpointResolver.js +3 -1
- package/dist-es/index.js +0 -1
- package/dist-types/CodeGuruSecurity.d.ts +3 -1
- package/dist-types/CodeGuruSecurityClient.d.ts +1 -1
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +2 -1
- package/dist-types/commands/CreateScanCommand.d.ts +2 -1
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +2 -1
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/commands/GetMetricsSummaryCommand.d.ts +2 -1
- package/dist-types/commands/GetScanCommand.d.ts +2 -1
- package/dist-types/commands/ListFindingsMetricsCommand.d.ts +2 -1
- package/dist-types/commands/ListScansCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +2 -1
- package/dist-types/index.d.ts +0 -1
- package/dist-types/models/models_0.d.ts +167 -167
- package/dist-types/ts3.4/CodeGuruSecurity.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateScanCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetMetricsSummaryCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetScanCommand.d.ts +7 -0
- package/dist-types/ts3.4/commands/ListFindingsMetricsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListScansCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateAccountConfigurationCommand.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +0 -1
- package/package.json +40 -40
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1257,9 +1257,6 @@ var paginateListFindingsMetrics = (0, import_core.createPaginator)(CodeGuruSecur
|
|
|
1257
1257
|
// src/pagination/ListScansPaginator.ts
|
|
1258
1258
|
|
|
1259
1259
|
var paginateListScans = (0, import_core.createPaginator)(CodeGuruSecurityClient, ListScansCommand, "nextToken", "nextToken", "maxResults");
|
|
1260
|
-
|
|
1261
|
-
// src/index.ts
|
|
1262
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1263
1260
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1264
1261
|
|
|
1265
1262
|
0 && (module.exports = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
|
@@ -35,6 +35,7 @@ export interface CodeGuruSecurity {
|
|
|
35
35
|
/**
|
|
36
36
|
* @see {@link GetAccountConfigurationCommand}
|
|
37
37
|
*/
|
|
38
|
+
getAccountConfiguration(): Promise<GetAccountConfigurationCommandOutput>;
|
|
38
39
|
getAccountConfiguration(args: GetAccountConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountConfigurationCommandOutput>;
|
|
39
40
|
getAccountConfiguration(args: GetAccountConfigurationCommandInput, cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void): void;
|
|
40
41
|
getAccountConfiguration(args: GetAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void): void;
|
|
@@ -65,6 +66,7 @@ export interface CodeGuruSecurity {
|
|
|
65
66
|
/**
|
|
66
67
|
* @see {@link ListScansCommand}
|
|
67
68
|
*/
|
|
69
|
+
listScans(): Promise<ListScansCommandOutput>;
|
|
68
70
|
listScans(args: ListScansCommandInput, options?: __HttpHandlerOptions): Promise<ListScansCommandOutput>;
|
|
69
71
|
listScans(args: ListScansCommandInput, cb: (err: any, data?: ListScansCommandOutput) => void): void;
|
|
70
72
|
listScans(args: ListScansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScansCommandOutput) => void): void;
|
|
@@ -94,7 +96,6 @@ export interface CodeGuruSecurity {
|
|
|
94
96
|
updateAccountConfiguration(args: UpdateAccountConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void): void;
|
|
95
97
|
}
|
|
96
98
|
/**
|
|
97
|
-
* @public
|
|
98
99
|
* <note>
|
|
99
100
|
* <p>Amazon CodeGuru Security is in preview release and is subject to
|
|
100
101
|
* change.</p>
|
|
@@ -107,6 +108,7 @@ export interface CodeGuruSecurity {
|
|
|
107
108
|
* CodeGuru Security improves the overall security of your application code. For more information
|
|
108
109
|
* about CodeGuru Security, see the
|
|
109
110
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/security-ug/what-is-codeguru-security.html">Amazon CodeGuru Security User Guide</a>. </p>
|
|
111
|
+
* @public
|
|
110
112
|
*/
|
|
111
113
|
export declare class CodeGuruSecurity extends CodeGuruSecurityClient implements CodeGuruSecurity {
|
|
112
114
|
}
|
|
@@ -164,7 +164,6 @@ export type CodeGuruSecurityClientResolvedConfigType = __SmithyResolvedConfigura
|
|
|
164
164
|
export interface CodeGuruSecurityClientResolvedConfig extends CodeGuruSecurityClientResolvedConfigType {
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* @public
|
|
168
167
|
* <note>
|
|
169
168
|
* <p>Amazon CodeGuru Security is in preview release and is subject to
|
|
170
169
|
* change.</p>
|
|
@@ -177,6 +176,7 @@ export interface CodeGuruSecurityClientResolvedConfig extends CodeGuruSecurityCl
|
|
|
177
176
|
* CodeGuru Security improves the overall security of your application code. For more information
|
|
178
177
|
* about CodeGuru Security, see the
|
|
179
178
|
* <a href="https://docs.aws.amazon.com/codeguru/latest/security-ug/what-is-codeguru-security.html">Amazon CodeGuru Security User Guide</a>. </p>
|
|
179
|
+
* @public
|
|
180
180
|
*/
|
|
181
181
|
export declare class CodeGuruSecurityClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeGuruSecurityClientResolvedConfig> {
|
|
182
182
|
/**
|
|
@@ -22,10 +22,10 @@ export interface BatchGetFindingsCommandOutput extends BatchGetFindingsResponse,
|
|
|
22
22
|
}
|
|
23
23
|
declare const BatchGetFindingsCommand_base: {
|
|
24
24
|
new (input: BatchGetFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: BatchGetFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetFindingsCommandInput, BatchGetFindingsCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a list of all requested findings.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -134,6 +134,7 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
134
134
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
135
135
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
136
136
|
*
|
|
137
|
+
* @public
|
|
137
138
|
*/
|
|
138
139
|
export declare class BatchGetFindingsCommand extends BatchGetFindingsCommand_base {
|
|
139
140
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateScanCommandOutput extends CreateScanResponse, __MetadataB
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateScanCommand_base: {
|
|
24
24
|
new (input: CreateScanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScanCommandInput, CreateScanCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateScanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScanCommandInput, CreateScanCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use to create a scan using code uploaded to an S3 bucket.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -88,6 +88,7 @@ declare const CreateScanCommand_base: {
|
|
|
88
88
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
90
90
|
*
|
|
91
|
+
* @public
|
|
91
92
|
*/
|
|
92
93
|
export declare class CreateScanCommand extends CreateScanCommand_base {
|
|
93
94
|
}
|
|
@@ -22,10 +22,10 @@ export interface CreateUploadUrlCommandOutput extends CreateUploadUrlResponse, _
|
|
|
22
22
|
}
|
|
23
23
|
declare const CreateUploadUrlCommand_base: {
|
|
24
24
|
new (input: CreateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateUploadUrlCommandInput, CreateUploadUrlCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: CreateUploadUrlCommandInput): import("@smithy/smithy-client").CommandImpl<CreateUploadUrlCommandInput, CreateUploadUrlCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Generates a pre-signed URL and request headers used to upload a code resource.</p>
|
|
30
30
|
* <p>You can upload your code resource to the URL and add the request headers using any HTTP
|
|
31
31
|
* client.</p>
|
|
@@ -71,6 +71,7 @@ declare const CreateUploadUrlCommand_base: {
|
|
|
71
71
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
73
73
|
*
|
|
74
|
+
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class CreateUploadUrlCommand extends CreateUploadUrlCommand_base {
|
|
76
77
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetAccountConfigurationCommandOutput extends GetAccountConfigur
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetAccountConfigurationCommand_base: {
|
|
24
24
|
new (input: GetAccountConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetAccountConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetAccountConfigurationCommandInput, GetAccountConfigurationCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use to get account level configuration.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -65,6 +65,7 @@ declare const GetAccountConfigurationCommand_base: {
|
|
|
65
65
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
67
67
|
*
|
|
68
|
+
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class GetAccountConfigurationCommand extends GetAccountConfigurationCommand_base {
|
|
70
71
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetFindingsCommand_base: {
|
|
24
24
|
new (input: GetFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetFindingsCommandInput, GetFindingsCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetFindingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetFindingsCommandInput, GetFindingsCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a list of all findings generated by a particular scan.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -133,6 +133,7 @@ declare const GetFindingsCommand_base: {
|
|
|
133
133
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
134
134
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
135
135
|
*
|
|
136
|
+
* @public
|
|
136
137
|
*/
|
|
137
138
|
export declare class GetFindingsCommand extends GetFindingsCommand_base {
|
|
138
139
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetMetricsSummaryCommandOutput extends GetMetricsSummaryRespons
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetMetricsSummaryCommand_base: {
|
|
24
24
|
new (input: GetMetricsSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetMetricsSummaryCommandInput, GetMetricsSummaryCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetMetricsSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetMetricsSummaryCommandInput, GetMetricsSummaryCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns top level metrics about an account from a specified date, including number of open
|
|
30
30
|
* findings, the categories with most findings, the scans with most open findings, and scans with
|
|
31
31
|
* most open critical findings. </p>
|
|
@@ -94,6 +94,7 @@ declare const GetMetricsSummaryCommand_base: {
|
|
|
94
94
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
96
96
|
*
|
|
97
|
+
* @public
|
|
97
98
|
*/
|
|
98
99
|
export declare class GetMetricsSummaryCommand extends GetMetricsSummaryCommand_base {
|
|
99
100
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetScanCommandOutput extends GetScanResponse, __MetadataBearer
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetScanCommand_base: {
|
|
24
24
|
new (input: GetScanCommandInput): import("@smithy/smithy-client").CommandImpl<GetScanCommandInput, GetScanCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetScanCommandInput): import("@smithy/smithy-client").CommandImpl<GetScanCommandInput, GetScanCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns details about a scan, including whether or not a scan has completed.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -73,6 +73,7 @@ declare const GetScanCommand_base: {
|
|
|
73
73
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
75
75
|
*
|
|
76
|
+
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class GetScanCommand extends GetScanCommand_base {
|
|
78
79
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListFindingsMetricsCommandOutput extends ListFindingsMetricsRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListFindingsMetricsCommand_base: {
|
|
24
24
|
new (input: ListFindingsMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFindingsMetricsCommandInput, ListFindingsMetricsCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListFindingsMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<ListFindingsMetricsCommandInput, ListFindingsMetricsCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns metrics about all findings in an account within a specified time range.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -101,6 +101,7 @@ declare const ListFindingsMetricsCommand_base: {
|
|
|
101
101
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
102
102
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
103
103
|
*
|
|
104
|
+
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class ListFindingsMetricsCommand extends ListFindingsMetricsCommand_base {
|
|
106
107
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListScansCommandOutput extends ListScansResponse, __MetadataBea
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListScansCommand_base: {
|
|
24
24
|
new (input: ListScansCommandInput): import("@smithy/smithy-client").CommandImpl<ListScansCommandInput, ListScansCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListScansCommandInput]): import("@smithy/smithy-client").CommandImpl<ListScansCommandInput, ListScansCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a list of all the standard scans in an account. Does not return express
|
|
30
30
|
* scans.</p>
|
|
31
31
|
* @example
|
|
@@ -77,6 +77,7 @@ declare const ListScansCommand_base: {
|
|
|
77
77
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
79
79
|
*
|
|
80
|
+
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListScansCommand extends ListScansCommand_base {
|
|
82
83
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListTagsForResourceCommand_base: {
|
|
24
24
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a list of all tags associated with a scan.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -75,6 +75,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
75
75
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
77
77
|
*
|
|
78
|
+
* @public
|
|
78
79
|
*/
|
|
79
80
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
80
81
|
}
|
|
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const TagResourceCommand_base: {
|
|
24
24
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use to add one or more tags to an existing scan.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -74,6 +74,7 @@ declare const TagResourceCommand_base: {
|
|
|
74
74
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
76
76
|
*
|
|
77
|
+
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
79
80
|
}
|
|
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
22
22
|
}
|
|
23
23
|
declare const UntagResourceCommand_base: {
|
|
24
24
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use to remove one or more tags from an existing scan.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -74,6 +74,7 @@ declare const UntagResourceCommand_base: {
|
|
|
74
74
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
76
76
|
*
|
|
77
|
+
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
79
80
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateAccountConfigurationCommandOutput extends UpdateAccountCo
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateAccountConfigurationCommand_base: {
|
|
24
24
|
new (input: UpdateAccountConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateAccountConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput, CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Use to update account-level configuration with an encryption key.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -72,6 +72,7 @@ declare const UpdateAccountConfigurationCommand_base: {
|
|
|
72
72
|
* @throws {@link CodeGuruSecurityServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
74
74
|
*
|
|
75
|
+
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class UpdateAccountConfigurationCommand extends UpdateAccountConfigurationCommand_base {
|
|
77
78
|
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -22,5 +22,4 @@ export { CodeGuruSecurityExtensionConfiguration } from "./extensionConfiguration
|
|
|
22
22
|
export * from "./commands";
|
|
23
23
|
export * from "./pagination";
|
|
24
24
|
export * from "./models";
|
|
25
|
-
import "@aws-sdk/util-endpoints";
|
|
26
25
|
export { CodeGuruSecurityServiceException } from "./models/CodeGuruSecurityServiceException";
|