@aws-sdk/client-xray 3.696.0 → 3.698.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 (44) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +506 -24
  3. package/dist-es/XRay.js +16 -0
  4. package/dist-es/commands/CancelTraceRetrievalCommand.js +22 -0
  5. package/dist-es/commands/GetIndexingRulesCommand.js +22 -0
  6. package/dist-es/commands/GetRetrievedTracesGraphCommand.js +22 -0
  7. package/dist-es/commands/GetTraceSegmentDestinationCommand.js +22 -0
  8. package/dist-es/commands/ListRetrievedTracesCommand.js +22 -0
  9. package/dist-es/commands/StartTraceRetrievalCommand.js +22 -0
  10. package/dist-es/commands/UpdateIndexingRuleCommand.js +22 -0
  11. package/dist-es/commands/UpdateTraceSegmentDestinationCommand.js +22 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/models_0.js +50 -14
  14. package/dist-es/protocols/Aws_restJson1.js +294 -4
  15. package/dist-types/XRay.d.ts +59 -0
  16. package/dist-types/XRayClient.d.ts +10 -2
  17. package/dist-types/commands/BatchGetTracesCommand.d.ts +4 -1
  18. package/dist-types/commands/CancelTraceRetrievalCommand.d.ts +81 -0
  19. package/dist-types/commands/GetIndexingRulesCommand.d.ts +91 -0
  20. package/dist-types/commands/GetRetrievedTracesGraphCommand.d.ts +185 -0
  21. package/dist-types/commands/GetTraceSegmentDestinationCommand.d.ts +78 -0
  22. package/dist-types/commands/GetTraceSummariesCommand.d.ts +2 -2
  23. package/dist-types/commands/ListRetrievedTracesCommand.d.ts +104 -0
  24. package/dist-types/commands/PutTraceSegmentsCommand.d.ts +14 -4
  25. package/dist-types/commands/StartTraceRetrievalCommand.d.ts +90 -0
  26. package/dist-types/commands/UpdateIndexingRuleCommand.d.ts +98 -0
  27. package/dist-types/commands/UpdateTraceSegmentDestinationCommand.d.ts +80 -0
  28. package/dist-types/commands/index.d.ts +8 -0
  29. package/dist-types/models/models_0.d.ts +826 -256
  30. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  31. package/dist-types/ts3.4/XRay.d.ts +139 -0
  32. package/dist-types/ts3.4/XRayClient.d.ts +50 -2
  33. package/dist-types/ts3.4/commands/CancelTraceRetrievalCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/GetIndexingRulesCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/GetRetrievedTracesGraphCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/GetTraceSegmentDestinationCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/ListRetrievedTracesCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/StartTraceRetrievalCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/UpdateIndexingRuleCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/UpdateTraceSegmentDestinationCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +213 -61
  43. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  44. package/package.json +1 -1
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetIndexingRulesRequest,
5
+ GetIndexingRulesResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetIndexingRulesCommandInput extends GetIndexingRulesRequest {}
15
+ export interface GetIndexingRulesCommandOutput
16
+ extends GetIndexingRulesResult,
17
+ __MetadataBearer {}
18
+ declare const GetIndexingRulesCommand_base: {
19
+ new (
20
+ input: GetIndexingRulesCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetIndexingRulesCommandInput,
23
+ GetIndexingRulesCommandOutput,
24
+ XRayClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [GetIndexingRulesCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetIndexingRulesCommandInput,
32
+ GetIndexingRulesCommandOutput,
33
+ XRayClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetIndexingRulesCommand extends GetIndexingRulesCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetIndexingRulesRequest;
43
+ output: GetIndexingRulesResult;
44
+ };
45
+ sdk: {
46
+ input: GetIndexingRulesCommandInput;
47
+ output: GetIndexingRulesCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetRetrievedTracesGraphRequest,
5
+ GetRetrievedTracesGraphResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetRetrievedTracesGraphCommandInput
15
+ extends GetRetrievedTracesGraphRequest {}
16
+ export interface GetRetrievedTracesGraphCommandOutput
17
+ extends GetRetrievedTracesGraphResult,
18
+ __MetadataBearer {}
19
+ declare const GetRetrievedTracesGraphCommand_base: {
20
+ new (
21
+ input: GetRetrievedTracesGraphCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetRetrievedTracesGraphCommandInput,
24
+ GetRetrievedTracesGraphCommandOutput,
25
+ XRayClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetRetrievedTracesGraphCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetRetrievedTracesGraphCommandInput,
33
+ GetRetrievedTracesGraphCommandOutput,
34
+ XRayClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetRetrievedTracesGraphCommand extends GetRetrievedTracesGraphCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetRetrievedTracesGraphRequest;
44
+ output: GetRetrievedTracesGraphResult;
45
+ };
46
+ sdk: {
47
+ input: GetRetrievedTracesGraphCommandInput;
48
+ output: GetRetrievedTracesGraphCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetTraceSegmentDestinationRequest,
5
+ GetTraceSegmentDestinationResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetTraceSegmentDestinationCommandInput
15
+ extends GetTraceSegmentDestinationRequest {}
16
+ export interface GetTraceSegmentDestinationCommandOutput
17
+ extends GetTraceSegmentDestinationResult,
18
+ __MetadataBearer {}
19
+ declare const GetTraceSegmentDestinationCommand_base: {
20
+ new (
21
+ input: GetTraceSegmentDestinationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetTraceSegmentDestinationCommandInput,
24
+ GetTraceSegmentDestinationCommandOutput,
25
+ XRayClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [GetTraceSegmentDestinationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetTraceSegmentDestinationCommandInput,
33
+ GetTraceSegmentDestinationCommandOutput,
34
+ XRayClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetTraceSegmentDestinationCommand extends GetTraceSegmentDestinationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: {};
44
+ output: GetTraceSegmentDestinationResult;
45
+ };
46
+ sdk: {
47
+ input: GetTraceSegmentDestinationCommandInput;
48
+ output: GetTraceSegmentDestinationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListRetrievedTracesRequest,
5
+ ListRetrievedTracesResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListRetrievedTracesCommandInput
15
+ extends ListRetrievedTracesRequest {}
16
+ export interface ListRetrievedTracesCommandOutput
17
+ extends ListRetrievedTracesResult,
18
+ __MetadataBearer {}
19
+ declare const ListRetrievedTracesCommand_base: {
20
+ new (
21
+ input: ListRetrievedTracesCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListRetrievedTracesCommandInput,
24
+ ListRetrievedTracesCommandOutput,
25
+ XRayClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListRetrievedTracesCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListRetrievedTracesCommandInput,
33
+ ListRetrievedTracesCommandOutput,
34
+ XRayClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListRetrievedTracesCommand extends ListRetrievedTracesCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListRetrievedTracesRequest;
44
+ output: ListRetrievedTracesResult;
45
+ };
46
+ sdk: {
47
+ input: ListRetrievedTracesCommandInput;
48
+ output: ListRetrievedTracesCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ StartTraceRetrievalRequest,
5
+ StartTraceRetrievalResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface StartTraceRetrievalCommandInput
15
+ extends StartTraceRetrievalRequest {}
16
+ export interface StartTraceRetrievalCommandOutput
17
+ extends StartTraceRetrievalResult,
18
+ __MetadataBearer {}
19
+ declare const StartTraceRetrievalCommand_base: {
20
+ new (
21
+ input: StartTraceRetrievalCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ StartTraceRetrievalCommandInput,
24
+ StartTraceRetrievalCommandOutput,
25
+ XRayClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: StartTraceRetrievalCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ StartTraceRetrievalCommandInput,
33
+ StartTraceRetrievalCommandOutput,
34
+ XRayClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class StartTraceRetrievalCommand extends StartTraceRetrievalCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: StartTraceRetrievalRequest;
44
+ output: StartTraceRetrievalResult;
45
+ };
46
+ sdk: {
47
+ input: StartTraceRetrievalCommandInput;
48
+ output: StartTraceRetrievalCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateIndexingRuleRequest,
5
+ UpdateIndexingRuleResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateIndexingRuleCommandInput
15
+ extends UpdateIndexingRuleRequest {}
16
+ export interface UpdateIndexingRuleCommandOutput
17
+ extends UpdateIndexingRuleResult,
18
+ __MetadataBearer {}
19
+ declare const UpdateIndexingRuleCommand_base: {
20
+ new (
21
+ input: UpdateIndexingRuleCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateIndexingRuleCommandInput,
24
+ UpdateIndexingRuleCommandOutput,
25
+ XRayClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: UpdateIndexingRuleCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateIndexingRuleCommandInput,
33
+ UpdateIndexingRuleCommandOutput,
34
+ XRayClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateIndexingRuleCommand extends UpdateIndexingRuleCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateIndexingRuleRequest;
44
+ output: UpdateIndexingRuleResult;
45
+ };
46
+ sdk: {
47
+ input: UpdateIndexingRuleCommandInput;
48
+ output: UpdateIndexingRuleCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ UpdateTraceSegmentDestinationRequest,
5
+ UpdateTraceSegmentDestinationResult,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ XRayClientResolvedConfig,
11
+ } from "../XRayClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface UpdateTraceSegmentDestinationCommandInput
15
+ extends UpdateTraceSegmentDestinationRequest {}
16
+ export interface UpdateTraceSegmentDestinationCommandOutput
17
+ extends UpdateTraceSegmentDestinationResult,
18
+ __MetadataBearer {}
19
+ declare const UpdateTraceSegmentDestinationCommand_base: {
20
+ new (
21
+ input: UpdateTraceSegmentDestinationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ UpdateTraceSegmentDestinationCommandInput,
24
+ UpdateTraceSegmentDestinationCommandOutput,
25
+ XRayClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [UpdateTraceSegmentDestinationCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ UpdateTraceSegmentDestinationCommandInput,
33
+ UpdateTraceSegmentDestinationCommandOutput,
34
+ XRayClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class UpdateTraceSegmentDestinationCommand extends UpdateTraceSegmentDestinationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: UpdateTraceSegmentDestinationRequest;
44
+ output: UpdateTraceSegmentDestinationResult;
45
+ };
46
+ sdk: {
47
+ input: UpdateTraceSegmentDestinationCommandInput;
48
+ output: UpdateTraceSegmentDestinationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./BatchGetTracesCommand";
2
+ export * from "./CancelTraceRetrievalCommand";
2
3
  export * from "./CreateGroupCommand";
3
4
  export * from "./CreateSamplingRuleCommand";
4
5
  export * from "./DeleteGroupCommand";
@@ -7,24 +8,31 @@ export * from "./DeleteSamplingRuleCommand";
7
8
  export * from "./GetEncryptionConfigCommand";
8
9
  export * from "./GetGroupCommand";
9
10
  export * from "./GetGroupsCommand";
11
+ export * from "./GetIndexingRulesCommand";
10
12
  export * from "./GetInsightCommand";
11
13
  export * from "./GetInsightEventsCommand";
12
14
  export * from "./GetInsightImpactGraphCommand";
13
15
  export * from "./GetInsightSummariesCommand";
16
+ export * from "./GetRetrievedTracesGraphCommand";
14
17
  export * from "./GetSamplingRulesCommand";
15
18
  export * from "./GetSamplingStatisticSummariesCommand";
16
19
  export * from "./GetSamplingTargetsCommand";
17
20
  export * from "./GetServiceGraphCommand";
18
21
  export * from "./GetTimeSeriesServiceStatisticsCommand";
19
22
  export * from "./GetTraceGraphCommand";
23
+ export * from "./GetTraceSegmentDestinationCommand";
20
24
  export * from "./GetTraceSummariesCommand";
21
25
  export * from "./ListResourcePoliciesCommand";
26
+ export * from "./ListRetrievedTracesCommand";
22
27
  export * from "./ListTagsForResourceCommand";
23
28
  export * from "./PutEncryptionConfigCommand";
24
29
  export * from "./PutResourcePolicyCommand";
25
30
  export * from "./PutTelemetryRecordsCommand";
26
31
  export * from "./PutTraceSegmentsCommand";
32
+ export * from "./StartTraceRetrievalCommand";
27
33
  export * from "./TagResourceCommand";
28
34
  export * from "./UntagResourceCommand";
29
35
  export * from "./UpdateGroupCommand";
36
+ export * from "./UpdateIndexingRuleCommand";
30
37
  export * from "./UpdateSamplingRuleCommand";
38
+ export * from "./UpdateTraceSegmentDestinationCommand";