@aws-sdk/client-accessanalyzer 3.128.0 → 3.137.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 (64) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/commands/ApplyArchiveRuleCommand.js +1 -1
  3. package/dist-cjs/commands/CancelPolicyGenerationCommand.js +2 -2
  4. package/dist-cjs/commands/CreateAccessPreviewCommand.js +2 -2
  5. package/dist-cjs/commands/CreateAnalyzerCommand.js +2 -2
  6. package/dist-cjs/commands/CreateArchiveRuleCommand.js +1 -1
  7. package/dist-cjs/commands/DeleteAnalyzerCommand.js +1 -1
  8. package/dist-cjs/commands/DeleteArchiveRuleCommand.js +1 -1
  9. package/dist-cjs/commands/GetAccessPreviewCommand.js +2 -2
  10. package/dist-cjs/commands/GetAnalyzedResourceCommand.js +2 -2
  11. package/dist-cjs/commands/GetAnalyzerCommand.js +2 -2
  12. package/dist-cjs/commands/GetArchiveRuleCommand.js +2 -2
  13. package/dist-cjs/commands/GetFindingCommand.js +2 -2
  14. package/dist-cjs/commands/GetGeneratedPolicyCommand.js +2 -2
  15. package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +2 -2
  16. package/dist-cjs/commands/ListAccessPreviewsCommand.js +2 -2
  17. package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +2 -2
  18. package/dist-cjs/commands/ListAnalyzersCommand.js +2 -2
  19. package/dist-cjs/commands/ListArchiveRulesCommand.js +2 -2
  20. package/dist-cjs/commands/ListFindingsCommand.js +2 -2
  21. package/dist-cjs/commands/ListPolicyGenerationsCommand.js +2 -2
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  23. package/dist-cjs/commands/StartPolicyGenerationCommand.js +2 -2
  24. package/dist-cjs/commands/StartResourceScanCommand.js +1 -1
  25. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  26. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  27. package/dist-cjs/commands/UpdateArchiveRuleCommand.js +1 -1
  28. package/dist-cjs/commands/UpdateFindingsCommand.js +1 -1
  29. package/dist-cjs/commands/ValidatePolicyCommand.js +2 -2
  30. package/dist-cjs/models/models_0.js +451 -635
  31. package/dist-cjs/protocols/Aws_restJson1.js +3 -0
  32. package/dist-es/commands/ApplyArchiveRuleCommand.js +2 -2
  33. package/dist-es/commands/CancelPolicyGenerationCommand.js +3 -3
  34. package/dist-es/commands/CreateAccessPreviewCommand.js +3 -3
  35. package/dist-es/commands/CreateAnalyzerCommand.js +3 -3
  36. package/dist-es/commands/CreateArchiveRuleCommand.js +2 -2
  37. package/dist-es/commands/DeleteAnalyzerCommand.js +2 -2
  38. package/dist-es/commands/DeleteArchiveRuleCommand.js +2 -2
  39. package/dist-es/commands/GetAccessPreviewCommand.js +3 -3
  40. package/dist-es/commands/GetAnalyzedResourceCommand.js +3 -3
  41. package/dist-es/commands/GetAnalyzerCommand.js +3 -3
  42. package/dist-es/commands/GetArchiveRuleCommand.js +3 -3
  43. package/dist-es/commands/GetFindingCommand.js +3 -3
  44. package/dist-es/commands/GetGeneratedPolicyCommand.js +3 -3
  45. package/dist-es/commands/ListAccessPreviewFindingsCommand.js +3 -3
  46. package/dist-es/commands/ListAccessPreviewsCommand.js +3 -3
  47. package/dist-es/commands/ListAnalyzedResourcesCommand.js +3 -3
  48. package/dist-es/commands/ListAnalyzersCommand.js +3 -3
  49. package/dist-es/commands/ListArchiveRulesCommand.js +3 -3
  50. package/dist-es/commands/ListFindingsCommand.js +3 -3
  51. package/dist-es/commands/ListPolicyGenerationsCommand.js +3 -3
  52. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  53. package/dist-es/commands/StartPolicyGenerationCommand.js +3 -3
  54. package/dist-es/commands/StartResourceScanCommand.js +2 -2
  55. package/dist-es/commands/TagResourceCommand.js +3 -3
  56. package/dist-es/commands/UntagResourceCommand.js +3 -3
  57. package/dist-es/commands/UpdateArchiveRuleCommand.js +2 -2
  58. package/dist-es/commands/UpdateFindingsCommand.js +2 -2
  59. package/dist-es/commands/ValidatePolicyCommand.js +3 -3
  60. package/dist-es/models/models_0.js +160 -442
  61. package/dist-es/protocols/Aws_restJson1.js +3 -0
  62. package/dist-types/models/models_0.d.ts +392 -580
  63. package/dist-types/ts3.4/models/models_0.d.ts +196 -384
  64. package/package.json +9 -9
