@aws-sdk/client-codeguruprofiler 3.186.0 → 3.188.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 { ListProfileTimesRequestFilterSensitiveLog, ListProfileTimesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListProfileTimesCommand, serializeAws_restJson1ListProfileTimesCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListProfileTimesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListProfileTimesCommand.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 = "ListProfileTimesCommand";
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 = "ListProfileTimesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListProfileTimesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListProfileTimesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListProfileTimesCommand(input, context);
33
- };
34
- ListProfileTimesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListProfileTimesCommand(output, context);
36
- };
37
- return ListProfileTimesCommand;
38
- }($Command));
39
- export { ListProfileTimesCommand };
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 { ListProfilingGroupsRequestFilterSensitiveLog, ListProfilingGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListProfilingGroupsCommand, serializeAws_restJson1ListProfilingGroupsCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListProfilingGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListProfilingGroupsCommand.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 = "ListProfilingGroupsCommand";
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 = "ListProfilingGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListProfilingGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListProfilingGroupsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListProfilingGroupsCommand(input, context);
33
- };
34
- ListProfilingGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListProfilingGroupsCommand(output, context);
36
- };
37
- return ListProfilingGroupsCommand;
38
- }($Command));
39
- export { ListProfilingGroupsCommand };
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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
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 { PostAgentProfileRequestFilterSensitiveLog, PostAgentProfileResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PostAgentProfileCommand, serializeAws_restJson1PostAgentProfileCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class PostAgentProfileCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PostAgentProfileCommand.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 = "PostAgentProfileCommand";
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 = "PostAgentProfileCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PostAgentProfileRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PostAgentProfileResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PostAgentProfileCommand(input, context);
33
- };
34
- PostAgentProfileCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PostAgentProfileCommand(output, context);
36
- };
37
- return PostAgentProfileCommand;
38
- }($Command));
39
- export { PostAgentProfileCommand };
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 { PutPermissionRequestFilterSensitiveLog, PutPermissionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutPermissionCommand, serializeAws_restJson1PutPermissionCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class PutPermissionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutPermissionCommand.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 = "PutPermissionCommand";
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 = "PutPermissionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutPermissionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutPermissionResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PutPermissionCommand(input, context);
33
- };
34
- PutPermissionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutPermissionCommand(output, context);
36
- };
37
- return PutPermissionCommand;
38
- }($Command));
39
- export { PutPermissionCommand };
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 { RemoveNotificationChannelRequestFilterSensitiveLog, RemoveNotificationChannelResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RemoveNotificationChannelCommand, serializeAws_restJson1RemoveNotificationChannelCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class RemoveNotificationChannelCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveNotificationChannelCommand.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 = "RemoveNotificationChannelCommand";
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 = "RemoveNotificationChannelCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveNotificationChannelRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemoveNotificationChannelResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RemoveNotificationChannelCommand(input, context);
33
- };
34
- RemoveNotificationChannelCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RemoveNotificationChannelCommand(output, context);
36
- };
37
- return RemoveNotificationChannelCommand;
38
- }($Command));
39
- export { RemoveNotificationChannelCommand };
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 { RemovePermissionRequestFilterSensitiveLog, RemovePermissionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1RemovePermissionCommand, serializeAws_restJson1RemovePermissionCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class RemovePermissionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemovePermissionCommand.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 = "RemovePermissionCommand";
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 = "RemovePermissionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemovePermissionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RemovePermissionResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1RemovePermissionCommand(input, context);
33
- };
34
- RemovePermissionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1RemovePermissionCommand(output, context);
36
- };
37
- return RemovePermissionCommand;
38
- }($Command));
39
- export { RemovePermissionCommand };
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 { SubmitFeedbackRequestFilterSensitiveLog, SubmitFeedbackResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1SubmitFeedbackCommand, serializeAws_restJson1SubmitFeedbackCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class SubmitFeedbackCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SubmitFeedbackCommand.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 = "SubmitFeedbackCommand";
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 = "SubmitFeedbackCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SubmitFeedbackRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SubmitFeedbackResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1SubmitFeedbackCommand(input, context);
33
- };
34
- SubmitFeedbackCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1SubmitFeedbackCommand(output, context);
36
- };
37
- return SubmitFeedbackCommand;
38
- }($Command));
39
- export { SubmitFeedbackCommand };
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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }