@aws-sdk/client-inspector 3.934.0 → 3.936.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.
@@ -1,45 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
3
- /**
4
- * @public
5
- * @enum
6
- */
7
- export declare const AccessDeniedErrorCode: {
8
- readonly ACCESS_DENIED_TO_ASSESSMENT_RUN: "ACCESS_DENIED_TO_ASSESSMENT_RUN";
9
- readonly ACCESS_DENIED_TO_ASSESSMENT_TARGET: "ACCESS_DENIED_TO_ASSESSMENT_TARGET";
10
- readonly ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE: "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE";
11
- readonly ACCESS_DENIED_TO_FINDING: "ACCESS_DENIED_TO_FINDING";
12
- readonly ACCESS_DENIED_TO_IAM_ROLE: "ACCESS_DENIED_TO_IAM_ROLE";
13
- readonly ACCESS_DENIED_TO_RESOURCE_GROUP: "ACCESS_DENIED_TO_RESOURCE_GROUP";
14
- readonly ACCESS_DENIED_TO_RULES_PACKAGE: "ACCESS_DENIED_TO_RULES_PACKAGE";
15
- readonly ACCESS_DENIED_TO_SNS_TOPIC: "ACCESS_DENIED_TO_SNS_TOPIC";
16
- };
17
- /**
18
- * @public
19
- */
20
- export type AccessDeniedErrorCode = (typeof AccessDeniedErrorCode)[keyof typeof AccessDeniedErrorCode];
21
- /**
22
- * <p>You do not have required permissions to access the requested resource.</p>
23
- * @public
24
- */
25
- export declare class AccessDeniedException extends __BaseException {
26
- readonly name: "AccessDeniedException";
27
- readonly $fault: "client";
28
- /**
29
- * <p>Code that indicates the type of error that is generated.</p>
30
- * @public
31
- */
32
- errorCode: AccessDeniedErrorCode | undefined;
33
- /**
34
- * <p>You can immediately retry your request.</p>
35
- * @public
36
- */
37
- canRetry: boolean | undefined;
38
- /**
39
- * @internal
40
- */
41
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
42
- }
1
+ import { AgentHealth, AgentHealthCode, AssessmentRunNotificationSnsStatusCode, AssessmentRunState, AssetType, FailedItemErrorCode, InspectorEvent, Locale, PreviewStatus, ReportFileFormat, ReportStatus, ReportType, ScopeType, Severity, StopAction } from "./enums";
43
2
  /**
44
3
  * <p>This data type is used as a request parameter in the <a>AddAttributesToFindings</a> and <a>CreateAssessmentTemplate</a>
45
4
  * actions.</p>
@@ -72,22 +31,6 @@ export interface AddAttributesToFindingsRequest {
72
31
  */
73
32
  attributes: Attribute[] | undefined;
74
33
  }
75
- /**
76
- * @public
77
- * @enum
78
- */
79
- export declare const FailedItemErrorCode: {
80
- readonly ACCESS_DENIED: "ACCESS_DENIED";
81
- readonly DUPLICATE_ARN: "DUPLICATE_ARN";
82
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
83
- readonly INVALID_ARN: "INVALID_ARN";
84
- readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
85
- readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
86
- };
87
- /**
88
- * @public
89
- */
90
- export type FailedItemErrorCode = (typeof FailedItemErrorCode)[keyof typeof FailedItemErrorCode];
91
34
  /**
92
35
  * <p>Includes details about the failed items.</p>
93
36
  * @public
@@ -116,168 +59,6 @@ export interface AddAttributesToFindingsResponse {
116
59
  */
117
60
  failedItems: Record<string, FailedItemDetails> | undefined;
118
61
  }
119
- /**
120
- * <p>Internal server error.</p>
121
- * @public
122
- */
123
- export declare class InternalException extends __BaseException {
124
- readonly name: "InternalException";
125
- readonly $fault: "server";
126
- /**
127
- * <p>You can immediately retry your request.</p>
128
- * @public
129
- */
130
- canRetry: boolean | undefined;
131
- /**
132
- * @internal
133
- */
134
- constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
135
- }
136
- /**
137
- * @public
138
- * @enum
139
- */
140
- export declare const InvalidInputErrorCode: {
141
- readonly ASSESSMENT_TARGET_NAME_ALREADY_TAKEN: "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN";
142
- readonly ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN: "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN";
143
- readonly INVALID_AGENT_ID: "INVALID_AGENT_ID";
144
- readonly INVALID_ASSESSMENT_RUN_ARN: "INVALID_ASSESSMENT_RUN_ARN";
145
- readonly INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE: "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE";
146
- readonly INVALID_ASSESSMENT_RUN_DURATION_RANGE: "INVALID_ASSESSMENT_RUN_DURATION_RANGE";
147
- readonly INVALID_ASSESSMENT_RUN_START_TIME_RANGE: "INVALID_ASSESSMENT_RUN_START_TIME_RANGE";
148
- readonly INVALID_ASSESSMENT_RUN_STATE: "INVALID_ASSESSMENT_RUN_STATE";
149
- readonly INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE: "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE";
150
- readonly INVALID_ASSESSMENT_TARGET_ARN: "INVALID_ASSESSMENT_TARGET_ARN";
151
- readonly INVALID_ASSESSMENT_TARGET_NAME: "INVALID_ASSESSMENT_TARGET_NAME";
152
- readonly INVALID_ASSESSMENT_TARGET_NAME_PATTERN: "INVALID_ASSESSMENT_TARGET_NAME_PATTERN";
153
- readonly INVALID_ASSESSMENT_TEMPLATE_ARN: "INVALID_ASSESSMENT_TEMPLATE_ARN";
154
- readonly INVALID_ASSESSMENT_TEMPLATE_DURATION: "INVALID_ASSESSMENT_TEMPLATE_DURATION";
155
- readonly INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE: "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE";
156
- readonly INVALID_ASSESSMENT_TEMPLATE_NAME: "INVALID_ASSESSMENT_TEMPLATE_NAME";
157
- readonly INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN: "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN";
158
- readonly INVALID_ATTRIBUTE: "INVALID_ATTRIBUTE";
159
- readonly INVALID_AUTO_SCALING_GROUP: "INVALID_AUTO_SCALING_GROUP";
160
- readonly INVALID_EVENT: "INVALID_EVENT";
161
- readonly INVALID_FINDING_ARN: "INVALID_FINDING_ARN";
162
- readonly INVALID_IAM_ROLE_ARN: "INVALID_IAM_ROLE_ARN";
163
- readonly INVALID_LOCALE: "INVALID_LOCALE";
164
- readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
165
- readonly INVALID_NUMBER_OF_AGENT_IDS: "INVALID_NUMBER_OF_AGENT_IDS";
166
- readonly INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS";
167
- readonly INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES: "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES";
168
- readonly INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS";
169
- readonly INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS";
170
- readonly INVALID_NUMBER_OF_ATTRIBUTES: "INVALID_NUMBER_OF_ATTRIBUTES";
171
- readonly INVALID_NUMBER_OF_AUTO_SCALING_GROUPS: "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS";
172
- readonly INVALID_NUMBER_OF_FINDING_ARNS: "INVALID_NUMBER_OF_FINDING_ARNS";
173
- readonly INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS: "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS";
174
- readonly INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS: "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS";
175
- readonly INVALID_NUMBER_OF_RULES_PACKAGE_ARNS: "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS";
176
- readonly INVALID_NUMBER_OF_RULE_NAMES: "INVALID_NUMBER_OF_RULE_NAMES";
177
- readonly INVALID_NUMBER_OF_SEVERITIES: "INVALID_NUMBER_OF_SEVERITIES";
178
- readonly INVALID_NUMBER_OF_TAGS: "INVALID_NUMBER_OF_TAGS";
179
- readonly INVALID_NUMBER_OF_USER_ATTRIBUTES: "INVALID_NUMBER_OF_USER_ATTRIBUTES";
180
- readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
181
- readonly INVALID_RESOURCE_ARN: "INVALID_RESOURCE_ARN";
182
- readonly INVALID_RESOURCE_GROUP_ARN: "INVALID_RESOURCE_GROUP_ARN";
183
- readonly INVALID_RESOURCE_GROUP_TAG_KEY: "INVALID_RESOURCE_GROUP_TAG_KEY";
184
- readonly INVALID_RESOURCE_GROUP_TAG_VALUE: "INVALID_RESOURCE_GROUP_TAG_VALUE";
185
- readonly INVALID_RULES_PACKAGE_ARN: "INVALID_RULES_PACKAGE_ARN";
186
- readonly INVALID_RULE_NAME: "INVALID_RULE_NAME";
187
- readonly INVALID_SEVERITY: "INVALID_SEVERITY";
188
- readonly INVALID_SNS_TOPIC_ARN: "INVALID_SNS_TOPIC_ARN";
189
- readonly INVALID_TAG: "INVALID_TAG";
190
- readonly INVALID_TAG_KEY: "INVALID_TAG_KEY";
191
- readonly INVALID_TAG_VALUE: "INVALID_TAG_VALUE";
192
- readonly INVALID_USER_ATTRIBUTE: "INVALID_USER_ATTRIBUTE";
193
- readonly INVALID_USER_ATTRIBUTE_KEY: "INVALID_USER_ATTRIBUTE_KEY";
194
- readonly INVALID_USER_ATTRIBUTE_VALUE: "INVALID_USER_ATTRIBUTE_VALUE";
195
- };
196
- /**
197
- * @public
198
- */
199
- export type InvalidInputErrorCode = (typeof InvalidInputErrorCode)[keyof typeof InvalidInputErrorCode];
200
- /**
201
- * <p>The request was rejected because an invalid or out-of-range value was supplied for an
202
- * input parameter.</p>
203
- * @public
204
- */
205
- export declare class InvalidInputException extends __BaseException {
206
- readonly name: "InvalidInputException";
207
- readonly $fault: "client";
208
- /**
209
- * <p>Code that indicates the type of error that is generated.</p>
210
- * @public
211
- */
212
- errorCode: InvalidInputErrorCode | undefined;
213
- /**
214
- * <p>You can immediately retry your request.</p>
215
- * @public
216
- */
217
- canRetry: boolean | undefined;
218
- /**
219
- * @internal
220
- */
221
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
222
- }
223
- /**
224
- * @public
225
- * @enum
226
- */
227
- export declare const NoSuchEntityErrorCode: {
228
- readonly ASSESSMENT_RUN_DOES_NOT_EXIST: "ASSESSMENT_RUN_DOES_NOT_EXIST";
229
- readonly ASSESSMENT_TARGET_DOES_NOT_EXIST: "ASSESSMENT_TARGET_DOES_NOT_EXIST";
230
- readonly ASSESSMENT_TEMPLATE_DOES_NOT_EXIST: "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST";
231
- readonly FINDING_DOES_NOT_EXIST: "FINDING_DOES_NOT_EXIST";
232
- readonly IAM_ROLE_DOES_NOT_EXIST: "IAM_ROLE_DOES_NOT_EXIST";
233
- readonly RESOURCE_GROUP_DOES_NOT_EXIST: "RESOURCE_GROUP_DOES_NOT_EXIST";
234
- readonly RULES_PACKAGE_DOES_NOT_EXIST: "RULES_PACKAGE_DOES_NOT_EXIST";
235
- readonly SNS_TOPIC_DOES_NOT_EXIST: "SNS_TOPIC_DOES_NOT_EXIST";
236
- };
237
- /**
238
- * @public
239
- */
240
- export type NoSuchEntityErrorCode = (typeof NoSuchEntityErrorCode)[keyof typeof NoSuchEntityErrorCode];
241
- /**
242
- * <p>The request was rejected because it referenced an entity that does not exist. The
243
- * error code describes the entity.</p>
244
- * @public
245
- */
246
- export declare class NoSuchEntityException extends __BaseException {
247
- readonly name: "NoSuchEntityException";
248
- readonly $fault: "client";
249
- /**
250
- * <p>Code that indicates the type of error that is generated.</p>
251
- * @public
252
- */
253
- errorCode: NoSuchEntityErrorCode | undefined;
254
- /**
255
- * <p>You can immediately retry your request.</p>
256
- * @public
257
- */
258
- canRetry: boolean | undefined;
259
- /**
260
- * @internal
261
- */
262
- constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
263
- }
264
- /**
265
- * <p>The serice is temporary unavailable.</p>
266
- * @public
267
- */
268
- export declare class ServiceTemporarilyUnavailableException extends __BaseException {
269
- readonly name: "ServiceTemporarilyUnavailableException";
270
- readonly $fault: "server";
271
- /**
272
- * <p>You can wait and then retry your request.</p>
273
- * @public
274
- */
275
- canRetry: boolean | undefined;
276
- /**
277
- * @internal
278
- */
279
- constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
280
- }
281
62
  /**
282
63
  * <p>Used in the exception error that is thrown if you start an assessment run for an
283
64
  * assessment target that includes an EC2 instance that is already participating in another
@@ -297,35 +78,6 @@ export interface AgentAlreadyRunningAssessment {
297
78
  */