@@ -3393,6 +3393,9 @@ const loadRestJsonErrorCode = (output, data) => {
3393
3393
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
3394
3394
  const sanitizeErrorCode = (rawValue) => {
3395
3395
  let cleanValue = rawValue;
3396
+ if (typeof cleanValue === "number") {
3397
+ cleanValue = cleanValue.toString();
3398
+ }
3396
3399
  if (cleanValue.indexOf(":") >= 0) {
3397
3400
  cleanValue = cleanValue.split(":")[0];
3398
3401
  }
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ApplyArchiveRuleRequest } from "../models/models_0";
4
+ import { ApplyArchiveRuleRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ApplyArchiveRuleCommand, serializeAws_restJson1ApplyArchiveRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  var ApplyArchiveRuleCommand = (function (_super) {
7
7
  __extends(ApplyArchiveRuleCommand, _super);
@@ -20,7 +20,7 @@ var ApplyArchiveRuleCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ApplyArchiveRuleRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ApplyArchiveRuleRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CancelPolicyGenerationRequest, CancelPolicyGenerationResponse } from "../models/models_0";
4
+ import { CancelPolicyGenerationRequestFilterSensitiveLog, CancelPolicyGenerationResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CancelPolicyGenerationCommand, serializeAws_restJson1CancelPolicyGenerationCommand, } from "../protocols/Aws_restJson1";
6
6
  var CancelPolicyGenerationCommand = (function (_super) {
7
7
  __extends(CancelPolicyGenerationCommand, _super);
@@ -20,8 +20,8 @@ var CancelPolicyGenerationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CancelPolicyGenerationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: CancelPolicyGenerationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CancelPolicyGenerationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CancelPolicyGenerationResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateAccessPreviewRequest, CreateAccessPreviewResponse } from "../models/models_0";
4
+ import { CreateAccessPreviewRequestFilterSensitiveLog, CreateAccessPreviewResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateAccessPreviewCommand, serializeAws_restJson1CreateAccessPreviewCommand, } from "../protocols/Aws_restJson1";
6
6
  var CreateAccessPreviewCommand = (function (_super) {
7
7
  __extends(CreateAccessPreviewCommand, _super);
@@ -20,8 +20,8 @@ var CreateAccessPreviewCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateAccessPreviewRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: CreateAccessPreviewResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateAccessPreviewRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateAccessPreviewResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateAnalyzerRequest, CreateAnalyzerResponse } from "../models/models_0";
4
+ import { CreateAnalyzerRequestFilterSensitiveLog, CreateAnalyzerResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateAnalyzerCommand, serializeAws_restJson1CreateAnalyzerCommand, } from "../protocols/Aws_restJson1";
6
6
  var CreateAnalyzerCommand = (function (_super) {
7
7
  __extends(CreateAnalyzerCommand, _super);
@@ -20,8 +20,8 @@ var CreateAnalyzerCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateAnalyzerRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: CreateAnalyzerResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateAnalyzerRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateAnalyzerResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { CreateArchiveRuleRequest } from "../models/models_0";
4
+ import { CreateArchiveRuleRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateArchiveRuleCommand, serializeAws_restJson1CreateArchiveRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  var CreateArchiveRuleCommand = (function (_super) {
7
7
  __extends(CreateArchiveRuleCommand, _super);
@@ -20,7 +20,7 @@ var CreateArchiveRuleCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: CreateArchiveRuleRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: CreateArchiveRuleRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteAnalyzerRequest } from "../models/models_0";
4
+ import { DeleteAnalyzerRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteAnalyzerCommand, serializeAws_restJson1DeleteAnalyzerCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteAnalyzerCommand = (function (_super) {
7
7
  __extends(DeleteAnalyzerCommand, _super);
@@ -20,7 +20,7 @@ var DeleteAnalyzerCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteAnalyzerRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteAnalyzerRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DeleteArchiveRuleRequest } from "../models/models_0";
4
+ import { DeleteArchiveRuleRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteArchiveRuleCommand, serializeAws_restJson1DeleteArchiveRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  var DeleteArchiveRuleCommand = (function (_super) {
7
7
  __extends(DeleteArchiveRuleCommand, _super);
@@ -20,7 +20,7 @@ var DeleteArchiveRuleCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: DeleteArchiveRuleRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: DeleteArchiveRuleRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetAccessPreviewRequest, GetAccessPreviewResponse } from "../models/models_0";
4
+ import { GetAccessPreviewRequestFilterSensitiveLog, GetAccessPreviewResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetAccessPreviewCommand, serializeAws_restJson1GetAccessPreviewCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetAccessPreviewCommand = (function (_super) {
7
7
  __extends(GetAccessPreviewCommand, _super);
@@ -20,8 +20,8 @@ var GetAccessPreviewCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetAccessPreviewRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetAccessPreviewResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetAccessPreviewRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetAccessPreviewResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetAnalyzedResourceRequest, GetAnalyzedResourceResponse } from "../models/models_0";
4
+ import { GetAnalyzedResourceRequestFilterSensitiveLog, GetAnalyzedResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetAnalyzedResourceCommand, serializeAws_restJson1GetAnalyzedResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetAnalyzedResourceCommand = (function (_super) {
7
7
  __extends(GetAnalyzedResourceCommand, _super);
@@ -20,8 +20,8 @@ var GetAnalyzedResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetAnalyzedResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetAnalyzedResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetAnalyzedResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetAnalyzedResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetAnalyzerRequest, GetAnalyzerResponse } from "../models/models_0";
4
+ import { GetAnalyzerRequestFilterSensitiveLog, GetAnalyzerResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetAnalyzerCommand, serializeAws_restJson1GetAnalyzerCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetAnalyzerCommand = (function (_super) {
7
7
  __extends(GetAnalyzerCommand, _super);
@@ -20,8 +20,8 @@ var GetAnalyzerCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetAnalyzerRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetAnalyzerResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetAnalyzerRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetAnalyzerResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetArchiveRuleRequest, GetArchiveRuleResponse } from "../models/models_0";
4
+ import { GetArchiveRuleRequestFilterSensitiveLog, GetArchiveRuleResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetArchiveRuleCommand, serializeAws_restJson1GetArchiveRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetArchiveRuleCommand = (function (_super) {
7
7
  __extends(GetArchiveRuleCommand, _super);
@@ -20,8 +20,8 @@ var GetArchiveRuleCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetArchiveRuleRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetArchiveRuleResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetArchiveRuleRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetArchiveRuleResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetFindingRequest, GetFindingResponse } from "../models/models_0";
4
+ import { GetFindingRequestFilterSensitiveLog, GetFindingResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetFindingCommand, serializeAws_restJson1GetFindingCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetFindingCommand = (function (_super) {
7
7
  __extends(GetFindingCommand, _super);
@@ -20,8 +20,8 @@ var GetFindingCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetFindingRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetFindingResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetFindingRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetFindingResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetGeneratedPolicyRequest, GetGeneratedPolicyResponse } from "../models/models_0";
4
+ import { GetGeneratedPolicyRequestFilterSensitiveLog, GetGeneratedPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1GetGeneratedPolicyCommand, serializeAws_restJson1GetGeneratedPolicyCommand, } from "../protocols/Aws_restJson1";
6
6
  var GetGeneratedPolicyCommand = (function (_super) {
7
7
  __extends(GetGeneratedPolicyCommand, _super);
@@ -20,8 +20,8 @@ var GetGeneratedPolicyCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetGeneratedPolicyRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetGeneratedPolicyResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetGeneratedPolicyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetGeneratedPolicyResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListAccessPreviewFindingsRequest, ListAccessPreviewFindingsResponse } from "../models/models_0";
4
+ import { ListAccessPreviewFindingsRequestFilterSensitiveLog, ListAccessPreviewFindingsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListAccessPreviewFindingsCommand, serializeAws_restJson1ListAccessPreviewFindingsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListAccessPreviewFindingsCommand = (function (_super) {
7
7
  __extends(ListAccessPreviewFindingsCommand, _super);
@@ -20,8 +20,8 @@ var ListAccessPreviewFindingsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListAccessPreviewFindingsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListAccessPreviewFindingsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListAccessPreviewFindingsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListAccessPreviewFindingsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListAccessPreviewsRequest, ListAccessPreviewsResponse } from "../models/models_0";
4
+ import { ListAccessPreviewsRequestFilterSensitiveLog, ListAccessPreviewsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListAccessPreviewsCommand, serializeAws_restJson1ListAccessPreviewsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListAccessPreviewsCommand = (function (_super) {
7
7
  __extends(ListAccessPreviewsCommand, _super);
@@ -20,8 +20,8 @@ var ListAccessPreviewsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListAccessPreviewsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListAccessPreviewsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListAccessPreviewsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListAccessPreviewsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListAnalyzedResourcesRequest, ListAnalyzedResourcesResponse } from "../models/models_0";
4
+ import { ListAnalyzedResourcesRequestFilterSensitiveLog, ListAnalyzedResourcesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListAnalyzedResourcesCommand, serializeAws_restJson1ListAnalyzedResourcesCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListAnalyzedResourcesCommand = (function (_super) {
7
7
  __extends(ListAnalyzedResourcesCommand, _super);
@@ -20,8 +20,8 @@ var ListAnalyzedResourcesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListAnalyzedResourcesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListAnalyzedResourcesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListAnalyzedResourcesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListAnalyzedResourcesResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListAnalyzersRequest, ListAnalyzersResponse } from "../models/models_0";
4
+ import { ListAnalyzersRequestFilterSensitiveLog, ListAnalyzersResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListAnalyzersCommand, serializeAws_restJson1ListAnalyzersCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListAnalyzersCommand = (function (_super) {
7
7
  __extends(ListAnalyzersCommand, _super);
@@ -20,8 +20,8 @@ var ListAnalyzersCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListAnalyzersRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListAnalyzersResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListAnalyzersRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListAnalyzersResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListArchiveRulesRequest, ListArchiveRulesResponse } from "../models/models_0";
4
+ import { ListArchiveRulesRequestFilterSensitiveLog, ListArchiveRulesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListArchiveRulesCommand, serializeAws_restJson1ListArchiveRulesCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListArchiveRulesCommand = (function (_super) {
7
7
  __extends(ListArchiveRulesCommand, _super);
@@ -20,8 +20,8 @@ var ListArchiveRulesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListArchiveRulesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListArchiveRulesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListArchiveRulesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListArchiveRulesResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListFindingsRequest, ListFindingsResponse } from "../models/models_0";
4
+ import { ListFindingsRequestFilterSensitiveLog, ListFindingsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListFindingsCommand, serializeAws_restJson1ListFindingsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListFindingsCommand = (function (_super) {
7
7
  __extends(ListFindingsCommand, _super);
@@ -20,8 +20,8 @@ var ListFindingsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListFindingsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListFindingsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListFindingsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListFindingsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListPolicyGenerationsRequest, ListPolicyGenerationsResponse } from "../models/models_0";
4
+ import { ListPolicyGenerationsRequestFilterSensitiveLog, ListPolicyGenerationsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListPolicyGenerationsCommand, serializeAws_restJson1ListPolicyGenerationsCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListPolicyGenerationsCommand = (function (_super) {
7
7
  __extends(ListPolicyGenerationsCommand, _super);
@@ -20,8 +20,8 @@ var ListPolicyGenerationsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListPolicyGenerationsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListPolicyGenerationsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListPolicyGenerationsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListPolicyGenerationsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var ListTagsForResourceCommand = (function (_super) {
7
7
  __extends(ListTagsForResourceCommand, _super);
@@ -20,8 +20,8 @@ var ListTagsForResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartPolicyGenerationRequest, StartPolicyGenerationResponse } from "../models/models_0";
4
+ import { StartPolicyGenerationRequestFilterSensitiveLog, StartPolicyGenerationResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1StartPolicyGenerationCommand, serializeAws_restJson1StartPolicyGenerationCommand, } from "../protocols/Aws_restJson1";
6
6
  var StartPolicyGenerationCommand = (function (_super) {
7
7
  __extends(StartPolicyGenerationCommand, _super);
@@ -20,8 +20,8 @@ var StartPolicyGenerationCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: StartPolicyGenerationRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: StartPolicyGenerationResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: StartPolicyGenerationRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: StartPolicyGenerationResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { StartResourceScanRequest } from "../models/models_0";
4
+ import { StartResourceScanRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1StartResourceScanCommand, serializeAws_restJson1StartResourceScanCommand, } from "../protocols/Aws_restJson1";
6
6
  var StartResourceScanCommand = (function (_super) {
7
7
  __extends(StartResourceScanCommand, _super);
@@ -20,7 +20,7 @@ var StartResourceScanCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: StartResourceScanRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: StartResourceScanRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var TagResourceCommand = (function (_super) {
7
7
  __extends(TagResourceCommand, _super);
@@ -20,8 +20,8 @@ var TagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
6
  var UntagResourceCommand = (function (_super) {
7
7
  __extends(UntagResourceCommand, _super);
@@ -20,8 +20,8 @@ var UntagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateArchiveRuleRequest } from "../models/models_0";
4
+ import { UpdateArchiveRuleRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateArchiveRuleCommand, serializeAws_restJson1UpdateArchiveRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  var UpdateArchiveRuleCommand = (function (_super) {
7
7
  __extends(UpdateArchiveRuleCommand, _super);
@@ -20,7 +20,7 @@ var UpdateArchiveRuleCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateArchiveRuleRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateArchiveRuleRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateFindingsRequest } from "../models/models_0";
4
+ import { UpdateFindingsRequestFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateFindingsCommand, serializeAws_restJson1UpdateFindingsCommand, } from "../protocols/Aws_restJson1";
6
6
  var UpdateFindingsCommand = (function (_super) {
7
7
  __extends(UpdateFindingsCommand, _super);
@@ -20,7 +20,7 @@ var UpdateFindingsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateFindingsRequest.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateFindingsRequestFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ValidatePolicyRequest, ValidatePolicyResponse } from "../models/models_0";
4
+ import { ValidatePolicyRequestFilterSensitiveLog, ValidatePolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1ValidatePolicyCommand, serializeAws_restJson1ValidatePolicyCommand, } from "../protocols/Aws_restJson1";
6
6
  var ValidatePolicyCommand = (function (_super) {
7
7
  __extends(ValidatePolicyCommand, _super);
@@ -20,8 +20,8 @@ var ValidatePolicyCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ValidatePolicyRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ValidatePolicyResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ValidatePolicyRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ValidatePolicyResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {