@aws-sdk/client-xray 3.208.0 → 3.210.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/protocols/Aws_restJson1.js +4 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -1
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-es/runtimeConfig.shared.js +2 -1
- package/dist-types/models/models_0.d.ts +17 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -3
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -3
- package/package.json +11 -13
|
@@ -2011,7 +2011,11 @@ const deserializeAws_restJson1AvailabilityZoneDetail = (output, context) => {
|
|
|
2011
2011
|
const deserializeAws_restJson1Edge = (output, context) => {
|
|
2012
2012
|
return {
|
|
2013
2013
|
Aliases: output.Aliases != null ? deserializeAws_restJson1AliasList(output.Aliases, context) : undefined,
|
|
2014
|
+
EdgeType: (0, smithy_client_1.expectString)(output.EdgeType),
|
|
2014
2015
|
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
2016
|
+
ReceivedEventAgeHistogram: output.ReceivedEventAgeHistogram != null
|
|
2017
|
+
? deserializeAws_restJson1Histogram(output.ReceivedEventAgeHistogram, context)
|
|
2018
|
+
: undefined,
|
|
2015
2019
|
ReferenceId: (0, smithy_client_1.expectInt32)(output.ReferenceId),
|
|
2016
2020
|
ResponseTimeHistogram: output.ResponseTimeHistogram != null
|
|
2017
2021
|
? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
6
7
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
@@ -10,7 +11,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
10
11
|
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
11
12
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
13
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
13
|
-
logger: config?.logger ??
|
|
14
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
14
15
|
serviceId: config?.serviceId ?? "XRay",
|
|
15
16
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
16
17
|
});
|
|
@@ -1953,7 +1953,11 @@ const deserializeAws_restJson1AvailabilityZoneDetail = (output, context) => {
|
|
|
1953
1953
|
const deserializeAws_restJson1Edge = (output, context) => {
|
|
1954
1954
|
return {
|
|
1955
1955
|
Aliases: output.Aliases != null ? deserializeAws_restJson1AliasList(output.Aliases, context) : undefined,
|
|
1956
|
+
EdgeType: __expectString(output.EdgeType),
|
|
1956
1957
|
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
1958
|
+
ReceivedEventAgeHistogram: output.ReceivedEventAgeHistogram != null
|
|
1959
|
+
? deserializeAws_restJson1Histogram(output.ReceivedEventAgeHistogram, context)
|
|
1960
|
+
: undefined,
|
|
1957
1961
|
ReferenceId: __expectInt32(output.ReferenceId),
|
|
1958
1962
|
ResponseTimeHistogram: output.ResponseTimeHistogram != null
|
|
1959
1963
|
? deserializeAws_restJson1Histogram(output.ResponseTimeHistogram, context)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
3
4
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
@@ -7,7 +8,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
7
8
|
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
8
9
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
10
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
10
|
-
logger: config?.logger ??
|
|
11
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
11
12
|
serviceId: config?.serviceId ?? "XRay",
|
|
12
13
|
urlParser: config?.urlParser ?? parseUrl,
|
|
13
14
|
});
|
|
@@ -158,8 +158,8 @@ export interface Trace {
|
|
|
158
158
|
*/
|
|
159
159
|
Duration?: number;
|
|
160
160
|
/**
|
|
161
|
-
* <p>LimitExceeded is set to true when the trace has exceeded
|
|
162
|
-
* 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>
|
|
161
|
+
* <p>LimitExceeded is set to true when the trace has exceeded the <code>Trace document size</code> limit. For
|
|
162
|
+
* more information about this limit and other X-Ray limits and quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/xray.html">Amazon Web Services X-Ray endpoints and quotas</a>.</p>
|
|
163
163
|
*/
|
|
164
164
|
LimitExceeded?: boolean;
|
|
165
165
|
/**
|
|
@@ -1212,7 +1212,9 @@ export interface EdgeStatistics {
|
|
|
1212
1212
|
TotalResponseTime?: number;
|
|
1213
1213
|
}
|
|
1214
1214
|
/**
|
|
1215
|
-
* <p>Information about a connection between two services
|
|
1215
|
+
* <p>Information about a connection between two services. An edge can be a synchronous connection, such as typical
|
|
1216
|
+
* call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an
|
|
1217
|
+
* SNS queue.</p>
|
|
1216
1218
|
*/
|
|
1217
1219
|
export interface Edge {
|
|
1218
1220
|
/**
|
|
@@ -1232,13 +1234,24 @@ export interface Edge {
|
|
|
1232
1234
|
*/
|
|
1233
1235
|
SummaryStatistics?: EdgeStatistics;
|
|
1234
1236
|
/**
|
|
1235
|
-
* <p>A histogram that maps the spread of client response times on an edge
|
|
1237
|
+
* <p>A histogram that maps the spread of client response times on an edge. Only populated
|
|
1238
|
+
* for synchronous edges.</p>
|
|
1236
1239
|
*/
|
|
1237
1240
|
ResponseTimeHistogram?: HistogramEntry[];
|
|
1238
1241
|
/**
|
|
1239
1242
|
* <p>Aliases for the edge.</p>
|
|
1240
1243
|
*/
|
|
1241
1244
|
Aliases?: Alias[];
|
|
1245
|
+
/**
|
|
1246
|
+
* <p>Describes an asynchronous connection, with a value of <code>link</code>.</p>
|
|
1247
|
+
*/
|
|
1248
|
+
EdgeType?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* <p>A histogram that maps the spread of event age when received by consumers.
|
|
1251
|
+
* Age is calculated each time an event is received. Only populated when <i>EdgeType</i> is
|
|
1252
|
+
* <code>link</code>.</p>
|
|
1253
|
+
*/
|
|
1254
|
+
ReceivedEventAgeHistogram?: HistogramEntry[];
|
|
1242
1255
|
}
|
|
1243
1256
|
/**
|
|
1244
1257
|
* <p>Response statistics for a service.</p>
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
1
|
import { XRayClientConfig } from "./XRayClient";
|
|
3
2
|
/**
|
|
4
3
|
* @internal
|
|
@@ -9,9 +8,9 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
9
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
9
|
disableHostPrefix: boolean;
|
|
11
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
12
|
-
logger?:
|
|
11
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
13
12
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
14
|
-
logger:
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
15
14
|
serviceId: string;
|
|
16
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
16
|
};
|
|
@@ -384,6 +384,8 @@ export interface Edge {
|
|
|
384
384
|
SummaryStatistics?: EdgeStatistics;
|
|
385
385
|
ResponseTimeHistogram?: HistogramEntry[];
|
|
386
386
|
Aliases?: Alias[];
|
|
387
|
+
EdgeType?: string;
|
|
388
|
+
ReceivedEventAgeHistogram?: HistogramEntry[];
|
|
387
389
|
}
|
|
388
390
|
export interface ServiceStatistics {
|
|
389
391
|
OkCount?: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
1
|
import { XRayClientConfig } from "./XRayClient";
|
|
3
2
|
export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
4
3
|
apiVersion: string;
|
|
@@ -8,10 +7,10 @@ export declare const getRuntimeConfig: (config: XRayClientConfig) => {
|
|
|
8
7
|
endpointProvider: (
|
|
9
8
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
9
|
context?: {
|
|
11
|
-
logger?:
|
|
10
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
12
11
|
}
|
|
13
12
|
) => import("@aws-sdk/types").EndpointV2;
|
|
14
|
-
logger:
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
15
14
|
serviceId: string;
|
|
16
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
16
|
};
|
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.
|
|
4
|
+
"version": "3.210.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.210.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.209.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.210.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.208.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
@@ -30,27 +30,25 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.209.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.208.0",
|
|
35
35
|
"@aws-sdk/middleware-signing": "3.208.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.208.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.209.0",
|
|
39
39
|
"@aws-sdk/node-http-handler": "3.208.0",
|
|
40
40
|
"@aws-sdk/protocol-http": "3.208.0",
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
+
"@aws-sdk/smithy-client": "3.209.0",
|
|
42
42
|
"@aws-sdk/types": "3.208.0",
|
|
43
43
|
"@aws-sdk/url-parser": "3.208.0",
|
|
44
44
|
"@aws-sdk/util-base64": "3.208.0",
|
|
45
|
-
"@aws-sdk/util-base64-browser": "3.208.0",
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.208.0",
|
|
47
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.209.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.209.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.210.0",
|
|
52
50
|
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.209.0",
|
|
54
52
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
53
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
54
|
"tslib": "^2.3.1"
|