298
79
  assessmentRunArn: string | undefined;
299
80
  }
300
- /**
301
- * @public
302
- * @enum
303
- */
304
- export declare const AgentHealthCode: {
305
- readonly IDLE: "IDLE";
306
- readonly RUNNING: "RUNNING";
307
- readonly SHUTDOWN: "SHUTDOWN";
308
- readonly THROTTLED: "THROTTLED";
309
- readonly UNHEALTHY: "UNHEALTHY";
310
- readonly UNKNOWN: "UNKNOWN";
311
- };
312
- /**
313
- * @public
314
- */
315
- export type AgentHealthCode = (typeof AgentHealthCode)[keyof typeof AgentHealthCode];
316
- /**
317
- * @public
318
- * @enum
319
- */
320
- export declare const AgentHealth: {
321
- readonly HEALTHY: "HEALTHY";
322
- readonly UNHEALTHY: "UNHEALTHY";
323
- readonly UNKNOWN: "UNKNOWN";
324
- };
325
- /**
326
- * @public
327
- */
328
- export type AgentHealth = (typeof AgentHealth)[keyof typeof AgentHealth];
329
81
  /**
330
82
  * <p>Contains information about an Amazon Inspector agent. This data type is used as a
331
83
  * request parameter in the <a>ListAssessmentRunAgents</a> action.</p>
@@ -393,78 +145,6 @@ export interface AgentPreview {
393
145
  */
