@aws-sdk/client-xray 3.948.0 → 3.953.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.
- package/dist-cjs/index.js +639 -432
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/BatchGetTracesCommand.js +2 -2
- package/dist-es/commands/CancelTraceRetrievalCommand.js +2 -2
- package/dist-es/commands/CreateGroupCommand.js +2 -2
- package/dist-es/commands/CreateSamplingRuleCommand.js +2 -2
- package/dist-es/commands/DeleteGroupCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteSamplingRuleCommand.js +2 -2
- package/dist-es/commands/GetEncryptionConfigCommand.js +2 -2
- package/dist-es/commands/GetGroupCommand.js +2 -2
- package/dist-es/commands/GetGroupsCommand.js +2 -2
- package/dist-es/commands/GetIndexingRulesCommand.js +2 -2
- package/dist-es/commands/GetInsightCommand.js +2 -2
- package/dist-es/commands/GetInsightEventsCommand.js +2 -2
- package/dist-es/commands/GetInsightImpactGraphCommand.js +2 -2
- package/dist-es/commands/GetInsightSummariesCommand.js +2 -2
- package/dist-es/commands/GetRetrievedTracesGraphCommand.js +2 -2
- package/dist-es/commands/GetSamplingRulesCommand.js +2 -2
- package/dist-es/commands/GetSamplingStatisticSummariesCommand.js +2 -2
- package/dist-es/commands/GetSamplingTargetsCommand.js +2 -2
- package/dist-es/commands/GetServiceGraphCommand.js +2 -2
- package/dist-es/commands/GetTimeSeriesServiceStatisticsCommand.js +2 -2
- package/dist-es/commands/GetTraceGraphCommand.js +2 -2
- package/dist-es/commands/GetTraceSegmentDestinationCommand.js +2 -2
- package/dist-es/commands/GetTraceSummariesCommand.js +2 -2
- package/dist-es/commands/ListResourcePoliciesCommand.js +2 -2
- package/dist-es/commands/ListRetrievedTracesCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutEncryptionConfigCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/PutTelemetryRecordsCommand.js +2 -2
- package/dist-es/commands/PutTraceSegmentsCommand.js +2 -2
- package/dist-es/commands/StartTraceRetrievalCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateGroupCommand.js +2 -2
- package/dist-es/commands/UpdateIndexingRuleCommand.js +2 -2
- package/dist-es/commands/UpdateSamplingRuleCommand.js +2 -2
- package/dist-es/commands/UpdateTraceSegmentDestinationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +389 -374
- package/dist-types/XRayClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +193 -249
- package/dist-types/ts3.4/XRayClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +192 -250
- package/package.json +34 -34
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateIndexingRule } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateIndexingRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateIndexingRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateIndexingRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSXRay", "UpdateIndexingRule", {})
|
|
13
13
|
.n("XRayClient", "UpdateIndexingRuleCommand")
|
|
14
|
-
.sc(UpdateIndexingRule)
|
|
14
|
+
.sc(UpdateIndexingRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateSamplingRule } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateSamplingRule$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateSamplingRuleCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateSamplingRuleCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSXRay", "UpdateSamplingRule", {})
|
|
13
13
|
.n("XRayClient", "UpdateSamplingRuleCommand")
|
|
14
|
-
.sc(UpdateSamplingRule)
|
|
14
|
+
.sc(UpdateSamplingRule$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateTraceSegmentDestination } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateTraceSegmentDestination$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateTraceSegmentDestinationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateTraceSegmentDestinationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AWSXRay", "UpdateTraceSegmentDestination", {})
|
|
13
13
|
.n("XRayClient", "UpdateTraceSegmentDestinationCommand")
|
|
14
|
-
.sc(UpdateTraceSegmentDestination)
|
|
14
|
+
.sc(UpdateTraceSegmentDestination$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.xray",
|
|
29
|
+
version: "2016-04-12",
|
|
30
|
+
serviceTarget: "AWSXRay",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "XRay",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|