@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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1TagResourceCommand,
17
- serializeAws_restJson1TagResourceCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Applies tags to an existing Amazon Web Services X-Ray group or 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, TagResourceCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, TagResourceCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new TagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link TagResourceCommandInput} for command's `input` shape.
37
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class TagResourceCommand extends $Command<
42
- TagResourceCommandInput,
43
- TagResourceCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1TagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
90
- return deserializeAws_restJson1TagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1UntagResourceCommand,
17
- serializeAws_restJson1UntagResourceCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes tags from an Amazon Web Services X-Ray group or sampling rule. You cannot edit or delete system
26
- * tags (those with an <code>aws:</code> prefix).</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { XRayClient, UntagResourceCommand } from "@aws-sdk/client-xray"; // ES Modules import
31
- * // const { XRayClient, UntagResourceCommand } = require("@aws-sdk/client-xray"); // CommonJS import
32
- * const client = new XRayClient(config);
33
- * const command = new UntagResourceCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
38
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
39
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UntagResourceCommand extends $Command<
43
- UntagResourceCommandInput,
44
- UntagResourceCommandOutput,
45
- XRayClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UntagResourceCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: XRayClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "XRayClient";
70
- const commandName = "UntagResourceCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1UntagResourceCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
91
- return deserializeAws_restJson1UntagResourceCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -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 { UpdateGroupRequest, UpdateGroupResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1UpdateGroupCommand,
17
- serializeAws_restJson1UpdateGroupCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface UpdateGroupCommandInput extends UpdateGroupRequest {}
22
- export interface UpdateGroupCommandOutput extends UpdateGroupResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates 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, UpdateGroupCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, UpdateGroupCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new UpdateGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateGroupCommandInput} for command's `input` shape.
37
- * @see {@link UpdateGroupCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateGroupCommand extends $Command<
42
- UpdateGroupCommandInput,
43
- UpdateGroupCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateGroupCommandInput) {
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<UpdateGroupCommandInput, UpdateGroupCommandOutput> {
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 = "UpdateGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateGroupResult.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: UpdateGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateGroupCommandOutput> {
90
- return deserializeAws_restJson1UpdateGroupCommand(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 { UpdateSamplingRuleRequest, UpdateSamplingRuleResult } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1UpdateSamplingRuleCommand,
17
- serializeAws_restJson1UpdateSamplingRuleCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import { ServiceInputTypes, ServiceOutputTypes, XRayClientResolvedConfig } from "../XRayClient";
20
-
21
- export interface UpdateSamplingRuleCommandInput extends UpdateSamplingRuleRequest {}
22
- export interface UpdateSamplingRuleCommandOutput extends UpdateSamplingRuleResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Modifies a sampling rule's configuration.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { XRayClient, UpdateSamplingRuleCommand } from "@aws-sdk/client-xray"; // ES Modules import
30
- * // const { XRayClient, UpdateSamplingRuleCommand } = require("@aws-sdk/client-xray"); // CommonJS import
31
- * const client = new XRayClient(config);
32
- * const command = new UpdateSamplingRuleCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateSamplingRuleCommandInput} for command's `input` shape.
37
- * @see {@link UpdateSamplingRuleCommandOutput} for command's `response` shape.
38
- * @see {@link XRayClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateSamplingRuleCommand extends $Command<
42
- UpdateSamplingRuleCommandInput,
43
- UpdateSamplingRuleCommandOutput,
44
- XRayClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateSamplingRuleCommandInput) {
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<UpdateSamplingRuleCommandInput, UpdateSamplingRuleCommandOutput> {
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 = "UpdateSamplingRuleCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateSamplingRuleRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateSamplingRuleResult.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: UpdateSamplingRuleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1UpdateSamplingRuleCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateSamplingRuleCommandOutput> {
90
- return deserializeAws_restJson1UpdateSamplingRuleCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
package/src/endpoints.ts DELETED
@@ -1,86 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {
5
- "fips-us-east-1": {
6
- hostname: "xray-fips.us-east-1.amazonaws.com",
7
- signingRegion: "us-east-1",
8
- },
9
- "fips-us-east-2": {
10
- hostname: "xray-fips.us-east-2.amazonaws.com",
11
- signingRegion: "us-east-2",
12
- },
13
- "fips-us-gov-east-1": {
14
- hostname: "xray-fips.us-gov-east-1.amazonaws.com",
15
- signingRegion: "us-gov-east-1",
16
- },
17
- "fips-us-gov-west-1": {
18
- hostname: "xray-fips.us-gov-west-1.amazonaws.com",
19
- signingRegion: "us-gov-west-1",
20
- },
21
- "fips-us-west-1": {
22
- hostname: "xray-fips.us-west-1.amazonaws.com",
23
- signingRegion: "us-west-1",
24
- },
25
- "fips-us-west-2": {
26
- hostname: "xray-fips.us-west-2.amazonaws.com",
27
- signingRegion: "us-west-2",
28
- },
29
- };
30
-
31
- const partitionHash: PartitionHash = {
32
- aws: {
33
- regions: [
34
- "af-south-1",
35
- "ap-east-1",
36
- "ap-northeast-1",
37
- "ap-northeast-2",
38
- "ap-northeast-3",
39
- "ap-south-1",
40
- "ap-southeast-1",
41
- "ap-southeast-2",
42
- "ca-central-1",
43
- "eu-central-1",
44
- "eu-north-1",
45
- "eu-south-1",
46
- "eu-west-1",
47
- "eu-west-2",
48
- "eu-west-3",
49
- "fips-us-east-1",
50
- "fips-us-east-2",
51
- "fips-us-west-1",
52
- "fips-us-west-2",
53
- "me-south-1",
54
- "sa-east-1",
55
- "us-east-1",
56
- "us-east-2",
57
- "us-west-1",
58
- "us-west-2",
59
- ],
60
- hostname: "xray.{region}.amazonaws.com",
61
- },
62
- "aws-cn": {
63
- regions: ["cn-north-1", "cn-northwest-1"],
64
- hostname: "xray.{region}.amazonaws.com.cn",
65
- },
66
- "aws-iso": {
67
- regions: ["us-iso-east-1"],
68
- hostname: "xray.{region}.c2s.ic.gov",
69
- },
70
- "aws-iso-b": {
71
- regions: ["us-isob-east-1"],
72
- hostname: "xray.{region}.sc2s.sgov.gov",
73
- },
74
- "aws-us-gov": {
75
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
76
- hostname: "xray.{region}.amazonaws.com",
77
- },
78
- };
79
-
80
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
81
- getRegionInfo(region, {
82
- ...options,
83
- signingService: "xray",
84
- regionHash,
85
- partitionHash,
86
- });
package/src/index.ts DELETED
@@ -1,41 +0,0 @@
1
- export * from "./XRayClient";
2
- export * from "./XRay";
3
- export * from "./commands/BatchGetTracesCommand";
4
- export * from "./pagination/BatchGetTracesPaginator";
5
- export * from "./commands/CreateGroupCommand";
6
- export * from "./commands/CreateSamplingRuleCommand";
7
- export * from "./commands/DeleteGroupCommand";
8
- export * from "./commands/DeleteSamplingRuleCommand";
9
- export * from "./commands/GetEncryptionConfigCommand";
10
- export * from "./commands/GetGroupCommand";
11
- export * from "./commands/GetGroupsCommand";
12
- export * from "./pagination/GetGroupsPaginator";
13
- export * from "./commands/GetInsightCommand";
14
- export * from "./commands/GetInsightEventsCommand";
15
- export * from "./pagination/GetInsightEventsPaginator";
16
- export * from "./commands/GetInsightImpactGraphCommand";
17
- export * from "./commands/GetInsightSummariesCommand";
18
- export * from "./pagination/GetInsightSummariesPaginator";
19
- export * from "./commands/GetSamplingRulesCommand";
20
- export * from "./pagination/GetSamplingRulesPaginator";
21
- export * from "./commands/GetSamplingStatisticSummariesCommand";
22
- export * from "./pagination/GetSamplingStatisticSummariesPaginator";
23
- export * from "./commands/GetSamplingTargetsCommand";
24
- export * from "./commands/GetServiceGraphCommand";
25
- export * from "./pagination/GetServiceGraphPaginator";
26
- export * from "./commands/GetTimeSeriesServiceStatisticsCommand";
27
- export * from "./pagination/GetTimeSeriesServiceStatisticsPaginator";
28
- export * from "./commands/GetTraceGraphCommand";
29
- export * from "./pagination/GetTraceGraphPaginator";
30
- export * from "./commands/GetTraceSummariesCommand";
31
- export * from "./pagination/GetTraceSummariesPaginator";
32
- export * from "./commands/ListTagsForResourceCommand";
33
- export * from "./commands/PutEncryptionConfigCommand";
34
- export * from "./commands/PutTelemetryRecordsCommand";
35
- export * from "./commands/PutTraceSegmentsCommand";
36
- export * from "./commands/TagResourceCommand";
37
- export * from "./commands/UntagResourceCommand";
38
- export * from "./commands/UpdateGroupCommand";
39
- export * from "./commands/UpdateSamplingRuleCommand";
40
- export * from "./pagination/Interfaces";
41
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";