@aws-sdk/client-xray 3.35.0 → 3.38.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 (295) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/XRay.js +0 -5
  3. package/dist-cjs/XRayClient.js +0 -10
  4. package/dist-cjs/commands/BatchGetTracesCommand.js +0 -27
  5. package/dist-cjs/commands/CreateGroupCommand.js +0 -25
  6. package/dist-cjs/commands/CreateSamplingRuleCommand.js +0 -31
  7. package/dist-cjs/commands/DeleteGroupCommand.js +0 -25
  8. package/dist-cjs/commands/DeleteSamplingRuleCommand.js +0 -25
  9. package/dist-cjs/commands/GetEncryptionConfigCommand.js +0 -25
  10. package/dist-cjs/commands/GetGroupCommand.js +0 -25
  11. package/dist-cjs/commands/GetGroupsCommand.js +0 -25
  12. package/dist-cjs/commands/GetInsightCommand.js +0 -27
  13. package/dist-cjs/commands/GetInsightEventsCommand.js +0 -27
  14. package/dist-cjs/commands/GetInsightImpactGraphCommand.js +0 -26
  15. package/dist-cjs/commands/GetInsightSummariesCommand.js +0 -25
  16. package/dist-cjs/commands/GetSamplingRulesCommand.js +0 -25
  17. package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js +0 -25
  18. package/dist-cjs/commands/GetSamplingTargetsCommand.js +0 -26
  19. package/dist-cjs/commands/GetServiceGraphCommand.js +0 -29
  20. package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js +0 -26
  21. package/dist-cjs/commands/GetTraceGraphCommand.js +0 -25
  22. package/dist-cjs/commands/GetTraceSummariesCommand.js +0 -41
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  24. package/dist-cjs/commands/PutEncryptionConfigCommand.js +0 -25
  25. package/dist-cjs/commands/PutTelemetryRecordsCommand.js +0 -25
  26. package/dist-cjs/commands/PutTraceSegmentsCommand.js +0 -87
  27. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  28. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  29. package/dist-cjs/commands/UpdateGroupCommand.js +0 -25
  30. package/dist-cjs/commands/UpdateSamplingRuleCommand.js +0 -25
  31. package/dist-cjs/commands/index.js +30 -0
  32. package/dist-cjs/endpoints.js +1 -2
  33. package/dist-cjs/index.js +4 -41
  34. package/dist-cjs/models/index.js +0 -1
  35. package/dist-cjs/models/models_0.js +0 -340
  36. package/dist-cjs/pagination/BatchGetTracesPaginator.js +0 -11
  37. package/dist-cjs/pagination/GetGroupsPaginator.js +0 -11
  38. package/dist-cjs/pagination/GetInsightEventsPaginator.js +0 -11
  39. package/dist-cjs/pagination/GetInsightSummariesPaginator.js +0 -11
  40. package/dist-cjs/pagination/GetSamplingRulesPaginator.js +0 -11
  41. package/dist-cjs/pagination/GetSamplingStatisticSummariesPaginator.js +0 -11
  42. package/dist-cjs/pagination/GetServiceGraphPaginator.js +0 -11
  43. package/dist-cjs/pagination/GetTimeSeriesServiceStatisticsPaginator.js +0 -11
  44. package/dist-cjs/pagination/GetTraceGraphPaginator.js +0 -11
  45. package/dist-cjs/pagination/GetTraceSummariesPaginator.js +0 -11
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/index.js +14 -0
  48. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  49. package/dist-cjs/runtimeConfig.browser.js +1 -6
  50. package/dist-cjs/runtimeConfig.js +2 -7
  51. package/dist-cjs/runtimeConfig.native.js +0 -4
  52. package/dist-cjs/runtimeConfig.shared.js +0 -4
  53. package/dist-es/XRay.js +0 -1
  54. package/dist-es/XRayClient.js +0 -1
  55. package/dist-es/commands/BatchGetTracesCommand.js +0 -1
  56. package/dist-es/commands/CreateGroupCommand.js +0 -1
  57. package/dist-es/commands/CreateSamplingRuleCommand.js +0 -1
  58. package/dist-es/commands/DeleteGroupCommand.js +0 -1
  59. package/dist-es/commands/DeleteSamplingRuleCommand.js +0 -1
  60. package/dist-es/commands/GetEncryptionConfigCommand.js +0 -1
  61. package/dist-es/commands/GetGroupCommand.js +0 -1
  62. package/dist-es/commands/GetGroupsCommand.js +0 -1
  63. package/dist-es/commands/GetInsightCommand.js +0 -1
  64. package/dist-es/commands/GetInsightEventsCommand.js +0 -1
  65. package/dist-es/commands/GetInsightImpactGraphCommand.js +0 -1
  66. package/dist-es/commands/GetInsightSummariesCommand.js +0 -1
  67. package/dist-es/commands/GetSamplingRulesCommand.js +0 -1
  68. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +0 -1
  69. package/dist-es/commands/GetSamplingTargetsCommand.js +0 -1
  70. package/dist-es/commands/GetServiceGraphCommand.js +0 -1
  71. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +0 -1
  72. package/dist-es/commands/GetTraceGraphCommand.js +0 -1
  73. package/dist-es/commands/GetTraceSummariesCommand.js +0 -1
  74. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  75. package/dist-es/commands/PutEncryptionConfigCommand.js +0 -1
  76. package/dist-es/commands/PutTelemetryRecordsCommand.js +0 -1
  77. package/dist-es/commands/PutTraceSegmentsCommand.js +0 -1
  78. package/dist-es/commands/TagResourceCommand.js +0 -1
  79. package/dist-es/commands/UntagResourceCommand.js +0 -1
  80. package/dist-es/commands/UpdateGroupCommand.js +0 -1
  81. package/dist-es/commands/UpdateSamplingRuleCommand.js +0 -1
  82. package/dist-es/commands/index.js +27 -0
  83. package/dist-es/endpoints.js +1 -2
  84. package/dist-es/index.js +4 -41
  85. package/dist-es/models/index.js +0 -1
  86. package/dist-es/models/models_0.js +0 -1
  87. package/dist-es/pagination/BatchGetTracesPaginator.js +0 -1
  88. package/dist-es/pagination/GetGroupsPaginator.js +0 -1
  89. package/dist-es/pagination/GetInsightEventsPaginator.js +0 -1
  90. package/dist-es/pagination/GetInsightSummariesPaginator.js +0 -1
  91. package/dist-es/pagination/GetSamplingRulesPaginator.js +0 -1
  92. package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js +0 -1
  93. package/dist-es/pagination/GetServiceGraphPaginator.js +0 -1
  94. package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js +0 -1
  95. package/dist-es/pagination/GetTraceGraphPaginator.js +0 -1
  96. package/dist-es/pagination/GetTraceSummariesPaginator.js +0 -1
  97. package/dist-es/pagination/Interfaces.js +0 -1
  98. package/dist-es/pagination/index.js +11 -0
  99. package/dist-es/protocols/Aws_restJson1.js +0 -1
  100. package/dist-es/runtimeConfig.browser.js +1 -2
  101. package/dist-es/runtimeConfig.js +2 -3
  102. package/dist-es/runtimeConfig.native.js +0 -1
  103. package/dist-es/runtimeConfig.shared.js +0 -1
  104. package/dist-types/commands/index.d.ts +27 -0
  105. package/dist-types/index.d.ts +4 -40
  106. package/dist-types/pagination/index.d.ts +11 -0
  107. package/dist-types/ts3.4/XRay.d.ts +28 -183
  108. package/dist-types/ts3.4/XRayClient.d.ts +24 -90
  109. package/dist-types/ts3.4/commands/BatchGetTracesCommand.d.ts +2 -22
  110. package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/CreateSamplingRuleCommand.d.ts +2 -26
  112. package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/DeleteSamplingRuleCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/GetEncryptionConfigCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/GetGroupsCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/GetInsightCommand.d.ts +2 -22
  118. package/dist-types/ts3.4/commands/GetInsightEventsCommand.d.ts +2 -22
  119. package/dist-types/ts3.4/commands/GetInsightImpactGraphCommand.d.ts +2 -21
  120. package/dist-types/ts3.4/commands/GetInsightSummariesCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/GetSamplingRulesCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/GetSamplingStatisticSummariesCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/GetSamplingTargetsCommand.d.ts +2 -21
  124. package/dist-types/ts3.4/commands/GetServiceGraphCommand.d.ts +2 -24
  125. package/dist-types/ts3.4/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +2 -21
  126. package/dist-types/ts3.4/commands/GetTraceGraphCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/GetTraceSummariesCommand.d.ts +2 -36
  128. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  129. package/dist-types/ts3.4/commands/PutEncryptionConfigCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/PutTelemetryRecordsCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/PutTraceSegmentsCommand.d.ts +2 -82
  132. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/UpdateSamplingRuleCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  137. package/dist-types/ts3.4/index.d.ts +4 -40
  138. package/dist-types/ts3.4/models/models_0.d.ts +540 -1902
  139. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  140. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  141. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  142. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  143. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  144. package/package.json +33 -30
  145. package/dist-cjs/XRay.js.map +0 -1
  146. package/dist-cjs/XRayClient.js.map +0 -1
  147. package/dist-cjs/commands/BatchGetTracesCommand.js.map +0 -1
  148. package/dist-cjs/commands/CreateGroupCommand.js.map +0 -1
  149. package/dist-cjs/commands/CreateSamplingRuleCommand.js.map +0 -1
  150. package/dist-cjs/commands/DeleteGroupCommand.js.map +0 -1
  151. package/dist-cjs/commands/DeleteSamplingRuleCommand.js.map +0 -1
  152. package/dist-cjs/commands/GetEncryptionConfigCommand.js.map +0 -1
  153. package/dist-cjs/commands/GetGroupCommand.js.map +0 -1
  154. package/dist-cjs/commands/GetGroupsCommand.js.map +0 -1
  155. package/dist-cjs/commands/GetInsightCommand.js.map +0 -1
  156. package/dist-cjs/commands/GetInsightEventsCommand.js.map +0 -1
  157. package/dist-cjs/commands/GetInsightImpactGraphCommand.js.map +0 -1
  158. package/dist-cjs/commands/GetInsightSummariesCommand.js.map +0 -1
  159. package/dist-cjs/commands/GetSamplingRulesCommand.js.map +0 -1
  160. package/dist-cjs/commands/GetSamplingStatisticSummariesCommand.js.map +0 -1
  161. package/dist-cjs/commands/GetSamplingTargetsCommand.js.map +0 -1
  162. package/dist-cjs/commands/GetServiceGraphCommand.js.map +0 -1
  163. package/dist-cjs/commands/GetTimeSeriesServiceStatisticsCommand.js.map +0 -1
  164. package/dist-cjs/commands/GetTraceGraphCommand.js.map +0 -1
  165. package/dist-cjs/commands/GetTraceSummariesCommand.js.map +0 -1
  166. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  167. package/dist-cjs/commands/PutEncryptionConfigCommand.js.map +0 -1
  168. package/dist-cjs/commands/PutTelemetryRecordsCommand.js.map +0 -1
  169. package/dist-cjs/commands/PutTraceSegmentsCommand.js.map +0 -1
  170. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  171. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  172. package/dist-cjs/commands/UpdateGroupCommand.js.map +0 -1
  173. package/dist-cjs/commands/UpdateSamplingRuleCommand.js.map +0 -1
  174. package/dist-cjs/endpoints.js.map +0 -1
  175. package/dist-cjs/index.js.map +0 -1
  176. package/dist-cjs/models/index.js.map +0 -1
  177. package/dist-cjs/models/models_0.js.map +0 -1
  178. package/dist-cjs/pagination/BatchGetTracesPaginator.js.map +0 -1
  179. package/dist-cjs/pagination/GetGroupsPaginator.js.map +0 -1
  180. package/dist-cjs/pagination/GetInsightEventsPaginator.js.map +0 -1
  181. package/dist-cjs/pagination/GetInsightSummariesPaginator.js.map +0 -1
  182. package/dist-cjs/pagination/GetSamplingRulesPaginator.js.map +0 -1
  183. package/dist-cjs/pagination/GetSamplingStatisticSummariesPaginator.js.map +0 -1
  184. package/dist-cjs/pagination/GetServiceGraphPaginator.js.map +0 -1
  185. package/dist-cjs/pagination/GetTimeSeriesServiceStatisticsPaginator.js.map +0 -1
  186. package/dist-cjs/pagination/GetTraceGraphPaginator.js.map +0 -1
  187. package/dist-cjs/pagination/GetTraceSummariesPaginator.js.map +0 -1
  188. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  189. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  190. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  191. package/dist-cjs/runtimeConfig.js.map +0 -1
  192. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  193. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  194. package/dist-es/XRay.js.map +0 -1
  195. package/dist-es/XRayClient.js.map +0 -1
  196. package/dist-es/commands/BatchGetTracesCommand.js.map +0 -1
  197. package/dist-es/commands/CreateGroupCommand.js.map +0 -1
  198. package/dist-es/commands/CreateSamplingRuleCommand.js.map +0 -1
  199. package/dist-es/commands/DeleteGroupCommand.js.map +0 -1
  200. package/dist-es/commands/DeleteSamplingRuleCommand.js.map +0 -1
  201. package/dist-es/commands/GetEncryptionConfigCommand.js.map +0 -1
  202. package/dist-es/commands/GetGroupCommand.js.map +0 -1
  203. package/dist-es/commands/GetGroupsCommand.js.map +0 -1
  204. package/dist-es/commands/GetInsightCommand.js.map +0 -1
  205. package/dist-es/commands/GetInsightEventsCommand.js.map +0 -1
  206. package/dist-es/commands/GetInsightImpactGraphCommand.js.map +0 -1
  207. package/dist-es/commands/GetInsightSummariesCommand.js.map +0 -1
  208. package/dist-es/commands/GetSamplingRulesCommand.js.map +0 -1
  209. package/dist-es/commands/GetSamplingStatisticSummariesCommand.js.map +0 -1
  210. package/dist-es/commands/GetSamplingTargetsCommand.js.map +0 -1
  211. package/dist-es/commands/GetServiceGraphCommand.js.map +0 -1
  212. package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js.map +0 -1
  213. package/dist-es/commands/GetTraceGraphCommand.js.map +0 -1
  214. package/dist-es/commands/GetTraceSummariesCommand.js.map +0 -1
  215. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  216. package/dist-es/commands/PutEncryptionConfigCommand.js.map +0 -1
  217. package/dist-es/commands/PutTelemetryRecordsCommand.js.map +0 -1
  218. package/dist-es/commands/PutTraceSegmentsCommand.js.map +0 -1
  219. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  220. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  221. package/dist-es/commands/UpdateGroupCommand.js.map +0 -1
  222. package/dist-es/commands/UpdateSamplingRuleCommand.js.map +0 -1
  223. package/dist-es/endpoints.js.map +0 -1
  224. package/dist-es/index.js.map +0 -1
  225. package/dist-es/models/index.js.map +0 -1
  226. package/dist-es/models/models_0.js.map +0 -1
  227. package/dist-es/pagination/BatchGetTracesPaginator.js.map +0 -1
  228. package/dist-es/pagination/GetGroupsPaginator.js.map +0 -1
  229. package/dist-es/pagination/GetInsightEventsPaginator.js.map +0 -1
  230. package/dist-es/pagination/GetInsightSummariesPaginator.js.map +0 -1
  231. package/dist-es/pagination/GetSamplingRulesPaginator.js.map +0 -1
  232. package/dist-es/pagination/GetSamplingStatisticSummariesPaginator.js.map +0 -1
  233. package/dist-es/pagination/GetServiceGraphPaginator.js.map +0 -1
  234. package/dist-es/pagination/GetTimeSeriesServiceStatisticsPaginator.js.map +0 -1
  235. package/dist-es/pagination/GetTraceGraphPaginator.js.map +0 -1
  236. package/dist-es/pagination/GetTraceSummariesPaginator.js.map +0 -1
  237. package/dist-es/pagination/Interfaces.js.map +0 -1
  238. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  239. package/dist-es/runtimeConfig.browser.js.map +0 -1
  240. package/dist-es/runtimeConfig.js.map +0 -1
  241. package/dist-es/runtimeConfig.native.js.map +0 -1
  242. package/dist-es/runtimeConfig.shared.js.map +0 -1
  243. package/jest.config.js +0 -4
  244. package/src/XRay.ts +0 -1036
  245. package/src/XRayClient.ts +0 -342
  246. package/src/commands/BatchGetTracesCommand.ts +0 -97
  247. package/src/commands/CreateGroupCommand.ts +0 -95
  248. package/src/commands/CreateSamplingRuleCommand.ts +0 -101
  249. package/src/commands/DeleteGroupCommand.ts +0 -95
  250. package/src/commands/DeleteSamplingRuleCommand.ts +0 -95
  251. package/src/commands/GetEncryptionConfigCommand.ts +0 -95
  252. package/src/commands/GetGroupCommand.ts +0 -91
  253. package/src/commands/GetGroupsCommand.ts +0 -95
  254. package/src/commands/GetInsightCommand.ts +0 -97
  255. package/src/commands/GetInsightEventsCommand.ts +0 -97
  256. package/src/commands/GetInsightImpactGraphCommand.ts +0 -96
  257. package/src/commands/GetInsightSummariesCommand.ts +0 -95
  258. package/src/commands/GetSamplingRulesCommand.ts +0 -95
  259. package/src/commands/GetSamplingStatisticSummariesCommand.ts +0 -100
  260. package/src/commands/GetSamplingTargetsCommand.ts +0 -96
  261. package/src/commands/GetServiceGraphCommand.ts +0 -99
  262. package/src/commands/GetTimeSeriesServiceStatisticsCommand.ts +0 -104
  263. package/src/commands/GetTraceGraphCommand.ts +0 -95
  264. package/src/commands/GetTraceSummariesCommand.ts +0 -111
  265. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  266. package/src/commands/PutEncryptionConfigCommand.ts +0 -95
  267. package/src/commands/PutTelemetryRecordsCommand.ts +0 -95
  268. package/src/commands/PutTraceSegmentsCommand.ts +0 -157
  269. package/src/commands/TagResourceCommand.ts +0 -95
  270. package/src/commands/UntagResourceCommand.ts +0 -96
  271. package/src/commands/UpdateGroupCommand.ts +0 -95
  272. package/src/commands/UpdateSamplingRuleCommand.ts +0 -95
  273. package/src/endpoints.ts +0 -86
  274. package/src/index.ts +0 -41
  275. package/src/models/index.ts +0 -1
  276. package/src/models/models_0.ts +0 -3647
  277. package/src/pagination/BatchGetTracesPaginator.ts +0 -58
  278. package/src/pagination/GetGroupsPaginator.ts +0 -54
  279. package/src/pagination/GetInsightEventsPaginator.ts +0 -59
  280. package/src/pagination/GetInsightSummariesPaginator.ts +0 -59
  281. package/src/pagination/GetSamplingRulesPaginator.ts +0 -58
  282. package/src/pagination/GetSamplingStatisticSummariesPaginator.ts +0 -58
  283. package/src/pagination/GetServiceGraphPaginator.ts +0 -58
  284. package/src/pagination/GetTimeSeriesServiceStatisticsPaginator.ts +0 -58
  285. package/src/pagination/GetTraceGraphPaginator.ts +0 -58
  286. package/src/pagination/GetTraceSummariesPaginator.ts +0 -58
  287. package/src/pagination/Interfaces.ts +0 -8
  288. package/src/protocols/Aws_restJson1.ts +0 -4338
  289. package/src/runtimeConfig.browser.ts +0 -41
  290. package/src/runtimeConfig.native.ts +0 -17
  291. package/src/runtimeConfig.shared.ts +0 -17
  292. package/src/runtimeConfig.ts +0 -46
  293. package/tsconfig.es.json +0 -10
  294. package/tsconfig.json +0 -33
  295. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteGroupRequest, DeleteGroupResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteGroupCommand,
17
- serializeAws_restJson1DeleteGroupCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface DeleteGroupCommandInput extends DeleteGroupRequest {}
22
- export interface DeleteGroupCommandOutput extends DeleteGroupResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a group resource.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { XRayClient, DeleteGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, DeleteGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new DeleteGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteGroupCommandInput} for command's `input` shape.
37
- * @see {@link DeleteGroupCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteGroupCommand extends $Command<
42
- DeleteGroupCommandInput,
43
- DeleteGroupCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteGroupCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: XRayClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteGroupCommandInput, DeleteGroupCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "XRayClient";
69
- const commandName = "DeleteGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteGroupResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteGroupCommandOutput> {
90
- return deserializeAws_restJson1DeleteGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteSamplingRuleRequest, DeleteSamplingRuleResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteSamplingRuleCommand,
17
- serializeAws_restJson1DeleteSamplingRuleCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface DeleteSamplingRuleCommandInput extends DeleteSamplingRuleRequest {}
22
- export interface DeleteSamplingRuleCommandOutput extends DeleteSamplingRuleResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a sampling rule.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { XRayClient, DeleteSamplingRuleCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, DeleteSamplingRuleCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new DeleteSamplingRuleCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteSamplingRuleCommandInput} for command's `input` shape.
37
- * @see {@link DeleteSamplingRuleCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteSamplingRuleCommand extends $Command<
42
- DeleteSamplingRuleCommandInput,
43
- DeleteSamplingRuleCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteSamplingRuleCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: XRayClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteSamplingRuleCommandInput, DeleteSamplingRuleCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "XRayClient";
69
- const commandName = "DeleteSamplingRuleCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteSamplingRuleRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteSamplingRuleResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteSamplingRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1DeleteSamplingRuleCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSamplingRuleCommandOutput> {
90
- return deserializeAws_restJson1DeleteSamplingRuleCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetEncryptionConfigRequest, GetEncryptionConfigResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetEncryptionConfigCommand,
17
- serializeAws_restJson1GetEncryptionConfigCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface GetEncryptionConfigCommandInput extends GetEncryptionConfigRequest {}
22
- export interface GetEncryptionConfigCommandOutput extends GetEncryptionConfigResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the current encryption configuration for X-Ray data.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { XRayClient, GetEncryptionConfigCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, GetEncryptionConfigCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new GetEncryptionConfigCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetEncryptionConfigCommandInput} for command's `input` shape.
37
- * @see {@link GetEncryptionConfigCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetEncryptionConfigCommand extends $Command<
42
- GetEncryptionConfigCommandInput,
43
- GetEncryptionConfigCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetEncryptionConfigCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: XRayClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetEncryptionConfigCommandInput, GetEncryptionConfigCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "XRayClient";
69
- const commandName = "GetEncryptionConfigCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetEncryptionConfigRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetEncryptionConfigResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetEncryptionConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetEncryptionConfigCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEncryptionConfigCommandOutput> {
90
- return deserializeAws_restJson1GetEncryptionConfigCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,91 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetGroupRequest, GetGroupResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetGroupCommand,
17
- serializeAws_restJson1GetGroupCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface GetGroupCommandInput extends GetGroupRequest {}
22
- export interface GetGroupCommandOutput extends GetGroupResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves group resource details.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { XRayClient, GetGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, GetGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new GetGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetGroupCommandInput} for command's `input` shape.
37
- * @see {@link GetGroupCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetGroupCommand extends $Command<GetGroupCommandInput, GetGroupCommandOutput, XRayClientResolvedConfig> {
42
- // Start section: command_properties
43
- // End section: command_properties
44
-
45
- constructor(readonly input: GetGroupCommandInput) {
46
- // Start section: command_constructor
47
- super();
48
- // End section: command_constructor
49
- }
50
-
51
- /**
52
- * @internal
53
- */
54
- resolveMiddleware(
55
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
56
- configuration: XRayClientResolvedConfig,
57
- options?: __HttpHandlerOptions
58
- ): Handler<GetGroupCommandInput, GetGroupCommandOutput> {
59
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
60
-
61
- const stack = clientStack.concat(this.middlewareStack);
62
-
63
- const { logger } = configuration;
64
- const clientName = "XRayClient";
65
- const commandName = "GetGroupCommand";
66
- const handlerExecutionContext: HandlerExecutionContext = {
67
- logger,
68
- clientName,
69
- commandName,
70
- inputFilterSensitiveLog: GetGroupRequest.filterSensitiveLog,
71
- outputFilterSensitiveLog: GetGroupResult.filterSensitiveLog,
72
- };
73
- const { requestHandler } = configuration;
74
- return stack.resolve(
75
- (request: FinalizeHandlerArguments<any>) =>
76
- requestHandler.handle(request.request as __HttpRequest, options || {}),
77
- handlerExecutionContext
78
- );
79
- }
80
-
81
- private serialize(input: GetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
82
- return serializeAws_restJson1GetGroupCommand(input, context);
83
- }
84
-
85
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGroupCommandOutput> {
86
- return deserializeAws_restJson1GetGroupCommand(output, context);
87
- }
88
-
89
- // Start section: command_body_extra
90
- // End section: command_body_extra
91
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetGroupsRequest, GetGroupsResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetGroupsCommand,
17
- serializeAws_restJson1GetGroupsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface GetGroupsCommandInput extends GetGroupsRequest {}
22
- export interface GetGroupsCommandOutput extends GetGroupsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves all active group details.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { XRayClient, GetGroupsCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, GetGroupsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new GetGroupsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetGroupsCommandInput} for command's `input` shape.
37
- * @see {@link GetGroupsCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetGroupsCommand extends $Command<
42
- GetGroupsCommandInput,
43
- GetGroupsCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetGroupsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: XRayClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetGroupsCommandInput, GetGroupsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "XRayClient";
69
- const commandName = "GetGroupsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetGroupsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetGroupsResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetGroupsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetGroupsCommandOutput> {
90
- return deserializeAws_restJson1GetGroupsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetInsightRequest, GetInsightResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetInsightCommand,
17
- serializeAws_restJson1GetInsightCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface GetInsightCommandInput extends GetInsightRequest {}
22
- export interface GetInsightCommandOutput extends GetInsightResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the summary information of an insight. This includes impact to clients and
26
- * root cause services, the top anomalous services, the category, the state of the insight,
27
- * and the start and end time of the insight.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { XRayClient, GetInsightCommand } from "@aws-sdk/client-xray"; // ES Modules import
32
- * // const { XRayClient, GetInsightCommand } = require("@aws-sdk/client-xray"); // CommonJS import
33
- * const client = new XRayClient(config);
34
- * const command = new GetInsightCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetInsightCommandInput} for command's `input` shape.
39
- * @see {@link GetInsightCommandOutput} for command's `response` shape.
40
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetInsightCommand extends $Command<
44
- GetInsightCommandInput,
45
- GetInsightCommandOutput,
46
- XRayClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetInsightCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: XRayClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetInsightCommandInput, GetInsightCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "XRayClient";
71
- const commandName = "GetInsightCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetInsightRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetInsightResult.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: GetInsightCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1GetInsightCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetInsightCommandOutput> {
92
- return deserializeAws_restJson1GetInsightCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetInsightEventsRequest, GetInsightEventsResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetInsightEventsCommand,
17
- serializeAws_restJson1GetInsightEventsCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface GetInsightEventsCommandInput extends GetInsightEventsRequest {}
22
- export interface GetInsightEventsCommandOutput extends GetInsightEventsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an
26
- * event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray
27
- * console.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { XRayClient, GetInsightEventsCommand } from "@aws-sdk/client-xray"; // ES Modules import
32
- * // const { XRayClient, GetInsightEventsCommand } = require("@aws-sdk/client-xray"); // CommonJS import
33
- * const client = new XRayClient(config);
34
- * const command = new GetInsightEventsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link GetInsightEventsCommandInput} for command's `input` shape.
39
- * @see {@link GetInsightEventsCommandOutput} for command's `response` shape.
40
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class GetInsightEventsCommand extends $Command<
44
- GetInsightEventsCommandInput,
45
- GetInsightEventsCommandOutput,
46
- XRayClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: GetInsightEventsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: XRayClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<GetInsightEventsCommandInput, GetInsightEventsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "XRayClient";
71
- const commandName = "GetInsightEventsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: GetInsightEventsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: GetInsightEventsResult.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: GetInsightEventsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1GetInsightEventsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetInsightEventsCommandOutput> {
92
- return deserializeAws_restJson1GetInsightEventsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }