python-botocore/botocore/data/xray/2016-04-12/service-2.json

987 lines
36 KiB
JSON
Raw Normal View History

2017-02-02 09:27:08 +01:00
{
"version":"2.0",
"metadata":{
"apiVersion":"2016-04-12",
"endpointPrefix":"xray",
"protocol":"rest-json",
"serviceFullName":"AWS X-Ray",
2018-07-11 08:25:50 +02:00
"serviceId":"XRay",
2017-02-02 09:27:08 +01:00
"signatureVersion":"v4",
"uid":"xray-2016-04-12"
},
"operations":{
"BatchGetTraces":{
"name":"BatchGetTraces",
"http":{
"method":"POST",
"requestUri":"/Traces"
},
"input":{"shape":"BatchGetTracesRequest"},
"output":{"shape":"BatchGetTracesResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
"documentation":"<p>Retrieves a list of traces specified by ID. Each trace is a collection of segment documents that originates from a single request. Use <code>GetTraceSummaries</code> to get a list of trace IDs.</p>"
},
2018-05-08 03:57:43 +02:00
"GetEncryptionConfig":{
"name":"GetEncryptionConfig",
"http":{
"method":"POST",
"requestUri":"/EncryptionConfig"
},
"input":{"shape":"GetEncryptionConfigRequest"},
"output":{"shape":"GetEncryptionConfigResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
"documentation":"<p>Retrieves the current encryption configuration for X-Ray data.</p>"
},
2017-02-02 09:27:08 +01:00
"GetServiceGraph":{
"name":"GetServiceGraph",
"http":{
"method":"POST",
"requestUri":"/ServiceGraph"
},
"input":{"shape":"GetServiceGraphRequest"},
"output":{"shape":"GetServiceGraphResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
"documentation":"<p>Retrieves a document that describes services that process incoming requests, and downstream services that they call as a result. Root services process incoming requests and make calls to downstream services. Root services are applications that use the AWS X-Ray SDK. Downstream services can be other applications, AWS resources, HTTP web APIs, or SQL databases.</p>"
},
"GetTraceGraph":{
"name":"GetTraceGraph",
"http":{
"method":"POST",
"requestUri":"/TraceGraph"
},
"input":{"shape":"GetTraceGraphRequest"},
"output":{"shape":"GetTraceGraphResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
"documentation":"<p>Retrieves a service graph for one or more specific trace IDs.</p>"
},
"GetTraceSummaries":{
"name":"GetTraceSummaries",
"http":{
"method":"POST",
"requestUri":"/TraceSummaries"
},
"input":{"shape":"GetTraceSummariesRequest"},
"output":{"shape":"GetTraceSummariesResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
2017-06-27 11:52:19 +02:00
"documentation":"<p>Retrieves IDs and metadata for traces available for a specified time frame using an optional filter. To get the full traces, pass the trace IDs to <code>BatchGetTraces</code>.</p> <p>A filter expression can target traced requests that hit specific service nodes or edges, have errors, or come from a known user. For example, the following filter expression targets traces that pass through <code>api.example.com</code>:</p> <p> <code>service(\"api.example.com\")</code> </p> <p>This filter expression finds traces that have an annotation named <code>account</code> with the value <code>12345</code>:</p> <p> <code>annotation.account = \"12345\"</code> </p> <p>For a full list of indexed fields and keywords that you can use in filter expressions, see <a href=\"http://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html\">Using Filter Expressions</a> in the <i>AWS X-Ray Developer Guide</i>.</p>"
2017-02-02 09:27:08 +01:00
},
2018-05-08 03:57:43 +02:00
"PutEncryptionConfig":{
"name":"PutEncryptionConfig",
"http":{
"method":"POST",
"requestUri":"/PutEncryptionConfig"
},
"input":{"shape":"PutEncryptionConfigRequest"},
"output":{"shape":"PutEncryptionConfigResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
"documentation":"<p>Updates the encryption configuration for X-Ray data.</p>"
},
2017-02-02 09:27:08 +01:00
"PutTelemetryRecords":{
"name":"PutTelemetryRecords",
"http":{
"method":"POST",
"requestUri":"/TelemetryRecords"
},
"input":{"shape":"PutTelemetryRecordsRequest"},
"output":{"shape":"PutTelemetryRecordsResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
"documentation":"<p>Used by the AWS X-Ray daemon to upload telemetry.</p>"
},
"PutTraceSegments":{
"name":"PutTraceSegments",
"http":{
"method":"POST",
"requestUri":"/TraceSegments"
},
"input":{"shape":"PutTraceSegmentsRequest"},
"output":{"shape":"PutTraceSegmentsResult"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottledException"}
],
2018-05-08 03:57:43 +02:00
"documentation":"<p>Uploads segment documents to AWS X-Ray. The X-Ray SDK generates segment documents and sends them to the X-Ray daemon, which uploads them in batches. A segment document can be a completed segment, an in-progress segment, or an array of subsegments.</p> <p>Segments must include the following fields. For the full segment document schema, see <a href=\"https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html\">AWS X-Ray Segment Documents</a> in the <i>AWS X-Ray Developer Guide</i>.</p> <p class=\"title\"> <b>Required Segment Document Fields</b> </p> <ul> <li> <p> <code>name</code> - The name of the service that handled the request.</p> </li> <li> <p> <code>id</code> - A 64-bit identifier for the segment, unique among segments in the same trace, in 16 hexadecimal digits.</p> </li> <li> <p> <code>trace_id</code> - A unique identifier that connects all segments and subsegments originating from a single client request.</p> </li> <li> <p> <code>start_time</code> - Time the segment or subsegment was created, in floating point seconds in epoch time, accurate to milliseconds. For example, <code>1480615200.010</code> or <code>1.480615200010E9</code>.</p> </li> <li> <p> <code>end_time</code> - Time the segment or subsegment was closed. For example, <code>1480615200.090</code> or <code>1.480615200090E9</code>. Specify either an <code>end_time</code> or <code>in_progress</code>.</p> </li> <li> <p> <code>in_progress</code> - Set to <code>true</code> instead of specifying an <code>end_time</code> to record that a segment has been started, but is not complete. Send an in progress segment when your application receives a request that will take a long time to serve, to trace the fact that the request was received. When the response is sent, send the complete segment to overwrite the in-progress segment.</p> </li> </ul> <p>A <code>trace_id</code> consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. This includes:</p> <p class=\"title\"> <b>Trace ID Format</b> </p> <ul> <li> <p>The version number, i.e. <code>1</code>.</p> </li> <li> <p>The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is <code>1480615200</code> seconds, or <code>58406520</code> in hexadecimal.</p> </li> <li> <p>A 96-bit identifier for the trace, globally unique, in 24 hexadecimal digits.</p> </li> </ul>"
2017-02-02 09:27:08 +01:00
}
},
"shapes":{
"Alias":{
"type":"structure",
"members":{
"Name":{
"shape":"String",
"documentation":"<p>The canonical name of the alias.</p>"
},
"Names":{
"shape":"AliasNames",
"documentation":"<p>A list of names for the alias, including the canonical name.</p>"
},
"Type":{
"shape":"String",
"documentation":"<p>The type of the alias.</p>"
}
},
"documentation":"<p>An alias for an edge.</p>"
},
"AliasList":{
"type":"list",
"member":{"shape":"Alias"}
},
"AliasNames":{
"type":"list",
"member":{"shape":"String"}
},
"AnnotationKey":{"type":"string"},
"AnnotationValue":{
"type":"structure",
"members":{
"NumberValue":{
"shape":"NullableDouble",
"documentation":"<p>Value for a Number annotation.</p>"
},
"BooleanValue":{
"shape":"NullableBoolean",
"documentation":"<p>Value for a Boolean annotation.</p>"
},
"StringValue":{
"shape":"String",
"documentation":"<p>Value for a String annotation.</p>"
}
},
"documentation":"<p>Value of a segment annotation. Has one of three value types: Number, Boolean or String.</p>"
},
"Annotations":{
"type":"map",
"key":{"shape":"AnnotationKey"},
"value":{"shape":"ValuesWithServiceIds"}
},
"BackendConnectionErrors":{
"type":"structure",
"members":{
"TimeoutCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"ConnectionRefusedCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"HTTPCode4XXCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"HTTPCode5XXCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"UnknownHostCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"OtherCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
}
},
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"BatchGetTracesRequest":{
"type":"structure",
"required":["TraceIds"],
"members":{
"TraceIds":{
"shape":"TraceIdList",
"documentation":"<p>Specify the trace IDs of requests for which to retrieve segments.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Pagination token. Not used.</p>"
}
}
},
"BatchGetTracesResult":{
"type":"structure",
"members":{
"Traces":{
"shape":"TraceList",
"documentation":"<p>Full traces for the specified requests.</p>"
},
"UnprocessedTraceIds":{
"shape":"UnprocessedTraceIdList",
"documentation":"<p>Trace IDs of requests that haven't been processed.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Pagination token. Not used.</p>"
}
}
},
"Double":{"type":"double"},
2018-01-15 17:34:17 +01:00
"EC2InstanceId":{
"type":"string",
"max":20
},
2017-02-02 09:27:08 +01:00
"Edge":{
"type":"structure",
"members":{
"ReferenceId":{
"shape":"NullableInteger",
"documentation":"<p>Identifier of the edge. Unique within a service map.</p>"
},
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The start time of the first segment on the edge.</p>"
},
"EndTime":{
"shape":"Timestamp",
"documentation":"<p>The end time of the last segment on the edge.</p>"
},
"SummaryStatistics":{
"shape":"EdgeStatistics",
"documentation":"<p>Response statistics for segments on the edge.</p>"
},
"ResponseTimeHistogram":{
"shape":"Histogram",
2017-06-27 11:52:19 +02:00
"documentation":"<p>A histogram that maps the spread of client response times on an edge.</p>"
2017-02-02 09:27:08 +01:00
},
"Aliases":{
"shape":"AliasList",
"documentation":"<p>Aliases for the edge.</p>"
}
},
"documentation":"<p>Information about a connection between two services.</p>"
},
"EdgeList":{
"type":"list",
"member":{"shape":"Edge"}
},
"EdgeStatistics":{
"type":"structure",
"members":{
"OkCount":{
"shape":"NullableLong",
"documentation":"<p>The number of requests that completed with a 2xx Success status code.</p>"
},
"ErrorStatistics":{
"shape":"ErrorStatistics",
"documentation":"<p>Information about requests that failed with a 4xx Client Error status code.</p>"
},
"FaultStatistics":{
"shape":"FaultStatistics",
"documentation":"<p>Information about requests that failed with a 5xx Server Error status code.</p>"
},
"TotalCount":{
"shape":"NullableLong",
"documentation":"<p>The total number of completed requests.</p>"
},
"TotalResponseTime":{
"shape":"NullableDouble",
"documentation":"<p>The aggregate response time of completed requests.</p>"
}
},
"documentation":"<p>Response statistics for an edge.</p>"
},
2018-05-08 03:57:43 +02:00
"EncryptionConfig":{
"type":"structure",
"members":{
"KeyId":{
"shape":"String",
"documentation":"<p>The ID of the customer master key (CMK) used for encryption, if applicable.</p>"
},
"Status":{
"shape":"EncryptionStatus",
"documentation":"<p>The encryption status. After modifying encryption configuration with <a>PutEncryptionConfig</a>, the status can be <code>UPDATING</code> for up to one hour before X-Ray starts encrypting data with the new key.</p>"
},
"Type":{
"shape":"EncryptionType",
"documentation":"<p>The type of encryption. Set to <code>KMS</code> for encryption with CMKs. Set to <code>NONE</code> for default encryption.</p>"
}
},
"documentation":"<p>A configuration document that specifies encryption configuration settings.</p>"
},
"EncryptionKeyId":{
"type":"string",
"max":3000,
"min":1
},
"EncryptionStatus":{
"type":"string",
"enum":[
"UPDATING",
"ACTIVE"
]
},
"EncryptionType":{
"type":"string",
"enum":[
"NONE",
"KMS"
]
},
2018-01-15 17:34:17 +01:00
"ErrorMessage":{"type":"string"},
2017-02-02 09:27:08 +01:00
"ErrorStatistics":{
"type":"structure",
"members":{
"ThrottleCount":{
"shape":"NullableLong",
"documentation":"<p>The number of requests that failed with a 419 throttling status code.</p>"
},
"OtherCount":{
"shape":"NullableLong",
"documentation":"<p>The number of requests that failed with untracked 4xx Client Error status codes.</p>"
},
"TotalCount":{
"shape":"NullableLong",
"documentation":"<p>The total number of requests that failed with a 4xx Client Error status code.</p>"
}
},
"documentation":"<p>Information about requests that failed with a 4xx Client Error status code.</p>"
},
"FaultStatistics":{
"type":"structure",
"members":{
"OtherCount":{
"shape":"NullableLong",
"documentation":"<p>The number of requests that failed with untracked 5xx Server Error status codes.</p>"
},
"TotalCount":{
"shape":"NullableLong",
"documentation":"<p>The total number of requests that failed with a 5xx Server Error status code.</p>"
}
},
"documentation":"<p>Information about requests that failed with a 5xx Server Error status code.</p>"
},
"FilterExpression":{
"type":"string",
"max":2000,
2018-01-15 17:34:17 +01:00
"min":1
2017-02-02 09:27:08 +01:00
},
2018-05-08 03:57:43 +02:00
"GetEncryptionConfigRequest":{
"type":"structure",
"members":{
}
},
"GetEncryptionConfigResult":{
"type":"structure",
"members":{
"EncryptionConfig":{
"shape":"EncryptionConfig",
"documentation":"<p>The encryption configuration document.</p>"
}
}
},
2017-02-02 09:27:08 +01:00
"GetServiceGraphRequest":{
"type":"structure",
"required":[
"StartTime",
"EndTime"
],
"members":{
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The start of the time frame for which to generate a graph.</p>"
},
"EndTime":{
"shape":"Timestamp",
"documentation":"<p>The end of the time frame for which to generate a graph.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Pagination token. Not used.</p>"
}
}
},
"GetServiceGraphResult":{
"type":"structure",
"members":{
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The start of the time frame for which the graph was generated.</p>"
},
"EndTime":{
"shape":"Timestamp",
"documentation":"<p>The end of the time frame for which the graph was generated.</p>"
},
"Services":{
"shape":"ServiceList",
"documentation":"<p>The services that have processed a traced request during the specified time frame.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Pagination token. Not used.</p>"
}
}
},
"GetTraceGraphRequest":{
"type":"structure",
"required":["TraceIds"],
"members":{
"TraceIds":{
"shape":"TraceIdList",
"documentation":"<p>Trace IDs of requests for which to generate a service graph.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Pagination token. Not used.</p>"
}
}
},
"GetTraceGraphResult":{
"type":"structure",
"members":{
"Services":{
"shape":"ServiceList",
"documentation":"<p>The services that have processed one of the specified requests.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Pagination token. Not used.</p>"
}
}
},
"GetTraceSummariesRequest":{
"type":"structure",
"required":[
"StartTime",
"EndTime"
],
"members":{
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The start of the time frame for which to retrieve traces.</p>"
},
"EndTime":{
"shape":"Timestamp",
"documentation":"<p>The end of the time frame for which to retrieve traces.</p>"
},
"Sampling":{
"shape":"NullableBoolean",
"documentation":"<p>Set to <code>true</code> to get summaries for only a subset of available traces.</p>"
},
"FilterExpression":{
"shape":"FilterExpression",
"documentation":"<p>Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.</p>"
},
"NextToken":{
"shape":"String",
"documentation":"<p>Specify the pagination token returned by a previous request to retrieve the next page of results.</p>"
}
}
},
"GetTraceSummariesResult":{
"type":"structure",
"members":{
"TraceSummaries":{
"shape":"TraceSummaryList",
"documentation":"<p>Trace IDs and metadata for traces that were found in the specified time frame.</p>"
},
"ApproximateTime":{
"shape":"Timestamp",
"documentation":"<p>The start time of this page of results.</p>"
},
"TracesProcessedCount":{
"shape":"NullableLong",
2018-05-08 03:57:43 +02:00
"documentation":"<p>The total number of traces processed, including traces that did not match the specified filter expression.</p>"
2017-02-02 09:27:08 +01:00
},
"NextToken":{
"shape":"String",
"documentation":"<p>If the requested time frame contained more than one page of results, you can use this token to retrieve the next page. The first page contains the most most recent results, closest to the end of the time frame.</p>"
}
}
},
"Histogram":{
"type":"list",
"member":{"shape":"HistogramEntry"}
},
"HistogramEntry":{
"type":"structure",
"members":{
"Value":{
"shape":"Double",
"documentation":"<p>The value of the entry.</p>"
},
"Count":{
"shape":"Integer",
"documentation":"<p>The prevalence of the entry.</p>"
}
},
"documentation":"<p>An entry in a histogram for a statistic. A histogram maps the range of observed values on the X axis, and the prevalence of each value on the Y axis.</p>"
},
2018-01-15 17:34:17 +01:00
"Hostname":{
"type":"string",
"max":255
},
2017-02-02 09:27:08 +01:00
"Http":{
"type":"structure",
"members":{
"HttpURL":{
"shape":"String",
"documentation":"<p>The request URL.</p>"
},
"HttpStatus":{
"shape":"NullableInteger",
"documentation":"<p>The response status.</p>"
},
"HttpMethod":{
"shape":"String",
"documentation":"<p>The request method.</p>"
},
"UserAgent":{
"shape":"String",
"documentation":"<p>The request's user agent string.</p>"
},
"ClientIp":{
"shape":"String",
"documentation":"<p>The IP address of the requestor.</p>"
}
},
"documentation":"<p>Information about an HTTP request.</p>"
},
"Integer":{"type":"integer"},
"InvalidRequestException":{
"type":"structure",
"members":{
2018-01-15 17:34:17 +01:00
"Message":{"shape":"ErrorMessage"}
2017-02-02 09:27:08 +01:00
},
"documentation":"<p>The request is missing required parameters or has invalid parameters.</p>",
"exception":true
},
"NullableBoolean":{"type":"boolean"},
"NullableDouble":{"type":"double"},
"NullableInteger":{"type":"integer"},
"NullableLong":{"type":"long"},
2018-05-08 03:57:43 +02:00
"PutEncryptionConfigRequest":{
"type":"structure",
"required":["Type"],
"members":{
"KeyId":{
"shape":"EncryptionKeyId",
"documentation":"<p>An AWS KMS customer master key (CMK) in one of the following formats:</p> <ul> <li> <p> <b>Alias</b> - The name of the key. For example, <code>alias/MyKey</code>.</p> </li> <li> <p> <b>Key ID</b> - The KMS key ID of the key. For example, <code>ae4aa6d49-a4d8-9df9-a475-4ff6d7898456</code>.</p> </li> <li> <p> <b>ARN</b> - The full Amazon Resource Name of the key ID or alias. For example, <code>arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456</code>. Use this format to specify a key in a different account.</p> </li> </ul> <p>Omit this key if you set <code>Type</code> to <code>NONE</code>.</p>"
},
"Type":{
"shape":"EncryptionType",
"documentation":"<p>The type of encryption. Set to <code>KMS</code> to use your own key for encryption. Set to <code>NONE</code> for default encryption.</p>"
}
}
},
"PutEncryptionConfigResult":{
"type":"structure",
"members":{
"EncryptionConfig":{
"shape":"EncryptionConfig",
"documentation":"<p>The new encryption configuration.</p>"
}
}
},
2017-02-02 09:27:08 +01:00
"PutTelemetryRecordsRequest":{
"type":"structure",
"required":["TelemetryRecords"],
"members":{
"TelemetryRecords":{
"shape":"TelemetryRecordList",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"EC2InstanceId":{
2018-01-15 17:34:17 +01:00
"shape":"EC2InstanceId",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"Hostname":{
2018-01-15 17:34:17 +01:00
"shape":"Hostname",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"ResourceARN":{
2018-01-15 17:34:17 +01:00
"shape":"ResourceARN",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
}
}
},
"PutTelemetryRecordsResult":{
"type":"structure",
"members":{
}
},
"PutTraceSegmentsRequest":{
"type":"structure",
"required":["TraceSegmentDocuments"],
"members":{
"TraceSegmentDocuments":{
"shape":"TraceSegmentDocumentList",
2017-06-27 11:52:19 +02:00
"documentation":"<p>A string containing a JSON document defining one or more segments or subsegments.</p>"
2017-02-02 09:27:08 +01:00
}
}
},
"PutTraceSegmentsResult":{
"type":"structure",
"members":{
"UnprocessedTraceSegments":{
"shape":"UnprocessedTraceSegmentList",
"documentation":"<p>Segments that failed processing.</p>"
}
}
},
2018-01-15 17:34:17 +01:00
"ResourceARN":{
"type":"string",
"max":500
},
2017-02-02 09:27:08 +01:00
"Segment":{
"type":"structure",
"members":{
"Id":{
"shape":"SegmentId",
"documentation":"<p>The segment's ID.</p>"
},
"Document":{
"shape":"SegmentDocument",
2018-05-08 03:57:43 +02:00
"documentation":"<p>The segment document.</p>"
2017-02-02 09:27:08 +01:00
}
},
2018-05-08 03:57:43 +02:00
"documentation":"<p>A segment from a trace that has been ingested by the X-Ray service. The segment can be compiled from documents uploaded with <a>PutTraceSegments</a>, or an <code>inferred</code> segment for a downstream service, generated from a subsegment sent by the service that called it.</p> <p>For the full segment document schema, see <a href=\"https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html\">AWS X-Ray Segment Documents</a> in the <i>AWS X-Ray Developer Guide</i>.</p>"
2017-02-02 09:27:08 +01:00
},
"SegmentDocument":{
"type":"string",
"min":1
},
2018-01-15 17:34:17 +01:00
"SegmentId":{"type":"string"},
2017-02-02 09:27:08 +01:00
"SegmentList":{
"type":"list",
"member":{"shape":"Segment"}
},
"Service":{
"type":"structure",
"members":{
"ReferenceId":{
"shape":"NullableInteger",
"documentation":"<p>Identifier for the service. Unique within the service map.</p>"
},
"Name":{
"shape":"String",
"documentation":"<p>The canonical name of the service.</p>"
},
"Names":{
"shape":"ServiceNames",
"documentation":"<p>A list of names for the service, including the canonical name.</p>"
},
"Root":{
"shape":"NullableBoolean",
"documentation":"<p>Indicates that the service was the first service to process a request.</p>"
},
"AccountId":{
"shape":"String",
"documentation":"<p>Identifier of the AWS account in which the service runs.</p>"
},
"Type":{
"shape":"String",
"documentation":"<p>The type of service.</p> <ul> <li> <p>AWS Resource - The type of an AWS resource. For example, <code>AWS::EC2::Instance</code> for a application running on Amazon EC2 or <code>AWS::DynamoDB::Table</code> for an Amazon DynamoDB table that the application used.</p> </li> <li> <p>AWS Service - The type of an AWS service. For example, <code>AWS::DynamoDB</code> for downstream calls to Amazon DynamoDB that didn't target a specific table.</p> </li> <li> <p> <code>client</code> - Represents the clients that sent requests to a root service.</p> </li> <li> <p> <code>remote</code> - A downstream service of indeterminate type.</p> </li> </ul>"
},
"State":{
"shape":"String",
"documentation":"<p>The service's state.</p>"
},
"StartTime":{
"shape":"Timestamp",
"documentation":"<p>The start time of the first segment that the service generated.</p>"
},
"EndTime":{
"shape":"Timestamp",
"documentation":"<p>The end time of the last segment that the service generated.</p>"
},
"Edges":{
"shape":"EdgeList",
"documentation":"<p>Connections to downstream services.</p>"
},
"SummaryStatistics":{
"shape":"ServiceStatistics",
"documentation":"<p>Aggregated statistics for the service.</p>"
},
"DurationHistogram":{
"shape":"Histogram",
2017-06-27 11:52:19 +02:00
"documentation":"<p>A histogram that maps the spread of service durations.</p>"
},
"ResponseTimeHistogram":{
"shape":"Histogram",
"documentation":"<p>A histogram that maps the spread of service response times.</p>"
2017-02-02 09:27:08 +01:00
}
},
"documentation":"<p>Information about an application that processed requests, users that made requests, or downstream services, resources and applications that an application used.</p>"
},
"ServiceId":{
"type":"structure",
"members":{
"Name":{
"shape":"String",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"Names":{
"shape":"ServiceNames",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"AccountId":{
"shape":"String",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"Type":{
"shape":"String",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
}
},
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"ServiceIds":{
"type":"list",
"member":{"shape":"ServiceId"}
},
"ServiceList":{
"type":"list",
"member":{"shape":"Service"}
},
"ServiceNames":{
"type":"list",
"member":{"shape":"String"}
},
"ServiceStatistics":{
"type":"structure",
"members":{
"OkCount":{
"shape":"NullableLong",
"documentation":"<p>The number of requests that completed with a 2xx Success status code.</p>"
},
"ErrorStatistics":{
"shape":"ErrorStatistics",
"documentation":"<p>Information about requests that failed with a 4xx Client Error status code.</p>"
},
"FaultStatistics":{
"shape":"FaultStatistics",
"documentation":"<p>Information about requests that failed with a 5xx Server Error status code.</p>"
},
"TotalCount":{
"shape":"NullableLong",
"documentation":"<p>The total number of completed requests.</p>"
},
"TotalResponseTime":{
"shape":"NullableDouble",
"documentation":"<p>The aggregate response time of completed requests.</p>"
}
},
"documentation":"<p>Response statistics for a service.</p>"
},
"String":{"type":"string"},
"TelemetryRecord":{
"type":"structure",
2018-01-15 17:34:17 +01:00
"required":["Timestamp"],
2017-02-02 09:27:08 +01:00
"members":{
"Timestamp":{
"shape":"Timestamp",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"SegmentsReceivedCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"SegmentsSentCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"SegmentsSpilloverCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"SegmentsRejectedCount":{
"shape":"NullableInteger",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"BackendConnectionErrors":{
"shape":"BackendConnectionErrors",
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
}
},
2017-06-27 11:52:19 +02:00
"documentation":"<p/>"
2017-02-02 09:27:08 +01:00
},
"TelemetryRecordList":{
"type":"list",
"member":{"shape":"TelemetryRecord"}
},
"ThrottledException":{
"type":"structure",
"members":{
2018-01-15 17:34:17 +01:00
"Message":{"shape":"ErrorMessage"}
2017-02-02 09:27:08 +01:00
},
"documentation":"<p>The request exceeds the maximum number of requests per second.</p>",
"error":{"httpStatusCode":429},
"exception":true
},
"Timestamp":{"type":"timestamp"},
"Trace":{
"type":"structure",
"members":{
"Id":{
"shape":"TraceId",
"documentation":"<p>The unique identifier for the request that generated the trace's segments and subsegments.</p>"
},
"Duration":{
"shape":"NullableDouble",
"documentation":"<p>The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.</p>"
},
"Segments":{
"shape":"SegmentList",
"documentation":"<p>Segment documents for the segments and subsegments that comprise the trace.</p>"
}
},
"documentation":"<p>A collection of segment documents with matching trace IDs.</p>"
},
"TraceId":{
"type":"string",
"max":35,
2018-01-15 17:34:17 +01:00
"min":1
2017-02-02 09:27:08 +01:00
},
"TraceIdList":{
"type":"list",
"member":{"shape":"TraceId"}
},
"TraceList":{
"type":"list",
"member":{"shape":"Trace"}
},
"TraceSegmentDocument":{"type":"string"},
"TraceSegmentDocumentList":{
"type":"list",
"member":{"shape":"TraceSegmentDocument"}
},
"TraceSummary":{
"type":"structure",
"members":{
"Id":{
"shape":"TraceId",
"documentation":"<p>The unique identifier for the request that generated the trace's segments and subsegments.</p>"
},
"Duration":{
"shape":"NullableDouble",
"documentation":"<p>The length of time in seconds between the start time of the root segment and the end time of the last segment that completed.</p>"
},
"ResponseTime":{
"shape":"NullableDouble",
"documentation":"<p>The length of time in seconds between the start and end times of the root segment. If the service performs work asynchronously, the response time measures the time before the response is sent to the user, while the duration measures the amount of time before the last traced activity completes.</p>"
},
"HasFault":{
"shape":"NullableBoolean",
"documentation":"<p>One or more of the segment documents has a 500 series error.</p>"
},
"HasError":{
"shape":"NullableBoolean",
"documentation":"<p>One or more of the segment documents has a 400 series error.</p>"
},
"HasThrottle":{
"shape":"NullableBoolean",
"documentation":"<p>One or more of the segment documents has a 429 throttling error.</p>"
},
"IsPartial":{
"shape":"NullableBoolean",
"documentation":"<p>One or more of the segment documents is in progress.</p>"
},
"Http":{
"shape":"Http",
"documentation":"<p>Information about the HTTP request served by the trace.</p>"
},
"Annotations":{
"shape":"Annotations",
"documentation":"<p>Annotations from the trace's segment documents.</p>"
},
"Users":{
"shape":"TraceUsers",
"documentation":"<p>Users from the trace's segment documents.</p>"
},
"ServiceIds":{
"shape":"ServiceIds",
"documentation":"<p>Service IDs from the trace's segment documents.</p>"
}
},
"documentation":"<p>Metadata generated from the segment documents in a trace.</p>"
},
"TraceSummaryList":{
"type":"list",
"member":{"shape":"TraceSummary"}
},
"TraceUser":{
"type":"structure",
"members":{
"UserName":{
"shape":"String",
"documentation":"<p>The user's name.</p>"
},
"ServiceIds":{
"shape":"ServiceIds",
"documentation":"<p>Services that the user's request hit.</p>"
}
},
"documentation":"<p>Information about a user recorded in segment documents.</p>"
},
"TraceUsers":{
"type":"list",
"member":{"shape":"TraceUser"}
},
"UnprocessedTraceIdList":{
"type":"list",
"member":{"shape":"TraceId"}
},
"UnprocessedTraceSegment":{
"type":"structure",
"members":{
"Id":{
"shape":"String",
"documentation":"<p>The segment's ID.</p>"
},
"ErrorCode":{
"shape":"String",
"documentation":"<p>The error that caused processing to fail.</p>"
},
"Message":{
"shape":"String",
"documentation":"<p>The error message.</p>"
}
},
"documentation":"<p>Information about a segment that failed processing.</p>"
},
"UnprocessedTraceSegmentList":{
"type":"list",
"member":{"shape":"UnprocessedTraceSegment"}
},
"ValueWithServiceIds":{
"type":"structure",
"members":{
"AnnotationValue":{
"shape":"AnnotationValue",
"documentation":"<p>Values of the annotation.</p>"
},
"ServiceIds":{
"shape":"ServiceIds",
"documentation":"<p>Services to which the annotation applies.</p>"
}
},
"documentation":"<p>Information about a segment annotation.</p>"
},
"ValuesWithServiceIds":{
"type":"list",
"member":{"shape":"ValueWithServiceIds"}
}
},
"documentation":"<p>AWS X-Ray provides APIs for managing debug traces and retrieving service maps and other data created by processing those traces.</p>"
}