@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,53 +1,35 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- /**
3
- * <p>An alias for an edge.</p>
4
- */
2
+
5
3
  export interface Alias {
6
- /**
7
- * <p>The canonical name of the alias.</p>
8
- */
4
+
9
5
  Name?: string;
10
- /**
11
- * <p>A list of names for the alias, including the canonical name.</p>
12
- */
6
+
13
7
  Names?: string[];
14
- /**
15
- * <p>The type of the alias.</p>
16
- */
8
+
17
9
  Type?: string;
18
10
  }
19
11
  export declare namespace Alias {
20
- /**
21
- * @internal
22
- */
12
+
23
13
  const filterSensitiveLog: (obj: Alias) => any;
24
14
  }
25
- /**
26
- * <p>Value of a segment annotation. Has one of three value types: Number, Boolean, or String.</p>
27
- */
15
+
28
16
  export declare type AnnotationValue = AnnotationValue.BooleanValueMember | AnnotationValue.NumberValueMember | AnnotationValue.StringValueMember | AnnotationValue.$UnknownMember;
29
17
  export declare namespace AnnotationValue {
30
- /**
31
- * <p>Value for a Number annotation.</p>
32
- */
18
+
33
19
  interface NumberValueMember {
34
20
  NumberValue: number;
35
21
  BooleanValue?: never;
36
22
  StringValue?: never;
37
23
  $unknown?: never;
38
24
  }
39
- /**
40
- * <p>Value for a Boolean annotation.</p>
41
- */
25
+
42
26
  interface BooleanValueMember {
43
27
  NumberValue?: never;
44
28
  BooleanValue: boolean;
45
29
  StringValue?: never;
46
30
  $unknown?: never;
47
31
  }
48
- /**
49
- * <p>Value for a String annotation.</p>
50
- */
32
+
51
33
  interface StringValueMember {
52
34
  NumberValue?: never;
53
35
  BooleanValue?: never;
@@ -70,595 +52,294 @@ export declare namespace AnnotationValue {
70
52
  _: (name: string, value: any) => T;
71
53
  }
72
54
  const visit: <T>(value: AnnotationValue, visitor: Visitor<T>) => T;
73
- /**
74
- * @internal
75
- */
55
+
76
56
  const filterSensitiveLog: (obj: AnnotationValue) => any;
77
57
  }
78
- /**
79
- * <p></p>
80
- */
58
+
81
59
  export interface ServiceId {
82
- /**
83
- * <p></p>
84
- */
60
+
85
61
  Name?: string;
86
- /**
87
- * <p></p>
88
- */
62
+
89
63
  Names?: string[];
90
- /**
91
- * <p></p>
92
- */
64
+
93
65
  AccountId?: string;
94
- /**
95
- * <p></p>
96
- */
66
+
97
67
  Type?: string;
98
68
  }
99
69
  export declare namespace ServiceId {
100
- /**
101
- * @internal
102
- */
70
+
103
71
  const filterSensitiveLog: (obj: ServiceId) => any;
104
72
  }
105
- /**
106
- * <p>Information about a segment annotation.</p>
107
- */
73
+
108
74
  export interface ValueWithServiceIds {
109
- /**
110
- * <p>Values of the annotation.</p>
111
- */
75
+
112
76
  AnnotationValue?: AnnotationValue;
113
- /**
114
- * <p>Services to which the annotation applies.</p>
115
- */
77
+
116
78
  ServiceIds?: ServiceId[];
117
79
  }
118
80
  export declare namespace ValueWithServiceIds {
119
- /**
120
- * @internal
121
- */
81
+
122
82
  const filterSensitiveLog: (obj: ValueWithServiceIds) => any;
123
83
  }
124
- /**
125
- * <p>The service within the service graph that has anomalously high fault rates. </p>
126
- */
84
+
127
85
  export interface AnomalousService {
128
- /**
129
- * <p></p>
130
- */
86
+
131
87
  ServiceId?: ServiceId;
132
88
  }
133
89
  export declare namespace AnomalousService {
134
- /**
135
- * @internal
136
- */
90
+
137
91
  const filterSensitiveLog: (obj: AnomalousService) => any;
138
92
  }
139
- /**
140
- * <p>A list of Availability Zones corresponding to the segments in a trace.</p>
141
- */
93
+
142
94
  export interface AvailabilityZoneDetail {
143
- /**
144
- * <p>The name of a corresponding Availability Zone.</p>
145
- */
95
+
146
96
  Name?: string;
147
97
  }
148
98
  export declare namespace AvailabilityZoneDetail {
149
- /**
150
- * @internal
151
- */
99
+
152
100
  const filterSensitiveLog: (obj: AvailabilityZoneDetail) => any;
153
101
  }
154
102
  export interface BatchGetTracesRequest {
155
- /**
156
- * <p>Specify the trace IDs of requests for which to retrieve segments.</p>
157
- */
103
+
158
104
  TraceIds: string[] | undefined;
159
- /**
160
- * <p>Pagination token.</p>
161
- */
105
+
162
106
  NextToken?: string;
163
107
  }
164
108
  export declare namespace BatchGetTracesRequest {
165
- /**
166
- * @internal
167
- */
109
+
168
110
  const filterSensitiveLog: (obj: BatchGetTracesRequest) => any;
169
111
  }
170
- /**
171
- * <p>A segment from a trace that has been ingested by the X-Ray service. The segment can be
172
- * compiled from documents uploaded with <a href="https://docs.aws.amazon.com/xray/latest/api/API_PutTraceSegments.html">PutTraceSegments</a>, or an
173
- * <code>inferred</code> segment for a downstream service, generated from a subsegment sent by
174
- * the service that called it.</p>
175
- * <p>For the full segment document schema, see <a href="https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html">Amazon Web Services X-Ray Segment
176
- * Documents</a> in the <i>Amazon Web Services X-Ray Developer Guide</i>.</p>
177
- */
112
+
178
113
  export interface Segment {
179
- /**
180
- * <p>The segment's ID.</p>
181
- */
114
+
182
115
  Id?: string;
183
- /**
184
- * <p>The segment document.</p>
185
- */
116
+
186
117
  Document?: string;
187
118
  }
188
119
  export declare namespace Segment {
189
- /**
190
- * @internal
191
- */
120
+
192
121
  const filterSensitiveLog: (obj: Segment) => any;
193
122
  }
194
- /**
195
- * <p>A collection of segment documents with matching trace IDs.</p>
196
- */
123
+
197
124
  export interface Trace {
198
- /**
199
- * <p>The unique identifier for the request that generated the trace's segments and
200
- * subsegments.</p>
201
- */
125
+
202
126
  Id?: string;
203
- /**
204
- * <p>The length of time in seconds between the start time of the root segment and the end
205
- * time of the last segment that completed.</p>
206
- */
127
+
207
128
  Duration?: number;
208
- /**
209
- * <p>LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For
210
- * more information about quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/xray.html">Amazon Web Services X-Ray endpoints and quotas</a>.</p>
211
- */
129
+
212
130
  LimitExceeded?: boolean;
213
- /**
214
- * <p>Segment documents for the segments and subsegments that comprise the trace.</p>
215
- */
131
+
216
132
  Segments?: Segment[];
217
133
  }
218
134
  export declare namespace Trace {
219
- /**
220
- * @internal
221
- */
135
+
222
136
  const filterSensitiveLog: (obj: Trace) => any;
223
137
  }
224
138
  export interface BatchGetTracesResult {
225
- /**
226
- * <p>Full traces for the specified requests.</p>
227
- */
139
+
228
140
  Traces?: Trace[];
229
- /**
230
- * <p>Trace IDs of requests that haven't been processed.</p>
231
- */
141
+
232
142
  UnprocessedTraceIds?: string[];
233
- /**
234
- * <p>Pagination token.</p>
235
- */
143
+
236
144
  NextToken?: string;
237
145
  }
238
146
  export declare namespace BatchGetTracesResult {
239
- /**
240
- * @internal
241
- */
147
+
242
148
  const filterSensitiveLog: (obj: BatchGetTracesResult) => any;
243
149
  }
244
- /**
245
- * <p>The request is missing required parameters or has invalid parameters.</p>
246
- */
150
+
247
151
  export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
248
152
  name: "InvalidRequestException";
249
153
  $fault: "client";
250
154
  Message?: string;
251
155
  }
252
156
  export declare namespace InvalidRequestException {
253
- /**
254
- * @internal
255
- */
157
+
256
158
  const filterSensitiveLog: (obj: InvalidRequestException) => any;
257
159
  }
258
- /**
259
- * <p>The request exceeds the maximum number of requests per second.</p>
260
- */
160
+
261
161
  export interface ThrottledException extends __SmithyException, $MetadataBearer {
262
162
  name: "ThrottledException";
263
163
  $fault: "client";
264
164
  Message?: string;
265
165
  }
266
166
  export declare namespace ThrottledException {
267
- /**
268
- * @internal
269
- */
167
+
270
168
  const filterSensitiveLog: (obj: ThrottledException) => any;
271
169
  }
272
- /**
273
- * <p>The structure containing configurations related to insights.</p>
274
- */
170
+
275
171
  export interface InsightsConfiguration {
276
- /**
277
- * <p>Set the InsightsEnabled value to true to enable insights or false to disable
278
- * insights.</p>
279
- */
172
+
280
173
  InsightsEnabled?: boolean;
281
- /**
282
- * <p>Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be
283
- * enabled on a group with InsightsEnabled set to true.</p>
284
- */
174
+
285
175
  NotificationsEnabled?: boolean;
286
176
  }
287
177
  export declare namespace InsightsConfiguration {
288
- /**
289
- * @internal
290
- */
178
+
291
179
  const filterSensitiveLog: (obj: InsightsConfiguration) => any;
292
180
  }
293
- /**
294
- * <p>A map that contains tag keys and tag values to attach to an Amazon Web Services X-Ray group or sampling
295
- * rule. For more information about ways to use tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
296
- * in the <i>Amazon Web Services General Reference</i>.</p>
297
- * <p>The following restrictions apply to tags:</p>
298
- * <ul>
299
- * <li>
300
- * <p>Maximum number of user-applied tags per resource: 50</p>
301
- * </li>
302
- * <li>
303
- * <p>Tag keys and values are case sensitive.</p>
304
- * </li>
305
- * <li>
306
- * <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for Amazon Web Services use. You
307
- * cannot edit or delete system tags.</p>
308
- * </li>
309
- * </ul>
310
- */
181
+
311
182
  export interface Tag {
312
- /**
313
- * <p>A tag key, such as <code>Stage</code> or <code>Name</code>. A tag key cannot be empty. The
314
- * key can be a maximum of 128 characters, and can contain only Unicode letters, numbers, or separators,
315
- * or the following special characters: <code>+ - = . _ : /</code>
316
- * </p>
317
- */
183
+
318
184
  Key: string | undefined;
319
- /**
320
- * <p>An optional tag value, such as <code>Production</code> or <code>test-only</code>. The value can be
321
- * a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following
322
- * special characters: <code>+ - = . _ : /</code>
323
- * </p>
324
- */
185
+
325
186
  Value: string | undefined;
326
187
  }
327
188
  export declare namespace Tag {
328
- /**
329
- * @internal
330
- */
189
+
331
190
  const filterSensitiveLog: (obj: Tag) => any;
332
191
  }
333
192
  export interface CreateGroupRequest {
334
- /**
335
- * <p>The case-sensitive name of the new group. Default is a reserved name and names must
336
- * be unique.</p>
337
- */
193
+
338
194
  GroupName: string | undefined;
339
- /**
340
- * <p>The filter expression defining criteria by which to group traces.</p>
341
- */
195
+
342
196
  FilterExpression?: string;
343
- /**
344
- * <p>The structure containing configurations related to insights.</p>
345
- * <ul>
346
- * <li>
347
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
348
- * new group or false to disable insights for the new group.</p>
349
- * </li>
350
- * <li>
351
- * <p>The NotifcationsEnabled boolean can be set to true to enable insights
352
- * notifications for the new group. Notifications may only be enabled on a group
353
- * with InsightsEnabled set to true.</p>
354
- * </li>
355
- * </ul>
356
- */
197
+
357
198
  InsightsConfiguration?: InsightsConfiguration;
358
- /**
359
- * <p>A map that contains one or more tag keys and tag values to attach to an X-Ray group.
360
- * For more information about ways to use tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
361
- * resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
362
- * <p>The following restrictions apply to tags:</p>
363
- * <ul>
364
- * <li>
365
- * <p>Maximum number of user-applied tags per resource: 50</p>
366
- * </li>
367
- * <li>
368
- * <p>Maximum tag key length: 128 Unicode characters</p>
369
- * </li>
370
- * <li>
371
- * <p>Maximum tag value length: 256 Unicode characters</p>
372
- * </li>
373
- * <li>
374
- * <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :
375
- * / = + - and @</p>
376
- * </li>
377
- * <li>
378
- * <p>Tag keys and values are case sensitive.</p>
379
- * </li>
380
- * <li>
381
- * <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for Amazon Web Services
382
- * use.</p>
383
- * </li>
384
- * </ul>
385
- */
199
+
386
200
  Tags?: Tag[];
387
201
  }
388
202
  export declare namespace CreateGroupRequest {
389
- /**
390
- * @internal
391
- */
203
+
392
204
  const filterSensitiveLog: (obj: CreateGroupRequest) => any;
393
205
  }
394
- /**
395
- * <p>Details and metadata for a group.</p>
396
- */
206
+
397
207
  export interface Group {
398
- /**
399
- * <p>The unique case-sensitive name of the group.</p>
400
- */
208
+
401
209
  GroupName?: string;
402
- /**
403
- * <p>The Amazon Resource Name (ARN) of the group generated based on the GroupName.</p>
404
- */
210
+
405
211
  GroupARN?: string;
406
- /**
407
- * <p>The filter expression defining the parameters to include traces.</p>
408
- */
212
+
409
213
  FilterExpression?: string;
410
- /**
411
- * <p>The structure containing configurations related to insights.</p>
412
- * <ul>
413
- * <li>
414
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
415
- * group or false to disable insights for the group.</p>
416
- * </li>
417
- * <li>
418
- * <p>The NotificationsEnabled boolean can be set to true to enable insights
419
- * notifications through Amazon EventBridge for the group.</p>
420
- * </li>
421
- * </ul>
422
- */
214
+
423
215
  InsightsConfiguration?: InsightsConfiguration;
424
216
  }
425
217
  export declare namespace Group {
426
- /**
427
- * @internal
428
- */
218
+
429
219
  const filterSensitiveLog: (obj: Group) => any;
430
220
  }
431
221
  export interface CreateGroupResult {
432
- /**
433
- * <p>The group that was created. Contains the name of the group that was created, the Amazon Resource Name
434
- * (ARN) of the group that was generated based on the group name, the filter expression, and the insight
435
- * configuration that was assigned to the group.</p>
436
- */
222
+
437
223
  Group?: Group;
438
224
  }
439
225
  export declare namespace CreateGroupResult {
440
- /**
441
- * @internal
442
- */
226
+
443
227
  const filterSensitiveLog: (obj: CreateGroupResult) => any;
444
228
  }
445
- /**
446
- * <p>A sampling rule that services use to decide whether to instrument a request. Rule
447
- * fields can match properties of the service, or properties of a request. The service can ignore
448
- * rules that don't match its properties.</p>
449
- */
229
+
450
230
  export interface SamplingRule {
451
- /**
452
- * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
453
- */
231
+
454
232
  RuleName?: string;
455
- /**
456
- * <p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
457
- */
233
+
458
234
  RuleARN?: string;
459
- /**
460
- * <p>Matches the ARN of the Amazon Web Services resource on which the service runs.</p>
461
- */
235
+
462
236
  ResourceARN: string | undefined;
463
- /**
464
- * <p>The priority of the sampling rule.</p>
465
- */
237
+
466
238
  Priority: number | undefined;
467
- /**
468
- * <p>The percentage of matching requests to instrument, after the reservoir is
469
- * exhausted.</p>
470
- */
239
+
471
240
  FixedRate: number | undefined;
472
- /**
473
- * <p>A fixed number of matching requests to instrument per second, prior to applying the
474
- * fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.</p>
475
- */
241
+
476
242
  ReservoirSize: number | undefined;
477
- /**
478
- * <p>Matches the <code>name</code> that the service uses to identify itself in segments.</p>
479
- */
243
+
480
244
  ServiceName: string | undefined;
481
- /**
482
- * <p>Matches the <code>origin</code> that the service uses to identify its type in segments.</p>
483
- */
245
+
484
246
  ServiceType: string | undefined;
485
- /**
486
- * <p>Matches the hostname from a request URL.</p>
487
- */
247
+
488
248
  Host: string | undefined;
489
- /**
490
- * <p>Matches the HTTP method of a request.</p>
491
- */
249
+
492
250
  HTTPMethod: string | undefined;
493
- /**
494
- * <p>Matches the path from a request URL.</p>
495
- */
251
+
496
252
  URLPath: string | undefined;
497
- /**
498
- * <p>The version of the sampling rule format (<code>1</code>).</p>
499
- */
253
+
500
254
  Version: number | undefined;
501
- /**
502
- * <p>Matches attributes derived from the request.</p>
503
- */
255
+
504
256
  Attributes?: {
505
257
  [key: string]: string;
506
258
  };
507
259
  }
508
260
  export declare namespace SamplingRule {
509
- /**
510
- * @internal
511
- */
261
+
512
262
  const filterSensitiveLog: (obj: SamplingRule) => any;
513
263
  }
514
264
  export interface CreateSamplingRuleRequest {
515
- /**
516
- * <p>The rule definition.</p>
517
- */
265
+
518
266
  SamplingRule: SamplingRule | undefined;
519
- /**
520
- * <p>A map that contains one or more tag keys and tag values to attach to an X-Ray sampling
521
- * rule. For more information about ways to use tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services
522
- * resources</a> in the <i>Amazon Web Services General Reference</i>.</p>
523
- * <p>The following restrictions apply to tags:</p>
524
- * <ul>
525
- * <li>
526
- * <p>Maximum number of user-applied tags per resource: 50</p>
527
- * </li>
528
- * <li>
529
- * <p>Maximum tag key length: 128 Unicode characters</p>
530
- * </li>
531
- * <li>
532
- * <p>Maximum tag value length: 256 Unicode characters</p>
533
- * </li>
534
- * <li>
535
- * <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :
536
- * / = + - and @</p>
537
- * </li>
538
- * <li>
539
- * <p>Tag keys and values are case sensitive.</p>
540
- * </li>
541
- * <li>
542
- * <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for Amazon Web Services
543
- * use.</p>
544
- * </li>
545
- * </ul>
546
- */
267
+
547
268
  Tags?: Tag[];
548
269
  }
549
270
  export declare namespace CreateSamplingRuleRequest {
550
- /**
551
- * @internal
552
- */
271
+
553
272
  const filterSensitiveLog: (obj: CreateSamplingRuleRequest) => any;
554
273
  }
555
- /**
556
- * <p>A <a href="https://docs.aws.amazon.com/xray/latest/api/API_SamplingRule.html">SamplingRule</a> and its metadata.</p>
557
- */
274
+
558
275
  export interface SamplingRuleRecord {
559
- /**
560
- * <p>The sampling rule.</p>
561
- */
276
+
562
277
  SamplingRule?: SamplingRule;
563
- /**
564
- * <p>When the rule was created.</p>
565
- */
278
+
566
279
  CreatedAt?: Date;
567
- /**
568
- * <p>When the rule was last modified.</p>
569
- */
280
+
570
281
  ModifiedAt?: Date;
571
282
  }
572
283
  export declare namespace SamplingRuleRecord {
573
- /**
574
- * @internal
575
- */
284
+
576
285
  const filterSensitiveLog: (obj: SamplingRuleRecord) => any;
577
286
  }
578
287
  export interface CreateSamplingRuleResult {
579
- /**
580
- * <p>The saved rule definition and metadata.</p>
581
- */
288
+
582
289
  SamplingRuleRecord?: SamplingRuleRecord;
583
290
  }
584
291
  export declare namespace CreateSamplingRuleResult {
585
- /**
586
- * @internal
587
- */
292
+
588
293
  const filterSensitiveLog: (obj: CreateSamplingRuleResult) => any;
589
294
  }
590
- /**
591
- * <p>You have reached the maximum number of sampling rules.</p>
592
- */
295
+
593
296
  export interface RuleLimitExceededException extends __SmithyException, $MetadataBearer {
594
297
  name: "RuleLimitExceededException";
595
298
  $fault: "client";
596
299
  Message?: string;
597
300
  }
598
301
  export declare namespace RuleLimitExceededException {
599
- /**
600
- * @internal
601
- */
302
+
602
303
  const filterSensitiveLog: (obj: RuleLimitExceededException) => any;
603
304
  }
604
305
  export interface DeleteGroupRequest {
605
- /**
606
- * <p>The case-sensitive name of the group.</p>
607
- */
306
+
608
307
  GroupName?: string;
609
- /**
610
- * <p>The ARN of the group that was generated on creation.</p>
611
- */
308
+
612
309
  GroupARN?: string;
613
310
  }
614
311
  export declare namespace DeleteGroupRequest {
615
- /**
616
- * @internal
617
- */
312
+
618
313
  const filterSensitiveLog: (obj: DeleteGroupRequest) => any;
619
314
  }
620
315
  export interface DeleteGroupResult {
621
316
  }
622
317
  export declare namespace DeleteGroupResult {
623
- /**
624
- * @internal
625
- */
318
+
626
319
  const filterSensitiveLog: (obj: DeleteGroupResult) => any;
627
320
  }
628
321
  export interface DeleteSamplingRuleRequest {
629
- /**
630
- * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
631
- */
322
+
632
323
  RuleName?: string;
633
- /**
634
- * <p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
635
- */
324
+
636
325
  RuleARN?: string;
637
326
  }
638
327
  export declare namespace DeleteSamplingRuleRequest {
639
- /**
640
- * @internal
641
- */
328
+
642
329
  const filterSensitiveLog: (obj: DeleteSamplingRuleRequest) => any;
643
330
  }
644
331
  export interface DeleteSamplingRuleResult {
645
- /**
646
- * <p>The deleted rule definition and metadata.</p>
647
- */
332
+
648
333
  SamplingRuleRecord?: SamplingRuleRecord;
649
334
  }
650
335
  export declare namespace DeleteSamplingRuleResult {
651
- /**
652
- * @internal
653
- */
336
+
654
337
  const filterSensitiveLog: (obj: DeleteSamplingRuleResult) => any;
655
338
  }
656
339
  export interface GetEncryptionConfigRequest {
657
340
  }
658
341
  export declare namespace GetEncryptionConfigRequest {
659
- /**
660
- * @internal
661
- */
342
+
662
343
  const filterSensitiveLog: (obj: GetEncryptionConfigRequest) => any;
663
344
  }
