@aws-sdk/client-wellarchitected 3.428.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.
@@ -70,7 +70,7 @@ export interface AdditionalResources {
70
70
  * @public
71
71
  * <p>Type of additional resource for a custom lens.</p>
72
72
  */
73
- Type?: AdditionalResourceType | string;
73
+ Type?: AdditionalResourceType;
74
74
  /**
75
75
  * @public
76
76
  * <p>The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.</p>
@@ -119,12 +119,12 @@ export interface ChoiceAnswer {
119
119
  * @public
120
120
  * <p>The status of a choice.</p>
121
121
  */
122
- Status?: ChoiceStatus | string;
122
+ Status?: ChoiceStatus;
123
123
  /**
124
124
  * @public
125
125
  * <p>The reason why a choice is non-applicable to a question in your workload.</p>
126
126
  */
127
- Reason?: ChoiceReason | string;
127
+ Reason?: ChoiceReason;
128
128
  /**
129
129
  * @public
130
130
  * <p>The notes associated with a choice.</p>
@@ -273,7 +273,7 @@ export interface Answer {
273
273
  * @public
274
274
  * <p>The risk for a given workload, lens review, pillar, or question.</p>
275
275
  */
276
- Risk?: Risk | string;
276
+ Risk?: Risk;
277
277
  /**
278
278
  * @public
279
279
  * <p>The notes associated with the workload.</p>
@@ -284,7 +284,7 @@ export interface Answer {
284
284
  * @public
285
285
  * <p>The reason why the question is not applicable to your workload.</p>
286
286
  */
287
- Reason?: AnswerReason | string;
287
+ Reason?: AnswerReason;
288
288
  }
289
289
  /**
290
290
  * @public
@@ -300,12 +300,12 @@ export interface ChoiceAnswerSummary {
300
300
  * @public
301
301
  * <p>The status of a choice.</p>
302
302
  */
303
- Status?: ChoiceStatus | string;
303
+ Status?: ChoiceStatus;
304
304
  /**
305
305
  * @public
306
306
  * <p>The reason why a choice is non-applicable to a question in your workload.</p>
307
307
  */
308
- Reason?: ChoiceReason | string;
308
+ Reason?: ChoiceReason;
309
309
  }
310
310
  /**
311
311
  * @public
@@ -365,17 +365,17 @@ export interface AnswerSummary {
365
365
  * @public
366
366
  * <p>The risk for a given workload, lens review, pillar, or question.</p>
367
367
  */
368
- Risk?: Risk | string;
368
+ Risk?: Risk;
369
369
  /**
370
370
  * @public
371
371
  * <p>The reason why a choice is non-applicable to a question in your workload.</p>
372
372
  */
373
- Reason?: AnswerReason | string;
373
+ Reason?: AnswerReason;
374
374
  /**
375
375
  * @public
376
376
  * <p>The type of the question.</p>
377
377
  */
378
- QuestionType?: QuestionType | string;
378
+ QuestionType?: QuestionType;
379
379
  }
380
380
  /**
381
381
  * @public
@@ -538,7 +538,7 @@ export declare class ValidationException extends __BaseException {
538
538
  * @public
539
539
  * <p>The reason why the request failed validation.</p>
540
540
  */
541
- Reason?: ValidationExceptionReason | string;
541
+ Reason?: ValidationExceptionReason;
542
542
  /**
543
543
  * @public
544
544
  * <p>The fields that caused the error, if applicable.</p>
@@ -629,7 +629,7 @@ export interface CheckDetail {
629
629
  * @public
630
630
  * <p>Provider of the check related to the best practice.</p>
631
631
  */
632
- Provider?: CheckProvider | string;
632
+ Provider?: CheckProvider;
633
633
  /**
634
634
  * @public
635
635
  * <p>Well-Architected Lens ARN associated to the check.</p>
@@ -655,7 +655,7 @@ export interface CheckDetail {
655
655
  * @public
656
656
  * <p>Status associated to the check.</p>
657
657
  */
658
- Status?: CheckStatus | string;
658
+ Status?: CheckStatus;
659
659
  /**
660
660
  * @public
661
661
  * <p>An Amazon Web Services account ID.</p>
@@ -670,7 +670,7 @@ export interface CheckDetail {
670
670
  * @public
671
671
  * <p>Reason associated to the check.</p>
672
672
  */
673
- Reason?: CheckFailureReason | string;
673
+ Reason?: CheckFailureReason;
674
674
  /**
675
675
  * @public
676
676
  * <p>The date and time recorded.</p>
@@ -696,7 +696,7 @@ export interface CheckSummary {
696
696
  * @public
697
697
  * <p>Provider of the check related to the best practice.</p>
698
698
  */
699
- Provider?: CheckProvider | string;
699
+ Provider?: CheckProvider;
700
700
  /**
701
701
  * @public
702
702
  * <p>Trusted Advisor check description.</p>
@@ -732,12 +732,12 @@ export interface CheckSummary {
732
732
  * @public
733
733
  * <p>Status associated to the check.</p>
734
734
  */
735
- Status?: CheckStatus | string;
735
+ Status?: CheckStatus;
736
736
  /**
737
737
  * @public
738
738
  * <p>Account summary associated to the check.</p>
739
739
  */
740
- AccountSummary?: Record<string, number>;
740
+ AccountSummary?: Record<CheckStatus, number>;
741
741
  }
742
742
  /**
743
743
  * @public
@@ -771,12 +771,12 @@ export interface ChoiceUpdate {
771
771
  * @public
772
772
  * <p>The status of a choice.</p>
773
773
  */
774
- Status: ChoiceStatus | string | undefined;
774
+ Status: ChoiceStatus | undefined;
775
775
  /**
776
776
  * @public
777
777
  * <p>The reason why a choice is non-applicable to a question in your workload.</p>
778
778
  */
779
- Reason?: ChoiceReason | string;
779
+ Reason?: ChoiceReason;
780
780
  /**
781
781
  * @public
782
782
  * <p>The notes associated with a choice.</p>
@@ -797,7 +797,7 @@ export interface QuestionMetric {
797
797
  * @public
798
798
  * <p>The risk for a given workload, lens review, pillar, or question.</p>
799
799
  */
800
- Risk?: Risk | string;
800
+ Risk?: Risk;
801
801
  /**
802
802
  * @public
803
803
  * <p>The best practices, or choices, that have been identified as contributing to risk in a question.</p>
@@ -819,7 +819,7 @@ export interface PillarMetric {
819
819
  * @public
820
820
  * <p>A map from risk names to the count of how many questions have that rating.</p>
821
821
  */
822
- RiskCounts?: Record<string, number>;
822
+ RiskCounts?: Record<Risk, number>;
823
823
  /**
824
824
  * @public
825
825
  * <p>The questions that have been identified as risks in the pillar.</p>
@@ -845,7 +845,7 @@ export interface LensMetric {
845
845
  * @public
846
846
  * <p>A map from risk names to the count of how many questions have that rating.</p>
847
847
  */
848
- RiskCounts?: Record<string, number>;
848
+ RiskCounts?: Record<Risk, number>;
849
849
  }
850
850
  /**
851
851
  * @public
@@ -867,12 +867,12 @@ export interface ConsolidatedReportMetric {
867
867
  * @public
868
868
  * <p>The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.</p>
869
869
  */
870
- MetricType?: MetricType | string;
870
+ MetricType?: MetricType;
871
871
  /**
872
872
  * @public
873
873
  * <p>A map from risk names to the count of how many questions have that rating.</p>
874
874
  */
875
- RiskCounts?: Record<string, number>;
875
+ RiskCounts?: Record<Risk, number>;
876
876
  /**
877
877
  * @public
878
878
  * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
@@ -1342,13 +1342,13 @@ export interface WorkloadDiscoveryConfig {
1342
1342
  * @public
1343
1343
  * <p>Discovery integration status in respect to Trusted Advisor for the workload.</p>
1344
1344
  */
