@aws-sdk/client-inspector 3.427.0 → 3.429.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.
@@ -29,7 +29,7 @@ export declare class AccessDeniedException extends __BaseException {
29
29
  * @public
30
30
  * <p>Code that indicates the type of error that is generated.</p>
31
31
  */
32
- errorCode: AccessDeniedErrorCode | string | undefined;
32
+ errorCode: AccessDeniedErrorCode | undefined;
33
33
  /**
34
34
  * @public
35
35
  * <p>You can immediately retry your request.</p>
@@ -97,7 +97,7 @@ export interface FailedItemDetails {
97
97
  * @public
98
98
  * <p>The status code of a failed item.</p>
99
99
  */
100
- failureCode: FailedItemErrorCode | string | undefined;
100
+ failureCode: FailedItemErrorCode | undefined;
101
101
  /**
102
102
  * @public
103
103
  * <p>Indicates whether you can immediately retry a request for this item for a specified
@@ -209,7 +209,7 @@ export declare class InvalidInputException extends __BaseException {
209
209
  * @public
210
210
  * <p>Code that indicates the type of error that is generated.</p>
211
211
  */
212
- errorCode: InvalidInputErrorCode | string | undefined;
212
+ errorCode: InvalidInputErrorCode | undefined;
213
213
  /**
214
214
  * @public
215
215
  * <p>You can immediately retry your request.</p>
@@ -250,7 +250,7 @@ export declare class NoSuchEntityException extends __BaseException {
250
250
  * @public
251
251
  * <p>Code that indicates the type of error that is generated.</p>
252
252
  */
253
- errorCode: NoSuchEntityErrorCode | string | undefined;
253
+ errorCode: NoSuchEntityErrorCode | undefined;
254
254
  /**
255
255
  * @public
256
256
  * <p>You can immediately retry your request.</p>
@@ -336,12 +336,12 @@ export interface AgentFilter {
336
336
  * @public
337
337
  * <p>The current health state of the agent. Values can be set to <b>HEALTHY</b> or <b>UNHEALTHY</b>.</p>
338
338
  */
339
- agentHealths: (AgentHealth | string)[] | undefined;
339
+ agentHealths: AgentHealth[] | undefined;
340
340
  /**
341
341
  * @public
342
342
  * <p>The detailed health state of the agent. Values can be set to <b>IDLE</b>, <b>RUNNING</b>, <b>SHUTDOWN</b>, <b>UNHEALTHY</b>, <b>THROTTLED</b>, and <b>UNKNOWN</b>. </p>
343
343
  */
344
- agentHealthCodes: (AgentHealthCode | string)[] | undefined;
344
+ agentHealthCodes: AgentHealthCode[] | undefined;
345
345
  }
346
346
  /**
347
347
  * @public
@@ -368,7 +368,7 @@ export interface AgentPreview {
368
368
  * @public
369
369
  * <p>The health status of the Amazon Inspector Agent.</p>
370
370
  */
371
- agentHealth?: AgentHealth | string;
371
+ agentHealth?: AgentHealth;
372
372
  /**
373
373
  * @public
374
374
  * <p>The version of the Amazon Inspector Agent.</p>
@@ -480,7 +480,7 @@ export interface AssessmentRunNotification {
480
480
  * @public
481
481
  * <p>The event for which a notification is sent.</p>
482
482
  */
483
- event: InspectorEvent | string | undefined;
483
+ event: InspectorEvent | undefined;
484
484
  /**
485
485
  * @public
486
486
  * <p>The message included in the notification.</p>
@@ -501,7 +501,7 @@ export interface AssessmentRunNotification {
501
501
  * @public
502
502
  * <p>The status code of the SNS notification.</p>
503
503
  */
504
- snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | string;
504
+ snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode;
505
505
  }
506
506
  /**
507
507
  * @public
@@ -541,7 +541,7 @@ export interface AssessmentRunStateChange {
541
541
  * @public
542
542
  * <p>The assessment run state.</p>
543
543
  */
544
- state: AssessmentRunState | string | undefined;
544
+ state: AssessmentRunState | undefined;
545
545
  }
546
546
  /**
547
547
  * @public
@@ -571,7 +571,7 @@ export interface AssessmentRun {
571
571
  * @public
572
572
  * <p>The state of the assessment run.</p>
573
573
  */
574
- state: AssessmentRunState | string | undefined;
574
+ state: AssessmentRunState | undefined;
575
575
  /**
576
576
  * @public
577
577
  * <p>The duration of the assessment run.</p>
@@ -629,7 +629,7 @@ export interface AssessmentRun {
629
629
  * @public
630
630
  * <p>Provides a total count of generated findings per severity.</p>
631
631
  */
