@aws-sdk/client-application-insights 3.478.0 → 3.481.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 (137) hide show
  1. package/dist-cjs/commands/AddWorkloadCommand.js +18 -41
  2. package/dist-cjs/commands/CreateApplicationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateComponentCommand.js +18 -41
  4. package/dist-cjs/commands/CreateLogPatternCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteComponentCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteLogPatternCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeApplicationCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeComponentCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeComponentConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeLogPatternCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeObservationCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeProblemCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeProblemObservationsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeWorkloadCommand.js +18 -41
  17. package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
  18. package/dist-cjs/commands/ListComponentsCommand.js +18 -41
  19. package/dist-cjs/commands/ListConfigurationHistoryCommand.js +18 -41
  20. package/dist-cjs/commands/ListLogPatternSetsCommand.js +18 -41
  21. package/dist-cjs/commands/ListLogPatternsCommand.js +18 -41
  22. package/dist-cjs/commands/ListProblemsCommand.js +18 -41
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  24. package/dist-cjs/commands/ListWorkloadsCommand.js +18 -41
  25. package/dist-cjs/commands/RemoveWorkloadCommand.js +18 -41
  26. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  27. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  28. package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
  29. package/dist-cjs/commands/UpdateComponentCommand.js +18 -41
  30. package/dist-cjs/commands/UpdateComponentConfigurationCommand.js +18 -41
  31. package/dist-cjs/commands/UpdateLogPatternCommand.js +18 -41
  32. package/dist-cjs/commands/UpdateProblemCommand.js +18 -41
  33. package/dist-cjs/commands/UpdateWorkloadCommand.js +18 -41
  34. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  35. package/dist-es/commands/AddWorkloadCommand.js +18 -41
  36. package/dist-es/commands/CreateApplicationCommand.js +18 -41
  37. package/dist-es/commands/CreateComponentCommand.js +18 -41
  38. package/dist-es/commands/CreateLogPatternCommand.js +18 -41
  39. package/dist-es/commands/DeleteApplicationCommand.js +18 -41
  40. package/dist-es/commands/DeleteComponentCommand.js +18 -41
  41. package/dist-es/commands/DeleteLogPatternCommand.js +18 -41
  42. package/dist-es/commands/DescribeApplicationCommand.js +18 -41
  43. package/dist-es/commands/DescribeComponentCommand.js +18 -41
  44. package/dist-es/commands/DescribeComponentConfigurationCommand.js +18 -41
  45. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +18 -41
  46. package/dist-es/commands/DescribeLogPatternCommand.js +18 -41
  47. package/dist-es/commands/DescribeObservationCommand.js +18 -41
  48. package/dist-es/commands/DescribeProblemCommand.js +18 -41
  49. package/dist-es/commands/DescribeProblemObservationsCommand.js +18 -41
  50. package/dist-es/commands/DescribeWorkloadCommand.js +18 -41
  51. package/dist-es/commands/ListApplicationsCommand.js +18 -41
  52. package/dist-es/commands/ListComponentsCommand.js +18 -41
  53. package/dist-es/commands/ListConfigurationHistoryCommand.js +18 -41
  54. package/dist-es/commands/ListLogPatternSetsCommand.js +18 -41
  55. package/dist-es/commands/ListLogPatternsCommand.js +18 -41
  56. package/dist-es/commands/ListProblemsCommand.js +18 -41
  57. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  58. package/dist-es/commands/ListWorkloadsCommand.js +18 -41
  59. package/dist-es/commands/RemoveWorkloadCommand.js +18 -41
  60. package/dist-es/commands/TagResourceCommand.js +18 -41
  61. package/dist-es/commands/UntagResourceCommand.js +18 -41
  62. package/dist-es/commands/UpdateApplicationCommand.js +18 -41
  63. package/dist-es/commands/UpdateComponentCommand.js +18 -41
  64. package/dist-es/commands/UpdateComponentConfigurationCommand.js +18 -41
  65. package/dist-es/commands/UpdateLogPatternCommand.js +18 -41
  66. package/dist-es/commands/UpdateProblemCommand.js +18 -41
  67. package/dist-es/commands/UpdateWorkloadCommand.js +18 -41
  68. package/dist-es/endpoint/EndpointParameters.js +6 -0
  69. package/dist-types/commands/AddWorkloadCommand.d.ts +6 -21
  70. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
  71. package/dist-types/commands/CreateComponentCommand.d.ts +6 -21
  72. package/dist-types/commands/CreateLogPatternCommand.d.ts +6 -21
  73. package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
  74. package/dist-types/commands/DeleteComponentCommand.d.ts +6 -21
  75. package/dist-types/commands/DeleteLogPatternCommand.d.ts +6 -21
  76. package/dist-types/commands/DescribeApplicationCommand.d.ts +6 -21
  77. package/dist-types/commands/DescribeComponentCommand.d.ts +6 -21
  78. package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +6 -21
  79. package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +6 -21
  80. package/dist-types/commands/DescribeLogPatternCommand.d.ts +6 -21
  81. package/dist-types/commands/DescribeObservationCommand.d.ts +6 -21
  82. package/dist-types/commands/DescribeProblemCommand.d.ts +6 -21
  83. package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +6 -21
  84. package/dist-types/commands/DescribeWorkloadCommand.d.ts +6 -21
  85. package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
  86. package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
  87. package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +6 -21
  88. package/dist-types/commands/ListLogPatternSetsCommand.d.ts +6 -21
  89. package/dist-types/commands/ListLogPatternsCommand.d.ts +6 -21
  90. package/dist-types/commands/ListProblemsCommand.d.ts +6 -21
  91. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  92. package/dist-types/commands/ListWorkloadsCommand.d.ts +6 -21
  93. package/dist-types/commands/RemoveWorkloadCommand.d.ts +6 -21
  94. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  95. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  96. package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
  97. package/dist-types/commands/UpdateComponentCommand.d.ts +6 -21
  98. package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +6 -21
  99. package/dist-types/commands/UpdateLogPatternCommand.d.ts +6 -21
  100. package/dist-types/commands/UpdateProblemCommand.d.ts +6 -21
  101. package/dist-types/commands/UpdateWorkloadCommand.d.ts +6 -21
  102. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  103. package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/CreateLogPatternCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/DeleteLogPatternCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +14 -23
  111. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/DescribeComponentConfigurationCommand.d.ts +12 -24
  113. package/dist-types/ts3.4/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +12 -24
  114. package/dist-types/ts3.4/commands/DescribeLogPatternCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/DescribeObservationCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/DescribeProblemCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/DescribeProblemObservationsCommand.d.ts +12 -24
  118. package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/ListConfigurationHistoryCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/ListLogPatternSetsCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/ListLogPatternsCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/ListProblemsCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/UpdateComponentConfigurationCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/UpdateLogPatternCommand.d.ts +14 -23
  134. package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +14 -23
  135. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  137. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeObservationCommand, se_DescribeObservationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeObservationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeObservationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DescribeObservationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DescribeObservation",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeObservationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeObservationCommand(output, context);
