@aws-sdk/client-wellarchitected 3.202.0 → 3.205.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 (56) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/WellArchitected.js +30 -0
  3. package/dist-cjs/commands/ListCheckDetailsCommand.js +46 -0
  4. package/dist-cjs/commands/ListCheckSummariesCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +55 -3
  7. package/dist-cjs/pagination/ListCheckDetailsPaginator.js +36 -0
  8. package/dist-cjs/pagination/ListCheckSummariesPaginator.js +36 -0
  9. package/dist-cjs/pagination/index.js +2 -0
  10. package/dist-cjs/protocols/Aws_restJson1.js +269 -2
  11. package/dist-cjs/runtimeConfig.browser.js +0 -3
  12. package/dist-cjs/runtimeConfig.js +0 -3
  13. package/dist-cjs/runtimeConfig.shared.js +3 -0
  14. package/dist-es/WellArchitected.js +30 -0
  15. package/dist-es/commands/ListCheckDetailsCommand.js +42 -0
  16. package/dist-es/commands/ListCheckSummariesCommand.js +42 -0
  17. package/dist-es/commands/index.js +2 -0
  18. package/dist-es/models/models_0.js +45 -0
  19. package/dist-es/pagination/ListCheckDetailsPaginator.js +32 -0
  20. package/dist-es/pagination/ListCheckSummariesPaginator.js +32 -0
  21. package/dist-es/pagination/index.js +2 -0
  22. package/dist-es/protocols/Aws_restJson1.js +263 -0
  23. package/dist-es/runtimeConfig.browser.js +0 -3
  24. package/dist-es/runtimeConfig.js +0 -3
  25. package/dist-es/runtimeConfig.shared.js +3 -0
  26. package/dist-types/WellArchitected.d.ts +24 -4
  27. package/dist-types/WellArchitectedClient.d.ts +4 -2
  28. package/dist-types/commands/CreateLensShareCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateWorkloadCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteLensShareCommand.d.ts +2 -1
  31. package/dist-types/commands/ListCheckDetailsCommand.d.ts +37 -0
  32. package/dist-types/commands/ListCheckSummariesCommand.d.ts +37 -0
  33. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +4 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +280 -9
  36. package/dist-types/pagination/ListCheckDetailsPaginator.d.ts +4 -0
  37. package/dist-types/pagination/ListCheckSummariesPaginator.d.ts +4 -0
  38. package/dist-types/pagination/index.d.ts +2 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  40. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  41. package/dist-types/runtimeConfig.d.ts +2 -2
  42. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  43. package/dist-types/ts3.4/WellArchitected.d.ts +34 -0
  44. package/dist-types/ts3.4/WellArchitectedClient.d.ts +12 -0
  45. package/dist-types/ts3.4/commands/ListCheckDetailsCommand.d.ts +37 -0
  46. package/dist-types/ts3.4/commands/ListCheckSummariesCommand.d.ts +38 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +100 -0
  49. package/dist-types/ts3.4/pagination/ListCheckDetailsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/ListCheckSummariesPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  55. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  56. package/package.json +5 -4
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1DeleteWorkloadShareCommand = exports.deserializeAws_restJson1DeleteWorkloadCommand = exports.deserializeAws_restJson1DeleteLensShareCommand = exports.deserializeAws_restJson1DeleteLensCommand = exports.deserializeAws_restJson1CreateWorkloadShareCommand = exports.deserializeAws_restJson1CreateWorkloadCommand = exports.deserializeAws_restJson1CreateMilestoneCommand = exports.deserializeAws_restJson1CreateLensVersionCommand = exports.deserializeAws_restJson1CreateLensShareCommand = exports.deserializeAws_restJson1AssociateLensesCommand = exports.serializeAws_restJson1UpgradeLensReviewCommand = exports.serializeAws_restJson1UpdateWorkloadShareCommand = exports.serializeAws_restJson1UpdateWorkloadCommand = exports.serializeAws_restJson1UpdateShareInvitationCommand = exports.serializeAws_restJson1UpdateLensReviewCommand = exports.serializeAws_restJson1UpdateGlobalSettingsCommand = exports.serializeAws_restJson1UpdateAnswerCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListWorkloadSharesCommand = exports.serializeAws_restJson1ListWorkloadsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListShareInvitationsCommand = exports.serializeAws_restJson1ListNotificationsCommand = exports.serializeAws_restJson1ListMilestonesCommand = exports.serializeAws_restJson1ListLensSharesCommand = exports.serializeAws_restJson1ListLensReviewsCommand = exports.serializeAws_restJson1ListLensReviewImprovementsCommand = exports.serializeAws_restJson1ListLensesCommand = exports.serializeAws_restJson1ListAnswersCommand = exports.serializeAws_restJson1ImportLensCommand = exports.serializeAws_restJson1GetWorkloadCommand = exports.serializeAws_restJson1GetMilestoneCommand = exports.serializeAws_restJson1GetLensVersionDifferenceCommand = exports.serializeAws_restJson1GetLensReviewReportCommand = exports.serializeAws_restJson1GetLensReviewCommand = exports.serializeAws_restJson1GetLensCommand = exports.serializeAws_restJson1GetAnswerCommand = exports.serializeAws_restJson1ExportLensCommand = exports.serializeAws_restJson1DisassociateLensesCommand = exports.serializeAws_restJson1DeleteWorkloadShareCommand = exports.serializeAws_restJson1DeleteWorkloadCommand = exports.serializeAws_restJson1DeleteLensShareCommand = exports.serializeAws_restJson1DeleteLensCommand = exports.serializeAws_restJson1CreateWorkloadShareCommand = exports.serializeAws_restJson1CreateWorkloadCommand = exports.serializeAws_restJson1CreateMilestoneCommand = exports.serializeAws_restJson1CreateLensVersionCommand = exports.serializeAws_restJson1CreateLensShareCommand = exports.serializeAws_restJson1AssociateLensesCommand = void 0;
4
- exports.deserializeAws_restJson1UpgradeLensReviewCommand = exports.deserializeAws_restJson1UpdateWorkloadShareCommand = exports.deserializeAws_restJson1UpdateWorkloadCommand = exports.deserializeAws_restJson1UpdateShareInvitationCommand = exports.deserializeAws_restJson1UpdateLensReviewCommand = exports.deserializeAws_restJson1UpdateGlobalSettingsCommand = exports.deserializeAws_restJson1UpdateAnswerCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListWorkloadSharesCommand = exports.deserializeAws_restJson1ListWorkloadsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListShareInvitationsCommand = exports.deserializeAws_restJson1ListNotificationsCommand = exports.deserializeAws_restJson1ListMilestonesCommand = exports.deserializeAws_restJson1ListLensSharesCommand = exports.deserializeAws_restJson1ListLensReviewsCommand = exports.deserializeAws_restJson1ListLensReviewImprovementsCommand = exports.deserializeAws_restJson1ListLensesCommand = exports.deserializeAws_restJson1ListAnswersCommand = exports.deserializeAws_restJson1ImportLensCommand = exports.deserializeAws_restJson1GetWorkloadCommand = exports.deserializeAws_restJson1GetMilestoneCommand = exports.deserializeAws_restJson1GetLensVersionDifferenceCommand = exports.deserializeAws_restJson1GetLensReviewReportCommand = exports.deserializeAws_restJson1GetLensReviewCommand = exports.deserializeAws_restJson1GetLensCommand = exports.deserializeAws_restJson1GetAnswerCommand = exports.deserializeAws_restJson1ExportLensCommand = exports.deserializeAws_restJson1DisassociateLensesCommand = void 0;
3
+ exports.deserializeAws_restJson1DeleteLensShareCommand = exports.deserializeAws_restJson1DeleteLensCommand = exports.deserializeAws_restJson1CreateWorkloadShareCommand = exports.deserializeAws_restJson1CreateWorkloadCommand = exports.deserializeAws_restJson1CreateMilestoneCommand = exports.deserializeAws_restJson1CreateLensVersionCommand = exports.deserializeAws_restJson1CreateLensShareCommand = exports.deserializeAws_restJson1AssociateLensesCommand = exports.serializeAws_restJson1UpgradeLensReviewCommand = exports.serializeAws_restJson1UpdateWorkloadShareCommand = exports.serializeAws_restJson1UpdateWorkloadCommand = exports.serializeAws_restJson1UpdateShareInvitationCommand = exports.serializeAws_restJson1UpdateLensReviewCommand = exports.serializeAws_restJson1UpdateGlobalSettingsCommand = exports.serializeAws_restJson1UpdateAnswerCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1ListWorkloadSharesCommand = exports.serializeAws_restJson1ListWorkloadsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListShareInvitationsCommand = exports.serializeAws_restJson1ListNotificationsCommand = exports.serializeAws_restJson1ListMilestonesCommand = exports.serializeAws_restJson1ListLensSharesCommand = exports.serializeAws_restJson1ListLensReviewsCommand = exports.serializeAws_restJson1ListLensReviewImprovementsCommand = exports.serializeAws_restJson1ListLensesCommand = exports.serializeAws_restJson1ListCheckSummariesCommand = exports.serializeAws_restJson1ListCheckDetailsCommand = exports.serializeAws_restJson1ListAnswersCommand = exports.serializeAws_restJson1ImportLensCommand = exports.serializeAws_restJson1GetWorkloadCommand = exports.serializeAws_restJson1GetMilestoneCommand = exports.serializeAws_restJson1GetLensVersionDifferenceCommand = exports.serializeAws_restJson1GetLensReviewReportCommand = exports.serializeAws_restJson1GetLensReviewCommand = exports.serializeAws_restJson1GetLensCommand = exports.serializeAws_restJson1GetAnswerCommand = exports.serializeAws_restJson1ExportLensCommand = exports.serializeAws_restJson1DisassociateLensesCommand = exports.serializeAws_restJson1DeleteWorkloadShareCommand = exports.serializeAws_restJson1DeleteWorkloadCommand = exports.serializeAws_restJson1DeleteLensShareCommand = exports.serializeAws_restJson1DeleteLensCommand = exports.serializeAws_restJson1CreateWorkloadShareCommand = exports.serializeAws_restJson1CreateWorkloadCommand = exports.serializeAws_restJson1CreateMilestoneCommand = exports.serializeAws_restJson1CreateLensVersionCommand = exports.serializeAws_restJson1CreateLensShareCommand = exports.serializeAws_restJson1AssociateLensesCommand = void 0;
4
+ exports.deserializeAws_restJson1UpgradeLensReviewCommand = exports.deserializeAws_restJson1UpdateWorkloadShareCommand = exports.deserializeAws_restJson1UpdateWorkloadCommand = exports.deserializeAws_restJson1UpdateShareInvitationCommand = exports.deserializeAws_restJson1UpdateLensReviewCommand = exports.deserializeAws_restJson1UpdateGlobalSettingsCommand = exports.deserializeAws_restJson1UpdateAnswerCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1ListWorkloadSharesCommand = exports.deserializeAws_restJson1ListWorkloadsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListShareInvitationsCommand = exports.deserializeAws_restJson1ListNotificationsCommand = exports.deserializeAws_restJson1ListMilestonesCommand = exports.deserializeAws_restJson1ListLensSharesCommand = exports.deserializeAws_restJson1ListLensReviewsCommand = exports.deserializeAws_restJson1ListLensReviewImprovementsCommand = exports.deserializeAws_restJson1ListLensesCommand = exports.deserializeAws_restJson1ListCheckSummariesCommand = exports.deserializeAws_restJson1ListCheckDetailsCommand = exports.deserializeAws_restJson1ListAnswersCommand = exports.deserializeAws_restJson1ImportLensCommand = exports.deserializeAws_restJson1GetWorkloadCommand = exports.deserializeAws_restJson1GetMilestoneCommand = exports.deserializeAws_restJson1GetLensVersionDifferenceCommand = exports.deserializeAws_restJson1GetLensReviewReportCommand = exports.deserializeAws_restJson1GetLensReviewCommand = exports.deserializeAws_restJson1GetLensCommand = exports.deserializeAws_restJson1GetAnswerCommand = exports.deserializeAws_restJson1ExportLensCommand = exports.deserializeAws_restJson1DisassociateLensesCommand = exports.deserializeAws_restJson1DeleteWorkloadShareCommand = exports.deserializeAws_restJson1DeleteWorkloadCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
@@ -110,12 +110,18 @@ const serializeAws_restJson1CreateWorkloadCommand = async (input, context) => {
110
110
  ...(input.AccountIds != null && {
111
111
  AccountIds: serializeAws_restJson1WorkloadAccountIds(input.AccountIds, context),
112
112
  }),
113
+ ...(input.Applications != null && {
114
+ Applications: serializeAws_restJson1WorkloadApplications(input.Applications, context),
115
+ }),
113
116
  ...(input.ArchitecturalDesign != null && { ArchitecturalDesign: input.ArchitecturalDesign }),
114
117
  ...(input.AwsRegions != null && {
115
118
  AwsRegions: serializeAws_restJson1WorkloadAwsRegions(input.AwsRegions, context),
116
119
  }),
117
120
  ClientRequestToken: input.ClientRequestToken ?? (0, uuid_1.v4)(),
118
121
  ...(input.Description != null && { Description: input.Description }),
122
+ ...(input.DiscoveryConfig != null && {
123
+ DiscoveryConfig: serializeAws_restJson1WorkloadDiscoveryConfig(input.DiscoveryConfig, context),
124
+ }),
119
125
  ...(input.Environment != null && { Environment: input.Environment }),
120
126
  ...(input.Industry != null && { Industry: input.Industry }),
121
127
  ...(input.IndustryType != null && { IndustryType: input.IndustryType }),
@@ -496,6 +502,60 @@ const serializeAws_restJson1ListAnswersCommand = async (input, context) => {
496
502
  });
