@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.
Files changed (135) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +316 -0
  3. package/dist-cjs/CodeGuruSecurity.js +37 -0
  4. package/dist-cjs/CodeGuruSecurityClient.js +41 -0
  5. package/dist-cjs/commands/BatchGetFindingsCommand.js +46 -0
  6. package/dist-cjs/commands/CreateScanCommand.js +46 -0
  7. package/dist-cjs/commands/CreateUploadUrlCommand.js +47 -0
  8. package/dist-cjs/commands/GetAccountConfigurationCommand.js +46 -0
  9. package/dist-cjs/commands/GetFindingsCommand.js +46 -0
  10. package/dist-cjs/commands/GetMetricsSummaryCommand.js +46 -0
  11. package/dist-cjs/commands/GetScanCommand.js +46 -0
  12. package/dist-cjs/commands/ListFindingsMetricsCommand.js +46 -0
  13. package/dist-cjs/commands/ListScansCommand.js +46 -0
  14. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  17. package/dist-cjs/commands/UpdateAccountConfigurationCommand.js +46 -0
  18. package/dist-cjs/commands/index.js +16 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/index.js +11 -0
  23. package/dist-cjs/models/CodeGuruSecurityServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +156 -0
  26. package/dist-cjs/pagination/GetFindingsPaginator.js +29 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListFindingsMetricsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListScansPaginator.js +29 -0
  30. package/dist-cjs/pagination/index.js +7 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +1131 -0
  32. package/dist-cjs/runtimeConfig.browser.js +39 -0
  33. package/dist-cjs/runtimeConfig.js +48 -0
  34. package/dist-cjs/runtimeConfig.native.js +15 -0
  35. package/dist-cjs/runtimeConfig.shared.js +21 -0
  36. package/dist-es/CodeGuruSecurity.js +33 -0
  37. package/dist-es/CodeGuruSecurityClient.js +37 -0
  38. package/dist-es/commands/BatchGetFindingsCommand.js +42 -0
  39. package/dist-es/commands/CreateScanCommand.js +42 -0
  40. package/dist-es/commands/CreateUploadUrlCommand.js +43 -0
  41. package/dist-es/commands/GetAccountConfigurationCommand.js +42 -0
  42. package/dist-es/commands/GetFindingsCommand.js +42 -0
  43. package/dist-es/commands/GetMetricsSummaryCommand.js +42 -0
  44. package/dist-es/commands/GetScanCommand.js +42 -0
  45. package/dist-es/commands/ListFindingsMetricsCommand.js +42 -0
  46. package/dist-es/commands/ListScansCommand.js +42 -0
  47. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  48. package/dist-es/commands/TagResourceCommand.js +42 -0
  49. package/dist-es/commands/UntagResourceCommand.js +42 -0
  50. package/dist-es/commands/UpdateAccountConfigurationCommand.js +42 -0
  51. package/dist-es/commands/index.js +13 -0
  52. package/dist-es/endpoint/EndpointParameters.js +8 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +4 -0
  55. package/dist-es/index.js +6 -0
  56. package/dist-es/models/CodeGuruSecurityServiceException.js +8 -0
  57. package/dist-es/models/index.js +1 -0
  58. package/dist-es/models/models_0.js +146 -0
  59. package/dist-es/pagination/GetFindingsPaginator.js +25 -0
  60. package/dist-es/pagination/Interfaces.js +1 -0
  61. package/dist-es/pagination/ListFindingsMetricsPaginator.js +25 -0
  62. package/dist-es/pagination/ListScansPaginator.js +25 -0
  63. package/dist-es/pagination/index.js +4 -0
  64. package/dist-es/protocols/Aws_restJson1.js +1102 -0
  65. package/dist-es/runtimeConfig.browser.js +34 -0
  66. package/dist-es/runtimeConfig.js +43 -0
  67. package/dist-es/runtimeConfig.native.js +11 -0
  68. package/dist-es/runtimeConfig.shared.js +17 -0
  69. package/dist-types/CodeGuruSecurity.d.ts +108 -0
  70. package/dist-types/CodeGuruSecurityClient.d.ts +182 -0
  71. package/dist-types/commands/BatchGetFindingsCommand.d.ts +154 -0
  72. package/dist-types/commands/CreateScanCommand.d.ts +108 -0
  73. package/dist-types/commands/CreateUploadUrlCommand.d.ts +91 -0
  74. package/dist-types/commands/GetAccountConfigurationCommand.d.ts +85 -0
  75. package/dist-types/commands/GetFindingsCommand.d.ts +153 -0
  76. package/dist-types/commands/GetMetricsSummaryCommand.d.ts +114 -0
  77. package/dist-types/commands/GetScanCommand.d.ts +93 -0
  78. package/dist-types/commands/ListFindingsMetricsCommand.d.ts +121 -0
  79. package/dist-types/commands/ListScansCommand.d.ts +96 -0
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +95 -0
  81. package/dist-types/commands/TagResourceCommand.d.ts +94 -0
  82. package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
  83. package/dist-types/commands/UpdateAccountConfigurationCommand.d.ts +92 -0
  84. package/dist-types/commands/index.d.ts +13 -0
  85. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  86. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  87. package/dist-types/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/index.d.ts +18 -0
  89. package/dist-types/models/CodeGuruSecurityServiceException.d.ts +13 -0
  90. package/dist-types/models/index.d.ts +1 -0
  91. package/dist-types/models/models_0.d.ts +1114 -0
  92. package/dist-types/pagination/GetFindingsPaginator.d.ts +7 -0
  93. package/dist-types/pagination/Interfaces.d.ts +8 -0
  94. package/dist-types/pagination/ListFindingsMetricsPaginator.d.ts +7 -0
  95. package/dist-types/pagination/ListScansPaginator.d.ts +7 -0
  96. package/dist-types/pagination/index.d.ts +4 -0
  97. package/dist-types/protocols/Aws_restJson1.d.ts +119 -0
  98. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  99. package/dist-types/runtimeConfig.d.ts +42 -0
  100. package/dist-types/runtimeConfig.native.d.ts +41 -0
  101. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  102. package/dist-types/ts3.4/CodeGuruSecurity.d.ts +228 -0
  103. package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +193 -0
  104. package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +38 -0
  105. package/dist-types/ts3.4/commands/CreateScanCommand.d.ts +35 -0
  106. package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +38 -0
  107. package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +35 -0
  109. package/dist-types/ts3.4/commands/GetMetricsSummaryCommand.d.ts +39 -0
  110. package/dist-types/ts3.4/commands/GetScanCommand.d.ts +35 -0
  111. package/dist-types/ts3.4/commands/ListFindingsMetricsCommand.d.ts +39 -0
  112. package/dist-types/ts3.4/commands/ListScansCommand.d.ts +35 -0
  113. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  114. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  116. package/dist-types/ts3.4/commands/UpdateAccountConfigurationCommand.d.ts +42 -0
  117. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  118. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  119. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  120. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  121. package/dist-types/ts3.4/index.d.ts +6 -0
  122. package/dist-types/ts3.4/models/CodeGuruSecurityServiceException.d.ts +8 -0
  123. package/dist-types/ts3.4/models/index.d.ts +1 -0
  124. package/dist-types/ts3.4/models/models_0.d.ts +340 -0
  125. package/dist-types/ts3.4/pagination/GetFindingsPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  127. package/dist-types/ts3.4/pagination/ListFindingsMetricsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/ListScansPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  130. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -0
  131. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
  132. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  133. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  134. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
  135. package/package.json +101 -0
@@ -0,0 +1,1114 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CodeGuruSecurityServiceException as __BaseException } from "./CodeGuruSecurityServiceException";
3
+ /**
4
+ * @public
5
+ * <p>You do not have sufficient access to perform this action.</p>
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * <p>The identifier for the error.</p>
12
+ */
13
+ errorCode: string | undefined;
14
+ /**
15
+ * <p>The identifier for the resource you don't have access to.</p>
16
+ */
17
+ resourceId?: string;
18
+ /**
19
+ * <p>The type of resource you don't have access to.</p>
20
+ */
21
+ resourceType?: string;
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
26
+ }
27
+ /**
28
+ * @public
29
+ * <p>The severity of the issue in the code that generated a finding.</p>
30
+ */
31
+ export interface FindingMetricsValuePerSeverity {
32
+ /**
33
+ * <p>The finding is related to quality or readability improvements and not considered
34
+ * actionable.</p>
35
+ */
36
+ info?: number;
37
+ /**
38
+ * <p>The severity of the finding is low and does require action on its own.</p>
39
+ */
40
+ low?: number;
41
+ /**
42
+ * <p>The severity of the finding is medium and should be addressed as a mid-term priority.</p>
43
+ */
44
+ medium?: number;
45
+ /**
46
+ * <p>The severity of the finding is high and should be addressed as a near-term priority.</p>
47
+ */
48
+ high?: number;
49
+ /**
50
+ * <p>The severity of the finding is critical and should be addressed immediately.</p>
51
+ */
52
+ critical?: number;
53
+ }
54
+ /**
55
+ * @public
56
+ * <p>A summary of findings metrics in an account.</p>
57
+ */
58
+ export interface AccountFindingsMetric {
59
+ /**
60
+ * <p>The date from which the finding metrics were retrieved.</p>
61
+ */
62
+ date?: Date;
63
+ /**
64
+ * <p>The number of new findings of each severity in account on the specified date.</p>
65
+ */
66
+ newFindings?: FindingMetricsValuePerSeverity;
67
+ /**
68
+ * <p>The number of closed findings of each severity in an account on the specified date.</p>
69
+ */
70
+ closedFindings?: FindingMetricsValuePerSeverity;
71
+ /**
72
+ * <p>The number of open findings of each severity in an account as of the specified date.</p>
73
+ */
74
+ openFindings?: FindingMetricsValuePerSeverity;
75
+ /**
76
+ * <p>The average time it takes to close findings of each severity in days.</p>
77
+ */
78
+ meanTimeToClose?: FindingMetricsValuePerSeverity;
79
+ }
80
+ /**
81
+ * @public
82
+ * @enum
83
+ */
84
+ export declare const AnalysisType: {
85
+ readonly ALL: "All";
86
+ readonly SECURITY: "Security";
87
+ };
88
+ /**
89
+ * @public
90
+ */
91
+ export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
92
+ /**
93
+ * @public
94
+ * <p>An object that contains information about a finding and the scan that generated it. </p>
95
+ */
96
+ export interface FindingIdentifier {
97
+ /**
98
+ * <p>The name of the scan that generated the finding. </p>
99
+ */
100
+ scanName: string | undefined;
101
+ /**
102
+ * <p>The identifier for a finding.</p>
103
+ */
104
+ findingId: string | undefined;
105
+ }
106
+ /**
107
+ * @public
108
+ */
109
+ export interface BatchGetFindingsRequest {
110
+ /**
111
+ * <p>A list of finding identifiers. Each identifier consists of a <code>scanName</code> and a
112
+ * <code>findingId</code>. You retrieve the <code>findingId</code> when you call
113
+ * <code>GetFindings</code>.</p>
114
+ */
115
+ findingIdentifiers: FindingIdentifier[] | undefined;
116
+ }
117
+ /**
118
+ * @public
119
+ * @enum
120
+ */
121
+ export declare const ErrorCode: {
122
+ readonly DUPLICATE_IDENTIFIER: "DUPLICATE_IDENTIFIER";
123
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
124
+ readonly INVALID_FINDING_ID: "INVALID_FINDING_ID";
125
+ readonly INVALID_SCAN_NAME: "INVALID_SCAN_NAME";
126
+ readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
132
+ /**
133
+ * @public
134
+ * <p>Contains information about the error that caused a finding to fail to be retrieved.</p>
135
+ */
136
+ export interface BatchGetFindingsError {
137
+ /**
138
+ * <p>The name of the scan that generated the finding.</p>
139
+ */
140
+ scanName: string | undefined;
141
+ /**
142
+ * <p>The finding ID of the finding that was not fetched.</p>
143
+ */
144
+ findingId: string | undefined;
145
+ /**
146
+ * <p>A code associated with the type of error.</p>
147
+ */
148
+ errorCode: ErrorCode | string | undefined;
149
+ /**
150
+ * <p>Describes the error.</p>
151
+ */
152
+ message: string | undefined;
153
+ }
154
+ /**
155
+ * @public
156
+ * <p>Information about the recommended course of action to remediate a finding.</p>
157
+ */
158
+ export interface Recommendation {
159
+ /**
160
+ * <p>The recommended course of action to remediate the finding.</p>
161
+ */
162
+ text?: string;
163
+ /**
164
+ * <p>The URL address to the recommendation for remediating the finding. </p>
165
+ */
166
+ url?: string;
167
+ }
168
+ /**
169
+ * @public
170
+ * <p>Information about the suggested code fix to remediate a finding.</p>
171
+ */
172
+ export interface SuggestedFix {
173
+ /**
174
+ * <p>A description of the suggested code fix and why it is being suggested. </p>
175
+ */
176
+ description?: string;
177
+ /**
178
+ * <p>The suggested code to add to your file. </p>
179
+ */
180
+ code?: string;
181
+ }
182
+ /**
183
+ * @public
184
+ * <p>Information about how to remediate a finding.</p>
185
+ */
186
+ export interface Remediation {
187
+ /**
188
+ * <p>An object that contains information about the recommended course of action to remediate a finding.</p>
189
+ */
190
+ recommendation?: Recommendation;
191
+ /**
192
+ * <p>A list of <code>SuggestedFix</code> objects. Each object contains information about a suggested code
193
+ * fix to remediate the finding.</p>
194
+ */
195
+ suggestedFixes?: SuggestedFix[];
196
+ }
197
+ /**
198
+ * @public
199
+ * <p>Information about a resource, such as an Amazon S3 bucket or AWS Lambda function, that
200
+ * contains a finding.</p>
201
+ */
202
+ export interface Resource {
203
+ /**
204
+ * <p>The identifier for the resource.</p>
205
+ */
206
+ id?: string;
207
+ /**
208
+ * <p>The identifier for a section of the resource, such as an AWS Lambda layer.</p>
209
+ */
210
+ subResourceId?: string;
211
+ }
212
+ /**
213
+ * @public
214
+ * @enum
215
+ */
216
+ export declare const Severity: {
217
+ readonly CRITICAL: "Critical";
218
+ readonly HIGH: "High";
219
+ readonly INFO: "Info";
220
+ readonly LOW: "Low";
221
+ readonly MEDIUM: "Medium";
222
+ };
223
+ /**
224
+ * @public
225
+ */
226
+ export type Severity = (typeof Severity)[keyof typeof Severity];
227
+ /**
228
+ * @public
229
+ * @enum
230
+ */
231
+ export declare const Status: {
232
+ readonly ALL: "All";
233
+ readonly CLOSED: "Closed";
234
+ readonly OPEN: "Open";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type Status = (typeof Status)[keyof typeof Status];
240
+ /**
241
+ * @public
242
+ * <p>The line of code where a finding was detected.</p>
243
+ */
244
+ export interface CodeLine {
245
+ /**
246
+ * <p>The code line number.</p>
247
+ */
248
+ number?: number;
249
+ /**
250
+ * <p>The code that contains a vulnerability.</p>
251
+ */
252
+ content?: string;
253
+ }
254
+ /**
255
+ * @public
256
+ * <p>Information about the location of security vulnerabilities that Amazon CodeGuru Security
257
+ * detected in your code.</p>
258
+ */
259
+ export interface FilePath {
260
+ /**
261
+ * <p>The name of the file.</p>
262
+ */
263
+ name?: string;
264
+ /**
265
+ * <p>The path to the resource with the security vulnerability.</p>
266
+ */
267
+ path?: string;
268
+ /**
269
+ * <p>The first line number of the code snippet where the security vulnerability appears in your code.</p>
270
+ */
271
+ startLine?: number;
272
+ /**
273
+ * <p>The last line number of the code snippet where the security vulnerability appears in your
274
+ * code.</p>
275
+ */
276
+ endLine?: number;
277
+ /**
278
+ * <p>A list of <code>CodeLine</code> objects that describe where the security vulnerability
279
+ * appears in your code.</p>
280
+ */
281
+ codeSnippet?: CodeLine[];
282
+ }
283
+ /**
284
+ * @public
285
+ * <p>Information about a security vulnerability that Amazon CodeGuru Security detected.</p>
286
+ */
287
+ export interface Vulnerability {
288
+ /**
289
+ * <p>One or more URL addresses that contain details about a vulnerability.</p>
290
+ */
291
+ referenceUrls?: string[];
292
+ /**
293
+ * <p>One or more vulnerabilities that are related to the vulnerability being described.</p>
294
+ */
295
+ relatedVulnerabilities?: string[];
296
+ /**
297
+ * <p>The identifier for the vulnerability.</p>
298
+ */
299
+ id?: string;
300
+ /**
301
+ * <p> An object that describes the location of the detected security vulnerability in your
302
+ * code.</p>
303
+ */
304
+ filePath?: FilePath;
305
+ /**
306
+ * <p> The number of times the vulnerability appears in your code.</p>
307
+ */
308
+ itemCount?: number;
309
+ }
310
+ /**
311
+ * @public
312
+ * <p>Information about a finding that was detected in your code.</p>
313
+ */
314
+ export interface Finding {
315
+ /**
316
+ * <p>The time when the finding was created.</p>
317
+ */
318
+ createdAt?: Date;
319
+ /**
320
+ * <p>A description of the finding.</p>
321
+ */
322
+ description?: string;
323
+ /**
324
+ * <p>The identifier for the component that generated a finding such as AWSCodeGuruSecurity or
325
+ * AWSInspector.</p>
326
+ */
327
+ generatorId?: string;
328
+ /**
329
+ * <p>The identifier for a finding.</p>
330
+ */
331
+ id?: string;
332
+ /**
333
+ * <p>The time when the finding was last updated. Findings are updated when you remediate them
334
+ * or when the finding code location changes. </p>
335
+ */
336
+ updatedAt?: Date;
337
+ /**
338
+ * <p>The type of finding. </p>
339
+ */
340
+ type?: string;
341
+ /**
342
+ * <p>The status of the finding. A finding status can be open or closed. </p>
343
+ */
344
+ status?: Status | string;
345
+ /**
346
+ * <p>The resource where Amazon CodeGuru Security detected a finding.</p>
347
+ */
348
+ resource?: Resource;
349
+ /**
350
+ * <p>An object that describes the detected security vulnerability.</p>
351
+ */
352
+ vulnerability?: Vulnerability;
353
+ /**
354
+ * <p>The severity of the finding.</p>
355
+ */
356
+ severity?: Severity | string;
357
+ /**
358
+ * <p>An object that contains the details about how to remediate a finding.</p>
359
+ */
360
+ remediation?: Remediation;
361
+ /**
362
+ * <p>The title of the finding.</p>
363
+ */
364
+ title?: string;
365
+ /**
366
+ * <p>One or more tags or categorizations that are associated with a detector. These tags are
367
+ * defined by type, programming language, or other classification such as maintainability or
368
+ * consistency.</p>
369
+ */
370
+ detectorTags?: string[];
371
+ /**
372
+ * <p>The identifier for the detector that detected the finding in your code. A detector is a
373
+ * defined rule based on industry standards and AWS best practices. </p>
374
+ */
375
+ detectorId?: string;
376
+ /**
377
+ * <p>The name of the detector that identified the security vulnerability in your code. </p>
378
+ */
379
+ detectorName?: string;
380
+ /**
381
+ * <p>The identifier for the rule that generated the finding.</p>
382
+ */
383
+ ruleId?: string;
384
+ }
385
+ /**
386
+ * @public
387
+ */
388
+ export interface BatchGetFindingsResponse {
389
+ /**
390
+ * <p> A list of all requested findings.</p>
391
+ */
392
+ findings: Finding[] | undefined;
393
+ /**
394
+ * <p>A list of errors for individual findings which were not fetched. Each
395
+ * BatchGetFindingsError contains the <code>scanName</code>, <code>findingId</code>,
396
+ * <code>errorCode</code> and error <code>message</code>.</p>
397
+ */
398
+ failedFindings: BatchGetFindingsError[] | undefined;
399
+ }
400
+ /**
401
+ * @public
402
+ * <p>The server encountered an internal error and is unable to complete the request.</p>
403
+ */
404
+ export declare class InternalServerException extends __BaseException {
405
+ readonly name: "InternalServerException";
406
+ readonly $fault: "server";
407
+ $retryable: {};
408
+ /**
409
+ * <p>The internal error encountered by the server.</p>
410
+ */
411
+ error?: string;
412
+ /**
413
+ * @internal
414
+ */
415
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
416
+ }
417
+ /**
418
+ * @public
419
+ * <p>The request was denied due to request throttling.</p>
420
+ */
421
+ export declare class ThrottlingException extends __BaseException {
422
+ readonly name: "ThrottlingException";
423
+ readonly $fault: "client";
424
+ $retryable: {
425
+ throttling: boolean;
426
+ };
427
+ /**
428
+ * <p>The identifier for the error.</p>
429
+ */
430
+ errorCode: string | undefined;
431
+ /**
432
+ * <p>The identifier for the originating service.</p>
433
+ */
434
+ serviceCode?: string;
435
+ /**
436
+ * <p>The identifier for the originating quota.</p>
437
+ */
438
+ quotaCode?: string;
439
+ /**
440
+ * @internal
441
+ */
442
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
443
+ }
444
+ /**
445
+ * @public
446
+ * <p>Information about a validation exception.</p>
447
+ */
448
+ export interface ValidationExceptionField {
449
+ /**
450
+ * <p>The name of the exception.</p>
451
+ */
452
+ name: string | undefined;
453
+ /**
454
+ * <p>Describes the exception.</p>
455
+ */
456
+ message: string | undefined;
457
+ }
458
+ /**
459
+ * @public
460
+ * @enum
461
+ */
462
+ export declare const ValidationExceptionReason: {
463
+ readonly CANNOT_PARSE: "cannotParse";
464
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
465
+ readonly LAMBDA_CODE_SHA_MISMATCH: "lambdaCodeShaMisMatch";
466
+ readonly OTHER: "other";
467
+ readonly UNKNOWN_OPERATION: "unknownOperation";
468
+ };
469
+ /**
470
+ * @public
471
+ */
472
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
473
+ /**
474
+ * @public
475
+ * <p>The input fails to satisfy the specified constraints.</p>
476
+ */
477
+ export declare class ValidationException extends __BaseException {
478
+ readonly name: "ValidationException";
479
+ readonly $fault: "client";
480
+ /**
481
+ * <p>The identifier for the error.</p>
482
+ */
483
+ errorCode: string | undefined;
484
+ /**
485
+ * <p>The reason the request failed validation.</p>
486
+ */
487
+ reason: ValidationExceptionReason | string | undefined;
488
+ /**
489
+ * <p>The field that caused the error, if applicable.</p>
490
+ */
491
+ fieldList?: ValidationExceptionField[];
492
+ /**
493
+ * @internal
494
+ */
495
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
496
+ }
497
+ /**
498
+ * @public
499
+ * <p>The requested operation would cause a conflict with the current state of a service
500
+ * resource associated with the request. Resolve the conflict before retrying this
501
+ * request.</p>
502
+ */
503
+ export declare class ConflictException extends __BaseException {
504
+ readonly name: "ConflictException";
505
+ readonly $fault: "client";
506
+ /**
507
+ * <p>The identifier for the error.</p>
508
+ */
509
+ errorCode: string | undefined;
510
+ /**
511
+ * <p>The identifier for the service resource associated with the request.</p>
512
+ */
513
+ resourceId: string | undefined;
514
+ /**
515
+ * <p>The type of resource associated with the request.</p>
516
+ */
517
+ resourceType: string | undefined;
518
+ /**
519
+ * @internal
520
+ */
521
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
522
+ }
523
+ /**
524
+ * @public
525
+ * <p>The identifier for a resource object that contains resources where a finding was detected.</p>
526
+ */
527
+ export type ResourceId = ResourceId.CodeArtifactIdMember | ResourceId.$UnknownMember;
528
+ /**
529
+ * @public
530
+ */
531
+ export declare namespace ResourceId {
532
+ /**
533
+ * <p>The identifier for the code file uploaded to the resource where a finding was detected.</p>
534
+ */
535
+ interface CodeArtifactIdMember {
536
+ codeArtifactId: string;
537
+ $unknown?: never;
538
+ }
539
+ interface $UnknownMember {
540
+ codeArtifactId?: never;
541
+ $unknown: [string, any];
542
+ }
543
+ interface Visitor<T> {
544
+ codeArtifactId: (value: string) => T;
545
+ _: (name: string, value: any) => T;
546
+ }
547
+ const visit: <T>(value: ResourceId, visitor: Visitor<T>) => T;
548
+ }
549
+ /**
550
+ * @public
551
+ * @enum
552
+ */
553
+ export declare const ScanType: {
554
+ readonly EXPRESS: "Express";
555
+ readonly STANDARD: "Standard";
556
+ };
557
+ /**
558
+ * @public
559
+ */
560
+ export type ScanType = (typeof ScanType)[keyof typeof ScanType];
561
+ /**
562
+ * @public
563
+ */
564
+ export interface CreateScanRequest {
565
+ /**
566
+ * <p>The idempotency token for the request. Amazon CodeGuru Security uses this value to prevent
567
+ * the accidental creation of duplicate scans if there are failures and retries.</p>
568
+ */
569
+ clientToken?: string;
570
+ /**
571
+ * <p>The identifier for an input resource used to create a scan.</p>
572
+ */
573
+ resourceId: ResourceId | undefined;
574
+ /**
575
+ * <p>The unique name that CodeGuru Security uses to track revisions across multiple
576
+ * scans of the same resource. Only allowed for a <code>STANDARD</code> scan type. If not
577
+ * specified, it will be auto generated. </p>
578
+ */
579
+ scanName: string | undefined;
580
+ /**
581
+ * <p>The type of scan, either <code>Standard</code> or <code>Express</code>. Defaults to
582
+ * <code>Standard</code> type if missing.</p>
583
+ * <p>
584
+ * <code>Express</code> scans run on limited resources and use a limited set of detectors to
585
+ * analyze your code in near-real time. <code>Standard</code> scans have standard resource limits
586
+ * and use the full set of detectors to analyze your code.</p>
587
+ */
588
+ scanType?: ScanType | string;
589
+ /**
590
+ * <p>The type of analysis you want CodeGuru Security to perform in the scan, either
591
+ * <code>Security</code> or <code>All</code>. The <code>Secuirty</code> type only generates
592
+ * findings related to security. The <code>All</code> type generates both security findings and
593
+ * quality findings. Defaults to <code>Security</code> type if missing.</p>
594
+ */
595
+ analysisType?: AnalysisType | string;
596
+ /**
597
+ * <p>An array of key-value pairs used to tag a scan. A tag is a custom attribute
598
+ * label with two parts:</p>
599
+ * <ul>
600
+ * <li>
601
+ * <p>A tag key. For example, <code>CostCenter</code>, <code>Environment</code>, or
602
+ * <code>Secret</code>. Tag keys are case sensitive.</p>
603
+ * </li>
604
+ * <li>
605
+ * <p>An optional tag value field. For example, <code>111122223333</code>,
606
+ * <code>Production</code>, or a team name. Omitting the tag value is the same as using an
607
+ * empty string. Tag values are case sensitive.</p>
608
+ * </li>
609
+ * </ul>
610
+ */
611
+ tags?: Record<string, string>;
612
+ }
613
+ /**
614
+ * @public
615
+ * @enum
616
+ */
617
+ export declare const ScanState: {
618
+ readonly FAILED: "Failed";
619
+ readonly IN_PROGRESS: "InProgress";
620
+ readonly SUCCESSFUL: "Successful";
621
+ };
622
+ /**
623
+ * @public
624
+ */
625
+ export type ScanState = (typeof ScanState)[keyof typeof ScanState];
626
+ /**
627
+ * @public
628
+ */
629
+ export interface CreateScanResponse {
630
+ /**
631
+ * <p>The name of the scan.</p>
632
+ */
633
+ scanName: string | undefined;
634
+ /**
635
+ * <p>UUID that identifies the individual scan run.</p>
636
+ */
637
+ runId: string | undefined;
638
+ /**
639
+ * <p>The identifier for the resource object that contains resources that were scanned.</p>
640
+ */
641
+ resourceId: ResourceId | undefined;
642
+ /**
643
+ * <p>The current state of the scan. Returns either <code>InProgress</code>,
644
+ * <code>Successful</code>, or <code>Failed</code>.</p>
645
+ */
646
+ scanState: ScanState | string | undefined;
647
+ /**
648
+ * <p>The ARN for the scan name.</p>
649
+ */
650
+ scanNameArn?: string;
651
+ }
652
+ /**
653
+ * @public
654
+ * <p>The resource specified in the request was not found.</p>
655
+ */
656
+ export declare class ResourceNotFoundException extends __BaseException {
657
+ readonly name: "ResourceNotFoundException";
658
+ readonly $fault: "client";
659
+ /**
660
+ * <p>The identifier for the error.</p>
661
+ */
662
+ errorCode: string | undefined;
663
+ /**
664
+ * <p>The identifier for the resource that was not found.</p>
665
+ */
666
+ resourceId: string | undefined;
667
+ /**
668
+ * <p>The type of resource that was not found.</p>
669
+ */
670
+ resourceType: string | undefined;
671
+ /**
672
+ * @internal
673
+ */
674
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
675
+ }
676
+ /**
677
+ * @public
678
+ */
679
+ export interface CreateUploadUrlRequest {
680
+ /**
681
+ * <p>The name of the scan that will use the uploaded resource. CodeGuru Security uses the
682
+ * unique scan name to track revisions across multiple scans of the same resource. Use this
683
+ * <code>scanName</code> when you call <code>CreateScan</code> on the code resource you upload to this URL.</p>
684
+ */
685
+ scanName: string | undefined;
686
+ }
687
+ /**
688
+ * @public
689
+ */
690
+ export interface CreateUploadUrlResponse {
691
+ /**
692
+ * <p>A pre-signed S3 URL. You can upload the code file you want to scan and add the required
693
+ * <code>requestHeaders</code> using any HTTP client.</p>
694
+ */
695
+ s3Url: string | undefined;
696
+ /**
697
+ * <p>A set of key-value pairs that contain the required headers when uploading your
698
+ * resource.</p>
699
+ */
700
+ requestHeaders: Record<string, string> | undefined;
701
+ /**
702
+ * <p>The identifier for the uploaded code resource. </p>
703
+ */
704
+ codeArtifactId: string | undefined;
705
+ }
706
+ /**
707
+ * @public
708
+ */
709
+ export interface GetAccountConfigurationRequest {
710
+ }
711
+ /**
712
+ * @public
713
+ * <p>Information about account-level configuration.</p>
714
+ */
715
+ export interface EncryptionConfig {
716
+ /**
717
+ * <p>The KMS key ARN to use for encryption. This must be provided as a header when uploading
718
+ * your code resource.</p>
719
+ */
720
+ kmsKeyArn?: string;
721
+ }
722
+ /**
723
+ * @public
724
+ */
725
+ export interface GetAccountConfigurationResponse {
726
+ /**
727
+ * <p>An <code>EncryptionConfig</code> object that contains the KMS key ARN to use for
728
+ * encryption. By default, CodeGuru Security uses an AWS-managed key for encryption. To specify
729
+ * your own key, call <code>UpdateAccountConfiguration</code>.</p>
730
+ */
731
+ encryptionConfig: EncryptionConfig | undefined;
732
+ }
733
+ /**
734
+ * @public
735
+ */
736
+ export interface GetFindingsRequest {
737
+ /**
738
+ * <p>The name of the scan you want to retrieve findings from.</p>
739
+ */
740
+ scanName: string | undefined;
741
+ /**
742
+ * <p>A token to use for paginating results that are returned in the response. Set the value of
743
+ * this parameter to null for the first request. For subsequent calls, use the <code>nextToken</code> value
744
+ * returned from the previous request to continue listing results after the first page.</p>
745
+ */
746
+ nextToken?: string;
747
+ /**
748
+ * <p>The maximum number of results to return in the response. Use this parameter when
749
+ * paginating results. If additional results exist beyond the number you specify, the <code>nextToken</code>
750
+ * element is returned in the response. Use <code>nextToken</code> in a subsequent request to retrieve
751
+ * additional results.</p>
752
+ */
753
+ maxResults?: number;
754
+ /**
755
+ * <p>The status of the findings you want to get. Pass either <code>Open</code>,
756
+ * <code>Closed</code>, or <code>All</code>.</p>
757
+ */
758
+ status?: Status | string;
759
+ }
760
+ /**
761
+ * @public
762
+ */
763
+ export interface GetFindingsResponse {
764
+ /**
765
+ * <p>A list of findings generated by the specified scan.</p>
766
+ */
767
+ findings?: Finding[];
768
+ /**
769
+ * <p>A pagination token. You can use this in future calls to <code>GetFindings</code> to continue listing
770
+ * results after the current page. </p>
771
+ */
772
+ nextToken?: string;
773
+ }
774
+ /**
775
+ * @public
776
+ */
777
+ export interface GetMetricsSummaryRequest {
778
+ /**
779
+ * <p>The date you want to retrieve summary metrics from, rounded to the nearest day. The date
780
+ * must be within the past two years since metrics data is only stored for two years. If a date
781
+ * outside of this range is passed, the response will be empty.</p>
782
+ */
783
+ date: Date | undefined;
784
+ }
785
+ /**
786
+ * @public
787
+ * <p>Information about a finding category with open findings.</p>
788
+ */
789
+ export interface CategoryWithFindingNum {
790
+ /**
791
+ * <p>The name of the finding category. A finding category is determined by the detector that
792
+ * detected the finding.</p>
793
+ */
794
+ categoryName?: string;
795
+ /**
796
+ * <p>The number of open findings in the category.</p>
797
+ */
798
+ findingNumber?: number;
799
+ }
800
+ /**
801
+ * @public
802
+ * <p>Information about a scan with open findings.</p>
803
+ */
804
+ export interface ScanNameWithFindingNum {
805
+ /**
806
+ * <p>The name of the scan.</p>
807
+ */
808
+ scanName?: string;
809
+ /**
810
+ * <p>The number of open findings generated by a scan.</p>
811
+ */
812
+ findingNumber?: number;
813
+ }
814
+ /**
815
+ * @public
816
+ * <p>Information about summary metrics in an account.</p>
817
+ */
818
+ export interface MetricsSummary {
819
+ /**
820
+ * <p>The date from which the metrics summary information was retrieved.</p>
821
+ */
822
+ date?: Date;
823
+ /**
824
+ * <p>The number of open findings of each severity in an account.</p>
825
+ */
826
+ openFindings?: FindingMetricsValuePerSeverity;
827
+ /**
828
+ * <p>A list of <code>CategoryWithFindingNum</code> objects for the top 5 finding categories
829
+ * with the most open findings in an account.</p>
830
+ */
831
+ categoriesWithMostFindings?: CategoryWithFindingNum[];
832
+ /**
833
+ * <p>A list of <code>ScanNameWithFindingNum</code> objects for the top 3 scans with the most
834
+ * number of open critical findings in an account.</p>
835
+ */
836
+ scansWithMostOpenFindings?: ScanNameWithFindingNum[];
837
+ /**
838
+ * <p>A list of <code>ScanNameWithFindingNum</code> objects for the top 3 scans with the most
839
+ * number of open findings in an account.</p>
840
+ */
841
+ scansWithMostOpenCriticalFindings?: ScanNameWithFindingNum[];
842
+ }
843
+ /**
844
+ * @public
845
+ */
846
+ export interface GetMetricsSummaryResponse {
847
+ /**
848
+ * <p>The summary metrics from the specified date.</p>
849
+ */
850
+ metricsSummary?: MetricsSummary;
851
+ }
852
+ /**
853
+ * @public
854
+ */
855
+ export interface GetScanRequest {
856
+ /**
857
+ * <p>The name of the scan you want to view details about.</p>
858
+ */
859
+ scanName: string | undefined;
860
+ /**
861
+ * <p>UUID that identifies the individual scan run you want to view details about. You retrieve
862
+ * this when you call the <code>CreateScan</code> operation. Defaults to the latest scan run if missing.</p>
863
+ */
864
+ runId?: string;
865
+ }
866
+ /**
867
+ * @public
868
+ */
869
+ export interface GetScanResponse {
870
+ /**
871
+ * <p>The name of the scan.</p>
872
+ */
873
+ scanName: string | undefined;
874
+ /**
875
+ * <p>UUID that identifies the individual scan run.</p>
876
+ */
877
+ runId: string | undefined;
878
+ /**
879
+ * <p>The current state of the scan. Pass either <code>InProgress</code>,
880
+ * <code>Successful</code>, or <code>Failed</code>.</p>
881
+ */
882
+ scanState: ScanState | string | undefined;
883
+ /**
884
+ * <p>The time the scan was created.</p>
885
+ */
886
+ createdAt: Date | undefined;
887
+ /**
888
+ * <p>The type of analysis CodeGuru Security performed in the scan, either
889
+ * <code>Security</code> or <code>All</code>. The <code>Security</code> type only generates
890
+ * findings related to security. The <code>All</code> type generates both security findings and
891
+ * quality findings.</p>
892
+ */
893
+ analysisType: AnalysisType | string | undefined;
894
+ /**
895
+ * <p>The time when the scan was last updated. Only available for <code>STANDARD</code> scan types.</p>
896
+ */
897
+ updatedAt?: Date;
898
+ /**
899
+ * <p>The number of times a scan has been re-run on a revised resource.</p>
900
+ */
901
+ numberOfRevisions?: number;
902
+ /**
903
+ * <p>The ARN for the scan name.</p>
904
+ */
905
+ scanNameArn?: string;
906
+ }
907
+ /**
908
+ * @public
909
+ */
910
+ export interface ListFindingsMetricsRequest {
911
+ /**
912
+ * <p>A token to use for paginating results that are returned in the response. Set the
913
+ * value of this parameter to null for the first request. For subsequent calls, use the <code>nextToken</code>
914
+ * value returned from the previous request to continue listing results after the first
915
+ * page.</p>
916
+ */
917
+ nextToken?: string;
918
+ /**
919
+ * <p>The maximum number of results to return in the response. Use this parameter when
920
+ * paginating results. If additional results exist beyond the number you specify, the <code>nextToken</code>
921
+ * element is returned in the response. Use <code>nextToken</code> in a subsequent request to retrieve
922
+ * additional results.</p>
923
+ */
924
+ maxResults?: number;
925
+ /**
926
+ * <p>The start date of the interval which you want to retrieve metrics from.</p>
927
+ */
928
+ startDate: Date | undefined;
929
+ /**
930
+ * <p>The end date of the interval which you want to retrieve metrics from.</p>
931
+ */
932
+ endDate: Date | undefined;
933
+ }
934
+ /**
935
+ * @public
936
+ */
937
+ export interface ListFindingsMetricsResponse {
938
+ /**
939
+ * <p>A list of <code>AccountFindingsMetric</code> objects retrieved from the specified time interval.</p>
940
+ */
941
+ findingsMetrics?: AccountFindingsMetric[];
942
+ /**
943
+ * <p>A pagination token. You can use this in future calls to <code>ListFindingMetrics</code> to continue
944
+ * listing results after the current page. </p>
945
+ */
946
+ nextToken?: string;
947
+ }
948
+ /**
949
+ * @public
950
+ */
951
+ export interface ListScansRequest {
952
+ /**
953
+ * <p>A token to use for paginating results that are returned in the response. Set the value of
954
+ * this parameter to null for the first request. For subsequent calls, use the <code>nextToken</code> value
955
+ * returned from the previous request to continue listing results after the first page.</p>
956
+ */
957
+ nextToken?: string;
958
+ /**
959
+ * <p>The maximum number of results to return in the response. Use this parameter when
960
+ * paginating results. If additional results exist beyond the number you specify, the <code>nextToken</code>
961
+ * element is returned in the response. Use <code>nextToken</code> in a subsequent request to retrieve
962
+ * additional results.</p>
963
+ */
964
+ maxResults?: number;
965
+ }
966
+ /**
967
+ * @public
968
+ * <p>Information about a scan. </p>
969
+ */
970
+ export interface ScanSummary {
971
+ /**
972
+ * <p>The state of the scan. A scan can be <code>In Progress</code>,
973
+ * <code>Complete</code>, or <code>Failed</code>. </p>
974
+ */
975
+ scanState: ScanState | string | undefined;
976
+ /**
977
+ * <p> The time when the scan was created. </p>
978
+ */
979
+ createdAt: Date | undefined;
980
+ /**
981
+ * <p>The time the scan was last updated. A scan is updated when it is re-run.</p>
982
+ */
983
+ updatedAt?: Date;
984
+ /**
985
+ * <p>The name of the scan. </p>
986
+ */
987
+ scanName: string | undefined;
988
+ /**
989
+ * <p>The identifier for the scan run. </p>
990
+ */
991
+ runId: string | undefined;
992
+ /**
993
+ * <p>The ARN for the scan name.</p>
994
+ */
995
+ scanNameArn?: string;
996
+ }
997
+ /**
998
+ * @public
999
+ */
1000
+ export interface ListScansResponse {
1001
+ /**
1002
+ * <p>A list of <code>ScanSummary</code> objects with information about all scans in an account.</p>
1003
+ */
1004
+ summaries?: ScanSummary[];
1005
+ /**
1006
+ * <p>A pagination token. You can use this in future calls to <code>ListScans</code> to continue listing
1007
+ * results after the current page.</p>
1008
+ */
1009
+ nextToken?: string;
1010
+ }
1011
+ /**
1012
+ * @public
1013
+ */
1014
+ export interface ListTagsForResourceRequest {
1015
+ /**
1016
+ * <p>The ARN of the <code>ScanName</code> object. You can retrieve this ARN by calling
1017
+ * <code>ListScans</code> or <code>GetScan</code>.</p>
1018
+ */
1019
+ resourceArn: string | undefined;
1020
+ }
1021
+ /**
1022
+ * @public
1023
+ */
1024
+ export interface ListTagsForResourceResponse {
1025
+ /**
1026
+ * <p>An array of key-value pairs used to tag an existing scan. A tag is a custom attribute
1027
+ * label with two parts:</p>
1028
+ * <ul>
1029
+ * <li>
1030
+ * <p>A tag key. For example, <code>CostCenter</code>, <code>Environment</code>, or
1031
+ * <code>Secret</code>. Tag keys are case sensitive.</p>
1032
+ * </li>
1033
+ * <li>
1034
+ * <p>An optional tag value field. For example, <code>111122223333</code>,
1035
+ * <code>Production</code>, or a team name. Omitting the tag value is the same as using an
1036
+ * empty string. Tag values are case sensitive.</p>
1037
+ * </li>
1038
+ * </ul>
1039
+ */
1040
+ tags?: Record<string, string>;
1041
+ }
1042
+ /**
1043
+ * @public
1044
+ */
1045
+ export interface TagResourceRequest {
1046
+ /**
1047
+ * <p>The ARN of the <code>ScanName</code> object. You can retrieve this ARN by calling
1048
+ * <code>ListScans</code> or <code>GetScan</code>.</p>
1049
+ */
1050
+ resourceArn: string | undefined;
1051
+ /**
1052
+ * <p>An array of key-value pairs used to tag an existing scan. A tag is a custom attribute
1053
+ * label with two parts:</p>
1054
+ * <ul>
1055
+ * <li>
1056
+ * <p>A tag key. For example, <code>CostCenter</code>, <code>Environment</code>, or
1057
+ * <code>Secret</code>. Tag keys are case sensitive.</p>
1058
+ * </li>
1059
+ * <li>
1060
+ * <p>An optional tag value field. For example, <code>111122223333</code>,
1061
+ * <code>Production</code>, or a team name. Omitting the tag value is the same as using an
1062
+ * empty string. Tag values are case sensitive.</p>
1063
+ * </li>
1064
+ * </ul>
1065
+ */
1066
+ tags: Record<string, string> | undefined;
1067
+ }
1068
+ /**
1069
+ * @public
1070
+ */
1071
+ export interface TagResourceResponse {
1072
+ }
1073
+ /**
1074
+ * @public
1075
+ */
1076
+ export interface UntagResourceRequest {
1077
+ /**
1078
+ * <p>The ARN of the <code>ScanName</code> object. You can retrieve this ARN by calling
1079
+ * <code>ListScans</code> or <code>GetScan</code>.</p>
1080
+ */
1081
+ resourceArn: string | undefined;
1082
+ /**
1083
+ * <p>A list of keys for each tag you want to remove from a scan.</p>
1084
+ */
1085
+ tagKeys: string[] | undefined;
1086
+ }
1087
+ /**
1088
+ * @public
1089
+ */
1090
+ export interface UntagResourceResponse {
1091
+ }
1092
+ /**
1093
+ * @public
1094
+ */
1095
+ export interface UpdateAccountConfigurationRequest {
1096
+ /**
1097
+ * <p>The KMS key ARN you want to use for encryption. Defaults to service-side encryption if missing.</p>
1098
+ */
1099
+ encryptionConfig: EncryptionConfig | undefined;
1100
+ }
1101
+ /**
1102
+ * @public
1103
+ */
1104
+ export interface UpdateAccountConfigurationResponse {
1105
+ /**
1106
+ * <p>An <code>EncryptionConfig</code> object that contains the KMS key ARN to use for
1107
+ * encryption.</p>
1108
+ */
1109
+ encryptionConfig: EncryptionConfig | undefined;
1110
+ }
1111
+ /**
1112
+ * @internal
1113
+ */
1114
+ export declare const CreateUploadUrlResponseFilterSensitiveLog: (obj: CreateUploadUrlResponse) => any;