@aws-sdk/client-codeguruprofiler 3.181.0 → 3.183.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 (39) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/CodeGuruProfiler.js +94 -101
  3. package/dist-es/CodeGuruProfilerClient.js +22 -28
  4. package/dist-es/commands/AddNotificationChannelsCommand.js +21 -28
  5. package/dist-es/commands/BatchGetFrameMetricDataCommand.js +21 -28
  6. package/dist-es/commands/ConfigureAgentCommand.js +21 -28
  7. package/dist-es/commands/CreateProfilingGroupCommand.js +21 -28
  8. package/dist-es/commands/DeleteProfilingGroupCommand.js +21 -28
  9. package/dist-es/commands/DescribeProfilingGroupCommand.js +21 -28
  10. package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js +21 -28
  11. package/dist-es/commands/GetNotificationConfigurationCommand.js +21 -28
  12. package/dist-es/commands/GetPolicyCommand.js +21 -28
  13. package/dist-es/commands/GetProfileCommand.js +21 -28
  14. package/dist-es/commands/GetRecommendationsCommand.js +21 -28
  15. package/dist-es/commands/ListFindingsReportsCommand.js +21 -28
  16. package/dist-es/commands/ListProfileTimesCommand.js +21 -28
  17. package/dist-es/commands/ListProfilingGroupsCommand.js +21 -28
  18. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  19. package/dist-es/commands/PostAgentProfileCommand.js +21 -28
  20. package/dist-es/commands/PutPermissionCommand.js +21 -28
  21. package/dist-es/commands/RemoveNotificationChannelCommand.js +21 -28
  22. package/dist-es/commands/RemovePermissionCommand.js +21 -28
  23. package/dist-es/commands/SubmitFeedbackCommand.js +21 -28
  24. package/dist-es/commands/TagResourceCommand.js +21 -28
  25. package/dist-es/commands/UntagResourceCommand.js +21 -28
  26. package/dist-es/commands/UpdateProfilingGroupCommand.js +21 -28
  27. package/dist-es/endpoints.js +8 -8
  28. package/dist-es/models/CodeGuruProfilerServiceException.js +5 -10
  29. package/dist-es/models/models_0.js +264 -135
  30. package/dist-es/pagination/GetFindingsReportAccountSummaryPaginator.js +25 -68
  31. package/dist-es/pagination/ListFindingsReportsPaginator.js +25 -68
  32. package/dist-es/pagination/ListProfileTimesPaginator.js +25 -68
  33. package/dist-es/pagination/ListProfilingGroupsPaginator.js +25 -68
  34. package/dist-es/protocols/Aws_restJson1.js +1718 -2420
  35. package/dist-es/runtimeConfig.browser.js +26 -12
  36. package/dist-es/runtimeConfig.js +30 -12
  37. package/dist-es/runtimeConfig.native.js +8 -5
  38. package/dist-es/runtimeConfig.shared.js +8 -11
  39. 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 { ConfigureAgentRequestFilterSensitiveLog, ConfigureAgentResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ConfigureAgentCommand, serializeAws_restJson1ConfigureAgentCommand, } from "../protocols/Aws_restJson1";
6
- var ConfigureAgentCommand = (function (_super) {
7
- __extends(ConfigureAgentCommand, _super);
8
- function ConfigureAgentCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ConfigureAgentCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ConfigureAgentCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "ConfigureAgentCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "ConfigureAgentCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ConfigureAgentRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ConfigureAgentResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ConfigureAgentCommand.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_restJson1ConfigureAgentCommand(input, context);
33
- };
34
- ConfigureAgentCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ConfigureAgentCommand(output, context);
36
- };
37
- return ConfigureAgentCommand;
38
- }($Command));
39
- export { ConfigureAgentCommand };
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 { CreateProfilingGroupRequestFilterSensitiveLog, CreateProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateProfilingGroupCommand, serializeAws_restJson1CreateProfilingGroupCommand, } from "../protocols/Aws_restJson1";
6
- var CreateProfilingGroupCommand = (function (_super) {
7
- __extends(CreateProfilingGroupCommand, _super);
8
- function CreateProfilingGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateProfilingGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateProfilingGroupCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "CreateProfilingGroupCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "CreateProfilingGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateProfilingGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateProfilingGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateProfilingGroupCommand.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_restJson1CreateProfilingGroupCommand(input, context);
33
- };
34
- CreateProfilingGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateProfilingGroupCommand(output, context);
36
- };
37
- return CreateProfilingGroupCommand;
38
- }($Command));
39
- export { CreateProfilingGroupCommand };
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 { DeleteProfilingGroupRequestFilterSensitiveLog, DeleteProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteProfilingGroupCommand, serializeAws_restJson1DeleteProfilingGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteProfilingGroupCommand = (function (_super) {
7
- __extends(DeleteProfilingGroupCommand, _super);
8
- function DeleteProfilingGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteProfilingGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteProfilingGroupCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "DeleteProfilingGroupCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "DeleteProfilingGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteProfilingGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteProfilingGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteProfilingGroupCommand.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_restJson1DeleteProfilingGroupCommand(input, context);
33
- };
34
- DeleteProfilingGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteProfilingGroupCommand(output, context);
36
- };
37
- return DeleteProfilingGroupCommand;
38
- }($Command));
39
- export { DeleteProfilingGroupCommand };
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 { DescribeProfilingGroupRequestFilterSensitiveLog, DescribeProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DescribeProfilingGroupCommand, serializeAws_restJson1DescribeProfilingGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DescribeProfilingGroupCommand = (function (_super) {
7
- __extends(DescribeProfilingGroupCommand, _super);
8
- function DescribeProfilingGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeProfilingGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeProfilingGroupCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "DescribeProfilingGroupCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "DescribeProfilingGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeProfilingGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeProfilingGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeProfilingGroupCommand.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_restJson1DescribeProfilingGroupCommand(input, context);
33
- };
34
- DescribeProfilingGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DescribeProfilingGroupCommand(output, context);
36
- };
37
- return DescribeProfilingGroupCommand;
38
- }($Command));
39
- export { DescribeProfilingGroupCommand };
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 { GetFindingsReportAccountSummaryRequestFilterSensitiveLog, GetFindingsReportAccountSummaryResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetFindingsReportAccountSummaryCommand, serializeAws_restJson1GetFindingsReportAccountSummaryCommand, } from "../protocols/Aws_restJson1";
6
- var GetFindingsReportAccountSummaryCommand = (function (_super) {
7
- __extends(GetFindingsReportAccountSummaryCommand, _super);
8
- function GetFindingsReportAccountSummaryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetFindingsReportAccountSummaryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetFindingsReportAccountSummaryCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "GetFindingsReportAccountSummaryCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "GetFindingsReportAccountSummaryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetFindingsReportAccountSummaryRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetFindingsReportAccountSummaryResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetFindingsReportAccountSummaryCommand.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_restJson1GetFindingsReportAccountSummaryCommand(input, context);
33
- };
34
- GetFindingsReportAccountSummaryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetFindingsReportAccountSummaryCommand(output, context);
36
- };
37
- return GetFindingsReportAccountSummaryCommand;
38
- }($Command));
39
- export { GetFindingsReportAccountSummaryCommand };
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 { GetNotificationConfigurationRequestFilterSensitiveLog, GetNotificationConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetNotificationConfigurationCommand, serializeAws_restJson1GetNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
6
- var GetNotificationConfigurationCommand = (function (_super) {
7
- __extends(GetNotificationConfigurationCommand, _super);
8
- function GetNotificationConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetNotificationConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetNotificationConfigurationCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "GetNotificationConfigurationCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "GetNotificationConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetNotificationConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetNotificationConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetNotificationConfigurationCommand.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_restJson1GetNotificationConfigurationCommand(input, context);
33
- };
34
- GetNotificationConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetNotificationConfigurationCommand(output, context);
36
- };
37
- return GetNotificationConfigurationCommand;
38
- }($Command));
39
- export { GetNotificationConfigurationCommand };
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 { GetPolicyRequestFilterSensitiveLog, GetPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetPolicyCommand, serializeAws_restJson1GetPolicyCommand, } from "../protocols/Aws_restJson1";
6
- var GetPolicyCommand = (function (_super) {
7
- __extends(GetPolicyCommand, _super);
8
- function GetPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetPolicyCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "GetPolicyCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "GetPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetPolicyCommand.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_restJson1GetPolicyCommand(input, context);
33
- };
34
- GetPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetPolicyCommand(output, context);
36
- };
37
- return GetPolicyCommand;
38
- }($Command));
39
- export { GetPolicyCommand };
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 { GetProfileRequestFilterSensitiveLog, GetProfileResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetProfileCommand, serializeAws_restJson1GetProfileCommand, } from "../protocols/Aws_restJson1";
6
- var GetProfileCommand = (function (_super) {
7
- __extends(GetProfileCommand, _super);
8
- function GetProfileCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetProfileCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "GetProfileCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "GetProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetProfileResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetProfileCommand.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_restJson1GetProfileCommand(input, context);
33
- };
34
- GetProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetProfileCommand(output, context);
36
- };
37
- return GetProfileCommand;
38
- }($Command));
39
- export { GetProfileCommand };
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 { GetRecommendationsRequestFilterSensitiveLog, GetRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1GetRecommendationsCommand, serializeAws_restJson1GetRecommendationsCommand, } from "../protocols/Aws_restJson1";
6
- var GetRecommendationsCommand = (function (_super) {
7
- __extends(GetRecommendationsCommand, _super);
8
- function GetRecommendationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetRecommendationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetRecommendationsCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "GetRecommendationsCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "GetRecommendationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetRecommendationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetRecommendationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetRecommendationsCommand.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_restJson1GetRecommendationsCommand(input, context);
33
- };
34
- GetRecommendationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1GetRecommendationsCommand(output, context);
36
- };
37
- return GetRecommendationsCommand;
38
- }($Command));
39
- export { GetRecommendationsCommand };
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 { ListFindingsReportsRequestFilterSensitiveLog, ListFindingsReportsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListFindingsReportsCommand, serializeAws_restJson1ListFindingsReportsCommand, } from "../protocols/Aws_restJson1";
6
- var ListFindingsReportsCommand = (function (_super) {
7
- __extends(ListFindingsReportsCommand, _super);
8
- function ListFindingsReportsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFindingsReportsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFindingsReportsCommand.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 = "CodeGuruProfilerClient";
18
- var commandName = "ListFindingsReportsCommand";
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 = "CodeGuruProfilerClient";
15
+ const commandName = "ListFindingsReportsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFindingsReportsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFindingsReportsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFindingsReportsCommand.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_restJson1ListFindingsReportsCommand(input, context);
33
- };
34
- ListFindingsReportsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListFindingsReportsCommand(output, context);
36
- };
37
- return ListFindingsReportsCommand;
38
- }($Command));
39
- export { ListFindingsReportsCommand };
31
+ }
32
+ }