632
- findingCounts: Record<string, number> | undefined;
632
+ findingCounts: Record<Severity, number> | undefined;
633
633
  }
634
634
  /**
635
635
  * @public
@@ -674,12 +674,12 @@ export interface AssessmentRunAgent {
674
674
  * @public
675
675
  * <p>The current health state of the agent.</p>
676
676
  */
677
- agentHealth: AgentHealth | string | undefined;
677
+ agentHealth: AgentHealth | undefined;
678
678
  /**
679
679
  * @public
680
680
  * <p>The detailed health state of the agent.</p>
681
681
  */
682
- agentHealthCode: AgentHealthCode | string | undefined;
682
+ agentHealthCode: AgentHealthCode | undefined;
683
683
  /**
684
684
  * @public
685
685
  * <p>The description for the agent health code.</p>
@@ -752,7 +752,7 @@ export interface AssessmentRunFilter {
752
752
  * property must be the exact match of the value of the <b>assessmentRunState</b> property of the <a>AssessmentRun</a> data
753
753
  * type.</p>
754
754
  */
755
- states?: (AssessmentRunState | string)[];
755
+ states?: AssessmentRunState[];
756
756
  /**
757
757
  * @public
758
758
  * <p>For a record to match a filter, the value that is specified for this data type
@@ -1177,7 +1177,7 @@ export declare class InvalidCrossAccountRoleException extends __BaseException {
1177
1177
  * @public
1178
1178
  * <p>Code that indicates the type of error that is generated.</p>
1179
1179
  */
1180
- errorCode: InvalidCrossAccountRoleErrorCode | string | undefined;
1180
+ errorCode: InvalidCrossAccountRoleErrorCode | undefined;
1181
1181
  /**
1182
1182
  * @public
1183
1183
  * <p>You can immediately retry your request.</p>
@@ -1215,7 +1215,7 @@ export declare class LimitExceededException extends __BaseException {
1215
1215
  * @public
1216
1216
  * <p>Code that indicates the type of error that is generated.</p>
1217
1217
  */
1218
- errorCode: LimitExceededErrorCode | string | undefined;
1218
+ errorCode: LimitExceededErrorCode | undefined;
1219
1219
  /**
1220
1220
  * @public
1221
1221
  * <p>You can immediately retry your request.</p>
@@ -1500,7 +1500,7 @@ export interface DescribeExclusionsRequest {
1500
1500
  * <p>The locale into which you want to translate the exclusion's title, description, and
1501
1501
  * recommendation.</p>
1502
1502
  */
1503
- locale?: Locale | string;
1503
+ locale?: Locale;
1504
1504
  }
1505
1505
  /**
1506
1506
  * @public
@@ -1524,7 +1524,7 @@ export interface Scope {
1524
1524
  * @public
1525
1525
  * <p>The type of the scope.</p>
1526
1526
  */
1527
- key?: ScopeType | string;
1527
+ key?: ScopeType;
1528
1528
  /**
1529
1529
  * @public
1530
1530
  * <p>The resource identifier for the specified scope type.</p>
@@ -1597,7 +1597,7 @@ export interface DescribeFindingsRequest {
1597
1597
  * <p>The locale into which you want to translate a finding description, recommendation,
1598
1598
  * and the short description that identifies the finding.</p>
1599
1599
  */
1600
- locale?: Locale | string;
1600
+ locale?: Locale;
1601
1601
  }
1602
1602
  /**
1603
1603
  * @public
@@ -1650,7 +1650,7 @@ export interface Finding {
1650
1650
  * @public
1651
1651
  * <p>The type of the host from which the finding is generated.</p>
1652
1652
  */
1653
- assetType?: AssetType | string;
1653
+ assetType?: AssetType;
1654
1654
  /**
1655
1655
  * @public
1656
1656
  * <p>A collection of attributes of the host from which the finding is generated.</p>
@@ -1681,7 +1681,7 @@ export interface Finding {
1681
1681
  * <p>The finding severity. Values can be set to High, Medium, Low, and
1682
1682
  * Informational.</p>
1683
1683
  */
1684
- severity?: Severity | string;
1684
+ severity?: Severity;
1685
1685
  /**
1686
1686
  * @public
1687
1687
  * <p>The numeric value of the finding severity.</p>
@@ -1798,7 +1798,7 @@ export interface DescribeRulesPackagesRequest {
1798
1798
  * @public
1799
1799
  * <p>The locale that you want to translate a rules package description into.</p>
1800
1800
  */