664
345
  export declare enum EncryptionStatus {
@@ -669,1265 +350,679 @@ export declare enum EncryptionType {
669
350
  KMS = "KMS",
670
351
  NONE = "NONE"
671
352
  }
672
- /**
673
- * <p>A configuration document that specifies encryption configuration settings.</p>
674
- */
353
+
675
354
  export interface EncryptionConfig {
676
- /**
677
- * <p>The ID of the KMS key used for encryption, if applicable.</p>
678
- */
355
+
679
356
  KeyId?: string;
680
- /**
681
- * <p>The encryption status. While the status is <code>UPDATING</code>, X-Ray may encrypt data with a combination of the new and old settings.</p>
682
- */
357
+
683
358
  Status?: EncryptionStatus | string;
684
- /**
685
- * <p>The type of encryption. Set to <code>KMS</code> for encryption with KMS keys. Set to <code>NONE</code> for
686
- * default encryption.</p>
687
- */
359
+
688
360
  Type?: EncryptionType | string;
689
361
  }
690
362
  export declare namespace EncryptionConfig {
691
- /**
692
- * @internal
693
- */
363
+
694
364
  const filterSensitiveLog: (obj: EncryptionConfig) => any;
695
365
  }
696
366
  export interface GetEncryptionConfigResult {
697
- /**
698
- * <p>The encryption configuration document.</p>
699
- */
367
+
700
368
  EncryptionConfig?: EncryptionConfig;
701
369
  }
702
370
  export declare namespace GetEncryptionConfigResult {
703
- /**
704
- * @internal
705
- */
371
+
706
372
  const filterSensitiveLog: (obj: GetEncryptionConfigResult) => any;
707
373
  }
708
374
  export interface GetGroupRequest {
709
- /**
710
- * <p>The case-sensitive name of the group.</p>
711
- */
375
+
712
376
  GroupName?: string;
713
- /**
714
- * <p>The ARN of the group that was generated on creation.</p>
715
- */
377
+
716
378
  GroupARN?: string;
717
379
  }
718
380
  export declare namespace GetGroupRequest {
719
- /**
720
- * @internal
721
- */
381
+
722
382
  const filterSensitiveLog: (obj: GetGroupRequest) => any;
723
383
  }
724
384
  export interface GetGroupResult {
725
- /**
726
- * <p>The group that was requested. Contains the name of the group, the ARN of the group,
727
- * the filter expression, and the insight configuration assigned to the group.</p>
728
- */
385
+
729
386
  Group?: Group;
730
387
  }
731
388
  export declare namespace GetGroupResult {
732
- /**
733
- * @internal
734
- */
389
+
735
390
  const filterSensitiveLog: (obj: GetGroupResult) => any;
736
391
  }
737
392
  export interface GetGroupsRequest {
738
- /**
739
- * <p>Pagination token.</p>
740
- */
393
+
741
394
  NextToken?: string;
742
395
  }
743
396
  export declare namespace GetGroupsRequest {
744
- /**
745
- * @internal
746
- */
397
+
747
398
  const filterSensitiveLog: (obj: GetGroupsRequest) => any;
748
399
  }
749
- /**
750
- * <p>Details for a group without metadata.</p>
751
- */
400
+
752
401
  export interface GroupSummary {
753
- /**
754
- * <p>The unique case-sensitive name of the group.</p>
755
- */
402
+
756
403
  GroupName?: string;
757
- /**
758
- * <p>The ARN of the group generated based on the GroupName.</p>
759
- */
404
+
760
405
  GroupARN?: string;
761
- /**
762
- * <p>The filter expression defining the parameters to include traces.</p>
763
- */
406
+
764
407
  FilterExpression?: string;
765
- /**
766
- * <p>The structure containing configurations related to insights.</p>
767
- * <ul>
768
- * <li>
769
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
770
- * group or false to disable insights for the group.</p>
771
- * </li>
772
- * <li>
773
- * <p>The NotificationsEnabled boolean can be set to true to enable insights notifications.
774
- * Notifications can only be enabled on a group with InsightsEnabled set to true.</p>
775
- * </li>
776
- * </ul>
777
- */
408
+
778
409
  InsightsConfiguration?: InsightsConfiguration;
779
410
  }
780
411
  export declare namespace GroupSummary {
781
- /**
782
- * @internal
783
- */
412
+
784
413
  const filterSensitiveLog: (obj: GroupSummary) => any;
785
414
  }
786
415
  export interface GetGroupsResult {
787
- /**
788
- * <p>The collection of all active groups.</p>
789
- */
416
+
790
417
  Groups?: GroupSummary[];
791
- /**
792
- * <p>Pagination token.</p>
793
- */
418
+
794
419
  NextToken?: string;
795
420
  }
796
421
  export declare namespace GetGroupsResult {
797
- /**
798
- * @internal
799
- */
422
+
800
423
  const filterSensitiveLog: (obj: GetGroupsResult) => any;
801
424
  }
802
425
  export interface GetInsightRequest {
803
- /**
804
- * <p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p>
805
- */
426
+
806
427
  InsightId: string | undefined;
807
428
  }
808
429
  export declare namespace GetInsightRequest {
809
- /**
810
- * @internal
811
- */
430
+
812
431
  const filterSensitiveLog: (obj: GetInsightRequest) => any;
813
432
  }
814
433
  export declare enum InsightCategory {
815
434
  FAULT = "FAULT"
816
435
  }
817
- /**
818
- * <p>Statistics that describe how the incident has impacted a service.</p>
819
- */
436
+
820
437
  export interface RequestImpactStatistics {
821
- /**
822
- * <p>The number of requests that have resulted in a fault,</p>
823
- */
438
+
824
439
  FaultCount?: number;
825
- /**
826
- * <p>The number of successful requests.</p>
827
- */
440
+
828
441
  OkCount?: number;
829
- /**
830
- * <p>The total number of requests to the service.</p>
831
- */
442
+
832
443
  TotalCount?: number;
833
444
  }
834
445
  export declare namespace RequestImpactStatistics {
835
- /**
836
- * @internal
837
- */
446
+
838
447
  const filterSensitiveLog: (obj: RequestImpactStatistics) => any;
839
448
  }
840
449
  export declare enum InsightState {
841
450
  ACTIVE = "ACTIVE",
842
451
  CLOSED = "CLOSED"
843
452
  }
844
- /**
845
- * <p>When fault rates go outside of the expected range, X-Ray creates an insight. Insights
846
- * tracks emergent issues within your applications.</p>
847
- */
453
+
848
454
  export interface Insight {
849
- /**
850
- * <p>The insights unique identifier. </p>
851
- */
455
+
852
456
  InsightId?: string;
853
- /**
854
- * <p>The Amazon Resource Name (ARN) of the group that the insight belongs to.</p>
855
- */
457
+
856
458
  GroupARN?: string;
857
- /**
858
- * <p>The name of the group that the insight belongs to.</p>
859
- */
459
+
860
460
  GroupName?: string;
861
- /**
862
- * <p></p>
863
- */
461
+
864
462
  RootCauseServiceId?: ServiceId;
865
- /**
866
- * <p>The categories that label and describe the type of insight.</p>
867
- */
463
+
868
464
  Categories?: (InsightCategory | string)[];
869
- /**
870
- * <p>The current state of the insight.</p>
871
- */
465
+
872
466
  State?: InsightState | string;
873
- /**
874
- * <p>The time, in Unix seconds, at which the insight began.</p>
875
- */
467
+
876
468
  StartTime?: Date;
877
- /**
878
- * <p>The time, in Unix seconds, at which the insight ended.</p>
879
- */
469
+
880
470
  EndTime?: Date;
881
- /**
882
- * <p>A brief description of the insight.</p>
883
- */
471
+
884
472
  Summary?: string;
885
- /**
886
- * <p>The impact statistics of the client side service. This includes the number of requests to the client service
887
- * and whether the requests were faults or okay.</p>
888
- */
473
+
889
474
  ClientRequestImpactStatistics?: RequestImpactStatistics;
890
- /**
891
- * <p>The impact statistics of the root cause service. This includes the number of requests to the client service
892
- * and whether the requests were faults or okay.</p>
893
- */
475
+
894
476
  RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
895
- /**
896
- * <p>The service within the insight that is most impacted by the incident.</p>
897
- */
477
+
898
478
  TopAnomalousServices?: AnomalousService[];
899
479
  }
900
480
  export declare namespace Insight {
901
- /**
902
- * @internal
903
- */
481
+
904
482
  const filterSensitiveLog: (obj: Insight) => any;
905
483
  }
906
484
  export interface GetInsightResult {
907
- /**
908
- * <p>The summary information of an insight.</p>
909
- */
485
+
910
486
  Insight?: Insight;
911
487
  }
912
488
  export declare namespace GetInsightResult {
913
- /**
914
- * @internal
915
- */
489
+
916
490
  const filterSensitiveLog: (obj: GetInsightResult) => any;
917
491
  }
918
492
  export interface GetInsightEventsRequest {
919
- /**
920
- * <p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p>
921
- */
493
+
922
494
  InsightId: string | undefined;
923
- /**
924
- * <p>Used to retrieve at most the specified value of events.</p>
925
- */
495
+
926
496
  MaxResults?: number;
927
- /**
928
- * <p>Specify the pagination token returned by a previous request to retrieve the next page of events. </p>
929
- */
497
+
930
498
  NextToken?: string;
931
499
  }
932
500
  export declare namespace GetInsightEventsRequest {
933
- /**
934
- * @internal
935
- */
501
+
936
502
  const filterSensitiveLog: (obj: GetInsightEventsRequest) => any;
937
503
  }
938
- /**
939
- * <p>X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an
940
- * event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.</p>
941
- */
504
+
942
505
  export interface InsightEvent {
943
- /**
944
- * <p>A brief description of the event.</p>
945
- */
506
+
946
507
  Summary?: string;
947
- /**
948
- * <p>The time, in Unix seconds, at which the event was recorded.</p>
949
- */
508
+
950
509
  EventTime?: Date;
951
- /**
952
- * <p>The impact statistics of the client side service. This includes the number of requests to the client service
953
- * and whether the requests were faults or okay.</p>
954
- */
510
+
955
511
  ClientRequestImpactStatistics?: RequestImpactStatistics;
956
- /**
957
- * <p>The impact statistics of the root cause service. This includes the number of requests to the client service
958
- * and whether the requests were faults or okay.</p>
959
- */
512
+
960
513
  RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
961
- /**
962
- * <p>The service during the event that is most impacted by the incident.</p>
963
- */
514
+
964
515
  TopAnomalousServices?: AnomalousService[];
965
516
  }
966
517
  export declare namespace InsightEvent {
967
- /**
968
- * @internal
969
- */
518
+
970
519
  const filterSensitiveLog: (obj: InsightEvent) => any;
971
520
  }
972
521
  export interface GetInsightEventsResult {
973
- /**
974
- * <p>A detailed description of the event. This includes the time of the event, client and
975
- * root cause impact statistics, and the top anomalous service at the time of the
976
- * event.</p>
977
- */
522
+
978
523
  InsightEvents?: InsightEvent[];
979
- /**
980
- * <p>Use this token to retrieve the next page of insight events.</p>
981
- */
524
+
982
525
  NextToken?: string;
983
526
  }
984
527
  export declare namespace GetInsightEventsResult {
985
- /**
986
- * @internal
987
- */
528
+
988
529
  const filterSensitiveLog: (obj: GetInsightEventsResult) => any;
989
530
  }
990
531
  export interface GetInsightImpactGraphRequest {
991
- /**
992
- * <p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p>
993
- */
532
+
994
533
  InsightId: string | undefined;
995
- /**
996
- * <p>The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value
997
- * provided and can't be more than 30 days old.</p>
998
- */
534
+
999
535
  StartTime: Date | undefined;
1000
- /**
1001
- * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided.
1002
- * The time range between the start time and end time can't be more than six hours. </p>
1003
- */
536
+
1004
537
  EndTime: Date | undefined;
1005
- /**
1006
- * <p>Specify the pagination token returned by a previous request to retrieve the next page of results. </p>
1007
- */
538
+
1008
539
  NextToken?: string;
1009
540
  }
1010
541
  export declare namespace GetInsightImpactGraphRequest {
1011
- /**
1012
- * @internal
1013
- */
542
+
1014
543
  const filterSensitiveLog: (obj: GetInsightImpactGraphRequest) => any;
1015
544
  }
1016
- /**
1017
- * <p>The connection between two service in an insight impact graph.</p>
1018
- */
545
+
1019
546
  export interface InsightImpactGraphEdge {
1020
- /**
1021
- * <p>Identifier of the edge. Unique within a service map.</p>
1022
- */
547
+
1023
548
  ReferenceId?: number;
1024
549
  }
1025
550
  export declare namespace InsightImpactGraphEdge {
1026
- /**
1027
- * @internal
1028
- */
551
+
1029
552
  const filterSensitiveLog: (obj: InsightImpactGraphEdge) => any;
1030
553
  }
1031
- /**
1032
- * <p>Information about an application that processed requests, users that made requests, or downstream services,
1033
- * resources, and applications that an application used. </p>
1034
- */
554
+
1035
555
  export interface InsightImpactGraphService {
1036
- /**
1037
- * <p>Identifier for the service. Unique within the service map.</p>
1038
- */
556
+
1039
557
  ReferenceId?: number;
1040
- /**
1041
- * <p>Identifier for the service. Unique within the service map.</p>
1042
- * <ul>
1043
- * <li>
1044
- * <p>Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, AWS::EC2::Instance for an application running
1045
- * on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used. </p>
1046
- * </li>
1047
- * <li>
1048
- * <p>Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon
1049
- * DynamoDB that didn't target a specific table. </p>
1050
- * </li>
1051
- * <li>
1052
- * <p>Amazon Web Services Service - The type of an Amazon Web Services service. For example, AWS::DynamoDB for downstream calls to Amazon
1053
- * DynamoDB that didn't target a specific table. </p>
1054
- * </li>
1055
- * <li>
1056
- * <p>remote - A downstream service of indeterminate type.</p>
1057
- * </li>
1058
- * </ul>
1059
- */
558
+
1060
559
  Type?: string;
1061
- /**
1062
- * <p>The canonical name of the service.</p>
1063
- */
560
+
1064
561
  Name?: string;
1065
- /**
1066
- * <p>A list of names for the service, including the canonical name.</p>
1067
- */
562
+
1068
563
  Names?: string[];
1069
- /**
1070
- * <p>Identifier of the Amazon Web Services account in which the service runs.</p>
1071
- */
564
+
1072
565
  AccountId?: string;
1073
- /**
1074
- * <p>Connections to downstream services.</p>
1075
- */
566
+
1076
567
  Edges?: InsightImpactGraphEdge[];
1077
568
  }
1078
569
  export declare namespace InsightImpactGraphService {
1079
- /**
1080
- * @internal
1081
- */
570
+
1082
571
  const filterSensitiveLog: (obj: InsightImpactGraphService) => any;
1083
572
  }
1084
573
  export interface GetInsightImpactGraphResult {
1085
- /**
1086
- * <p>The insight's unique identifier.</p>
1087
- */
574
+
1088
575
  InsightId?: string;
1089
- /**
1090
- * <p>The provided start time.</p>
1091
- */
576
+
1092
577
  StartTime?: Date;
1093
- /**
1094
- * <p>The provided end time. </p>
1095
- */
578
+
1096
579
  EndTime?: Date;
1097
- /**
1098
- * <p>The time, in Unix seconds, at which the service graph started.</p>
1099
- */
580
+
1100
581
  ServiceGraphStartTime?: Date;
1101
- /**
1102
- * <p>The time, in Unix seconds, at which the service graph ended.</p>
1103
- */
582
+
1104
583
  ServiceGraphEndTime?: Date;
1105
- /**
1106
- * <p>The Amazon Web Services instrumented services related to the insight.</p>
1107
- */
584
+
1108
585
  Services?: InsightImpactGraphService[];
1109
- /**
1110
- * <p>Pagination token.</p>
1111
- */
586
+
1112
587
  NextToken?: string;
1113
588
  }
1114
589
  export declare namespace GetInsightImpactGraphResult {
1115
- /**
1116
- * @internal
1117
- */
590
+
1118
591
  const filterSensitiveLog: (obj: GetInsightImpactGraphResult) => any;
1119
592
  }
1120
593
  export interface GetInsightSummariesRequest {
1121
- /**
1122
- * <p>The list of insight states. </p>
1123
- */
594
+
1124
595
  States?: (InsightState | string)[];
1125
- /**
1126
- * <p>The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.</p>
1127
- */
596
+
1128
597
  GroupARN?: string;
1129
- /**
1130
- * <p>The name of the group. Required if the GroupARN isn't provided.</p>
1131
- */
598
+
1132
599
  GroupName?: string;
1133
- /**
1134
- * <p>The beginning of the time frame in which the insights started. The start time can't be more than 30 days
1135
- * old.</p>
1136
- */
600
+
1137
601
  StartTime: Date | undefined;
1138
- /**
1139
- * <p>The end of the time frame in which the insights ended. The end time can't be more than 30 days old.</p>
1140
- */
602
+
1141
603
  EndTime: Date | undefined;
1142
- /**
1143
- * <p>The maximum number of results to display.</p>
1144
- */
604
+
1145
605
  MaxResults?: number;
1146
- /**
1147
- * <p>Pagination token.</p>
1148
- */
606
+
1149
607
  NextToken?: string;
1150
608
  }
1151
609
  export declare namespace GetInsightSummariesRequest {
1152
- /**
1153
- * @internal
1154
- */
610
+
1155
611
  const filterSensitiveLog: (obj: GetInsightSummariesRequest) => any;
1156
612
  }
1157
- /**
1158
- * <p>Information that describes an insight.</p>
1159
- */
613
+
1160
614
  export interface InsightSummary {
1161
- /**
1162
- * <p>The insights unique identifier. </p>
1163
- */
615
+
1164
616
  InsightId?: string;
1165
- /**
1166
- * <p>The Amazon Resource Name (ARN) of the group that the insight belongs to.</p>
1167
- */
617
+
1168
618
  GroupARN?: string;
1169
- /**
1170
- * <p>The name of the group that the insight belongs to.</p>
1171
- */
619
+
1172
620
  GroupName?: string;
1173
- /**
1174
- * <p></p>
1175
- */
621
+
1176
622
  RootCauseServiceId?: ServiceId;
1177
- /**
1178
- * <p> Categories The categories that label and describe the type of insight.</p>
1179
- */
623
+
1180
624
  Categories?: (InsightCategory | string)[];
1181
- /**
1182
- * <p>The current state of the insight.</p>
1183
- */
625
+
1184
626
  State?: InsightState | string;
1185
- /**
1186
- * <p>The time, in Unix seconds, at which the insight began.</p>
1187
- */
627
+
1188
628
  StartTime?: Date;
1189
- /**
1190
- * <p>The time, in Unix seconds, at which the insight ended.</p>
1191
- */
629
+
1192
630
  EndTime?: Date;
1193
- /**
1194
- * <p>A brief description of the insight.</p>
1195
- */
631
+
1196
632
  Summary?: string;
1197
- /**
1198
- * <p>The impact statistics of the client side service. This includes the number of requests
1199
- * to the client service and whether the requests were faults or okay. </p>
1200
- */
633
+
1201
634
  ClientRequestImpactStatistics?: RequestImpactStatistics;
1202
- /**
1203
- * <p>The impact statistics of the root cause service. This includes the number of requests to
1204
- * the client service and whether the requests were faults or okay. </p>
1205
- */
635
+
1206
636
  RootCauseServiceRequestImpactStatistics?: RequestImpactStatistics;
1207
- /**
1208
- * <p>The service within the insight that is most impacted by the incident.</p>
1209
- */
637
+
1210
638
  TopAnomalousServices?: AnomalousService[];
1211
- /**
1212
- * <p>The time, in Unix seconds, that the insight was last updated.</p>
1213
- */
639
+
1214
640
  LastUpdateTime?: Date;
1215
641
  }
1216
642
  export declare namespace InsightSummary {
1217
- /**
1218
- * @internal
1219
- */
643
+
1220
644
  const filterSensitiveLog: (obj: InsightSummary) => any;
1221
645
  }
1222
646
  export interface GetInsightSummariesResult {
1223
- /**
1224
- * <p>The summary of each insight within the group matching the provided filters. The summary
1225
- * contains the InsightID, start and end time, the root cause service, the root cause and
1226
- * client impact statistics, the top anomalous services, and the status of the insight.</p>
1227
- */
647
+
1228
648
  InsightSummaries?: InsightSummary[];
1229
- /**
1230
- * <p>Pagination token.</p>
1231
- */
649
+
1232
650
  NextToken?: string;
1233
651
  }
1234
652
  export declare namespace GetInsightSummariesResult {
1235
- /**
1236
- * @internal
1237
- */
653
+
1238
654
  const filterSensitiveLog: (obj: GetInsightSummariesResult) => any;
1239
655
  }
1240
656
  export interface GetSamplingRulesRequest {
1241
- /**
1242
- * <p>Pagination token.</p>
1243
- */
657
+
1244
658
  NextToken?: string;
1245
659
  }
1246
660
  export declare namespace GetSamplingRulesRequest {
1247
- /**
1248
- * @internal
1249
- */
661
+
1250
662
  const filterSensitiveLog: (obj: GetSamplingRulesRequest) => any;
1251
663
  }
1252
664
  export interface GetSamplingRulesResult {
1253
- /**
1254
- * <p>Rule definitions and metadata.</p>
1255
- */
665
+
1256
666
  SamplingRuleRecords?: SamplingRuleRecord[];
1257
- /**
1258
- * <p>Pagination token.</p>
1259
- */
667
+
1260
668
  NextToken?: string;
1261
669
  }
1262
670
  export declare namespace GetSamplingRulesResult {
1263
- /**
1264
- * @internal
1265
- */
671
+
1266
672
  const filterSensitiveLog: (obj: GetSamplingRulesResult) => any;
1267
673
  }
1268
674
  export interface GetSamplingStatisticSummariesRequest {
1269
- /**
1270
- * <p>Pagination token.</p>
1271
- */
675
+
1272
676
  NextToken?: string;
1273
677
  }
1274
678
  export declare namespace GetSamplingStatisticSummariesRequest {
1275
- /**
1276
- * @internal
1277
- */
679
+
1278
680
  const filterSensitiveLog: (obj: GetSamplingStatisticSummariesRequest) => any;
1279
681
  }
1280
- /**
1281
- * <p>Aggregated request sampling data for a sampling rule across all services for a 10-second window.</p>
1282
- */
682
+
1283
683
  export interface SamplingStatisticSummary {
1284
- /**
1285
- * <p>The name of the sampling rule.</p>
1286
- */
684
+
1287
685
  RuleName?: string;
1288
- /**
1289
- * <p>The start time of the reporting window.</p>
1290
- */
686
+
1291
687
  Timestamp?: Date;
1292
- /**
1293
- * <p>The number of requests that matched the rule.</p>
1294
- */
688
+
1295
689
  RequestCount?: number;
1296
- /**
1297
- * <p>The number of requests recorded with borrowed reservoir quota.</p>
1298
- */
690
+
1299
691
  BorrowCount?: number;
1300
- /**
1301
- * <p>The number of requests recorded.</p>
1302
- */
692
+
1303
693
  SampledCount?: number;
1304
694
  }
1305
695
  export declare namespace SamplingStatisticSummary {
1306
- /**
1307
- * @internal
1308
- */
696
+
1309
697
  const filterSensitiveLog: (obj: SamplingStatisticSummary) => any;
1310
698
  }
1311
699
  export interface GetSamplingStatisticSummariesResult {
1312
- /**
1313
- * <p>Information about the number of requests instrumented for each sampling
1314
- * rule.</p>
1315
- */
700
+
1316
701
  SamplingStatisticSummaries?: SamplingStatisticSummary[];
1317
- /**
1318
- * <p>Pagination token.</p>
1319
- */
702
+
1320
703
  NextToken?: string;
1321
704
  }
1322
705
  export declare namespace GetSamplingStatisticSummariesResult {
1323
- /**
1324
- * @internal
1325
- */
706
+
1326
707
  const filterSensitiveLog: (obj: GetSamplingStatisticSummariesResult) => any;
1327
708
  }
1328
- /**
1329
- * <p>Request sampling results for a single rule from a service. Results are for the last 10
1330
- * seconds unless the service has been assigned a longer reporting interval after a previous call
1331
- * to <a href="https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html">GetSamplingTargets</a>.</p>
1332
- */
709
+
1333
710
  export interface SamplingStatisticsDocument {
1334
- /**
1335
- * <p>The name of the sampling rule.</p>
1336
- */
711
+
1337
712
  RuleName: string | undefined;
1338
- /**
1339
- * <p>A unique identifier for the service in hexadecimal.</p>
1340
- */
713
+
1341
714
  ClientID: string | undefined;
1342
- /**
1343
- * <p>The current time.</p>
1344
- */
715
+
1345
716
  Timestamp: Date | undefined;
1346
- /**
1347
- * <p>The number of requests that matched the rule.</p>
1348
- */
717
+
1349
718
  RequestCount: number | undefined;
1350
- /**
1351
- * <p>The number of requests recorded.</p>
1352
- */
719
+
1353
720
  SampledCount: number | undefined;
1354
- /**
1355
- * <p>The number of requests recorded with borrowed reservoir quota.</p>
1356
- */
721
+
1357
722
  BorrowCount?: number;
1358
723
  }
1359
724
  export declare namespace SamplingStatisticsDocument {
1360
- /**
1361
- * @internal
1362
- */
725
+
1363
726
  const filterSensitiveLog: (obj: SamplingStatisticsDocument) => any;
1364
727
  }
1365
728
  export interface GetSamplingTargetsRequest {
1366
- /**
1367
- * <p>Information about rules that the service is using to sample requests.</p>
1368
- */
729
+
1369
730
  SamplingStatisticsDocuments: SamplingStatisticsDocument[] | undefined;
1370
731
  }
1371
732
  export declare namespace GetSamplingTargetsRequest {
1372
- /**
1373
- * @internal
1374
- */
733
+
1375
734
  const filterSensitiveLog: (obj: GetSamplingTargetsRequest) => any;
1376
735
  }
1377
- /**
1378
- * <p>Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray
1379
- * calculates a new reservoir for each service based on the recent sampling results of all services that called
1380
- * <a href="https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html">GetSamplingTargets</a>.</p>
1381
- */
736
+
1382
737
  export interface SamplingTargetDocument {
1383
- /**
1384
- * <p>The name of the sampling rule.</p>
1385
- */
738
+
1386
739
  RuleName?: string;
1387
- /**
1388
- * <p>The percentage of matching requests to instrument, after the reservoir is
1389
- * exhausted.</p>
1390
- */
740
+
1391
741
  FixedRate?: number;
1392
- /**
1393
- * <p>The number of requests per second that X-Ray allocated for this service.</p>
1394
- */
742
+
1395
743
  ReservoirQuota?: number;
1396
- /**
1397
- * <p>When the reservoir quota expires.</p>
1398
- */
744
+
1399
745
  ReservoirQuotaTTL?: Date;
1400
- /**
1401
- * <p>The number of seconds for the service to wait before getting sampling targets
1402
- * again.</p>
1403
- */
746
+
1404
747
  Interval?: number;
1405
748
  }
1406
749
  export declare namespace SamplingTargetDocument {
1407
- /**
1408
- * @internal
1409
- */
750
+
1410
751
  const filterSensitiveLog: (obj: SamplingTargetDocument) => any;
1411
752
  }
1412
- /**
1413
- * <p>Sampling statistics from a call to <a href="https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingTargets.html">GetSamplingTargets</a> that X-Ray
1414
- * could not process.</p>
1415
- */
753
+
1416
754
  export interface UnprocessedStatistics {
1417
- /**
1418
- * <p>The name of the sampling rule.</p>
1419
- */
755
+
1420
756
  RuleName?: string;
1421
- /**
1422
- * <p>The error code.</p>
1423
- */
757
+
1424
758
  ErrorCode?: string;
1425
- /**
1426
- * <p>The error message.</p>
1427
- */
759
+
1428
760
  Message?: string;
1429
761
  }
1430
762
  export declare namespace UnprocessedStatistics {
1431
- /**
1432
- * @internal
1433
- */
763
+
1434
764
  const filterSensitiveLog: (obj: UnprocessedStatistics) => any;
1435
765
  }
1436
766
  export interface GetSamplingTargetsResult {
1437
- /**
1438
- * <p>Updated rules that the service should use to sample requests.</p>
1439
- */
767
+
1440
768
  SamplingTargetDocuments?: SamplingTargetDocument[];
1441
- /**
1442
- * <p>The last time a user changed the sampling rule configuration. If
1443
- * the sampling rule configuration changed since the service last retrieved it, the service
1444
- * should call <a href="https://docs.aws.amazon.com/xray/latest/api/API_GetSamplingRules.html">GetSamplingRules</a> to get the latest version.</p>
1445
- */
769
+
1446
770
  LastRuleModification?: Date;
1447
- /**
1448
- * <p>Information about <a href="https://docs.aws.amazon.com/xray/latest/api/API_SamplingStatisticsDocument.html">SamplingStatisticsDocument</a> that X-Ray could not
1449
- * process.</p>
1450
- */
771
+
1451
772
  UnprocessedStatistics?: UnprocessedStatistics[];
1452
773
  }
1453
774
  export declare namespace GetSamplingTargetsResult {
1454
- /**
1455
- * @internal
1456
- */
775
+
1457
776
  const filterSensitiveLog: (obj: GetSamplingTargetsResult) => any;
1458
777
  }
1459
778
  export interface GetServiceGraphRequest {
1460
- /**
1461
- * <p>The start of the time frame for which to generate a graph.</p>
1462
- */
779
+
1463
780
  StartTime: Date | undefined;
1464
- /**
1465
- * <p>The end of the timeframe for which to generate a graph.</p>
1466
- */
781
+
1467
782
  EndTime: Date | undefined;
1468
- /**
1469
- * <p>The name of a group based on which you want to generate a graph.</p>
1470
- */
783
+
1471
784
  GroupName?: string;
1472
- /**
1473
- * <p>The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.</p>
1474
- */
785
+
1475
786
  GroupARN?: string;
1476
- /**
1477
- * <p>Pagination token.</p>
1478
- */
787
+
1479
788
  NextToken?: string;
1480
789
  }
1481
790
  export declare namespace GetServiceGraphRequest {
1482
- /**
1483
- * @internal
1484
- */
791
+
1485
792
  const filterSensitiveLog: (obj: GetServiceGraphRequest) => any;
1486
793
  }
1487
- /**
1488
- * <p>An entry in a histogram for a statistic. A histogram maps the range of observed values
1489
- * on the X axis, and the prevalence of each value on the Y axis.</p>
1490
- */
794
+
1491
795
  export interface HistogramEntry {
1492
- /**
1493
- * <p>The value of the entry.</p>
1494
- */
796
+
1495
797
  Value?: number;
1496
- /**
1497
- * <p>The prevalence of the entry.</p>
1498
- */
798
+
1499
799
  Count?: number;
1500
800
  }
1501
801
  export declare namespace HistogramEntry {
1502
- /**
1503
- * @internal
1504
- */
802
+
1505
803
  const filterSensitiveLog: (obj: HistogramEntry) => any;
1506
804
  }
1507
- /**
1508
- * <p>Information about requests that failed with a 4xx Client Error status code.</p>
1509
- */
805
+
1510
806
  export interface ErrorStatistics {
1511
- /**
1512
- * <p>The number of requests that failed with a 419 throttling status code.</p>
1513
- */
807
+
1514
808
  ThrottleCount?: number;
1515
- /**
1516
- * <p>The number of requests that failed with untracked 4xx Client Error status
1517
- * codes.</p>
1518
- */
809
+
1519
810
  OtherCount?: number;
1520
- /**
1521
- * <p>The total number of requests that failed with a 4xx Client Error status code.</p>
1522
- */
811
+
1523
812
  TotalCount?: number;
1524
813
  }
1525
814
  export declare namespace ErrorStatistics {
1526
- /**
1527
- * @internal
1528
- */
815
+
1529
816
  const filterSensitiveLog: (obj: ErrorStatistics) => any;
1530
817
  }
1531
- /**
1532
- * <p>Information about requests that failed with a 5xx Server Error status code.</p>
1533
- */
818
+
1534
819
  export interface FaultStatistics {
1535
- /**
1536
- * <p>The number of requests that failed with untracked 5xx Server Error status
1537
- * codes.</p>
1538
- */
820
+
1539
821
  OtherCount?: number;
1540
- /**
1541
- * <p>The total number of requests that failed with a 5xx Server Error status code.</p>
1542
- */
822
+
1543
823
  TotalCount?: number;
1544
824
  }
1545
825
  export declare namespace FaultStatistics {
1546
- /**
1547
- * @internal
1548
- */
826
+
1549
827
  const filterSensitiveLog: (obj: FaultStatistics) => any;
1550
828
  }
1551
- /**
1552
- * <p>Response statistics for an edge.</p>
1553
- */
829
+
1554
830
  export interface EdgeStatistics {
1555
- /**
1556
- * <p>The number of requests that completed with a 2xx Success status code.</p>
1557
- */
831
+
1558
832
  OkCount?: number;
1559
- /**
1560
- * <p>Information about requests that failed with a 4xx Client Error status code.</p>
1561
- */
833
+
1562
834
  ErrorStatistics?: ErrorStatistics;
1563
- /**
1564
- * <p>Information about requests that failed with a 5xx Server Error status code.</p>
1565
- */
835
+
1566
836
  FaultStatistics?: FaultStatistics;
1567
- /**
1568
- * <p>The total number of completed requests.</p>
1569
- */
837
+
1570
838
  TotalCount?: number;
1571
- /**
1572
- * <p>The aggregate response time of completed requests.</p>
1573
- */
839
+
1574
840
  TotalResponseTime?: number;
1575
841
  }
1576
842
  export declare namespace EdgeStatistics {
1577
- /**
1578
- * @internal
1579
- */
843
+
1580
844
  const filterSensitiveLog: (obj: EdgeStatistics) => any;
1581
845
  }
1582
- /**
1583
- * <p>Information about a connection between two services.</p>
1584
- */
846
+
1585
847
  export interface Edge {
1586
- /**
1587
- * <p>Identifier of the edge. Unique within a service map.</p>
1588
- */
848
+
1589
849
  ReferenceId?: number;
1590
- /**
1591
- * <p>The start time of the first segment on the edge.</p>
1592
- */
850
+
1593
851
  StartTime?: Date;
1594
- /**
1595
- * <p>The end time of the last segment on the edge.</p>
1596
- */
852
+
1597
853
  EndTime?: Date;
1598
- /**
1599
- * <p>Response statistics for segments on the edge.</p>
1600
- */
854
+
1601
855
  SummaryStatistics?: EdgeStatistics;
1602
- /**
1603
- * <p>A histogram that maps the spread of client response times on an edge.</p>
1604
- */
856
+
1605
857
  ResponseTimeHistogram?: HistogramEntry[];
1606
- /**
1607
- * <p>Aliases for the edge.</p>
1608
- */
858
+
1609
859
  Aliases?: Alias[];
1610
860
  }
1611
861
  export declare namespace Edge {
1612
- /**
1613
- * @internal
1614
- */
862
+
1615
863
  const filterSensitiveLog: (obj: Edge) => any;
1616
864
  }
1617
- /**
1618
- * <p>Response statistics for a service.</p>
1619
- */
865
+
1620
866
  export interface ServiceStatistics {
1621
- /**
1622
- * <p>The number of requests that completed with a 2xx Success status code.</p>
1623
- */
867
+
1624
868
  OkCount?: number;
1625
- /**
1626
- * <p>Information about requests that failed with a 4xx Client Error status code.</p>
1627
- */
869
+
1628
870
  ErrorStatistics?: ErrorStatistics;
1629
- /**
1630
- * <p>Information about requests that failed with a 5xx Server Error status code.</p>
1631
- */
871
+
1632
872
  FaultStatistics?: FaultStatistics;
1633
- /**
1634
- * <p>The total number of completed requests.</p>
1635
- */
873
+
1636
874
  TotalCount?: number;
1637
- /**
1638
- * <p>The aggregate response time of completed requests.</p>
1639
- */
875
+
1640
876
  TotalResponseTime?: number;
1641
877
  }
1642
878
  export declare namespace ServiceStatistics {
1643
- /**
1644
- * @internal
1645
- */
879
+
1646
880
  const filterSensitiveLog: (obj: ServiceStatistics) => any;
1647
881
  }
1648
- /**
1649
- * <p>Information about an application that processed requests, users that made requests, or downstream services,
1650
- * resources, and applications that an application used.</p>
1651
- */
882
+
1652
883
  export interface Service {
1653
- /**
1654
- * <p>Identifier for the service. Unique within the service map.</p>
1655
- */
884
+
1656
885
  ReferenceId?: number;
1657
- /**
1658
- * <p>The canonical name of the service.</p>
1659
- */
886
+
1660
887
  Name?: string;
1661
- /**
1662
- * <p>A list of names for the service, including the canonical name.</p>
1663
- */
888
+
1664
889
  Names?: string[];
1665
- /**
1666
- * <p>Indicates that the service was the first service to process a request.</p>
1667
- */
890
+
1668
891
  Root?: boolean;
1669
- /**
1670
- * <p>Identifier of the Amazon Web Services account in which the service runs.</p>
1671
- */
892
+
1672
893
  AccountId?: string;
1673
- /**
1674
- * <p>The type of service.</p>
1675
- * <ul>
1676
- * <li>
1677
- * <p>Amazon Web Services Resource - The type of an Amazon Web Services resource. For example, <code>AWS::EC2::Instance</code> for an
1678
- * application running on Amazon EC2 or <code>AWS::DynamoDB::Table</code> for an Amazon DynamoDB table that the
1679
- * application used.</p>
1680
- * </li>
1681
- * <li>
1682
- * <p>Amazon Web Services Service - The type of an Amazon Web Services service. For example, <code>AWS::DynamoDB</code>
1683
- * for downstream calls to Amazon DynamoDB that didn't target a specific table.</p>
1684
- * </li>
1685
- * <li>
1686
- * <p>
1687
- * <code>client</code> - Represents the clients that sent requests to a root
1688
- * service.</p>
1689
- * </li>
1690
- * <li>
1691
- * <p>
1692
- * <code>remote</code> - A downstream service of indeterminate type.</p>
1693
- * </li>
1694
- * </ul>
1695
- */
894
+
1696
895
  Type?: string;
1697
- /**
1698
- * <p>The service's state.</p>
1699
- */
896
+
1700
897
  State?: string;
1701
- /**
1702
- * <p>The start time of the first segment that the service generated.</p>
1703
- */
898
+
1704
899
  StartTime?: Date;
1705
- /**
1706
- * <p>The end time of the last segment that the service generated.</p>
1707
- */
900
+
1708
901
  EndTime?: Date;
1709
- /**
1710
- * <p>Connections to downstream services.</p>
1711
- */
902
+
1712
903
  Edges?: Edge[];
1713
- /**
1714
- * <p>Aggregated statistics for the service.</p>
1715
- */
904
+
1716
905
  SummaryStatistics?: ServiceStatistics;
1717
- /**
1718
- * <p>A histogram that maps the spread of service durations.</p>
1719
- */
906
+
1720
907
  DurationHistogram?: HistogramEntry[];
1721
- /**
1722
- * <p>A histogram that maps the spread of service response times.</p>
1723
- */
908
+
1724
909
  ResponseTimeHistogram?: HistogramEntry[];
1725
910
  }
1726
911
  export declare namespace Service {
1727
- /**
1728
- * @internal
1729
- */
912
+
1730
913
  const filterSensitiveLog: (obj: Service) => any;
1731
914
  }
1732
915
  export interface GetServiceGraphResult {
1733
- /**
1734
- * <p>The start of the time frame for which the graph was generated.</p>
1735
- */
916
+
1736
917
  StartTime?: Date;
1737
- /**
1738
- * <p>The end of the time frame for which the graph was generated.</p>
1739
- */
918
+
1740
919
  EndTime?: Date;
1741
- /**
1742
- * <p>The services that have processed a traced request during the specified time
1743
- * frame.</p>
1744
- */
920
+
1745
921
  Services?: Service[];
1746
- /**
1747
- * <p>A flag indicating whether the group's filter expression has been consistent, or
1748
- * if the returned service graph may show traces from an older version of the group's filter
1749
- * expression.</p>
1750
- */
922
+
1751
923
  ContainsOldGroupVersions?: boolean;
1752
- /**
1753
- * <p>Pagination token.</p>
1754
- */
924
+
1755
925
  NextToken?: string;
1756
926
  }
1757
927
  export declare namespace GetServiceGraphResult {
1758
- /**
1759
- * @internal
1760
- */
928
+
1761
929
  const filterSensitiveLog: (obj: GetServiceGraphResult) => any;
1762
930
  }
1763
931
  export interface GetTimeSeriesServiceStatisticsRequest {
1764
- /**
1765
- * <p>The start of the time frame for which to aggregate statistics.</p>
1766
- */
932
+
1767
933
  StartTime: Date | undefined;
1768
- /**
1769
- * <p>The end of the time frame for which to aggregate statistics.</p>
1770
- */
934
+
1771
935
  EndTime: Date | undefined;
1772
- /**
1773
- * <p>The case-sensitive name of the group for which to pull statistics from.</p>
1774
- */
936
+
1775
937
  GroupName?: string;
1776
- /**
1777
- * <p>The Amazon Resource Name (ARN) of the group for which to pull statistics from.</p>
1778
- */
938
+
1779
939
  GroupARN?: string;
1780
- /**
1781
- * <p>A filter expression defining entities that will be aggregated for statistics.
1782
- * Supports ID, service, and edge functions. If no selector expression is specified, edge
1783
- * statistics are returned. </p>
1784
- */
940
+
1785
941
  EntitySelectorExpression?: string;
1786
- /**
1787
- * <p>Aggregation period in seconds.</p>
1788
- */
942
+
1789
943
  Period?: number;
1790
- /**
1791
- * <p>The forecasted high and low fault count values. Forecast enabled requests require the
1792
- * EntitySelectorExpression ID be provided.</p>
1793
- */
944
+
1794
945
  ForecastStatistics?: boolean;
1795
- /**
1796
- * <p>Pagination token.</p>
1797
- */
946
+
1798
947
  NextToken?: string;
1799
948
  }
1800
949
  export declare namespace GetTimeSeriesServiceStatisticsRequest {
1801
- /**
1802
- * @internal
1803
- */
950
+
1804
951
  const filterSensitiveLog: (obj: GetTimeSeriesServiceStatisticsRequest) => any;
1805
952
  }
1806
- /**
1807
- * <p>The predicted high and low fault count. This is used to determine if a service has
1808
- * become anomalous and if an insight should be created.</p>
1809
- */
953
+
1810
954
  export interface ForecastStatistics {
1811
- /**
1812
- * <p>The upper limit of fault counts for a service.</p>
1813
- */
955
+
1814
956
  FaultCountHigh?: number;
1815
- /**
1816
- * <p>The lower limit of fault counts for a service.</p>
1817
- */
957
+
1818
958
  FaultCountLow?: number;
1819
959
  }
1820
960
  export declare namespace ForecastStatistics {
1821
- /**
1822
- * @internal
1823
- */
961
+
1824
962
  const filterSensitiveLog: (obj: ForecastStatistics) => any;
1825
963
  }
1826
- /**
1827
- * <p>A list of TimeSeriesStatistic structures.</p>
1828
- */
964
+
1829
965
  export interface TimeSeriesServiceStatistics {
1830
- /**
1831
- * <p>Timestamp of the window for which statistics are aggregated.</p>
1832
- */
966
+
1833
967
  Timestamp?: Date;
1834
- /**
1835
- * <p>Response statistics for an edge.</p>
1836
- */
968
+
1837
969
  EdgeSummaryStatistics?: EdgeStatistics;
1838
- /**
1839
- * <p>Response statistics for a service.</p>
1840
- */
970
+
1841
971
  ServiceSummaryStatistics?: ServiceStatistics;
1842
- /**
1843
- * <p>The forecasted high and low fault count values.</p>
1844
- */
972
+
1845
973
  ServiceForecastStatistics?: ForecastStatistics;
1846
- /**
1847
- * <p>The response time histogram for the selected entities.</p>
1848
- */
974
+
1849
975
  ResponseTimeHistogram?: HistogramEntry[];
1850
976
  }
1851
977
  export declare namespace TimeSeriesServiceStatistics {
1852
- /**
1853
- * @internal
1854
- */
978
+
1855
979
  const filterSensitiveLog: (obj: TimeSeriesServiceStatistics) => any;
1856
980
  }
1857
981
  export interface GetTimeSeriesServiceStatisticsResult {
1858
- /**
1859
- * <p>The collection of statistics.</p>
1860
- */
982
+
1861
983
  TimeSeriesServiceStatistics?: TimeSeriesServiceStatistics[];
1862
- /**
1863
- * <p>A flag indicating whether or not a group's filter expression has been consistent, or if a returned
1864
- * aggregation might show statistics from an older version of the group's filter expression.</p>
1865
- */
984
+
1866
985
  ContainsOldGroupVersions?: boolean;
1867
- /**
1868
- * <p>Pagination token.</p>
1869
- */
986
+
1870
987
  NextToken?: string;
1871
988
  }
1872
989
  export declare namespace GetTimeSeriesServiceStatisticsResult {
1873
- /**
1874
- * @internal
1875
- */
990
+
1876
991
  const filterSensitiveLog: (obj: GetTimeSeriesServiceStatisticsResult) => any;
1877
992
  }
1878
993
  export interface GetTraceGraphRequest {
1879
- /**
1880
- * <p>Trace IDs of requests for which to generate a service graph.</p>
1881
- */
994
+
1882
995
  TraceIds: string[] | undefined;
1883
- /**
1884
- * <p>Pagination token.</p>
1885
- */
996
+
1886
997
  NextToken?: string;
1887
998
  }
1888
999
  export declare namespace GetTraceGraphRequest {
1889
- /**
1890
- * @internal
1891
- */
1000
+
1892
1001
  const filterSensitiveLog: (obj: GetTraceGraphRequest) => any;
1893
1002
  }
1894
1003
  export interface GetTraceGraphResult {
1895
- /**
1896
- * <p>The services that have processed one of the specified requests.</p>
1897
- */
1004
+
1898
1005
  Services?: Service[];
1899
- /**
1900
- * <p>Pagination token.</p>
1901
- */
1006
+
1902
1007
  NextToken?: string;
1903
1008
  }
1904
1009
  export declare namespace GetTraceGraphResult {
1905
- /**
1906
- * @internal
1907
- */
1010
+
1908
1011
  const filterSensitiveLog: (obj: GetTraceGraphResult) => any;
1909
1012
  }
1910
1013
  export declare enum SamplingStrategyName {
1911
1014
  FixedRate = "FixedRate",
1912
1015
  PartialScan = "PartialScan"
1913
1016
  }
1914
- /**
1915
- * <p>The name and value of a sampling rule to apply to a trace summary.</p>
1916
- */
1017
+
1917
1018
  export interface SamplingStrategy {
1918
- /**
1919
- * <p>The name of a sampling rule.</p>
1920
- */
1019
+
1921
1020
  Name?: SamplingStrategyName | string;
1922
- /**
1923
- * <p>The value of a sampling rule.</p>
1924
- */
1021
+
1925
1022
  Value?: number;
1926
1023
  }
1927
1024
  export declare namespace SamplingStrategy {
1928
- /**
1929
- * @internal
1930
- */
1025
+
1931
1026
  const filterSensitiveLog: (obj: SamplingStrategy) => any;
1932
1027
  }
1933
1028
  export declare enum TimeRangeType {
@@ -1935,547 +1030,295 @@ export declare enum TimeRangeType {
1935
1030
  TraceId = "TraceId"
1936
1031
  }
1937
1032
  export interface GetTraceSummariesRequest {
1938
- /**
1939
- * <p>The start of the time frame for which to retrieve traces.</p>
1940
- */
1033
+
1941
1034
  StartTime: Date | undefined;
1942
- /**
1943
- * <p>The end of the time frame for which to retrieve traces.</p>
1944
- */
1035
+
1945
1036
  EndTime: Date | undefined;
1946
- /**
1947
- * <p>A parameter to indicate whether to query trace summaries by TraceId or Event time.</p>
1948
- */
1037
+
1949
1038
  TimeRangeType?: TimeRangeType | string;
1950
- /**
1951
- * <p>Set to <code>true</code> to get summaries for only a subset of available
1952
- * traces.</p>
1953
- */
1039
+
1954
1040
  Sampling?: boolean;
1955
- /**
1956
- * <p>A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and
1957
- * Value.</p>
1958
- */
1041
+
1959
1042
  SamplingStrategy?: SamplingStrategy;
1960
- /**
1961
- * <p>Specify a filter expression to retrieve trace summaries for services or requests that
1962
- * meet certain requirements.</p>
1963
- */
1043
+
1964
1044
  FilterExpression?: string;
1965
- /**
1966
- * <p>Specify the pagination token returned by a previous request to retrieve the next page
1967
- * of results.</p>
1968
- */
1045
+
1969
1046
  NextToken?: string;
1970
1047
  }
1971
1048
  export declare namespace GetTraceSummariesRequest {
1972
- /**
1973
- * @internal
1974
- */
1049
+
1975
1050
  const filterSensitiveLog: (obj: GetTraceSummariesRequest) => any;
1976
1051
  }
1977
- /**
1978
- * <p>The exception associated with a root cause.</p>
1979
- */
1052
+
1980
1053
  export interface RootCauseException {
1981
- /**
1982
- * <p>The name of the exception.</p>
1983
- */
1054
+
1984
1055
  Name?: string;
1985
- /**
1986
- * <p>The message of the exception.</p>
1987
- */
1056
+
1988
1057
  Message?: string;
1989
1058
  }
1990
1059
  export declare namespace RootCauseException {
1991
- /**
1992
- * @internal
1993
- */
1060
+
1994
1061
  const filterSensitiveLog: (obj: RootCauseException) => any;
1995
1062
  }
1996
- /**
1997
- * <p>A collection of segments and corresponding subsegments associated to a trace summary
1998
- * error.</p>
1999
- */
1063
+
2000
1064
  export interface ErrorRootCauseEntity {
2001
- /**
2002
- * <p>The name of the entity.</p>
2003
- */
1065
+
2004
1066
  Name?: string;
2005
- /**
2006
- * <p>The types and messages of the exceptions.</p>
2007
- */
1067
+
2008
1068
  Exceptions?: RootCauseException[];
2009
- /**
2010
- * <p>A flag that denotes a remote subsegment.</p>
2011
- */
1069
+
2012
1070
  Remote?: boolean;
2013
1071
  }
2014
1072
  export declare namespace ErrorRootCauseEntity {
2015
- /**
2016
- * @internal
2017
- */
1073
+
2018
1074
  const filterSensitiveLog: (obj: ErrorRootCauseEntity) => any;
2019
1075
  }
2020
- /**
2021
- * <p>A collection of fields identifying the services in a trace summary error.</p>
2022
- */
1076
+
2023
1077
  export interface ErrorRootCauseService {
2024
- /**
2025
- * <p>The service name.</p>
2026
- */
1078
+
2027
1079
  Name?: string;
2028
- /**
2029
- * <p>A collection of associated service names.</p>
2030
- */
1080
+
2031
1081
  Names?: string[];
2032
- /**
2033
- * <p>The type associated to the service.</p>
2034
- */
1082
+
2035
1083
  Type?: string;
2036
- /**
2037
- * <p>The account ID associated to the service.</p>
2038
- */
1084
+
2039
1085
  AccountId?: string;
2040
- /**
2041
- * <p>The path of root cause entities found on the service. </p>
2042
- */
1086
+
2043
1087
  EntityPath?: ErrorRootCauseEntity[];
2044
- /**
2045
- * <p>A Boolean value indicating if the service is inferred from the trace.</p>
2046
- */
1088
+
2047
1089
  Inferred?: boolean;
2048
1090
  }
2049
1091
  export declare namespace ErrorRootCauseService {
2050
- /**
2051
- * @internal
2052
- */
1092
+
2053
1093
  const filterSensitiveLog: (obj: ErrorRootCauseService) => any;
2054
1094
  }
2055
- /**
2056
- * <p>The root cause of a trace summary error.</p>
2057
- */
1095
+
2058
1096
  export interface ErrorRootCause {
2059
- /**
2060
- * <p>A list of services corresponding to an error. A service identifies a segment and it
2061
- * contains a name, account ID, type, and inferred flag.</p>
2062
- */
1097
+
2063
1098
  Services?: ErrorRootCauseService[];
2064
- /**
2065
- * <p>A flag that denotes that the root cause impacts the trace client.</p>
2066
- */
1099
+
2067
1100
  ClientImpacting?: boolean;
2068
1101
  }
2069
1102
  export declare namespace ErrorRootCause {
2070
- /**
2071
- * @internal
2072
- */
1103
+
2073
1104
  const filterSensitiveLog: (obj: ErrorRootCause) => any;
2074
1105
  }
2075
- /**
2076
- * <p>A collection of segments and corresponding subsegments associated to a trace summary
2077
- * fault error.</p>
2078
- */
1106
+
2079
1107
  export interface FaultRootCauseEntity {
2080
- /**
2081
- * <p>The name of the entity.</p>
2082
- */
1108
+
2083
1109
  Name?: string;
2084
- /**
2085
- * <p>The types and messages of the exceptions.</p>
2086
- */
1110
+
2087
1111
  Exceptions?: RootCauseException[];
2088
- /**
2089
- * <p>A flag that denotes a remote subsegment.</p>
2090
- */
1112
+
2091
1113
  Remote?: boolean;
2092
1114
  }
2093
1115
  export declare namespace FaultRootCauseEntity {
2094
- /**
2095
- * @internal
2096
- */
1116
+
2097
1117
  const filterSensitiveLog: (obj: FaultRootCauseEntity) => any;
2098
1118
  }
2099
- /**
2100
- * <p>A collection of fields identifying the services in a trace summary fault.</p>
2101
- */
1119
+
2102
1120
  export interface FaultRootCauseService {
2103
- /**
2104
- * <p>The service name.</p>
2105
- */
1121
+
2106
1122
  Name?: string;
2107
- /**
2108
- * <p>A collection of associated service names.</p>
2109
- */
1123
+
2110
1124
  Names?: string[];
2111
- /**
2112
- * <p>The type associated to the service.</p>
2113
- */
1125
+
2114
1126
  Type?: string;
2115
- /**
2116
- * <p>The account ID associated to the service.</p>
2117
- */
1127
+
2118
1128
  AccountId?: string;
2119
- /**
2120
- * <p>The path of root cause entities found on the service. </p>
2121
- */
1129
+
2122
1130
  EntityPath?: FaultRootCauseEntity[];
2123
- /**
2124
- * <p>A Boolean value indicating if the service is inferred from the trace.</p>
2125
- */
1131
+
2126
1132
  Inferred?: boolean;
2127
1133
  }
2128
1134
  export declare namespace FaultRootCauseService {
2129
- /**
2130
- * @internal
2131
- */
1135
+
2132
1136
  const filterSensitiveLog: (obj: FaultRootCauseService) => any;
2133
1137
  }
2134
- /**
2135
- * <p>The root cause information for a trace summary fault.</p>
2136
- */
1138
+
2137
1139
  export interface FaultRootCause {
2138
- /**
2139
- * <p>A list of corresponding services. A service identifies a segment and it contains a
2140
- * name, account ID, type, and inferred flag.</p>
2141
- */
1140
+
2142
1141
  Services?: FaultRootCauseService[];
2143
- /**
2144
- * <p>A flag that denotes that the root cause impacts the trace client.</p>
2145
- */
1142
+
2146
1143
  ClientImpacting?: boolean;
2147
1144
  }
2148
1145
  export declare namespace FaultRootCause {
2149
- /**
2150
- * @internal
2151
- */
1146
+
2152
1147
  const filterSensitiveLog: (obj: FaultRootCause) => any;
2153
1148
  }
2154
- /**
2155
- * <p>Information about an HTTP request.</p>
2156
- */
1149
+
2157
1150
  export interface Http {
2158
- /**
2159
- * <p>The request URL.</p>
2160
- */
1151
+
2161
1152
  HttpURL?: string;
2162
- /**
2163
- * <p>The response status.</p>
2164
- */
1153
+
2165
1154
  HttpStatus?: number;
2166
- /**
2167
- * <p>The request method.</p>
2168
- */
1155
+
2169
1156
  HttpMethod?: string;
2170
- /**
2171
- * <p>The request's user agent string.</p>
2172
- */
1157
+
2173
1158
  UserAgent?: string;
2174
- /**
2175
- * <p>The IP address of the requestor.</p>
2176
- */
1159
+
2177
1160
  ClientIp?: string;
2178
1161
  }
2179
1162
  export declare namespace Http {
2180
- /**
2181
- * @internal
2182
- */
1163
+
2183
1164
  const filterSensitiveLog: (obj: Http) => any;
2184
1165
  }
2185
- /**
2186
- * <p>A list of EC2 instance IDs corresponding to the segments in a trace. </p>
2187
- */
1166
+
2188
1167
  export interface InstanceIdDetail {
2189
- /**
2190
- * <p>The ID of a corresponding EC2 instance.</p>
2191
- */
1168
+
2192
1169
  Id?: string;
2193
1170
  }
2194
1171
  export declare namespace InstanceIdDetail {
2195
- /**
2196
- * @internal
2197
- */
1172
+
2198
1173
  const filterSensitiveLog: (obj: InstanceIdDetail) => any;
2199
1174
  }
2200
- /**
2201
- * <p>A list of resources ARNs corresponding to the segments in a trace.</p>
2202
- */
1175
+
2203
1176
  export interface ResourceARNDetail {
2204
- /**
2205
- * <p>The ARN of a corresponding resource.</p>
2206
- */
1177
+
2207
1178
  ARN?: string;
2208
1179
  }
2209
1180
  export declare namespace ResourceARNDetail {
2210
- /**
2211
- * @internal
2212
- */
1181
+
2213
1182
  const filterSensitiveLog: (obj: ResourceARNDetail) => any;
2214
1183
  }
2215
- /**
2216
- * <p>A collection of segments and corresponding subsegments associated to a response time
2217
- * warning.</p>
2218
- */
1184
+
2219
1185
  export interface ResponseTimeRootCauseEntity {
2220
- /**
2221
- * <p>The name of the entity.</p>
2222
- */
1186
+
2223
1187
  Name?: string;
2224
- /**
2225
- * <p>The type and messages of the exceptions.</p>
2226
- */
1188
+
2227
1189
  Coverage?: number;
2228
- /**
2229
- * <p>A flag that denotes a remote subsegment.</p>
2230
- */
1190
+
2231
1191
  Remote?: boolean;
2232
1192
  }
2233
1193
  export declare namespace ResponseTimeRootCauseEntity {
2234
- /**
2235
- * @internal
2236
- */
1194
+
2237
1195
  const filterSensitiveLog: (obj: ResponseTimeRootCauseEntity) => any;
2238
1196
  }
2239
- /**
2240
- * <p>A collection of fields identifying the service in a response time warning.</p>
2241
- */
1197
+
2242
1198
  export interface ResponseTimeRootCauseService {
2243
- /**
2244
- * <p>The service name.</p>
2245
- */
1199
+
2246
1200
  Name?: string;
2247
- /**
2248
- * <p>A collection of associated service names.</p>
2249
- */
1201
+
2250
1202
  Names?: string[];
2251
- /**
2252
- * <p>The type associated to the service.</p>
2253
- */
1203
+
2254
1204
  Type?: string;
2255
- /**
2256
- * <p>The account ID associated to the service.</p>
2257
- */
1205
+
2258
1206
  AccountId?: string;
2259
- /**
2260
- * <p>The path of root cause entities found on the service. </p>
2261
- */
1207
+
2262
1208
  EntityPath?: ResponseTimeRootCauseEntity[];
2263
- /**
2264
- * <p>A Boolean value indicating if the service is inferred from the trace.</p>
2265
- */
1209
+
2266
1210
  Inferred?: boolean;
2267
1211
  }
2268
1212
  export declare namespace ResponseTimeRootCauseService {
2269
- /**
2270
- * @internal
2271
- */
1213
+
2272
1214
  const filterSensitiveLog: (obj: ResponseTimeRootCauseService) => any;
2273
1215
  }
2274
- /**
2275
- * <p>The root cause information for a response time warning.</p>
2276
- */
1216
+
2277
1217
  export interface ResponseTimeRootCause {
2278
- /**
2279
- * <p>A list of corresponding services. A service identifies a segment and contains a name,
2280
- * account ID, type, and inferred flag.</p>
2281
- */
1218
+
2282
1219
  Services?: ResponseTimeRootCauseService[];
2283
- /**
2284
- * <p>A flag that denotes that the root cause impacts the trace client.</p>
2285
- */
1220
+
2286
1221
  ClientImpacting?: boolean;
2287
1222
  }
2288
1223
  export declare namespace ResponseTimeRootCause {
2289
- /**
2290
- * @internal
2291
- */
1224
+
2292
1225
  const filterSensitiveLog: (obj: ResponseTimeRootCause) => any;
2293
1226
  }
2294
- /**
2295
- * <p>Information about a user recorded in segment documents.</p>
2296
- */
1227
+
2297
1228
  export interface TraceUser {
2298
- /**
2299
- * <p>The user's name.</p>
2300
- */
1229
+
2301
1230
  UserName?: string;
2302
- /**
2303
- * <p>Services that the user's request hit.</p>
2304
- */
1231
+
2305
1232
  ServiceIds?: ServiceId[];
2306
1233
  }
2307
1234
  export declare namespace TraceUser {
2308
- /**
2309
- * @internal
2310
- */
1235
+
2311
1236
  const filterSensitiveLog: (obj: TraceUser) => any;
2312
1237
  }
2313
- /**
2314
- * <p>Metadata generated from the segment documents in a trace.</p>
2315
- */
1238
+
2316
1239
  export interface TraceSummary {
2317
- /**
2318
- * <p>The unique identifier for the request that generated the trace's segments and
2319
- * subsegments.</p>
2320
- */
1240
+
2321
1241
  Id?: string;
2322
- /**
2323
- * <p>The length of time in seconds between the start time of the root segment and the end
2324
- * time of the last segment that completed.</p>
2325
- */
1242
+
2326
1243
  Duration?: number;
2327
- /**
2328
- * <p>The length of time in seconds between the start and end times of the root segment. If
2329
- * the service performs work asynchronously, the response time measures the time before the
2330
- * response is sent to the user, while the duration measures the amount of time before the last
2331
- * traced activity completes.</p>
2332
- */
1244
+
2333
1245
  ResponseTime?: number;
2334
- /**
2335
- * <p>The root segment document has a 500 series error.</p>
2336
- */
1246
+
2337
1247
  HasFault?: boolean;
2338
- /**
2339
- * <p>The root segment document has a 400 series error.</p>
2340
- */
1248
+
2341
1249
  HasError?: boolean;
2342
- /**
2343
- * <p>One or more of the segment documents has a 429 throttling error.</p>
2344
- */
1250
+
2345
1251
  HasThrottle?: boolean;
2346
- /**
2347
- * <p>One or more of the segment documents is in progress.</p>
2348
- */
1252
+
2349
1253
  IsPartial?: boolean;
2350
- /**
2351
- * <p>Information about the HTTP request served by the trace.</p>
2352
- */
1254
+
2353
1255
  Http?: Http;
2354
- /**
2355
- * <p>Annotations from the trace's segment documents.</p>
2356
- */
1256
+
2357
1257
  Annotations?: {
2358
1258
  [key: string]: ValueWithServiceIds[];
2359
1259
  };
2360
- /**
2361
- * <p>Users from the trace's segment documents.</p>
2362
- */
1260
+
2363
1261
  Users?: TraceUser[];
2364
- /**
2365
- * <p>Service IDs from the trace's segment documents.</p>
2366
- */
1262
+
2367
1263
  ServiceIds?: ServiceId[];
2368
- /**
2369
- * <p>A list of resource ARNs for any resource corresponding to the trace segments.</p>
2370
- */
1264
+
2371
1265
  ResourceARNs?: ResourceARNDetail[];
2372
- /**
2373
- * <p>A list of EC2 instance IDs for any instance corresponding to the trace
2374
- * segments.</p>
2375
- */
1266
+
2376
1267
  InstanceIds?: InstanceIdDetail[];
2377
- /**
2378
- * <p>A list of Availability Zones for any zone corresponding to the trace segments.</p>
2379
- */
1268
+
2380
1269
  AvailabilityZones?: AvailabilityZoneDetail[];
2381
- /**
2382
- * <p>The root of a trace.</p>
2383
- */
1270
+
2384
1271
  EntryPoint?: ServiceId;
2385
- /**
2386
- * <p>A collection of FaultRootCause structures corresponding to the trace segments.</p>
2387
- */
1272
+
2388
1273
  FaultRootCauses?: FaultRootCause[];
2389
- /**
2390
- * <p>A collection of ErrorRootCause structures corresponding to the trace
2391
- * segments.</p>
2392
- */
1274
+
2393
1275
  ErrorRootCauses?: ErrorRootCause[];
2394
- /**
2395
- * <p>A collection of ResponseTimeRootCause structures corresponding to the trace
2396
- * segments.</p>
2397
- */
1276
+
2398
1277
  ResponseTimeRootCauses?: ResponseTimeRootCause[];
2399
- /**
2400
- * <p>The revision number of a trace.</p>
2401
- */
1278
+
2402
1279
  Revision?: number;
2403
- /**
2404
- * <p>The matched time stamp of a defined event.</p>
2405
- */
1280
+
2406
1281
  MatchedEventTime?: Date;
2407
1282
  }
2408
1283
  export declare namespace TraceSummary {
2409
- /**
2410
- * @internal
2411
- */
1284
+
2412
1285
  const filterSensitiveLog: (obj: TraceSummary) => any;
2413
1286
  }
2414
1287
  export interface GetTraceSummariesResult {
2415
- /**
2416
- * <p>Trace IDs and annotations for traces that were found in the specified time
2417
- * frame.</p>
2418
- */
1288
+
2419
1289
  TraceSummaries?: TraceSummary[];
2420
- /**
2421
- * <p>The start time of this page of results.</p>
2422
- */
1290
+
2423
1291
  ApproximateTime?: Date;
2424
- /**
2425
- * <p>The total number of traces processed, including traces that did not match the specified
2426
- * filter expression.</p>
2427
- */
1292
+
2428
1293
  TracesProcessedCount?: number;
2429
- /**
2430
- * <p>If the requested time frame contained more than one page of results, you can use this token to retrieve the
2431
- * next page. The first page contains the most recent results, closest to the end of the time frame.</p>
2432
- */
1294
+
2433
1295
  NextToken?: string;
2434
1296
  }
2435
1297
  export declare namespace GetTraceSummariesResult {
2436
- /**
2437
- * @internal
2438
- */
1298
+
2439
1299
  const filterSensitiveLog: (obj: GetTraceSummariesResult) => any;
2440
1300
  }
2441
1301
  export interface ListTagsForResourceRequest {
2442
- /**
2443
- * <p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>
2444
- */
1302
+
2445
1303
  ResourceARN: string | undefined;
2446
- /**
2447
- * <p>A pagination token. If multiple pages of results are returned, use the <code>NextToken</code> value returned with
2448
- * the current page of results as the value of this parameter to get the next page of results.</p>
2449
- */
1304
+
2450
1305
  NextToken?: string;
2451
1306
  }
2452
1307
  export declare namespace ListTagsForResourceRequest {
2453
- /**
2454
- * @internal
2455
- */
1308
+
2456
1309
  const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2457
1310
  }
2458
1311
  export interface ListTagsForResourceResponse {
2459
- /**
2460
- * <p>A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.</p>
2461
- */
1312
+
2462
1313
  Tags?: Tag[];
2463
- /**
2464
- * <p>A pagination token. If multiple pages of results are returned, use the <code>NextToken</code> value returned with
2465
- * the current page of results to get the next page of results.</p>
2466
- */
1314
+
2467
1315
  NextToken?: string;
2468
1316
  }
2469
1317
  export declare namespace ListTagsForResourceResponse {
2470
- /**
2471
- * @internal
2472
- */
1318
+
2473
1319
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2474
1320
  }
2475
- /**
2476
- * <p>The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is
2477
- * correct.</p>
2478
- */
1321
+
2479
1322
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
2480
1323
  name: "ResourceNotFoundException";
2481
1324
  $fault: "client";
@@ -2483,262 +1326,131 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
2483
1326
  ResourceName?: string;
2484
1327
  }
2485
1328
  export declare namespace ResourceNotFoundException {
2486
- /**
2487
- * @internal
2488
- */
1329
+
2489
1330
  const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
2490
1331
  }
2491
1332
  export interface PutEncryptionConfigRequest {
2492
- /**
2493
- * <p>An Amazon Web Services KMS key in one of the following formats:</p>
2494
- * <ul>
2495
- * <li>
2496
- * <p>
2497
- * <b>Alias</b> - The name of the key. For example,
2498
- * <code>alias/MyKey</code>.</p>
2499
- * </li>
2500
- * <li>
2501
- * <p>
2502
- * <b>Key ID</b> - The KMS key ID of the key. For example,
2503
- * <code>ae4aa6d49-a4d8-9df9-a475-4ff6d7898456</code>. Amazon Web Services X-Ray does not support asymmetric KMS keys.</p>
2504
- * </li>
2505
- * <li>
2506
- * <p>
2507
- * <b>ARN</b> - The full Amazon Resource Name of the key ID or alias.
2508
- * For example,
2509
- * <code>arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456</code>.
2510
- * Use this format to specify a key in a different account.</p>
2511
- * </li>
2512
- * </ul>
2513
- * <p>Omit this key if you set <code>Type</code> to <code>NONE</code>.</p>
2514
- */
1333
+
2515
1334
  KeyId?: string;
2516
- /**
2517
- * <p>The type of encryption. Set to <code>KMS</code> to use your own key for encryption. Set
2518
- * to <code>NONE</code> for default encryption.</p>
2519
- */
1335
+
2520
1336
  Type: EncryptionType | string | undefined;
2521
1337
  }
2522
1338
  export declare namespace PutEncryptionConfigRequest {
2523
- /**
2524
- * @internal
2525
- */
1339
+
2526
1340
  const filterSensitiveLog: (obj: PutEncryptionConfigRequest) => any;
2527
1341
  }
2528
1342
  export interface PutEncryptionConfigResult {
2529
- /**
2530
- * <p>The new encryption configuration.</p>
2531
- */
1343
+
2532
1344
  EncryptionConfig?: EncryptionConfig;
2533
1345
  }
2534
1346
  export declare namespace PutEncryptionConfigResult {
2535
- /**
2536
- * @internal
2537
- */
1347
+
2538
1348
  const filterSensitiveLog: (obj: PutEncryptionConfigResult) => any;
2539
1349
  }
2540
- /**
2541
- * <p></p>
2542
- */
1350
+
2543
1351
  export interface BackendConnectionErrors {
2544
- /**
2545
- * <p></p>
2546
- */
1352
+
2547
1353
  TimeoutCount?: number;
2548
- /**
2549
- * <p></p>
2550
- */
1354
+
2551
1355
  ConnectionRefusedCount?: number;
2552
- /**
2553
- * <p></p>
2554
- */
1356
+
2555
1357
  HTTPCode4XXCount?: number;
2556
- /**
2557
- * <p></p>
2558
- */
1358
+
2559
1359
  HTTPCode5XXCount?: number;
2560
- /**
2561
- * <p></p>
2562
- */
1360
+
2563
1361
  UnknownHostCount?: number;
2564
- /**
2565
- * <p></p>
2566
- */
1362
+
2567
1363
  OtherCount?: number;
2568
1364
  }
2569
1365
  export declare namespace BackendConnectionErrors {
2570
- /**
2571
- * @internal
2572
- */
1366
+
2573
1367
  const filterSensitiveLog: (obj: BackendConnectionErrors) => any;
2574
1368
  }
2575
- /**
2576
- * <p></p>
2577
- */
1369
+
2578
1370
  export interface TelemetryRecord {
2579
- /**
2580
- * <p></p>
2581
- */
1371
+
2582
1372
  Timestamp: Date | undefined;
2583
- /**
2584
- * <p></p>
2585
- */
1373
+
2586
1374
  SegmentsReceivedCount?: number;
2587
- /**
2588
- * <p></p>
2589
- */
1375
+
2590
1376
  SegmentsSentCount?: number;
2591
- /**
2592
- * <p></p>
2593
- */
1377
+
2594
1378
  SegmentsSpilloverCount?: number;
2595
- /**
2596
- * <p></p>
2597
- */
1379
+
2598
1380
  SegmentsRejectedCount?: number;
2599
- /**
2600
- * <p></p>
2601
- */
1381
+
2602
1382
  BackendConnectionErrors?: BackendConnectionErrors;
2603
1383
  }
2604
1384
  export declare namespace TelemetryRecord {
2605
- /**
2606
- * @internal
2607
- */
1385
+
2608
1386
  const filterSensitiveLog: (obj: TelemetryRecord) => any;
2609
1387
  }
2610
1388
  export interface PutTelemetryRecordsRequest {
2611
- /**
2612
- * <p></p>
2613
- */
1389
+
2614
1390
  TelemetryRecords: TelemetryRecord[] | undefined;
2615
- /**
2616
- * <p></p>
2617
- */
1391
+
2618
1392
  EC2InstanceId?: string;
2619
- /**
2620
- * <p></p>
2621
- */
1393
+
2622
1394
  Hostname?: string;
2623
- /**
2624
- * <p></p>
2625
- */
1395
+
2626
1396
  ResourceARN?: string;
2627
1397
  }
2628
1398
  export declare namespace PutTelemetryRecordsRequest {
2629
- /**
2630
- * @internal
2631
- */
1399
+
2632
1400
  const filterSensitiveLog: (obj: PutTelemetryRecordsRequest) => any;
2633
1401
  }
2634
1402
  export interface PutTelemetryRecordsResult {
2635
1403
  }
2636
1404
  export declare namespace PutTelemetryRecordsResult {
2637
- /**
2638
- * @internal
2639
- */
1405
+
2640
1406
  const filterSensitiveLog: (obj: PutTelemetryRecordsResult) => any;
2641
1407
  }
2642
1408
  export interface PutTraceSegmentsRequest {
2643
- /**
2644
- * <p>A string containing a JSON document defining one or more segments or
2645
- * subsegments.</p>
2646
- */
1409
+
2647
1410
  TraceSegmentDocuments: string[] | undefined;
2648
1411
  }
2649
1412
  export declare namespace PutTraceSegmentsRequest {
2650
- /**
2651
- * @internal
2652
- */
1413
+
2653
1414
  const filterSensitiveLog: (obj: PutTraceSegmentsRequest) => any;
2654
1415
  }
2655
- /**
2656
- * <p>Information about a segment that failed processing.</p>
2657
- */
1416
+
2658
1417
  export interface UnprocessedTraceSegment {
2659
- /**
2660
- * <p>The segment's ID.</p>
2661
- */
1418
+
2662
1419
  Id?: string;
2663
- /**
2664
- * <p>The error that caused processing to fail.</p>
2665
- */
1420
+
2666
1421
  ErrorCode?: string;
2667
- /**
2668
- * <p>The error message.</p>
2669
- */
1422
+
2670
1423
  Message?: string;
2671
1424
  }
2672
1425
  export declare namespace UnprocessedTraceSegment {
2673
- /**
2674
- * @internal
2675
- */
1426
+
2676
1427
  const filterSensitiveLog: (obj: UnprocessedTraceSegment) => any;
2677
1428
  }
2678
1429
  export interface PutTraceSegmentsResult {
2679
- /**
2680
- * <p>Segments that failed processing.</p>
2681
- */
1430
+
2682
1431
  UnprocessedTraceSegments?: UnprocessedTraceSegment[];
2683
1432
  }
2684
1433
  export declare namespace PutTraceSegmentsResult {
2685
- /**
2686
- * @internal
2687
- */
1434
+
2688
1435
  const filterSensitiveLog: (obj: PutTraceSegmentsResult) => any;
2689
1436
  }
2690
1437
  export interface TagResourceRequest {
2691
- /**
2692
- * <p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>
2693
- */
1438
+
2694
1439
  ResourceARN: string | undefined;
2695
- /**
2696
- * <p>A map that contains one or more tag keys and tag values to attach to an X-Ray group or
2697
- * sampling rule. For more information about ways to use tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>
2698
- * in the <i>Amazon Web Services General Reference</i>.</p>
2699
- * <p>The following restrictions apply to tags:</p>
2700
- * <ul>
2701
- * <li>
2702
- * <p>Maximum number of user-applied tags per resource: 50</p>
2703
- * </li>
2704
- * <li>
2705
- * <p>Maximum tag key length: 128 Unicode characters</p>
2706
- * </li>
2707
- * <li>
2708
- * <p>Maximum tag value length: 256 Unicode characters</p>
2709
- * </li>
2710
- * <li>
2711
- * <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :
2712
- * / = + - and @</p>
2713
- * </li>
2714
- * <li>
2715
- * <p>Tag keys and values are case sensitive.</p>
2716
- * </li>
2717
- * <li>
2718
- * <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for Amazon Web Services use. You
2719
- * cannot edit or delete system tags.</p>
2720
- * </li>
2721
- * </ul>
2722
- */
1440
+
2723
1441
  Tags: Tag[] | undefined;
2724
1442
  }
2725
1443
  export declare namespace TagResourceRequest {
2726
- /**
2727
- * @internal
2728
- */
1444
+
2729
1445
  const filterSensitiveLog: (obj: TagResourceRequest) => any;
2730
1446
  }
2731
1447
  export interface TagResourceResponse {
2732
1448
  }
2733
1449
  export declare namespace TagResourceResponse {
2734
- /**
2735
- * @internal
2736
- */
1450
+
2737
1451
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
2738
1452
  }
2739
- /**
2740
- * <p>You have exceeded the maximum number of tags you can apply to this resource.</p>
2741
- */
1453
+
2742
1454
  export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
2743
1455
  name: "TooManyTagsException";
2744
1456
  $fault: "client";
@@ -2746,167 +1458,93 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
2746
1458
  ResourceName?: string;
2747
1459
  }