1345
- TrustedAdvisorIntegrationStatus?: TrustedAdvisorIntegrationStatus | string;
1345
+ TrustedAdvisorIntegrationStatus?: TrustedAdvisorIntegrationStatus;
1346
1346
  /**
1347
1347
  * @public
1348
1348
  * <p>The mode to use for identifying resources associated with the workload.</p>
1349
1349
  * <p>You can specify <code>WORKLOAD_METADATA</code>, <code>APP_REGISTRY</code>, or both.</p>
1350
1350
  */
1351
- WorkloadResourceDefinition?: (DefinitionType | string)[];
1351
+ WorkloadResourceDefinition?: DefinitionType[];
1352
1352
  }
1353
1353
  /**
1354
1354
  * @public
@@ -1383,7 +1383,7 @@ export interface CreateWorkloadInput {
1383
1383
  * @public
1384
1384
  * <p>The environment for the workload.</p>
1385
1385
  */
1386
- Environment: WorkloadEnvironment | string | undefined;
1386
+ Environment: WorkloadEnvironment | undefined;
1387
1387
  /**
1388
1388
  * @public
1389
1389
  * <p>The list of Amazon Web Services account IDs associated with the workload.</p>
@@ -1666,7 +1666,7 @@ export interface CreateWorkloadShareInput {
1666
1666
  * @public
1667
1667
  * <p>Permission granted on a share request.</p>
1668
1668
  */
1669
- PermissionType: PermissionType | string | undefined;
1669
+ PermissionType: PermissionType | undefined;
1670
1670
  /**
1671
1671
  * @public
1672
1672
  * <p>A unique case-sensitive string used to ensure that this request is idempotent
@@ -1745,7 +1745,7 @@ export interface DeleteLensInput {
1745
1745
  * @public
1746
1746
  * <p>The status of the lens to be deleted.</p>
1747
1747
  */
1748
- LensStatus: LensStatusType | string | undefined;
1748
+ LensStatus: LensStatusType | undefined;
1749
1749
  }
1750
1750
  /**
1751
1751
  * @public
@@ -2128,7 +2128,7 @@ export interface GetConsolidatedReportInput {
2128
2128
  * <p>For <code>PDF</code>, <code>Base64String</code> is returned. For <code>JSON</code>,
2129
2129
  * <code>Metrics</code> is returned.</p>
2130
2130
  */
2131
- Format: ReportFormat | string | undefined;
2131
+ Format: ReportFormat | undefined;
2132
2132
  /**
2133
2133
  * @public
2134
2134
  * <p>Set to <code>true</code> to have shared resources included in the report.</p>
@@ -2312,12 +2312,12 @@ export interface PillarReviewSummary {
2312
2312
  * @public
2313
2313
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2314
2314
  */
2315
- RiskCounts?: Record<string, number>;
2315
+ RiskCounts?: Record<Risk, number>;
2316
2316
  /**
2317
2317
  * @public
2318
2318
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2319
2319
  */
2320
- PrioritizedRiskCounts?: Record<string, number>;
2320
+ PrioritizedRiskCounts?: Record<Risk, number>;
2321
2321
  }
2322
2322
  /**
2323
2323
  * @public
@@ -2371,7 +2371,7 @@ export interface LensReview {
2371
2371
  * @public
2372
2372
  * <p>The status of the lens.</p>
2373
2373
  */
2374
- LensStatus?: LensStatus | string;
2374
+ LensStatus?: LensStatus;
2375
2375
  /**
2376
2376
  * @public
2377
2377
  * <p>List of pillar review summaries of lens review in a workload.</p>
@@ -2392,7 +2392,7 @@ export interface LensReview {
2392
2392
  * @public
2393
2393
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2394
2394
  */
2395
- RiskCounts?: Record<string, number>;
2395
+ RiskCounts?: Record<Risk, number>;
2396
2396
  /**
2397
2397
  * @public
2398
2398
  * <p>The token to use to retrieve the next set of results.</p>
@@ -2407,7 +2407,7 @@ export interface LensReview {
2407
2407
  * @public
2408
2408
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2409
2409
  */
2410
- PrioritizedRiskCounts?: Record<string, number>;
2410
+ PrioritizedRiskCounts?: Record<Risk, number>;
2411
2411
  }
2412
2412
  /**
2413
2413
  * @public
@@ -2559,7 +2559,7 @@ export interface QuestionDifference {
2559
2559
  * @public
2560
2560
  * <p>Indicates the type of change to the question.</p>
2561
2561
  */
2562
- DifferenceStatus?: DifferenceStatus | string;
2562
+ DifferenceStatus?: DifferenceStatus;
2563
2563
  }
2564
2564
  /**
2565
2565
  * @public
@@ -2581,7 +2581,7 @@ export interface PillarDifference {
2581
2581
  * @public
2582
2582
  * <p>Indicates the type of change to the pillar.</p>
2583
2583
  */
2584
- DifferenceStatus?: DifferenceStatus | string;
2584
+ DifferenceStatus?: DifferenceStatus;
2585
2585
  /**
2586
2586
  * @public
2587
2587
  * <p>List of question differences.</p>
@@ -2704,7 +2704,7 @@ export interface Workload {
2704
2704
  * @public
2705
2705
  * <p>The environment for the workload.</p>
2706
2706
  */
2707
- Environment?: WorkloadEnvironment | string;
2707
+ Environment?: WorkloadEnvironment;
2708
2708
  /**
2709
2709
  * @public
2710
2710
  * <p>The date and time recorded.</p>
@@ -2909,12 +2909,12 @@ export interface Workload {
2909
2909
  * @public
2910
2910
  * <p>The improvement status for a workload.</p>
2911
2911
  */
2912
- ImprovementStatus?: WorkloadImprovementStatus | string;
2912
+ ImprovementStatus?: WorkloadImprovementStatus;
2913
2913
  /**
2914
2914
  * @public
2915
2915
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2916
2916
  */
2917
- RiskCounts?: Record<string, number>;
2917
+ RiskCounts?: Record<Risk, number>;
2918
2918
  /**
2919
2919
  * @public
2920
2920
  * <p>The priorities of the pillars, which are used to order items in the improvement plan.
@@ -2962,7 +2962,7 @@ export interface Workload {
2962
2962
  * @public
2963
2963
  * <p>A map from risk names to the count of how many questions have that rating.</p>
2964
2964
  */
2965
- PrioritizedRiskCounts?: Record<string, number>;
2965
+ PrioritizedRiskCounts?: Record<Risk, number>;
2966
2966
  }
2967
2967
  /**
2968
2968
  * @public
@@ -3308,7 +3308,7 @@ export interface ReviewTemplate {
3308
3308
  * @public
3309
3309
  * <p>A count of how many total questions are answered and unanswered in the review template.</p>
3310
3310
  */
3311
- QuestionCounts?: Record<string, number>;
3311
+ QuestionCounts?: Record<Question, number>;
3312
3312
  /**
3313
3313
  * @public
3314
3314
  * <p>An Amazon Web Services account ID.</p>
@@ -3338,7 +3338,7 @@ export interface ReviewTemplate {
3338
3338
  * @public
3339
3339
  * <p>The latest status of a review template.</p>
3340
3340
  */
3341
- UpdateStatus?: ReviewTemplateUpdateStatus | string;
3341
+ UpdateStatus?: ReviewTemplateUpdateStatus;
3342
3342
  /**
3343
3343
  * @public
3344
3344
  * <p>The ID assigned to the template share invitation.</p>
@@ -3468,7 +3468,7 @@ export interface ReviewTemplateAnswer {
3468
3468
  * @public
3469
3469
  * <p>The status of whether or not this question has been answered.</p>
3470
3470
  */
3471
- AnswerStatus?: ReviewTemplateAnswerStatus | string;
3471
+ AnswerStatus?: ReviewTemplateAnswerStatus;
3472
3472
  /**
3473
3473
  * @public
3474
3474
  * <p>The notes associated with the workload.</p>
@@ -3479,7 +3479,7 @@ export interface ReviewTemplateAnswer {
3479
3479
  * @public
3480
3480
  * <p>The reason why the question is not applicable to your review template.</p>
3481
3481
  */
3482
- Reason?: AnswerReason | string;
3482
+ Reason?: AnswerReason;
3483
3483
  }
3484
3484
  /**
3485
3485
  * @public
@@ -3556,7 +3556,7 @@ export interface ReviewTemplatePillarReviewSummary {
3556
3556
  * @public
3557
3557
  * <p>A count of how many questions are answered and unanswered in the requested pillar of the lens review.</p>
3558
3558
  */
3559
- QuestionCounts?: Record<string, number>;
3559
+ QuestionCounts?: Record<Question, number>;
3560
3560
  }
3561
3561
  /**
3562
3562
  * @public
@@ -3594,7 +3594,7 @@ export interface ReviewTemplateLensReview {
3594
3594
  * @public
3595
3595
  * <p>The status of the lens.</p>
3596
3596
  */
3597
- LensStatus?: LensStatus | string;
3597
+ LensStatus?: LensStatus;
3598
3598
  /**
3599
3599
  * @public
3600
3600
  * <p>Pillar review summaries of a lens review.</p>
@@ -3615,7 +3615,7 @@ export interface ReviewTemplateLensReview {
3615
3615
  * @public
3616
3616
  * <p>A count of how many questions are answered and unanswered in the lens review.</p>
3617
3617
  */
3618
- QuestionCounts?: Record<string, number>;
3618
+ QuestionCounts?: Record<Question, number>;
3619
3619
  /**
3620
3620
  * @public
3621
3621
  * <p>The token to use to retrieve the next set of results.</p>
@@ -3726,7 +3726,7 @@ export interface ImportLensOutput {
3726
3726
  * @public
3727
3727
  * <p>The status of the imported lens.</p>
3728
3728
  */
3729
- Status?: ImportLensStatus | string;
3729
+ Status?: ImportLensStatus;
3730
3730
  }
3731
3731
  /**
3732
3732
  * @public
@@ -3753,7 +3753,7 @@ export interface ImprovementSummary {
3753
3753
  * @public
3754
3754
  * <p>The risk for a given workload, lens review, pillar, or question.</p>
3755
3755
  */
3756
- Risk?: Risk | string;
3756
+ Risk?: Risk;
3757
3757
  /**
3758
3758
  * @public
3759
3759
  * <p>The improvement plan URL for a question in an Amazon Web Services official lenses.</p>
@@ -3803,7 +3803,7 @@ export interface LensReviewSummary {
3803
3803
  * @public
3804
3804
  * <p>The status of the lens.</p>
3805
3805
  */
3806
- LensStatus?: LensStatus | string;
3806
+ LensStatus?: LensStatus;
3807
3807
  /**
3808
3808
  * @public
3809
3809
  * <p>The date and time recorded.</p>
@@ -3813,7 +3813,7 @@ export interface LensReviewSummary {
3813
3813
  * @public
3814
3814
  * <p>A map from risk names to the count of how many questions have that rating.</p>
3815
3815
  */
3816
- RiskCounts?: Record<string, number>;
3816
+ RiskCounts?: Record<Risk, number>;
3817
3817
  /**
3818
3818
  * @public
3819
3819
  * <p>The profiles associated with the workload.</p>
@@ -3823,7 +3823,7 @@ export interface LensReviewSummary {
3823
3823
  * @public
3824
3824
  * <p>A map from risk names to the count of how many questions have that rating.</p>
3825
3825
  */
3826
- PrioritizedRiskCounts?: Record<string, number>;
3826
+ PrioritizedRiskCounts?: Record<Risk, number>;
3827
3827
  }
3828
3828
  /**
3829
3829
  * @public
@@ -3863,7 +3863,7 @@ export interface LensShareSummary {
3863
3863
  * @public
3864
3864
  * <p>The status of the share request.</p>
3865
3865
  */
3866
- Status?: ShareStatus | string;
3866
+ Status?: ShareStatus;
3867
3867
  /**
3868
3868
  * @public
3869
3869
  * <p>Optional message to compliment the Status field.</p>
@@ -3914,7 +3914,7 @@ export interface LensSummary {
3914
3914
  * @public
3915
3915
  * <p>The type of the lens.</p>
3916
3916
  */
3917
- LensType?: LensType | string;
3917
+ LensType?: LensType;
3918
3918
  /**
3919
3919
  * @public
3920
3920
  * <p>The description of the lens.</p>
@@ -3944,7 +3944,7 @@ export interface LensSummary {
3944
3944
  * @public
3945
3945
  * <p>The status of the lens.</p>
3946
3946
  */
3947
- LensStatus?: LensStatus | string;
3947
+ LensStatus?: LensStatus;
3948
3948
  }
3949
3949
  /**
3950
3950
  * @public
@@ -4064,7 +4064,7 @@ export interface ListAnswersInput {
4064
4064
  * @public
4065
4065
  * <p>The priority of the question.</p>
4066
4066
  */
4067
- QuestionPriority?: QuestionPriority | string;
4067
+ QuestionPriority?: QuestionPriority;
4068
4068
  }
4069
4069
  /**
4070
4070
  * @public
@@ -4241,12 +4241,12 @@ export interface ListLensesInput {
4241
4241
  * @public
4242
4242
  * <p>The type of lenses to be returned.</p>
4243
4243
  */
4244
- LensType?: LensType | string;
4244
+ LensType?: LensType;
4245
4245
  /**
4246
4246
  * @public
4247
4247
  * <p>The status of lenses to be returned.</p>
4248
4248
  */
4249
- LensStatus?: LensStatusType | string;
4249
+ LensStatus?: LensStatusType;
4250
4250
  /**
4251
4251
  * @public
4252
4252
  * <p>The full name of the lens.</p>
@@ -4317,7 +4317,7 @@ export interface ListLensReviewImprovementsInput {
4317
4317
  * @public
4318
4318
  * <p>The priority of the question.</p>
4319
4319
  */
4320
- QuestionPriority?: QuestionPriority | string;
4320
+ QuestionPriority?: QuestionPriority;
4321
4321
  }
4322
4322
  /**
4323
4323
  * @public
@@ -4452,7 +4452,7 @@ export interface ListLensSharesInput {
4452
4452
  * @public
4453
4453
  * <p>The status of the share request.</p>
4454
4454
  */
4455
- Status?: ShareStatus | string;
4455
+ Status?: ShareStatus;
4456
4456
  }
4457
4457
  /**
4458
4458
  * @public
@@ -4533,12 +4533,12 @@ export interface WorkloadSummary {
4533
4533
  * @public
4534
4534
  * <p>A map from risk names to the count of how many questions have that rating.</p>
4535
4535
  */
4536
- RiskCounts?: Record<string, number>;
4536
+ RiskCounts?: Record<Risk, number>;
4537
4537
  /**
4538
4538
  * @public
4539
4539
  * <p>The improvement status for a workload.</p>
4540
4540
  */
4541
- ImprovementStatus?: WorkloadImprovementStatus | string;
4541
+ ImprovementStatus?: WorkloadImprovementStatus;
4542
4542
  /**
4543
4543
  * @public
4544
4544
  * <p>Profile associated with a workload.</p>
@@ -4548,7 +4548,7 @@ export interface WorkloadSummary {
4548
4548
  * @public
4549
4549
  * <p>A map from risk names to the count of how many questions have that rating.</p>
4550
4550
  */
4551
- PrioritizedRiskCounts?: Record<string, number>;
4551
+ PrioritizedRiskCounts?: Record<Risk, number>;
4552
4552
  }
4553
4553
  /**
4554
4554
  * @public
@@ -4648,7 +4648,7 @@ export interface NotificationSummary {
4648
4648
  * @public
4649
4649
  * <p>The type of notification.</p>
4650
4650
  */
4651
- Type?: NotificationType | string;
4651
+ Type?: NotificationType;
4652
4652
  /**
4653
4653
  * @public
4654
4654
  * <p>Summary of lens upgrade.</p>
@@ -4721,7 +4721,7 @@ export interface ProfileNotificationSummary {
4721
4721
  * @public
4722
4722
  * <p>Type of notification.</p>
4723
4723
  */
4724
- Type?: ProfileNotificationType | string;
4724
+ Type?: ProfileNotificationType;
4725
4725
  /**
4726
4726
  * @public
4727
4727
  * <p>The profile ARN.</p>
@@ -4786,7 +4786,7 @@ export interface ListProfilesInput {
4786
4786
  * @public
4787
4787
  * <p>Profile owner type.</p>
4788
4788
  */
4789
- ProfileOwnerType?: ProfileOwnerType | string;
4789
+ ProfileOwnerType?: ProfileOwnerType;
4790
4790
  /**
4791
4791
  * @public
4792
4792
  * <p>The token to use to retrieve the next set of results.</p>
@@ -4882,7 +4882,7 @@ export interface ListProfileSharesInput {
4882
4882
  * @public
4883
4883
  * <p>The status of the share request.</p>
4884
4884
  */
4885
- Status?: ShareStatus | string;
4885
+ Status?: ShareStatus;
4886
4886
  }
4887
4887
  /**
4888
4888
  * @public
@@ -4904,7 +4904,7 @@ export interface ProfileShareSummary {
4904
4904
  * @public
4905
4905
  * <p>The status of the share request.</p>
4906
4906
  */
4907
- Status?: ShareStatus | string;
4907
+ Status?: ShareStatus;
4908
4908
  /**
4909
4909
  * @public
4910
4910
  * <p>Profile share invitation status message.</p>
@@ -5010,17 +5010,17 @@ export interface ReviewTemplateAnswerSummary {
5010
5010
  * @public
5011
5011
  * <p>The status of whether or not this question has been answered.</p>
5012
5012
  */
5013
- AnswerStatus?: ReviewTemplateAnswerStatus | string;
5013
+ AnswerStatus?: ReviewTemplateAnswerStatus;
5014
5014
  /**
5015
5015
  * @public
5016
5016
  * <p>The reason why a choice is not-applicable to a question in the review template.</p>
5017
5017
  */
5018
- Reason?: AnswerReason | string;
5018
+ Reason?: AnswerReason;
5019
5019
  /**
5020
5020
  * @public
5021
5021
  * <p>The type of question.</p>
5022
5022
  */
5023
- QuestionType?: QuestionType | string;
5023
+ QuestionType?: QuestionType;
5024
5024
  }
5025
5025
  /**
5026
5026
  * @public
@@ -5108,7 +5108,7 @@ export interface ReviewTemplateSummary {
5108
5108
  * @public
5109
5109
  * <p>The latest status of a review template.</p>
5110
5110
  */
5111
- UpdateStatus?: ReviewTemplateUpdateStatus | string;
5111
+ UpdateStatus?: ReviewTemplateUpdateStatus;
5112
5112
  }
5113
5113
  /**
5114
5114
  * @public
@@ -5159,7 +5159,7 @@ export interface ListShareInvitationsInput {
5159
5159
  * @public
5160
5160
  * <p>The type of share invitations to be returned.</p>
5161
5161
  */
5162
- ShareResourceType?: ShareResourceType | string;
5162
+ ShareResourceType?: ShareResourceType;
5163
5163
  /**
5164
5164
  * @public
5165
5165
  * <p>The token to use to retrieve the next set of results.</p>
@@ -5208,12 +5208,12 @@ export interface ShareInvitationSummary {
5208
5208
  * @public
5209
5209
  * <p>Permission granted on a share request.</p>
5210
5210
  */
5211
- PermissionType?: PermissionType | string;
5211
+ PermissionType?: PermissionType;
5212
5212
  /**
5213
5213
  * @public
5214
5214
  * <p>The resource type of the share invitation.</p>
5215
5215
  */
5216
- ShareResourceType?: ShareResourceType | string;
5216
+ ShareResourceType?: ShareResourceType;
5217
5217
  /**
5218
5218
  * @public
5219
5219
  * <p>The name of the workload.</p>
@@ -5322,7 +5322,7 @@ export interface ListTemplateSharesInput {
5322
5322
  * @public
5323
5323
  * <p>The status of the share request.</p>
5324
5324
  */
5325
- Status?: ShareStatus | string;
5325
+ Status?: ShareStatus;
5326
5326
  }
5327
5327
  /**
5328
5328
  * @public
@@ -5344,7 +5344,7 @@ export interface TemplateShareSummary {
5344
5344
  * @public
5345
5345
  * <p>The status of the share request.</p>
5346
5346
  */
5347
- Status?: ShareStatus | string;
5347
+ Status?: ShareStatus;
5348
5348
  /**
5349
5349
  * @public
5350
5350
  * <p>Review template share invitation status message. </p>
@@ -5438,7 +5438,7 @@ export interface ListWorkloadSharesInput {
5438
5438
  * @public
5439
5439
  * <p>The status of the share request.</p>
5440
5440
  */
5441
- Status?: ShareStatus | string;
5441
+ Status?: ShareStatus;
5442
5442
  }
5443
5443
  /**
5444
5444
  * @public
@@ -5460,12 +5460,12 @@ export interface WorkloadShareSummary {
5460
5460
  * @public
5461
5461
  * <p>Permission granted on a share request.</p>
5462
5462
  */
5463
- PermissionType?: PermissionType | string;
5463
+ PermissionType?: PermissionType;
5464
5464
  /**
5465
5465
  * @public
5466
5466
  * <p>The status of the share request.</p>
5467
5467
  */
5468
- Status?: ShareStatus | string;
5468
+ Status?: ShareStatus;
5469
5469
  /**
5470
5470
  * @public
5471
5471
  * <p>Optional message to compliment the Status field.</p>
@@ -5519,7 +5519,7 @@ export interface ShareInvitation {
5519
5519
  * @public
5520
5520
  * <p>The resource type of the share invitation.</p>
5521
5521
  */
5522
- ShareResourceType?: ShareResourceType | string;
5522
+ ShareResourceType?: ShareResourceType;
5523
5523
  /**
5524
5524
  * @public
5525
5525
  * <p>The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.</p>
@@ -5660,7 +5660,7 @@ export interface UpdateAnswerInput {
5660
5660
  * @public
5661
5661
  * <p>The reason why a question is not applicable to your workload.</p>
5662
5662
  */
5663
- Reason?: AnswerReason | string;
5663
+ Reason?: AnswerReason;
5664
5664
  }
5665
5665
  /**
5666
5666
  * @public
@@ -5703,12 +5703,12 @@ export interface UpdateGlobalSettingsInput {
5703
5703
  * @public
5704
5704
  * <p>The status of organization sharing settings.</p>
5705
5705
  */
5706
- OrganizationSharingStatus?: OrganizationSharingStatus | string;
5706
+ OrganizationSharingStatus?: OrganizationSharingStatus;
5707
5707
  /**
5708
5708
  * @public
5709
5709
  * <p>The status of discovery support settings.</p>
5710
5710
  */
5711
- DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus | string;
5711
+ DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus;
5712
5712
  }
5713
5713
  /**
5714
5714
  * @public
@@ -5889,7 +5889,7 @@ export interface UpdateReviewTemplateAnswerInput {
5889
5889
  * @public
5890
5890
  * <p>The update reason.</p>
5891
5891
  */
5892
- Reason?: AnswerReason | string;
5892
+ Reason?: AnswerReason;
5893
5893
  }
5894
5894
  /**
5895
5895
  * @public
@@ -5981,7 +5981,7 @@ export interface UpdateShareInvitationInput {
5981
5981
  * @public
5982
5982
  * <p>Share invitation action taken by contributor.</p>
5983
5983
  */
5984
- ShareInvitationAction: ShareInvitationAction | string | undefined;
5984
+ ShareInvitationAction: ShareInvitationAction | undefined;
5985
5985
  }
