@aws-sdk/client-application-insights 3.478.0 → 3.484.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 +11 -11
@@ -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_ListProblemsCommand, se_ListProblemsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListProblemsCommand 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, ListProblemsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListProblemsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListProblems",
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_ListProblemsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListProblemsCommand(output, context);
46
- }
7
+ export class ListProblemsCommand 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", "ListProblems", {})
19
+ .n("ApplicationInsightsClient", "ListProblemsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListProblemsCommand)
22
+ .de(de_ListProblemsCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
19
+ .n("ApplicationInsightsClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
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_ListWorkloadsCommand, se_ListWorkloadsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListWorkloadsCommand 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, ListWorkloadsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "ListWorkloadsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "ListWorkloads",
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_ListWorkloadsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListWorkloadsCommand(output, context);
46
- }
7
+ export class ListWorkloadsCommand 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", "ListWorkloads", {})
19
+ .n("ApplicationInsightsClient", "ListWorkloadsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListWorkloadsCommand)
22
+ .de(de_ListWorkloadsCommand)
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_RemoveWorkloadCommand, se_RemoveWorkloadCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RemoveWorkloadCommand 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, RemoveWorkloadCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "RemoveWorkloadCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "RemoveWorkload",
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_RemoveWorkloadCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RemoveWorkloadCommand(output, context);
46
- }
7
+ export class RemoveWorkloadCommand 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", "RemoveWorkload", {})
19
+ .n("ApplicationInsightsClient", "RemoveWorkloadCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RemoveWorkloadCommand)
22
+ .de(de_RemoveWorkloadCommand)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand 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", "TagResource", {})
19
+ .n("ApplicationInsightsClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand 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", "UntagResource", {})
19
+ .n("ApplicationInsightsClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
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_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateApplicationCommand 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, UpdateApplicationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "UpdateApplicationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "UpdateApplication",
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_UpdateApplicationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateApplicationCommand(output, context);
46
- }
7
+ export class UpdateApplicationCommand 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", "UpdateApplication", {})
19
+ .n("ApplicationInsightsClient", "UpdateApplicationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateApplicationCommand)
22
+ .de(de_UpdateApplicationCommand)
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_UpdateComponentCommand, se_UpdateComponentCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateComponentCommand 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, UpdateComponentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "UpdateComponentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "UpdateComponent",
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_UpdateComponentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateComponentCommand(output, context);
46
- }
7
+ export class UpdateComponentCommand 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", "UpdateComponent", {})
19
+ .n("ApplicationInsightsClient", "UpdateComponentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateComponentCommand)
22
+ .de(de_UpdateComponentCommand)
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_UpdateComponentConfigurationCommand, se_UpdateComponentConfigurationCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateComponentConfigurationCommand 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, UpdateComponentConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ApplicationInsightsClient";
26
- const commandName = "UpdateComponentConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "EC2WindowsBarleyService",
35
- operation: "UpdateComponentConfiguration",
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_UpdateComponentConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateComponentConfigurationCommand(output, context);
46
- }
7
+ export class UpdateComponentConfigurationCommand 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", "UpdateComponentConfiguration", {})
19
+ .n("ApplicationInsightsClient", "UpdateComponentConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateComponentConfigurationCommand)
22
+ .de(de_UpdateComponentConfigurationCommand)
23
+ .build() {
47
24
  }