@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 { CreateApplicationRequestFilterSensitiveLog, CreateApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateApplicationCommand, serializeAws_json1_1CreateApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateApplicationCommand = (function (_super) {
7
+ __extends(CreateApplicationCommand, _super);
8
+ function CreateApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateApplicationCommand.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 = "CreateApplicationCommand";
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 = "CreateApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateApplicationResponseFilterSensitiveLog,
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
+ CreateApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateApplicationCommand;
38
+ }($Command));
39
+ export { CreateApplicationCommand };
@@ -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 { CreateComponentRequestFilterSensitiveLog, CreateComponentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateComponentCommand, serializeAws_json1_1CreateComponentCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateComponentCommand = (function (_super) {
7
+ __extends(CreateComponentCommand, _super);
8
+ function CreateComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateComponentCommand.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 = "CreateComponentCommand";
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 = "CreateComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateComponentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateComponentResponseFilterSensitiveLog,
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
+ CreateComponentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateComponentCommand;
38
+ }($Command));
39
+ export { CreateComponentCommand };
@@ -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 { CreateLogPatternRequestFilterSensitiveLog, CreateLogPatternResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLogPatternCommand, serializeAws_json1_1CreateLogPatternCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateLogPatternCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLogPatternCommand = (function (_super) {
7
+ __extends(CreateLogPatternCommand, _super);
8
+ function CreateLogPatternCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLogPatternCommand.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 = "CreateLogPatternCommand";
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 = "CreateLogPatternCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLogPatternRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLogPatternResponseFilterSensitiveLog,
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
+ CreateLogPatternCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLogPatternCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLogPatternCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLogPatternCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLogPatternCommand;
38
+ }($Command));
39
+ export { CreateLogPatternCommand };
@@ -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 { DeleteApplicationRequestFilterSensitiveLog, DeleteApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteApplicationCommand, serializeAws_json1_1DeleteApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteApplicationCommand = (function (_super) {
7
+ __extends(DeleteApplicationCommand, _super);
8
+ function DeleteApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteApplicationCommand.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 = "DeleteApplicationCommand";
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 = "DeleteApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteApplicationResponseFilterSensitiveLog,
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
+ DeleteApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteApplicationCommand;
38
+ }($Command));
39
+ export { DeleteApplicationCommand };
@@ -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 { DeleteComponentRequestFilterSensitiveLog, DeleteComponentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteComponentCommand, serializeAws_json1_1DeleteComponentCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteComponentCommand = (function (_super) {
7
+ __extends(DeleteComponentCommand, _super);
8
+ function DeleteComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteComponentCommand.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 = "DeleteComponentCommand";
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 = "DeleteComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteComponentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteComponentResponseFilterSensitiveLog,
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
+ DeleteComponentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteComponentCommand;
38
+ }($Command));
39
+ export { DeleteComponentCommand };
@@ -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 { DeleteLogPatternRequestFilterSensitiveLog, DeleteLogPatternResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteLogPatternCommand, serializeAws_json1_1DeleteLogPatternCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteLogPatternCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLogPatternCommand = (function (_super) {
7
+ __extends(DeleteLogPatternCommand, _super);
8
+ function DeleteLogPatternCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLogPatternCommand.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 = "DeleteLogPatternCommand";
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 = "DeleteLogPatternCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLogPatternRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteLogPatternResponseFilterSensitiveLog,
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
+ DeleteLogPatternCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteLogPatternCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLogPatternCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteLogPatternCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLogPatternCommand;
38
+ }($Command));
39
+ export { DeleteLogPatternCommand };
@@ -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 { DescribeApplicationRequestFilterSensitiveLog, DescribeApplicationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeApplicationCommand, serializeAws_json1_1DescribeApplicationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeApplicationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeApplicationCommand = (function (_super) {
7
+ __extends(DescribeApplicationCommand, _super);
8
+ function DescribeApplicationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeApplicationCommand.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 = "DescribeApplicationCommand";
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 = "DescribeApplicationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeApplicationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeApplicationResponseFilterSensitiveLog,
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
+ DescribeApplicationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeApplicationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeApplicationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeApplicationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeApplicationCommand;
38
+ }($Command));
39
+ export { DescribeApplicationCommand };
@@ -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 { DescribeComponentRequestFilterSensitiveLog, DescribeComponentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeComponentCommand, serializeAws_json1_1DescribeComponentCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeComponentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeComponentCommand = (function (_super) {
7
+ __extends(DescribeComponentCommand, _super);
8
+ function DescribeComponentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeComponentCommand.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 = "DescribeComponentCommand";
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 = "DescribeComponentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeComponentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeComponentResponseFilterSensitiveLog,
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
+ DescribeComponentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeComponentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeComponentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeComponentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeComponentCommand;
38
+ }($Command));
39
+ export { DescribeComponentCommand };
@@ -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 { DescribeComponentConfigurationRequestFilterSensitiveLog, DescribeComponentConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeComponentConfigurationCommand, serializeAws_json1_1DescribeComponentConfigurationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeComponentConfigurationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeComponentConfigurationCommand = (function (_super) {
7
+ __extends(DescribeComponentConfigurationCommand, _super);
8
+ function DescribeComponentConfigurationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeComponentConfigurationCommand.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 = "DescribeComponentConfigurationCommand";
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 = "DescribeComponentConfigurationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeComponentConfigurationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeComponentConfigurationResponseFilterSensitiveLog,
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
+ DescribeComponentConfigurationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeComponentConfigurationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeComponentConfigurationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeComponentConfigurationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeComponentConfigurationCommand;
38
+ }($Command));
39
+ export { DescribeComponentConfigurationCommand };
@@ -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 { DescribeComponentConfigurationRecommendationRequestFilterSensitiveLog, DescribeComponentConfigurationRecommendationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommand, serializeAws_json1_1DescribeComponentConfigurationRecommendationCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeComponentConfigurationRecommendationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeComponentConfigurationRecommendationCommand = (function (_super) {
7
+ __extends(DescribeComponentConfigurationRecommendationCommand, _super);
8
+ function DescribeComponentConfigurationRecommendationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeComponentConfigurationRecommendationCommand.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 = "DescribeComponentConfigurationRecommendationCommand";
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 = "DescribeComponentConfigurationRecommendationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeComponentConfigurationRecommendationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeComponentConfigurationRecommendationResponseFilterSensitiveLog,
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
+ DescribeComponentConfigurationRecommendationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeComponentConfigurationRecommendationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeComponentConfigurationRecommendationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeComponentConfigurationRecommendationCommand;
38
+ }($Command));
39
+ export { DescribeComponentConfigurationRecommendationCommand };