@aws-sdk/client-inspector 3.933.0 → 3.935.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,26 +1,20 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { InspectorServiceException as __BaseException } from "./InspectorServiceException";
3
- export declare const AccessDeniedErrorCode: {
4
- readonly ACCESS_DENIED_TO_ASSESSMENT_RUN: "ACCESS_DENIED_TO_ASSESSMENT_RUN";
5
- readonly ACCESS_DENIED_TO_ASSESSMENT_TARGET: "ACCESS_DENIED_TO_ASSESSMENT_TARGET";
6
- readonly ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE: "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE";
7
- readonly ACCESS_DENIED_TO_FINDING: "ACCESS_DENIED_TO_FINDING";
8
- readonly ACCESS_DENIED_TO_IAM_ROLE: "ACCESS_DENIED_TO_IAM_ROLE";
9
- readonly ACCESS_DENIED_TO_RESOURCE_GROUP: "ACCESS_DENIED_TO_RESOURCE_GROUP";
10
- readonly ACCESS_DENIED_TO_RULES_PACKAGE: "ACCESS_DENIED_TO_RULES_PACKAGE";
11
- readonly ACCESS_DENIED_TO_SNS_TOPIC: "ACCESS_DENIED_TO_SNS_TOPIC";
12
- };
13
- export type AccessDeniedErrorCode =
14
- (typeof AccessDeniedErrorCode)[keyof typeof AccessDeniedErrorCode];
15
- export declare class AccessDeniedException extends __BaseException {
16
- readonly name: "AccessDeniedException";
17
- readonly $fault: "client";
18
- errorCode: AccessDeniedErrorCode | undefined;
19
- canRetry: boolean | undefined;
20
- constructor(
21
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
22
- );
23
- }
1
+ import {
2
+ AgentHealth,
3
+ AgentHealthCode,
4
+ AssessmentRunNotificationSnsStatusCode,
5
+ AssessmentRunState,
6
+ AssetType,
7
+ FailedItemErrorCode,
8
+ InspectorEvent,
9
+ Locale,
10
+ PreviewStatus,
11
+ ReportFileFormat,
12
+ ReportStatus,
13
+ ReportType,
14
+ ScopeType,
15
+ Severity,
16
+ StopAction,
17
+ } from "./enums";
24
18
  export interface Attribute {
25
19
  key: string | undefined;
26
20
  value?: string | undefined;
@@ -29,16 +23,6 @@ export interface AddAttributesToFindingsRequest {
29
23
  findingArns: string[] | undefined;
30
24
  attributes: Attribute[] | undefined;
31
25
  }
32
- export declare const FailedItemErrorCode: {
33
- readonly ACCESS_DENIED: "ACCESS_DENIED";
34
- readonly DUPLICATE_ARN: "DUPLICATE_ARN";
35
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
36
- readonly INVALID_ARN: "INVALID_ARN";
37
- readonly ITEM_DOES_NOT_EXIST: "ITEM_DOES_NOT_EXIST";
38
- readonly LIMIT_EXCEEDED: "LIMIT_EXCEEDED";
39
- };
40
- export type FailedItemErrorCode =
41
- (typeof FailedItemErrorCode)[keyof typeof FailedItemErrorCode];
42
26
  export interface FailedItemDetails {
43
27
  failureCode: FailedItemErrorCode | undefined;
44
28
  retryable: boolean | undefined;
@@ -46,131 +30,10 @@ export interface FailedItemDetails {
46
30
  export interface AddAttributesToFindingsResponse {
47
31
  failedItems: Record<string, FailedItemDetails> | undefined;
48
32
  }
49
- export declare class InternalException extends __BaseException {
50
- readonly name: "InternalException";
51
- readonly $fault: "server";
52
- canRetry: boolean | undefined;
53
- constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
54
- }
55
- export declare const InvalidInputErrorCode: {
56
- readonly ASSESSMENT_TARGET_NAME_ALREADY_TAKEN: "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN";
57
- readonly ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN: "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN";
58
- readonly INVALID_AGENT_ID: "INVALID_AGENT_ID";
59
- readonly INVALID_ASSESSMENT_RUN_ARN: "INVALID_ASSESSMENT_RUN_ARN";
60
- readonly INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE: "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE";
61
- readonly INVALID_ASSESSMENT_RUN_DURATION_RANGE: "INVALID_ASSESSMENT_RUN_DURATION_RANGE";
62
- readonly INVALID_ASSESSMENT_RUN_START_TIME_RANGE: "INVALID_ASSESSMENT_RUN_START_TIME_RANGE";
63
- readonly INVALID_ASSESSMENT_RUN_STATE: "INVALID_ASSESSMENT_RUN_STATE";
64
- readonly INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE: "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE";
65
- readonly INVALID_ASSESSMENT_TARGET_ARN: "INVALID_ASSESSMENT_TARGET_ARN";
66
- readonly INVALID_ASSESSMENT_TARGET_NAME: "INVALID_ASSESSMENT_TARGET_NAME";
67
- readonly INVALID_ASSESSMENT_TARGET_NAME_PATTERN: "INVALID_ASSESSMENT_TARGET_NAME_PATTERN";
68
- readonly INVALID_ASSESSMENT_TEMPLATE_ARN: "INVALID_ASSESSMENT_TEMPLATE_ARN";
69
- readonly INVALID_ASSESSMENT_TEMPLATE_DURATION: "INVALID_ASSESSMENT_TEMPLATE_DURATION";
70
- readonly INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE: "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE";
71
- readonly INVALID_ASSESSMENT_TEMPLATE_NAME: "INVALID_ASSESSMENT_TEMPLATE_NAME";
72
- readonly INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN: "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN";
73
- readonly INVALID_ATTRIBUTE: "INVALID_ATTRIBUTE";
74
- readonly INVALID_AUTO_SCALING_GROUP: "INVALID_AUTO_SCALING_GROUP";
75
- readonly INVALID_EVENT: "INVALID_EVENT";
76
- readonly INVALID_FINDING_ARN: "INVALID_FINDING_ARN";
77
- readonly INVALID_IAM_ROLE_ARN: "INVALID_IAM_ROLE_ARN";
78
- readonly INVALID_LOCALE: "INVALID_LOCALE";
79
- readonly INVALID_MAX_RESULTS: "INVALID_MAX_RESULTS";
80
- readonly INVALID_NUMBER_OF_AGENT_IDS: "INVALID_NUMBER_OF_AGENT_IDS";
81
- readonly INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS";
82
- readonly INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES: "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES";
83
- readonly INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS";
84
- readonly INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS: "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS";
85
- readonly INVALID_NUMBER_OF_ATTRIBUTES: "INVALID_NUMBER_OF_ATTRIBUTES";
86
- readonly INVALID_NUMBER_OF_AUTO_SCALING_GROUPS: "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS";
87
- readonly INVALID_NUMBER_OF_FINDING_ARNS: "INVALID_NUMBER_OF_FINDING_ARNS";
88
- readonly INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS: "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS";
89
- readonly INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS: "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS";
90
- readonly INVALID_NUMBER_OF_RULES_PACKAGE_ARNS: "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS";
91
- readonly INVALID_NUMBER_OF_RULE_NAMES: "INVALID_NUMBER_OF_RULE_NAMES";
92
- readonly INVALID_NUMBER_OF_SEVERITIES: "INVALID_NUMBER_OF_SEVERITIES";
93
- readonly INVALID_NUMBER_OF_TAGS: "INVALID_NUMBER_OF_TAGS";
94
- readonly INVALID_NUMBER_OF_USER_ATTRIBUTES: "INVALID_NUMBER_OF_USER_ATTRIBUTES";
95
- readonly INVALID_PAGINATION_TOKEN: "INVALID_PAGINATION_TOKEN";
96
- readonly INVALID_RESOURCE_ARN: "INVALID_RESOURCE_ARN";
97
- readonly INVALID_RESOURCE_GROUP_ARN: "INVALID_RESOURCE_GROUP_ARN";
98
- readonly INVALID_RESOURCE_GROUP_TAG_KEY: "INVALID_RESOURCE_GROUP_TAG_KEY";
99
- readonly INVALID_RESOURCE_GROUP_TAG_VALUE: "INVALID_RESOURCE_GROUP_TAG_VALUE";
100
- readonly INVALID_RULES_PACKAGE_ARN: "INVALID_RULES_PACKAGE_ARN";
101
- readonly INVALID_RULE_NAME: "INVALID_RULE_NAME";
102
- readonly INVALID_SEVERITY: "INVALID_SEVERITY";
103
- readonly INVALID_SNS_TOPIC_ARN: "INVALID_SNS_TOPIC_ARN";
104
- readonly INVALID_TAG: "INVALID_TAG";
105
- readonly INVALID_TAG_KEY: "INVALID_TAG_KEY";
106
- readonly INVALID_TAG_VALUE: "INVALID_TAG_VALUE";
107
- readonly INVALID_USER_ATTRIBUTE: "INVALID_USER_ATTRIBUTE";
108
- readonly INVALID_USER_ATTRIBUTE_KEY: "INVALID_USER_ATTRIBUTE_KEY";
109
- readonly INVALID_USER_ATTRIBUTE_VALUE: "INVALID_USER_ATTRIBUTE_VALUE";
110
- };
111
- export type InvalidInputErrorCode =
112
- (typeof InvalidInputErrorCode)[keyof typeof InvalidInputErrorCode];
113
- export declare class InvalidInputException extends __BaseException {
114
- readonly name: "InvalidInputException";
115
- readonly $fault: "client";
116
- errorCode: InvalidInputErrorCode | undefined;
117
- canRetry: boolean | undefined;
118
- constructor(
119
- opts: __ExceptionOptionType<InvalidInputException, __BaseException>
120
- );
121
- }
122
- export declare const NoSuchEntityErrorCode: {
123
- readonly ASSESSMENT_RUN_DOES_NOT_EXIST: "ASSESSMENT_RUN_DOES_NOT_EXIST";
124
- readonly ASSESSMENT_TARGET_DOES_NOT_EXIST: "ASSESSMENT_TARGET_DOES_NOT_EXIST";
125
- readonly ASSESSMENT_TEMPLATE_DOES_NOT_EXIST: "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST";
126
- readonly FINDING_DOES_NOT_EXIST: "FINDING_DOES_NOT_EXIST";
127
- readonly IAM_ROLE_DOES_NOT_EXIST: "IAM_ROLE_DOES_NOT_EXIST";
128
- readonly RESOURCE_GROUP_DOES_NOT_EXIST: "RESOURCE_GROUP_DOES_NOT_EXIST";
129
- readonly RULES_PACKAGE_DOES_NOT_EXIST: "RULES_PACKAGE_DOES_NOT_EXIST";
130
- readonly SNS_TOPIC_DOES_NOT_EXIST: "SNS_TOPIC_DOES_NOT_EXIST";
131
- };
132
- export type NoSuchEntityErrorCode =
133
- (typeof NoSuchEntityErrorCode)[keyof typeof NoSuchEntityErrorCode];
134
- export declare class NoSuchEntityException extends __BaseException {
135
- readonly name: "NoSuchEntityException";
136
- readonly $fault: "client";
137
- errorCode: NoSuchEntityErrorCode | undefined;
138
- canRetry: boolean | undefined;
139
- constructor(
140
- opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>
141
- );
142
- }
143
- export declare class ServiceTemporarilyUnavailableException extends __BaseException {
144
- readonly name: "ServiceTemporarilyUnavailableException";
145
- readonly $fault: "server";
146
- canRetry: boolean | undefined;
147
- constructor(
148
- opts: __ExceptionOptionType<
149
- ServiceTemporarilyUnavailableException,
150
- __BaseException
151
- >
152
- );
153
- }
154
33
  export interface AgentAlreadyRunningAssessment {
155
34
  agentId: string | undefined;
156
35
  assessmentRunArn: string | undefined;
157
36
  }
158
- export declare const AgentHealthCode: {
159
- readonly IDLE: "IDLE";
160
- readonly RUNNING: "RUNNING";
161
- readonly SHUTDOWN: "SHUTDOWN";
162
- readonly THROTTLED: "THROTTLED";
163
- readonly UNHEALTHY: "UNHEALTHY";
164
- readonly UNKNOWN: "UNKNOWN";
165
- };
166
- export type AgentHealthCode =
167
- (typeof AgentHealthCode)[keyof typeof AgentHealthCode];
168
- export declare const AgentHealth: {
169
- readonly HEALTHY: "HEALTHY";
170
- readonly UNHEALTHY: "UNHEALTHY";
171
- readonly UNKNOWN: "UNKNOWN";
172
- };
173
- export type AgentHealth = (typeof AgentHealth)[keyof typeof AgentHealth];
174
37
  export interface AgentFilter {
175
38
  agentHealths: AgentHealth[] | undefined;
176
39
  agentHealthCodes: AgentHealthCode[] | undefined;
@@ -185,44 +48,6 @@ export interface AgentPreview {
185
48
  kernelVersion?: string | undefined;
186
49
  ipv4Address?: string | undefined;
187
50
  }
188
- export declare class AgentsAlreadyRunningAssessmentException extends __BaseException {
189
- readonly name: "AgentsAlreadyRunningAssessmentException";
190
- readonly $fault: "client";
191
- agents: AgentAlreadyRunningAssessment[] | undefined;
192
- agentsTruncated: boolean | undefined;
193
- canRetry: boolean | undefined;
194
- constructor(
195
- opts: __ExceptionOptionType<
196
- AgentsAlreadyRunningAssessmentException,
197
- __BaseException
198
- >
199
- );
200
- }
201
- export declare const Severity: {
202
- readonly HIGH: "High";
203
- readonly INFORMATIONAL: "Informational";
204
- readonly LOW: "Low";
205
- readonly MEDIUM: "Medium";
206
- readonly UNDEFINED: "Undefined";
207
- };
208
- export type Severity = (typeof Severity)[keyof typeof Severity];
209
- export declare const InspectorEvent: {
210
- readonly ASSESSMENT_RUN_COMPLETED: "ASSESSMENT_RUN_COMPLETED";
211
- readonly ASSESSMENT_RUN_STARTED: "ASSESSMENT_RUN_STARTED";
212
- readonly ASSESSMENT_RUN_STATE_CHANGED: "ASSESSMENT_RUN_STATE_CHANGED";
213
- readonly FINDING_REPORTED: "FINDING_REPORTED";
214
- readonly OTHER: "OTHER";
215
- };
216
- export type InspectorEvent =
217
- (typeof InspectorEvent)[keyof typeof InspectorEvent];
218
- export declare const AssessmentRunNotificationSnsStatusCode: {
219
- readonly ACCESS_DENIED: "ACCESS_DENIED";
220
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
221
- readonly SUCCESS: "SUCCESS";
222
- readonly TOPIC_DOES_NOT_EXIST: "TOPIC_DOES_NOT_EXIST";
223
- };
224
- export type AssessmentRunNotificationSnsStatusCode =
225
- (typeof AssessmentRunNotificationSnsStatusCode)[keyof typeof AssessmentRunNotificationSnsStatusCode];
226
51
  export interface AssessmentRunNotification {
227
52
  date: Date | undefined;
228
53
  event: InspectorEvent | undefined;
@@ -231,23 +56,6 @@ export interface AssessmentRunNotification {
231
56
  snsTopicArn?: string | undefined;
232
57
  snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | undefined;
233
58
  }
234
- export declare const AssessmentRunState: {
235
- readonly CANCELED: "CANCELED";
236
- readonly COLLECTING_DATA: "COLLECTING_DATA";
237
- readonly COMPLETED: "COMPLETED";
238
- readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
239
- readonly CREATED: "CREATED";
240
- readonly DATA_COLLECTED: "DATA_COLLECTED";
241
- readonly ERROR: "ERROR";
242
- readonly EVALUATING_RULES: "EVALUATING_RULES";
243
- readonly FAILED: "FAILED";
244
- readonly START_DATA_COLLECTION_IN_PROGRESS: "START_DATA_COLLECTION_IN_PROGRESS";
245
- readonly START_DATA_COLLECTION_PENDING: "START_DATA_COLLECTION_PENDING";
246
- readonly START_EVALUATING_RULES_PENDING: "START_EVALUATING_RULES_PENDING";
247
- readonly STOP_DATA_COLLECTION_PENDING: "STOP_DATA_COLLECTION_PENDING";
248
- };
249
- export type AssessmentRunState =
250
- (typeof AssessmentRunState)[keyof typeof AssessmentRunState];
251
59
  export interface AssessmentRunStateChange {
252
60
  stateChangedAt: Date | undefined;
253
61
  state: AssessmentRunState | undefined;
@@ -300,19 +108,6 @@ export interface AssessmentRunFilter {
300
108
  completionTimeRange?: TimestampRange | undefined;
301
109
  stateChangeTimeRange?: TimestampRange | undefined;
302
110
  }
303
- export declare class AssessmentRunInProgressException extends __BaseException {
304
- readonly name: "AssessmentRunInProgressException";
305
- readonly $fault: "client";
306
- assessmentRunArns: string[] | undefined;
307
- assessmentRunArnsTruncated: boolean | undefined;
308
- canRetry: boolean | undefined;
309
- constructor(
310
- opts: __ExceptionOptionType<
311
- AssessmentRunInProgressException,
312
- __BaseException
313
- >
314
- );
315
- }
316
111
  export interface AssessmentTarget {
317
112
  arn: string | undefined;
318
113
  name: string | undefined;
@@ -373,10 +168,6 @@ export interface AssetAttributes {
373
168
  tags?: Tag[] | undefined;
374
169
  networkInterfaces?: NetworkInterface[] | undefined;
375
170
  }
376
- export declare const AssetType: {
377
- readonly EC2_INSTANCE: "ec2-instance";
378
- };
379
- export type AssetType = (typeof AssetType)[keyof typeof AssetType];
380
171
  export interface CreateAssessmentTargetRequest {
381
172
  assessmentTargetName: string | undefined;
382
173
  resourceGroupArn?: string | undefined;
@@ -384,42 +175,6 @@ export interface CreateAssessmentTargetRequest {
384
175
  export interface CreateAssessmentTargetResponse {
385
176
  assessmentTargetArn: string | undefined;
386
177
  }
387
- export declare const InvalidCrossAccountRoleErrorCode: {
388
- readonly ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP: "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP";
389
- readonly ROLE_DOES_NOT_HAVE_CORRECT_POLICY: "ROLE_DOES_NOT_HAVE_CORRECT_POLICY";
390
- };
391
- export type InvalidCrossAccountRoleErrorCode =
392
- (typeof InvalidCrossAccountRoleErrorCode)[keyof typeof InvalidCrossAccountRoleErrorCode];
393
- export declare class InvalidCrossAccountRoleException extends __BaseException {
394
- readonly name: "InvalidCrossAccountRoleException";
395
- readonly $fault: "client";
396
- errorCode: InvalidCrossAccountRoleErrorCode | undefined;
397
- canRetry: boolean | undefined;
398
- constructor(
399
- opts: __ExceptionOptionType<
400
- InvalidCrossAccountRoleException,
401
- __BaseException
402
- >
403
- );
404
- }
405
- export declare const LimitExceededErrorCode: {
406
- readonly ASSESSMENT_RUN_LIMIT_EXCEEDED: "ASSESSMENT_RUN_LIMIT_EXCEEDED";
407
- readonly ASSESSMENT_TARGET_LIMIT_EXCEEDED: "ASSESSMENT_TARGET_LIMIT_EXCEEDED";
408
- readonly ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED: "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED";
409
- readonly EVENT_SUBSCRIPTION_LIMIT_EXCEEDED: "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED";
410
- readonly RESOURCE_GROUP_LIMIT_EXCEEDED: "RESOURCE_GROUP_LIMIT_EXCEEDED";
411
- };
412
- export type LimitExceededErrorCode =
413
- (typeof LimitExceededErrorCode)[keyof typeof LimitExceededErrorCode];
414
- export declare class LimitExceededException extends __BaseException {
415
- readonly name: "LimitExceededException";
416
- readonly $fault: "client";
417
- errorCode: LimitExceededErrorCode | undefined;
418
- canRetry: boolean | undefined;
419
- constructor(
420
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
421
- );
422
- }
423
178
  export interface CreateAssessmentTemplateRequest {
424
179
  assessmentTargetArn: string | undefined;
425
180
  assessmentTemplateName: string | undefined;
@@ -436,16 +191,6 @@ export interface CreateExclusionsPreviewRequest {
436
191
  export interface CreateExclusionsPreviewResponse {
437
192
  previewToken: string | undefined;
438
193
  }
439
- export declare class PreviewGenerationInProgressException extends __BaseException {
440
- readonly name: "PreviewGenerationInProgressException";
441
- readonly $fault: "client";
442
- constructor(
443
- opts: __ExceptionOptionType<
444
- PreviewGenerationInProgressException,
445
- __BaseException
446
- >
447
- );
448
- }
449
194
  export interface ResourceGroupTag {
450
195
  key: string | undefined;
451
196
  value?: string | undefined;
@@ -491,19 +236,10 @@ export interface DescribeCrossAccountAccessRoleResponse {
491
236
  valid: boolean | undefined;
492
237
  registeredAt: Date | undefined;
493
238
  }
494
- export declare const Locale: {
495
- readonly EN_US: "EN_US";
496
- };
497
- export type Locale = (typeof Locale)[keyof typeof Locale];
498
239
  export interface DescribeExclusionsRequest {
499
240
  exclusionArns: string[] | undefined;
500
241
  locale?: Locale | undefined;
501
242
  }
502
- export declare const ScopeType: {
503
- readonly INSTANCE_ID: "INSTANCE_ID";
504
- readonly RULES_PACKAGE_ARN: "RULES_PACKAGE_ARN";
505
- };
506
- export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
507
243
  export interface Scope {
508
244
  key?: ScopeType | undefined;
509
245
  value?: string | undefined;
@@ -601,40 +337,15 @@ export interface FindingFilter {
601
337
  userAttributes?: Attribute[] | undefined;
602
338
  creationTimeRange?: TimestampRange | undefined;
603
339
  }
604
- export declare const ReportFileFormat: {
605
- readonly HTML: "HTML";
606
- readonly PDF: "PDF";
607
- };
608
- export type ReportFileFormat =
609
- (typeof ReportFileFormat)[keyof typeof ReportFileFormat];
610
- export declare const ReportType: {
611
- readonly FINDING: "FINDING";
612
- readonly FULL: "FULL";
613
- };
614
- export type ReportType = (typeof ReportType)[keyof typeof ReportType];
615
340
  export interface GetAssessmentReportRequest {
616
341
  assessmentRunArn: string | undefined;
617
342
  reportFileFormat: ReportFileFormat | undefined;
618
343
  reportType: ReportType | undefined;
619
344
  }
620
- export declare const ReportStatus: {
621
- readonly COMPLETED: "COMPLETED";
622
- readonly FAILED: "FAILED";
623
- readonly WORK_IN_PROGRESS: "WORK_IN_PROGRESS";
624
- };
625
- export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
626
345
  export interface GetAssessmentReportResponse {
627
346
  status: ReportStatus | undefined;
628
347
  url?: string | undefined;
629
348
  }
630
- export declare class UnsupportedFeatureException extends __BaseException {
631
- readonly name: "UnsupportedFeatureException";
632
- readonly $fault: "client";
633
- canRetry: boolean | undefined;
634
- constructor(
635
- opts: __ExceptionOptionType<UnsupportedFeatureException, __BaseException>
636
- );
637
- }
638
349
  export interface GetExclusionsPreviewRequest {
639
350
  assessmentTemplateArn: string | undefined;
640
351
  previewToken: string | undefined;
@@ -642,11 +353,6 @@ export interface GetExclusionsPreviewRequest {
642
353
  maxResults?: number | undefined;
643
354
  locale?: Locale | undefined;
644
355
  }
645
- export declare const PreviewStatus: {
646
- readonly COMPLETED: "COMPLETED";
647
- readonly WORK_IN_PROGRESS: "WORK_IN_PROGRESS";
648
- };
649
- export type PreviewStatus = (typeof PreviewStatus)[keyof typeof PreviewStatus];
650
356
  export interface GetExclusionsPreviewResponse {
651
357
  previewStatus: PreviewStatus | undefined;
652
358
  exclusionPreviews?: ExclusionPreview[] | undefined;
@@ -774,11 +480,6 @@ export interface StartAssessmentRunRequest {
774
480
  export interface StartAssessmentRunResponse {
775
481
  assessmentRunArn: string | undefined;
776
482
  }
777
- export declare const StopAction: {
778
- readonly SKIP_EVALUATION: "SKIP_EVALUATION";
779
- readonly START_EVALUATION: "START_EVALUATION";
780
- };
781
- export type StopAction = (typeof StopAction)[keyof typeof StopAction];
782
483
  export interface StopAssessmentRunRequest {
783
484
  assessmentRunArn: string | undefined;
784
485
  stopAction?: StopAction | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector",
3
3
  "description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
4
- "version": "3.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-inspector",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";