5986
5986
  /**
5987
5987
  * @public
@@ -6019,7 +6019,7 @@ export interface UpdateWorkloadInput {
6019
6019
  * @public
6020
6020
  * <p>The environment for the workload.</p>
6021
6021
  */
6022
- Environment?: WorkloadEnvironment | string;
6022
+ Environment?: WorkloadEnvironment;
6023
6023
  /**
6024
6024
  * @public
6025
6025
  * <p>The list of Amazon Web Services account IDs associated with the workload.</p>
@@ -6220,7 +6220,7 @@ export interface UpdateWorkloadInput {
6220
6220
  * @public
6221
6221
  * <p>The improvement status for a workload.</p>
6222
6222
  */
6223
- ImprovementStatus?: WorkloadImprovementStatus | string;
6223
+ ImprovementStatus?: WorkloadImprovementStatus;
6224
6224
  /**
6225
6225
  * @public
6226
6226
  * <p>Well-Architected discovery configuration settings to associate to the workload.</p>
@@ -6262,7 +6262,7 @@ export interface UpdateWorkloadShareInput {
6262
6262
  * @public
6263
6263
  * <p>Permission granted on a share request.</p>
6264
6264
  */
6265
- PermissionType: PermissionType | string | undefined;
6265
+ PermissionType: PermissionType | undefined;
6266
6266
  }
6267
6267
  /**
6268
6268
  * @public
@@ -6289,12 +6289,12 @@ export interface WorkloadShare {
6289
6289
  * @public
6290
6290
  * <p>Permission granted on a share request.</p>
6291
6291
  */
6292
- PermissionType?: PermissionType | string;
6292
+ PermissionType?: PermissionType;
6293
6293
  /**
6294
6294
  * @public
6295
6295
  * <p>The status of the share request.</p>
6296
6296
  */
