@aws-sdk/client-codeguru-security 3.1086.0 → 3.1088.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 +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -8,10 +8,7 @@ import {
|
|
|
8
8
|
BatchGetFindingsCommandInput,
|
|
9
9
|
BatchGetFindingsCommandOutput,
|
|
10
10
|
} from "./commands/BatchGetFindingsCommand";
|
|
11
|
-
import {
|
|
12
|
-
CreateScanCommandInput,
|
|
13
|
-
CreateScanCommandOutput,
|
|
14
|
-
} from "./commands/CreateScanCommand";
|
|
11
|
+
import { CreateScanCommandInput, CreateScanCommandOutput } from "./commands/CreateScanCommand";
|
|
15
12
|
import {
|
|
16
13
|
CreateUploadUrlCommandInput,
|
|
17
14
|
CreateUploadUrlCommandOutput,
|
|
@@ -20,34 +17,22 @@ import {
|
|
|
20
17
|
GetAccountConfigurationCommandInput,
|
|
21
18
|
GetAccountConfigurationCommandOutput,
|
|
22
19
|
} from "./commands/GetAccountConfigurationCommand";
|
|
23
|
-
import {
|
|
24
|
-
GetFindingsCommandInput,
|
|
25
|
-
GetFindingsCommandOutput,
|
|
26
|
-
} from "./commands/GetFindingsCommand";
|
|
20
|
+
import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
|
|
27
21
|
import {
|
|
28
22
|
GetMetricsSummaryCommandInput,
|
|
29
23
|
GetMetricsSummaryCommandOutput,
|
|
30
24
|
} from "./commands/GetMetricsSummaryCommand";
|
|
31
|
-
import {
|
|
32
|
-
GetScanCommandInput,
|
|
33
|
-
GetScanCommandOutput,
|
|
34
|
-
} from "./commands/GetScanCommand";
|
|
25
|
+
import { GetScanCommandInput, GetScanCommandOutput } from "./commands/GetScanCommand";
|
|
35
26
|
import {
|
|
36
27
|
ListFindingsMetricsCommandInput,
|
|
37
28
|
ListFindingsMetricsCommandOutput,
|
|
38
29
|
} from "./commands/ListFindingsMetricsCommand";
|
|
39
|
-
import {
|
|
40
|
-
ListScansCommandInput,
|
|
41
|
-
ListScansCommandOutput,
|
|
42
|
-
} from "./commands/ListScansCommand";
|
|
30
|
+
import { ListScansCommandInput, ListScansCommandOutput } from "./commands/ListScansCommand";
|
|
43
31
|
import {
|
|
44
32
|
ListTagsForResourceCommandInput,
|
|
45
33
|
ListTagsForResourceCommandOutput,
|
|
46
34
|
} from "./commands/ListTagsForResourceCommand";
|
|
47
|
-
import {
|
|
48
|
-
TagResourceCommandInput,
|
|
49
|
-
TagResourceCommandOutput,
|
|
50
|
-
} from "./commands/TagResourceCommand";
|
|
35
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
51
36
|
import {
|
|
52
37
|
UntagResourceCommandInput,
|
|
53
38
|
UntagResourceCommandOutput,
|
|
@@ -59,197 +44,189 @@ import {
|
|
|
59
44
|
export interface CodeGuruSecurity {
|
|
60
45
|
batchGetFindings(
|
|
61
46
|
args: BatchGetFindingsCommandInput,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
47
|
+
options?: __HttpHandlerOptions,
|
|
63
48
|
): Promise<BatchGetFindingsCommandOutput>;
|
|
64
49
|
batchGetFindings(
|
|
65
50
|
args: BatchGetFindingsCommandInput,
|
|
66
|
-
cb: (err: any, data?: BatchGetFindingsCommandOutput) => void
|
|
51
|
+
cb: (err: any, data?: BatchGetFindingsCommandOutput) => void,
|
|
67
52
|
): void;
|
|
68
53
|
batchGetFindings(
|
|
69
54
|
args: BatchGetFindingsCommandInput,
|
|
70
55
|
options: __HttpHandlerOptions,
|
|
71
|
-
cb: (err: any, data?: BatchGetFindingsCommandOutput) => void
|
|
56
|
+
cb: (err: any, data?: BatchGetFindingsCommandOutput) => void,
|
|
72
57
|
): void;
|
|
73
58
|
createScan(
|
|
74
59
|
args: CreateScanCommandInput,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
60
|
+
options?: __HttpHandlerOptions,
|
|
76
61
|
): Promise<CreateScanCommandOutput>;
|
|
77
62
|
createScan(
|
|
78
63
|
args: CreateScanCommandInput,
|
|
79
|
-
cb: (err: any, data?: CreateScanCommandOutput) => void
|
|
64
|
+
cb: (err: any, data?: CreateScanCommandOutput) => void,
|
|
80
65
|
): void;
|
|
81
66
|
createScan(
|
|
82
67
|
args: CreateScanCommandInput,
|
|
83
68
|
options: __HttpHandlerOptions,
|
|
84
|
-
cb: (err: any, data?: CreateScanCommandOutput) => void
|
|
69
|
+
cb: (err: any, data?: CreateScanCommandOutput) => void,
|
|
85
70
|
): void;
|
|
86
71
|
createUploadUrl(
|
|
87
72
|
args: CreateUploadUrlCommandInput,
|
|
88
|
-
options?: __HttpHandlerOptions
|
|
73
|
+
options?: __HttpHandlerOptions,
|
|
89
74
|
): Promise<CreateUploadUrlCommandOutput>;
|
|
90
75
|
createUploadUrl(
|
|
91
76
|
args: CreateUploadUrlCommandInput,
|
|
92
|
-
cb: (err: any, data?: CreateUploadUrlCommandOutput) => void
|
|
77
|
+
cb: (err: any, data?: CreateUploadUrlCommandOutput) => void,
|
|
93
78
|
): void;
|
|
94
79
|
createUploadUrl(
|
|
95
80
|
args: CreateUploadUrlCommandInput,
|
|
96
81
|
options: __HttpHandlerOptions,
|
|
97
|
-
cb: (err: any, data?: CreateUploadUrlCommandOutput) => void
|
|
82
|
+
cb: (err: any, data?: CreateUploadUrlCommandOutput) => void,
|
|
98
83
|
): void;
|
|
99
84
|
getAccountConfiguration(): Promise<GetAccountConfigurationCommandOutput>;
|
|
100
85
|
getAccountConfiguration(
|
|
101
86
|
args: GetAccountConfigurationCommandInput,
|
|
102
|
-
options?: __HttpHandlerOptions
|
|
87
|
+
options?: __HttpHandlerOptions,
|
|
103
88
|
): Promise<GetAccountConfigurationCommandOutput>;
|
|
104
89
|
getAccountConfiguration(
|
|
105
90
|
args: GetAccountConfigurationCommandInput,
|
|
106
|
-
cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void
|
|
91
|
+
cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void,
|
|
107
92
|
): void;
|
|
108
93
|
getAccountConfiguration(
|
|
109
94
|
args: GetAccountConfigurationCommandInput,
|
|
110
95
|
options: __HttpHandlerOptions,
|
|
111
|
-
cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void
|
|
96
|
+
cb: (err: any, data?: GetAccountConfigurationCommandOutput) => void,
|
|
112
97
|
): void;
|
|
113
98
|
getFindings(
|
|
114
99
|
args: GetFindingsCommandInput,
|
|
115
|
-
options?: __HttpHandlerOptions
|
|
100
|
+
options?: __HttpHandlerOptions,
|
|
116
101
|
): Promise<GetFindingsCommandOutput>;
|
|
117
102
|
getFindings(
|
|
118
103
|
args: GetFindingsCommandInput,
|
|
119
|
-
cb: (err: any, data?: GetFindingsCommandOutput) => void
|
|
104
|
+
cb: (err: any, data?: GetFindingsCommandOutput) => void,
|
|
120
105
|
): void;
|
|
121
106
|
getFindings(
|
|
122
107
|
args: GetFindingsCommandInput,
|
|
123
108
|
options: __HttpHandlerOptions,
|
|
124
|
-
cb: (err: any, data?: GetFindingsCommandOutput) => void
|
|
109
|
+
cb: (err: any, data?: GetFindingsCommandOutput) => void,
|
|
125
110
|
): void;
|
|
126
111
|
getMetricsSummary(
|
|
127
112
|
args: GetMetricsSummaryCommandInput,
|
|
128
|
-
options?: __HttpHandlerOptions
|
|
113
|
+
options?: __HttpHandlerOptions,
|
|
129
114
|
): Promise<GetMetricsSummaryCommandOutput>;
|
|
130
115
|
getMetricsSummary(
|
|
131
116
|
args: GetMetricsSummaryCommandInput,
|
|
132
|
-
cb: (err: any, data?: GetMetricsSummaryCommandOutput) => void
|
|
117
|
+
cb: (err: any, data?: GetMetricsSummaryCommandOutput) => void,
|
|
133
118
|
): void;
|
|
134
119
|
getMetricsSummary(
|
|
135
120
|
args: GetMetricsSummaryCommandInput,
|
|
136
121
|
options: __HttpHandlerOptions,
|
|
137
|
-
cb: (err: any, data?: GetMetricsSummaryCommandOutput) => void
|
|
138
|
-
): void;
|
|
139
|
-
getScan(
|
|
140
|
-
args: GetScanCommandInput,
|
|
141
|
-
options?: __HttpHandlerOptions
|
|
142
|
-
): Promise<GetScanCommandOutput>;
|
|
143
|
-
getScan(
|
|
144
|
-
args: GetScanCommandInput,
|
|
145
|
-
cb: (err: any, data?: GetScanCommandOutput) => void
|
|
122
|
+
cb: (err: any, data?: GetMetricsSummaryCommandOutput) => void,
|
|
146
123
|
): void;
|
|
124
|
+
getScan(args: GetScanCommandInput, options?: __HttpHandlerOptions): Promise<GetScanCommandOutput>;
|
|
125
|
+
getScan(args: GetScanCommandInput, cb: (err: any, data?: GetScanCommandOutput) => void): void;
|
|
147
126
|
getScan(
|
|
148
127
|
args: GetScanCommandInput,
|
|
149
128
|
options: __HttpHandlerOptions,
|
|
150
|
-
cb: (err: any, data?: GetScanCommandOutput) => void
|
|
129
|
+
cb: (err: any, data?: GetScanCommandOutput) => void,
|
|
151
130
|
): void;
|
|
152
131
|
listFindingsMetrics(
|
|
153
132
|
args: ListFindingsMetricsCommandInput,
|
|
154
|
-
options?: __HttpHandlerOptions
|
|
133
|
+
options?: __HttpHandlerOptions,
|
|
155
134
|
): Promise<ListFindingsMetricsCommandOutput>;
|
|
156
135
|
listFindingsMetrics(
|
|
157
136
|
args: ListFindingsMetricsCommandInput,
|
|
158
|
-
cb: (err: any, data?: ListFindingsMetricsCommandOutput) => void
|
|
137
|
+
cb: (err: any, data?: ListFindingsMetricsCommandOutput) => void,
|
|
159
138
|
): void;
|
|
160
139
|
listFindingsMetrics(
|
|
161
140
|
args: ListFindingsMetricsCommandInput,
|
|
162
141
|
options: __HttpHandlerOptions,
|
|
163
|
-
cb: (err: any, data?: ListFindingsMetricsCommandOutput) => void
|
|
142
|
+
cb: (err: any, data?: ListFindingsMetricsCommandOutput) => void,
|
|
164
143
|
): void;
|
|
165
144
|
listScans(): Promise<ListScansCommandOutput>;
|
|
166
145
|
listScans(
|
|
167
146
|
args: ListScansCommandInput,
|
|
168
|
-
options?: __HttpHandlerOptions
|
|
147
|
+
options?: __HttpHandlerOptions,
|
|
169
148
|
): Promise<ListScansCommandOutput>;
|
|
170
149
|
listScans(
|
|
171
150
|
args: ListScansCommandInput,
|
|
172
|
-
cb: (err: any, data?: ListScansCommandOutput) => void
|
|
151
|
+
cb: (err: any, data?: ListScansCommandOutput) => void,
|
|
173
152
|
): void;
|
|
174
153
|
listScans(
|
|
175
154
|
args: ListScansCommandInput,
|
|
176
155
|
options: __HttpHandlerOptions,
|
|
177
|
-
cb: (err: any, data?: ListScansCommandOutput) => void
|
|
156
|
+
cb: (err: any, data?: ListScansCommandOutput) => void,
|
|
178
157
|
): void;
|
|
179
158
|
listTagsForResource(
|
|
180
159
|
args: ListTagsForResourceCommandInput,
|
|
181
|
-
options?: __HttpHandlerOptions
|
|
160
|
+
options?: __HttpHandlerOptions,
|
|
182
161
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
183
162
|
listTagsForResource(
|
|
184
163
|
args: ListTagsForResourceCommandInput,
|
|
185
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
164
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
186
165
|
): void;
|
|
187
166
|
listTagsForResource(
|
|
188
167
|
args: ListTagsForResourceCommandInput,
|
|
189
168
|
options: __HttpHandlerOptions,
|
|
190
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
169
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
191
170
|
): void;
|
|
192
171
|
tagResource(
|
|
193
172
|
args: TagResourceCommandInput,
|
|
194
|
-
options?: __HttpHandlerOptions
|
|
173
|
+
options?: __HttpHandlerOptions,
|
|
195
174
|
): Promise<TagResourceCommandOutput>;
|
|
196
175
|
tagResource(
|
|
197
176
|
args: TagResourceCommandInput,
|
|
198
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
177
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
199
178
|
): void;
|
|
200
179
|
tagResource(
|
|
201
180
|
args: TagResourceCommandInput,
|
|
202
181
|
options: __HttpHandlerOptions,
|
|
203
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
182
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
204
183
|
): void;
|
|
205
184
|
untagResource(
|
|
206
185
|
args: UntagResourceCommandInput,
|
|
207
|
-
options?: __HttpHandlerOptions
|
|
186
|
+
options?: __HttpHandlerOptions,
|
|
208
187
|
): Promise<UntagResourceCommandOutput>;
|
|
209
188
|
untagResource(
|
|
210
189
|
args: UntagResourceCommandInput,
|
|
211
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
190
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
212
191
|
): void;
|
|
213
192
|
untagResource(
|
|
214
193
|
args: UntagResourceCommandInput,
|
|
215
194
|
options: __HttpHandlerOptions,
|
|
216
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
195
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
217
196
|
): void;
|
|
218
197
|
updateAccountConfiguration(
|
|
219
198
|
args: UpdateAccountConfigurationCommandInput,
|
|
220
|
-
options?: __HttpHandlerOptions
|
|
199
|
+
options?: __HttpHandlerOptions,
|
|
221
200
|
): Promise<UpdateAccountConfigurationCommandOutput>;
|
|
222
201
|
updateAccountConfiguration(
|
|
223
202
|
args: UpdateAccountConfigurationCommandInput,
|
|
224
|
-
cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void
|
|
203
|
+
cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void,
|
|
225
204
|
): void;
|
|
226
205
|
updateAccountConfiguration(
|
|
227
206
|
args: UpdateAccountConfigurationCommandInput,
|
|
228
207
|
options: __HttpHandlerOptions,
|
|
229
|
-
cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void
|
|
208
|
+
cb: (err: any, data?: UpdateAccountConfigurationCommandOutput) => void,
|
|
230
209
|
): void;
|
|
231
210
|
paginateGetFindings(
|
|
232
211
|
args: GetFindingsCommandInput,
|
|
233
212
|
paginationConfig?: Pick<
|
|
234
213
|
PaginationConfiguration,
|
|
235
214
|
Exclude<keyof PaginationConfiguration, "client">
|
|
236
|
-
|
|
215
|
+
>,
|
|
237
216
|
): Paginator<GetFindingsCommandOutput>;
|
|
238
217
|
paginateListFindingsMetrics(
|
|
239
218
|
args: ListFindingsMetricsCommandInput,
|
|
240
219
|
paginationConfig?: Pick<
|
|
241
220
|
PaginationConfiguration,
|
|
242
221
|
Exclude<keyof PaginationConfiguration, "client">
|
|
243
|
-
|
|
222
|
+
>,
|
|
244
223
|
): Paginator<ListFindingsMetricsCommandOutput>;
|
|
245
224
|
paginateListScans(
|
|
246
225
|
args?: ListScansCommandInput,
|
|
247
226
|
paginationConfig?: Pick<
|
|
248
227
|
PaginationConfiguration,
|
|
249
228
|
Exclude<keyof PaginationConfiguration, "client">
|
|
250
|
-
|
|
229
|
+
>,
|
|
251
230
|
): Paginator<ListScansCommandOutput>;
|
|
252
231
|
}
|
|
253
|
-
export declare class CodeGuruSecurity
|
|
254
|
-
extends CodeGuruSecurityClient
|
|
255
|
-
implements CodeGuruSecurity {}
|
|
232
|
+
export declare class CodeGuruSecurity extends CodeGuruSecurityClient implements CodeGuruSecurity {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -40,10 +37,7 @@ import {
|
|
|
40
37
|
BatchGetFindingsCommandInput,
|
|
41
38
|
BatchGetFindingsCommandOutput,
|
|
42
39
|
} from "./commands/BatchGetFindingsCommand";
|
|
43
|
-
import {
|
|
44
|
-
CreateScanCommandInput,
|
|
45
|
-
CreateScanCommandOutput,
|
|
46
|
-
} from "./commands/CreateScanCommand";
|
|
40
|
+
import { CreateScanCommandInput, CreateScanCommandOutput } from "./commands/CreateScanCommand";
|
|
47
41
|
import {
|
|
48
42
|
CreateUploadUrlCommandInput,
|
|
49
43
|
CreateUploadUrlCommandOutput,
|
|
@@ -52,34 +46,22 @@ import {
|
|
|
52
46
|
GetAccountConfigurationCommandInput,
|
|
53
47
|
GetAccountConfigurationCommandOutput,
|
|
54
48
|
} from "./commands/GetAccountConfigurationCommand";
|
|
55
|
-
import {
|
|
56
|
-
GetFindingsCommandInput,
|
|
57
|
-
GetFindingsCommandOutput,
|
|
58
|
-
} from "./commands/GetFindingsCommand";
|
|
49
|
+
import { GetFindingsCommandInput, GetFindingsCommandOutput } from "./commands/GetFindingsCommand";
|
|
59
50
|
import {
|
|
60
51
|
GetMetricsSummaryCommandInput,
|
|
61
52
|
GetMetricsSummaryCommandOutput,
|
|
62
53
|
} from "./commands/GetMetricsSummaryCommand";
|
|
63
|
-
import {
|
|
64
|
-
GetScanCommandInput,
|
|
65
|
-
GetScanCommandOutput,
|
|
66
|
-
} from "./commands/GetScanCommand";
|
|
54
|
+
import { GetScanCommandInput, GetScanCommandOutput } from "./commands/GetScanCommand";
|
|
67
55
|
import {
|
|
68
56
|
ListFindingsMetricsCommandInput,
|
|
69
57
|
ListFindingsMetricsCommandOutput,
|
|
70
58
|
} from "./commands/ListFindingsMetricsCommand";
|
|
71
|
-
import {
|
|
72
|
-
ListScansCommandInput,
|
|
73
|
-
ListScansCommandOutput,
|
|
74
|
-
} from "./commands/ListScansCommand";
|
|
59
|
+
import { ListScansCommandInput, ListScansCommandOutput } from "./commands/ListScansCommand";
|
|
75
60
|
import {
|
|
76
61
|
ListTagsForResourceCommandInput,
|
|
77
62
|
ListTagsForResourceCommandOutput,
|
|
78
63
|
} from "./commands/ListTagsForResourceCommand";
|
|
79
|
-
import {
|
|
80
|
-
TagResourceCommandInput,
|
|
81
|
-
TagResourceCommandOutput,
|
|
82
|
-
} from "./commands/TagResourceCommand";
|
|
64
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
83
65
|
import {
|
|
84
66
|
UntagResourceCommandInput,
|
|
85
67
|
UntagResourceCommandOutput,
|
|
@@ -123,8 +105,7 @@ export type ServiceOutputTypes =
|
|
|
123
105
|
| TagResourceCommandOutput
|
|
124
106
|
| UntagResourceCommandOutput
|
|
125
107
|
| UpdateAccountConfigurationCommandOutput;
|
|
126
|
-
export interface ClientDefaults
|
|
127
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
108
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
128
109
|
requestHandler?: __HttpHandlerUserInput;
|
|
129
110
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
130
111
|
urlParser?: __UrlParser;
|
|
@@ -160,8 +141,7 @@ export type CodeGuruSecurityClientConfigType = Partial<
|
|
|
160
141
|
EndpointInputConfig<EndpointParameters> &
|
|
161
142
|
HttpAuthSchemeInputConfig &
|
|
162
143
|
ClientInputEndpointParameters;
|
|
163
|
-
export interface CodeGuruSecurityClientConfig
|
|
164
|
-
extends CodeGuruSecurityClientConfigType {}
|
|
144
|
+
export interface CodeGuruSecurityClientConfig extends CodeGuruSecurityClientConfigType {}
|
|
165
145
|
export type CodeGuruSecurityClientResolvedConfigType =
|
|
166
146
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
167
147
|
Required<ClientDefaults> &
|
|
@@ -173,8 +153,7 @@ export type CodeGuruSecurityClientResolvedConfigType =
|
|
|
173
153
|
EndpointResolvedConfig<EndpointParameters> &
|
|
174
154
|
HttpAuthSchemeResolvedConfig &
|
|
175
155
|
ClientResolvedEndpointParameters;
|
|
176
|
-
export interface CodeGuruSecurityClientResolvedConfig
|
|
177
|
-
extends CodeGuruSecurityClientResolvedConfigType {}
|
|
156
|
+
export interface CodeGuruSecurityClientResolvedConfig extends CodeGuruSecurityClientResolvedConfigType {}
|
|
178
157
|
export declare class CodeGuruSecurityClient extends __Client<
|
|
179
158
|
__HttpHandlerOptions,
|
|
180
159
|
ServiceInputTypes,
|
|
@@ -182,10 +161,6 @@ export declare class CodeGuruSecurityClient extends __Client<
|
|
|
182
161
|
CodeGuruSecurityClientResolvedConfig
|
|
183
162
|
> {
|
|
184
163
|
readonly config: CodeGuruSecurityClientResolvedConfig;
|
|
185
|
-
constructor(
|
|
186
|
-
...[
|
|
187
|
-
configuration,
|
|
188
|
-
]: __CheckOptionalClientConfig<CodeGuruSecurityClientConfig>
|
|
189
|
-
);
|
|
164
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CodeGuruSecurityClientConfig>);
|
|
190
165
|
destroy(): void;
|
|
191
166
|
}
|
|
@@ -7,17 +7,10 @@ import { CodeGuruSecurityHttpAuthSchemeProvider } from "./httpAuthSchemeProvider
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: CodeGuruSecurityHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: CodeGuruSecurityHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): CodeGuruSecurityHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { CodeGuruSecurityClientResolvedConfig } from "../CodeGuruSecurityClient";
|
|
15
|
-
export interface CodeGuruSecurityHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface CodeGuruSecurityHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface CodeGuruSecurityHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface CodeGuruSecurityHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
CodeGuruSecurityClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
CodeGuruSecurityHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultCodeGuruSecurityHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: CodeGuruSecurityClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<CodeGuruSecurityHttpAuthSchemeParameters>;
|
|
31
|
-
export interface CodeGuruSecurityHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<CodeGuruSecurityHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface CodeGuruSecurityHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CodeGuruSecurityHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultCodeGuruSecurityHttpAuthSchemeProvider: CodeGuruSecurityHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: CodeGuruSecurityHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: CodeGuruSecurityHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./CodeGuruSecurityClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
CodeGuruSecurityClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
BatchGetFindingsRequest,
|
|
4
|
-
BatchGetFindingsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { BatchGetFindingsRequest, BatchGetFindingsResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface BatchGetFindingsCommandInput extends BatchGetFindingsRequest {}
|
|
8
|
-
export interface BatchGetFindingsCommandOutput
|
|
9
|
-
extends BatchGetFindingsResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface BatchGetFindingsCommandOutput extends BatchGetFindingsResponse, __MetadataBearer {}
|
|
11
6
|
declare const BatchGetFindingsCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: BatchGetFindingsCommandInput
|
|
8
|
+
input: BatchGetFindingsCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
BatchGetFindingsCommandInput,
|
|
16
11
|
BatchGetFindingsCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: BatchGetFindingsCommandInput
|
|
17
|
+
input: BatchGetFindingsCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
BatchGetFindingsCommandInput,
|
|
25
20
|
BatchGetFindingsCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { CreateScanRequest, CreateScanResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface CreateScanCommandInput extends CreateScanRequest {}
|
|
5
|
-
export interface CreateScanCommandOutput
|
|
6
|
-
extends CreateScanResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateScanCommandOutput extends CreateScanResponse, __MetadataBearer {}
|
|
8
6
|
declare const CreateScanCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: CreateScanCommandInput
|
|
8
|
+
input: CreateScanCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
CreateScanCommandInput,
|
|
13
11
|
CreateScanCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const CreateScanCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: CreateScanCommandInput
|
|
17
|
+
input: CreateScanCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
CreateScanCommandInput,
|
|
22
20
|
CreateScanCommandOutput,
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateUploadUrlRequest,
|
|
4
|
-
CreateUploadUrlResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateUploadUrlRequest, CreateUploadUrlResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface CreateUploadUrlCommandInput extends CreateUploadUrlRequest {}
|
|
8
|
-
export interface CreateUploadUrlCommandOutput
|
|
9
|
-
extends CreateUploadUrlResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface CreateUploadUrlCommandOutput extends CreateUploadUrlResponse, __MetadataBearer {}
|
|
11
6
|
declare const CreateUploadUrlCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: CreateUploadUrlCommandInput
|
|
8
|
+
input: CreateUploadUrlCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
CreateUploadUrlCommandInput,
|
|
16
11
|
CreateUploadUrlCommandOutput,
|
|
@@ -19,7 +14,7 @@ declare const CreateUploadUrlCommand_base: {
|
|
|
19
14
|
import("..").ServiceOutputTypes
|
|
20
15
|
>;
|
|
21
16
|
new (
|
|
22
|
-
input: CreateUploadUrlCommandInput
|
|
17
|
+
input: CreateUploadUrlCommandInput,
|
|
23
18
|
): import("@smithy/core/client").CommandImpl<
|
|
24
19
|
CreateUploadUrlCommandInput,
|
|
25
20
|
CreateUploadUrlCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
GetAccountConfigurationResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetAccountConfigurationCommandInput
|
|
8
|
-
extends GetAccountConfigurationRequest {}
|
|
7
|
+
export interface GetAccountConfigurationCommandInput extends GetAccountConfigurationRequest {}
|
|
9
8
|
export interface GetAccountConfigurationCommandOutput
|
|
10
|
-
extends GetAccountConfigurationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends GetAccountConfigurationResponse, __MetadataBearer {}
|
|
12
10
|
declare const GetAccountConfigurationCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: GetAccountConfigurationCommandInput
|
|
12
|
+
input: GetAccountConfigurationCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
GetAccountConfigurationCommandInput,
|
|
17
15
|
GetAccountConfigurationCommandOutput,
|
|
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GetFindingsRequest, GetFindingsResponse } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetFindingsCommandInput extends GetFindingsRequest {}
|
|
5
|
-
export interface GetFindingsCommandOutput
|
|
6
|
-
extends GetFindingsResponse,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetFindingsCommandOutput extends GetFindingsResponse, __MetadataBearer {}
|
|
8
6
|
declare const GetFindingsCommand_base: {
|
|
9
7
|
new (
|
|
10
|
-
input: GetFindingsCommandInput
|
|
8
|
+
input: GetFindingsCommandInput,
|
|
11
9
|
): import("@smithy/core/client").CommandImpl<
|
|
12
10
|
GetFindingsCommandInput,
|
|
13
11
|
GetFindingsCommandOutput,
|
|
@@ -16,7 +14,7 @@ declare const GetFindingsCommand_base: {
|
|
|
16
14
|
import("..").ServiceOutputTypes
|
|
17
15
|
>;
|
|
18
16
|
new (
|
|
19
|
-
input: GetFindingsCommandInput
|
|
17
|
+
input: GetFindingsCommandInput,
|
|
20
18
|
): import("@smithy/core/client").CommandImpl<
|
|
21
19
|
GetFindingsCommandInput,
|
|
22
20
|
GetFindingsCommandOutput,
|