@aws-sdk/client-xray 3.322.0 → 3.326.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 (31) hide show
  1. package/dist-types/commands/BatchGetTracesCommand.d.ts +22 -0
  2. package/dist-types/commands/CreateGroupCommand.d.ts +14 -0
  3. package/dist-types/commands/CreateSamplingRuleCommand.d.ts +26 -0
  4. package/dist-types/commands/DeleteGroupCommand.d.ts +4 -0
  5. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteSamplingRuleCommand.d.ts +26 -0
  7. package/dist-types/commands/GetEncryptionConfigCommand.d.ts +10 -0
  8. package/dist-types/commands/GetGroupCommand.d.ts +14 -0
  9. package/dist-types/commands/GetGroupsCommand.d.ts +17 -0
  10. package/dist-types/commands/GetInsightCommand.d.ts +47 -0
  11. package/dist-types/commands/GetInsightEventsCommand.d.ts +34 -0
  12. package/dist-types/commands/GetInsightImpactGraphCommand.d.ts +27 -0
  13. package/dist-types/commands/GetInsightSummariesCommand.d.ts +51 -0
  14. package/dist-types/commands/GetSamplingRulesCommand.d.ts +29 -0
  15. package/dist-types/commands/GetSamplingStatisticSummariesCommand.d.ts +15 -0
  16. package/dist-types/commands/GetSamplingTargetsCommand.d.ts +22 -0
  17. package/dist-types/commands/GetServiceGraphCommand.d.ts +93 -0
  18. package/dist-types/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +50 -0
  19. package/dist-types/commands/GetTraceGraphCommand.d.ts +90 -0
  20. package/dist-types/commands/GetTraceSummariesCommand.d.ts +160 -0
  21. package/dist-types/commands/ListResourcePoliciesCommand.d.ts +14 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  23. package/dist-types/commands/PutEncryptionConfigCommand.d.ts +10 -0
  24. package/dist-types/commands/PutResourcePolicyCommand.d.ts +11 -0
  25. package/dist-types/commands/PutTelemetryRecordsCommand.d.ts +4 -0
  26. package/dist-types/commands/PutTraceSegmentsCommand.d.ts +12 -0
  27. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  28. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  29. package/dist-types/commands/UpdateGroupCommand.d.ts +14 -0
  30. package/dist-types/commands/UpdateSamplingRuleCommand.d.ts +26 -0
  31. package/package.json +16 -16
@@ -46,6 +46,30 @@ export interface UpdateSamplingRuleCommandOutput extends UpdateSamplingRuleResul
46
46
  * };
47
47
  * const command = new UpdateSamplingRuleCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // UpdateSamplingRuleResult
50
+ * // SamplingRuleRecord: { // SamplingRuleRecord
51
+ * // SamplingRule: { // SamplingRule
52
+ * // RuleName: "STRING_VALUE",
53
+ * // RuleARN: "STRING_VALUE",
54
+ * // ResourceARN: "STRING_VALUE", // required
55
+ * // Priority: Number("int"), // required
56
+ * // FixedRate: Number("double"), // required
57
+ * // ReservoirSize: Number("int"), // required
58
+ * // ServiceName: "STRING_VALUE", // required
59
+ * // ServiceType: "STRING_VALUE", // required
60
+ * // Host: "STRING_VALUE", // required
61
+ * // HTTPMethod: "STRING_VALUE", // required
62
+ * // URLPath: "STRING_VALUE", // required
63
+ * // Version: Number("int"), // required
64
+ * // Attributes: { // AttributeMap
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // },
68
+ * // CreatedAt: new Date("TIMESTAMP"),
69
+ * // ModifiedAt: new Date("TIMESTAMP"),
70
+ * // },
71
+ * // };
72
+ *
49
73
  * ```
50
74
  *
51
75
  * @param UpdateSamplingRuleCommandInput - {@link UpdateSamplingRuleCommandInput}
@@ -60,6 +84,8 @@ export interface UpdateSamplingRuleCommandOutput extends UpdateSamplingRuleResul
60
84
  * @throws {@link ThrottledException} (client fault)
61
85
  * <p>The request exceeds the maximum number of requests per second.</p>
62
86
  *
87
+ * @throws {@link XRayServiceException}
88
+ * <p>Base exception class for all service exceptions from XRay service.</p>
63
89
  *
64
90
  */
65
91
  export declare class UpdateSamplingRuleCommand extends $Command<UpdateSamplingRuleCommandInput, UpdateSamplingRuleCommandOutput, XRayClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-xray",
3
3
  "description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
4
- "version": "3.322.0",
4
+ "version": "3.326.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",