46
- }
7
+ export class DescribeObservationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "DescribeObservation", {})
19
+ .n("ApplicationInsightsClient", "DescribeObservationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeObservationCommand)
22
+ .de(de_DescribeObservationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeProblemCommand, se_DescribeProblemCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeProblemCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeProblemCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DescribeProblemCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DescribeProblem",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeProblemCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeProblemCommand(output, context);
46
- }
7
+ export class DescribeProblemCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "DescribeProblem", {})
19
+ .n("ApplicationInsightsClient", "DescribeProblemCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeProblemCommand)
22
+ .de(de_DescribeProblemCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeProblemObservationsCommand, se_DescribeProblemObservationsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeProblemObservationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeProblemObservationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DescribeProblemObservationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DescribeProblemObservations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeProblemObservationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeProblemObservationsCommand(output, context);
46
- }
7
+ export class DescribeProblemObservationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "DescribeProblemObservations", {})
19
+ .n("ApplicationInsightsClient", "DescribeProblemObservationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeProblemObservationsCommand)
22
+ .de(de_DescribeProblemObservationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeWorkloadCommand, se_DescribeWorkloadCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeWorkloadCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeWorkloadCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DescribeWorkloadCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DescribeWorkload",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeWorkloadCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeWorkloadCommand(output, context);
46
- }
7
+ export class DescribeWorkloadCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "DescribeWorkload", {})
19
+ .n("ApplicationInsightsClient", "DescribeWorkloadCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeWorkloadCommand)
22
+ .de(de_DescribeWorkloadCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListApplicationsCommand, se_ListApplicationsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListApplicationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListApplicationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListApplicationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListApplications",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListApplicationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListApplicationsCommand(output, context);
46
- }
7
+ export class ListApplicationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "ListApplications", {})
19
+ .n("ApplicationInsightsClient", "ListApplicationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListApplicationsCommand)
22
+ .de(de_ListApplicationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListComponentsCommand, se_ListComponentsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListComponentsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListComponentsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListComponentsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListComponents",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListComponentsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListComponentsCommand(output, context);
46
- }
7
+ export class ListComponentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "ListComponents", {})
19
+ .n("ApplicationInsightsClient", "ListComponentsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListComponentsCommand)
22
+ .de(de_ListComponentsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListConfigurationHistoryCommand, se_ListConfigurationHistoryCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListConfigurationHistoryCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListConfigurationHistoryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListConfigurationHistoryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListConfigurationHistory",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListConfigurationHistoryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListConfigurationHistoryCommand(output, context);
46
- }
7
+ export class ListConfigurationHistoryCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "ListConfigurationHistory", {})
19
+ .n("ApplicationInsightsClient", "ListConfigurationHistoryCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListConfigurationHistoryCommand)
22
+ .de(de_ListConfigurationHistoryCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListLogPatternSetsCommand, se_ListLogPatternSetsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListLogPatternSetsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListLogPatternSetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListLogPatternSetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListLogPatternSets",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListLogPatternSetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListLogPatternSetsCommand(output, context);
46
- }
7
+ export class ListLogPatternSetsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "ListLogPatternSets", {})
19
+ .n("ApplicationInsightsClient", "ListLogPatternSetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListLogPatternSetsCommand)
22
+ .de(de_ListLogPatternSetsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListLogPatternsCommand, se_ListLogPatternsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListLogPatternsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListLogPatternsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListLogPatternsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListLogPatterns",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListLogPatternsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListLogPatternsCommand(output, context);
46
- }
7
+ export class ListLogPatternsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("EC2WindowsBarleyService", "ListLogPatterns", {})
19
+ .n("ApplicationInsightsClient", "ListLogPatternsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListLogPatternsCommand)
22
+ .de(de_ListLogPatternsCommand)
23
+ .build() {
47
24
  }