394
146
  ipv4Address?: string | undefined;
395
147
  }
396
- /**
397
- * <p>You started an assessment run, but one of the instances is already participating in
398
- * another assessment run.</p>
399
- * @public
400
- */
401
- export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
402
- readonly name: "AgentsAlreadyRunningAssessmentException";
403
- readonly $fault: "client";
404
- /**
405
- * <p></p>
406
- * @public
407
- */
408
- agents: AgentAlreadyRunningAssessment[] | undefined;
409
- /**
410
- * <p></p>
411
- * @public
412
- */
413
- agentsTruncated: boolean | undefined;
414
- /**
415
- * <p>You can immediately retry your request.</p>
416
- * @public
417
- */
418
- canRetry: boolean | undefined;
419
- /**
420
- * @internal
421
- */
422
- constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
423
- }
424
- /**
425
- * @public
426
- * @enum
427
- */
428
- export declare const Severity: {
429
- readonly HIGH: "High";
430
- readonly INFORMATIONAL: "Informational";
431
- readonly LOW: "Low";
432
- readonly MEDIUM: "Medium";
433
- readonly UNDEFINED: "Undefined";
434
- };
435
- /**
436
- * @public
437
- */
438
- export type Severity = (typeof Severity)[keyof typeof Severity];
439
- /**
440
- * @public
441
- * @enum
442
- */
443
- export declare const InspectorEvent: {
444
- readonly ASSESSMENT_RUN_COMPLETED: "ASSESSMENT_RUN_COMPLETED";
445
- readonly ASSESSMENT_RUN_STARTED: "ASSESSMENT_RUN_STARTED";
446
- readonly ASSESSMENT_RUN_STATE_CHANGED: "ASSESSMENT_RUN_STATE_CHANGED";
447
- readonly FINDING_REPORTED: "FINDING_REPORTED";
448
- readonly OTHER: "OTHER";
449
- };
450
- /**
451
- * @public
452
- */
453
- export type InspectorEvent = (typeof InspectorEvent)[keyof typeof InspectorEvent];
454
- /**
455
- * @public
456
- * @enum
457
- */
458
- export declare const AssessmentRunNotificationSnsStatusCode: {
459
- readonly ACCESS_DENIED: "ACCESS_DENIED";
460
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
461
- readonly SUCCESS: "SUCCESS";
462
- readonly TOPIC_DOES_NOT_EXIST: "TOPIC_DOES_NOT_EXIST";
463
- };
464
- /**
465
- * @public
466
- */
467
- export type AssessmentRunNotificationSnsStatusCode = (typeof AssessmentRunNotificationSnsStatusCode)[keyof typeof AssessmentRunNotificationSnsStatusCode];
468
148
  /**
469
149
  * <p>Used as one of the elements of the <a>AssessmentRun</a> data
470
150
  * type.</p>
@@ -503,29 +183,6 @@ export interface AssessmentRunNotification {
503
183
  */
504
184
  snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | undefined;
505
185
  }
506
- /**
507
- * @public
508
- * @enum
509
- */
510
- export declare const AssessmentRunState: {
511
- readonly CANCELED: "CANCELED";
512
- readonly COLLECTING_DATA: "COLLECTING_DATA";
513
- readonly COMPLETED: "COMPLETED";
514
- readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
515
- readonly CREATED: "CREATED";
516
- readonly DATA_COLLECTED: "DATA_COLLECTED";
517
- readonly ERROR: "ERROR";
518
- readonly EVALUATING_RULES: "EVALUATING_RULES";
519
- readonly FAILED: "FAILED";
520
- readonly START_DATA_COLLECTION_IN_PROGRESS: "START_DATA_COLLECTION_IN_PROGRESS";
521
- readonly START_DATA_COLLECTION_PENDING: "START_DATA_COLLECTION_PENDING";
522
- readonly START_EVALUATING_RULES_PENDING: "START_EVALUATING_RULES_PENDING";
523
- readonly STOP_DATA_COLLECTION_PENDING: "STOP_DATA_COLLECTION_PENDING";
524
- };
525
- /**
526
- * @public
527
- */
528
- export type AssessmentRunState = (typeof AssessmentRunState)[keyof typeof AssessmentRunState];
529
186
  /**
530
187
  * <p>Used as one of the elements of the <a>AssessmentRun</a> data
531
188
  * type.</p>
@@ -789,35 +446,6 @@ export interface AssessmentRunFilter {
789
446
  */
790
447
  stateChangeTimeRange?: TimestampRange | undefined;
791
448
  }
792
- /**
793
- * <p>You cannot perform a specified action if an assessment run is currently in
794
- * progress.</p>
795
- * @public
796
- */
797
- export declare class AssessmentRunInProgressException extends __BaseException {
798
- readonly name: "AssessmentRunInProgressException";
799
- readonly $fault: "client";
800
- /**
801
- * <p>The ARNs of the assessment runs that are currently in progress.</p>
802
- * @public
803
- */
804
- assessmentRunArns: string[] | undefined;
805
- /**
806
- * <p>Boolean value that indicates whether the ARN list of the assessment runs is
807
- * truncated.</p>
808
- * @public
809
- */
810
- assessmentRunArnsTruncated: boolean | undefined;
811
- /**
812
- * <p>You can immediately retry your request.</p>
813
- * @public
814
- */
815
- canRetry: boolean | undefined;
816
- /**
817
- * @internal
818
- */
819
- constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
820
- }
821
449
  /**
822
450
  * <p>Contains information about an Amazon Inspector application. This data type is used as
823
451
  * the response element in the <a>DescribeAssessmentTargets</a> action.</p>
@@ -1114,17 +742,6 @@ export interface AssetAttributes {
1114
742
  */
1115
743
  networkInterfaces?: NetworkInterface[] | undefined;
1116
744
  }
1117
- /**
1118
- * @public
1119
- * @enum
1120
- */
1121
- export declare const AssetType: {
1122
- readonly EC2_INSTANCE: "ec2-instance";
1123
- };
1124
- /**
1125
- * @public
1126
- */
1127
- export type AssetType = (typeof AssetType)[keyof typeof AssetType];
1128
745
  /**
1129
746
  * @public
1130
747
  */
@@ -1153,79 +770,6 @@ export interface CreateAssessmentTargetResponse {
1153
770
  */
1154
771
  assessmentTargetArn: string | undefined;
1155
772
  }
1156
- /**
1157
- * @public
1158
- * @enum
1159
- */
1160
- export declare const InvalidCrossAccountRoleErrorCode: {
1161
- readonly ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP: "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP";
1162
- readonly ROLE_DOES_NOT_HAVE_CORRECT_POLICY: "ROLE_DOES_NOT_HAVE_CORRECT_POLICY";
1163
- };
1164
- /**
1165
- * @public
1166
- */
1167
- export type InvalidCrossAccountRoleErrorCode = (typeof InvalidCrossAccountRoleErrorCode)[keyof typeof InvalidCrossAccountRoleErrorCode];
1168
- /**
1169
- * <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
1170
- * instances during the assessment run.</p>
1171
- * @public
1172
- */
1173
- export declare class InvalidCrossAccountRoleException extends __BaseException {
1174
- readonly name: "InvalidCrossAccountRoleException";
1175
- readonly $fault: "client";
1176
- /**
1177
- * <p>Code that indicates the type of error that is generated.</p>
1178
- * @public
1179
- */
1180
- errorCode: InvalidCrossAccountRoleErrorCode | undefined;
1181
- /**
1182
- * <p>You can immediately retry your request.</p>
1183
- * @public
1184
- */
1185
- canRetry: boolean | undefined;
1186
- /**
1187
- * @internal
1188
- */
1189
- constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
1190
- }
1191
- /**
1192
- * @public
1193
- * @enum
1194
- */
1195
- export declare const LimitExceededErrorCode: {
1196
- readonly ASSESSMENT_RUN_LIMIT_EXCEEDED: "ASSESSMENT_RUN_LIMIT_EXCEEDED";
1197
- readonly ASSESSMENT_TARGET_LIMIT_EXCEEDED: "ASSESSMENT_TARGET_LIMIT_EXCEEDED";
1198
- readonly ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED: "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED";
1199
- readonly EVENT_SUBSCRIPTION_LIMIT_EXCEEDED: "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED";
1200
- readonly RESOURCE_GROUP_LIMIT_EXCEEDED: "RESOURCE_GROUP_LIMIT_EXCEEDED";
1201
- };
1202
- /**
1203
- * @public
1204
- */
1205
- export type LimitExceededErrorCode = (typeof LimitExceededErrorCode)[keyof typeof LimitExceededErrorCode];
1206
- /**
1207
- * <p>The request was rejected because it attempted to create resources beyond the current
1208
- * AWS account limits. The error code describes the limit exceeded.</p>
1209
- * @public
1210
- */
1211
- export declare class LimitExceededException extends __BaseException {
1212
- readonly name: "LimitExceededException";
1213
- readonly $fault: "client";
1214
- /**
1215
- * <p>Code that indicates the type of error that is generated.</p>
1216
- * @public
1217
- */
1218
- errorCode: LimitExceededErrorCode | undefined;
1219
- /**
1220
- * <p>You can immediately retry your request.</p>
1221
- * @public
1222
- */
1223
- canRetry: boolean | undefined;
1224
- /**
1225
- * @internal
1226
- */
1227
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
1228
- }
1229
773
  /**
1230
774
  * @public
1231
775
  */
@@ -1297,19 +841,6 @@ export interface CreateExclusionsPreviewResponse {
1297
841
  */
1298
842
  previewToken: string | undefined;
1299
843
  }
1300
- /**
1301
- * <p>The request is rejected. The specified assessment template is currently generating an
1302
- * exclusions preview.</p>
1303
- * @public
1304
- */
1305
- export declare class PreviewGenerationInProgressException extends __BaseException {
1306
- readonly name: "PreviewGenerationInProgressException";
1307
- readonly $fault: "client";
1308
- /**
1309
- * @internal
1310
- */
1311
- constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
1312
- }
1313
844
  /**
1314
845
  * <p>This data type is used as one of the elements of the <a>ResourceGroup</a>
1315
846
  * data type.</p>
@@ -1475,17 +1006,6 @@ export interface DescribeCrossAccountAccessRoleResponse {
1475
1006
  */
1476
1007
  registeredAt: Date | undefined;
1477
1008
  }
1478
- /**
1479
- * @public
1480
- * @enum
1481
- */
1482
- export declare const Locale: {
1483
- readonly EN_US: "EN_US";
1484
- };
1485
- /**
1486
- * @public
1487
- */
1488
- export type Locale = (typeof Locale)[keyof typeof Locale];
1489
1009
  /**
1490
1010
  * @public
1491
1011
  */
@@ -1502,18 +1022,6 @@ export interface DescribeExclusionsRequest {
1502
1022
  */
1503
1023
  locale?: Locale | undefined;
1504
1024
  }
