@aws-sdk/client-xray 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/XRay.d.ts +133 -157
- package/dist-types/ts3.4/XRayClient.d.ts +22 -53
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/commands/BatchGetTracesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CancelTraceRetrievalCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateSamplingRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteSamplingRuleCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetEncryptionConfigCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetGroupsCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetIndexingRulesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetInsightCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetInsightEventsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetInsightImpactGraphCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetInsightSummariesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetRetrievedTracesGraphCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetSamplingRulesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetSamplingStatisticSummariesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetSamplingTargetsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetServiceGraphCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetTimeSeriesServiceStatisticsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetTraceGraphCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetTraceSegmentDestinationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetTraceSummariesCommand.d.ts +5 -11
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRetrievedTracesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutEncryptionConfigCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +5 -11
- package/dist-types/ts3.4/commands/PutTelemetryRecordsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/PutTraceSegmentsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/StartTraceRetrievalCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateIndexingRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateSamplingRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateTraceSegmentDestinationCommand.d.ts +3 -5
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +6 -12
- package/dist-types/ts3.4/models/errors.d.ts +9 -39
- package/dist-types/ts3.4/models/models_0.d.ts +1 -3
- package/dist-types/ts3.4/pagination/GetGroupsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +38 -38
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface XRayExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -2,19 +2,16 @@ export declare const EncryptionStatus: {
|
|
|
2
2
|
readonly ACTIVE: "ACTIVE";
|
|
3
3
|
readonly UPDATING: "UPDATING";
|
|
4
4
|
};
|
|
5
|
-
export type EncryptionStatus =
|
|
6
|
-
(typeof EncryptionStatus)[keyof typeof EncryptionStatus];
|
|
5
|
+
export type EncryptionStatus = (typeof EncryptionStatus)[keyof typeof EncryptionStatus];
|
|
7
6
|
export declare const EncryptionType: {
|
|
8
7
|
readonly KMS: "KMS";
|
|
9
8
|
readonly NONE: "NONE";
|
|
10
9
|
};
|
|
11
|
-
export type EncryptionType =
|
|
12
|
-
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
10
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
13
11
|
export declare const InsightCategory: {
|
|
14
12
|
readonly FAULT: "FAULT";
|
|
15
13
|
};
|
|
16
|
-
export type InsightCategory =
|
|
17
|
-
(typeof InsightCategory)[keyof typeof InsightCategory];
|
|
14
|
+
export type InsightCategory = (typeof InsightCategory)[keyof typeof InsightCategory];
|
|
18
15
|
export declare const InsightState: {
|
|
19
16
|
readonly ACTIVE: "ACTIVE";
|
|
20
17
|
readonly CLOSED: "CLOSED";
|
|
@@ -28,8 +25,7 @@ export declare const RetrievalStatus: {
|
|
|
28
25
|
readonly SCHEDULED: "SCHEDULED";
|
|
29
26
|
readonly TIMEOUT: "TIMEOUT";
|
|
30
27
|
};
|
|
31
|
-
export type RetrievalStatus =
|
|
32
|
-
(typeof RetrievalStatus)[keyof typeof RetrievalStatus];
|
|
28
|
+
export type RetrievalStatus = (typeof RetrievalStatus)[keyof typeof RetrievalStatus];
|
|
33
29
|
export declare const TraceSegmentDestination: {
|
|
34
30
|
readonly CloudWatchLogs: "CloudWatchLogs";
|
|
35
31
|
readonly XRay: "XRay";
|
|
@@ -46,8 +42,7 @@ export declare const SamplingStrategyName: {
|
|
|
46
42
|
readonly FixedRate: "FixedRate";
|
|
47
43
|
readonly PartialScan: "PartialScan";
|
|
48
44
|
};
|
|
49
|
-
export type SamplingStrategyName =
|
|
50
|
-
(typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
|
|
45
|
+
export type SamplingStrategyName = (typeof SamplingStrategyName)[keyof typeof SamplingStrategyName];
|
|
51
46
|
export declare const TimeRangeType: {
|
|
52
47
|
readonly Event: "Event";
|
|
53
48
|
readonly Service: "Service";
|
|
@@ -58,5 +53,4 @@ export declare const TraceFormatType: {
|
|
|
58
53
|
readonly OTEL: "OTEL";
|
|
59
54
|
readonly XRAY: "XRAY";
|
|
60
55
|
};
|
|
61
|
-
export type TraceFormatType =
|
|
62
|
-
(typeof TraceFormatType)[keyof typeof TraceFormatType];
|
|
56
|
+
export type TraceFormatType = (typeof TraceFormatType)[keyof typeof TraceFormatType];
|
|
@@ -4,9 +4,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
4
4
|
readonly name: "InvalidRequestException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class ThrottledException extends __BaseException {
|
|
12
10
|
readonly name: "ThrottledException";
|
|
@@ -19,76 +17,48 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
19
17
|
readonly $fault: "client";
|
|
20
18
|
Message?: string | undefined;
|
|
21
19
|
ResourceName?: string | undefined;
|
|
22
|
-
constructor(
|
|
23
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
24
|
-
);
|
|
20
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
25
21
|
}
|
|
26
22
|
export declare class RuleLimitExceededException extends __BaseException {
|
|
27
23
|
readonly name: "RuleLimitExceededException";
|
|
28
24
|
readonly $fault: "client";
|
|
29
25
|
Message?: string | undefined;
|
|
30
|
-
constructor(
|
|
31
|
-
opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>
|
|
32
|
-
);
|
|
26
|
+
constructor(opts: __ExceptionOptionType<RuleLimitExceededException, __BaseException>);
|
|
33
27
|
}
|
|
34
28
|
export declare class InvalidPolicyRevisionIdException extends __BaseException {
|
|
35
29
|
readonly name: "InvalidPolicyRevisionIdException";
|
|
36
30
|
readonly $fault: "client";
|
|
37
31
|
Message?: string | undefined;
|
|
38
|
-
constructor(
|
|
39
|
-
opts: __ExceptionOptionType<
|
|
40
|
-
InvalidPolicyRevisionIdException,
|
|
41
|
-
__BaseException
|
|
42
|
-
>
|
|
43
|
-
);
|
|
32
|
+
constructor(opts: __ExceptionOptionType<InvalidPolicyRevisionIdException, __BaseException>);
|
|
44
33
|
}
|
|
45
34
|
export declare class LockoutPreventionException extends __BaseException {
|
|
46
35
|
readonly name: "LockoutPreventionException";
|
|
47
36
|
readonly $fault: "client";
|
|
48
37
|
Message?: string | undefined;
|
|
49
|
-
constructor(
|
|
50
|
-
opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>
|
|
51
|
-
);
|
|
38
|
+
constructor(opts: __ExceptionOptionType<LockoutPreventionException, __BaseException>);
|
|
52
39
|
}
|
|
53
40
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
54
41
|
readonly name: "MalformedPolicyDocumentException";
|
|
55
42
|
readonly $fault: "client";
|
|
56
43
|
Message?: string | undefined;
|
|
57
|
-
constructor(
|
|
58
|
-
opts: __ExceptionOptionType<
|
|
59
|
-
MalformedPolicyDocumentException,
|
|
60
|
-
__BaseException
|
|
61
|
-
>
|
|
62
|
-
);
|
|
44
|
+
constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
|
|
63
45
|
}
|
|
64
46
|
export declare class PolicyCountLimitExceededException extends __BaseException {
|
|
65
47
|
readonly name: "PolicyCountLimitExceededException";
|
|
66
48
|
readonly $fault: "client";
|
|
67
49
|
Message?: string | undefined;
|
|
68
|
-
constructor(
|
|
69
|
-
opts: __ExceptionOptionType<
|
|
70
|
-
PolicyCountLimitExceededException,
|
|
71
|
-
__BaseException
|
|
72
|
-
>
|
|
73
|
-
);
|
|
50
|
+
constructor(opts: __ExceptionOptionType<PolicyCountLimitExceededException, __BaseException>);
|
|
74
51
|
}
|
|
75
52
|
export declare class PolicySizeLimitExceededException extends __BaseException {
|
|
76
53
|
readonly name: "PolicySizeLimitExceededException";
|
|
77
54
|
readonly $fault: "client";
|
|
78
55
|
Message?: string | undefined;
|
|
79
|
-
constructor(
|
|
80
|
-
opts: __ExceptionOptionType<
|
|
81
|
-
PolicySizeLimitExceededException,
|
|
82
|
-
__BaseException
|
|
83
|
-
>
|
|
84
|
-
);
|
|
56
|
+
constructor(opts: __ExceptionOptionType<PolicySizeLimitExceededException, __BaseException>);
|
|
85
57
|
}
|
|
86
58
|
export declare class TooManyTagsException extends __BaseException {
|
|
87
59
|
readonly name: "TooManyTagsException";
|
|
88
60
|
readonly $fault: "client";
|
|
89
61
|
Message?: string | undefined;
|
|
90
62
|
ResourceName?: string | undefined;
|
|
91
|
-
constructor(
|
|
92
|
-
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
93
|
-
);
|
|
63
|
+
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
94
64
|
}
|
|
@@ -429,9 +429,7 @@ export interface SamplingStatisticsDocument {
|
|
|
429
429
|
}
|
|
430
430
|
export interface GetSamplingTargetsRequest {
|
|
431
431
|
SamplingStatisticsDocuments: SamplingStatisticsDocument[] | undefined;
|
|
432
|
-
SamplingBoostStatisticsDocuments?:
|
|
433
|
-
| SamplingBoostStatisticsDocument[]
|
|
434
|
-
| undefined;
|
|
432
|
+
SamplingBoostStatisticsDocuments?: SamplingBoostStatisticsDocument[] | undefined;
|
|
435
433
|
}
|
|
436
434
|
export interface SamplingBoost {
|
|
437
435
|
BoostRate: number | undefined;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetGroupsCommandInput,
|
|
4
|
-
GetGroupsCommandOutput,
|
|
5
|
-
} from "../commands/GetGroupsCommand";
|
|
2
|
+
import { GetGroupsCommandInput, GetGroupsCommandOutput } from "../commands/GetGroupsCommand";
|
|
6
3
|
import { XRayPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateGetGroups: (
|
|
8
5
|
config: XRayPaginationConfiguration,
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").XRayHttpAuthSchemeProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-xray",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Xray Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-xray",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-xray"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-xray",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-xray"
|
|
68
68
|
}
|
|
69
69
|
}
|