1801
- locale?: Locale | string;
1801
+ locale?: Locale;
1802
1802
  }
1803
1803
  /**
1804
1804
  * @public
@@ -1858,7 +1858,7 @@ export interface EventSubscription {
1858
1858
  * <p>The event for which Amazon Simple Notification Service (SNS) notifications are
1859
1859
  * sent.</p>
1860
1860
  */
1861
- event: InspectorEvent | string | undefined;
1861
+ event: InspectorEvent | undefined;
1862
1862
  /**
1863
1863
  * @public
1864
1864
  * <p>The time at which <a>SubscribeToEvent</a> is called.</p>
@@ -1927,7 +1927,7 @@ export interface FindingFilter {
1927
1927
  * <p>For a record to match a filter, one of the values that is specified for this data
1928
1928
  * type property must be the exact match of the value of the <b>severity</b> property of the <a>Finding</a> data type.</p>
1929
1929
  */
1930
- severities?: (Severity | string)[];
1930
+ severities?: Severity[];
1931
1931
  /**
1932
1932
  * @public
1933
1933
  * <p>For a record to match a filter, one of the values that is specified for this data
@@ -1993,14 +1993,14 @@ export interface GetAssessmentReportRequest {
1993
1993
  * <p>Specifies the file format (html or pdf) of the assessment report that you want to
1994
1994
  * generate.</p>
1995
1995
  */
1996
- reportFileFormat: ReportFileFormat | string | undefined;
1996
+ reportFileFormat: ReportFileFormat | undefined;
1997
1997
  /**
1998
1998
  * @public
1999
1999
  * <p>Specifies the type of the assessment report that you want to generate. There are two
2000
2000
  * types of assessment reports: a finding report and a full report. For more information, see
2001
2001
  * <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html">Assessment Reports</a>. </p>
2002
2002
  */
2003
- reportType: ReportType | string | undefined;
2003
+ reportType: ReportType | undefined;
2004
2004
  }
2005
2005
  /**
2006
2006
  * @public
@@ -2023,7 +2023,7 @@ export interface GetAssessmentReportResponse {
2023
2023
  * @public
2024
2024
  * <p>Specifies the status of the request to generate an assessment report. </p>
2025
2025
  */
2026
- status: ReportStatus | string | undefined;
2026
+ status: ReportStatus | undefined;
2027
2027
  /**
2028
2028
  * @public
2029
2029
  * <p>Specifies the URL where you can find the generated assessment report. This parameter
@@ -2082,7 +2082,7 @@ export interface GetExclusionsPreviewRequest {
2082
2082
  * <p>The locale into which you want to translate the exclusion's title, description, and
2083
2083
  * recommendation.</p>
2084
2084
  */
2085
- locale?: Locale | string;
2085
+ locale?: Locale;
2086
2086
  }
2087
2087
  /**
2088
2088
  * @public
@@ -2104,7 +2104,7 @@ export interface GetExclusionsPreviewResponse {
2104
2104
  * @public
2105
2105
  * <p>Specifies the status of the request to generate an exclusions preview.</p>
2106
2106
  */
2107
- previewStatus: PreviewStatus | string | undefined;
2107
+ previewStatus: PreviewStatus | undefined;
2108
2108
  /**
2109
2109
  * @public
2110
2110
  * <p>Information about the exclusions included in the preview.</p>
@@ -2713,7 +2713,7 @@ export interface StopAssessmentRunRequest {
2713
2713
  * the results evaluation and the findings generation process. SKIP_EVALUATION cancels the
2714
2714
  * assessment run immediately, after which no findings are generated.</p>
2715
2715
  */
2716
- stopAction?: StopAction | string;
2716
+ stopAction?: StopAction;
2717
2717
  }
2718
2718
  /**
2719
2719
  * @public
@@ -2729,7 +2729,7 @@ export interface SubscribeToEventRequest {
2729
2729
  * @public
2730
2730
  * <p>The event for which you want to receive SNS notifications.</p>
2731
2731
  */
2732
- event: InspectorEvent | string | undefined;
2732
+ event: InspectorEvent | undefined;
2733
2733
  /**
2734
2734
  * @public
2735
2735
  * <p>The ARN of the SNS topic to which the SNS notifications are sent.</p>
@@ -2750,7 +2750,7 @@ export interface UnsubscribeFromEventRequest {
2750
2750
  * @public
2751
2751
  * <p>The event for which you want to stop receiving SNS notifications.</p>
2752
2752
  */
