@aws-sdk/client-accessanalyzer 3.183.0 → 3.186.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 (49) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/AccessAnalyzer.js +121 -114
  4. package/dist-es/AccessAnalyzerClient.js +28 -22
  5. package/dist-es/commands/ApplyArchiveRuleCommand.js +29 -22
  6. package/dist-es/commands/CancelPolicyGenerationCommand.js +28 -21
  7. package/dist-es/commands/CreateAccessPreviewCommand.js +28 -21
  8. package/dist-es/commands/CreateAnalyzerCommand.js +28 -21
  9. package/dist-es/commands/CreateArchiveRuleCommand.js +29 -22
  10. package/dist-es/commands/DeleteAnalyzerCommand.js +29 -22
  11. package/dist-es/commands/DeleteArchiveRuleCommand.js +29 -22
  12. package/dist-es/commands/GetAccessPreviewCommand.js +28 -21
  13. package/dist-es/commands/GetAnalyzedResourceCommand.js +28 -21
  14. package/dist-es/commands/GetAnalyzerCommand.js +28 -21
  15. package/dist-es/commands/GetArchiveRuleCommand.js +28 -21
  16. package/dist-es/commands/GetFindingCommand.js +28 -21
  17. package/dist-es/commands/GetGeneratedPolicyCommand.js +28 -21
  18. package/dist-es/commands/ListAccessPreviewFindingsCommand.js +28 -21
  19. package/dist-es/commands/ListAccessPreviewsCommand.js +28 -21
  20. package/dist-es/commands/ListAnalyzedResourcesCommand.js +28 -21
  21. package/dist-es/commands/ListAnalyzersCommand.js +28 -21
  22. package/dist-es/commands/ListArchiveRulesCommand.js +28 -21
  23. package/dist-es/commands/ListFindingsCommand.js +28 -21
  24. package/dist-es/commands/ListPolicyGenerationsCommand.js +28 -21
  25. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  26. package/dist-es/commands/StartPolicyGenerationCommand.js +28 -21
  27. package/dist-es/commands/StartResourceScanCommand.js +29 -22
  28. package/dist-es/commands/TagResourceCommand.js +28 -21
  29. package/dist-es/commands/UntagResourceCommand.js +28 -21
  30. package/dist-es/commands/UpdateArchiveRuleCommand.js +29 -22
  31. package/dist-es/commands/UpdateFindingsCommand.js +29 -22
  32. package/dist-es/commands/ValidatePolicyCommand.js +28 -21
  33. package/dist-es/endpoints.js +8 -8
  34. package/dist-es/models/AccessAnalyzerServiceException.js +10 -5
  35. package/dist-es/models/models_0.js +220 -409
  36. package/dist-es/pagination/ListAccessPreviewFindingsPaginator.js +68 -25
  37. package/dist-es/pagination/ListAccessPreviewsPaginator.js +68 -25
  38. package/dist-es/pagination/ListAnalyzedResourcesPaginator.js +68 -25
  39. package/dist-es/pagination/ListAnalyzersPaginator.js +68 -25
  40. package/dist-es/pagination/ListArchiveRulesPaginator.js +68 -25
  41. package/dist-es/pagination/ListFindingsPaginator.js +68 -25
  42. package/dist-es/pagination/ListPolicyGenerationsPaginator.js +68 -25
  43. package/dist-es/pagination/ValidatePolicyPaginator.js +68 -25
  44. package/dist-es/protocols/Aws_restJson1.js +3152 -2350
  45. package/dist-es/runtimeConfig.browser.js +12 -26
  46. package/dist-es/runtimeConfig.js +12 -30
  47. package/dist-es/runtimeConfig.native.js +5 -8
  48. package/dist-es/runtimeConfig.shared.js +11 -8
  49. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetArchiveRuleRequestFilterSensitiveLog, GetArchiveRuleResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetArchiveRuleCommand, serializeAws_restJson1GetArchiveRuleCommand, } from "../protocols/Aws_restJson1";
5
- export class GetArchiveRuleCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetArchiveRuleCommand = (function (_super) {
7
+ __extends(GetArchiveRuleCommand, _super);
8
+ function GetArchiveRuleCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetArchiveRuleCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "GetArchiveRuleCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "GetArchiveRuleCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetArchiveRuleRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetArchiveRuleResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetArchiveRuleCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetArchiveRuleCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetArchiveRuleCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetArchiveRuleCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetArchiveRuleCommand;
38
+ }($Command));
39
+ export { GetArchiveRuleCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetFindingRequestFilterSensitiveLog, GetFindingResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetFindingCommand, serializeAws_restJson1GetFindingCommand, } from "../protocols/Aws_restJson1";
5
- export class GetFindingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetFindingCommand = (function (_super) {
7
+ __extends(GetFindingCommand, _super);
8
+ function GetFindingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFindingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "GetFindingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "GetFindingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetFindingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFindingResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetFindingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetFindingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFindingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetFindingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFindingCommand;
38
+ }($Command));
39
+ export { GetFindingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetGeneratedPolicyRequestFilterSensitiveLog, GetGeneratedPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetGeneratedPolicyCommand, serializeAws_restJson1GetGeneratedPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetGeneratedPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetGeneratedPolicyCommand = (function (_super) {
7
+ __extends(GetGeneratedPolicyCommand, _super);
8
+ function GetGeneratedPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetGeneratedPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "GetGeneratedPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "GetGeneratedPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetGeneratedPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetGeneratedPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetGeneratedPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetGeneratedPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetGeneratedPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetGeneratedPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetGeneratedPolicyCommand;
38
+ }($Command));
39
+ export { GetGeneratedPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAccessPreviewFindingsRequestFilterSensitiveLog, ListAccessPreviewFindingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAccessPreviewFindingsCommand, serializeAws_restJson1ListAccessPreviewFindingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAccessPreviewFindingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAccessPreviewFindingsCommand = (function (_super) {
7
+ __extends(ListAccessPreviewFindingsCommand, _super);
8
+ function ListAccessPreviewFindingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAccessPreviewFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListAccessPreviewFindingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListAccessPreviewFindingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAccessPreviewFindingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAccessPreviewFindingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAccessPreviewFindingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAccessPreviewFindingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAccessPreviewFindingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAccessPreviewFindingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAccessPreviewFindingsCommand;
38
+ }($Command));
39
+ export { ListAccessPreviewFindingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAccessPreviewsRequestFilterSensitiveLog, ListAccessPreviewsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAccessPreviewsCommand, serializeAws_restJson1ListAccessPreviewsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAccessPreviewsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAccessPreviewsCommand = (function (_super) {
7
+ __extends(ListAccessPreviewsCommand, _super);
8
+ function ListAccessPreviewsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAccessPreviewsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListAccessPreviewsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListAccessPreviewsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAccessPreviewsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAccessPreviewsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAccessPreviewsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAccessPreviewsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAccessPreviewsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAccessPreviewsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAccessPreviewsCommand;
38
+ }($Command));
39
+ export { ListAccessPreviewsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAnalyzedResourcesRequestFilterSensitiveLog, ListAnalyzedResourcesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAnalyzedResourcesCommand, serializeAws_restJson1ListAnalyzedResourcesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAnalyzedResourcesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAnalyzedResourcesCommand = (function (_super) {
7
+ __extends(ListAnalyzedResourcesCommand, _super);
8
+ function ListAnalyzedResourcesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAnalyzedResourcesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListAnalyzedResourcesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListAnalyzedResourcesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAnalyzedResourcesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAnalyzedResourcesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAnalyzedResourcesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAnalyzedResourcesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAnalyzedResourcesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAnalyzedResourcesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAnalyzedResourcesCommand;
38
+ }($Command));
39
+ export { ListAnalyzedResourcesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAnalyzersRequestFilterSensitiveLog, ListAnalyzersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAnalyzersCommand, serializeAws_restJson1ListAnalyzersCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAnalyzersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAnalyzersCommand = (function (_super) {
7
+ __extends(ListAnalyzersCommand, _super);
8
+ function ListAnalyzersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAnalyzersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListAnalyzersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListAnalyzersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAnalyzersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAnalyzersResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAnalyzersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAnalyzersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAnalyzersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAnalyzersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAnalyzersCommand;
38
+ }($Command));
39
+ export { ListAnalyzersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListArchiveRulesRequestFilterSensitiveLog, ListArchiveRulesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListArchiveRulesCommand, serializeAws_restJson1ListArchiveRulesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListArchiveRulesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListArchiveRulesCommand = (function (_super) {
7
+ __extends(ListArchiveRulesCommand, _super);
8
+ function ListArchiveRulesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListArchiveRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListArchiveRulesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListArchiveRulesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListArchiveRulesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListArchiveRulesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListArchiveRulesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListArchiveRulesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListArchiveRulesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListArchiveRulesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListArchiveRulesCommand;
38
+ }($Command));
39
+ export { ListArchiveRulesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFindingsRequestFilterSensitiveLog, ListFindingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListFindingsCommand, serializeAws_restJson1ListFindingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListFindingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListFindingsCommand = (function (_super) {
7
+ __extends(ListFindingsCommand, _super);
8
+ function ListFindingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListFindingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListFindingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListFindingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListFindingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListFindingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListFindingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListFindingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListFindingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListFindingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListFindingsCommand;
38
+ }($Command));
39
+ export { ListFindingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListPolicyGenerationsRequestFilterSensitiveLog, ListPolicyGenerationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPolicyGenerationsCommand, serializeAws_restJson1ListPolicyGenerationsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPolicyGenerationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPolicyGenerationsCommand = (function (_super) {
7
+ __extends(ListPolicyGenerationsCommand, _super);
8
+ function ListPolicyGenerationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPolicyGenerationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "AccessAnalyzerClient";
15
- const commandName = "ListPolicyGenerationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "AccessAnalyzerClient";
18
+ var commandName = "ListPolicyGenerationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPolicyGenerationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPolicyGenerationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPolicyGenerationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPolicyGenerationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPolicyGenerationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPolicyGenerationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPolicyGenerationsCommand;
38
+ }($Command));
39
+ export { ListPolicyGenerationsCommand };