@aws-sdk/client-application-insights 3.1076.0 → 3.1078.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 (119) hide show
  1. package/dist-cjs/index.js +44 -335
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddWorkloadCommand.js +2 -14
  4. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  5. package/dist-es/commands/CreateComponentCommand.js +2 -14
  6. package/dist-es/commands/CreateLogPatternCommand.js +2 -14
  7. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  8. package/dist-es/commands/DeleteComponentCommand.js +2 -14
  9. package/dist-es/commands/DeleteLogPatternCommand.js +2 -14
  10. package/dist-es/commands/DescribeApplicationCommand.js +2 -14
  11. package/dist-es/commands/DescribeComponentCommand.js +2 -14
  12. package/dist-es/commands/DescribeComponentConfigurationCommand.js +2 -14
  13. package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +2 -14
  14. package/dist-es/commands/DescribeLogPatternCommand.js +2 -14
  15. package/dist-es/commands/DescribeObservationCommand.js +2 -14
  16. package/dist-es/commands/DescribeProblemCommand.js +2 -14
  17. package/dist-es/commands/DescribeProblemObservationsCommand.js +2 -14
  18. package/dist-es/commands/DescribeWorkloadCommand.js +2 -14
  19. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  20. package/dist-es/commands/ListComponentsCommand.js +2 -14
  21. package/dist-es/commands/ListConfigurationHistoryCommand.js +2 -14
  22. package/dist-es/commands/ListLogPatternSetsCommand.js +2 -14
  23. package/dist-es/commands/ListLogPatternsCommand.js +2 -14
  24. package/dist-es/commands/ListProblemsCommand.js +2 -14
  25. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  26. package/dist-es/commands/ListWorkloadsCommand.js +2 -14
  27. package/dist-es/commands/RemoveWorkloadCommand.js +2 -14
  28. package/dist-es/commands/TagResourceCommand.js +2 -14
  29. package/dist-es/commands/UntagResourceCommand.js +2 -14
  30. package/dist-es/commands/UpdateApplicationCommand.js +2 -14
  31. package/dist-es/commands/UpdateComponentCommand.js +2 -14
  32. package/dist-es/commands/UpdateComponentConfigurationCommand.js +2 -14
  33. package/dist-es/commands/UpdateLogPatternCommand.js +2 -14
  34. package/dist-es/commands/UpdateProblemCommand.js +2 -14
  35. package/dist-es/commands/UpdateWorkloadCommand.js +2 -14
  36. package/dist-es/index.js +1 -0
  37. package/dist-es/runtimeConfig.browser.js +0 -2
  38. package/dist-es/runtimeConfig.js +1 -2
  39. package/dist-es/runtimeConfig.native.js +0 -2
  40. package/dist-es/runtimeConfig.shared.js +2 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/AddWorkloadCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateComponentCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateLogPatternCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteLogPatternCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeComponentCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeLogPatternCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeObservationCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeProblemCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeWorkloadCommand.d.ts +3 -8
  58. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +3 -8
  61. package/dist-types/commands/ListLogPatternSetsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListLogPatternsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListProblemsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/ListWorkloadsCommand.d.ts +3 -8
  66. package/dist-types/commands/RemoveWorkloadCommand.d.ts +3 -8
  67. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  68. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  70. package/dist-types/commands/UpdateComponentCommand.d.ts +3 -8
  71. package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +3 -8
  72. package/dist-types/commands/UpdateLogPatternCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateProblemCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateWorkloadCommand.d.ts +3 -8
  75. package/dist-types/index.d.ts +1 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  77. package/dist-types/runtimeConfig.d.ts +1 -1
  78. package/dist-types/runtimeConfig.native.d.ts +1 -1
  79. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateLogPatternCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteLogPatternCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DescribeComponentConfigurationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DescribeLogPatternCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DescribeObservationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DescribeProblemCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DescribeProblemObservationsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListConfigurationHistoryCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListLogPatternSetsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListLogPatternsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListProblemsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UpdateComponentConfigurationCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/UpdateLogPatternCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/index.d.ts +1 -0
  115. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  116. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  117. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  118. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  119. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeComponent", {})
13
- .n("ApplicationInsightsClient", "DescribeComponentCommand")
14
- .sc(DescribeComponent$)
15
- .build() {
3
+ export class DescribeComponentCommand extends command(_ep0, _mw0, "DescribeComponent", DescribeComponent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeComponentConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeComponentConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeComponentConfiguration", {})
13
- .n("ApplicationInsightsClient", "DescribeComponentConfigurationCommand")
14
- .sc(DescribeComponentConfiguration$)
15
- .build() {
3
+ export class DescribeComponentConfigurationCommand extends command(_ep0, _mw0, "DescribeComponentConfiguration", DescribeComponentConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeComponentConfigurationRecommendation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeComponentConfigurationRecommendationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeComponentConfigurationRecommendation", {})
13
- .n("ApplicationInsightsClient", "DescribeComponentConfigurationRecommendationCommand")
14
- .sc(DescribeComponentConfigurationRecommendation$)
15
- .build() {
3
+ export class DescribeComponentConfigurationRecommendationCommand extends command(_ep0, _mw0, "DescribeComponentConfigurationRecommendation", DescribeComponentConfigurationRecommendation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeLogPattern$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeLogPatternCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeLogPattern", {})
13
- .n("ApplicationInsightsClient", "DescribeLogPatternCommand")
14
- .sc(DescribeLogPattern$)
15
- .build() {
3
+ export class DescribeLogPatternCommand extends command(_ep0, _mw0, "DescribeLogPattern", DescribeLogPattern$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeObservation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeObservationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeObservation", {})
13
- .n("ApplicationInsightsClient", "DescribeObservationCommand")
14
- .sc(DescribeObservation$)
15
- .build() {
3
+ export class DescribeObservationCommand extends command(_ep0, _mw0, "DescribeObservation", DescribeObservation$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeProblem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeProblemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeProblem", {})
13
- .n("ApplicationInsightsClient", "DescribeProblemCommand")
14
- .sc(DescribeProblem$)
15
- .build() {
3
+ export class DescribeProblemCommand extends command(_ep0, _mw0, "DescribeProblem", DescribeProblem$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeProblemObservations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeProblemObservationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeProblemObservations", {})
13
- .n("ApplicationInsightsClient", "DescribeProblemObservationsCommand")
14
- .sc(DescribeProblemObservations$)
15
- .build() {
3
+ export class DescribeProblemObservationsCommand extends command(_ep0, _mw0, "DescribeProblemObservations", DescribeProblemObservations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeWorkload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeWorkloadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "DescribeWorkload", {})
13
- .n("ApplicationInsightsClient", "DescribeWorkloadCommand")
14
- .sc(DescribeWorkload$)
15
- .build() {
3
+ export class DescribeWorkloadCommand extends command(_ep0, _mw0, "DescribeWorkload", DescribeWorkload$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListApplications", {})
13
- .n("ApplicationInsightsClient", "ListApplicationsCommand")
14
- .sc(ListApplications$)
15
- .build() {
3
+ export class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListComponents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListComponentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListComponents", {})
13
- .n("ApplicationInsightsClient", "ListComponentsCommand")
14
- .sc(ListComponents$)
15
- .build() {
3
+ export class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListConfigurationHistory$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConfigurationHistoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListConfigurationHistory", {})
13
- .n("ApplicationInsightsClient", "ListConfigurationHistoryCommand")
14
- .sc(ListConfigurationHistory$)
15
- .build() {
3
+ export class ListConfigurationHistoryCommand extends command(_ep0, _mw0, "ListConfigurationHistory", ListConfigurationHistory$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListLogPatternSets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLogPatternSetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListLogPatternSets", {})
13
- .n("ApplicationInsightsClient", "ListLogPatternSetsCommand")
14
- .sc(ListLogPatternSets$)
15
- .build() {
3
+ export class ListLogPatternSetsCommand extends command(_ep0, _mw0, "ListLogPatternSets", ListLogPatternSets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListLogPatterns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListLogPatternsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListLogPatterns", {})
13
- .n("ApplicationInsightsClient", "ListLogPatternsCommand")
14
- .sc(ListLogPatterns$)
15
- .build() {
3
+ export class ListLogPatternsCommand extends command(_ep0, _mw0, "ListLogPatterns", ListLogPatterns$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProblems$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProblemsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListProblems", {})
13
- .n("ApplicationInsightsClient", "ListProblemsCommand")
14
- .sc(ListProblems$)
15
- .build() {
3
+ export class ListProblemsCommand extends command(_ep0, _mw0, "ListProblems", ListProblems$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListTagsForResource", {})
13
- .n("ApplicationInsightsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListWorkloads$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListWorkloadsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "ListWorkloads", {})
13
- .n("ApplicationInsightsClient", "ListWorkloadsCommand")
14
- .sc(ListWorkloads$)
15
- .build() {
3
+ export class ListWorkloadsCommand extends command(_ep0, _mw0, "ListWorkloads", ListWorkloads$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveWorkload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveWorkloadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "RemoveWorkload", {})
13
- .n("ApplicationInsightsClient", "RemoveWorkloadCommand")
14
- .sc(RemoveWorkload$)
15
- .build() {
3
+ export class RemoveWorkloadCommand extends command(_ep0, _mw0, "RemoveWorkload", RemoveWorkload$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "TagResource", {})
13
- .n("ApplicationInsightsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UntagResource", {})
13
- .n("ApplicationInsightsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UpdateApplication", {})
13
- .n("ApplicationInsightsClient", "UpdateApplicationCommand")
14
- .sc(UpdateApplication$)
15
- .build() {
3
+ export class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UpdateComponent", {})
13
- .n("ApplicationInsightsClient", "UpdateComponentCommand")
14
- .sc(UpdateComponent$)
15
- .build() {
3
+ export class UpdateComponentCommand extends command(_ep0, _mw0, "UpdateComponent", UpdateComponent$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateComponentConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateComponentConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UpdateComponentConfiguration", {})
13
- .n("ApplicationInsightsClient", "UpdateComponentConfigurationCommand")
14
- .sc(UpdateComponentConfiguration$)
15
- .build() {
3
+ export class UpdateComponentConfigurationCommand extends command(_ep0, _mw0, "UpdateComponentConfiguration", UpdateComponentConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateLogPattern$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateLogPatternCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UpdateLogPattern", {})
13
- .n("ApplicationInsightsClient", "UpdateLogPatternCommand")
14
- .sc(UpdateLogPattern$)
15
- .build() {
3
+ export class UpdateLogPatternCommand extends command(_ep0, _mw0, "UpdateLogPattern", UpdateLogPattern$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateProblem$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProblemCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UpdateProblem", {})
13
- .n("ApplicationInsightsClient", "UpdateProblemCommand")
14
- .sc(UpdateProblem$)
15
- .build() {
3
+ export class UpdateProblemCommand extends command(_ep0, _mw0, "UpdateProblem", UpdateProblem$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateWorkload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateWorkloadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("EC2WindowsBarleyService", "UpdateWorkload", {})
13
- .n("ApplicationInsightsClient", "UpdateWorkloadCommand")
14
- .sc(UpdateWorkload$)
15
- .build() {
3
+ export class UpdateWorkloadCommand extends command(_ep0, _mw0, "UpdateWorkload", UpdateWorkload$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ApplicationInsightsClient";
2
2
  export * from "./ApplicationInsights";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "EC2WindowsBarleyService",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Application Insights",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ApplicationInsightsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationInsightsClient";
4
2
  import type { AddWorkloadRequest, AddWorkloadResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddWorkloadCommandInput extends AddWorkloadRequest {
22
19
  export interface AddWorkloadCommandOutput extends AddWorkloadResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AddWorkloadCommand_base: {
25
- new (input: AddWorkloadCommandInput): import("@smithy/core/client").CommandImpl<AddWorkloadCommandInput, AddWorkloadCommandOutput, ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddWorkloadCommandInput): import("@smithy/core/client").CommandImpl<AddWorkloadCommandInput, AddWorkloadCommandOutput, ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddWorkloadCommandInput): import("@smithy/core/client").CommandImpl<AddWorkloadCommandInput, AddWorkloadCommandOutput, import("..").ApplicationInsightsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddWorkloadCommandInput): import("@smithy/core/client").CommandImpl<AddWorkloadCommandInput, AddWorkloadCommandOutput, import("..").ApplicationInsightsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Adds a workload to a component. Each component can have at most five workloads.</p>