@aws-sdk/client-codeguruprofiler 3.183.0 → 3.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +11 -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 +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListProfileTimesRequestFilterSensitiveLog, ListProfileTimesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListProfileTimesCommand, serializeAws_restJson1ListProfileTimesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListProfileTimesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListProfileTimesCommand = (function (_super) {
7
+ __extends(ListProfileTimesCommand, _super);
8
+ function ListProfileTimesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListProfileTimesCommand.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 = "ListProfileTimesCommand";
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 = "ListProfileTimesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListProfileTimesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListProfileTimesResponseFilterSensitiveLog,
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
+ ListProfileTimesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListProfileTimesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListProfileTimesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListProfileTimesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListProfileTimesCommand;
38
+ }($Command));
39
+ export { ListProfileTimesCommand };
@@ -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 { ListProfilingGroupsRequestFilterSensitiveLog, ListProfilingGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListProfilingGroupsCommand, serializeAws_restJson1ListProfilingGroupsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListProfilingGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListProfilingGroupsCommand = (function (_super) {
7
+ __extends(ListProfilingGroupsCommand, _super);
8
+ function ListProfilingGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListProfilingGroupsCommand.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 = "ListProfilingGroupsCommand";
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 = "ListProfilingGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListProfilingGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListProfilingGroupsResponseFilterSensitiveLog,
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
+ ListProfilingGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListProfilingGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListProfilingGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListProfilingGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListProfilingGroupsCommand;
38
+ }($Command));
39
+ export { ListProfilingGroupsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { PostAgentProfileRequestFilterSensitiveLog, PostAgentProfileResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PostAgentProfileCommand, serializeAws_restJson1PostAgentProfileCommand, } from "../protocols/Aws_restJson1";
5
- export class PostAgentProfileCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PostAgentProfileCommand = (function (_super) {
7
+ __extends(PostAgentProfileCommand, _super);
8
+ function PostAgentProfileCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PostAgentProfileCommand.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 = "PostAgentProfileCommand";
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 = "PostAgentProfileCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PostAgentProfileRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PostAgentProfileResponseFilterSensitiveLog,
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
+ PostAgentProfileCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PostAgentProfileCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PostAgentProfileCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PostAgentProfileCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PostAgentProfileCommand;
38
+ }($Command));
39
+ export { PostAgentProfileCommand };
@@ -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 { PutPermissionRequestFilterSensitiveLog, PutPermissionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutPermissionCommand, serializeAws_restJson1PutPermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class PutPermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutPermissionCommand = (function (_super) {
7
+ __extends(PutPermissionCommand, _super);
8
+ function PutPermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutPermissionCommand.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 = "PutPermissionCommand";
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 = "PutPermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutPermissionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutPermissionResponseFilterSensitiveLog,
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
+ PutPermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutPermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutPermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutPermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutPermissionCommand;
38
+ }($Command));
39
+ export { PutPermissionCommand };
@@ -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 { RemoveNotificationChannelRequestFilterSensitiveLog, RemoveNotificationChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemoveNotificationChannelCommand, serializeAws_restJson1RemoveNotificationChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class RemoveNotificationChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveNotificationChannelCommand = (function (_super) {
7
+ __extends(RemoveNotificationChannelCommand, _super);
8
+ function RemoveNotificationChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveNotificationChannelCommand.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 = "RemoveNotificationChannelCommand";
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 = "RemoveNotificationChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveNotificationChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RemoveNotificationChannelResponseFilterSensitiveLog,
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
+ RemoveNotificationChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemoveNotificationChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveNotificationChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemoveNotificationChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveNotificationChannelCommand;
38
+ }($Command));
39
+ export { RemoveNotificationChannelCommand };
@@ -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 { RemovePermissionRequestFilterSensitiveLog, RemovePermissionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemovePermissionCommand, serializeAws_restJson1RemovePermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class RemovePermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemovePermissionCommand = (function (_super) {
7
+ __extends(RemovePermissionCommand, _super);
8
+ function RemovePermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemovePermissionCommand.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 = "RemovePermissionCommand";
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 = "RemovePermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemovePermissionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RemovePermissionResponseFilterSensitiveLog,
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
+ RemovePermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemovePermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemovePermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemovePermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemovePermissionCommand;
38
+ }($Command));
39
+ export { RemovePermissionCommand };
@@ -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 { SubmitFeedbackRequestFilterSensitiveLog, SubmitFeedbackResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1SubmitFeedbackCommand, serializeAws_restJson1SubmitFeedbackCommand, } from "../protocols/Aws_restJson1";
5
- export class SubmitFeedbackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SubmitFeedbackCommand = (function (_super) {
7
+ __extends(SubmitFeedbackCommand, _super);
8
+ function SubmitFeedbackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SubmitFeedbackCommand.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 = "SubmitFeedbackCommand";
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 = "SubmitFeedbackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SubmitFeedbackRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SubmitFeedbackResponseFilterSensitiveLog,
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
+ SubmitFeedbackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1SubmitFeedbackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SubmitFeedbackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1SubmitFeedbackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SubmitFeedbackCommand;
38
+ }($Command));
39
+ export { SubmitFeedbackCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };