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