@aws-sdk/client-codeguru-security 3.352.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/LICENSE +201 -0
- package/README.md +316 -0
- package/dist-cjs/CodeGuruSecurity.js +37 -0
- package/dist-cjs/CodeGuruSecurityClient.js +41 -0
- package/dist-cjs/commands/BatchGetFindingsCommand.js +46 -0
- package/dist-cjs/commands/CreateScanCommand.js +46 -0
- package/dist-cjs/commands/CreateUploadUrlCommand.js +47 -0
- package/dist-cjs/commands/GetAccountConfigurationCommand.js +46 -0
- package/dist-cjs/commands/GetFindingsCommand.js +46 -0
- package/dist-cjs/commands/GetMetricsSummaryCommand.js +46 -0
- package/dist-cjs/commands/GetScanCommand.js +46 -0
- package/dist-cjs/commands/ListFindingsMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListScansCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateAccountConfigurationCommand.js +46 -0
- package/dist-cjs/commands/index.js +16 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeGuruSecurityServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +156 -0
- package/dist-cjs/pagination/GetFindingsPaginator.js +29 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListFindingsMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListScansPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1131 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/CodeGuruSecurity.js +33 -0
- package/dist-es/CodeGuruSecurityClient.js +37 -0
- package/dist-es/commands/BatchGetFindingsCommand.js +42 -0
- package/dist-es/commands/CreateScanCommand.js +42 -0
- package/dist-es/commands/CreateUploadUrlCommand.js +43 -0
- package/dist-es/commands/GetAccountConfigurationCommand.js +42 -0
- package/dist-es/commands/GetFindingsCommand.js +42 -0
- package/dist-es/commands/GetMetricsSummaryCommand.js +42 -0
- package/dist-es/commands/GetScanCommand.js +42 -0
- package/dist-es/commands/ListFindingsMetricsCommand.js +42 -0
- package/dist-es/commands/ListScansCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateAccountConfigurationCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeGuruSecurityServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +146 -0
- package/dist-es/pagination/GetFindingsPaginator.js +25 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListFindingsMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListScansPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1102 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/CodeGuruSecurity.d.ts +108 -0
- package/dist-types/CodeGuruSecurityClient.d.ts +182 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +154 -0
- package/dist-types/commands/CreateScanCommand.d.ts +108 -0
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +91 -0
- package/dist-types/commands/GetAccountConfigurationCommand.d.ts +85 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +153 -0
- package/dist-types/commands/GetMetricsSummaryCommand.d.ts +114 -0
- package/dist-types/commands/GetScanCommand.d.ts +93 -0
- package/dist-types/commands/ListFindingsMetricsCommand.d.ts +121 -0
- package/dist-types/commands/ListScansCommand.d.ts +96 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
- package/dist-types/commands/TagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/CodeGuruSecurityServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1114 -0
- package/dist-types/pagination/GetFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListFindingsMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +119 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/CodeGuruSecurity.d.ts +228 -0
- package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +193 -0
- package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateScanCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMetricsSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetScanCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListFindingsMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListScansCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAccountConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CodeGuruSecurityServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +340 -0
- package/dist-types/ts3.4/pagination/GetFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListFindingsMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
- package/package.json +101 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
|
|
5
|
+
import { ListFindingsMetricsRequest, ListFindingsMetricsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListFindingsMetricsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListFindingsMetricsCommandInput extends ListFindingsMetricsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListFindingsMetricsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListFindingsMetricsCommandOutput extends ListFindingsMetricsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns metrics about all findings in an account within a specified time range.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeGuruSecurityClient, ListFindingsMetricsCommand } from "@aws-sdk/client-codeguru-security"; // ES Modules import
|
|
31
|
+
* // const { CodeGuruSecurityClient, ListFindingsMetricsCommand } = require("@aws-sdk/client-codeguru-security"); // CommonJS import
|
|
32
|
+
* const client = new CodeGuruSecurityClient(config);
|
|
33
|
+
* const input = { // ListFindingsMetricsRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* startDate: new Date("TIMESTAMP"), // required
|
|
37
|
+
* endDate: new Date("TIMESTAMP"), // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new ListFindingsMetricsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // ListFindingsMetricsResponse
|
|
42
|
+
* // findingsMetrics: [ // FindingsMetricList
|
|
43
|
+
* // { // AccountFindingsMetric
|
|
44
|
+
* // date: new Date("TIMESTAMP"),
|
|
45
|
+
* // newFindings: { // FindingMetricsValuePerSeverity
|
|
46
|
+
* // info: Number("double"),
|
|
47
|
+
* // low: Number("double"),
|
|
48
|
+
* // medium: Number("double"),
|
|
49
|
+
* // high: Number("double"),
|
|
50
|
+
* // critical: Number("double"),
|
|
51
|
+
* // },
|
|
52
|
+
* // closedFindings: {
|
|
53
|
+
* // info: Number("double"),
|
|
54
|
+
* // low: Number("double"),
|
|
55
|
+
* // medium: Number("double"),
|
|
56
|
+
* // high: Number("double"),
|
|
57
|
+
* // critical: Number("double"),
|
|
58
|
+
* // },
|
|
59
|
+
* // openFindings: {
|
|
60
|
+
* // info: Number("double"),
|
|
61
|
+
* // low: Number("double"),
|
|
62
|
+
* // medium: Number("double"),
|
|
63
|
+
* // high: Number("double"),
|
|
64
|
+
* // critical: Number("double"),
|
|
65
|
+
* // },
|
|
66
|
+
* // meanTimeToClose: {
|
|
67
|
+
* // info: Number("double"),
|
|
68
|
+
* // low: Number("double"),
|
|
69
|
+
* // medium: Number("double"),
|
|
70
|
+
* // high: Number("double"),
|
|
71
|
+
* // critical: Number("double"),
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // nextToken: "STRING_VALUE",
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param ListFindingsMetricsCommandInput - {@link ListFindingsMetricsCommandInput}
|
|
81
|
+
* @returns {@link ListFindingsMetricsCommandOutput}
|
|
82
|
+
* @see {@link ListFindingsMetricsCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link ListFindingsMetricsCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link CodeGuruSecurityClientResolvedConfig | config} for CodeGuruSecurityClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
87
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was denied due to request throttling.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link CodeGuruSecurityServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListFindingsMetricsCommand extends $Command<ListFindingsMetricsCommandInput, ListFindingsMetricsCommandOutput, CodeGuruSecurityClientResolvedConfig> {
|
|
103
|
+
readonly input: ListFindingsMetricsCommandInput;
|
|
104
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
constructor(input: ListFindingsMetricsCommandInput);
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruSecurityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListFindingsMetricsCommandInput, ListFindingsMetricsCommandOutput>;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private serialize;
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
private deserialize;
|
|
121
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
|
|
5
|
+
import { ListScansRequest, ListScansResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListScansCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListScansCommandInput extends ListScansRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListScansCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListScansCommandOutput extends ListScansResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of all the scans in an account.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeGuruSecurityClient, ListScansCommand } from "@aws-sdk/client-codeguru-security"; // ES Modules import
|
|
31
|
+
* // const { CodeGuruSecurityClient, ListScansCommand } = require("@aws-sdk/client-codeguru-security"); // CommonJS import
|
|
32
|
+
* const client = new CodeGuruSecurityClient(config);
|
|
33
|
+
* const input = { // ListScansRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* maxResults: Number("int"),
|
|
36
|
+
* };
|
|
37
|
+
* const command = new ListScansCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // ListScansResponse
|
|
40
|
+
* // summaries: [ // ScanSummaries
|
|
41
|
+
* // { // ScanSummary
|
|
42
|
+
* // scanState: "InProgress" || "Successful" || "Failed", // required
|
|
43
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
44
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
45
|
+
* // scanName: "STRING_VALUE", // required
|
|
46
|
+
* // runId: "STRING_VALUE", // required
|
|
47
|
+
* // scanNameArn: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // nextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListScansCommandInput - {@link ListScansCommandInput}
|
|
56
|
+
* @returns {@link ListScansCommandOutput}
|
|
57
|
+
* @see {@link ListScansCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListScansCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link CodeGuruSecurityClientResolvedConfig | config} for CodeGuruSecurityClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link CodeGuruSecurityServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ListScansCommand extends $Command<ListScansCommandInput, ListScansCommandOutput, CodeGuruSecurityClientResolvedConfig> {
|
|
78
|
+
readonly input: ListScansCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: ListScansCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruSecurityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListScansCommandInput, ListScansCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
|
|
5
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of all tags associated with a scan.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeGuruSecurityClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeguru-security"; // ES Modules import
|
|
31
|
+
* // const { CodeGuruSecurityClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeguru-security"); // CommonJS import
|
|
32
|
+
* const client = new CodeGuruSecurityClient(config);
|
|
33
|
+
* const input = { // ListTagsForResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // ListTagsForResourceResponse
|
|
39
|
+
* // tags: { // TagMap
|
|
40
|
+
* // "<keys>": "STRING_VALUE",
|
|
41
|
+
* // },
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
47
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
48
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link CodeGuruSecurityClientResolvedConfig | config} for CodeGuruSecurityClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>The requested operation would cause a conflict with the current state of a service
|
|
57
|
+
* resource associated with the request. Resolve the conflict before retrying this
|
|
58
|
+
* request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The resource specified in the request was not found.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link CodeGuruSecurityServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeGuruSecurityClientResolvedConfig> {
|
|
77
|
+
readonly input: ListTagsForResourceCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: ListTagsForResourceCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruSecurityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
|
|
5
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Use to add one or more tags to an existing scan.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeGuruSecurityClient, TagResourceCommand } from "@aws-sdk/client-codeguru-security"; // ES Modules import
|
|
31
|
+
* // const { CodeGuruSecurityClient, TagResourceCommand } = require("@aws-sdk/client-codeguru-security"); // CommonJS import
|
|
32
|
+
* const client = new CodeGuruSecurityClient(config);
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* tags: { // TagMap // required
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
39
|
+
* const command = new TagResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
46
|
+
* @returns {@link TagResourceCommandOutput}
|
|
47
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link CodeGuruSecurityClientResolvedConfig | config} for CodeGuruSecurityClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>The requested operation would cause a conflict with the current state of a service
|
|
56
|
+
* resource associated with the request. Resolve the conflict before retrying this
|
|
57
|
+
* request.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The resource specified in the request was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link CodeGuruSecurityServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodeGuruSecurityClientResolvedConfig> {
|
|
76
|
+
readonly input: TagResourceCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: TagResourceCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruSecurityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
|
|
5
|
+
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Use to remove one or more tags from an existing scan.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeGuruSecurityClient, UntagResourceCommand } from "@aws-sdk/client-codeguru-security"; // ES Modules import
|
|
31
|
+
* // const { CodeGuruSecurityClient, UntagResourceCommand } = require("@aws-sdk/client-codeguru-security"); // CommonJS import
|
|
32
|
+
* const client = new CodeGuruSecurityClient(config);
|
|
33
|
+
* const input = { // UntagResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* tagKeys: [ // TagKeyList // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new UntagResourceCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
46
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
47
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link CodeGuruSecurityClientResolvedConfig | config} for CodeGuruSecurityClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>The requested operation would cause a conflict with the current state of a service
|
|
56
|
+
* resource associated with the request. Resolve the conflict before retrying this
|
|
57
|
+
* request.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The resource specified in the request was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link CodeGuruSecurityServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodeGuruSecurityClientResolvedConfig> {
|
|
76
|
+
readonly input: UntagResourceCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: UntagResourceCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruSecurityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CodeGuruSecurityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruSecurityClient";
|
|
5
|
+
import { UpdateAccountConfigurationRequest, UpdateAccountConfigurationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAccountConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAccountConfigurationCommandInput extends UpdateAccountConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAccountConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAccountConfigurationCommandOutput extends UpdateAccountConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Use to update account-level configuration with an encryption key.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeGuruSecurityClient, UpdateAccountConfigurationCommand } from "@aws-sdk/client-codeguru-security"; // ES Modules import
|
|
31
|
+
* // const { CodeGuruSecurityClient, UpdateAccountConfigurationCommand } = require("@aws-sdk/client-codeguru-security"); // CommonJS import
|
|
32
|
+
* const client = new CodeGuruSecurityClient(config);
|
|
33
|
+
* const input = { // UpdateAccountConfigurationRequest
|
|
34
|
+
* encryptionConfig: { // EncryptionConfig
|
|
35
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
38
|
+
* const command = new UpdateAccountConfigurationCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // UpdateAccountConfigurationResponse
|
|
41
|
+
* // encryptionConfig: { // EncryptionConfig
|
|
42
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param UpdateAccountConfigurationCommandInput - {@link UpdateAccountConfigurationCommandInput}
|
|
49
|
+
* @returns {@link UpdateAccountConfigurationCommandOutput}
|
|
50
|
+
* @see {@link UpdateAccountConfigurationCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link UpdateAccountConfigurationCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link CodeGuruSecurityClientResolvedConfig | config} for CodeGuruSecurityClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The resource specified in the request was not found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>The request was denied due to request throttling.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link CodeGuruSecurityServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from CodeGuruSecurity service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class UpdateAccountConfigurationCommand extends $Command<UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput, CodeGuruSecurityClientResolvedConfig> {
|
|
74
|
+
readonly input: UpdateAccountConfigurationCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: UpdateAccountConfigurationCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeGuruSecurityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAccountConfigurationCommandInput, UpdateAccountConfigurationCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./BatchGetFindingsCommand";
|
|
2
|
+
export * from "./CreateScanCommand";
|
|
3
|
+
export * from "./CreateUploadUrlCommand";
|
|
4
|
+
export * from "./GetAccountConfigurationCommand";
|
|
5
|
+
export * from "./GetFindingsCommand";
|
|
6
|
+
export * from "./GetMetricsSummaryCommand";
|
|
7
|
+
export * from "./GetScanCommand";
|
|
8
|
+
export * from "./ListFindingsMetricsCommand";
|
|
9
|
+
export * from "./ListScansCommand";
|
|
10
|
+
export * from "./ListTagsForResourceCommand";
|
|
11
|
+
export * from "./TagResourceCommand";
|
|
12
|
+
export * from "./UntagResourceCommand";
|
|
13
|
+
export * from "./UpdateAccountConfigurationCommand";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, EndpointV2 } from "@aws-sdk/types";
|
|
2
|
+
import { Endpoint, Provider } from "@smithy/types";
|
|
3
|
+
export interface ClientInputEndpointParameters {
|
|
4
|
+
region?: string | Provider<string>;
|
|
5
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
7
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
8
|
+
}
|
|
9
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
10
|
+
defaultSigningName: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
16
|
+
Region?: string;
|
|
17
|
+
UseDualStack?: boolean;
|
|
18
|
+
UseFIPS?: boolean;
|
|
19
|
+
Endpoint?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>This section provides documentation for the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/codeguru/latest/security-ug/what-is-codeguru-security.html">Amazon CodeGuru Security</a> API operations.
|
|
3
|
+
* CodeGuru Security is a service that uses program analysis and machine learning to detect
|
|
4
|
+
* security policy violations and vulnerabilities, and recommends ways to address these security
|
|
5
|
+
* risks.</p>
|
|
6
|
+
* <p>By proactively detecting and providing recommendations for addressing security risks,
|
|
7
|
+
* CodeGuru Security improves the overall security of your application code. For more information
|
|
8
|
+
* about CodeGuru Security, see the
|
|
9
|
+
* <a href="https://docs.aws.amazon.com/codeguru/latest/security-ug/what-is-codeguru-security.html">Amazon CodeGuru Security User Guide</a>. </p>
|
|
10
|
+
*
|
|
11
|
+
* @packageDocumentation
|
|
12
|
+
*/
|
|
13
|
+
export * from "./CodeGuruSecurityClient";
|
|
14
|
+
export * from "./CodeGuruSecurity";
|
|
15
|
+
export * from "./commands";
|
|
16
|
+
export * from "./pagination";
|
|
17
|
+
export * from "./models";
|
|
18
|
+
export { CodeGuruSecurityServiceException } from "./models/CodeGuruSecurityServiceException";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*
|
|
6
|
+
* Base exception class for all service exceptions from CodeGuruSecurity service.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CodeGuruSecurityServiceException extends __ServiceException {
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(options: __ServiceExceptionOptions);
|
|
13
|
+
}
|