@aws-sdk/client-inspector2 3.183.0 → 3.185.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 (54) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Inspector2.js +137 -130
  4. package/dist-es/Inspector2Client.js +28 -22
  5. package/dist-es/commands/AssociateMemberCommand.js +28 -21
  6. package/dist-es/commands/BatchGetAccountStatusCommand.js +28 -21
  7. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +28 -21
  8. package/dist-es/commands/CancelFindingsReportCommand.js +28 -21
  9. package/dist-es/commands/CreateFilterCommand.js +28 -21
  10. package/dist-es/commands/CreateFindingsReportCommand.js +28 -21
  11. package/dist-es/commands/DeleteFilterCommand.js +28 -21
  12. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +28 -21
  13. package/dist-es/commands/DisableCommand.js +28 -21
  14. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +28 -21
  15. package/dist-es/commands/DisassociateMemberCommand.js +28 -21
  16. package/dist-es/commands/EnableCommand.js +28 -21
  17. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +28 -21
  18. package/dist-es/commands/GetConfigurationCommand.js +28 -21
  19. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +28 -21
  20. package/dist-es/commands/GetFindingsReportStatusCommand.js +28 -21
  21. package/dist-es/commands/GetMemberCommand.js +28 -21
  22. package/dist-es/commands/ListAccountPermissionsCommand.js +28 -21
  23. package/dist-es/commands/ListCoverageCommand.js +28 -21
  24. package/dist-es/commands/ListCoverageStatisticsCommand.js +28 -21
  25. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +28 -21
  26. package/dist-es/commands/ListFiltersCommand.js +28 -21
  27. package/dist-es/commands/ListFindingAggregationsCommand.js +28 -21
  28. package/dist-es/commands/ListFindingsCommand.js +28 -21
  29. package/dist-es/commands/ListMembersCommand.js +28 -21
  30. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  31. package/dist-es/commands/ListUsageTotalsCommand.js +28 -21
  32. package/dist-es/commands/TagResourceCommand.js +28 -21
  33. package/dist-es/commands/UntagResourceCommand.js +28 -21
  34. package/dist-es/commands/UpdateConfigurationCommand.js +28 -21
  35. package/dist-es/commands/UpdateFilterCommand.js +28 -21
  36. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +28 -21
  37. package/dist-es/endpoints.js +8 -8
  38. package/dist-es/models/Inspector2ServiceException.js +10 -5
  39. package/dist-es/models/models_0.js +244 -523
  40. package/dist-es/pagination/ListAccountPermissionsPaginator.js +68 -25
  41. package/dist-es/pagination/ListCoveragePaginator.js +68 -25
  42. package/dist-es/pagination/ListCoverageStatisticsPaginator.js +67 -24
  43. package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +68 -25
  44. package/dist-es/pagination/ListFiltersPaginator.js +68 -25
  45. package/dist-es/pagination/ListFindingAggregationsPaginator.js +68 -25
  46. package/dist-es/pagination/ListFindingsPaginator.js +68 -25
  47. package/dist-es/pagination/ListMembersPaginator.js +68 -25
  48. package/dist-es/pagination/ListUsageTotalsPaginator.js +68 -25
  49. package/dist-es/protocols/Aws_restJson1.js +3623 -2799
  50. package/dist-es/runtimeConfig.browser.js +12 -26
  51. package/dist-es/runtimeConfig.js +12 -30
  52. package/dist-es/runtimeConfig.native.js +5 -8
  53. package/dist-es/runtimeConfig.shared.js +11 -8
  54. package/package.json +5 -5
@@ -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 { DisableDelegatedAdminAccountRequestFilterSensitiveLog, DisableDelegatedAdminAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisableDelegatedAdminAccountCommand, serializeAws_restJson1DisableDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class DisableDelegatedAdminAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisableDelegatedAdminAccountCommand = (function (_super) {
7
+ __extends(DisableDelegatedAdminAccountCommand, _super);
8
+ function DisableDelegatedAdminAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisableDelegatedAdminAccountCommand.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 = "Inspector2Client";
15
- const commandName = "DisableDelegatedAdminAccountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "DisableDelegatedAdminAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisableDelegatedAdminAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisableDelegatedAdminAccountResponseFilterSensitiveLog,
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
+ DisableDelegatedAdminAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisableDelegatedAdminAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisableDelegatedAdminAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisableDelegatedAdminAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisableDelegatedAdminAccountCommand;
38
+ }($Command));
39
+ export { DisableDelegatedAdminAccountCommand };
@@ -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 { DisassociateMemberRequestFilterSensitiveLog, DisassociateMemberResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DisassociateMemberCommand, serializeAws_restJson1DisassociateMemberCommand, } from "../protocols/Aws_restJson1";
5
- export class DisassociateMemberCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateMemberCommand = (function (_super) {
7
+ __extends(DisassociateMemberCommand, _super);
8
+ function DisassociateMemberCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateMemberCommand.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 = "Inspector2Client";
15
- const commandName = "DisassociateMemberCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "DisassociateMemberCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateMemberRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateMemberResponseFilterSensitiveLog,
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
+ DisassociateMemberCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DisassociateMemberCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateMemberCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DisassociateMemberCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateMemberCommand;
38
+ }($Command));
39
+ export { DisassociateMemberCommand };
@@ -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 { EnableRequestFilterSensitiveLog, EnableResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1EnableCommand, serializeAws_restJson1EnableCommand } from "../protocols/Aws_restJson1";
5
- export class EnableCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableCommand = (function (_super) {
7
+ __extends(EnableCommand, _super);
8
+ function EnableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableCommand.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 = "Inspector2Client";
15
- const commandName = "EnableCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "EnableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EnableRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnableResponseFilterSensitiveLog,
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
+ EnableCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1EnableCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1EnableCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableCommand;
38
+ }($Command));
39
+ export { EnableCommand };
@@ -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 { EnableDelegatedAdminAccountRequestFilterSensitiveLog, EnableDelegatedAdminAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1EnableDelegatedAdminAccountCommand, serializeAws_restJson1EnableDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class EnableDelegatedAdminAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EnableDelegatedAdminAccountCommand = (function (_super) {
7
+ __extends(EnableDelegatedAdminAccountCommand, _super);
8
+ function EnableDelegatedAdminAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EnableDelegatedAdminAccountCommand.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 = "Inspector2Client";
15
- const commandName = "EnableDelegatedAdminAccountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "EnableDelegatedAdminAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EnableDelegatedAdminAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EnableDelegatedAdminAccountResponseFilterSensitiveLog,
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
+ EnableDelegatedAdminAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1EnableDelegatedAdminAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EnableDelegatedAdminAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1EnableDelegatedAdminAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EnableDelegatedAdminAccountCommand;
38
+ }($Command));
39
+ export { EnableDelegatedAdminAccountCommand };
@@ -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 { GetConfigurationRequestFilterSensitiveLog, GetConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetConfigurationCommand, serializeAws_restJson1GetConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetConfigurationCommand = (function (_super) {
7
+ __extends(GetConfigurationCommand, _super);
8
+ function GetConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetConfigurationCommand.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 = "Inspector2Client";
15
- const commandName = "GetConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "GetConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetConfigurationResponseFilterSensitiveLog,
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
+ GetConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetConfigurationCommand;
38
+ }($Command));
39
+ export { GetConfigurationCommand };
@@ -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 { GetDelegatedAdminAccountRequestFilterSensitiveLog, GetDelegatedAdminAccountResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDelegatedAdminAccountCommand, serializeAws_restJson1GetDelegatedAdminAccountCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDelegatedAdminAccountCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDelegatedAdminAccountCommand = (function (_super) {
7
+ __extends(GetDelegatedAdminAccountCommand, _super);
8
+ function GetDelegatedAdminAccountCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDelegatedAdminAccountCommand.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 = "Inspector2Client";
15
- const commandName = "GetDelegatedAdminAccountCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "GetDelegatedAdminAccountCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDelegatedAdminAccountRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDelegatedAdminAccountResponseFilterSensitiveLog,
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
+ GetDelegatedAdminAccountCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDelegatedAdminAccountCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDelegatedAdminAccountCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDelegatedAdminAccountCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDelegatedAdminAccountCommand;
38
+ }($Command));
39
+ export { GetDelegatedAdminAccountCommand };
@@ -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 { GetFindingsReportStatusRequestFilterSensitiveLog, GetFindingsReportStatusResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetFindingsReportStatusCommand, serializeAws_restJson1GetFindingsReportStatusCommand, } from "../protocols/Aws_restJson1";
5
- export class GetFindingsReportStatusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetFindingsReportStatusCommand = (function (_super) {
7
+ __extends(GetFindingsReportStatusCommand, _super);
8
+ function GetFindingsReportStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFindingsReportStatusCommand.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 = "Inspector2Client";
15
- const commandName = "GetFindingsReportStatusCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "GetFindingsReportStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetFindingsReportStatusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFindingsReportStatusResponseFilterSensitiveLog,
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
+ GetFindingsReportStatusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetFindingsReportStatusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFindingsReportStatusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetFindingsReportStatusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFindingsReportStatusCommand;
38
+ }($Command));
39
+ export { GetFindingsReportStatusCommand };
@@ -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 { GetMemberRequestFilterSensitiveLog, GetMemberResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetMemberCommand, serializeAws_restJson1GetMemberCommand, } from "../protocols/Aws_restJson1";
5
- export class GetMemberCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetMemberCommand = (function (_super) {
7
+ __extends(GetMemberCommand, _super);
8
+ function GetMemberCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetMemberCommand.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 = "Inspector2Client";
15
- const commandName = "GetMemberCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "GetMemberCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetMemberRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetMemberResponseFilterSensitiveLog,
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
+ GetMemberCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetMemberCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetMemberCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetMemberCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetMemberCommand;
38
+ }($Command));
39
+ export { GetMemberCommand };
@@ -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 { ListAccountPermissionsRequestFilterSensitiveLog, ListAccountPermissionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAccountPermissionsCommand, serializeAws_restJson1ListAccountPermissionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAccountPermissionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAccountPermissionsCommand = (function (_super) {
7
+ __extends(ListAccountPermissionsCommand, _super);
8
+ function ListAccountPermissionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAccountPermissionsCommand.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 = "Inspector2Client";
15
- const commandName = "ListAccountPermissionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "ListAccountPermissionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAccountPermissionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAccountPermissionsResponseFilterSensitiveLog,
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
+ ListAccountPermissionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAccountPermissionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAccountPermissionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAccountPermissionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAccountPermissionsCommand;
38
+ }($Command));
39
+ export { ListAccountPermissionsCommand };
@@ -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 { ListCoverageRequestFilterSensitiveLog, ListCoverageResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListCoverageCommand, serializeAws_restJson1ListCoverageCommand, } from "../protocols/Aws_restJson1";
5
- export class ListCoverageCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCoverageCommand = (function (_super) {
7
+ __extends(ListCoverageCommand, _super);
8
+ function ListCoverageCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCoverageCommand.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 = "Inspector2Client";
15
- const commandName = "ListCoverageCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "Inspector2Client";
18
+ var commandName = "ListCoverageCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCoverageRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCoverageResponseFilterSensitiveLog,
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
+ ListCoverageCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListCoverageCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCoverageCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListCoverageCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCoverageCommand;
38
+ }($Command));
39
+ export { ListCoverageCommand };