@aws-sdk/client-wellarchitected 3.431.0 → 3.433.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.
@@ -737,7 +737,7 @@ export interface CheckSummary {
737
737
  * @public
738
738
  * <p>Account summary associated to the check.</p>
739
739
  */
740
- AccountSummary?: Record<CheckStatus, number>;
740
+ AccountSummary?: Partial<Record<CheckStatus, number>>;
741
741
  }
742
742
  /**
743
743
  * @public
@@ -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<Risk, number>;
822
+ RiskCounts?: Partial<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<Risk, number>;
848
+ RiskCounts?: Partial<Record<Risk, number>>;
849
849
  }
850
850
  /**
851
851
  * @public
@@ -872,7 +872,7 @@ export interface ConsolidatedReportMetric {
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<Risk, number>;
875
+ RiskCounts?: Partial<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>
@@ -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<Risk, number>;
2315
+ RiskCounts?: Partial<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<Risk, number>;
2320
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
2321
2321
  }
2322
2322
  /**
2323
2323
  * @public
@@ -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<Risk, number>;
2395
+ RiskCounts?: Partial<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<Risk, number>;
2410
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
2411
2411
  }
2412
2412
  /**
2413
2413
  * @public
@@ -2914,7 +2914,7 @@ export interface Workload {
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<Risk, number>;
2917
+ RiskCounts?: Partial<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<Risk, number>;
2965
+ PrioritizedRiskCounts?: Partial<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<Question, number>;
3311
+ QuestionCounts?: Partial<Record<Question, number>>;
3312
3312
  /**
3313
3313
  * @public
3314
3314
  * <p>An Amazon Web Services account ID.</p>
@@ -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<Question, number>;
3559
+ QuestionCounts?: Partial<Record<Question, number>>;
3560
3560
  }
3561
3561
  /**
3562
3562
  * @public
@@ -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<Question, number>;
3618
+ QuestionCounts?: Partial<Record<Question, number>>;
3619
3619
  /**
3620
3620
  * @public
3621
3621
  * <p>The token to use to retrieve the next set of results.</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<Risk, number>;
3816
+ RiskCounts?: Partial<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<Risk, number>;
3826
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
3827
3827
  }
3828
3828
  /**
3829
3829
  * @public
@@ -4533,7 +4533,7 @@ 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<Risk, number>;
4536
+ RiskCounts?: Partial<Record<Risk, number>>;
4537
4537
  /**
4538
4538
  * @public
4539
4539
  * <p>The improvement status for 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<Risk, number>;
4551
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
4552
4552
  }
4553
4553
  /**
4554
4554
  * @public
@@ -220,7 +220,7 @@ export interface CheckSummary {
220
220
  QuestionId?: string;
221
221
  ChoiceId?: string;
222
222
  Status?: CheckStatus;
223
- AccountSummary?: Record<CheckStatus, number>;
223
+ AccountSummary?: Partial<Record<CheckStatus, number>>;
224
224
  }
225
225
  export interface ChoiceImprovementPlan {
226
226
  ChoiceId?: string;
@@ -239,13 +239,13 @@ export interface QuestionMetric {
239
239
  }
240
240
  export interface PillarMetric {
241
241
  PillarId?: string;
242
- RiskCounts?: Record<Risk, number>;
242
+ RiskCounts?: Partial<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<Risk, number>;
248
+ RiskCounts?: Partial<Record<Risk, number>>;
249
249
  }
250
250
  export declare const MetricType: {
251
251
  readonly WORKLOAD: "WORKLOAD";
@@ -253,7 +253,7 @@ export declare const MetricType: {
253
253
  export type MetricType = (typeof MetricType)[keyof typeof MetricType];
254
254
  export interface ConsolidatedReportMetric {
255
255
  MetricType?: MetricType;
256
- RiskCounts?: Record<Risk, number>;
256
+ RiskCounts?: Partial<Record<Risk, number>>;
257
257
  WorkloadId?: string;
258
258
  WorkloadName?: string;
259
259
  WorkloadArn?: string;
@@ -541,8 +541,8 @@ export interface PillarReviewSummary {
541
541
  PillarId?: string;
542
542
  PillarName?: string;
543
543
  Notes?: string;
544
- RiskCounts?: Record<Risk, number>;
545
- PrioritizedRiskCounts?: Record<Risk, number>;
544
+ RiskCounts?: Partial<Record<Risk, number>>;
545
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
546
546
  }
547
547
  export interface WorkloadProfile {
548
548
  ProfileArn?: string;
@@ -557,10 +557,10 @@ export interface LensReview {
557
557
  PillarReviewSummaries?: PillarReviewSummary[];
558
558
  UpdatedAt?: Date;
559
559
  Notes?: string;
560
- RiskCounts?: Record<Risk, number>;
560
+ RiskCounts?: Partial<Record<Risk, number>>;
561
561
  NextToken?: string;
562
562
  Profiles?: WorkloadProfile[];
563
- PrioritizedRiskCounts?: Record<Risk, number>;
563
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
564
564
  }
565
565
  export interface GetLensReviewOutput {
566
566
  WorkloadId?: string;
@@ -640,7 +640,7 @@ export interface Workload {
640
640
  Industry?: string;
641
641
  Notes?: string;
642
642
  ImprovementStatus?: WorkloadImprovementStatus;
643
- RiskCounts?: Record<Risk, number>;
643
+ RiskCounts?: Partial<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<Risk, number>;
652
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
653
653
  }
654
654
  export interface Milestone {
655
655
  MilestoneNumber?: number;
@@ -735,7 +735,7 @@ export interface ReviewTemplate {
735
735
  Description?: string;
736
736
  Lenses?: string[];
737
737
  Notes?: string;
738
- QuestionCounts?: Record<Question, number>;
738
+ QuestionCounts?: Partial<Record<Question, number>>;
739
739
  Owner?: string;
740
740
  UpdatedAt?: Date;
741
741
  TemplateArn?: string;
@@ -787,7 +787,7 @@ export interface ReviewTemplatePillarReviewSummary {
787
787
  PillarId?: string;
788
788
  PillarName?: string;
789
789
  Notes?: string;
790
- QuestionCounts?: Record<Question, number>;
790
+ QuestionCounts?: Partial<Record<Question, number>>;
791
791
  }
792
792
  export interface ReviewTemplateLensReview {
793
793
  LensAlias?: string;
@@ -798,7 +798,7 @@ export interface ReviewTemplateLensReview {
798
798
  PillarReviewSummaries?: ReviewTemplatePillarReviewSummary[];
799
799
  UpdatedAt?: Date;
800
800
  Notes?: string;
801
- QuestionCounts?: Record<Question, number>;
801
+ QuestionCounts?: Partial<Record<Question, number>>;
802
802
  NextToken?: string;
803
803
  }
804
804
  export interface GetReviewTemplateLensReviewOutput {
@@ -843,9 +843,9 @@ export interface LensReviewSummary {
843
843
  LensName?: string;
844
844
  LensStatus?: LensStatus;
845
845
  UpdatedAt?: Date;
846
- RiskCounts?: Record<Risk, number>;
846
+ RiskCounts?: Partial<Record<Risk, number>>;
847
847
  Profiles?: WorkloadProfile[];
848
- PrioritizedRiskCounts?: Record<Risk, number>;
848
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
849
849
  }
850
850
  export declare const ShareStatus: {
851
851
  readonly ACCEPTED: "ACCEPTED";
@@ -1004,10 +1004,10 @@ export interface WorkloadSummary {
1004
1004
  Owner?: string;
1005
1005
  UpdatedAt?: Date;
1006
1006
  Lenses?: string[];
1007
- RiskCounts?: Record<Risk, number>;
1007
+ RiskCounts?: Partial<Record<Risk, number>>;
1008
1008
  ImprovementStatus?: WorkloadImprovementStatus;
1009
1009
  Profiles?: WorkloadProfile[];
1010
- PrioritizedRiskCounts?: Record<Risk, number>;
1010
+ PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
1011
1011
  }
1012
1012
  export interface MilestoneSummary {
1013
1013
  MilestoneNumber?: number;
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.431.0",
4
+ "version": "3.433.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.431.0",
25
- "@aws-sdk/credential-provider-node": "3.431.0",
26
- "@aws-sdk/middleware-host-header": "3.431.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.430.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.430.0",
36
- "@smithy/config-resolver": "^2.0.15",
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.2",
42
- "@smithy/middleware-retry": "^2.0.17",
43
- "@smithy/middleware-serde": "^2.0.11",
44
- "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.2",
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",
24
+ "@aws-sdk/client-sts": "3.433.0",
25
+ "@aws-sdk/credential-provider-node": "3.433.0",
26
+ "@aws-sdk/middleware-host-header": "3.433.0",
27
+ "@aws-sdk/middleware-logger": "3.433.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.433.0",
29
+ "@aws-sdk/middleware-signing": "3.433.0",
30
+ "@aws-sdk/middleware-user-agent": "3.433.0",
31
+ "@aws-sdk/region-config-resolver": "3.433.0",
32
+ "@aws-sdk/types": "3.433.0",
33
+ "@aws-sdk/util-endpoints": "3.433.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.433.0",
35
+ "@aws-sdk/util-user-agent-node": "3.433.0",
36
+ "@smithy/config-resolver": "^2.0.16",
37
+ "@smithy/fetch-http-handler": "^2.2.4",
38
+ "@smithy/hash-node": "^2.0.12",
39
+ "@smithy/invalid-dependency": "^2.0.12",
40
+ "@smithy/middleware-content-length": "^2.0.14",
41
+ "@smithy/middleware-endpoint": "^2.1.3",
42
+ "@smithy/middleware-retry": "^2.0.18",
43
+ "@smithy/middleware-serde": "^2.0.12",
44
+ "@smithy/middleware-stack": "^2.0.6",
45
+ "@smithy/node-config-provider": "^2.1.3",
46
+ "@smithy/node-http-handler": "^2.1.8",
47
+ "@smithy/protocol-http": "^3.0.8",
48
+ "@smithy/smithy-client": "^2.1.12",
49
+ "@smithy/types": "^2.4.0",
50
+ "@smithy/url-parser": "^2.0.12",
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.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.20",
56
- "@smithy/util-retry": "^2.0.4",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.16",
55
+ "@smithy/util-defaults-mode-node": "^2.0.21",
56
+ "@smithy/util-retry": "^2.0.5",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",
59
59
  "uuid": "^8.3.2"