497
503
  };
498
504
  exports.serializeAws_restJson1ListAnswersCommand = serializeAws_restJson1ListAnswersCommand;
505
+ const serializeAws_restJson1ListCheckDetailsCommand = async (input, context) => {
506
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
507
+ const headers = {
508
+ "content-type": "application/json",
509
+ };
510
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workloads/{WorkloadId}/checks";
511
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
512
+ let body;
513
+ body = JSON.stringify({
514
+ ...(input.ChoiceId != null && { ChoiceId: input.ChoiceId }),
515
+ ...(input.LensArn != null && { LensArn: input.LensArn }),
516
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
517
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
518
+ ...(input.PillarId != null && { PillarId: input.PillarId }),
519
+ ...(input.QuestionId != null && { QuestionId: input.QuestionId }),
520
+ });
521
+ return new protocol_http_1.HttpRequest({
522
+ protocol,
523
+ hostname,
524
+ port,
525
+ method: "POST",
526
+ headers,
527
+ path: resolvedPath,
528
+ body,
529
+ });
530
+ };
531
+ exports.serializeAws_restJson1ListCheckDetailsCommand = serializeAws_restJson1ListCheckDetailsCommand;
532
+ const serializeAws_restJson1ListCheckSummariesCommand = async (input, context) => {
533
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
534
+ const headers = {
535
+ "content-type": "application/json",
536
+ };
537
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/workloads/{WorkloadId}/checkSummaries";
538
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkloadId", () => input.WorkloadId, "{WorkloadId}", false);
539
+ let body;
540
+ body = JSON.stringify({
541
+ ...(input.ChoiceId != null && { ChoiceId: input.ChoiceId }),
542
+ ...(input.LensArn != null && { LensArn: input.LensArn }),
543
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
544
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
545
+ ...(input.PillarId != null && { PillarId: input.PillarId }),
546
+ ...(input.QuestionId != null && { QuestionId: input.QuestionId }),
547
+ });
548
+ return new protocol_http_1.HttpRequest({
549
+ protocol,
550
+ hostname,
551
+ port,
552
+ method: "POST",
553
+ headers,
554
+ path: resolvedPath,
555
+ body,
556
+ });
557
+ };
558
+ exports.serializeAws_restJson1ListCheckSummariesCommand = serializeAws_restJson1ListCheckSummariesCommand;
499
559
  const serializeAws_restJson1ListLensesCommand = async (input, context) => {
500
560
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
501
561
  const headers = {};
@@ -884,11 +944,17 @@ const serializeAws_restJson1UpdateWorkloadCommand = async (input, context) => {
884
944
  ...(input.AccountIds != null && {
885
945
  AccountIds: serializeAws_restJson1WorkloadAccountIds(input.AccountIds, context),
886
946
  }),
947
+ ...(input.Applications != null && {
948
+ Applications: serializeAws_restJson1WorkloadApplications(input.Applications, context),
949
+ }),
887
950
  ...(input.ArchitecturalDesign != null && { ArchitecturalDesign: input.ArchitecturalDesign }),
888
951
  ...(input.AwsRegions != null && {
889
952
  AwsRegions: serializeAws_restJson1WorkloadAwsRegions(input.AwsRegions, context),
890
953
  }),
891
954
  ...(input.Description != null && { Description: input.Description }),
955
+ ...(input.DiscoveryConfig != null && {
956
+ DiscoveryConfig: serializeAws_restJson1WorkloadDiscoveryConfig(input.DiscoveryConfig, context),
957
+ }),
892
958
  ...(input.Environment != null && { Environment: input.Environment }),
893
959
  ...(input.ImprovementStatus != null && { ImprovementStatus: input.ImprovementStatus }),
894
960
  ...(input.Industry != null && { Industry: input.Industry }),
@@ -2036,6 +2102,104 @@ const deserializeAws_restJson1ListAnswersCommandError = async (output, context)
2036
2102
  });
2037
2103
  }
2038
2104
  };
2105
+ const deserializeAws_restJson1ListCheckDetailsCommand = async (output, context) => {
2106
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2107
+ return deserializeAws_restJson1ListCheckDetailsCommandError(output, context);
2108
+ }
2109
+ const contents = map({
2110
+ $metadata: deserializeMetadata(output),
2111
+ });
2112
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2113
+ if (data.CheckDetails != null) {
2114
+ contents.CheckDetails = deserializeAws_restJson1CheckDetails(data.CheckDetails, context);
2115
+ }
2116
+ if (data.NextToken != null) {
2117
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2118
+ }
2119
+ return contents;
2120
+ };
2121
+ exports.deserializeAws_restJson1ListCheckDetailsCommand = deserializeAws_restJson1ListCheckDetailsCommand;
2122
+ const deserializeAws_restJson1ListCheckDetailsCommandError = async (output, context) => {
2123
+ const parsedOutput = {
2124
+ ...output,
2125
+ body: await parseErrorBody(output.body, context),
2126
+ };
2127
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2128
+ switch (errorCode) {
2129
+ case "AccessDeniedException":
2130
+ case "com.amazonaws.wellarchitected#AccessDeniedException":
2131
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2132
+ case "InternalServerException":
2133
+ case "com.amazonaws.wellarchitected#InternalServerException":
2134
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2135
+ case "ResourceNotFoundException":
2136
+ case "com.amazonaws.wellarchitected#ResourceNotFoundException":
2137
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2138
+ case "ThrottlingException":
2139
+ case "com.amazonaws.wellarchitected#ThrottlingException":
2140
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2141
+ case "ValidationException":
2142
+ case "com.amazonaws.wellarchitected#ValidationException":
2143
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2144
+ default:
2145
+ const parsedBody = parsedOutput.body;
2146
+ (0, smithy_client_1.throwDefaultError)({
2147
+ output,
2148
+ parsedBody,
2149
+ exceptionCtor: WellArchitectedServiceException_1.WellArchitectedServiceException,
2150
+ errorCode,
2151
+ });
2152
+ }
2153
+ };
2154
+ const deserializeAws_restJson1ListCheckSummariesCommand = async (output, context) => {
2155
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2156
+ return deserializeAws_restJson1ListCheckSummariesCommandError(output, context);
2157
+ }
2158
+ const contents = map({
2159
+ $metadata: deserializeMetadata(output),
2160
+ });
2161
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2162
+ if (data.CheckSummaries != null) {
2163
+ contents.CheckSummaries = deserializeAws_restJson1CheckSummaries(data.CheckSummaries, context);
2164
+ }
2165
+ if (data.NextToken != null) {
2166
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2167
+ }
2168
+ return contents;
2169
+ };
2170
+ exports.deserializeAws_restJson1ListCheckSummariesCommand = deserializeAws_restJson1ListCheckSummariesCommand;
2171
+ const deserializeAws_restJson1ListCheckSummariesCommandError = async (output, context) => {
2172
+ const parsedOutput = {
2173
+ ...output,
2174
+ body: await parseErrorBody(output.body, context),
2175
+ };
2176
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2177
+ switch (errorCode) {
2178
+ case "AccessDeniedException":
2179
+ case "com.amazonaws.wellarchitected#AccessDeniedException":
2180
+ throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2181
+ case "InternalServerException":
2182
+ case "com.amazonaws.wellarchitected#InternalServerException":
2183
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2184
+ case "ResourceNotFoundException":
2185
+ case "com.amazonaws.wellarchitected#ResourceNotFoundException":
2186
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2187
+ case "ThrottlingException":
2188
+ case "com.amazonaws.wellarchitected#ThrottlingException":
2189
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
2190
+ case "ValidationException":
2191
+ case "com.amazonaws.wellarchitected#ValidationException":
2192
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2193
+ default:
2194
+ const parsedBody = parsedOutput.body;
2195
+ (0, smithy_client_1.throwDefaultError)({
2196
+ output,
2197
+ parsedBody,
2198
+ exceptionCtor: WellArchitectedServiceException_1.WellArchitectedServiceException,
2199
+ errorCode,
2200
+ });
2201
+ }
2202
+ };
2039
2203
  const deserializeAws_restJson1ListLensesCommand = async (output, context) => {
2040
2204
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2041
2205
  return deserializeAws_restJson1ListLensesCommandError(output, context);
@@ -3125,6 +3289,13 @@ const serializeAws_restJson1WorkloadAccountIds = (input, context) => {
3125
3289
  return entry;
3126
3290
  });
