@aws-sdk/client-application-insights 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 (46) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/ApplicationInsights.js +117 -110
  4. package/dist-es/ApplicationInsightsClient.js +28 -22
  5. package/dist-es/commands/CreateApplicationCommand.js +28 -21
  6. package/dist-es/commands/CreateComponentCommand.js +28 -21
  7. package/dist-es/commands/CreateLogPatternCommand.js +28 -21
  8. package/dist-es/commands/DeleteApplicationCommand.js +28 -21
  9. package/dist-es/commands/DeleteComponentCommand.js +28 -21
  10. package/dist-es/commands/DeleteLogPatternCommand.js +28 -21
  11. package/dist-es/commands/DescribeApplicationCommand.js +28 -21
  12. package/dist-es/commands/DescribeComponentCommand.js +28 -21
  13. package/dist-es/commands/DescribeComponentConfigurationCommand.js +28 -21
  14. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +28 -21
  15. package/dist-es/commands/DescribeLogPatternCommand.js +28 -21
  16. package/dist-es/commands/DescribeObservationCommand.js +28 -21
  17. package/dist-es/commands/DescribeProblemCommand.js +28 -21
  18. package/dist-es/commands/DescribeProblemObservationsCommand.js +28 -21
  19. package/dist-es/commands/ListApplicationsCommand.js +28 -21
  20. package/dist-es/commands/ListComponentsCommand.js +28 -21
  21. package/dist-es/commands/ListConfigurationHistoryCommand.js +28 -21
  22. package/dist-es/commands/ListLogPatternSetsCommand.js +28 -21
  23. package/dist-es/commands/ListLogPatternsCommand.js +28 -21
  24. package/dist-es/commands/ListProblemsCommand.js +28 -21
  25. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  26. package/dist-es/commands/TagResourceCommand.js +28 -21
  27. package/dist-es/commands/UntagResourceCommand.js +28 -21
  28. package/dist-es/commands/UpdateApplicationCommand.js +28 -21
  29. package/dist-es/commands/UpdateComponentCommand.js +28 -21
  30. package/dist-es/commands/UpdateComponentConfigurationCommand.js +28 -21
  31. package/dist-es/commands/UpdateLogPatternCommand.js +28 -21
  32. package/dist-es/endpoints.js +8 -8
  33. package/dist-es/models/ApplicationInsightsServiceException.js +10 -5
  34. package/dist-es/models/models_0.js +160 -283
  35. package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
  36. package/dist-es/pagination/ListComponentsPaginator.js +68 -25
  37. package/dist-es/pagination/ListConfigurationHistoryPaginator.js +68 -25
  38. package/dist-es/pagination/ListLogPatternSetsPaginator.js +68 -25
  39. package/dist-es/pagination/ListLogPatternsPaginator.js +68 -25
  40. package/dist-es/pagination/ListProblemsPaginator.js +68 -25
  41. package/dist-es/protocols/Aws_json1_1.js +2210 -1705
  42. package/dist-es/runtimeConfig.browser.js +12 -26
  43. package/dist-es/runtimeConfig.js +12 -30
  44. package/dist-es/runtimeConfig.native.js +5 -8
  45. package/dist-es/runtimeConfig.shared.js +11 -8
  46. 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 { DescribeLogPatternRequestFilterSensitiveLog, DescribeLogPatternResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeLogPatternCommand, serializeAws_json1_1DescribeLogPatternCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeLogPatternCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeLogPatternCommand = (function (_super) {
7
+ __extends(DescribeLogPatternCommand, _super);
8
+ function DescribeLogPatternCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeLogPatternCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "DescribeLogPatternCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "DescribeLogPatternCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeLogPatternRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeLogPatternResponseFilterSensitiveLog,
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
+ DescribeLogPatternCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeLogPatternCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeLogPatternCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeLogPatternCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeLogPatternCommand;
38
+ }($Command));
39
+ export { DescribeLogPatternCommand };
@@ -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 { DescribeObservationRequestFilterSensitiveLog, DescribeObservationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeObservationCommand, serializeAws_json1_1DescribeObservationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeObservationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeObservationCommand = (function (_super) {
7
+ __extends(DescribeObservationCommand, _super);
8
+ function DescribeObservationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeObservationCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "DescribeObservationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "DescribeObservationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeObservationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeObservationResponseFilterSensitiveLog,
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
+ DescribeObservationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeObservationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeObservationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeObservationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeObservationCommand;
38
+ }($Command));
39
+ export { DescribeObservationCommand };
@@ -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 { DescribeProblemRequestFilterSensitiveLog, DescribeProblemResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeProblemCommand, serializeAws_json1_1DescribeProblemCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeProblemCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeProblemCommand = (function (_super) {
7
+ __extends(DescribeProblemCommand, _super);
8
+ function DescribeProblemCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeProblemCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "DescribeProblemCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "DescribeProblemCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeProblemRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeProblemResponseFilterSensitiveLog,
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
+ DescribeProblemCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeProblemCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeProblemCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeProblemCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeProblemCommand;
38
+ }($Command));
39
+ export { DescribeProblemCommand };
@@ -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 { DescribeProblemObservationsRequestFilterSensitiveLog, DescribeProblemObservationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeProblemObservationsCommand, serializeAws_json1_1DescribeProblemObservationsCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeProblemObservationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeProblemObservationsCommand = (function (_super) {
7
+ __extends(DescribeProblemObservationsCommand, _super);
8
+ function DescribeProblemObservationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeProblemObservationsCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "DescribeProblemObservationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "DescribeProblemObservationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeProblemObservationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeProblemObservationsResponseFilterSensitiveLog,
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
+ DescribeProblemObservationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeProblemObservationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeProblemObservationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeProblemObservationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeProblemObservationsCommand;
38
+ }($Command));
39
+ export { DescribeProblemObservationsCommand };
@@ -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 { ListApplicationsRequestFilterSensitiveLog, ListApplicationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListApplicationsCommand, serializeAws_json1_1ListApplicationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListApplicationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListApplicationsCommand = (function (_super) {
7
+ __extends(ListApplicationsCommand, _super);
8
+ function ListApplicationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListApplicationsCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "ListApplicationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "ListApplicationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListApplicationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListApplicationsResponseFilterSensitiveLog,
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
+ ListApplicationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListApplicationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListApplicationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListApplicationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListApplicationsCommand;
38
+ }($Command));
39
+ export { ListApplicationsCommand };
@@ -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 { ListComponentsRequestFilterSensitiveLog, ListComponentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListComponentsCommand, serializeAws_json1_1ListComponentsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListComponentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListComponentsCommand = (function (_super) {
7
+ __extends(ListComponentsCommand, _super);
8
+ function ListComponentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListComponentsCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "ListComponentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "ListComponentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListComponentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListComponentsResponseFilterSensitiveLog,
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
+ ListComponentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListComponentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListComponentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListComponentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListComponentsCommand;
38
+ }($Command));
39
+ export { ListComponentsCommand };
@@ -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 { ListConfigurationHistoryRequestFilterSensitiveLog, ListConfigurationHistoryResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListConfigurationHistoryCommand, serializeAws_json1_1ListConfigurationHistoryCommand, } from "../protocols/Aws_json1_1";
5
- export class ListConfigurationHistoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListConfigurationHistoryCommand = (function (_super) {
7
+ __extends(ListConfigurationHistoryCommand, _super);
8
+ function ListConfigurationHistoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListConfigurationHistoryCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "ListConfigurationHistoryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "ListConfigurationHistoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListConfigurationHistoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListConfigurationHistoryResponseFilterSensitiveLog,
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
+ ListConfigurationHistoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListConfigurationHistoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListConfigurationHistoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListConfigurationHistoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListConfigurationHistoryCommand;
38
+ }($Command));
39
+ export { ListConfigurationHistoryCommand };
@@ -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 { ListLogPatternSetsRequestFilterSensitiveLog, ListLogPatternSetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListLogPatternSetsCommand, serializeAws_json1_1ListLogPatternSetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListLogPatternSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListLogPatternSetsCommand = (function (_super) {
7
+ __extends(ListLogPatternSetsCommand, _super);
8
+ function ListLogPatternSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListLogPatternSetsCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "ListLogPatternSetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "ListLogPatternSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListLogPatternSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListLogPatternSetsResponseFilterSensitiveLog,
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
+ ListLogPatternSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListLogPatternSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListLogPatternSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListLogPatternSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListLogPatternSetsCommand;
38
+ }($Command));
39
+ export { ListLogPatternSetsCommand };
@@ -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 { ListLogPatternsRequestFilterSensitiveLog, ListLogPatternsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListLogPatternsCommand, serializeAws_json1_1ListLogPatternsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListLogPatternsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListLogPatternsCommand = (function (_super) {
7
+ __extends(ListLogPatternsCommand, _super);
8
+ function ListLogPatternsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListLogPatternsCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "ListLogPatternsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "ListLogPatternsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListLogPatternsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListLogPatternsResponseFilterSensitiveLog,
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
+ ListLogPatternsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListLogPatternsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListLogPatternsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListLogPatternsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListLogPatternsCommand;
38
+ }($Command));
39
+ export { ListLogPatternsCommand };
@@ -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 { ListProblemsRequestFilterSensitiveLog, ListProblemsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListProblemsCommand, serializeAws_json1_1ListProblemsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListProblemsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListProblemsCommand = (function (_super) {
7
+ __extends(ListProblemsCommand, _super);
8
+ function ListProblemsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListProblemsCommand.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 = "ApplicationInsightsClient";
15
- const commandName = "ListProblemsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ApplicationInsightsClient";
18
+ var commandName = "ListProblemsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListProblemsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListProblemsResponseFilterSensitiveLog,
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
+ ListProblemsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListProblemsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListProblemsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListProblemsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListProblemsCommand;
38
+ }($Command));
39
+ export { ListProblemsCommand };