@aws-sdk/client-wellarchitected 3.554.0 → 3.556.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
package/README.md CHANGED
@@ -400,6 +400,14 @@ GetConsolidatedReport
400
400
 
401
401
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/wellarchitected/command/GetConsolidatedReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/GetConsolidatedReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/GetConsolidatedReportCommandOutput/)
402
402
 
403
+ </details>
404
+ <details>
405
+ <summary>
406
+ GetGlobalSettings
407
+ </summary>
408
+
409
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/wellarchitected/command/GetGlobalSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/GetGlobalSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/GetGlobalSettingsCommandOutput/)
410
+
403
411
  </details>
404
412
  <details>
405
413
  <summary>
@@ -680,6 +688,14 @@ UpdateGlobalSettings
680
688
 
681
689
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/wellarchitected/command/UpdateGlobalSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/UpdateGlobalSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/UpdateGlobalSettingsCommandOutput/)
682
690
 
691
+ </details>
692
+ <details>
693
+ <summary>
694
+ UpdateIntegration
695
+ </summary>
696
+
697
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/wellarchitected/command/UpdateIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/UpdateIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-wellarchitected/Interface/UpdateIntegrationCommandOutput/)
698
+
683
699
  </details>
684
700
  <details>
685
701
  <summary>
package/dist-cjs/index.js CHANGED
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var src_exports = {};
23
23
  __export(src_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ AccountJiraIssueManagementStatus: () => AccountJiraIssueManagementStatus,
25
26
  AdditionalResourceType: () => AdditionalResourceType,
26
27
  AnswerReason: () => AnswerReason,
27
28
  AssociateLensesCommand: () => AssociateLensesCommand,
@@ -57,6 +58,7 @@ __export(src_exports, {
57
58
  ExportLensCommand: () => ExportLensCommand,
58
59
  GetAnswerCommand: () => GetAnswerCommand,
59
60
  GetConsolidatedReportCommand: () => GetConsolidatedReportCommand,
61
+ GetGlobalSettingsCommand: () => GetGlobalSettingsCommand,
60
62
  GetLensCommand: () => GetLensCommand,
61
63
  GetLensReviewCommand: () => GetLensReviewCommand,
62
64
  GetLensReviewReportCommand: () => GetLensReviewReportCommand,
@@ -70,7 +72,11 @@ __export(src_exports, {
70
72
  GetWorkloadCommand: () => GetWorkloadCommand,
71
73
  ImportLensCommand: () => ImportLensCommand,
72
74
  ImportLensStatus: () => ImportLensStatus,
75
+ IntegratingService: () => IntegratingService,
76
+ IntegrationStatus: () => IntegrationStatus,
77
+ IntegrationStatusInput: () => IntegrationStatusInput,
73
78
  InternalServerException: () => InternalServerException,
79
+ IssueManagementType: () => IssueManagementType,
74
80
  LensStatus: () => LensStatus,
75
81
  LensStatusType: () => LensStatusType,
76
82
  LensType: () => LensType,
@@ -117,6 +123,7 @@ __export(src_exports, {
117
123
  UntagResourceCommand: () => UntagResourceCommand,
118
124
  UpdateAnswerCommand: () => UpdateAnswerCommand,
119
125
  UpdateGlobalSettingsCommand: () => UpdateGlobalSettingsCommand,
126
+ UpdateIntegrationCommand: () => UpdateIntegrationCommand,
120
127
  UpdateLensReviewCommand: () => UpdateLensReviewCommand,
121
128
  UpdateProfileCommand: () => UpdateProfileCommand,
122
129
  UpdateReviewTemplateAnswerCommand: () => UpdateReviewTemplateAnswerCommand,
@@ -135,6 +142,7 @@ __export(src_exports, {
135
142
  WellArchitectedServiceException: () => WellArchitectedServiceException,
136
143
  WorkloadEnvironment: () => WorkloadEnvironment,
137
144
  WorkloadImprovementStatus: () => WorkloadImprovementStatus,
145
+ WorkloadIssueManagementStatus: () => WorkloadIssueManagementStatus,
138
146
  __Client: () => import_smithy_client.Client,
139
147
  paginateGetConsolidatedReport: () => paginateGetConsolidatedReport,
140
148
  paginateListAnswers: () => paginateListAnswers,
@@ -349,6 +357,21 @@ var _AccessDeniedException = class _AccessDeniedException extends WellArchitecte
349
357
  };
350
358
  __name(_AccessDeniedException, "AccessDeniedException");
351
359
  var AccessDeniedException = _AccessDeniedException;
360
+ var IntegrationStatusInput = {
361
+ NOT_CONFIGURED: "NOT_CONFIGURED"
362
+ };
363
+ var AccountJiraIssueManagementStatus = {
364
+ DISABLED: "DISABLED",
365
+ ENABLED: "ENABLED"
366
+ };
367
+ var IssueManagementType = {
368
+ AUTO: "AUTO",
369
+ MANUAL: "MANUAL"
370
+ };
371
+ var IntegrationStatus = {
372
+ CONFIGURED: "CONFIGURED",
373
+ NOT_CONFIGURED: "NOT_CONFIGURED"
374
+ };
352
375
  var CheckStatus = {
353
376
  ERROR: "ERROR",
354
377
  FETCH_FAILED: "FETCH_FAILED",
@@ -540,6 +563,11 @@ var WorkloadEnvironment = {
540
563
  PREPRODUCTION: "PREPRODUCTION",
541
564
  PRODUCTION: "PRODUCTION"
542
565
  };
566
+ var WorkloadIssueManagementStatus = {
567
+ DISABLED: "DISABLED",
568
+ ENABLED: "ENABLED",
569
+ INHERIT: "INHERIT"
570
+ };
543
571
  var PermissionType = {
544
572
  CONTRIBUTOR: "CONTRIBUTOR",
545
573
  READONLY: "READONLY"
@@ -562,6 +590,10 @@ var ReportFormat = {
562
590
  JSON: "JSON",
563
591
  PDF: "PDF"
564
592
  };
593
+ var OrganizationSharingStatus = {
594
+ DISABLED: "DISABLED",
595
+ ENABLED: "ENABLED"
596
+ };
565
597
  var LensStatus = {
566
598
  CURRENT: "CURRENT",
567
599
  DELETED: "DELETED",
@@ -593,6 +625,9 @@ var ImportLensStatus = {
593
625
  ERROR: "ERROR",
594
626
  IN_PROGRESS: "IN_PROGRESS"
595
627
  };
628
+ var IntegratingService = {
629
+ JIRA: "JIRA"
630
+ };
596
631
  var ShareStatus = {
597
632
  ACCEPTED: "ACCEPTED",
598
633
  ASSOCIATED: "ASSOCIATED",
@@ -630,10 +665,6 @@ var ShareResourceType = {
630
665
  TEMPLATE: "TEMPLATE",
631
666
  WORKLOAD: "WORKLOAD"
632
667
  };
633
- var OrganizationSharingStatus = {
634
- DISABLED: "DISABLED",
635
- ENABLED: "ENABLED"
636
- };
637
668
  var ShareInvitationAction = {
638
669
  ACCEPT: "ACCEPT",
639
670
  REJECT: "REJECT"
@@ -816,6 +847,7 @@ var se_CreateWorkloadCommand = /* @__PURE__ */ __name(async (input, context) =>
816
847
  Environment: [],
817
848
  Industry: [],
818
849
  IndustryType: [],
850
+ JiraConfiguration: (_) => (0, import_smithy_client._json)(_),
819
851
  Lenses: (_) => (0, import_smithy_client._json)(_),
820
852
  NonAwsRegions: (_) => (0, import_smithy_client._json)(_),
821
853
  Notes: [],
@@ -1021,6 +1053,17 @@ var se_GetConsolidatedReportCommand = /* @__PURE__ */ __name(async (input, conte
1021
1053
  b.m("GET").h(headers).q(query).b(body);
1022
1054
  return b.build();
1023
1055
  }, "se_GetConsolidatedReportCommand");
1056
+ var se_GetGlobalSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
1057
+ const b = (0, import_core.requestBuilder)(input, context);
1058
+ const headers = {
1059
+ "content-type": "application/json"
1060
+ };
1061
+ b.bp("/global-settings");
1062
+ let body;
1063
+ body = "";
1064
+ b.m("GET").h(headers).b(body);
1065
+ return b.build();
1066
+ }, "se_GetGlobalSettingsCommand");
1024
1067
  var se_GetLensCommand = /* @__PURE__ */ __name(async (input, context) => {
1025
1068
  const b = (0, import_core.requestBuilder)(input, context);
1026
1069
  const headers = {};
@@ -1522,12 +1565,30 @@ var se_UpdateGlobalSettingsCommand = /* @__PURE__ */ __name(async (input, contex
1522
1565
  body = JSON.stringify(
1523
1566
  (0, import_smithy_client.take)(input, {
1524
1567
  DiscoveryIntegrationStatus: [],
1568
+ JiraConfiguration: (_) => (0, import_smithy_client._json)(_),
1525
1569
  OrganizationSharingStatus: []
1526
1570
  })
1527
1571
  );
1528
1572
  b.m("PATCH").h(headers).b(body);
1529
1573
  return b.build();
1530
1574
  }, "se_UpdateGlobalSettingsCommand");
1575
+ var se_UpdateIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
1576
+ const b = (0, import_core.requestBuilder)(input, context);
1577
+ const headers = {
1578
+ "content-type": "application/json"
1579
+ };
1580
+ b.bp("/workloads/{WorkloadId}/updateIntegration");
1581
+ b.p("WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
1582
+ let body;
1583
+ body = JSON.stringify(
1584
+ (0, import_smithy_client.take)(input, {
1585
+ ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1586
+ IntegratingService: []
1587
+ })
1588
+ );
1589
+ b.m("POST").h(headers).b(body);
1590
+ return b.build();
1591
+ }, "se_UpdateIntegrationCommand");
1531
1592
  var se_UpdateLensReviewCommand = /* @__PURE__ */ __name(async (input, context) => {
1532
1593
  const b = (0, import_core.requestBuilder)(input, context);
1533
1594
  const headers = {
@@ -1539,6 +1600,7 @@ var se_UpdateLensReviewCommand = /* @__PURE__ */ __name(async (input, context) =
1539
1600
  let body;
1540
1601
  body = JSON.stringify(
1541
1602
  (0, import_smithy_client.take)(input, {
1603
+ JiraConfiguration: (_) => (0, import_smithy_client._json)(_),
1542
1604
  LensNotes: [],
1543
1605
  PillarNotes: (_) => (0, import_smithy_client._json)(_)
1544
1606
  })
@@ -1660,6 +1722,7 @@ var se_UpdateWorkloadCommand = /* @__PURE__ */ __name(async (input, context) =>
1660
1722
  Industry: [],
1661
1723
  IndustryType: [],
1662
1724
  IsReviewOwnerUpdateAcknowledged: [],
1725
+ JiraConfiguration: (_) => (0, import_smithy_client._json)(_),
1663
1726
  NonAwsRegions: (_) => (0, import_smithy_client._json)(_),
1664
1727
  Notes: [],
1665
1728
  PillarPriorities: (_) => (0, import_smithy_client._json)(_),
@@ -2016,7 +2079,7 @@ var de_GetAnswerCommand = /* @__PURE__ */ __name(async (output, context) => {
2016
2079
  });
2017
2080
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2018
2081
  const doc = (0, import_smithy_client.take)(data, {
2019
- Answer: import_smithy_client._json,
2082
+ Answer: (_) => de_Answer(_, context),
2020
2083
  LensAlias: import_smithy_client.expectString,
2021
2084
  LensArn: import_smithy_client.expectString,
2022
2085
  MilestoneNumber: import_smithy_client.expectInt32,
@@ -2041,6 +2104,22 @@ var de_GetConsolidatedReportCommand = /* @__PURE__ */ __name(async (output, cont
2041
2104
  Object.assign(contents, doc);
2042
2105
  return contents;
2043
2106
  }, "de_GetConsolidatedReportCommand");
2107
+ var de_GetGlobalSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
2108
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2109
+ return de_CommandError(output, context);
2110
+ }
2111
+ const contents = (0, import_smithy_client.map)({
2112
+ $metadata: deserializeMetadata(output)
2113
+ });
2114
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2115
+ const doc = (0, import_smithy_client.take)(data, {
2116
+ DiscoveryIntegrationStatus: import_smithy_client.expectString,
2117
+ JiraConfiguration: import_smithy_client._json,
2118
+ OrganizationSharingStatus: import_smithy_client.expectString
2119
+ });
2120
+ Object.assign(contents, doc);
2121
+ return contents;
2122
+ }, "de_GetGlobalSettingsCommand");
2044
2123
  var de_GetLensCommand = /* @__PURE__ */ __name(async (output, context) => {
2045
2124
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2046
2125
  return de_CommandError(output, context);
@@ -2232,7 +2311,7 @@ var de_ListAnswersCommand = /* @__PURE__ */ __name(async (output, context) => {
2232
2311
  });
2233
2312
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2234
2313
  const doc = (0, import_smithy_client.take)(data, {
2235
- AnswerSummaries: import_smithy_client._json,
2314
+ AnswerSummaries: (_) => de_AnswerSummaries(_, context),
2236
2315
  LensAlias: import_smithy_client.expectString,
2237
2316
  LensArn: import_smithy_client.expectString,
2238
2317
  MilestoneNumber: import_smithy_client.expectInt32,
@@ -2296,7 +2375,7 @@ var de_ListLensReviewImprovementsCommand = /* @__PURE__ */ __name(async (output,
2296
2375
  });
2297
2376
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2298
2377
  const doc = (0, import_smithy_client.take)(data, {
2299
- ImprovementSummaries: import_smithy_client._json,
2378
+ ImprovementSummaries: (_) => de_ImprovementSummaries(_, context),
2300
2379
  LensAlias: import_smithy_client.expectString,
2301
2380
  LensArn: import_smithy_client.expectString,
2302
2381
  MilestoneNumber: import_smithy_client.expectInt32,
@@ -2551,7 +2630,7 @@ var de_UpdateAnswerCommand = /* @__PURE__ */ __name(async (output, context) => {
2551
2630
  });
2552
2631
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2553
2632
  const doc = (0, import_smithy_client.take)(data, {
2554
- Answer: import_smithy_client._json,
2633
+ Answer: (_) => de_Answer(_, context),
2555
2634
  LensAlias: import_smithy_client.expectString,
2556
2635
  LensArn: import_smithy_client.expectString,
2557
2636
  WorkloadId: import_smithy_client.expectString
@@ -2569,6 +2648,16 @@ var de_UpdateGlobalSettingsCommand = /* @__PURE__ */ __name(async (output, conte
2569
2648
  await (0, import_smithy_client.collectBody)(output.body, context);
2570
2649
  return contents;
2571
2650
  }, "de_UpdateGlobalSettingsCommand");
2651
+ var de_UpdateIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
2652
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2653
+ return de_CommandError(output, context);
2654
+ }
2655
+ const contents = (0, import_smithy_client.map)({
2656
+ $metadata: deserializeMetadata(output)
2657
+ });
2658
+ await (0, import_smithy_client.collectBody)(output.body, context);
2659
+ return contents;
2660
+ }, "de_UpdateIntegrationCommand");
2572
2661
  var de_UpdateLensReviewCommand = /* @__PURE__ */ __name(async (output, context) => {
2573
2662
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2574
2663
  return de_CommandError(output, context);
@@ -2857,6 +2946,46 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
2857
2946
  });
2858
2947
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2859
2948
  }, "de_ValidationExceptionRes");
2949
+ var de_Answer = /* @__PURE__ */ __name((output, context) => {
2950
+ return (0, import_smithy_client.take)(output, {
2951
+ ChoiceAnswers: import_smithy_client._json,
2952
+ Choices: import_smithy_client._json,
2953
+ HelpfulResourceDisplayText: import_smithy_client.expectString,
2954
+ HelpfulResourceUrl: import_smithy_client.expectString,
2955
+ ImprovementPlanUrl: import_smithy_client.expectString,
2956
+ IsApplicable: import_smithy_client.expectBoolean,
2957
+ JiraConfiguration: (_) => de_JiraConfiguration(_, context),
2958
+ Notes: import_smithy_client.expectString,
2959
+ PillarId: import_smithy_client.expectString,
2960
+ QuestionDescription: import_smithy_client.expectString,
2961
+ QuestionId: import_smithy_client.expectString,
2962
+ QuestionTitle: import_smithy_client.expectString,
2963
+ Reason: import_smithy_client.expectString,
2964
+ Risk: import_smithy_client.expectString,
2965
+ SelectedChoices: import_smithy_client._json
2966
+ });
2967
+ }, "de_Answer");
2968
+ var de_AnswerSummaries = /* @__PURE__ */ __name((output, context) => {
2969
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2970
+ return de_AnswerSummary(entry, context);
2971
+ });
2972
+ return retVal;
2973
+ }, "de_AnswerSummaries");
2974
+ var de_AnswerSummary = /* @__PURE__ */ __name((output, context) => {
2975
+ return (0, import_smithy_client.take)(output, {
2976
+ ChoiceAnswerSummaries: import_smithy_client._json,
2977
+ Choices: import_smithy_client._json,
2978
+ IsApplicable: import_smithy_client.expectBoolean,
2979
+ JiraConfiguration: (_) => de_JiraConfiguration(_, context),
2980
+ PillarId: import_smithy_client.expectString,
2981
+ QuestionId: import_smithy_client.expectString,
2982
+ QuestionTitle: import_smithy_client.expectString,
2983
+ QuestionType: import_smithy_client.expectString,
2984
+ Reason: import_smithy_client.expectString,
2985
+ Risk: import_smithy_client.expectString,
2986
+ SelectedChoices: import_smithy_client._json
2987
+ });
2988
+ }, "de_AnswerSummary");
2860
2989
  var de_CheckDetail = /* @__PURE__ */ __name((output, context) => {
2861
2990
  return (0, import_smithy_client.take)(output, {
2862
2991
  AccountId: import_smithy_client.expectString,
@@ -2919,8 +3048,32 @@ var de_ConsolidatedReportMetrics = /* @__PURE__ */ __name((output, context) => {
2919
3048
  });
2920
3049
  return retVal;
2921
3050
  }, "de_ConsolidatedReportMetrics");
3051
+ var de_ImprovementSummaries = /* @__PURE__ */ __name((output, context) => {
3052
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3053
+ return de_ImprovementSummary(entry, context);
3054
+ });
3055
+ return retVal;
3056
+ }, "de_ImprovementSummaries");
3057
+ var de_ImprovementSummary = /* @__PURE__ */ __name((output, context) => {
3058
+ return (0, import_smithy_client.take)(output, {
3059
+ ImprovementPlanUrl: import_smithy_client.expectString,
3060
+ ImprovementPlans: import_smithy_client._json,
3061
+ JiraConfiguration: (_) => de_JiraConfiguration(_, context),
3062
+ PillarId: import_smithy_client.expectString,
3063
+ QuestionId: import_smithy_client.expectString,
3064
+ QuestionTitle: import_smithy_client.expectString,
3065
+ Risk: import_smithy_client.expectString
3066
+ });
3067
+ }, "de_ImprovementSummary");
3068
+ var de_JiraConfiguration = /* @__PURE__ */ __name((output, context) => {
3069
+ return (0, import_smithy_client.take)(output, {
3070
+ JiraIssueUrl: import_smithy_client.expectString,
3071
+ LastSyncedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
3072
+ });
3073
+ }, "de_JiraConfiguration");
2922
3074
  var de_LensReview = /* @__PURE__ */ __name((output, context) => {
2923
3075
  return (0, import_smithy_client.take)(output, {
3076
+ JiraConfiguration: import_smithy_client._json,
2924
3077
  LensAlias: import_smithy_client.expectString,
2925
3078
  LensArn: import_smithy_client.expectString,
2926
3079
  LensName: import_smithy_client.expectString,
@@ -3094,6 +3247,7 @@ var de_Workload = /* @__PURE__ */ __name((output, context) => {
3094
3247
  Industry: import_smithy_client.expectString,
3095
3248
  IndustryType: import_smithy_client.expectString,
3096
3249
  IsReviewOwnerUpdateAcknowledged: import_smithy_client.expectBoolean,
3250
+ JiraConfiguration: import_smithy_client._json,
3097
3251
  Lenses: import_smithy_client._json,
3098
3252
  NonAwsRegions: import_smithy_client._json,
3099
3253
  Notes: import_smithy_client.expectString,
@@ -3569,6 +3723,23 @@ var _GetConsolidatedReportCommand = class _GetConsolidatedReportCommand extends
3569
3723
  __name(_GetConsolidatedReportCommand, "GetConsolidatedReportCommand");
3570
3724
  var GetConsolidatedReportCommand = _GetConsolidatedReportCommand;
3571
3725
 
3726
+ // src/commands/GetGlobalSettingsCommand.ts
3727
+
3728
+
3729
+
3730
+
3731
+ var _GetGlobalSettingsCommand = class _GetGlobalSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
3732
+ ...commonParams
3733
+ }).m(function(Command, cs, config, o) {
3734
+ return [
3735
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3736
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3737
+ ];
3738
+ }).s("WellArchitectedApiServiceLambda", "GetGlobalSettings", {}).n("WellArchitectedClient", "GetGlobalSettingsCommand").f(void 0, void 0).ser(se_GetGlobalSettingsCommand).de(de_GetGlobalSettingsCommand).build() {
3739
+ };
3740
+ __name(_GetGlobalSettingsCommand, "GetGlobalSettingsCommand");
3741
+ var GetGlobalSettingsCommand = _GetGlobalSettingsCommand;
3742
+
3572
3743
  // src/commands/GetLensCommand.ts
3573
3744
 
3574
3745
 
@@ -4164,6 +4335,23 @@ var _UpdateGlobalSettingsCommand = class _UpdateGlobalSettingsCommand extends im
4164
4335
  __name(_UpdateGlobalSettingsCommand, "UpdateGlobalSettingsCommand");
4165
4336
  var UpdateGlobalSettingsCommand = _UpdateGlobalSettingsCommand;
4166
4337
 
4338
+ // src/commands/UpdateIntegrationCommand.ts
4339
+
4340
+
4341
+
4342
+
4343
+ var _UpdateIntegrationCommand = class _UpdateIntegrationCommand extends import_smithy_client.Command.classBuilder().ep({
4344
+ ...commonParams
4345
+ }).m(function(Command, cs, config, o) {
4346
+ return [
4347
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4348
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4349
+ ];
4350
+ }).s("WellArchitectedApiServiceLambda", "UpdateIntegration", {}).n("WellArchitectedClient", "UpdateIntegrationCommand").f(void 0, void 0).ser(se_UpdateIntegrationCommand).de(de_UpdateIntegrationCommand).build() {
4351
+ };
4352
+ __name(_UpdateIntegrationCommand, "UpdateIntegrationCommand");
4353
+ var UpdateIntegrationCommand = _UpdateIntegrationCommand;
4354
+
4167
4355
  // src/commands/UpdateLensReviewCommand.ts
4168
4356
 
4169
4357
 
@@ -4377,6 +4565,7 @@ var commands = {
4377
4565
  ExportLensCommand,
4378
4566
  GetAnswerCommand,
4379
4567
  GetConsolidatedReportCommand,
4568
+ GetGlobalSettingsCommand,
4380
4569
  GetLensCommand,
4381
4570
  GetLensReviewCommand,
4382
4571
  GetLensReviewReportCommand,
@@ -4412,6 +4601,7 @@ var commands = {
4412
4601
  UntagResourceCommand,
4413
4602
  UpdateAnswerCommand,
4414
4603
  UpdateGlobalSettingsCommand,
4604
+ UpdateIntegrationCommand,
4415
4605
  UpdateLensReviewCommand,
4416
4606
  UpdateProfileCommand,
4417
4607
  UpdateReviewTemplateCommand,
@@ -4537,6 +4727,7 @@ var paginateListWorkloads = (0, import_core.createPaginator)(WellArchitectedClie
4537
4727
  ExportLensCommand,
4538
4728
  GetAnswerCommand,
4539
4729
  GetConsolidatedReportCommand,
4730
+ GetGlobalSettingsCommand,
4540
4731
  GetLensCommand,
4541
4732
  GetLensReviewCommand,
4542
4733
  GetLensReviewReportCommand,
@@ -4572,6 +4763,7 @@ var paginateListWorkloads = (0, import_core.createPaginator)(WellArchitectedClie
4572
4763
  UntagResourceCommand,
4573
4764
  UpdateAnswerCommand,
4574
4765
  UpdateGlobalSettingsCommand,
4766
+ UpdateIntegrationCommand,
4575
4767
  UpdateLensReviewCommand,
4576
4768
  UpdateProfileCommand,
4577
4769
  UpdateReviewTemplateAnswerCommand,
@@ -4603,6 +4795,10 @@ var paginateListWorkloads = (0, import_core.createPaginator)(WellArchitectedClie
4603
4795
  paginateListWorkloadShares,
4604
4796
  paginateListWorkloads,
4605
4797
  AccessDeniedException,
4798
+ IntegrationStatusInput,
4799
+ AccountJiraIssueManagementStatus,
4800
+ IssueManagementType,
4801
+ IntegrationStatus,
4606
4802
  CheckStatus,
4607
4803
  AdditionalResourceType,
4608
4804
  ChoiceReason,
@@ -4623,17 +4819,20 @@ var paginateListWorkloads = (0, import_core.createPaginator)(WellArchitectedClie
4623
4819
  TrustedAdvisorIntegrationStatus,
4624
4820
  DefinitionType,
4625
4821
  WorkloadEnvironment,
4822
+ WorkloadIssueManagementStatus,
4626
4823
  PermissionType,
4627
4824
  LensStatusType,
4628
4825
  DifferenceStatus,
4629
4826
  DiscoveryIntegrationStatus,
4630
4827
  ReportFormat,
4828
+ OrganizationSharingStatus,
4631
4829
  LensStatus,
4632
4830
  WorkloadImprovementStatus,
4633
4831
  Question,
4634
4832
  ReviewTemplateUpdateStatus,
4635
4833
  ReviewTemplateAnswerStatus,
4636
4834
  ImportLensStatus,
4835
+ IntegratingService,
4637
4836
  ShareStatus,
4638
4837
  LensType,
4639
4838
  QuestionPriority,
@@ -4641,7 +4840,6 @@ var paginateListWorkloads = (0, import_core.createPaginator)(WellArchitectedClie
4641
4840
  ProfileNotificationType,
4642
4841
  ProfileOwnerType,
4643
4842
  ShareResourceType,
4644
- OrganizationSharingStatus,
4645
4843
  ShareInvitationAction
4646
4844
  });
4647
4845
 
@@ -23,6 +23,7 @@ import { DisassociateProfilesCommand, } from "./commands/DisassociateProfilesCom
23
23
  import { ExportLensCommand } from "./commands/ExportLensCommand";
24
24
  import { GetAnswerCommand } from "./commands/GetAnswerCommand";
25
25
  import { GetConsolidatedReportCommand, } from "./commands/GetConsolidatedReportCommand";
26
+ import { GetGlobalSettingsCommand, } from "./commands/GetGlobalSettingsCommand";
26
27
  import { GetLensCommand } from "./commands/GetLensCommand";
27
28
  import { GetLensReviewCommand, } from "./commands/GetLensReviewCommand";
28
29
  import { GetLensReviewReportCommand, } from "./commands/GetLensReviewReportCommand";
@@ -58,6 +59,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
58
59
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
59
60
  import { UpdateAnswerCommand, } from "./commands/UpdateAnswerCommand";
60
61
  import { UpdateGlobalSettingsCommand, } from "./commands/UpdateGlobalSettingsCommand";
62
+ import { UpdateIntegrationCommand, } from "./commands/UpdateIntegrationCommand";
61
63
  import { UpdateLensReviewCommand, } from "./commands/UpdateLensReviewCommand";
62
64
  import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
63
65
  import { UpdateReviewTemplateAnswerCommand, } from "./commands/UpdateReviewTemplateAnswerCommand";
@@ -95,6 +97,7 @@ const commands = {
95
97
  ExportLensCommand,
96
98
  GetAnswerCommand,
97
99
  GetConsolidatedReportCommand,
100
+ GetGlobalSettingsCommand,
98
101
  GetLensCommand,
99
102
  GetLensReviewCommand,
100
103
  GetLensReviewReportCommand,
@@ -130,6 +133,7 @@ const commands = {
130
133
  UntagResourceCommand,
131
134
  UpdateAnswerCommand,
132
135
  UpdateGlobalSettingsCommand,
136
+ UpdateIntegrationCommand,
133
137
  UpdateLensReviewCommand,
134
138
  UpdateProfileCommand,
135
139
  UpdateReviewTemplateCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetGlobalSettingsCommand, se_GetGlobalSettingsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetGlobalSettingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "GetGlobalSettings", {})
19
+ .n("WellArchitectedClient", "GetGlobalSettingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetGlobalSettingsCommand)
22
+ .de(de_GetGlobalSettingsCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateIntegrationCommand, se_UpdateIntegrationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateIntegrationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("WellArchitectedApiServiceLambda", "UpdateIntegration", {})
19
+ .n("WellArchitectedClient", "UpdateIntegrationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateIntegrationCommand)
22
+ .de(de_UpdateIntegrationCommand)
23
+ .build() {
24
+ }
@@ -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";
@@ -12,6 +12,21 @@ export class AccessDeniedException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
+ export const IntegrationStatusInput = {
16
+ NOT_CONFIGURED: "NOT_CONFIGURED",
17
+ };
18
+ export const AccountJiraIssueManagementStatus = {
19
+ DISABLED: "DISABLED",
20
+ ENABLED: "ENABLED",
21
+ };
22
+ export const IssueManagementType = {
23
+ AUTO: "AUTO",
24
+ MANUAL: "MANUAL",
25
+ };
26
+ export const IntegrationStatus = {
27
+ CONFIGURED: "CONFIGURED",
28
+ NOT_CONFIGURED: "NOT_CONFIGURED",
29
+ };
15
30
  export const CheckStatus = {
16
31
  ERROR: "ERROR",
17
32
  FETCH_FAILED: "FETCH_FAILED",
@@ -173,6 +188,11 @@ export const WorkloadEnvironment = {
173
188
  PREPRODUCTION: "PREPRODUCTION",
174
189
  PRODUCTION: "PRODUCTION",
175
190
  };
191
+ export const WorkloadIssueManagementStatus = {
192
+ DISABLED: "DISABLED",
193
+ ENABLED: "ENABLED",
194
+ INHERIT: "INHERIT",
195
+ };
176
196
  export const PermissionType = {
177
197
  CONTRIBUTOR: "CONTRIBUTOR",
178
198
  READONLY: "READONLY",
@@ -195,6 +215,10 @@ export const ReportFormat = {
195
215
  JSON: "JSON",
196
216
  PDF: "PDF",
197
217
  };
218
+ export const OrganizationSharingStatus = {
219
+ DISABLED: "DISABLED",
220
+ ENABLED: "ENABLED",
221
+ };
198
222
  export const LensStatus = {
199
223
  CURRENT: "CURRENT",
200
224
  DELETED: "DELETED",
@@ -226,6 +250,9 @@ export const ImportLensStatus = {
226
250
  ERROR: "ERROR",
227
251
  IN_PROGRESS: "IN_PROGRESS",
228
252
  };
253
+ export const IntegratingService = {
254
+ JIRA: "JIRA",
255
+ };
229
256
  export const ShareStatus = {
230
257
  ACCEPTED: "ACCEPTED",
231
258
  ASSOCIATED: "ASSOCIATED",
@@ -263,10 +290,6 @@ export const ShareResourceType = {
263
290
  TEMPLATE: "TEMPLATE",
264
291
  WORKLOAD: "WORKLOAD",
265
292
  };
266
- export const OrganizationSharingStatus = {
267
- DISABLED: "DISABLED",
268
- ENABLED: "ENABLED",
269
- };
270
293
  export const ShareInvitationAction = {
271
294
  ACCEPT: "ACCEPT",
272
295
  REJECT: "REJECT",