3127
3291
  };
3292
+ const serializeAws_restJson1WorkloadApplications = (input, context) => {
3293
+ return input
3294
+ .filter((e) => e != null)
3295
+ .map((entry) => {
3296
+ return entry;
3297
+ });
3298
+ };
3128
3299
  const serializeAws_restJson1WorkloadAwsRegions = (input, context) => {
3129
3300
  return input
3130
3301
  .filter((e) => e != null)
@@ -3132,6 +3303,13 @@ const serializeAws_restJson1WorkloadAwsRegions = (input, context) => {
3132
3303
  return entry;
3133
3304
  });
3134
3305
  };
3306
+ const serializeAws_restJson1WorkloadDiscoveryConfig = (input, context) => {
3307
+ return {
3308
+ ...(input.TrustedAdvisorIntegrationStatus != null && {
3309
+ TrustedAdvisorIntegrationStatus: input.TrustedAdvisorIntegrationStatus,
3310
+ }),
3311
+ };
3312
+ };
3135
3313
  const serializeAws_restJson1WorkloadLenses = (input, context) => {
3136
3314
  return input
3137
3315
  .filter((e) => e != null)
@@ -3153,6 +3331,17 @@ const serializeAws_restJson1WorkloadPillarPriorities = (input, context) => {
3153
3331
  return entry;
3154
3332
  });