2753
- event: InspectorEvent | string | undefined;
2753
+ event: InspectorEvent | undefined;
2754
2754
  /**
2755
2755
  * @public
2756
2756
  * <p>The ARN of the SNS topic to which SNS notifications are sent.</p>
@@ -15,7 +15,7 @@ export type AccessDeniedErrorCode =
15
15
  export declare class AccessDeniedException extends __BaseException {
16
16
  readonly name: "AccessDeniedException";
17
17
  readonly $fault: "client";
18
- errorCode: AccessDeniedErrorCode | string | undefined;
18
+ errorCode: AccessDeniedErrorCode | undefined;
19
19
  canRetry: boolean | undefined;
20
20
  constructor(
21
21
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
@@ -40,7 +40,7 @@ export declare const FailedItemErrorCode: {
40
40
  export type FailedItemErrorCode =
41
41
  (typeof FailedItemErrorCode)[keyof typeof FailedItemErrorCode];
42
42
  export interface FailedItemDetails {
43
- failureCode: FailedItemErrorCode | string | undefined;
43
+ failureCode: FailedItemErrorCode | undefined;
44
44
  retryable: boolean | undefined;
45
45
  }
46
46
  export interface AddAttributesToFindingsResponse {
@@ -113,7 +113,7 @@ export type InvalidInputErrorCode =
113
113
  export declare class InvalidInputException extends __BaseException {
114
114
  readonly name: "InvalidInputException";
115
115
  readonly $fault: "client";
116
- errorCode: InvalidInputErrorCode | string | undefined;
116
+ errorCode: InvalidInputErrorCode | undefined;
117
117
  canRetry: boolean | undefined;
118
118
  constructor(
119
119
  opts: __ExceptionOptionType<InvalidInputException, __BaseException>
@@ -134,7 +134,7 @@ export type NoSuchEntityErrorCode =
134
134
  export declare class NoSuchEntityException extends __BaseException {
135
135
  readonly name: "NoSuchEntityException";
136
136
  readonly $fault: "client";
137
- errorCode: NoSuchEntityErrorCode | string | undefined;
137
+ errorCode: NoSuchEntityErrorCode | undefined;
138
138
  canRetry: boolean | undefined;
139
139
  constructor(
140
140
  opts: __ExceptionOptionType<NoSuchEntityException, __BaseException>
@@ -172,14 +172,14 @@ export declare const AgentHealth: {
172
172
  };
173
173
  export type AgentHealth = (typeof AgentHealth)[keyof typeof AgentHealth];
174
174
  export interface AgentFilter {
175
- agentHealths: (AgentHealth | string)[] | undefined;
176
- agentHealthCodes: (AgentHealthCode | string)[] | undefined;
175
+ agentHealths: AgentHealth[] | undefined;
176
+ agentHealthCodes: AgentHealthCode[] | undefined;
177
177
  }
178
178
  export interface AgentPreview {
179
179
  hostname?: string;
180
180
  agentId: string | undefined;
181
181
  autoScalingGroup?: string;
182
- agentHealth?: AgentHealth | string;
182
+ agentHealth?: AgentHealth;
183
183
  agentVersion?: string;
184
184
  operatingSystem?: string;
185
185
  kernelVersion?: string;
@@ -225,11 +225,11 @@ export type AssessmentRunNotificationSnsStatusCode =
225
225
  (typeof AssessmentRunNotificationSnsStatusCode)[keyof typeof AssessmentRunNotificationSnsStatusCode];
226
226
  export interface AssessmentRunNotification {
227
227
  date: Date | undefined;
228
- event: InspectorEvent | string | undefined;
228
+ event: InspectorEvent | undefined;
229
229
  message?: string;
230
230
  error: boolean | undefined;
231
231
  snsTopicArn?: string;
232
- snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | string;
232
+ snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode;
233
233
  }
234
234
  export declare const AssessmentRunState: {
235
235
  readonly CANCELED: "CANCELED";
@@ -250,13 +250,13 @@ export type AssessmentRunState =
250
250
  (typeof AssessmentRunState)[keyof typeof AssessmentRunState];
251
251
  export interface AssessmentRunStateChange {
252
252
  stateChangedAt: Date | undefined;
253
- state: AssessmentRunState | string | undefined;
253
+ state: AssessmentRunState | undefined;
254
254
  }
255
255
  export interface AssessmentRun {
256
256
  arn: string | undefined;
257
257
  name: string | undefined;
258
258
  assessmentTemplateArn: string | undefined;
259
- state: AssessmentRunState | string | undefined;
259
+ state: AssessmentRunState | undefined;
260
260
  durationInSeconds: number | undefined;
261
261
  rulesPackageArns: string[] | undefined;
262
262
  userAttributesForFindings: Attribute[] | undefined;
@@ -267,7 +267,7 @@ export interface AssessmentRun {
267
267
  dataCollected: boolean | undefined;
268
268
  stateChanges: AssessmentRunStateChange[] | undefined;
269
269
  notifications: AssessmentRunNotification[] | undefined;
270
- findingCounts: Record<string, number> | undefined;
270
+ findingCounts: Record<Severity, number> | undefined;
271
271
  }
272
272
  export interface TelemetryMetadata {
273
273
  messageType: string | undefined;
@@ -277,8 +277,8 @@ export interface TelemetryMetadata {
277
277
  export interface AssessmentRunAgent {
278
278
  agentId: string | undefined;
279
279
  assessmentRunArn: string | undefined;
280
- agentHealth: AgentHealth | string | undefined;
281
- agentHealthCode: AgentHealthCode | string | undefined;
280
+ agentHealth: AgentHealth | undefined;
281
+ agentHealthCode: AgentHealthCode | undefined;
282
282
  agentHealthDetails?: string;
283
283
  autoScalingGroup?: string;
284
284
  telemetryMetadata: TelemetryMetadata[] | undefined;
@@ -293,7 +293,7 @@ export interface DurationRange {
293
293
  }
294
294
  export interface AssessmentRunFilter {
295
295
  namePattern?: string;
296
- states?: (AssessmentRunState | string)[];
296
+ states?: AssessmentRunState[];
297
297
  durationRange?: DurationRange;
298
298
  rulesPackageArns?: string[];
299
299
  startTimeRange?: TimestampRange;
@@ -393,7 +393,7 @@ export type InvalidCrossAccountRoleErrorCode =
393
393
  export declare class InvalidCrossAccountRoleException extends __BaseException {
394
394
  readonly name: "InvalidCrossAccountRoleException";
395
395
  readonly $fault: "client";
396
- errorCode: InvalidCrossAccountRoleErrorCode | string | undefined;
396
+ errorCode: InvalidCrossAccountRoleErrorCode | undefined;
397
397
  canRetry: boolean | undefined;
398
398
  constructor(
399
399
  opts: __ExceptionOptionType<
@@ -414,7 +414,7 @@ export type LimitExceededErrorCode =
414
414
  export declare class LimitExceededException extends __BaseException {
415
415
  readonly name: "LimitExceededException";
416
416
  readonly $fault: "client";
417
- errorCode: LimitExceededErrorCode | string | undefined;
417
+ errorCode: LimitExceededErrorCode | undefined;
418
418
  canRetry: boolean | undefined;
419
419
  constructor(
420
420
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
@@ -497,7 +497,7 @@ export declare const Locale: {
497
497
  export type Locale = (typeof Locale)[keyof typeof Locale];
498
498
  export interface DescribeExclusionsRequest {
499
499
  exclusionArns: string[] | undefined;
500
- locale?: Locale | string;
500
+ locale?: Locale;
501
501
  }
502
502
  export declare const ScopeType: {
503
503
  readonly INSTANCE_ID: "INSTANCE_ID";
@@ -505,7 +505,7 @@ export declare const ScopeType: {
505
505
  };
506
506
  export type ScopeType = (typeof ScopeType)[keyof typeof ScopeType];
507
507
  export interface Scope {
508
- key?: ScopeType | string;
508
+ key?: ScopeType;
509
509
  value?: string;
510
510
  }
511
511
  export interface Exclusion {
@@ -522,7 +522,7 @@ export interface DescribeExclusionsResponse {
522
522
  }
523
523
  export interface DescribeFindingsRequest {
524
524
  findingArns: string[] | undefined;
525
- locale?: Locale | string;
525
+ locale?: Locale;
526
526
  }
527
527
  export interface InspectorServiceAttributes {
528
528
  schemaVersion: number | undefined;
@@ -534,13 +534,13 @@ export interface Finding {
534
534
  schemaVersion?: number;
535
535
  service?: string;
536
536
  serviceAttributes?: InspectorServiceAttributes;
537
- assetType?: AssetType | string;
537
+ assetType?: AssetType;
538
538
  assetAttributes?: AssetAttributes;
539
539
  id?: string;
540
540
  title?: string;
541
541
  description?: string;
542
542
  recommendation?: string;
543
- severity?: Severity | string;
543
+ severity?: Severity;
544
544
  numericSeverity?: number;
545
545
  confidence?: number;
546
546
  indicatorOfCompromise?: boolean;
@@ -567,7 +567,7 @@ export interface DescribeResourceGroupsResponse {
567
567
  }
568
568
  export interface DescribeRulesPackagesRequest {
569
569
  rulesPackageArns: string[] | undefined;
570
- locale?: Locale | string;
570
+ locale?: Locale;
571
571
  }
572
572
  export interface RulesPackage {
573
573
  arn: string | undefined;
@@ -581,7 +581,7 @@ export interface DescribeRulesPackagesResponse {
581
581
  failedItems: Record<string, FailedItemDetails> | undefined;
582
582
  }
583
583
  export interface EventSubscription {
584
- event: InspectorEvent | string | undefined;
584
+ event: InspectorEvent | undefined;
585
585
  subscribedAt: Date | undefined;
586
586
  }
587
587
  export interface ExclusionPreview {
@@ -595,7 +595,7 @@ export interface FindingFilter {
595
595
  agentIds?: string[];
596
596
  autoScalingGroups?: string[];
597
597
  ruleNames?: string[];
598
- severities?: (Severity | string)[];
598
+ severities?: Severity[];
599
599
  rulesPackageArns?: string[];
600
600
  attributes?: Attribute[];
601
601
  userAttributes?: Attribute[];
@@ -614,8 +614,8 @@ export declare const ReportType: {
614
614
  export type ReportType = (typeof ReportType)[keyof typeof ReportType];
615
615
  export interface GetAssessmentReportRequest {
616
616
  assessmentRunArn: string | undefined;
617
- reportFileFormat: ReportFileFormat | string | undefined;
618
- reportType: ReportType | string | undefined;
617
+ reportFileFormat: ReportFileFormat | undefined;
618
+ reportType: ReportType | undefined;
619
619
  }
620
620
  export declare const ReportStatus: {
621
621
  readonly COMPLETED: "COMPLETED";
@@ -624,7 +624,7 @@ export declare const ReportStatus: {
624
624
  };
625
625
  export type ReportStatus = (typeof ReportStatus)[keyof typeof ReportStatus];
626
626
  export interface GetAssessmentReportResponse {
627
- status: ReportStatus | string | undefined;
627
+ status: ReportStatus | undefined;
628
628
  url?: string;
629
629
  }
630
630
  export declare class UnsupportedFeatureException extends __BaseException {
@@ -640,7 +640,7 @@ export interface GetExclusionsPreviewRequest {
640
640
  previewToken: string | undefined;
641
641
  nextToken?: string;
642
642
  maxResults?: number;
643
- locale?: Locale | string;
643
+ locale?: Locale;
644
644
  }
645
645
  export declare const PreviewStatus: {
646
646
  readonly COMPLETED: "COMPLETED";
@@ -648,7 +648,7 @@ export declare const PreviewStatus: {
648
648
  };
649
649
  export type PreviewStatus = (typeof PreviewStatus)[keyof typeof PreviewStatus];
650
650
  export interface GetExclusionsPreviewResponse {
651
- previewStatus: PreviewStatus | string | undefined;
651
+ previewStatus: PreviewStatus | undefined;
652
652
  exclusionPreviews?: ExclusionPreview[];
653
653
  nextToken?: string;
654
654
  }
@@ -781,16 +781,16 @@ export declare const StopAction: {
781
781
  export type StopAction = (typeof StopAction)[keyof typeof StopAction];
782
782
  export interface StopAssessmentRunRequest {
783
783
  assessmentRunArn: string | undefined;
784
- stopAction?: StopAction | string;
784
+ stopAction?: StopAction;
785
785
  }
786
786
  export interface SubscribeToEventRequest {
787
787
  resourceArn: string | undefined;
788
- event: InspectorEvent | string | undefined;
788
+ event: InspectorEvent | undefined;
789
789
  topicArn: string | undefined;
790
790
  }
791
791
  export interface UnsubscribeFromEventRequest {
792
792
  resourceArn: string | undefined;
793
- event: InspectorEvent | string | undefined;
793
+ event: InspectorEvent | undefined;
794
794
  topicArn: string | undefined;
795
795
  }
796
796
  export interface UpdateAssessmentTargetRequest {
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.427.0",
4
+ "version": "3.429.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,39 +21,39 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },