@aws-sdk/client-codeguruprofiler 3.183.0 → 3.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/CodeGuruProfiler.js +101 -94
  4. package/dist-es/CodeGuruProfilerClient.js +28 -22
  5. package/dist-es/commands/AddNotificationChannelsCommand.js +28 -21
  6. package/dist-es/commands/BatchGetFrameMetricDataCommand.js +28 -21
  7. package/dist-es/commands/ConfigureAgentCommand.js +28 -21
  8. package/dist-es/commands/CreateProfilingGroupCommand.js +28 -21
  9. package/dist-es/commands/DeleteProfilingGroupCommand.js +28 -21
  10. package/dist-es/commands/DescribeProfilingGroupCommand.js +28 -21
  11. package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js +28 -21
  12. package/dist-es/commands/GetNotificationConfigurationCommand.js +28 -21
  13. package/dist-es/commands/GetPolicyCommand.js +28 -21
  14. package/dist-es/commands/GetProfileCommand.js +28 -21
  15. package/dist-es/commands/GetRecommendationsCommand.js +28 -21
  16. package/dist-es/commands/ListFindingsReportsCommand.js +28 -21
  17. package/dist-es/commands/ListProfileTimesCommand.js +28 -21
  18. package/dist-es/commands/ListProfilingGroupsCommand.js +28 -21
  19. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  20. package/dist-es/commands/PostAgentProfileCommand.js +28 -21
  21. package/dist-es/commands/PutPermissionCommand.js +28 -21
  22. package/dist-es/commands/RemoveNotificationChannelCommand.js +28 -21
  23. package/dist-es/commands/RemovePermissionCommand.js +28 -21
  24. package/dist-es/commands/SubmitFeedbackCommand.js +28 -21
  25. package/dist-es/commands/TagResourceCommand.js +28 -21
  26. package/dist-es/commands/UntagResourceCommand.js +28 -21
  27. package/dist-es/commands/UpdateProfilingGroupCommand.js +28 -21
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/CodeGuruProfilerServiceException.js +10 -5
  30. package/dist-es/models/models_0.js +135 -264
  31. package/dist-es/pagination/GetFindingsReportAccountSummaryPaginator.js +68 -25
  32. package/dist-es/pagination/ListFindingsReportsPaginator.js +68 -25
  33. package/dist-es/pagination/ListProfileTimesPaginator.js +68 -25
  34. package/dist-es/pagination/ListProfilingGroupsPaginator.js +68 -25
  35. package/dist-es/protocols/Aws_restJson1.js +2420 -1718
  36. package/dist-es/runtimeConfig.browser.js +12 -26
  37. package/dist-es/runtimeConfig.js +12 -30
  38. package/dist-es/runtimeConfig.native.js +5 -8
  39. package/dist-es/runtimeConfig.shared.js +11 -8
  40. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { BatchGetFrameMetricDataRequestFilterSensitiveLog, BatchGetFrameMetricDataResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1BatchGetFrameMetricDataCommand, serializeAws_restJson1BatchGetFrameMetricDataCommand, } from "../protocols/Aws_restJson1";
5
- export class BatchGetFrameMetricDataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var BatchGetFrameMetricDataCommand = (function (_super) {
7
+ __extends(BatchGetFrameMetricDataCommand, _super);
8
+ function BatchGetFrameMetricDataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ BatchGetFrameMetricDataCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "BatchGetFrameMetricDataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CodeGuruProfilerClient";
18
+ var commandName = "BatchGetFrameMetricDataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: BatchGetFrameMetricDataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: BatchGetFrameMetricDataResponseFilterSensitiveLog,
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
+ BatchGetFrameMetricDataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1BatchGetFrameMetricDataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ BatchGetFrameMetricDataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1BatchGetFrameMetricDataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return BatchGetFrameMetricDataCommand;
38
+ }($Command));
39
+ export { BatchGetFrameMetricDataCommand };
@@ -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 { ConfigureAgentRequestFilterSensitiveLog, ConfigureAgentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ConfigureAgentCommand, serializeAws_restJson1ConfigureAgentCommand, } from "../protocols/Aws_restJson1";
5
- export class ConfigureAgentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ConfigureAgentCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "ConfigureAgentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: ConfigureAgentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ConfigureAgentResponseFilterSensitiveLog,
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
+ ConfigureAgentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ConfigureAgentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ConfigureAgentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ConfigureAgentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ConfigureAgentCommand;
38
+ }($Command));
39
+ export { ConfigureAgentCommand };
@@ -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 { CreateProfilingGroupRequestFilterSensitiveLog, CreateProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateProfilingGroupCommand, serializeAws_restJson1CreateProfilingGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateProfilingGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateProfilingGroupCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "CreateProfilingGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: CreateProfilingGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateProfilingGroupResponseFilterSensitiveLog,
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
+ CreateProfilingGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateProfilingGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateProfilingGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateProfilingGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateProfilingGroupCommand;
38
+ }($Command));
39
+ export { CreateProfilingGroupCommand };
@@ -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 { DeleteProfilingGroupRequestFilterSensitiveLog, DeleteProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteProfilingGroupCommand, serializeAws_restJson1DeleteProfilingGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteProfilingGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteProfilingGroupCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "DeleteProfilingGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DeleteProfilingGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteProfilingGroupResponseFilterSensitiveLog,
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
+ DeleteProfilingGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteProfilingGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteProfilingGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteProfilingGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteProfilingGroupCommand;
38
+ }($Command));
39
+ export { DeleteProfilingGroupCommand };
@@ -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 { DescribeProfilingGroupRequestFilterSensitiveLog, DescribeProfilingGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeProfilingGroupCommand, serializeAws_restJson1DescribeProfilingGroupCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeProfilingGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeProfilingGroupCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "DescribeProfilingGroupCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: DescribeProfilingGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeProfilingGroupResponseFilterSensitiveLog,
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
+ DescribeProfilingGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeProfilingGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeProfilingGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeProfilingGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeProfilingGroupCommand;
38
+ }($Command));
39
+ export { DescribeProfilingGroupCommand };
@@ -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 { GetFindingsReportAccountSummaryRequestFilterSensitiveLog, GetFindingsReportAccountSummaryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetFindingsReportAccountSummaryCommand, serializeAws_restJson1GetFindingsReportAccountSummaryCommand, } from "../protocols/Aws_restJson1";
5
- export class GetFindingsReportAccountSummaryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetFindingsReportAccountSummaryCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "GetFindingsReportAccountSummaryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetFindingsReportAccountSummaryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetFindingsReportAccountSummaryResponseFilterSensitiveLog,
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
+ GetFindingsReportAccountSummaryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetFindingsReportAccountSummaryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetFindingsReportAccountSummaryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetFindingsReportAccountSummaryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetFindingsReportAccountSummaryCommand;
38
+ }($Command));
39
+ export { GetFindingsReportAccountSummaryCommand };
@@ -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 { GetNotificationConfigurationRequestFilterSensitiveLog, GetNotificationConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetNotificationConfigurationCommand, serializeAws_restJson1GetNotificationConfigurationCommand, } from "../protocols/Aws_restJson1";
5
- export class GetNotificationConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetNotificationConfigurationCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "GetNotificationConfigurationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetNotificationConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetNotificationConfigurationResponseFilterSensitiveLog,
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
+ GetNotificationConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetNotificationConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetNotificationConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetNotificationConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetNotificationConfigurationCommand;
38
+ }($Command));
39
+ export { GetNotificationConfigurationCommand };
@@ -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 { GetPolicyRequestFilterSensitiveLog, GetPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPolicyCommand, serializeAws_restJson1GetPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPolicyCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "GetPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPolicyResponseFilterSensitiveLog,
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
+ GetPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPolicyCommand;
38
+ }($Command));
39
+ export { GetPolicyCommand };
@@ -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 { GetProfileRequestFilterSensitiveLog, GetProfileResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetProfileCommand, serializeAws_restJson1GetProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class GetProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetProfileCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "GetProfileCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetProfileResponseFilterSensitiveLog,
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
+ GetProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetProfileCommand;
38
+ }($Command));
39
+ export { GetProfileCommand };
@@ -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 { GetRecommendationsRequestFilterSensitiveLog, GetRecommendationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRecommendationsCommand, serializeAws_restJson1GetRecommendationsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRecommendationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRecommendationsCommand.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 = "CodeGuruProfilerClient";
15
- const commandName = "GetRecommendationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetRecommendationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRecommendationsResponseFilterSensitiveLog,
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
+ GetRecommendationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRecommendationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRecommendationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRecommendationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRecommendationsCommand;
38
+ }($Command));
39
+ export { GetRecommendationsCommand };