@aws-sdk/client-application-insights 3.477.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 (165) 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-cjs/pagination/ListApplicationsPaginator.js +2 -24
  36. package/dist-cjs/pagination/ListComponentsPaginator.js +2 -24
  37. package/dist-cjs/pagination/ListConfigurationHistoryPaginator.js +2 -24
  38. package/dist-cjs/pagination/ListLogPatternSetsPaginator.js +2 -24
  39. package/dist-cjs/pagination/ListLogPatternsPaginator.js +2 -24
  40. package/dist-cjs/pagination/ListProblemsPaginator.js +2 -24
  41. package/dist-cjs/pagination/ListWorkloadsPaginator.js +2 -24
  42. package/dist-es/commands/AddWorkloadCommand.js +18 -41
  43. package/dist-es/commands/CreateApplicationCommand.js +18 -41
  44. package/dist-es/commands/CreateComponentCommand.js +18 -41
  45. package/dist-es/commands/CreateLogPatternCommand.js +18 -41
  46. package/dist-es/commands/DeleteApplicationCommand.js +18 -41
  47. package/dist-es/commands/DeleteComponentCommand.js +18 -41
  48. package/dist-es/commands/DeleteLogPatternCommand.js +18 -41
  49. package/dist-es/commands/DescribeApplicationCommand.js +18 -41
  50. package/dist-es/commands/DescribeComponentCommand.js +18 -41
  51. package/dist-es/commands/DescribeComponentConfigurationCommand.js +18 -41
  52. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +18 -41
  53. package/dist-es/commands/DescribeLogPatternCommand.js +18 -41
  54. package/dist-es/commands/DescribeObservationCommand.js +18 -41
  55. package/dist-es/commands/DescribeProblemCommand.js +18 -41
  56. package/dist-es/commands/DescribeProblemObservationsCommand.js +18 -41
  57. package/dist-es/commands/DescribeWorkloadCommand.js +18 -41
  58. package/dist-es/commands/ListApplicationsCommand.js +18 -41
  59. package/dist-es/commands/ListComponentsCommand.js +18 -41
  60. package/dist-es/commands/ListConfigurationHistoryCommand.js +18 -41
  61. package/dist-es/commands/ListLogPatternSetsCommand.js +18 -41
  62. package/dist-es/commands/ListLogPatternsCommand.js +18 -41
  63. package/dist-es/commands/ListProblemsCommand.js +18 -41
  64. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  65. package/dist-es/commands/ListWorkloadsCommand.js +18 -41
  66. package/dist-es/commands/RemoveWorkloadCommand.js +18 -41
  67. package/dist-es/commands/TagResourceCommand.js +18 -41
  68. package/dist-es/commands/UntagResourceCommand.js +18 -41
  69. package/dist-es/commands/UpdateApplicationCommand.js +18 -41
  70. package/dist-es/commands/UpdateComponentCommand.js +18 -41
  71. package/dist-es/commands/UpdateComponentConfigurationCommand.js +18 -41
  72. package/dist-es/commands/UpdateLogPatternCommand.js +18 -41
  73. package/dist-es/commands/UpdateProblemCommand.js +18 -41
  74. package/dist-es/commands/UpdateWorkloadCommand.js +18 -41
  75. package/dist-es/endpoint/EndpointParameters.js +6 -0
  76. package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
  77. package/dist-es/pagination/ListComponentsPaginator.js +2 -23
  78. package/dist-es/pagination/ListConfigurationHistoryPaginator.js +2 -23
  79. package/dist-es/pagination/ListLogPatternSetsPaginator.js +2 -23
  80. package/dist-es/pagination/ListLogPatternsPaginator.js +2 -23
  81. package/dist-es/pagination/ListProblemsPaginator.js +2 -23
  82. package/dist-es/pagination/ListWorkloadsPaginator.js +2 -23
  83. package/dist-types/commands/AddWorkloadCommand.d.ts +6 -21
  84. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
  85. package/dist-types/commands/CreateComponentCommand.d.ts +6 -21
  86. package/dist-types/commands/CreateLogPatternCommand.d.ts +6 -21
  87. package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
  88. package/dist-types/commands/DeleteComponentCommand.d.ts +6 -21
  89. package/dist-types/commands/DeleteLogPatternCommand.d.ts +6 -21
  90. package/dist-types/commands/DescribeApplicationCommand.d.ts +6 -21
  91. package/dist-types/commands/DescribeComponentCommand.d.ts +6 -21
  92. package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +6 -21
  93. package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +6 -21
  94. package/dist-types/commands/DescribeLogPatternCommand.d.ts +6 -21
  95. package/dist-types/commands/DescribeObservationCommand.d.ts +6 -21
  96. package/dist-types/commands/DescribeProblemCommand.d.ts +6 -21
  97. package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +6 -21
  98. package/dist-types/commands/DescribeWorkloadCommand.d.ts +6 -21
  99. package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
  100. package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
  101. package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +6 -21
  102. package/dist-types/commands/ListLogPatternSetsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListLogPatternsCommand.d.ts +6 -21
  104. package/dist-types/commands/ListProblemsCommand.d.ts +6 -21
  105. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  106. package/dist-types/commands/ListWorkloadsCommand.d.ts +6 -21
  107. package/dist-types/commands/RemoveWorkloadCommand.d.ts +6 -21
  108. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  109. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  110. package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
  111. package/dist-types/commands/UpdateComponentCommand.d.ts +6 -21
  112. package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +6 -21
  113. package/dist-types/commands/UpdateLogPatternCommand.d.ts +6 -21
  114. package/dist-types/commands/UpdateProblemCommand.d.ts +6 -21
  115. package/dist-types/commands/UpdateWorkloadCommand.d.ts +6 -21
  116. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  117. package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
  118. package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
  119. package/dist-types/pagination/ListConfigurationHistoryPaginator.d.ts +1 -1
  120. package/dist-types/pagination/ListLogPatternSetsPaginator.d.ts +1 -1
  121. package/dist-types/pagination/ListLogPatternsPaginator.d.ts +1 -1
  122. package/dist-types/pagination/ListProblemsPaginator.d.ts +1 -1
  123. package/dist-types/pagination/ListWorkloadsPaginator.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
  126. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +14 -23
  127. package/dist-types/ts3.4/commands/CreateLogPatternCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +14 -23
  130. package/dist-types/ts3.4/commands/DeleteLogPatternCommand.d.ts +14 -23
  131. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +14 -23
  133. package/dist-types/ts3.4/commands/DescribeComponentConfigurationCommand.d.ts +12 -24
  134. package/dist-types/ts3.4/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +12 -24
  135. package/dist-types/ts3.4/commands/DescribeLogPatternCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/DescribeObservationCommand.d.ts +14 -23
  137. package/dist-types/ts3.4/commands/DescribeProblemCommand.d.ts +14 -23
  138. package/dist-types/ts3.4/commands/DescribeProblemObservationsCommand.d.ts +12 -24
  139. package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListConfigurationHistoryCommand.d.ts +12 -24
  143. package/dist-types/ts3.4/commands/ListLogPatternSetsCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/ListLogPatternsCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/ListProblemsCommand.d.ts +14 -23
  146. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +14 -23
  153. package/dist-types/ts3.4/commands/UpdateComponentConfigurationCommand.d.ts +12 -24
  154. package/dist-types/ts3.4/commands/UpdateLogPatternCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  158. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
  159. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +3 -3
  160. package/dist-types/ts3.4/pagination/ListConfigurationHistoryPaginator.d.ts +3 -3
  161. package/dist-types/ts3.4/pagination/ListLogPatternSetsPaginator.d.ts +3 -3
  162. package/dist-types/ts3.4/pagination/ListLogPatternsPaginator.d.ts +3 -3
  163. package/dist-types/ts3.4/pagination/ListProblemsPaginator.d.ts +3 -3
  164. package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +3 -3
  165. package/package.json +11 -10
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListWorkloads = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ApplicationInsightsClient_1 = require("../ApplicationInsightsClient");
5
6
  const ListWorkloadsCommand_1 = require("../commands/ListWorkloadsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListWorkloadsCommand_1.ListWorkloadsCommand(input), ...args);
8
- };
9
- async function* paginateListWorkloads(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.NextToken = token;
15
- input["MaxResults"] = config.pageSize;
16
- if (config.client instanceof ApplicationInsightsClient_1.ApplicationInsightsClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.NextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListWorkloads = paginateListWorkloads;
7
+ exports.paginateListWorkloads = (0, core_1.createPaginator)(ApplicationInsightsClient_1.ApplicationInsightsClient, ListWorkloadsCommand_1.ListWorkloadsCommand, "NextToken", "NextToken", "MaxResults");
@@ -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_AddWorkloadCommand, se_AddWorkloadCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddWorkloadCommand 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, AddWorkloadCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "AddWorkloadCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "AddWorkload",
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_AddWorkloadCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddWorkloadCommand(output, context);
46
- }
7
+ export class AddWorkloadCommand 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", "AddWorkload", {})
19
+ .n("ApplicationInsightsClient", "AddWorkloadCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddWorkloadCommand)
22
+ .de(de_AddWorkloadCommand)
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_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateApplicationCommand 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, CreateApplicationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "CreateApplicationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "CreateApplication",
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_CreateApplicationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateApplicationCommand(output, context);
46
- }
7
+ export class CreateApplicationCommand 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", "CreateApplication", {})
19
+ .n("ApplicationInsightsClient", "CreateApplicationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateApplicationCommand)
22
+ .de(de_CreateApplicationCommand)
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_CreateComponentCommand, se_CreateComponentCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateComponentCommand 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, CreateComponentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "CreateComponentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "CreateComponent",
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_CreateComponentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateComponentCommand(output, context);
46
- }
7
+ export class CreateComponentCommand 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", "CreateComponent", {})
19
+ .n("ApplicationInsightsClient", "CreateComponentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateComponentCommand)
22
+ .de(de_CreateComponentCommand)
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_CreateLogPatternCommand, se_CreateLogPatternCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateLogPatternCommand 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, CreateLogPatternCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "CreateLogPatternCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "CreateLogPattern",
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_CreateLogPatternCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateLogPatternCommand(output, context);
46
- }
7
+ export class CreateLogPatternCommand 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", "CreateLogPattern", {})
19
+ .n("ApplicationInsightsClient", "CreateLogPatternCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateLogPatternCommand)
22
+ .de(de_CreateLogPatternCommand)
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_DeleteApplicationCommand, se_DeleteApplicationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteApplicationCommand 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, DeleteApplicationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DeleteApplicationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DeleteApplication",
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_DeleteApplicationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteApplicationCommand(output, context);
46
- }
7
+ export class DeleteApplicationCommand 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", "DeleteApplication", {})
19
+ .n("ApplicationInsightsClient", "DeleteApplicationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteApplicationCommand)
22
+ .de(de_DeleteApplicationCommand)
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_DeleteComponentCommand, se_DeleteComponentCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteComponentCommand 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, DeleteComponentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DeleteComponentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DeleteComponent",
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_DeleteComponentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteComponentCommand(output, context);
46
- }
7
+ export class DeleteComponentCommand 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", "DeleteComponent", {})
19
+ .n("ApplicationInsightsClient", "DeleteComponentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteComponentCommand)
22
+ .de(de_DeleteComponentCommand)
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_DeleteLogPatternCommand, se_DeleteLogPatternCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DeleteLogPatternCommand 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, DeleteLogPatternCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DeleteLogPatternCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DeleteLogPattern",
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_DeleteLogPatternCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteLogPatternCommand(output, context);
46
- }
7
+ export class DeleteLogPatternCommand 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", "DeleteLogPattern", {})
19
+ .n("ApplicationInsightsClient", "DeleteLogPatternCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteLogPatternCommand)
22
+ .de(de_DeleteLogPatternCommand)
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_DescribeApplicationCommand, se_DescribeApplicationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeApplicationCommand 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, DescribeApplicationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DescribeApplicationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DescribeApplication",
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_DescribeApplicationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeApplicationCommand(output, context);
46
- }
7
+ export class DescribeApplicationCommand 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", "DescribeApplication", {})
19
+ .n("ApplicationInsightsClient", "DescribeApplicationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeApplicationCommand)
22
+ .de(de_DescribeApplicationCommand)
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_DescribeComponentCommand, se_DescribeComponentCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeComponentCommand 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, DescribeComponentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "DescribeComponentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "DescribeComponent",
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_DescribeComponentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeComponentCommand(output, context);
46
- }
7
+ export class DescribeComponentCommand 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", "DescribeComponent", {})
19
+ .n("ApplicationInsightsClient", "DescribeComponentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeComponentCommand)
22
+ .de(de_DescribeComponentCommand)
23
+ .build() {
47
24
  }