1505
- /**
1506
- * @public
1507
- * @enum
1508
- */
1509
- export declare const ScopeType: {
1510
- readonly INSTANCE_ID: "INSTANCE_ID";
1511
- readonly RULES_PACKAGE_ARN: "RULES_PACKAGE_ARN";
1512
- };
1513
- /**
1514
- * @public
1515
- */
1516
- export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
1517
1025
  /**
1518
1026
  * <p>This data type contains key-value pairs that identify various Amazon
1519
1027
  * resources.</p>
@@ -1954,30 +1462,6 @@ export interface FindingFilter {
1954
1462
  */
1955
1463
  creationTimeRange?: TimestampRange | undefined;
1956
1464
  }
1957
- /**
1958
- * @public
1959
- * @enum
1960
- */
1961
- export declare const ReportFileFormat: {
1962
- readonly HTML: "HTML";
1963
- readonly PDF: "PDF";
1964
- };
1965
- /**
1966
- * @public
1967
- */
1968
- export type ReportFileFormat = (typeof ReportFileFormat)[keyof typeof ReportFileFormat];
1969
- /**
1970
- * @public
1971
- * @enum
1972
- */
1973
- export declare const ReportType: {
1974
- readonly FINDING: "FINDING";
1975
- readonly FULL: "FULL";
1976
- };
1977
- /**
1978
- * @public
1979
- */
1980
- export type ReportType = (typeof ReportType)[keyof typeof ReportType];
1981
1465
  /**
1982
1466
  * @public
1983
1467
  */
@@ -2002,19 +1486,6 @@ export interface GetAssessmentReportRequest {
2002
1486
  */
2003
1487
  reportType: ReportType | undefined;
2004
1488
  }
2005
- /**
2006
- * @public
2007
- * @enum
2008
- */
2009
- export declare const ReportStatus: {
2010
- readonly COMPLETED: "COMPLETED";
2011
- readonly FAILED: "FAILED";
2012
- readonly WORK_IN_PROGRESS: "WORK_IN_PROGRESS";
2013
- };
2014
- /**
2015
- * @public
2016
- */
2017
- export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
2018
1489
  /**
2019
1490
  * @public
2020
1491
  */
@@ -2031,23 +1502,6 @@ export interface GetAssessmentReportResponse {
2031
1502
  */
2032
1503
  url?: string | undefined;
2033
1504
  }
2034
- /**
2035
- * <p>Used by the <a>GetAssessmentReport</a> API. The request was rejected
2036
- * because you tried to generate a report for an assessment run that existed before reporting
2037
- * was supported in Amazon Inspector. You can only generate reports for assessment runs that
2038
- * took place or will take place after generating reports in Amazon Inspector became
2039
- * available.</p>
2040
- * @public
2041
- */
2042
- export declare class UnsupportedFeatureException extends __BaseException {
2043
- readonly name: "UnsupportedFeatureException";
2044
- readonly $fault: "client";
2045
- canRetry: boolean | undefined;
2046
- /**
2047
- * @internal
2048
- */
2049
- constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
2050
- }
2051
1505
  /**
2052
1506
  * @public
2053
1507
  */
@@ -2084,18 +1538,6 @@ export interface GetExclusionsPreviewRequest {
2084
1538
  */
2085
1539
  locale?: Locale | undefined;
2086
1540
  }
2087
- /**
2088
- * @public
2089
- * @enum
2090
- */
2091
- export declare const PreviewStatus: {
2092
- readonly COMPLETED: "COMPLETED";
2093
- readonly WORK_IN_PROGRESS: "WORK_IN_PROGRESS";
2094
- };
2095
- /**
2096
- * @public
2097
- */
2098
- export type PreviewStatus = (typeof PreviewStatus)[keyof typeof PreviewStatus];
2099
1541
  /**
2100
1542
  * @public
2101
1543
  */
@@ -2685,18 +2127,6 @@ export interface StartAssessmentRunResponse {
2685
2127
  */
2686
2128
  assessmentRunArn: string | undefined;
2687
2129
  }
2688
- /**
2689
- * @public
2690
- * @enum
2691
- */
2692
- export declare const StopAction: {
2693
- readonly SKIP_EVALUATION: "SKIP_EVALUATION";
2694
- readonly START_EVALUATION: "START_EVALUATION";
2695
- };
2696
- /**
2697
- * @public
2698
- */
2699
- export type StopAction = (typeof StopAction)[keyof typeof StopAction];
2700
2130
  /**
2701
2131
  * @public
2702
2132
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { InspectorExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { InspectorServiceException } from "./models/InspectorServiceException";