2748
1460
  export declare namespace TooManyTagsException {
2749
- /**
2750
- * @internal
2751
- */
1461
+
2752
1462
  const filterSensitiveLog: (obj: TooManyTagsException) => any;
2753
1463
  }
2754
1464
  export interface UntagResourceRequest {
2755
- /**
2756
- * <p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>
2757
- */
1465
+
2758
1466
  ResourceARN: string | undefined;
2759
- /**
2760
- * <p>Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.</p>
2761
- */
1467
+
2762
1468
  TagKeys: string[] | undefined;
2763
1469
  }
2764
1470
  export declare namespace UntagResourceRequest {
2765
- /**
2766
- * @internal
2767
- */
1471
+
2768
1472
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2769
1473
  }
2770
1474
  export interface UntagResourceResponse {
2771
1475
  }
2772
1476
  export declare namespace UntagResourceResponse {
2773
- /**
2774
- * @internal
2775
- */
1477
+
2776
1478
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
2777
1479
  }
2778
1480
  export interface UpdateGroupRequest {
2779
- /**
2780
- * <p>The case-sensitive name of the group.</p>
2781
- */
1481
+
2782
1482
  GroupName?: string;
2783
- /**
2784
- * <p>The ARN that was generated upon creation.</p>
2785
- */
1483
+
2786
1484
  GroupARN?: string;
2787
- /**
2788
- * <p>The updated filter expression defining criteria by which to group traces.</p>
2789
- */
1485
+
2790
1486
  FilterExpression?: string;
2791
- /**
2792
- * <p>The structure containing configurations related to insights.</p>
2793
- * <ul>
2794
- * <li>
2795
- * <p>The InsightsEnabled boolean can be set to true to enable insights for the
2796
- * group or false to disable insights for the group.</p>
2797
- * </li>
2798
- * <li>
2799
- * <p>The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group.
2800
- * Notifications can only be enabled on a group with InsightsEnabled set to true.</p>
2801
- * </li>
2802
- * </ul>
2803
- */
1487
+
2804
1488
  InsightsConfiguration?: InsightsConfiguration;
2805
1489
  }
2806
1490
  export declare namespace UpdateGroupRequest {
2807
- /**
2808
- * @internal
2809
- */
1491
+
2810
1492
  const filterSensitiveLog: (obj: UpdateGroupRequest) => any;
2811
1493
  }
2812
1494
  export interface UpdateGroupResult {
2813
- /**
2814
- * <p>The group that was updated. Contains the name of the group that was updated, the
2815
- * ARN of the group that was updated, the updated filter expression, and the updated insight
2816
- * configuration assigned to the group.</p>
2817
- */
1495
+
2818
1496
  Group?: Group;
2819
1497
  }
2820
1498
  export declare namespace UpdateGroupResult {
2821
- /**
2822
- * @internal
2823
- */
1499
+
2824
1500
  const filterSensitiveLog: (obj: UpdateGroupResult) => any;
2825
1501
  }
2826
- /**
2827
- * <p>A document specifying changes to a sampling rule's configuration.</p>
2828
- */
1502
+
2829
1503
  export interface SamplingRuleUpdate {
2830
- /**
2831
- * <p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
2832
- */
1504
+
2833
1505
  RuleName?: string;
2834
- /**
2835
- * <p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>
2836
- */
1506
+
2837
1507
  RuleARN?: string;
2838
- /**
2839
- * <p>Matches the ARN of the Amazon Web Services resource on which the service runs.</p>
2840
- */
1508
+
2841
1509
  ResourceARN?: string;
2842
- /**
2843
- * <p>The priority of the sampling rule.</p>
2844
- */
1510
+
2845
1511
  Priority?: number;
2846
- /**
2847
- * <p>The percentage of matching requests to instrument, after the reservoir is
2848
- * exhausted.</p>
2849
- */
1512
+
2850
1513
  FixedRate?: number;
2851
- /**
2852
- * <p>A fixed number of matching requests to instrument per second, prior to applying the
2853
- * fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.</p>
2854
- */
1514
+
2855
1515
  ReservoirSize?: number;
2856
- /**
2857
- * <p>Matches the hostname from a request URL.</p>
2858
- */
1516
+
2859
1517
  Host?: string;
2860
- /**
2861
- * <p>Matches the <code>name</code> that the service uses to identify itself in segments.</p>
2862
- */
1518
+
2863
1519
  ServiceName?: string;
2864
- /**
2865
- * <p>Matches the <code>origin</code> that the service uses to identify its type in segments.</p>
2866
- */
1520
+
2867
1521
  ServiceType?: string;
2868
- /**
2869
- * <p>Matches the HTTP method of a request.</p>
2870
- */
1522
+
2871
1523
  HTTPMethod?: string;
2872
- /**
2873
- * <p>Matches the path from a request URL.</p>
2874
- */
1524
+
2875
1525
  URLPath?: string;
2876
- /**
2877
- * <p>Matches attributes derived from the request.</p>
2878
- */
1526
+
2879
1527
  Attributes?: {
2880
1528
  [key: string]: string;
2881
1529
  };
2882
1530
  }
2883
1531
  export declare namespace SamplingRuleUpdate {
2884
- /**
2885
- * @internal
2886
- */
1532
+
2887
1533
  const filterSensitiveLog: (obj: SamplingRuleUpdate) => any;
2888
1534
  }
2889
1535
  export interface UpdateSamplingRuleRequest {
2890
- /**
2891
- * <p>The rule and fields to change.</p>
2892
- */
1536
+
2893
1537
  SamplingRuleUpdate: SamplingRuleUpdate | undefined;
2894
1538
  }
2895
1539
  export declare namespace UpdateSamplingRuleRequest {
2896
- /**
2897
- * @internal
2898
- */
1540
+
2899
1541
  const filterSensitiveLog: (obj: UpdateSamplingRuleRequest) => any;
2900
1542
  }
2901
1543
  export interface UpdateSamplingRuleResult {
2902
- /**
2903
- * <p>The updated rule definition and metadata.</p>
2904
- */
1544
+
2905
1545
  SamplingRuleRecord?: SamplingRuleRecord;
2906
1546
  }
2907
1547
  export declare namespace UpdateSamplingRuleResult {
2908
- /**
2909
- * @internal
2910
- */
1548
+
2911
1549
  const filterSensitiveLog: (obj: UpdateSamplingRuleResult) => any;
2912
1550
  }