@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.
@@ -0,0 +1,334 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessDeniedErrorCode: {
6
+ readonly ACCESS_DENIED_TO_ASSESSMENT_RUN: "ACCESS_DENIED_TO_ASSESSMENT_RUN";
7
+ readonly ACCESS_DENIED_TO_ASSESSMENT_TARGET: "ACCESS_DENIED_TO_ASSESSMENT_TARGET";
8
+ readonly ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE: "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE";
9
+ readonly ACCESS_DENIED_TO_FINDING: "ACCESS_DENIED_TO_FINDING";
10
+ readonly ACCESS_DENIED_TO_IAM_ROLE: "ACCESS_DENIED_TO_IAM_ROLE";
11
+ readonly ACCESS_DENIED_TO_RESOURCE_GROUP: "ACCESS_DENIED_TO_RESOURCE_GROUP";
12
+ readonly ACCESS_DENIED_TO_RULES_PACKAGE: "ACCESS_DENIED_TO_RULES_PACKAGE";
13
+ readonly ACCESS_DENIED_TO_SNS_TOPIC: "ACCESS_DENIED_TO_SNS_TOPIC";
14
+ };
15
+ /**
16
+ * @public
17
+ */
18
+ export type AccessDeniedErrorCode = (typeof AccessDeniedErrorCode)[keyof typeof AccessDeniedErrorCode];
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const FailedItemErrorCode: {
24
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
25
+ readonly DUPLICATE_ARN: "DUPLICATE_ARN";
26
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
27
+ readonly INVALID_ARN: "INVALID_ARN";
28
+ readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
29
+ readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type FailedItemErrorCode = (typeof FailedItemErrorCode)[keyof typeof FailedItemErrorCode];
35
+ /**
36
+ * @public
37
+ * @enum
38
+ */
39
+ export declare const InvalidInputErrorCode: {
40
+ readonly ASSESSMENT_TARGET_NAME_ALREADY_TAKEN: "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN";
41
+ readonly ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN: "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN";
42
+ readonly INVALID_AGENT_ID: "INVALID_AGENT_ID";
43
+ readonly INVALID_ASSESSMENT_RUN_ARN: "INVALID_ASSESSMENT_RUN_ARN";
44
+ readonly INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE: "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE";
45
+ readonly INVALID_ASSESSMENT_RUN_DURATION_RANGE: "INVALID_ASSESSMENT_RUN_DURATION_RANGE";
46
+ readonly INVALID_ASSESSMENT_RUN_START_TIME_RANGE: "INVALID_ASSESSMENT_RUN_START_TIME_RANGE";
47
+ readonly INVALID_ASSESSMENT_RUN_STATE: "INVALID_ASSESSMENT_RUN_STATE";
48
+ readonly INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE: "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE";
49
+ readonly INVALID_ASSESSMENT_TARGET_ARN: "INVALID_ASSESSMENT_TARGET_ARN";
50
+ readonly INVALID_ASSESSMENT_TARGET_NAME: "INVALID_ASSESSMENT_TARGET_NAME";
51
+ readonly INVALID_ASSESSMENT_TARGET_NAME_PATTERN: "INVALID_ASSESSMENT_TARGET_NAME_PATTERN";
52
+ readonly INVALID_ASSESSMENT_TEMPLATE_ARN: "INVALID_ASSESSMENT_TEMPLATE_ARN";
53
+ readonly INVALID_ASSESSMENT_TEMPLATE_DURATION: "INVALID_ASSESSMENT_TEMPLATE_DURATION";
54
+ readonly INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE: "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE";
55
+ readonly INVALID_ASSESSMENT_TEMPLATE_NAME: "INVALID_ASSESSMENT_TEMPLATE_NAME";
56
+ readonly INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN: "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN";
57
+ readonly INVALID_ATTRIBUTE: "INVALID_ATTRIBUTE";
58
+ readonly INVALID_AUTO_SCALING_GROUP: "INVALID_AUTO_SCALING_GROUP";
59
+ readonly INVALID_EVENT: "INVALID_EVENT";
60
+ readonly INVALID_FINDING_ARN: "INVALID_FINDING_ARN";
61
+ readonly INVALID_IAM_ROLE_ARN: "INVALID_IAM_ROLE_ARN";
62
+ readonly INVALID_LOCALE: "INVALID_LOCALE";
63
+ readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
64
+ readonly INVALID_NUMBER_OF_AGENT_IDS: "INVALID_NUMBER_OF_AGENT_IDS";
65
+ readonly INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS";
66
+ readonly INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES: "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES";
67
+ readonly INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS";
68
+ readonly INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS";
69
+ readonly INVALID_NUMBER_OF_ATTRIBUTES: "INVALID_NUMBER_OF_ATTRIBUTES";
70
+ readonly INVALID_NUMBER_OF_AUTO_SCALING_GROUPS: "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS";
71
+ readonly INVALID_NUMBER_OF_FINDING_ARNS: "INVALID_NUMBER_OF_FINDING_ARNS";
72
+ readonly INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS: "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS";
73
+ readonly INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS: "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS";
74
+ readonly INVALID_NUMBER_OF_RULES_PACKAGE_ARNS: "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS";
75
+ readonly INVALID_NUMBER_OF_RULE_NAMES: "INVALID_NUMBER_OF_RULE_NAMES";
76
+ readonly INVALID_NUMBER_OF_SEVERITIES: "INVALID_NUMBER_OF_SEVERITIES";
77
+ readonly INVALID_NUMBER_OF_TAGS: "INVALID_NUMBER_OF_TAGS";
78
+ readonly INVALID_NUMBER_OF_USER_ATTRIBUTES: "INVALID_NUMBER_OF_USER_ATTRIBUTES";
79
+ readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
80
+ readonly INVALID_RESOURCE_ARN: "INVALID_RESOURCE_ARN";
81
+ readonly INVALID_RESOURCE_GROUP_ARN: "INVALID_RESOURCE_GROUP_ARN";
82
+ readonly INVALID_RESOURCE_GROUP_TAG_KEY: "INVALID_RESOURCE_GROUP_TAG_KEY";
83
+ readonly INVALID_RESOURCE_GROUP_TAG_VALUE: "INVALID_RESOURCE_GROUP_TAG_VALUE";
84
+ readonly INVALID_RULES_PACKAGE_ARN: "INVALID_RULES_PACKAGE_ARN";
85
+ readonly INVALID_RULE_NAME: "INVALID_RULE_NAME";
86
+ readonly INVALID_SEVERITY: "INVALID_SEVERITY";
87
+ readonly INVALID_SNS_TOPIC_ARN: "INVALID_SNS_TOPIC_ARN";
88
+ readonly INVALID_TAG: "INVALID_TAG";
89
+ readonly INVALID_TAG_KEY: "INVALID_TAG_KEY";
90
+ readonly INVALID_TAG_VALUE: "INVALID_TAG_VALUE";
91
+ readonly INVALID_USER_ATTRIBUTE: "INVALID_USER_ATTRIBUTE";
92
+ readonly INVALID_USER_ATTRIBUTE_KEY: "INVALID_USER_ATTRIBUTE_KEY";
93
+ readonly INVALID_USER_ATTRIBUTE_VALUE: "INVALID_USER_ATTRIBUTE_VALUE";
94
+ };
95
+ /**
96
+ * @public
97
+ */
98
+ export type InvalidInputErrorCode = (typeof InvalidInputErrorCode)[keyof typeof InvalidInputErrorCode];
99
+ /**
100
+ * @public
101
+ * @enum
102
+ */
103
+ export declare const NoSuchEntityErrorCode: {
104
+ readonly ASSESSMENT_RUN_DOES_NOT_EXIST: "ASSESSMENT_RUN_DOES_NOT_EXIST";
105
+ readonly ASSESSMENT_TARGET_DOES_NOT_EXIST: "ASSESSMENT_TARGET_DOES_NOT_EXIST";
106
+ readonly ASSESSMENT_TEMPLATE_DOES_NOT_EXIST: "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST";
107
+ readonly FINDING_DOES_NOT_EXIST: "FINDING_DOES_NOT_EXIST";
108
+ readonly IAM_ROLE_DOES_NOT_EXIST: "IAM_ROLE_DOES_NOT_EXIST";
109
+ readonly RESOURCE_GROUP_DOES_NOT_EXIST: "RESOURCE_GROUP_DOES_NOT_EXIST";
110
+ readonly RULES_PACKAGE_DOES_NOT_EXIST: "RULES_PACKAGE_DOES_NOT_EXIST";
111
+ readonly SNS_TOPIC_DOES_NOT_EXIST: "SNS_TOPIC_DOES_NOT_EXIST";
112
+ };
113
+ /**
114
+ * @public
115
+ */
116
+ export type NoSuchEntityErrorCode = (typeof NoSuchEntityErrorCode)[keyof typeof NoSuchEntityErrorCode];
117
+ /**
118
+ * @public
119
+ * @enum
120
+ */
121
+ export declare const AgentHealthCode: {
122
+ readonly IDLE: "IDLE";
123
+ readonly RUNNING: "RUNNING";
124
+ readonly SHUTDOWN: "SHUTDOWN";
125
+ readonly THROTTLED: "THROTTLED";
126
+ readonly UNHEALTHY: "UNHEALTHY";
127
+ readonly UNKNOWN: "UNKNOWN";
128
+ };
129
+ /**
130
+ * @public
131
+ */
132
+ export type AgentHealthCode = (typeof AgentHealthCode)[keyof typeof AgentHealthCode];
133
+ /**
134
+ * @public
135
+ * @enum
136
+ */
137
+ export declare const AgentHealth: {
138
+ readonly HEALTHY: "HEALTHY";
139
+ readonly UNHEALTHY: "UNHEALTHY";
140
+ readonly UNKNOWN: "UNKNOWN";
141
+ };
142
+ /**
143
+ * @public
144
+ */
145
+ export type AgentHealth = (typeof AgentHealth)[keyof typeof AgentHealth];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const Severity: {
151
+ readonly HIGH: "High";
152
+ readonly INFORMATIONAL: "Informational";
153
+ readonly LOW: "Low";
154
+ readonly MEDIUM: "Medium";
155
+ readonly UNDEFINED: "Undefined";
156
+ };
157
+ /**
158
+ * @public
159
+ */
160
+ export type Severity = (typeof Severity)[keyof typeof Severity];
161
+ /**
162
+ * @public
163
+ * @enum
164
+ */
165
+ export declare const InspectorEvent: {
166
+ readonly ASSESSMENT_RUN_COMPLETED: "ASSESSMENT_RUN_COMPLETED";
167
+ readonly ASSESSMENT_RUN_STARTED: "ASSESSMENT_RUN_STARTED";
168
+ readonly ASSESSMENT_RUN_STATE_CHANGED: "ASSESSMENT_RUN_STATE_CHANGED";
169
+ readonly FINDING_REPORTED: "FINDING_REPORTED";
170
+ readonly OTHER: "OTHER";
171
+ };
172
+ /**
173
+ * @public
174
+ */
175
+ export type InspectorEvent = (typeof InspectorEvent)[keyof typeof InspectorEvent];
176
+ /**
177
+ * @public
178
+ * @enum
179
+ */
180
+ export declare const AssessmentRunNotificationSnsStatusCode: {
181
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
182
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
183
+ readonly SUCCESS: "SUCCESS";
184
+ readonly TOPIC_DOES_NOT_EXIST: "TOPIC_DOES_NOT_EXIST";
185
+ };
186
+ /**
187
+ * @public
188
+ */
189
+ export type AssessmentRunNotificationSnsStatusCode = (typeof AssessmentRunNotificationSnsStatusCode)[keyof typeof AssessmentRunNotificationSnsStatusCode];
190
+ /**
191
+ * @public
192
+ * @enum
193
+ */
194
+ export declare const AssessmentRunState: {
195
+ readonly CANCELED: "CANCELED";
196
+ readonly COLLECTING_DATA: "COLLECTING_DATA";
197
+ readonly COMPLETED: "COMPLETED";
198
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
199
+ readonly CREATED: "CREATED";
200
+ readonly DATA_COLLECTED: "DATA_COLLECTED";
201
+ readonly ERROR: "ERROR";
202
+ readonly EVALUATING_RULES: "EVALUATING_RULES";
203
+ readonly FAILED: "FAILED";
204
+ readonly START_DATA_COLLECTION_IN_PROGRESS: "START_DATA_COLLECTION_IN_PROGRESS";
205
+ readonly START_DATA_COLLECTION_PENDING: "START_DATA_COLLECTION_PENDING";
206
+ readonly START_EVALUATING_RULES_PENDING: "START_EVALUATING_RULES_PENDING";
207
+ readonly STOP_DATA_COLLECTION_PENDING: "STOP_DATA_COLLECTION_PENDING";
208
+ };
209
+ /**
210
+ * @public
211
+ */
212
+ export type AssessmentRunState = (typeof AssessmentRunState)[keyof typeof AssessmentRunState];
213
+ /**
214
+ * @public
215
+ * @enum
216
+ */
217
+ export declare const AssetType: {
218
+ readonly EC2_INSTANCE: "ec2-instance";
219
+ };
220
+ /**
221
+ * @public
222
+ */
223
+ export type AssetType = (typeof AssetType)[keyof typeof AssetType];
224
+ /**
225
+ * @public
226
+ * @enum
227
+ */
228
+ export declare const InvalidCrossAccountRoleErrorCode: {
229
+ readonly ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP: "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP";
230
+ readonly ROLE_DOES_NOT_HAVE_CORRECT_POLICY: "ROLE_DOES_NOT_HAVE_CORRECT_POLICY";
231
+ };
232
+ /**
233
+ * @public
234
+ */
235
+ export type InvalidCrossAccountRoleErrorCode = (typeof InvalidCrossAccountRoleErrorCode)[keyof typeof InvalidCrossAccountRoleErrorCode];
236
+ /**
237
+ * @public
238
+ * @enum
239
+ */
240
+ export declare const LimitExceededErrorCode: {
241
+ readonly ASSESSMENT_RUN_LIMIT_EXCEEDED: "ASSESSMENT_RUN_LIMIT_EXCEEDED";
242
+ readonly ASSESSMENT_TARGET_LIMIT_EXCEEDED: "ASSESSMENT_TARGET_LIMIT_EXCEEDED";
243
+ readonly ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED: "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED";
244
+ readonly EVENT_SUBSCRIPTION_LIMIT_EXCEEDED: "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED";
245
+ readonly RESOURCE_GROUP_LIMIT_EXCEEDED: "RESOURCE_GROUP_LIMIT_EXCEEDED";
246
+ };
247
+ /**
248
+ * @public
249
+ */
250
+ export type LimitExceededErrorCode = (typeof LimitExceededErrorCode)[keyof typeof LimitExceededErrorCode];
251
+ /**
252
+ * @public
253
+ * @enum
254
+ */
255
+ export declare const Locale: {
256
+ readonly EN_US: "EN_US";
257
+ };
258
+ /**
259
+ * @public
260
+ */
261
+ export type Locale = (typeof Locale)[keyof typeof Locale];
262
+ /**
263
+ * @public
264
+ * @enum
265
+ */
266
+ export declare const ScopeType: {
267
+ readonly INSTANCE_ID: "INSTANCE_ID";
268
+ readonly RULES_PACKAGE_ARN: "RULES_PACKAGE_ARN";
269
+ };
270
+ /**
271
+ * @public
272
+ */
273
+ export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
274
+ /**
275
+ * @public
276
+ * @enum
277
+ */
278
+ export declare const ReportFileFormat: {
279
+ readonly HTML: "HTML";
280
+ readonly PDF: "PDF";
281
+ };
282
+ /**
283
+ * @public
284
+ */
285
+ export type ReportFileFormat = (typeof ReportFileFormat)[keyof typeof ReportFileFormat];
286
+ /**
287
+ * @public
288
+ * @enum
289
+ */
290
+ export declare const ReportType: {
291
+ readonly FINDING: "FINDING";
292
+ readonly FULL: "FULL";
293
+ };
294
+ /**
295
+ * @public
296
+ */
297
+ export type ReportType = (typeof ReportType)[keyof typeof ReportType];
298
+ /**
299
+ * @public
300
+ * @enum
301
+ */
302
+ export declare const ReportStatus: {
303
+ readonly COMPLETED: "COMPLETED";
304
+ readonly FAILED: "FAILED";
305
+ readonly WORK_IN_PROGRESS: "WORK_IN_PROGRESS";
306
+ };
307
+ /**
308
+ * @public
309
+ */
310
+ export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
311
+ /**
312
+ * @public
313
+ * @enum
314
+ */
315
+ export declare const PreviewStatus: {
316
+ readonly COMPLETED: "COMPLETED";
317
+ readonly WORK_IN_PROGRESS: "WORK_IN_PROGRESS";
318
+ };
319
+ /**
320
+ * @public
321
+ */
322
+ export type PreviewStatus = (typeof PreviewStatus)[keyof typeof PreviewStatus];
323
+ /**
324
+ * @public
325
+ * @enum
326
+ */
327
+ export declare const StopAction: {
328
+ readonly SKIP_EVALUATION: "SKIP_EVALUATION";
329
+ readonly START_EVALUATION: "START_EVALUATION";
330
+ };
331
+ /**
332
+ * @public
333
+ */
334
+ export type StopAction = (typeof StopAction)[keyof typeof StopAction];
@@ -0,0 +1,239 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { AccessDeniedErrorCode, InvalidCrossAccountRoleErrorCode, InvalidInputErrorCode, LimitExceededErrorCode, NoSuchEntityErrorCode } from "./enums";
3
+ import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
4
+ import { AgentAlreadyRunningAssessment } from "./models_0";
5
+ /**
6
+ * <p>You do not have required permissions to access the requested resource.</p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ /**
13
+ * <p>Code that indicates the type of error that is generated.</p>
14
+ * @public
15
+ */
16
+ errorCode: AccessDeniedErrorCode | undefined;
17
+ /**
18
+ * <p>You can immediately retry your request.</p>
19
+ * @public
20
+ */
21
+ canRetry: boolean | undefined;
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>Internal server error.</p>
29
+ * @public
30
+ */
31
+ export declare class InternalException extends __BaseException {
32
+ readonly name: "InternalException";
33
+ readonly $fault: "server";
34
+ /**
35
+ * <p>You can immediately retry your request.</p>
36
+ * @public
37
+ */
38
+ canRetry: boolean | undefined;
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
43
+ }
44
+ /**
45
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
46
+ * input parameter.</p>
47
+ * @public
48
+ */
49
+ export declare class InvalidInputException extends __BaseException {
50
+ readonly name: "InvalidInputException";
51
+ readonly $fault: "client";
52
+ /**
53
+ * <p>Code that indicates the type of error that is generated.</p>
54
+ * @public
55
+ */
56
+ errorCode: InvalidInputErrorCode | undefined;
57
+ /**
58
+ * <p>You can immediately retry your request.</p>
59
+ * @public
60
+ */
61
+ canRetry: boolean | undefined;
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>The request was rejected because it referenced an entity that does not exist. The
69
+ * error code describes the entity.</p>
70
+ * @public
71
+ */
72
+ export declare class NoSuchEntityException extends __BaseException {
73
+ readonly name: "NoSuchEntityException";
74
+ readonly $fault: "client";
75
+ /**
76
+ * <p>Code that indicates the type of error that is generated.</p>
77
+ * @public
78
+ */
79
+ errorCode: NoSuchEntityErrorCode | undefined;
80
+ /**
81
+ * <p>You can immediately retry your request.</p>
82
+ * @public
83
+ */
84
+ canRetry: boolean | undefined;
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>);
89
+ }
90
+ /**
91
+ * <p>The serice is temporary unavailable.</p>
92
+ * @public
93
+ */
94
+ export declare class ServiceTemporarilyUnavailableException extends __BaseException {
95
+ readonly name: "ServiceTemporarilyUnavailableException";
96
+ readonly $fault: "server";
97
+ /**
98
+ * <p>You can wait and then retry your request.</p>
99
+ * @public
100
+ */
101
+ canRetry: boolean | undefined;
102
+ /**
103
+ * @internal
104
+ */
105
+ constructor(opts: __ExceptionOptionType<ServiceTemporarilyUnavailableException, __BaseException>);
106
+ }
107
+ /**
108
+ * <p>You started an assessment run, but one of the instances is already participating in
109
+ * another assessment run.</p>
110
+ * @public
111
+ */
112
+ export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
113
+ readonly name: "AgentsAlreadyRunningAssessmentException";
114
+ readonly $fault: "client";
115
+ /**
116
+ * <p></p>
117
+ * @public
118
+ */
119
+ agents: AgentAlreadyRunningAssessment[] | undefined;
120
+ /**
121
+ * <p></p>
122
+ * @public
123
+ */
124
+ agentsTruncated: boolean | undefined;
125
+ /**
126
+ * <p>You can immediately retry your request.</p>
127
+ * @public
128
+ */
129
+ canRetry: boolean | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<AgentsAlreadyRunningAssessmentException, __BaseException>);
134
+ }
135
+ /**
136
+ * <p>You cannot perform a specified action if an assessment run is currently in
137
+ * progress.</p>
138
+ * @public
139
+ */
140
+ export declare class AssessmentRunInProgressException extends __BaseException {
141
+ readonly name: "AssessmentRunInProgressException";
142
+ readonly $fault: "client";
143
+ /**
144
+ * <p>The ARNs of the assessment runs that are currently in progress.</p>
145
+ * @public
146
+ */
147
+ assessmentRunArns: string[] | undefined;
148
+ /**
149
+ * <p>Boolean value that indicates whether the ARN list of the assessment runs is
150
+ * truncated.</p>
151
+ * @public
152
+ */
153
+ assessmentRunArnsTruncated: boolean | undefined;
154
+ /**
155
+ * <p>You can immediately retry your request.</p>
156
+ * @public
157
+ */
158
+ canRetry: boolean | undefined;
159
+ /**
160
+ * @internal
161
+ */
162
+ constructor(opts: __ExceptionOptionType<AssessmentRunInProgressException, __BaseException>);
163
+ }
164
+ /**
165
+ * <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
166
+ * instances during the assessment run.</p>
167
+ * @public
168
+ */
169
+ export declare class InvalidCrossAccountRoleException extends __BaseException {
170
+ readonly name: "InvalidCrossAccountRoleException";
171
+ readonly $fault: "client";
172
+ /**
173
+ * <p>Code that indicates the type of error that is generated.</p>
174
+ * @public
175
+ */
176
+ errorCode: InvalidCrossAccountRoleErrorCode | undefined;
177
+ /**
178
+ * <p>You can immediately retry your request.</p>
179
+ * @public
180
+ */
181
+ canRetry: boolean | undefined;
182
+ /**
183
+ * @internal
184
+ */
185
+ constructor(opts: __ExceptionOptionType<InvalidCrossAccountRoleException, __BaseException>);
186
+ }
187
+ /**
188
+ * <p>The request was rejected because it attempted to create resources beyond the current
189
+ * AWS account limits. The error code describes the limit exceeded.</p>
190
+ * @public
191
+ */
192
+ export declare class LimitExceededException extends __BaseException {
193
+ readonly name: "LimitExceededException";
194
+ readonly $fault: "client";
195
+ /**
196
+ * <p>Code that indicates the type of error that is generated.</p>
197
+ * @public
198
+ */
199
+ errorCode: LimitExceededErrorCode | undefined;
200
+ /**
201
+ * <p>You can immediately retry your request.</p>
202
+ * @public
203
+ */
204
+ canRetry: boolean | undefined;
205
+ /**
206
+ * @internal
207
+ */
208
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
209
+ }
210
+ /**
211
+ * <p>The request is rejected. The specified assessment template is currently generating an
212
+ * exclusions preview.</p>
213
+ * @public
214
+ */
215
+ export declare class PreviewGenerationInProgressException extends __BaseException {
216
+ readonly name: "PreviewGenerationInProgressException";
217
+ readonly $fault: "client";
218
+ /**
219
+ * @internal
220
+ */
221
+ constructor(opts: __ExceptionOptionType<PreviewGenerationInProgressException, __BaseException>);
222
+ }
223
+ /**
224
+ * <p>Used by the <a>GetAssessmentReport</a> API. The request was rejected
225
+ * because you tried to generate a report for an assessment run that existed before reporting
226
+ * was supported in Amazon Inspector. You can only generate reports for assessment runs that
227
+ * took place or will take place after generating reports in Amazon Inspector became
228
+ * available.</p>
229
+ * @public
230
+ */
231
+ export declare class UnsupportedFeatureException extends __BaseException {
232
+ readonly name: "UnsupportedFeatureException";
233
+ readonly $fault: "client";
234
+ canRetry: boolean | undefined;
235
+ /**
236
+ * @internal
237
+ */
238
+ constructor(opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>);
239
+ }