6297
- Status?: ShareStatus | string;
6297
+ Status?: ShareStatus;
6298
6298
  /**
6299
6299
  * @public
6300
6300
  * <p>The name of the workload.</p>
@@ -27,7 +27,7 @@ export declare const AdditionalResourceType: {
27
27
  export type AdditionalResourceType =
28
28
  (typeof AdditionalResourceType)[keyof typeof AdditionalResourceType];
29
29
  export interface AdditionalResources {
30
- Type?: AdditionalResourceType | string;
30
+ Type?: AdditionalResourceType;
31
31
  Content?: ChoiceContent[];
32
32
  }
33
33
  export declare const ChoiceReason: {
@@ -46,8 +46,8 @@ export declare const ChoiceStatus: {
46
46
  export type ChoiceStatus = (typeof ChoiceStatus)[keyof typeof ChoiceStatus];
47
47
  export interface ChoiceAnswer {
48
48
  ChoiceId?: string;
49
- Status?: ChoiceStatus | string;
50
- Reason?: ChoiceReason | string;
49
+ Status?: ChoiceStatus;
50
+ Reason?: ChoiceReason;
51
51
  Notes?: string;
52
52
  }
53
53
  export interface Choice {
@@ -86,14 +86,14 @@ export interface Answer {
86
86
  SelectedChoices?: string[];
87
87
  ChoiceAnswers?: ChoiceAnswer[];
88
88
  IsApplicable?: boolean;
89
- Risk?: Risk | string;
89
+ Risk?: Risk;
90
90
  Notes?: string;
91
- Reason?: AnswerReason | string;
91
+ Reason?: AnswerReason;
92
92
  }
93
93
  export interface ChoiceAnswerSummary {
94
94
  ChoiceId?: string;
95
- Status?: ChoiceStatus | string;
96
- Reason?: ChoiceReason | string;
95
+ Status?: ChoiceStatus;
96
+ Reason?: ChoiceReason;
97
97
  }
98
98
  export declare const QuestionType: {
99
99
  readonly NON_PRIORITIZED: "NON_PRIORITIZED";
@@ -108,9 +108,9 @@ export interface AnswerSummary {
108
108
  SelectedChoices?: string[];
109
109
  ChoiceAnswerSummaries?: ChoiceAnswerSummary[];
110
110
  IsApplicable?: boolean;
111
- Risk?: Risk | string;
112
- Reason?: AnswerReason | string;
113
- QuestionType?: QuestionType | string;
111
+ Risk?: Risk;
112
+ Reason?: AnswerReason;
113
+ QuestionType?: QuestionType;
114
114
  }
115
115
  export interface AssociateLensesInput {
116
116
  WorkloadId: string | undefined;
@@ -168,7 +168,7 @@ export declare class ValidationException extends __BaseException {
168
168
  readonly name: "ValidationException";
169
169
  readonly $fault: "client";
170
170
  Message: string | undefined;
171
- Reason?: ValidationExceptionReason | string;
171
+ Reason?: ValidationExceptionReason;
172
172
  Fields?: ValidationExceptionField[];
173
173
  constructor(
174
174
  opts: __ExceptionOptionType<ValidationException, __BaseException>
@@ -198,29 +198,29 @@ export interface CheckDetail {
198
198
  Id?: string;
199
199
  Name?: string;
200
200
  Description?: string;
201
- Provider?: CheckProvider | string;
201
+ Provider?: CheckProvider;
202
202
  LensArn?: string;
203
203
  PillarId?: string;
204
204
  QuestionId?: string;
205
205
  ChoiceId?: string;
206
- Status?: CheckStatus | string;
206
+ Status?: CheckStatus;
207
207
  AccountId?: string;
208
208
  FlaggedResources?: number;
209
- Reason?: CheckFailureReason | string;
209
+ Reason?: CheckFailureReason;
210
210
  UpdatedAt?: Date;
211
211
  }
212
212
  export interface CheckSummary {
213
213
  Id?: string;
214
214
  Name?: string;
215
- Provider?: CheckProvider | string;
215
+ Provider?: CheckProvider;
216
216
  Description?: string;
217
217
  UpdatedAt?: Date;
218
218
  LensArn?: string;
219
219
  PillarId?: string;
220
220
  QuestionId?: string;
221
221
  ChoiceId?: string;
222
- Status?: CheckStatus | string;
223
- AccountSummary?: Record<string, number>;
222
+ Status?: CheckStatus;
223
+ AccountSummary?: Record<CheckStatus, number>;
224
224
  }
225
225
  export interface ChoiceImprovementPlan {
226
226
  ChoiceId?: string;
@@ -228,32 +228,32 @@ export interface ChoiceImprovementPlan {
228
228
  ImprovementPlanUrl?: string;
229
229
  }
230
230
  export interface ChoiceUpdate {
231
- Status: ChoiceStatus | string | undefined;
232
- Reason?: ChoiceReason | string;
231
+ Status: ChoiceStatus | undefined;
232
+ Reason?: ChoiceReason;
233
233
  Notes?: string;
234
234
  }
235
235
  export interface QuestionMetric {
236
236
  QuestionId?: string;
237
- Risk?: Risk | string;
237
+ Risk?: Risk;
238
238
  BestPractices?: BestPractice[];
239
239
  }
240
240
  export interface PillarMetric {
241
241
  PillarId?: string;
242
- RiskCounts?: Record<string, number>;
242
+ RiskCounts?: Record<Risk, number>;
243
243
  Questions?: QuestionMetric[];
244
244
  }
245
245
  export interface LensMetric {
246
246
  LensArn?: string;
247
247
  Pillars?: PillarMetric[];
248
- RiskCounts?: Record<string, number>;
248
+ RiskCounts?: Record<Risk, number>;
249
249
  }
250
250
  export declare const MetricType: {
251
251
  readonly WORKLOAD: "WORKLOAD";
252
252
  };
253
253
  export type MetricType = (typeof MetricType)[keyof typeof MetricType];
254
254
  export interface ConsolidatedReportMetric {
255
- MetricType?: MetricType | string;
256
- RiskCounts?: Record<string, number>;
255
+ MetricType?: MetricType;
256
+ RiskCounts?: Record<Risk, number>;
257
257
  WorkloadId?: string;
258
258
  WorkloadName?: string;
259
259
  WorkloadArn?: string;
@@ -357,8 +357,8 @@ export declare const DefinitionType: {
357
357
  export type DefinitionType =
358
358
  (typeof DefinitionType)[keyof typeof DefinitionType];
359
359
  export interface WorkloadDiscoveryConfig {
360
- TrustedAdvisorIntegrationStatus?: TrustedAdvisorIntegrationStatus | string;
361
- WorkloadResourceDefinition?: (DefinitionType | string)[];
360
+ TrustedAdvisorIntegrationStatus?: TrustedAdvisorIntegrationStatus;
361
+ WorkloadResourceDefinition?: DefinitionType[];
362
362
  }
363
363
  export declare const WorkloadEnvironment: {
364
364
  readonly PREPRODUCTION: "PREPRODUCTION";
@@ -369,7 +369,7 @@ export type WorkloadEnvironment =
369
369
  export interface CreateWorkloadInput {
370
370
  WorkloadName: string | undefined;
371
371
  Description: string | undefined;
372
- Environment: WorkloadEnvironment | string | undefined;
372
+ Environment: WorkloadEnvironment | undefined;
373
373
  AccountIds?: string[];
374
374
  AwsRegions?: string[];
375
375
  NonAwsRegions?: string[];
@@ -400,7 +400,7 @@ export type PermissionType =
400
400
  export interface CreateWorkloadShareInput {
401
401
  WorkloadId: string | undefined;
402
402
  SharedWith: string | undefined;
403
- PermissionType: PermissionType | string | undefined;
403
+ PermissionType: PermissionType | undefined;
404
404
  ClientRequestToken?: string;
405
405
  }
406
406
  export interface CreateWorkloadShareOutput {
@@ -417,7 +417,7 @@ export type LensStatusType =
417
417
  export interface DeleteLensInput {
418
418
  LensAlias: string | undefined;
419
419
  ClientRequestToken?: string;
420
- LensStatus: LensStatusType | string | undefined;
420
+ LensStatus: LensStatusType | undefined;
421
421
  }
422
422
  export interface DeleteLensShareInput {
423
423
  ShareId: string | undefined;
@@ -498,7 +498,7 @@ export declare const ReportFormat: {
498
498
  };
499
499
  export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
500
500
  export interface GetConsolidatedReportInput {
501
- Format: ReportFormat | string | undefined;
501
+ Format: ReportFormat | undefined;
502
502
  IncludeSharedResources?: boolean;
503
503
  NextToken?: string;
504
504
  MaxResults?: number;
@@ -541,8 +541,8 @@ export interface PillarReviewSummary {
541
541
  PillarId?: string;
542
542
  PillarName?: string;
543
543
  Notes?: string;
544
- RiskCounts?: Record<string, number>;
545
- PrioritizedRiskCounts?: Record<string, number>;
544
+ RiskCounts?: Record<Risk, number>;
545
+ PrioritizedRiskCounts?: Record<Risk, number>;
546
546
  }
547
547
  export interface WorkloadProfile {
548
548
  ProfileArn?: string;
@@ -553,14 +553,14 @@ export interface LensReview {
553
553
  LensArn?: string;
554
554
  LensVersion?: string;
555
555
  LensName?: string;
556
- LensStatus?: LensStatus | string;
556
+ LensStatus?: LensStatus;
557
557
  PillarReviewSummaries?: PillarReviewSummary[];
558
558
  UpdatedAt?: Date;
559
559
  Notes?: string;
560
- RiskCounts?: Record<string, number>;
560
+ RiskCounts?: Record<Risk, number>;
561
561
  NextToken?: string;
562
562
  Profiles?: WorkloadProfile[];
563
- PrioritizedRiskCounts?: Record<string, number>;
563
+ PrioritizedRiskCounts?: Record<Risk, number>;
564
564
  }
565
565
  export interface GetLensReviewOutput {
566
566
  WorkloadId?: string;
@@ -590,12 +590,12 @@ export interface GetLensVersionDifferenceInput {
590
590
  export interface QuestionDifference {
591
591
  QuestionId?: string;
592
592
  QuestionTitle?: string;
593
- DifferenceStatus?: DifferenceStatus | string;
593
+ DifferenceStatus?: DifferenceStatus;
594
594
  }
595
595
  export interface PillarDifference {
596
596
  PillarId?: string;
597
597
  PillarName?: string;
598
- DifferenceStatus?: DifferenceStatus | string;
598
+ DifferenceStatus?: DifferenceStatus;
599
599
  QuestionDifferences?: QuestionDifference[];
600
600
  }
601
601
  export interface VersionDifferences {
@@ -627,7 +627,7 @@ export interface Workload {
627
627
  WorkloadArn?: string;
628
628
  WorkloadName?: string;
629
629
  Description?: string;
630
- Environment?: WorkloadEnvironment | string;
630
+ Environment?: WorkloadEnvironment;
631
631
  UpdatedAt?: Date;
632
632
  AccountIds?: string[];
633
633
  AwsRegions?: string[];
@@ -639,8 +639,8 @@ export interface Workload {
639
639
  IndustryType?: string;
640
640
  Industry?: string;
641
641
  Notes?: string;
642
- ImprovementStatus?: WorkloadImprovementStatus | string;
643
- RiskCounts?: Record<string, number>;
642
+ ImprovementStatus?: WorkloadImprovementStatus;
643
+ RiskCounts?: Record<Risk, number>;
644
644
  PillarPriorities?: string[];
645
645
  Lenses?: string[];
646
646
  Owner?: string;
@@ -649,7 +649,7 @@ export interface Workload {
649
649
  DiscoveryConfig?: WorkloadDiscoveryConfig;
650
650
  Applications?: string[];
651
651
  Profiles?: WorkloadProfile[];
652
- PrioritizedRiskCounts?: Record<string, number>;
652
+ PrioritizedRiskCounts?: Record<Risk, number>;
653
653
  }
654
654
  export interface Milestone {
655
655
  MilestoneNumber?: number;
@@ -735,13 +735,13 @@ export interface ReviewTemplate {
735
735
  Description?: string;
736
736
  Lenses?: string[];
737
737
  Notes?: string;
738
- QuestionCounts?: Record<string, number>;
738
+ QuestionCounts?: Record<Question, number>;
739
739
  Owner?: string;
740
740
  UpdatedAt?: Date;
741
741
  TemplateArn?: string;
742
742
  TemplateName?: string;
743
743
  Tags?: Record<string, string>;
744
- UpdateStatus?: ReviewTemplateUpdateStatus | string;
744
+ UpdateStatus?: ReviewTemplateUpdateStatus;
745
745
  ShareInvitationId?: string;
746
746
  }
747
747
  export interface GetReviewTemplateOutput {
@@ -770,9 +770,9 @@ export interface ReviewTemplateAnswer {
770
770
  SelectedChoices?: string[];
771
771
  ChoiceAnswers?: ChoiceAnswer[];
772
772
  IsApplicable?: boolean;
773
- AnswerStatus?: ReviewTemplateAnswerStatus | string;
773
+ AnswerStatus?: ReviewTemplateAnswerStatus;
774
774
  Notes?: string;
775
- Reason?: AnswerReason | string;
775
+ Reason?: AnswerReason;
776
776
  }
777
777
  export interface GetReviewTemplateAnswerOutput {
778
778
  TemplateArn?: string;
@@ -787,18 +787,18 @@ export interface ReviewTemplatePillarReviewSummary {
787
787
  PillarId?: string;
788
788
  PillarName?: string;
789
789
  Notes?: string;
790
- QuestionCounts?: Record<string, number>;
790
+ QuestionCounts?: Record<Question, number>;
791
791
  }
792
792
  export interface ReviewTemplateLensReview {
793
793
  LensAlias?: string;
794
794
  LensArn?: string;
795
795
  LensVersion?: string;
796
796
  LensName?: string;
797
- LensStatus?: LensStatus | string;
797
+ LensStatus?: LensStatus;
798
798
  PillarReviewSummaries?: ReviewTemplatePillarReviewSummary[];
799
799
  UpdatedAt?: Date;
800
800
  Notes?: string;
801
- QuestionCounts?: Record<string, number>;
801
+ QuestionCounts?: Record<Question, number>;
802
802
  NextToken?: string;
803
803
  }
804
804
  export interface GetReviewTemplateLensReviewOutput {
@@ -826,13 +826,13 @@ export type ImportLensStatus =
826
826
  (typeof ImportLensStatus)[keyof typeof ImportLensStatus];
827
827
  export interface ImportLensOutput {
828
828
  LensArn?: string;
829
- Status?: ImportLensStatus | string;
829
+ Status?: ImportLensStatus;
830
830
  }
831
831
  export interface ImprovementSummary {
832
832
  QuestionId?: string;
833
833
  PillarId?: string;
834
834
  QuestionTitle?: string;
835
- Risk?: Risk | string;
835
+ Risk?: Risk;
836
836
  ImprovementPlanUrl?: string;
837
837
  ImprovementPlans?: ChoiceImprovementPlan[];
838
838
  }
@@ -841,11 +841,11 @@ export interface LensReviewSummary {
841
841
  LensArn?: string;
842
842
  LensVersion?: string;
843
843
  LensName?: string;
844
- LensStatus?: LensStatus | string;
844
+ LensStatus?: LensStatus;
845
845
  UpdatedAt?: Date;
846
- RiskCounts?: Record<string, number>;
846
+ RiskCounts?: Record<Risk, number>;
847
847
  Profiles?: WorkloadProfile[];
848
- PrioritizedRiskCounts?: Record<string, number>;
848
+ PrioritizedRiskCounts?: Record<Risk, number>;
849
849
  }
850
850
  export declare const ShareStatus: {
851
851
  readonly ACCEPTED: "ACCEPTED";
@@ -861,7 +861,7 @@ export type ShareStatus = (typeof ShareStatus)[keyof typeof ShareStatus];
861
861
  export interface LensShareSummary {
862
862
  ShareId?: string;
863
863
  SharedWith?: string;
864
- Status?: ShareStatus | string;
864
+ Status?: ShareStatus;
865
865
  StatusMessage?: string;
866
866
  }
867
867
  export declare const LensType: {
@@ -874,13 +874,13 @@ export interface LensSummary {
874
874
  LensArn?: string;
875
875
  LensAlias?: string;
876
876
  LensName?: string;
877
- LensType?: LensType | string;
877
+ LensType?: LensType;
878
878
  Description?: string;
879
879
  CreatedAt?: Date;
880
880
  UpdatedAt?: Date;
881
881
  LensVersion?: string;
882
882
  Owner?: string;
883
- LensStatus?: LensStatus | string;
883
+ LensStatus?: LensStatus;
884
884
  }
885
885
  export interface LensUpgradeSummary {
886
886
  WorkloadId?: string;
@@ -905,7 +905,7 @@ export interface ListAnswersInput {
905
905
  MilestoneNumber?: number;
906
906
  NextToken?: string;
907
907
  MaxResults?: number;
908
- QuestionPriority?: QuestionPriority | string;
908
+ QuestionPriority?: QuestionPriority;
909
909
  }
910
910
  export interface ListAnswersOutput {
911
911
  WorkloadId?: string;
@@ -944,8 +944,8 @@ export interface ListCheckSummariesOutput {
944
944
  export interface ListLensesInput {
945
945
  NextToken?: string;
946
946
  MaxResults?: number;
947
- LensType?: LensType | string;
948
- LensStatus?: LensStatusType | string;
947
+ LensType?: LensType;
948
+ LensStatus?: LensStatusType;
949
949
  LensName?: string;
950
950
  }
951
951
  export interface ListLensesOutput {
@@ -959,7 +959,7 @@ export interface ListLensReviewImprovementsInput {
959
959
  MilestoneNumber?: number;
960
960
  NextToken?: string;
961
961
  MaxResults?: number;
962
- QuestionPriority?: QuestionPriority | string;
962
+ QuestionPriority?: QuestionPriority;
963
963
  }
964
964
  export interface ListLensReviewImprovementsOutput {
965
965
  WorkloadId?: string;
@@ -986,7 +986,7 @@ export interface ListLensSharesInput {
986
986
  SharedWithPrefix?: string;
987
987
  NextToken?: string;
988
988
  MaxResults?: number;
989
- Status?: ShareStatus | string;
989
+ Status?: ShareStatus;
990
990
  }
991
991
  export interface ListLensSharesOutput {
992
992
  LensShareSummaries?: LensShareSummary[];
@@ -1004,10 +1004,10 @@ export interface WorkloadSummary {
1004
1004
  Owner?: string;
1005
1005
  UpdatedAt?: Date;
1006
1006
  Lenses?: string[];
1007
- RiskCounts?: Record<string, number>;
1008
- ImprovementStatus?: WorkloadImprovementStatus | string;
1007
+ RiskCounts?: Record<Risk, number>;
1008
+ ImprovementStatus?: WorkloadImprovementStatus;
1009
1009
  Profiles?: WorkloadProfile[];
1010
- PrioritizedRiskCounts?: Record<string, number>;
1010
+ PrioritizedRiskCounts?: Record<Risk, number>;
1011
1011
  }
1012
1012
  export interface MilestoneSummary {
1013
1013
  MilestoneNumber?: number;
@@ -1033,7 +1033,7 @@ export declare const NotificationType: {
1033
1033
  export type NotificationType =
1034
1034
  (typeof NotificationType)[keyof typeof NotificationType];
1035
1035
  export interface NotificationSummary {
1036
- Type?: NotificationType | string;
1036
+ Type?: NotificationType;
1037
1037
  LensUpgradeSummary?: LensUpgradeSummary;
1038
1038
  }
1039
1039
  export interface ListNotificationsOutput {
@@ -1054,7 +1054,7 @@ export type ProfileNotificationType =
1054
1054
  export interface ProfileNotificationSummary {
1055
1055
  CurrentProfileVersion?: string;
1056
1056
  LatestProfileVersion?: string;
1057
- Type?: ProfileNotificationType | string;
1057
+ Type?: ProfileNotificationType;
1058
1058
  ProfileArn?: string;
1059
1059
  ProfileName?: string;
1060
1060
  WorkloadId?: string;
@@ -1072,7 +1072,7 @@ export type ProfileOwnerType =
1072
1072
  (typeof ProfileOwnerType)[keyof typeof ProfileOwnerType];
1073
1073
  export interface ListProfilesInput {
1074
1074
  ProfileNamePrefix?: string;
1075
- ProfileOwnerType?: ProfileOwnerType | string;
1075
+ ProfileOwnerType?: ProfileOwnerType;
1076
1076
  NextToken?: string;
1077
1077
  MaxResults?: number;
1078
1078
  }
@@ -1094,12 +1094,12 @@ export interface ListProfileSharesInput {
1094
1094
  SharedWithPrefix?: string;
1095
1095
  NextToken?: string;
1096
1096
  MaxResults?: number;
1097
- Status?: ShareStatus | string;
1097
+ Status?: ShareStatus;
1098
1098
  }
1099
1099
  export interface ProfileShareSummary {
1100
1100
  ShareId?: string;
1101
1101
  SharedWith?: string;
1102
- Status?: ShareStatus | string;
1102
+ Status?: ShareStatus;
1103
1103
  StatusMessage?: string;
1104
1104
  }
1105
1105
  export interface ListProfileSharesOutput {
@@ -1121,9 +1121,9 @@ export interface ReviewTemplateAnswerSummary {
1121
1121
  SelectedChoices?: string[];
1122
1122
  ChoiceAnswerSummaries?: ChoiceAnswerSummary[];
1123
1123
  IsApplicable?: boolean;
1124
- AnswerStatus?: ReviewTemplateAnswerStatus | string;
1125
- Reason?: AnswerReason | string;
1126
- QuestionType?: QuestionType | string;
1124
+ AnswerStatus?: ReviewTemplateAnswerStatus;
1125
+ Reason?: AnswerReason;
1126
+ QuestionType?: QuestionType;
1127
1127
  }
1128
1128
  export interface ListReviewTemplateAnswersOutput {
1129
1129
  TemplateArn?: string;
@@ -1142,7 +1142,7 @@ export interface ReviewTemplateSummary {
1142
1142
  UpdatedAt?: Date;
1143
1143
  TemplateArn?: string;
1144
1144
  TemplateName?: string;
1145
- UpdateStatus?: ReviewTemplateUpdateStatus | string;
1145
+ UpdateStatus?: ReviewTemplateUpdateStatus;
1146
1146
  }
1147
1147
  export interface ListReviewTemplatesOutput {
1148
1148
  ReviewTemplates?: ReviewTemplateSummary[];
@@ -1159,7 +1159,7 @@ export type ShareResourceType =
1159
1159
  export interface ListShareInvitationsInput {
1160
1160
  WorkloadNamePrefix?: string;
1161
1161
  LensNamePrefix?: string;
1162
- ShareResourceType?: ShareResourceType | string;
1162
+ ShareResourceType?: ShareResourceType;
1163
1163
  NextToken?: string;
1164
1164
  MaxResults?: number;
1165
1165
  ProfileNamePrefix?: string;
@@ -1169,8 +1169,8 @@ export interface ShareInvitationSummary {
1169
1169
  ShareInvitationId?: string;
1170
1170
  SharedBy?: string;
1171
1171
  SharedWith?: string;
1172
- PermissionType?: PermissionType | string;
1173
- ShareResourceType?: ShareResourceType | string;
1172
+ PermissionType?: PermissionType;
1173
+ ShareResourceType?: ShareResourceType;
1174
1174
  WorkloadName?: string;
1175
1175
  WorkloadId?: string;
1176
1176
  LensName?: string;
@@ -1195,12 +1195,12 @@ export interface ListTemplateSharesInput {
1195
1195
  SharedWithPrefix?: string;
1196
1196
  NextToken?: string;
1197
1197
  MaxResults?: number;
1198
- Status?: ShareStatus | string;
1198
+ Status?: ShareStatus;
1199
1199
  }
1200
1200
  export interface TemplateShareSummary {
1201
1201
  ShareId?: string;
1202
1202
  SharedWith?: string;
1203
- Status?: ShareStatus | string;
1203
+ Status?: ShareStatus;
1204
1204
  StatusMessage?: string;
1205
1205
  }
1206
1206
  export interface ListTemplateSharesOutput {
@@ -1222,13 +1222,13 @@ export interface ListWorkloadSharesInput {
1222
1222
  SharedWithPrefix?: string;
1223
1223
  NextToken?: string;
1224
1224
  MaxResults?: number;
1225
- Status?: ShareStatus | string;
1225
+ Status?: ShareStatus;
1226
1226
  }
1227
1227
  export interface WorkloadShareSummary {
1228
1228
  ShareId?: string;
1229
1229
  SharedWith?: string;
1230
- PermissionType?: PermissionType | string;
1231
- Status?: ShareStatus | string;
1230
+ PermissionType?: PermissionType;
1231
+ Status?: ShareStatus;
1232
1232
  StatusMessage?: string;
1233
1233
  }
1234
1234
  export interface ListWorkloadSharesOutput {
@@ -1244,7 +1244,7 @@ export type OrganizationSharingStatus =
1244
1244
  (typeof OrganizationSharingStatus)[keyof typeof OrganizationSharingStatus];
1245
1245
  export interface ShareInvitation {
1246
1246
  ShareInvitationId?: string;
1247
- ShareResourceType?: ShareResourceType | string;
1247
+ ShareResourceType?: ShareResourceType;
1248
1248
  WorkloadId?: string;
1249
1249
  LensAlias?: string;
1250
1250
  LensArn?: string;
@@ -1275,7 +1275,7 @@ export interface UpdateAnswerInput {
1275
1275
  ChoiceUpdates?: Record<string, ChoiceUpdate>;
1276
1276
  Notes?: string;
1277
1277
  IsApplicable?: boolean;
1278
- Reason?: AnswerReason | string;
1278
+ Reason?: AnswerReason;
1279
1279
  }
1280
1280
  export interface UpdateAnswerOutput {
1281
1281
  WorkloadId?: string;
@@ -1284,8 +1284,8 @@ export interface UpdateAnswerOutput {
1284
1284
  Answer?: Answer;
1285
1285
  }
1286
1286
  export interface UpdateGlobalSettingsInput {
1287
- OrganizationSharingStatus?: OrganizationSharingStatus | string;
1288
- DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus | string;
1287
+ OrganizationSharingStatus?: OrganizationSharingStatus;
1288
+ DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus;
1289
1289
  }
1290
1290
  export interface UpdateLensReviewInput {
1291
1291
  WorkloadId: string | undefined;
@@ -1324,7 +1324,7 @@ export interface UpdateReviewTemplateAnswerInput {
1324
1324
  ChoiceUpdates?: Record<string, ChoiceUpdate>;
1325
1325
  Notes?: string;
1326
1326
  IsApplicable?: boolean;
1327
- Reason?: AnswerReason | string;
1327
+ Reason?: AnswerReason;
1328
1328
  }
1329
1329
  export interface UpdateReviewTemplateAnswerOutput {
1330
1330
  TemplateArn?: string;
@@ -1343,7 +1343,7 @@ export interface UpdateReviewTemplateLensReviewOutput {
1343
1343
  }
1344
1344
  export interface UpdateShareInvitationInput {
1345
1345
  ShareInvitationId: string | undefined;
1346
- ShareInvitationAction: ShareInvitationAction | string | undefined;
1346
+ ShareInvitationAction: ShareInvitationAction | undefined;
1347
1347
  }
1348
1348
  export interface UpdateShareInvitationOutput {
1349
1349
  ShareInvitation?: ShareInvitation;
@@ -1352,7 +1352,7 @@ export interface UpdateWorkloadInput {
1352
1352
  WorkloadId: string | undefined;
1353
1353
  WorkloadName?: string;
1354
1354
  Description?: string;
1355
- Environment?: WorkloadEnvironment | string;
1355
+ Environment?: WorkloadEnvironment;
1356
1356
  AccountIds?: string[];
1357
1357
  AwsRegions?: string[];
1358
1358
  NonAwsRegions?: string[];
@@ -1363,7 +1363,7 @@ export interface UpdateWorkloadInput {
1363
1363
  IndustryType?: string;
1364
1364
  Industry?: string;
1365
1365
  Notes?: string;
1366
- ImprovementStatus?: WorkloadImprovementStatus | string;
1366
+ ImprovementStatus?: WorkloadImprovementStatus;
1367
1367
  DiscoveryConfig?: WorkloadDiscoveryConfig;
1368
1368
  Applications?: string[];
1369
1369
  }
@@ -1373,14 +1373,14 @@ export interface UpdateWorkloadOutput {
1373
1373
  export interface UpdateWorkloadShareInput {
1374
1374
  ShareId: string | undefined;
1375
1375
  WorkloadId: string | undefined;
1376
- PermissionType: PermissionType | string | undefined;
1376
+ PermissionType: PermissionType | undefined;
1377
1377
  }
1378
1378
  export interface WorkloadShare {
1379
1379
  ShareId?: string;
1380
1380
  SharedBy?: string;
1381
1381
  SharedWith?: string;
1382
- PermissionType?: PermissionType | string;
1383
- Status?: ShareStatus | string;
1382
+ PermissionType?: PermissionType;
1383
+ Status?: ShareStatus;
1384
1384
  WorkloadName?: string;
1385
1385
  WorkloadId?: string;
1386
1386
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-wellarchitected",
3
3
  "description": "AWS SDK for JavaScript Wellarchitected Client for Node.js, Browser and React Native",
4
- "version": "3.428.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
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
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",