Skip to content

Commit 0963adb

Browse files
author
awstools
committed
feat(client-xray): This release enhances GetServiceGraph API to support new type of edge to represent links between SQS and Lambda in event-driven applications.
1 parent ae0500b commit 0963adb

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

clients/client-xray/src/models/models_0.ts

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ export interface Trace {
194194
Duration?: number;
195195

196196
/**
197-
* <p>LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For
198-
* 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>
197+
* <p>LimitExceeded is set to true when the trace has exceeded the <code>Trace document size</code> limit. For
198+
* 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>
199199
*/
200200
LimitExceeded?: boolean;
201201

@@ -1448,7 +1448,9 @@ export interface EdgeStatistics {
14481448
}
14491449

14501450
/**
1451-
* <p>Information about a connection between two services.</p>
1451+
* <p>Information about a connection between two services. An edge can be a synchronous connection, such as typical
1452+
* call between client and service, or an asynchronous link, such as a Lambda function which retrieves an event from an
1453+
* SNS queue.</p>
14521454
*/
14531455
export interface Edge {
14541456
/**
@@ -1472,14 +1474,27 @@ export interface Edge {
14721474
SummaryStatistics?: EdgeStatistics;
14731475

14741476
/**
1475-
* <p>A histogram that maps the spread of client response times on an edge.</p>
1477+
* <p>A histogram that maps the spread of client response times on an edge. Only populated
1478+
* for synchronous edges.</p>
14761479
*/
14771480
ResponseTimeHistogram?: HistogramEntry[];
14781481

14791482
/**
14801483
* <p>Aliases for the edge.</p>
14811484
*/
14821485
Aliases?: Alias[];
1486+
1487+
/**
1488+
* <p>Describes an asynchronous connection, with a value of <code>link</code>.</p>
1489+
*/
1490+
EdgeType?: string;
1491+
1492+
/**
1493+
* <p>A histogram that maps the spread of event age when received by consumers.
1494+
* Age is calculated each time an event is received. Only populated when <i>EdgeType</i> is
1495+
* <code>link</code>.</p>
1496+
*/
1497+
ReceivedEventAgeHistogram?: HistogramEntry[];
14831498
}
14841499

14851500
/**

clients/client-xray/src/protocols/Aws_restJson1.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,8 +2493,13 @@ const deserializeAws_restJson1AvailabilityZoneDetail = (
24932493
const deserializeAws_restJson1Edge = (output: any, context: __SerdeContext): Edge => {
24942494
return {
24952495
Aliases: output.Aliases != null ? deserializeAws_restJson1AliasList(output.Aliases, context) : undefined,
2496+
EdgeType: __expectString(output.EdgeType),
24962497
EndTime:
24972498
output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2499+
ReceivedEventAgeHistogram:
2500+
output.ReceivedEventAgeHistogram != null
2501+
? deserializeAws_restJson1Histogram(output.ReceivedEventAgeHistogram, context)
2502+
: undefined,
24982503
ReferenceId: __expectInt32(output.ReferenceId),
24992504
ResponseTimeHistogram:
25002505
output.ResponseTimeHistogram != null

0 commit comments

Comments
 (0)