@aws-sdk/client-wellarchitected 3.554.0 → 3.563.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.
Files changed (36) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +207 -9
  3. package/dist-es/WellArchitected.js +4 -0
  4. package/dist-es/commands/GetGlobalSettingsCommand.js +24 -0
  5. package/dist-es/commands/UpdateIntegrationCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +27 -4
  8. package/dist-es/protocols/Aws_restJson1.js +129 -4
  9. package/dist-types/WellArchitected.d.ts +15 -0
  10. package/dist-types/WellArchitectedClient.d.ts +4 -2
  11. package/dist-types/commands/CreateWorkloadCommand.d.ts +5 -0
  12. package/dist-types/commands/GetAnswerCommand.d.ts +4 -0
  13. package/dist-types/commands/GetGlobalSettingsCommand.d.ts +78 -0
  14. package/dist-types/commands/GetLensReviewCommand.d.ts +10 -0
  15. package/dist-types/commands/GetMilestoneCommand.d.ts +6 -0
  16. package/dist-types/commands/GetWorkloadCommand.d.ts +6 -0
  17. package/dist-types/commands/ListAnswersCommand.d.ts +4 -0
  18. package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +5 -1
  19. package/dist-types/commands/UpdateAnswerCommand.d.ts +4 -0
  20. package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +7 -1
  21. package/dist-types/commands/UpdateIntegrationCommand.d.ts +77 -0
  22. package/dist-types/commands/UpdateLensReviewCommand.d.ts +20 -0
  23. package/dist-types/commands/UpdateWorkloadCommand.d.ts +11 -0
  24. package/dist-types/commands/UpgradeLensReviewCommand.d.ts +3 -0
  25. package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +3 -0
  26. package/dist-types/commands/index.d.ts +2 -0
  27. package/dist-types/models/models_0.d.ts +330 -12
  28. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  29. package/dist-types/ts3.4/WellArchitected.d.ts +35 -0
  30. package/dist-types/ts3.4/WellArchitectedClient.d.ts +12 -0
  31. package/dist-types/ts3.4/commands/GetGlobalSettingsCommand.d.ts +35 -0
  32. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +33 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +96 -6
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  36. package/package.json +4 -4
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GetGlobalSettingsOutput } from "../models/models_0";
4
+ import {
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ WellArchitectedClientResolvedConfig,
8
+ } from "../WellArchitectedClient";
9
+ export { __MetadataBearer, $Command };
10
+ export interface GetGlobalSettingsCommandInput {}
11
+ export interface GetGlobalSettingsCommandOutput
12
+ extends GetGlobalSettingsOutput,
13
+ __MetadataBearer {}
14
+ declare const GetGlobalSettingsCommand_base: {
15
+ new (
16
+ input: GetGlobalSettingsCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetGlobalSettingsCommandInput,
19
+ GetGlobalSettingsCommandOutput,
20
+ WellArchitectedClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ new (
25
+ ...[input]: [] | [GetGlobalSettingsCommandInput]
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ GetGlobalSettingsCommandInput,
28
+ GetGlobalSettingsCommandOutput,
29
+ WellArchitectedClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ export declare class GetGlobalSettingsCommand extends GetGlobalSettingsCommand_base {}
@@ -0,0 +1,33 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateIntegrationInput } from "../models/models_0";
4
+ import {
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ WellArchitectedClientResolvedConfig,
8
+ } from "../WellArchitectedClient";
9
+ export { __MetadataBearer, $Command };
10
+ export interface UpdateIntegrationCommandInput extends UpdateIntegrationInput {}
11
+ export interface UpdateIntegrationCommandOutput extends __MetadataBearer {}
12
+ declare const UpdateIntegrationCommand_base: {
13
+ new (
14
+ input: UpdateIntegrationCommandInput
15
+ ): import("@smithy/smithy-client").CommandImpl<
16
+ UpdateIntegrationCommandInput,
17
+ UpdateIntegrationCommandOutput,
18
+ WellArchitectedClientResolvedConfig,
19
+ ServiceInputTypes,
20
+ ServiceOutputTypes
21
+ >;
22
+ new (
23
+ __0_0: UpdateIntegrationCommandInput
24
+ ): import("@smithy/smithy-client").CommandImpl<
25
+ UpdateIntegrationCommandInput,
26
+ UpdateIntegrationCommandOutput,
27
+ WellArchitectedClientResolvedConfig,
28
+ ServiceInputTypes,
29
+ ServiceOutputTypes
30
+ >;
31
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
32
+ };
33
+ export declare class UpdateIntegrationCommand extends UpdateIntegrationCommand_base {}
@@ -22,6 +22,7 @@ export * from "./DisassociateProfilesCommand";
22
22
  export * from "./ExportLensCommand";
23
23
  export * from "./GetAnswerCommand";
24
24
  export * from "./GetConsolidatedReportCommand";
25
+ export * from "./GetGlobalSettingsCommand";
25
26
  export * from "./GetLensCommand";
26
27
  export * from "./GetLensReviewCommand";
27
28
  export * from "./GetLensReviewReportCommand";
@@ -57,6 +58,7 @@ export * from "./TagResourceCommand";
57
58
  export * from "./UntagResourceCommand";
58
59
  export * from "./UpdateAnswerCommand";
59
60
  export * from "./UpdateGlobalSettingsCommand";
61
+ export * from "./UpdateIntegrationCommand";
60
62
  export * from "./UpdateLensReviewCommand";
61
63
  export * from "./UpdateProfileCommand";
62
64
  export * from "./UpdateReviewTemplateAnswerCommand";
@@ -8,6 +8,43 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export declare const IntegrationStatusInput: {
12
+ readonly NOT_CONFIGURED: "NOT_CONFIGURED";
13
+ };
14
+ export type IntegrationStatusInput =
15
+ (typeof IntegrationStatusInput)[keyof typeof IntegrationStatusInput];
16
+ export declare const AccountJiraIssueManagementStatus: {
17
+ readonly DISABLED: "DISABLED";
18
+ readonly ENABLED: "ENABLED";
19
+ };
20
+ export type AccountJiraIssueManagementStatus =
21
+ (typeof AccountJiraIssueManagementStatus)[keyof typeof AccountJiraIssueManagementStatus];
22
+ export declare const IssueManagementType: {
23
+ readonly AUTO: "AUTO";
24
+ readonly MANUAL: "MANUAL";
25
+ };
26
+ export type IssueManagementType =
27
+ (typeof IssueManagementType)[keyof typeof IssueManagementType];
28
+ export interface AccountJiraConfigurationInput {
29
+ IssueManagementStatus?: AccountJiraIssueManagementStatus;
30
+ IssueManagementType?: IssueManagementType;
31
+ JiraProjectKey?: string;
32
+ IntegrationStatus?: IntegrationStatusInput;
33
+ }
34
+ export declare const IntegrationStatus: {
35
+ readonly CONFIGURED: "CONFIGURED";
36
+ readonly NOT_CONFIGURED: "NOT_CONFIGURED";
37
+ };
38
+ export type IntegrationStatus =
39
+ (typeof IntegrationStatus)[keyof typeof IntegrationStatus];
40
+ export interface AccountJiraConfigurationOutput {
41
+ IntegrationStatus?: IntegrationStatus;
42
+ IssueManagementStatus?: AccountJiraIssueManagementStatus;
43
+ IssueManagementType?: IssueManagementType;
44
+ Subdomain?: string;
45
+ JiraProjectKey?: string;
46
+ StatusMessage?: string;
47
+ }
11
48
  export declare const CheckStatus: {
12
49
  readonly ERROR: "ERROR";
13
50
  readonly FETCH_FAILED: "FETCH_FAILED";
@@ -58,6 +95,10 @@ export interface Choice {
58
95
  ImprovementPlan?: ChoiceContent;
59
96
  AdditionalResources?: AdditionalResources[];
60
97
  }
98
+ export interface JiraConfiguration {
99
+ JiraIssueUrl?: string;
100
+ LastSyncedTime?: Date;
101
+ }
61
102
  export declare const AnswerReason: {
62
103
  readonly ARCHITECTURE_CONSTRAINTS: "ARCHITECTURE_CONSTRAINTS";
63
104
  readonly BUSINESS_PRIORITIES: "BUSINESS_PRIORITIES";
@@ -89,6 +130,7 @@ export interface Answer {
89
130
  Risk?: Risk;
90
131
  Notes?: string;
91
132
  Reason?: AnswerReason;
133
+ JiraConfiguration?: JiraConfiguration;
92
134
  }
93
135
  export interface ChoiceAnswerSummary {
94
136
  ChoiceId?: string;
@@ -111,6 +153,7 @@ export interface AnswerSummary {
111
153
  Risk?: Risk;
112
154
  Reason?: AnswerReason;
113
155
  QuestionType?: QuestionType;
156
+ JiraConfiguration?: JiraConfiguration;
114
157
  }
115
158
  export interface AssociateLensesInput {
116
159
  WorkloadId: string | undefined;
@@ -366,6 +409,18 @@ export declare const WorkloadEnvironment: {
366
409
  };
367
410
  export type WorkloadEnvironment =
368
411
  (typeof WorkloadEnvironment)[keyof typeof WorkloadEnvironment];
412
+ export declare const WorkloadIssueManagementStatus: {
413
+ readonly DISABLED: "DISABLED";
414
+ readonly ENABLED: "ENABLED";
415
+ readonly INHERIT: "INHERIT";
416
+ };
417
+ export type WorkloadIssueManagementStatus =
418
+ (typeof WorkloadIssueManagementStatus)[keyof typeof WorkloadIssueManagementStatus];
419
+ export interface WorkloadJiraConfigurationInput {
420
+ IssueManagementStatus?: WorkloadIssueManagementStatus;
421
+ IssueManagementType?: IssueManagementType;
422
+ JiraProjectKey?: string;
423
+ }
369
424
  export interface CreateWorkloadInput {
370
425
  WorkloadName: string | undefined;
371
426
  Description: string | undefined;
@@ -386,6 +441,7 @@ export interface CreateWorkloadInput {
386
441
  Applications?: string[];
387
442
  ProfileArns?: string[];
388
443
  ReviewTemplateArns?: string[];
444
+ JiraConfiguration?: WorkloadJiraConfigurationInput;
389
445
  }
390
446
  export interface CreateWorkloadOutput {
391
447
  WorkloadId?: string;
@@ -508,6 +564,17 @@ export interface GetConsolidatedReportOutput {
508
564
  NextToken?: string;
509
565
  Base64String?: string;
510
566
  }
567
+ export declare const OrganizationSharingStatus: {
568
+ readonly DISABLED: "DISABLED";
569
+ readonly ENABLED: "ENABLED";
570
+ };
571
+ export type OrganizationSharingStatus =
572
+ (typeof OrganizationSharingStatus)[keyof typeof OrganizationSharingStatus];
573
+ export interface GetGlobalSettingsOutput {
574
+ OrganizationSharingStatus?: OrganizationSharingStatus;
575
+ DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus;
576
+ JiraConfiguration?: AccountJiraConfigurationOutput;
577
+ }
511
578
  export interface GetLensInput {
512
579
  LensAlias: string | undefined;
513
580
  LensVersion?: string;
@@ -529,6 +596,13 @@ export interface GetLensReviewInput {
529
596
  LensAlias: string | undefined;
530
597
  MilestoneNumber?: number;
531
598
  }
599
+ export interface SelectedPillar {
600
+ PillarId?: string;
601
+ SelectedQuestionIds?: string[];
602
+ }
603
+ export interface JiraSelectedQuestionConfiguration {
604
+ SelectedPillars?: SelectedPillar[];
605
+ }
532
606
  export declare const LensStatus: {
533
607
  readonly CURRENT: "CURRENT";
534
608
  readonly DELETED: "DELETED";
@@ -555,6 +629,7 @@ export interface LensReview {
555
629
  LensName?: string;
556
630
  LensStatus?: LensStatus;
557
631
  PillarReviewSummaries?: PillarReviewSummary[];
632
+ JiraConfiguration?: JiraSelectedQuestionConfiguration;
558
633
  UpdatedAt?: Date;
559
634
  Notes?: string;
560
635
  RiskCounts?: Partial<Record<Risk, number>>;
@@ -622,6 +697,12 @@ export declare const WorkloadImprovementStatus: {
622
697
  };
623
698
  export type WorkloadImprovementStatus =
624
699
  (typeof WorkloadImprovementStatus)[keyof typeof WorkloadImprovementStatus];
700
+ export interface WorkloadJiraConfigurationOutput {
701
+ IssueManagementStatus?: WorkloadIssueManagementStatus;
702
+ IssueManagementType?: IssueManagementType;
703
+ JiraProjectKey?: string;
704
+ StatusMessage?: string;
705
+ }
625
706
  export interface Workload {
626
707
  WorkloadId?: string;
627
708
  WorkloadArn?: string;
@@ -650,6 +731,7 @@ export interface Workload {
650
731
  Applications?: string[];
651
732
  Profiles?: WorkloadProfile[];
652
733
  PrioritizedRiskCounts?: Partial<Record<Risk, number>>;
734
+ JiraConfiguration?: WorkloadJiraConfigurationOutput;
653
735
  }
654
736
  export interface Milestone {
655
737
  MilestoneNumber?: number;
@@ -835,7 +917,13 @@ export interface ImprovementSummary {
835
917
  Risk?: Risk;
836
918
  ImprovementPlanUrl?: string;
837
919
  ImprovementPlans?: ChoiceImprovementPlan[];
920
+ JiraConfiguration?: JiraConfiguration;
838
921
  }
922
+ export declare const IntegratingService: {
923
+ readonly JIRA: "JIRA";
924
+ };
925
+ export type IntegratingService =
926
+ (typeof IntegratingService)[keyof typeof IntegratingService];
839
927
  export interface LensReviewSummary {
840
928
  LensAlias?: string;
841
929
  LensArn?: string;
@@ -1236,12 +1324,6 @@ export interface ListWorkloadSharesOutput {
1236
1324
  WorkloadShareSummaries?: WorkloadShareSummary[];
1237
1325
  NextToken?: string;
1238
1326
  }
1239
- export declare const OrganizationSharingStatus: {
1240
- readonly DISABLED: "DISABLED";
1241
- readonly ENABLED: "ENABLED";
1242
- };
1243
- export type OrganizationSharingStatus =
1244
- (typeof OrganizationSharingStatus)[keyof typeof OrganizationSharingStatus];
1245
1327
  export interface ShareInvitation {
1246
1328
  ShareInvitationId?: string;
1247
1329
  ShareResourceType?: ShareResourceType;
@@ -1286,12 +1368,19 @@ export interface UpdateAnswerOutput {
1286
1368
  export interface UpdateGlobalSettingsInput {
1287
1369
  OrganizationSharingStatus?: OrganizationSharingStatus;
1288
1370
  DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus;
1371
+ JiraConfiguration?: AccountJiraConfigurationInput;
1372
+ }
1373
+ export interface UpdateIntegrationInput {
1374
+ WorkloadId: string | undefined;
1375
+ ClientRequestToken?: string;
1376
+ IntegratingService: IntegratingService | undefined;
1289
1377
  }
1290
1378
  export interface UpdateLensReviewInput {
1291
1379
  WorkloadId: string | undefined;
1292
1380
  LensAlias: string | undefined;
1293
1381
  LensNotes?: string;
1294
1382
  PillarNotes?: Record<string, string>;
1383
+ JiraConfiguration?: JiraSelectedQuestionConfiguration;
1295
1384
  }
1296
1385
  export interface UpdateLensReviewOutput {
1297
1386
  WorkloadId?: string;
@@ -1366,6 +1455,7 @@ export interface UpdateWorkloadInput {
1366
1455
  ImprovementStatus?: WorkloadImprovementStatus;
1367
1456
  DiscoveryConfig?: WorkloadDiscoveryConfig;
1368
1457
  Applications?: string[];
1458
+ JiraConfiguration?: WorkloadJiraConfigurationInput;
1369
1459
  }
1370
1460
  export interface UpdateWorkloadOutput {
1371
1461
  Workload?: Workload;
@@ -99,6 +99,10 @@ import {
99
99
  GetConsolidatedReportCommandInput,
100
100
  GetConsolidatedReportCommandOutput,
101
101
  } from "../commands/GetConsolidatedReportCommand";
102
+ import {
103
+ GetGlobalSettingsCommandInput,
104
+ GetGlobalSettingsCommandOutput,
105
+ } from "../commands/GetGlobalSettingsCommand";
102
106
  import {
103
107
  GetLensCommandInput,
104
108
  GetLensCommandOutput,
@@ -239,6 +243,10 @@ import {
239
243
  UpdateGlobalSettingsCommandInput,
240
244
  UpdateGlobalSettingsCommandOutput,
241
245
  } from "../commands/UpdateGlobalSettingsCommand";
246
+ import {
247
+ UpdateIntegrationCommandInput,
248
+ UpdateIntegrationCommandOutput,
249
+ } from "../commands/UpdateIntegrationCommand";
242
250
  import {
243
251
  UpdateLensReviewCommandInput,
244
252
  UpdateLensReviewCommandOutput,
@@ -379,6 +387,10 @@ export declare const se_GetConsolidatedReportCommand: (
379
387
  input: GetConsolidatedReportCommandInput,
380
388
  context: __SerdeContext
381
389
  ) => Promise<__HttpRequest>;
390
+ export declare const se_GetGlobalSettingsCommand: (
391
+ input: GetGlobalSettingsCommandInput,
392
+ context: __SerdeContext
393
+ ) => Promise<__HttpRequest>;
382
394
  export declare const se_GetLensCommand: (
383
395
  input: GetLensCommandInput,
384
396
  context: __SerdeContext
@@ -519,6 +531,10 @@ export declare const se_UpdateGlobalSettingsCommand: (
519
531
  input: UpdateGlobalSettingsCommandInput,
520
532
  context: __SerdeContext
521
533
  ) => Promise<__HttpRequest>;
534
+ export declare const se_UpdateIntegrationCommand: (
535
+ input: UpdateIntegrationCommandInput,
536
+ context: __SerdeContext
537
+ ) => Promise<__HttpRequest>;
522
538
  export declare const se_UpdateLensReviewCommand: (
523
539
  input: UpdateLensReviewCommandInput,
524
540
  context: __SerdeContext
@@ -659,6 +675,10 @@ export declare const de_GetConsolidatedReportCommand: (
659
675
  output: __HttpResponse,
660
676
  context: __SerdeContext
661
677
  ) => Promise<GetConsolidatedReportCommandOutput>;
678
+ export declare const de_GetGlobalSettingsCommand: (
679
+ output: __HttpResponse,
680
+ context: __SerdeContext
681
+ ) => Promise<GetGlobalSettingsCommandOutput>;
662
682
  export declare const de_GetLensCommand: (
663
683
  output: __HttpResponse,
664
684
  context: __SerdeContext
@@ -799,6 +819,10 @@ export declare const de_UpdateGlobalSettingsCommand: (
799
819
  output: __HttpResponse,
800
820
  context: __SerdeContext
801
821
  ) => Promise<UpdateGlobalSettingsCommandOutput>;
822
+ export declare const de_UpdateIntegrationCommand: (
823
+ output: __HttpResponse,
824
+ context: __SerdeContext
825
+ ) => Promise<UpdateIntegrationCommandOutput>;
802
826
  export declare const de_UpdateLensReviewCommand: (
803
827
  output: __HttpResponse,
804
828
  context: __SerdeContext
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.554.0",
4
+ "version": "3.563.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-wellarchitected",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.554.0",
24
- "@aws-sdk/core": "3.554.0",
25
- "@aws-sdk/credential-provider-node": "3.554.0",
23
+ "@aws-sdk/client-sts": "3.556.0",
24
+ "@aws-sdk/core": "3.556.0",
25
+ "@aws-sdk/credential-provider-node": "3.563.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",