3155
3333
  };
3334
+ const deserializeAws_restJson1AccountSummary = (output, context) => {
3335
+ return Object.entries(output).reduce((acc, [key, value]) => {
3336
+ if (value === null) {
3337
+ return acc;
3338
+ }
3339
+ return {
3340
+ ...acc,
3341
+ [key]: (0, smithy_client_1.expectInt32)(value),
3342
+ };
3343
+ }, {});
3344
+ };
3156
3345
  const deserializeAws_restJson1AdditionalResources = (output, context) => {
3157
3346
  return {
3158
3347
  Content: output.Content != null ? deserializeAws_restJson1Urls(output.Content, context) : undefined,
@@ -3218,6 +3407,62 @@ const deserializeAws_restJson1AnswerSummary = (output, context) => {
3218
3407
  : undefined,
3219
3408
  };
3220
3409
  };
3410
+ const deserializeAws_restJson1CheckDetail = (output, context) => {
3411
+ return {
3412
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
3413
+ ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
3414
+ Description: (0, smithy_client_1.expectString)(output.Description),
3415
+ FlaggedResources: (0, smithy_client_1.expectInt32)(output.FlaggedResources),
3416
+ Id: (0, smithy_client_1.expectString)(output.Id),
3417
+ LensArn: (0, smithy_client_1.expectString)(output.LensArn),
3418
+ Name: (0, smithy_client_1.expectString)(output.Name),
3419
+ PillarId: (0, smithy_client_1.expectString)(output.PillarId),
3420
+ Provider: (0, smithy_client_1.expectString)(output.Provider),
3421
+ QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
3422
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
3423
+ Status: (0, smithy_client_1.expectString)(output.Status),
3424
+ UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
3425
+ };
3426
+ };
3427
+ const deserializeAws_restJson1CheckDetails = (output, context) => {
3428
+ const retVal = (output || [])
3429
+ .filter((e) => e != null)
3430
+ .map((entry) => {
3431
+ if (entry === null) {
3432
+ return null;
3433
+ }
3434
+ return deserializeAws_restJson1CheckDetail(entry, context);
3435
+ });
3436
+ return retVal;
3437
+ };
3438
+ const deserializeAws_restJson1CheckSummaries = (output, context) => {
3439
+ const retVal = (output || [])
3440
+ .filter((e) => e != null)
3441
+ .map((entry) => {
3442
+ if (entry === null) {
3443
+ return null;
3444
+ }
3445
+ return deserializeAws_restJson1CheckSummary(entry, context);
3446
+ });
3447
+ return retVal;
3448
+ };
3449
+ const deserializeAws_restJson1CheckSummary = (output, context) => {
3450
+ return {
3451
+ AccountSummary: output.AccountSummary != null
3452
+ ? deserializeAws_restJson1AccountSummary(output.AccountSummary, context)
3453
+ : undefined,
3454
+ ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
3455
+ Description: (0, smithy_client_1.expectString)(output.Description),
3456
+ Id: (0, smithy_client_1.expectString)(output.Id),
3457
+ LensArn: (0, smithy_client_1.expectString)(output.LensArn),
3458
+ Name: (0, smithy_client_1.expectString)(output.Name),
3459
+ PillarId: (0, smithy_client_1.expectString)(output.PillarId),
3460
+ Provider: (0, smithy_client_1.expectString)(output.Provider),
3461
+ QuestionId: (0, smithy_client_1.expectString)(output.QuestionId),
3462
+ Status: (0, smithy_client_1.expectString)(output.Status),
3463
+ UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
3464
+ };
3465
+ };
3221
3466
  const deserializeAws_restJson1Choice = (output, context) => {
3222
3467
  return {
3223
3468
  AdditionalResources: output.AdditionalResources != null
@@ -3649,9 +3894,15 @@ const deserializeAws_restJson1VersionDifferences = (output, context) => {
3649
3894
  const deserializeAws_restJson1Workload = (output, context) => {
3650
3895
  return {
3651
3896
  AccountIds: output.AccountIds != null ? deserializeAws_restJson1WorkloadAccountIds(output.AccountIds, context) : undefined,
3897
+ Applications: output.Applications != null
3898
+ ? deserializeAws_restJson1WorkloadApplications(output.Applications, context)
3899
+ : undefined,
3652
3900
  ArchitecturalDesign: (0, smithy_client_1.expectString)(output.ArchitecturalDesign),
3653
3901
  AwsRegions: output.AwsRegions != null ? deserializeAws_restJson1WorkloadAwsRegions(output.AwsRegions, context) : undefined,
3654
3902
  Description: (0, smithy_client_1.expectString)(output.Description),
3903
+ DiscoveryConfig: output.DiscoveryConfig != null
3904
+ ? deserializeAws_restJson1WorkloadDiscoveryConfig(output.DiscoveryConfig, context)
3905
+ : undefined,
3655
3906
  Environment: (0, smithy_client_1.expectString)(output.Environment),
3656
3907
  ImprovementStatus: (0, smithy_client_1.expectString)(output.ImprovementStatus),
3657
3908
  Industry: (0, smithy_client_1.expectString)(output.Industry),
@@ -3690,6 +3941,17 @@ const deserializeAws_restJson1WorkloadAccountIds = (output, context) => {
3690
3941
  });
3691
3942
  return retVal;
3692
3943
  };
3944
+ const deserializeAws_restJson1WorkloadApplications = (output, context) => {
3945
+ const retVal = (output || [])
3946
+ .filter((e) => e != null)
3947
+ .map((entry) => {
3948
+ if (entry === null) {
3949
+ return null;
3950
+ }
3951
+ return (0, smithy_client_1.expectString)(entry);
3952
+ });
3953
+ return retVal;
3954
+ };
3693
3955
  const deserializeAws_restJson1WorkloadAwsRegions = (output, context) => {
3694
3956
  const retVal = (output || [])
3695
3957
  .filter((e) => e != null)
@@ -3701,6 +3963,11 @@ const deserializeAws_restJson1WorkloadAwsRegions = (output, context) => {
3701
3963
  });
3702
3964
  return retVal;
3703
3965
  };
3966
+ const deserializeAws_restJson1WorkloadDiscoveryConfig = (output, context) => {
3967
+ return {
3968
+ TrustedAdvisorIntegrationStatus: (0, smithy_client_1.expectString)(output.TrustedAdvisorIntegrationStatus),
3969
+ };
3970
+ };
3704
3971
  const deserializeAws_restJson1WorkloadLenses = (output, context) => {
3705
3972
  const retVal = (output || [])
3706
3973
  .filter((e) => e != null)
@@ -8,7 +8,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
9
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
10
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
- const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
12
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
@@ -24,8 +23,6 @@ const getRuntimeConfig = (config) => {
24
23
  ...config,
25
24
  runtime: "browser",
26
25
  defaultsMode,
27
- base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
28
- base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
29
26
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
30
27
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
31
28
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -10,7 +10,6 @@ const hash_node_1 = require("@aws-sdk/hash-node");
10
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
11
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
12
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
13
- const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
13
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
14
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
15
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
@@ -28,8 +27,6 @@ const getRuntimeConfig = (config) => {
28
27
  ...config,
29
28
  runtime: "node",
30
29
  defaultsMode,
31
- base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
32
- base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
33
30
  bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
34
31
  credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
35
32
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
@@ -2,9 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const util_base64_1 = require("@aws-sdk/util-base64");
5
6
  const endpointResolver_1 = require("./endpoint/endpointResolver");
6
7
  const getRuntimeConfig = (config) => ({
7
8
  apiVersion: "2020-03-31",
9
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
10
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
8
11
  disableHostPrefix: config?.disableHostPrefix ?? false,
9
12
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
10
13
  logger: config?.logger ?? {},
@@ -19,6 +19,8 @@ import { GetMilestoneCommand, } from "./commands/GetMilestoneCommand";
19
19
  import { GetWorkloadCommand } from "./commands/GetWorkloadCommand";
20
20
  import { ImportLensCommand } from "./commands/ImportLensCommand";
21
21
  import { ListAnswersCommand } from "./commands/ListAnswersCommand";
22
+ import { ListCheckDetailsCommand, } from "./commands/ListCheckDetailsCommand";
23
+ import { ListCheckSummariesCommand, } from "./commands/ListCheckSummariesCommand";
22
24
  import { ListLensesCommand } from "./commands/ListLensesCommand";
23
25
  import { ListLensReviewImprovementsCommand, } from "./commands/ListLensReviewImprovementsCommand";
24
26
  import { ListLensReviewsCommand, } from "./commands/ListLensReviewsCommand";
@@ -334,6 +336,34 @@ export class WellArchitected extends WellArchitectedClient {
334
336
  return this.send(command, optionsOrCb);
335
337
  }
336
338
  }
339
+ listCheckDetails(args, optionsOrCb, cb) {
340
+ const command = new ListCheckDetailsCommand(args);
341
+ if (typeof optionsOrCb === "function") {
342
+ this.send(command, optionsOrCb);
343
+ }
344
+ else if (typeof cb === "function") {
345
+ if (typeof optionsOrCb !== "object")
346
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
347
+ this.send(command, optionsOrCb || {}, cb);
348
+ }
349
+ else {
350
+ return this.send(command, optionsOrCb);
351
+ }
352
+ }
353
+ listCheckSummaries(args, optionsOrCb, cb) {
354
+ const command = new ListCheckSummariesCommand(args);
355
+ if (typeof optionsOrCb === "function") {
356
+ this.send(command, optionsOrCb);
357
+ }
358
+ else if (typeof cb === "function") {
359
+ if (typeof optionsOrCb !== "object")
360
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
361
+ this.send(command, optionsOrCb || {}, cb);
362
+ }
363
+ else {
364
+ return this.send(command, optionsOrCb);
365
+ }
366
+ }
337
367
  listLenses(args, optionsOrCb, cb) {
338
368
  const command = new ListLensesCommand(args);
339
369
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCheckDetailsInputFilterSensitiveLog, ListCheckDetailsOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListCheckDetailsCommand, serializeAws_restJson1ListCheckDetailsCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListCheckDetailsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListCheckDetailsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WellArchitectedClient";
25
+ const commandName = "ListCheckDetailsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListCheckDetailsInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListCheckDetailsOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListCheckDetailsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListCheckDetailsCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCheckSummariesInputFilterSensitiveLog, ListCheckSummariesOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListCheckSummariesCommand, serializeAws_restJson1ListCheckSummariesCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListCheckSummariesCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListCheckSummariesCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "WellArchitectedClient";
25
+ const commandName = "ListCheckSummariesCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListCheckSummariesInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListCheckSummariesOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListCheckSummariesCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListCheckSummariesCommand(output, context);
41
+ }
42
+ }
@@ -19,6 +19,8 @@ export * from "./GetMilestoneCommand";
19
19
  export * from "./GetWorkloadCommand";
20
20
  export * from "./ImportLensCommand";
21
21
  export * from "./ListAnswersCommand";
22
+ export * from "./ListCheckDetailsCommand";
23
+ export * from "./ListCheckSummariesCommand";
22
24
  export * from "./ListLensReviewImprovementsCommand";
23
25
  export * from "./ListLensReviewsCommand";
24
26
  export * from "./ListLensSharesCommand";
@@ -12,6 +12,14 @@ export class AccessDeniedException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
+ export var CheckStatus;
16
+ (function (CheckStatus) {
17
+ CheckStatus["ERROR"] = "ERROR";
18
+ CheckStatus["FETCH_FAILED"] = "FETCH_FAILED";
19
+ CheckStatus["NOT_AVAILABLE"] = "NOT_AVAILABLE";
20
+ CheckStatus["OKAY"] = "OKAY";
21
+ CheckStatus["WARNING"] = "WARNING";
22
+ })(CheckStatus || (CheckStatus = {}));
15
23
  export var AdditionalResourceType;
16
24
  (function (AdditionalResourceType) {
17
25
  AdditionalResourceType["HELPFUL_RESOURCE"] = "HELPFUL_RESOURCE";
@@ -127,6 +135,17 @@ export class ValidationException extends __BaseException {
127
135
  this.Fields = opts.Fields;
128
136
  }
129
137
  }
138
+ export var CheckProvider;
139
+ (function (CheckProvider) {
140
+ CheckProvider["TRUSTED_ADVISOR"] = "TRUSTED_ADVISOR";
141
+ })(CheckProvider || (CheckProvider = {}));
142
+ export var CheckFailureReason;
143
+ (function (CheckFailureReason) {
144
+ CheckFailureReason["ACCESS_DENIED"] = "ACCESS_DENIED";
145
+ CheckFailureReason["ASSUME_ROLE_ERROR"] = "ASSUME_ROLE_ERROR";
146
+ CheckFailureReason["PREMIUM_SUPPORT_REQUIRED"] = "PREMIUM_SUPPORT_REQUIRED";
147
+ CheckFailureReason["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
148
+ })(CheckFailureReason || (CheckFailureReason = {}));
130
149
  export class ServiceQuotaExceededException extends __BaseException {
131
150
  constructor(opts) {
132
151
  super({
@@ -144,6 +163,11 @@ export class ServiceQuotaExceededException extends __BaseException {
144
163
  this.ServiceCode = opts.ServiceCode;
145
164
  }
146
165
  }
166
+ export var TrustedAdvisorIntegrationStatus;
167
+ (function (TrustedAdvisorIntegrationStatus) {
168
+ TrustedAdvisorIntegrationStatus["DISABLED"] = "DISABLED";
169
+ TrustedAdvisorIntegrationStatus["ENABLED"] = "ENABLED";
170
+ })(TrustedAdvisorIntegrationStatus || (TrustedAdvisorIntegrationStatus = {}));
147
171
  export var WorkloadEnvironment;
148
172
  (function (WorkloadEnvironment) {
149
173
  WorkloadEnvironment["PREPRODUCTION"] = "PREPRODUCTION";
@@ -252,6 +276,12 @@ export const AssociateLensesInputFilterSensitiveLog = (obj) => ({
252
276
  export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
253
277
  ...obj,
254
278
  });
279
+ export const CheckDetailFilterSensitiveLog = (obj) => ({
280
+ ...obj,
281
+ });
282
+ export const CheckSummaryFilterSensitiveLog = (obj) => ({
283
+ ...obj,
284
+ });
255
285
  export const ChoiceImprovementPlanFilterSensitiveLog = (obj) => ({
256
286
  ...obj,
257
287
  });
@@ -276,6 +306,9 @@ export const CreateMilestoneInputFilterSensitiveLog = (obj) => ({
276
306
  export const CreateMilestoneOutputFilterSensitiveLog = (obj) => ({
277
307
  ...obj,
278
308
  });
309
+ export const WorkloadDiscoveryConfigFilterSensitiveLog = (obj) => ({
310
+ ...obj,
311
+ });
279
312
  export const CreateWorkloadInputFilterSensitiveLog = (obj) => ({
280
313
  ...obj,
281
314
  });
@@ -405,6 +438,18 @@ export const ListAnswersInputFilterSensitiveLog = (obj) => ({
405
438
  export const ListAnswersOutputFilterSensitiveLog = (obj) => ({
406
439
  ...obj,
407
440
  });
441
+ export const ListCheckDetailsInputFilterSensitiveLog = (obj) => ({
442
+ ...obj,
443
+ });
444
+ export const ListCheckDetailsOutputFilterSensitiveLog = (obj) => ({
445
+ ...obj,
446
+ });
447
+ export const ListCheckSummariesInputFilterSensitiveLog = (obj) => ({
448
+ ...obj,
449
+ });
450
+ export const ListCheckSummariesOutputFilterSensitiveLog = (obj) => ({
451
+ ...obj,
452
+ });
408
453
  export const ListLensesInputFilterSensitiveLog = (obj) => ({
409
454
  ...obj,
410
455
  });