{
    "smithy": "1.0",
    "metadata": {
        "suppressions": [
            {
                "id": "HttpMethodSemantics",
                "namespace": "*"
            },
            {
                "id": "HttpResponseCodeSemantics",
                "namespace": "*"
            },
            {
                "id": "PaginatedTrait",
                "namespace": "*"
            },
            {
                "id": "HttpHeaderTrait",
                "namespace": "*"
            },
            {
                "id": "HttpUriConflict",
                "namespace": "*"
            },
            {
                "id": "Service",
                "namespace": "*"
            }
        ]
    },
    "shapes": {
        "com.amazonaws.xray#AWSXRay": {
            "type": "service",
            "version": "2016-04-12",
            "operations": [
                {
                    "target": "com.amazonaws.xray#BatchGetTraces"
                },
                {
                    "target": "com.amazonaws.xray#CreateGroup"
                },
                {
                    "target": "com.amazonaws.xray#CreateSamplingRule"
                },
                {
                    "target": "com.amazonaws.xray#DeleteGroup"
                },
                {
                    "target": "com.amazonaws.xray#DeleteSamplingRule"
                },
                {
                    "target": "com.amazonaws.xray#GetEncryptionConfig"
                },
                {
                    "target": "com.amazonaws.xray#GetGroup"
                },
                {
                    "target": "com.amazonaws.xray#GetGroups"
                },
                {
                    "target": "com.amazonaws.xray#GetInsight"
                },
                {
                    "target": "com.amazonaws.xray#GetInsightEvents"
                },
                {
                    "target": "com.amazonaws.xray#GetInsightImpactGraph"
                },
                {
                    "target": "com.amazonaws.xray#GetInsightSummaries"
                },
                {
                    "target": "com.amazonaws.xray#GetSamplingRules"
                },
                {
                    "target": "com.amazonaws.xray#GetSamplingStatisticSummaries"
                },
                {
                    "target": "com.amazonaws.xray#GetSamplingTargets"
                },
                {
                    "target": "com.amazonaws.xray#GetServiceGraph"
                },
                {
                    "target": "com.amazonaws.xray#GetTimeSeriesServiceStatistics"
                },
                {
                    "target": "com.amazonaws.xray#GetTraceGraph"
                },
                {
                    "target": "com.amazonaws.xray#GetTraceSummaries"
                },
                {
                    "target": "com.amazonaws.xray#ListTagsForResource"
                },
                {
                    "target": "com.amazonaws.xray#PutEncryptionConfig"
                },
                {
                    "target": "com.amazonaws.xray#PutTelemetryRecords"
                },
                {
                    "target": "com.amazonaws.xray#PutTraceSegments"
                },
                {
                    "target": "com.amazonaws.xray#TagResource"
                },
                {
                    "target": "com.amazonaws.xray#UntagResource"
                },
                {
                    "target": "com.amazonaws.xray#UpdateGroup"
                },
                {
                    "target": "com.amazonaws.xray#UpdateSamplingRule"
                }
            ],
            "traits": {
                "aws.api#service": {
                    "sdkId": "XRay",
                    "arnNamespace": "xray",
                    "cloudFormationName": "XRay",
                    "cloudTrailEventSource": "xray.amazonaws.com",
                    "endpointPrefix": "xray"
                },
                "aws.auth#sigv4": {
                    "name": "xray"
                },
                "aws.protocols#restJson1": {},
                "smithy.api#documentation": "<p>AWS X-Ray provides APIs for managing debug traces and retrieving service maps\n      and other data created by processing those traces.</p>",
                "smithy.api#title": "AWS X-Ray"
            }
        },
        "com.amazonaws.xray#Alias": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The canonical name of the alias.</p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#AliasNames",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of names for the alias, including the canonical name.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of the alias.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>An alias for an edge.</p>"
            }
        },
        "com.amazonaws.xray#AliasList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#Alias"
            }
        },
        "com.amazonaws.xray#AliasNames": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#String"
            }
        },
        "com.amazonaws.xray#AmazonResourceName": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 1011
                }
            }
        },
        "com.amazonaws.xray#AnnotationKey": {
            "type": "string"
        },
        "com.amazonaws.xray#AnnotationValue": {
            "type": "union",
            "members": {
                "NumberValue": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>Value for a Number annotation.</p>"
                    }
                },
                "BooleanValue": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>Value for a Boolean annotation.</p>"
                    }
                },
                "StringValue": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Value for a String annotation.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Value of a segment annotation. Has one of three value types: Number, Boolean, or String.</p>"
            }
        },
        "com.amazonaws.xray#Annotations": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.xray#AnnotationKey"
            },
            "value": {
                "target": "com.amazonaws.xray#ValuesWithServiceIds"
            }
        },
        "com.amazonaws.xray#AnomalousService": {
            "type": "structure",
            "members": {
                "ServiceId": {
                    "target": "com.amazonaws.xray#ServiceId"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The service within the service graph that has anomalously high fault rates. </p>"
            }
        },
        "com.amazonaws.xray#AnomalousServiceList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#AnomalousService"
            }
        },
        "com.amazonaws.xray#AttributeKey": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 32
                }
            }
        },
        "com.amazonaws.xray#AttributeMap": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.xray#AttributeKey"
            },
            "value": {
                "target": "com.amazonaws.xray#AttributeValue"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 5
                }
            }
        },
        "com.amazonaws.xray#AttributeValue": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 32
                }
            }
        },
        "com.amazonaws.xray#AvailabilityZoneDetail": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of a corresponding Availability Zone.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A list of Availability Zones corresponding to the segments in a trace.</p>"
            }
        },
        "com.amazonaws.xray#BackendConnectionErrors": {
            "type": "structure",
            "members": {
                "TimeoutCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "ConnectionRefusedCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "HTTPCode4XXCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "HTTPCode5XXCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "UnknownHostCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "OtherCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p></p>"
            }
        },
        "com.amazonaws.xray#BatchGetTraces": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#BatchGetTracesRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#BatchGetTracesResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves a list of traces specified by ID. Each trace is a collection of segment\n      documents that originates from a single request. Use <code>GetTraceSummaries</code> to get a\n      list of trace IDs.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/Traces",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "Traces"
                }
            }
        },
        "com.amazonaws.xray#BatchGetTracesRequest": {
            "type": "structure",
            "members": {
                "TraceIds": {
                    "target": "com.amazonaws.xray#TraceIdList",
                    "traits": {
                        "smithy.api#documentation": "<p>Specify the trace IDs of requests for which to retrieve segments.</p>",
                        "smithy.api#required": {}
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#BatchGetTracesResult": {
            "type": "structure",
            "members": {
                "Traces": {
                    "target": "com.amazonaws.xray#TraceList",
                    "traits": {
                        "smithy.api#documentation": "<p>Full traces for the specified requests.</p>"
                    }
                },
                "UnprocessedTraceIds": {
                    "target": "com.amazonaws.xray#UnprocessedTraceIdList",
                    "traits": {
                        "smithy.api#documentation": "<p>Trace IDs of requests that haven't been processed.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#Boolean": {
            "type": "boolean"
        },
        "com.amazonaws.xray#BorrowCount": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 0
                }
            }
        },
        "com.amazonaws.xray#ClientID": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 24,
                    "max": 24
                }
            }
        },
        "com.amazonaws.xray#CreateGroup": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#CreateGroupRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#CreateGroupResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a group resource with a name and a filter expression. </p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/CreateGroup",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#CreateGroupRequest": {
            "type": "structure",
            "members": {
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The case-sensitive name of the new group. Default is a reserved name and names must\n            be unique.</p>",
                        "smithy.api#required": {}
                    }
                },
                "FilterExpression": {
                    "target": "com.amazonaws.xray#FilterExpression",
                    "traits": {
                        "smithy.api#documentation": "<p>The filter expression defining criteria by which to group traces.</p>"
                    }
                },
                "InsightsConfiguration": {
                    "target": "com.amazonaws.xray#InsightsConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The structure containing configurations related to insights.</p>\n            <ul>\n            <li>\n                    <p>The InsightsEnabled boolean can be set to true to enable insights for the\n                    new group or false to disable insights for the new group.</p>\n                </li>\n            <li>\n                    <p>The NotifcationsEnabled boolean can be set to true to enable insights\n                    notifications for the new group. Notifications may only be enabled on a group\n                    with InsightsEnabled set to true.</p>\n                </li>\n         </ul>"
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.xray#TagList",
                    "traits": {
                        "smithy.api#documentation": "<p>A map that contains one or more tag keys and tag values to attach to an X-Ray group.\n            For more information about ways to use tags, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS\n                resources</a> in the <i>AWS General Reference</i>.</p>\n        <p>The following restrictions apply to tags:</p>\n        <ul>\n            <li>\n                <p>Maximum number of user-applied tags per resource: 50</p>\n            </li>\n            <li>\n                <p>Maximum tag key length: 128 Unicode characters</p>\n            </li>\n            <li>\n                <p>Maximum tag value length: 256 Unicode characters</p>\n            </li>\n            <li>\n                <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :\n                    / = + - and @</p>\n            </li>\n            <li>\n                <p>Tag keys and values are case sensitive.</p>\n            </li>\n            <li>\n                <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for AWS\n                    use.</p>\n            </li>\n         </ul>"
                    }
                }
            }
        },
        "com.amazonaws.xray#CreateGroupResult": {
            "type": "structure",
            "members": {
                "Group": {
                    "target": "com.amazonaws.xray#Group",
                    "traits": {
                        "smithy.api#documentation": "<p>The group that was created. Contains the name of the group that was created, the Amazon Resource Name\n            (ARN) of the group that was generated based on the group name, the filter expression, and the insight\n            configuration that was assigned to the group.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#CreateSamplingRule": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#CreateSamplingRuleRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#CreateSamplingRuleResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#RuleLimitExceededException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a rule to control sampling behavior for instrumented applications. Services\n         retrieve rules with <a>GetSamplingRules</a>, and evaluate each rule in ascending\n         order of <i>priority</i> for each request. If a rule matches, the service\n         records a trace, borrowing it from the reservoir size. After 10 seconds, the service\n         reports back to X-Ray with <a>GetSamplingTargets</a> to get updated versions of\n         each in-use rule. The updated rule contains a trace quota that the service can use instead\n         of borrowing from the reservoir.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/CreateSamplingRule",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#CreateSamplingRuleRequest": {
            "type": "structure",
            "members": {
                "SamplingRule": {
                    "target": "com.amazonaws.xray#SamplingRule",
                    "traits": {
                        "smithy.api#documentation": "<p>The rule definition.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.xray#TagList",
                    "traits": {
                        "smithy.api#documentation": "<p>A map that contains one or more tag keys and tag values to attach to an X-Ray sampling\n         rule. For more information about ways to use tags, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS\n            resources</a> in the <i>AWS General Reference</i>.</p>\n         <p>The following restrictions apply to tags:</p>\n         <ul>\n            <li>\n               <p>Maximum number of user-applied tags per resource: 50</p>\n            </li>\n            <li>\n               <p>Maximum tag key length: 128 Unicode characters</p>\n            </li>\n            <li>\n               <p>Maximum tag value length: 256 Unicode characters</p>\n            </li>\n            <li>\n               <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :\n               / = + - and @</p>\n            </li>\n            <li>\n               <p>Tag keys and values are case sensitive.</p>\n            </li>\n            <li>\n               <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for AWS\n               use.</p>\n            </li>\n         </ul>"
                    }
                }
            }
        },
        "com.amazonaws.xray#CreateSamplingRuleResult": {
            "type": "structure",
            "members": {
                "SamplingRuleRecord": {
                    "target": "com.amazonaws.xray#SamplingRuleRecord",
                    "traits": {
                        "smithy.api#documentation": "<p>The saved rule definition and metadata.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#DeleteGroup": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#DeleteGroupRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#DeleteGroupResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes a group resource.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/DeleteGroup",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#DeleteGroupRequest": {
            "type": "structure",
            "members": {
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The case-sensitive name of the group.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the group that was generated on creation.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#DeleteGroupResult": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.xray#DeleteSamplingRule": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#DeleteSamplingRuleRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#DeleteSamplingRuleResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes a sampling rule.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/DeleteSamplingRule",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#DeleteSamplingRuleRequest": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>"
                    }
                },
                "RuleARN": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#DeleteSamplingRuleResult": {
            "type": "structure",
            "members": {
                "SamplingRuleRecord": {
                    "target": "com.amazonaws.xray#SamplingRuleRecord",
                    "traits": {
                        "smithy.api#documentation": "<p>The deleted rule definition and metadata.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#Double": {
            "type": "double"
        },
        "com.amazonaws.xray#EC2InstanceId": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 20
                }
            }
        },
        "com.amazonaws.xray#Edge": {
            "type": "structure",
            "members": {
                "ReferenceId": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier of the edge. Unique within a service map.</p>"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start time of the first segment on the edge.</p>"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end time of the last segment on the edge.</p>"
                    }
                },
                "SummaryStatistics": {
                    "target": "com.amazonaws.xray#EdgeStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>Response statistics for segments on the edge.</p>"
                    }
                },
                "ResponseTimeHistogram": {
                    "target": "com.amazonaws.xray#Histogram",
                    "traits": {
                        "smithy.api#documentation": "<p>A histogram that maps the spread of client response times on an edge.</p>"
                    }
                },
                "Aliases": {
                    "target": "com.amazonaws.xray#AliasList",
                    "traits": {
                        "smithy.api#documentation": "<p>Aliases for the edge.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about a connection between two services.</p>"
            }
        },
        "com.amazonaws.xray#EdgeList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#Edge"
            }
        },
        "com.amazonaws.xray#EdgeStatistics": {
            "type": "structure",
            "members": {
                "OkCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that completed with a 2xx Success status code.</p>"
                    }
                },
                "ErrorStatistics": {
                    "target": "com.amazonaws.xray#ErrorStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about requests that failed with a 4xx Client Error status code.</p>"
                    }
                },
                "FaultStatistics": {
                    "target": "com.amazonaws.xray#FaultStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about requests that failed with a 5xx Server Error status code.</p>"
                    }
                },
                "TotalCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The total number of completed requests.</p>"
                    }
                },
                "TotalResponseTime": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The aggregate response time of completed requests.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Response statistics for an edge.</p>"
            }
        },
        "com.amazonaws.xray#EncryptionConfig": {
            "type": "structure",
            "members": {
                "KeyId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the customer master key (CMK) used for encryption, if applicable.</p>"
                    }
                },
                "Status": {
                    "target": "com.amazonaws.xray#EncryptionStatus",
                    "traits": {
                        "smithy.api#documentation": "<p>The encryption status. While the status is <code>UPDATING</code>, X-Ray may encrypt data with a combination of the new and old settings.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#EncryptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of encryption. Set to <code>KMS</code> for encryption with CMKs. Set to <code>NONE</code> for\n      default encryption.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A configuration document that specifies encryption configuration settings.</p>"
            }
        },
        "com.amazonaws.xray#EncryptionKeyId": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 3000
                }
            }
        },
        "com.amazonaws.xray#EncryptionStatus": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "UPDATING",
                        "name": "UPDATING"
                    },
                    {
                        "value": "ACTIVE",
                        "name": "ACTIVE"
                    }
                ]
            }
        },
        "com.amazonaws.xray#EncryptionType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "NONE",
                        "name": "NONE"
                    },
                    {
                        "value": "KMS",
                        "name": "KMS"
                    }
                ]
            }
        },
        "com.amazonaws.xray#EntitySelectorExpression": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 500
                }
            }
        },
        "com.amazonaws.xray#ErrorMessage": {
            "type": "string"
        },
        "com.amazonaws.xray#ErrorRootCause": {
            "type": "structure",
            "members": {
                "Services": {
                    "target": "com.amazonaws.xray#ErrorRootCauseServices",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of services corresponding to an error. A service identifies a segment and it\n      contains a name, account ID, type, and inferred flag.</p>"
                    }
                },
                "ClientImpacting": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag that denotes that the root cause impacts the trace client.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The root cause of a trace summary error.</p>"
            }
        },
        "com.amazonaws.xray#ErrorRootCauseEntity": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the entity.</p>"
                    }
                },
                "Exceptions": {
                    "target": "com.amazonaws.xray#RootCauseExceptions",
                    "traits": {
                        "smithy.api#documentation": "<p>The types and messages of the exceptions.</p>"
                    }
                },
                "Remote": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag that denotes a remote subsegment.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of segments and corresponding subsegments associated to a trace summary\n      error.</p>"
            }
        },
        "com.amazonaws.xray#ErrorRootCauseEntityPath": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ErrorRootCauseEntity"
            }
        },
        "com.amazonaws.xray#ErrorRootCauseService": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The service name.</p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#ServiceNames",
                    "traits": {
                        "smithy.api#documentation": "<p>A collection of associated service names.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The type associated to the service.</p>"
                    }
                },
                "AccountId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The account ID associated to the service.</p>"
                    }
                },
                "EntityPath": {
                    "target": "com.amazonaws.xray#ErrorRootCauseEntityPath",
                    "traits": {
                        "smithy.api#documentation": "<p>The path of root cause entities found on the service. </p>"
                    }
                },
                "Inferred": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A Boolean value indicating if the service is inferred from the trace.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of fields identifying the services in a trace summary error.</p>"
            }
        },
        "com.amazonaws.xray#ErrorRootCauseServices": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ErrorRootCauseService"
            }
        },
        "com.amazonaws.xray#ErrorRootCauses": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ErrorRootCause"
            }
        },
        "com.amazonaws.xray#ErrorStatistics": {
            "type": "structure",
            "members": {
                "ThrottleCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that failed with a 419 throttling status code.</p>"
                    }
                },
                "OtherCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that failed with untracked 4xx Client Error status\n      codes.</p>"
                    }
                },
                "TotalCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The total number of requests that failed with a 4xx Client Error status code.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about requests that failed with a 4xx Client Error status code.</p>"
            }
        },
        "com.amazonaws.xray#EventSummaryText": {
            "type": "string"
        },
        "com.amazonaws.xray#FaultRootCause": {
            "type": "structure",
            "members": {
                "Services": {
                    "target": "com.amazonaws.xray#FaultRootCauseServices",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of corresponding services. A service identifies a segment and it contains a\n      name, account ID, type, and inferred flag.</p>"
                    }
                },
                "ClientImpacting": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag that denotes that the root cause impacts the trace client.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The root cause information for a trace summary fault.</p>"
            }
        },
        "com.amazonaws.xray#FaultRootCauseEntity": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the entity.</p>"
                    }
                },
                "Exceptions": {
                    "target": "com.amazonaws.xray#RootCauseExceptions",
                    "traits": {
                        "smithy.api#documentation": "<p>The types and messages of the exceptions.</p>"
                    }
                },
                "Remote": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag that denotes a remote subsegment.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of segments and corresponding subsegments associated to a trace summary\n      fault error.</p>"
            }
        },
        "com.amazonaws.xray#FaultRootCauseEntityPath": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#FaultRootCauseEntity"
            }
        },
        "com.amazonaws.xray#FaultRootCauseService": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The service name.</p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#ServiceNames",
                    "traits": {
                        "smithy.api#documentation": "<p>A collection of associated service names.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The type associated to the service.</p>"
                    }
                },
                "AccountId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The account ID associated to the service.</p>"
                    }
                },
                "EntityPath": {
                    "target": "com.amazonaws.xray#FaultRootCauseEntityPath",
                    "traits": {
                        "smithy.api#documentation": "<p>The path of root cause entities found on the service. </p>"
                    }
                },
                "Inferred": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A Boolean value indicating if the service is inferred from the trace.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of fields identifying the services in a trace summary fault.</p>"
            }
        },
        "com.amazonaws.xray#FaultRootCauseServices": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#FaultRootCauseService"
            }
        },
        "com.amazonaws.xray#FaultRootCauses": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#FaultRootCause"
            }
        },
        "com.amazonaws.xray#FaultStatistics": {
            "type": "structure",
            "members": {
                "OtherCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that failed with untracked 5xx Server Error status\n      codes.</p>"
                    }
                },
                "TotalCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The total number of requests that failed with a 5xx Server Error status code.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about requests that failed with a 5xx Server Error status code.</p>"
            }
        },
        "com.amazonaws.xray#FilterExpression": {
            "type": "string"
        },
        "com.amazonaws.xray#FixedRate": {
            "type": "double",
            "traits": {
                "smithy.api#range": {
                    "min": 0,
                    "max": 1
                }
            }
        },
        "com.amazonaws.xray#ForecastStatistics": {
            "type": "structure",
            "members": {
                "FaultCountHigh": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The upper limit of fault counts for a service.</p>"
                    }
                },
                "FaultCountLow": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The lower limit of fault counts for a service.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The predicted high and low fault count. This is used to determine if a service has\n         become anomalous and if an insight should be created.</p>"
            }
        },
        "com.amazonaws.xray#GetEncryptionConfig": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetEncryptionConfigRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetEncryptionConfigResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the current encryption configuration for X-Ray data.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/EncryptionConfig",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#GetEncryptionConfigRequest": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.xray#GetEncryptionConfigResult": {
            "type": "structure",
            "members": {
                "EncryptionConfig": {
                    "target": "com.amazonaws.xray#EncryptionConfig",
                    "traits": {
                        "smithy.api#documentation": "<p>The encryption configuration document.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetGroup": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetGroupRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetGroupResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves group resource details.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/GetGroup",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#GetGroupRequest": {
            "type": "structure",
            "members": {
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The case-sensitive name of the group.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the group that was generated on creation.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetGroupResult": {
            "type": "structure",
            "members": {
                "Group": {
                    "target": "com.amazonaws.xray#Group",
                    "traits": {
                        "smithy.api#documentation": "<p>The group that was requested. Contains the name of the group, the ARN of the group,\n            the filter expression, and the insight configuration assigned to the group.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetGroups": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetGroupsRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetGroupsResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves all active group details.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/Groups",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "Groups"
                }
            }
        },
        "com.amazonaws.xray#GetGroupsNextToken": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 100
                }
            }
        },
        "com.amazonaws.xray#GetGroupsRequest": {
            "type": "structure",
            "members": {
                "NextToken": {
                    "target": "com.amazonaws.xray#GetGroupsNextToken",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetGroupsResult": {
            "type": "structure",
            "members": {
                "Groups": {
                    "target": "com.amazonaws.xray#GroupSummaryList",
                    "traits": {
                        "smithy.api#documentation": "<p>The collection of all active groups.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsight": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetInsightRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetInsightResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the summary information of an insight. This includes impact to clients and\n         root cause services, the top anomalous services, the category, the state of the insight,\n         and the start and end time of the insight.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/Insight",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#GetInsightEvents": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetInsightEventsRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetInsightEventsResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>X-Ray reevaluates insights periodically until they're resolved, and records each intermediate state as an\n         event. You can review an insight's events in the Impact Timeline on the Inspect page in the X-Ray\n         console.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/InsightEvents",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "pageSize": "MaxResults"
                }
            }
        },
        "com.amazonaws.xray#GetInsightEventsMaxResults": {
            "type": "integer",
            "traits": {
                "smithy.api#box": {},
                "smithy.api#range": {
                    "min": 1,
                    "max": 50
                }
            }
        },
        "com.amazonaws.xray#GetInsightEventsRequest": {
            "type": "structure",
            "members": {
                "InsightId": {
                    "target": "com.amazonaws.xray#InsightId",
                    "traits": {
                        "smithy.api#documentation": "<p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p>",
                        "smithy.api#required": {}
                    }
                },
                "MaxResults": {
                    "target": "com.amazonaws.xray#GetInsightEventsMaxResults",
                    "traits": {
                        "smithy.api#documentation": "<p>Used to retrieve at most the specified value of events.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#Token",
                    "traits": {
                        "smithy.api#documentation": "<p>Specify the pagination token returned by a previous request to retrieve the next page of events. </p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightEventsResult": {
            "type": "structure",
            "members": {
                "InsightEvents": {
                    "target": "com.amazonaws.xray#InsightEventList",
                    "traits": {
                        "smithy.api#documentation": "<p>A detailed description of the event. This includes the time of the event, client and\n         root cause impact statistics, and the top anomalous service at the time of the\n         event.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#Token",
                    "traits": {
                        "smithy.api#documentation": "<p>Use this token to retrieve the next page of insight events.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightImpactGraph": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetInsightImpactGraphRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetInsightImpactGraphResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves a service graph structure filtered by the specified insight. The service graph is limited to only\n         structural information. For a complete service graph, use this API with the GetServiceGraph API.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/InsightImpactGraph",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#GetInsightImpactGraphRequest": {
            "type": "structure",
            "members": {
                "InsightId": {
                    "target": "com.amazonaws.xray#InsightId",
                    "traits": {
                        "smithy.api#documentation": "<p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p>",
                        "smithy.api#required": {}
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The estimated start time of the insight, in Unix time seconds. The StartTime is inclusive of the value\n         provided and can't be more than 30 days old.</p>",
                        "smithy.api#required": {}
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The estimated end time of the insight, in Unix time seconds. The EndTime is exclusive of the value provided.\n         The time range between the start time and end time can't be more than six hours. </p>",
                        "smithy.api#required": {}
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#Token",
                    "traits": {
                        "smithy.api#documentation": "<p>Specify the pagination token returned by a previous request to retrieve the next page of results. </p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightImpactGraphResult": {
            "type": "structure",
            "members": {
                "InsightId": {
                    "target": "com.amazonaws.xray#InsightId",
                    "traits": {
                        "smithy.api#documentation": "<p>The insight's unique identifier.</p>"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The provided start time.</p>"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The provided end time. </p>"
                    }
                },
                "ServiceGraphStartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the service graph started.</p>"
                    }
                },
                "ServiceGraphEndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the service graph ended.</p>"
                    }
                },
                "Services": {
                    "target": "com.amazonaws.xray#InsightImpactGraphServiceList",
                    "traits": {
                        "smithy.api#documentation": "<p>The AWS instrumented services related to the insight.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#Token",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightRequest": {
            "type": "structure",
            "members": {
                "InsightId": {
                    "target": "com.amazonaws.xray#InsightId",
                    "traits": {
                        "smithy.api#documentation": "<p>The insight's unique identifier. Use the GetInsightSummaries action to retrieve an InsightId.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightResult": {
            "type": "structure",
            "members": {
                "Insight": {
                    "target": "com.amazonaws.xray#Insight",
                    "traits": {
                        "smithy.api#documentation": "<p>The summary information of an insight.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightSummaries": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetInsightSummariesRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetInsightSummariesResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the summaries of all insights in the specified group matching the provided filter values.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/InsightSummaries",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "pageSize": "MaxResults"
                }
            }
        },
        "com.amazonaws.xray#GetInsightSummariesMaxResults": {
            "type": "integer",
            "traits": {
                "smithy.api#box": {},
                "smithy.api#range": {
                    "min": 1,
                    "max": 100
                }
            }
        },
        "com.amazonaws.xray#GetInsightSummariesRequest": {
            "type": "structure",
            "members": {
                "States": {
                    "target": "com.amazonaws.xray#InsightStateList",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of insight states. </p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the group. Required if the GroupName isn't provided.</p>"
                    }
                },
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the group. Required if the GroupARN isn't provided.</p>"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The beginning of the time frame in which the insights started. The start time can't be more than 30 days\n         old.</p>",
                        "smithy.api#required": {}
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end of the time frame in which the insights ended. The end time can't be more than 30 days old.</p>",
                        "smithy.api#required": {}
                    }
                },
                "MaxResults": {
                    "target": "com.amazonaws.xray#GetInsightSummariesMaxResults",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of results to display.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#Token",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetInsightSummariesResult": {
            "type": "structure",
            "members": {
                "InsightSummaries": {
                    "target": "com.amazonaws.xray#InsightSummaryList",
                    "traits": {
                        "smithy.api#documentation": "<p>The summary of each insight within the group matching the provided filters. The summary\n         contains the InsightID, start and end time, the root cause service, the root cause and\n         client impact statistics, the top anomalous services, and the status of the insight.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#Token",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetSamplingRules": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetSamplingRulesRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetSamplingRulesResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves all sampling rules.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/GetSamplingRules",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "SamplingRuleRecords"
                }
            }
        },
        "com.amazonaws.xray#GetSamplingRulesRequest": {
            "type": "structure",
            "members": {
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetSamplingRulesResult": {
            "type": "structure",
            "members": {
                "SamplingRuleRecords": {
                    "target": "com.amazonaws.xray#SamplingRuleRecordList",
                    "traits": {
                        "smithy.api#documentation": "<p>Rule definitions and metadata.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetSamplingStatisticSummaries": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetSamplingStatisticSummariesRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetSamplingStatisticSummariesResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves information about recent sampling results for all sampling rules.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/SamplingStatisticSummaries",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "SamplingStatisticSummaries"
                }
            }
        },
        "com.amazonaws.xray#GetSamplingStatisticSummariesRequest": {
            "type": "structure",
            "members": {
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetSamplingStatisticSummariesResult": {
            "type": "structure",
            "members": {
                "SamplingStatisticSummaries": {
                    "target": "com.amazonaws.xray#SamplingStatisticSummaryList",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about the number of requests instrumented for each sampling\n         rule.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetSamplingTargets": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetSamplingTargetsRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetSamplingTargetsResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Requests a sampling quota for rules that the service is using to sample requests.\n      </p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/SamplingTargets",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#GetSamplingTargetsRequest": {
            "type": "structure",
            "members": {
                "SamplingStatisticsDocuments": {
                    "target": "com.amazonaws.xray#SamplingStatisticsDocumentList",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about rules that the service is using to sample requests.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#GetSamplingTargetsResult": {
            "type": "structure",
            "members": {
                "SamplingTargetDocuments": {
                    "target": "com.amazonaws.xray#SamplingTargetDocumentList",
                    "traits": {
                        "smithy.api#documentation": "<p>Updated rules that the service should use to sample requests.</p>"
                    }
                },
                "LastRuleModification": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The last time a user changed the sampling rule configuration. If\n         the sampling rule configuration changed since the service last retrieved it, the service\n         should call <a>GetSamplingRules</a> to get the latest version.</p>"
                    }
                },
                "UnprocessedStatistics": {
                    "target": "com.amazonaws.xray#UnprocessedStatisticsList",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about <a>SamplingStatisticsDocument</a> that X-Ray could not\n         process.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetServiceGraph": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetServiceGraphRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetServiceGraphResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves a document that describes services that process incoming requests, and\n      downstream services that they call as a result. Root services process incoming requests and\n      make calls to downstream services. Root services are applications that use the <a href=\"https://docs.aws.amazon.com/xray/index.html\">AWS X-Ray SDK</a>.\n      Downstream services can be other applications, AWS resources, HTTP web APIs, or SQL\n      databases.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/ServiceGraph",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "Services"
                }
            }
        },
        "com.amazonaws.xray#GetServiceGraphRequest": {
            "type": "structure",
            "members": {
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start of the time frame for which to generate a graph.</p>",
                        "smithy.api#required": {}
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end of the timeframe for which to generate a graph.</p>",
                        "smithy.api#required": {}
                    }
                },
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of a group based on which you want to generate a graph.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of a group based on which you want to generate a graph.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetServiceGraphResult": {
            "type": "structure",
            "members": {
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start of the time frame for which the graph was generated.</p>"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end of the time frame for which the graph was generated.</p>"
                    }
                },
                "Services": {
                    "target": "com.amazonaws.xray#ServiceList",
                    "traits": {
                        "smithy.api#documentation": "<p>The services that have processed a traced request during the specified time\n      frame.</p>"
                    }
                },
                "ContainsOldGroupVersions": {
                    "target": "com.amazonaws.xray#Boolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag indicating whether the group's filter expression has been consistent, or\n      if the returned service graph may show traces from an older version of the group's filter\n      expression.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetTimeSeriesServiceStatistics": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetTimeSeriesServiceStatisticsRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetTimeSeriesServiceStatisticsResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Get an aggregation of service statistics defined by a specific time\n            range.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/TimeSeriesServiceStatistics",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "TimeSeriesServiceStatistics"
                }
            }
        },
        "com.amazonaws.xray#GetTimeSeriesServiceStatisticsRequest": {
            "type": "structure",
            "members": {
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start of the time frame for which to aggregate statistics.</p>",
                        "smithy.api#required": {}
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end of the time frame for which to aggregate statistics.</p>",
                        "smithy.api#required": {}
                    }
                },
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The case-sensitive name of the group for which to pull statistics from.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the group for which to pull statistics from.</p>"
                    }
                },
                "EntitySelectorExpression": {
                    "target": "com.amazonaws.xray#EntitySelectorExpression",
                    "traits": {
                        "smithy.api#documentation": "<p>A filter expression defining entities that will be aggregated for statistics.\n            Supports ID, service, and edge functions. If no selector expression is specified, edge\n            statistics are returned. </p>"
                    }
                },
                "Period": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>Aggregation period in seconds.</p>"
                    }
                },
                "ForecastStatistics": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>The forecasted high and low fault count values. Forecast enabled requests require the\n            EntitySelectorExpression ID be provided.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetTimeSeriesServiceStatisticsResult": {
            "type": "structure",
            "members": {
                "TimeSeriesServiceStatistics": {
                    "target": "com.amazonaws.xray#TimeSeriesServiceStatisticsList",
                    "traits": {
                        "smithy.api#documentation": "<p>The collection of statistics.</p>"
                    }
                },
                "ContainsOldGroupVersions": {
                    "target": "com.amazonaws.xray#Boolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag indicating whether or not a group's filter expression has been consistent, or if a returned\n            aggregation might show statistics from an older version of the group's filter expression.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetTraceGraph": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetTraceGraphRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetTraceGraphResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves a service graph for one or more specific trace IDs.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/TraceGraph",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "Services"
                }
            }
        },
        "com.amazonaws.xray#GetTraceGraphRequest": {
            "type": "structure",
            "members": {
                "TraceIds": {
                    "target": "com.amazonaws.xray#TraceIdList",
                    "traits": {
                        "smithy.api#documentation": "<p>Trace IDs of requests for which to generate a service graph.</p>",
                        "smithy.api#required": {}
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetTraceGraphResult": {
            "type": "structure",
            "members": {
                "Services": {
                    "target": "com.amazonaws.xray#ServiceList",
                    "traits": {
                        "smithy.api#documentation": "<p>The services that have processed one of the specified requests.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Pagination token.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetTraceSummaries": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#GetTraceSummariesRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#GetTraceSummariesResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves IDs and annotations for traces available for a specified time frame using an\n      optional filter. To get the full traces, pass the trace IDs to\n      <code>BatchGetTraces</code>.</p>\n         <p>A filter expression can target traced requests that hit specific service nodes or\n      edges, have errors, or come from a known user. For example, the following filter expression\n      targets traces that pass through <code>api.example.com</code>:</p>\n         <p>\n            <code>service(\"api.example.com\")</code>\n         </p>\n         <p>This filter expression finds traces that have an annotation named <code>account</code>\n      with the value <code>12345</code>:</p>\n         <p>\n            <code>annotation.account = \"12345\"</code>\n         </p>\n         <p>For a full list of indexed fields and keywords that you can use in filter expressions,\n      see <a href=\"https://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html\">Using Filter\n        Expressions</a> in the <i>AWS X-Ray Developer Guide</i>.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/TraceSummaries",
                    "code": 200
                },
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "items": "TraceSummaries"
                }
            }
        },
        "com.amazonaws.xray#GetTraceSummariesRequest": {
            "type": "structure",
            "members": {
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start of the time frame for which to retrieve traces.</p>",
                        "smithy.api#required": {}
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end of the time frame for which to retrieve traces.</p>",
                        "smithy.api#required": {}
                    }
                },
                "TimeRangeType": {
                    "target": "com.amazonaws.xray#TimeRangeType",
                    "traits": {
                        "smithy.api#documentation": "<p>A parameter to indicate whether to query trace summaries by TraceId or Event time.</p>"
                    }
                },
                "Sampling": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>Set to <code>true</code> to get summaries for only a subset of available\n      traces.</p>"
                    }
                },
                "SamplingStrategy": {
                    "target": "com.amazonaws.xray#SamplingStrategy",
                    "traits": {
                        "smithy.api#documentation": "<p>A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and\n            Value.</p>"
                    }
                },
                "FilterExpression": {
                    "target": "com.amazonaws.xray#FilterExpression",
                    "traits": {
                        "smithy.api#documentation": "<p>Specify a filter expression to retrieve trace summaries for services or requests that\n      meet certain requirements.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Specify the pagination token returned by a previous request to retrieve the next page\n      of results.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#GetTraceSummariesResult": {
            "type": "structure",
            "members": {
                "TraceSummaries": {
                    "target": "com.amazonaws.xray#TraceSummaryList",
                    "traits": {
                        "smithy.api#documentation": "<p>Trace IDs and annotations for traces that were found in the specified time\n      frame.</p>"
                    }
                },
                "ApproximateTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start time of this page of results.</p>"
                    }
                },
                "TracesProcessedCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The total number of traces processed, including traces that did not match the specified\n      filter expression.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>If the requested time frame contained more than one page of results, you can use this token to retrieve the\n      next page. The first page contains the most recent results, closest to the end of the time frame.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#Group": {
            "type": "structure",
            "members": {
                "GroupName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique case-sensitive name of the group.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the group generated based on the GroupName.</p>"
                    }
                },
                "FilterExpression": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The filter expression defining the parameters to include traces.</p>"
                    }
                },
                "InsightsConfiguration": {
                    "target": "com.amazonaws.xray#InsightsConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The structure containing configurations related to insights.</p>\n        <ul>\n            <li>\n                <p>The InsightsEnabled boolean can be set to true to enable insights for the\n                    group or false to disable insights for the group.</p>\n            </li>\n            <li>\n                <p>The NotifcationsEnabled  boolean can be set to true to enable insights\n                    notifications through Amazon EventBridge for the group.</p>\n            </li>\n         </ul>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Details and metadata for a group.</p>"
            }
        },
        "com.amazonaws.xray#GroupARN": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 400
                }
            }
        },
        "com.amazonaws.xray#GroupName": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 32
                }
            }
        },
        "com.amazonaws.xray#GroupSummary": {
            "type": "structure",
            "members": {
                "GroupName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique case-sensitive name of the group.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the group generated based on the GroupName.</p>"
                    }
                },
                "FilterExpression": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The filter expression defining the parameters to include traces.</p>"
                    }
                },
                "InsightsConfiguration": {
                    "target": "com.amazonaws.xray#InsightsConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The structure containing configurations related to insights.</p>\n        <ul>\n            <li>\n                <p>The InsightsEnabled boolean can be set to true to enable insights for the\n                    group or false to disable insights for the group.</p>\n            </li>\n            <li>\n                <p>The NotificationsEnabled boolean can be set to true to enable insights notifications.\n                    Notifications can only be enabled on a group with InsightsEnabled set to true.</p>\n            </li>\n         </ul>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Details for a group without metadata.</p>"
            }
        },
        "com.amazonaws.xray#GroupSummaryList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#GroupSummary"
            }
        },
        "com.amazonaws.xray#HTTPMethod": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 10
                }
            }
        },
        "com.amazonaws.xray#Histogram": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#HistogramEntry"
            }
        },
        "com.amazonaws.xray#HistogramEntry": {
            "type": "structure",
            "members": {
                "Value": {
                    "target": "com.amazonaws.xray#Double",
                    "traits": {
                        "smithy.api#documentation": "<p>The value of the entry.</p>"
                    }
                },
                "Count": {
                    "target": "com.amazonaws.xray#Integer",
                    "traits": {
                        "smithy.api#documentation": "<p>The prevalence of the entry.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>An entry in a histogram for a statistic. A histogram maps the range of observed values\n      on the X axis, and the prevalence of each value on the Y axis.</p>"
            }
        },
        "com.amazonaws.xray#Host": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 64
                }
            }
        },
        "com.amazonaws.xray#Hostname": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 255
                }
            }
        },
        "com.amazonaws.xray#Http": {
            "type": "structure",
            "members": {
                "HttpURL": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The request URL.</p>"
                    }
                },
                "HttpStatus": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>The response status.</p>"
                    }
                },
                "HttpMethod": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The request method.</p>"
                    }
                },
                "UserAgent": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The request's user agent string.</p>"
                    }
                },
                "ClientIp": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The IP address of the requestor.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about an HTTP request.</p>"
            }
        },
        "com.amazonaws.xray#Insight": {
            "type": "structure",
            "members": {
                "InsightId": {
                    "target": "com.amazonaws.xray#InsightId",
                    "traits": {
                        "smithy.api#documentation": "<p>The insights unique identifier. </p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the group that the insight belongs to.</p>"
                    }
                },
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the group  that the insight belongs to.</p>"
                    }
                },
                "RootCauseServiceId": {
                    "target": "com.amazonaws.xray#ServiceId"
                },
                "Categories": {
                    "target": "com.amazonaws.xray#InsightCategoryList",
                    "traits": {
                        "smithy.api#documentation": "<p>The categories that label and describe the type of insight.</p>"
                    }
                },
                "State": {
                    "target": "com.amazonaws.xray#InsightState",
                    "traits": {
                        "smithy.api#documentation": "<p>The current state of the insight.</p>"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the insight began.</p>"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the insight ended.</p>"
                    }
                },
                "Summary": {
                    "target": "com.amazonaws.xray#InsightSummaryText",
                    "traits": {
                        "smithy.api#documentation": "<p>A brief description of the insight.</p>"
                    }
                },
                "ClientRequestImpactStatistics": {
                    "target": "com.amazonaws.xray#RequestImpactStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The impact statistics of the client side service. This includes the number of requests to the client service\n         and whether the requests were faults or okay.</p>"
                    }
                },
                "RootCauseServiceRequestImpactStatistics": {
                    "target": "com.amazonaws.xray#RequestImpactStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The impact statistics of the root cause service. This includes the number of requests to the client service\n         and whether the requests were faults or okay.</p>"
                    }
                },
                "TopAnomalousServices": {
                    "target": "com.amazonaws.xray#AnomalousServiceList",
                    "traits": {
                        "smithy.api#documentation": "<p>The service within the insight that is most impacted by the incident.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>When fault rates go outside of the expected range, X-Ray creates an insight. Insights\n         tracks emergent issues within your applications.</p>"
            }
        },
        "com.amazonaws.xray#InsightCategory": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "FAULT",
                        "name": "FAULT"
                    }
                ]
            }
        },
        "com.amazonaws.xray#InsightCategoryList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InsightCategory"
            }
        },
        "com.amazonaws.xray#InsightEvent": {
            "type": "structure",
            "members": {
                "Summary": {
                    "target": "com.amazonaws.xray#EventSummaryText",
                    "traits": {
                        "smithy.api#documentation": "<p>A brief description of the event.</p>"
                    }
                },
                "EventTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the event was recorded.</p>"
                    }
                },
                "ClientRequestImpactStatistics": {
                    "target": "com.amazonaws.xray#RequestImpactStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The impact statistics of the client side service. This includes the number of requests to the client service\n         and whether the requests were faults or okay.</p>"
                    }
                },
                "RootCauseServiceRequestImpactStatistics": {
                    "target": "com.amazonaws.xray#RequestImpactStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The impact statistics of the root cause service. This includes the number of requests to the client service\n         and whether the requests were faults or okay.</p>"
                    }
                },
                "TopAnomalousServices": {
                    "target": "com.amazonaws.xray#AnomalousServiceList",
                    "traits": {
                        "smithy.api#documentation": "<p>The service during the event that is most impacted by the incident.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an\n         event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.</p>"
            }
        },
        "com.amazonaws.xray#InsightEventList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InsightEvent"
            }
        },
        "com.amazonaws.xray#InsightId": {
            "type": "string",
            "traits": {
                "smithy.api#pattern": "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}"
            }
        },
        "com.amazonaws.xray#InsightImpactGraphEdge": {
            "type": "structure",
            "members": {
                "ReferenceId": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier of the edge. Unique within a service map.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The connection between two service in an insight impact graph.</p>"
            }
        },
        "com.amazonaws.xray#InsightImpactGraphEdgeList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InsightImpactGraphEdge"
            }
        },
        "com.amazonaws.xray#InsightImpactGraphService": {
            "type": "structure",
            "members": {
                "ReferenceId": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier for the service. Unique within the service map.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier for the service. Unique within the service map.</p>\n         <ul>\n            <li>\n               <p>AWS Resource - The type of an AWS resource. For example, AWS::EC2::Instance for an application running\n               on Amazon EC2 or AWS::DynamoDB::Table for an Amazon DynamoDB table that the application used. </p>\n            </li>\n            <li>\n               <p>AWS Service - The type of an AWS service. For example, AWS::DynamoDB for downstream calls to Amazon\n               DynamoDB that didn't target a specific table. </p>\n            </li>\n            <li>\n               <p>AWS Service - The type of an AWS service. For example, AWS::DynamoDB for downstream calls to Amazon\n               DynamoDB that didn't target a specific table. </p>\n            </li>\n            <li>\n               <p>remote - A downstream service of indeterminate type.</p>\n            </li>\n         </ul>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The canonical name of the service.</p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#ServiceNames",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of names for the service, including the canonical name.</p>"
                    }
                },
                "AccountId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier of the AWS account in which the service runs.</p>"
                    }
                },
                "Edges": {
                    "target": "com.amazonaws.xray#InsightImpactGraphEdgeList",
                    "traits": {
                        "smithy.api#documentation": "<p>Connections to downstream services.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about an application that processed requests, users that made requests, or downstream services,\n         resources, and applications that an application used. </p>"
            }
        },
        "com.amazonaws.xray#InsightImpactGraphServiceList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InsightImpactGraphService"
            }
        },
        "com.amazonaws.xray#InsightState": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "ACTIVE",
                        "name": "ACTIVE"
                    },
                    {
                        "value": "CLOSED",
                        "name": "CLOSED"
                    }
                ]
            }
        },
        "com.amazonaws.xray#InsightStateList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InsightState"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 1
                }
            }
        },
        "com.amazonaws.xray#InsightSummary": {
            "type": "structure",
            "members": {
                "InsightId": {
                    "target": "com.amazonaws.xray#InsightId",
                    "traits": {
                        "smithy.api#documentation": "<p>The insights unique identifier. </p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the group that the insight belongs to.</p>"
                    }
                },
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the group  that the insight belongs to.</p>"
                    }
                },
                "RootCauseServiceId": {
                    "target": "com.amazonaws.xray#ServiceId"
                },
                "Categories": {
                    "target": "com.amazonaws.xray#InsightCategoryList",
                    "traits": {
                        "smithy.api#documentation": "<p> Categories The categories that label and describe the type of insight.</p>"
                    }
                },
                "State": {
                    "target": "com.amazonaws.xray#InsightState",
                    "traits": {
                        "smithy.api#documentation": "<p>The current state of the insight.</p>"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the insight began.</p>"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, at which the insight ended.</p>"
                    }
                },
                "Summary": {
                    "target": "com.amazonaws.xray#InsightSummaryText",
                    "traits": {
                        "smithy.api#documentation": "<p>A brief description of the insight.</p>"
                    }
                },
                "ClientRequestImpactStatistics": {
                    "target": "com.amazonaws.xray#RequestImpactStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The impact statistics of the client side service. This includes the number of requests\n         to the client service and whether the requests were faults or okay. </p>"
                    }
                },
                "RootCauseServiceRequestImpactStatistics": {
                    "target": "com.amazonaws.xray#RequestImpactStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The impact statistics of the root cause service. This includes the number of requests to\n         the client service and whether the requests were faults or okay. </p>"
                    }
                },
                "TopAnomalousServices": {
                    "target": "com.amazonaws.xray#AnomalousServiceList",
                    "traits": {
                        "smithy.api#documentation": "<p>The service within the insight that is most impacted by the incident.</p>"
                    }
                },
                "LastUpdateTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The time, in Unix seconds, that the insight was last updated.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information that describes an insight.</p>"
            }
        },
        "com.amazonaws.xray#InsightSummaryList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InsightSummary"
            }
        },
        "com.amazonaws.xray#InsightSummaryText": {
            "type": "string"
        },
        "com.amazonaws.xray#InsightsConfiguration": {
            "type": "structure",
            "members": {
                "InsightsEnabled": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>Set the InsightsEnabled value to true to enable insights or false to disable\n            insights.</p>"
                    }
                },
                "NotificationsEnabled": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be\n            enabled on a group with InsightsEnabled set to true.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The structure containing configurations related to insights.</p>"
            }
        },
        "com.amazonaws.xray#InstanceIdDetail": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of a corresponding EC2 instance.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A list of EC2 instance IDs corresponding to the segments in a trace. </p>"
            }
        },
        "com.amazonaws.xray#Integer": {
            "type": "integer"
        },
        "com.amazonaws.xray#InvalidRequestException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.xray#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The request is missing required parameters or has invalid parameters.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.xray#ListTagsForResource": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#ListTagsForResourceRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#ListTagsForResourceResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ResourceNotFoundException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Returns a list of tags that are applied to the specified AWS X-Ray group or sampling rule.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/ListTagsForResource",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#ListTagsForResourceRequest": {
            "type": "structure",
            "members": {
                "ResourceARN": {
                    "target": "com.amazonaws.xray#AmazonResourceName",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>",
                        "smithy.api#required": {}
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>A pagination token. If multiple pages of results are returned, use the <code>NextToken</code> value returned with \n    the current page of results as the value of this parameter to get the next page of results.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#ListTagsForResourceResponse": {
            "type": "structure",
            "members": {
                "Tags": {
                    "target": "com.amazonaws.xray#TagList",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of tags, as key and value pairs, that is associated with the specified X-Ray group or sampling rule.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>A pagination token. If multiple pages of results are returned, use the <code>NextToken</code> value returned with \n      the current page of results to get the next page of results.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#NullableBoolean": {
            "type": "boolean",
            "traits": {
                "smithy.api#box": {}
            }
        },
        "com.amazonaws.xray#NullableDouble": {
            "type": "double",
            "traits": {
                "smithy.api#box": {}
            }
        },
        "com.amazonaws.xray#NullableInteger": {
            "type": "integer",
            "traits": {
                "smithy.api#box": {}
            }
        },
        "com.amazonaws.xray#NullableLong": {
            "type": "long",
            "traits": {
                "smithy.api#box": {}
            }
        },
        "com.amazonaws.xray#Priority": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 1,
                    "max": 9999
                }
            }
        },
        "com.amazonaws.xray#PutEncryptionConfig": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#PutEncryptionConfigRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#PutEncryptionConfigResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Updates the encryption configuration for X-Ray data.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/PutEncryptionConfig",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#PutEncryptionConfigRequest": {
            "type": "structure",
            "members": {
                "KeyId": {
                    "target": "com.amazonaws.xray#EncryptionKeyId",
                    "traits": {
                        "smithy.api#documentation": "<p>An AWS KMS customer master key (CMK) in one of the following formats:</p>\n         <ul>\n            <li>\n               <p>\n                  <b>Alias</b> - The name of the key. For example,\n            <code>alias/MyKey</code>.</p>\n            </li>\n            <li>\n               <p>\n                  <b>Key ID</b> - The KMS key ID of the key. For example,\n          <code>ae4aa6d49-a4d8-9df9-a475-4ff6d7898456</code>. AWS X-Ray does not support asymmetric CMKs.</p>\n            </li>\n            <li>\n               <p>\n                  <b>ARN</b> - The full Amazon Resource Name of the key ID or alias.\n          For example,\n            <code>arn:aws:kms:us-east-2:123456789012:key/ae4aa6d49-a4d8-9df9-a475-4ff6d7898456</code>.\n          Use this format to specify a key in a different account.</p>\n            </li>\n         </ul>\n         <p>Omit this key if you set <code>Type</code> to <code>NONE</code>.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#EncryptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of encryption. Set to <code>KMS</code> to use your own key for encryption. Set\n      to <code>NONE</code> for default encryption.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#PutEncryptionConfigResult": {
            "type": "structure",
            "members": {
                "EncryptionConfig": {
                    "target": "com.amazonaws.xray#EncryptionConfig",
                    "traits": {
                        "smithy.api#documentation": "<p>The new encryption configuration.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#PutTelemetryRecords": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#PutTelemetryRecordsRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#PutTelemetryRecordsResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Used by the AWS X-Ray daemon to upload telemetry.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/TelemetryRecords",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#PutTelemetryRecordsRequest": {
            "type": "structure",
            "members": {
                "TelemetryRecords": {
                    "target": "com.amazonaws.xray#TelemetryRecordList",
                    "traits": {
                        "smithy.api#documentation": "<p></p>",
                        "smithy.api#required": {}
                    }
                },
                "EC2InstanceId": {
                    "target": "com.amazonaws.xray#EC2InstanceId",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "Hostname": {
                    "target": "com.amazonaws.xray#Hostname",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "ResourceARN": {
                    "target": "com.amazonaws.xray#ResourceARN",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#PutTelemetryRecordsResult": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.xray#PutTraceSegments": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#PutTraceSegmentsRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#PutTraceSegmentsResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Uploads segment documents to AWS X-Ray. The <a href=\"https://docs.aws.amazon.com/xray/index.html\">X-Ray SDK</a> generates segment documents and sends them to the X-Ray daemon, which uploads them in\n      batches. A segment document can be a completed segment, an in-progress segment, or an array of\n      subsegments.</p>\n         <p>Segments must include the following fields. For the full segment document schema, see\n        <a href=\"https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html\">AWS X-Ray\n        Segment Documents</a> in the <i>AWS X-Ray Developer Guide</i>.</p>\n         <p class=\"title\">\n            <b>Required segment document fields</b>\n         </p>\n         <ul>\n            <li>\n               <p>\n                  <code>name</code> - The name of the service that handled the request.</p>\n            </li>\n            <li>\n               <p>\n                  <code>id</code> - A 64-bit identifier for the segment, unique among segments in the same trace, in 16\n          hexadecimal digits.</p>\n            </li>\n            <li>\n               <p>\n                  <code>trace_id</code> - A unique identifier that connects all segments and subsegments originating from\n          a single client request.</p>\n            </li>\n            <li>\n               <p>\n                  <code>start_time</code> - Time the segment or subsegment was created, in floating point seconds in\n          epoch time, accurate to milliseconds. For example, <code>1480615200.010</code> or\n            <code>1.480615200010E9</code>.</p>\n            </li>\n            <li>\n               <p>\n                  <code>end_time</code> - Time the segment or subsegment was closed. For example,\n            <code>1480615200.090</code> or <code>1.480615200090E9</code>. Specify either an <code>end_time</code> or\n            <code>in_progress</code>.</p>\n            </li>\n            <li>\n               <p>\n                  <code>in_progress</code> - Set to <code>true</code> instead of specifying an <code>end_time</code> to\n          record that a segment has been started, but is not complete. Send an in-progress segment when your application\n          receives a request that will take a long time to serve, to trace that the request was received. When the\n          response is sent, send the complete segment to overwrite the in-progress segment.</p>\n            </li>\n         </ul>\n         <p>A <code>trace_id</code> consists of three numbers separated by hyphens. For example,\n      1-58406520-a006649127e371903a2de979. This includes:</p>\n         <p class=\"title\">\n            <b>Trace ID Format</b>\n         </p>\n         <ul>\n            <li>\n               <p>The version number, for instance, <code>1</code>.</p>\n            </li>\n            <li>\n               <p>The time of the original request, in Unix epoch time, in 8 hexadecimal digits. For\n          example, 10:00AM December 2nd, 2016 PST in epoch time is <code>1480615200</code> seconds,\n          or <code>58406520</code> in hexadecimal.</p>\n            </li>\n            <li>\n               <p>A 96-bit identifier for the trace, globally unique, in 24 hexadecimal\n          digits.</p>\n            </li>\n         </ul>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/TraceSegments",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#PutTraceSegmentsRequest": {
            "type": "structure",
            "members": {
                "TraceSegmentDocuments": {
                    "target": "com.amazonaws.xray#TraceSegmentDocumentList",
                    "traits": {
                        "smithy.api#documentation": "<p>A string containing a JSON document defining one or more segments or\n      subsegments.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#PutTraceSegmentsResult": {
            "type": "structure",
            "members": {
                "UnprocessedTraceSegments": {
                    "target": "com.amazonaws.xray#UnprocessedTraceSegmentList",
                    "traits": {
                        "smithy.api#documentation": "<p>Segments that failed processing.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#RequestCount": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 0
                }
            }
        },
        "com.amazonaws.xray#RequestImpactStatistics": {
            "type": "structure",
            "members": {
                "FaultCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that have resulted in a fault,</p>"
                    }
                },
                "OkCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of successful requests.</p>"
                    }
                },
                "TotalCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The total number of requests to the service.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Statistics that describe how the incident has impacted a service.</p>"
            }
        },
        "com.amazonaws.xray#ReservoirSize": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 0
                }
            }
        },
        "com.amazonaws.xray#ResourceARN": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 500
                }
            }
        },
        "com.amazonaws.xray#ResourceARNDetail": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of a corresponding resource.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A list of resources ARNs corresponding to the segments in a trace.</p>"
            }
        },
        "com.amazonaws.xray#ResourceNotFoundException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.xray#ErrorMessage"
                },
                "ResourceName": {
                    "target": "com.amazonaws.xray#AmazonResourceName"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is\n      correct.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 404
            }
        },
        "com.amazonaws.xray#ResponseTimeRootCause": {
            "type": "structure",
            "members": {
                "Services": {
                    "target": "com.amazonaws.xray#ResponseTimeRootCauseServices",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of corresponding services. A service identifies a segment and contains a name,\n      account ID, type, and inferred flag.</p>"
                    }
                },
                "ClientImpacting": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag that denotes that the root cause impacts the trace client.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The root cause information for a response time warning.</p>"
            }
        },
        "com.amazonaws.xray#ResponseTimeRootCauseEntity": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the entity.</p>"
                    }
                },
                "Coverage": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The type and messages of the exceptions.</p>"
                    }
                },
                "Remote": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A flag that denotes a remote subsegment.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of segments and corresponding subsegments associated to a response time\n      warning.</p>"
            }
        },
        "com.amazonaws.xray#ResponseTimeRootCauseEntityPath": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ResponseTimeRootCauseEntity"
            }
        },
        "com.amazonaws.xray#ResponseTimeRootCauseService": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The service name.</p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#ServiceNames",
                    "traits": {
                        "smithy.api#documentation": "<p>A collection of associated service names.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The type associated to the service.</p>"
                    }
                },
                "AccountId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The account ID associated to the service.</p>"
                    }
                },
                "EntityPath": {
                    "target": "com.amazonaws.xray#ResponseTimeRootCauseEntityPath",
                    "traits": {
                        "smithy.api#documentation": "<p>The path of root cause entities found on the service. </p>"
                    }
                },
                "Inferred": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>A Boolean value indicating if the service is inferred from the trace.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of fields identifying the service in a response time warning.</p>"
            }
        },
        "com.amazonaws.xray#ResponseTimeRootCauseServices": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ResponseTimeRootCauseService"
            }
        },
        "com.amazonaws.xray#ResponseTimeRootCauses": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ResponseTimeRootCause"
            }
        },
        "com.amazonaws.xray#RootCauseException": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the exception.</p>"
                    }
                },
                "Message": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The message of the exception.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The exception associated with a root cause.</p>"
            }
        },
        "com.amazonaws.xray#RootCauseExceptions": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#RootCauseException"
            }
        },
        "com.amazonaws.xray#RuleLimitExceededException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.xray#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>You have reached the maximum number of sampling rules.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.xray#RuleName": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 32
                }
            }
        },
        "com.amazonaws.xray#SampledCount": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 0
                }
            }
        },
        "com.amazonaws.xray#SamplingRule": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#RuleName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>"
                    }
                },
                "RuleARN": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>"
                    }
                },
                "ResourceARN": {
                    "target": "com.amazonaws.xray#ResourceARN",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the ARN of the AWS resource on which the service runs.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Priority": {
                    "target": "com.amazonaws.xray#Priority",
                    "traits": {
                        "smithy.api#documentation": "<p>The priority of the sampling rule.</p>",
                        "smithy.api#required": {}
                    }
                },
                "FixedRate": {
                    "target": "com.amazonaws.xray#FixedRate",
                    "traits": {
                        "smithy.api#documentation": "<p>The percentage of matching requests to instrument, after the reservoir is\n      exhausted.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ReservoirSize": {
                    "target": "com.amazonaws.xray#ReservoirSize",
                    "traits": {
                        "smithy.api#documentation": "<p>A fixed number of matching requests to instrument per second, prior to applying the\n      fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ServiceName": {
                    "target": "com.amazonaws.xray#ServiceName",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the <code>name</code> that the service uses to identify itself in segments.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ServiceType": {
                    "target": "com.amazonaws.xray#ServiceType",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the <code>origin</code> that the service uses to identify its type in segments.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Host": {
                    "target": "com.amazonaws.xray#Host",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the hostname from a request URL.</p>",
                        "smithy.api#required": {}
                    }
                },
                "HTTPMethod": {
                    "target": "com.amazonaws.xray#HTTPMethod",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the HTTP method of a request.</p>",
                        "smithy.api#required": {}
                    }
                },
                "URLPath": {
                    "target": "com.amazonaws.xray#URLPath",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the path from a request URL.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Version": {
                    "target": "com.amazonaws.xray#Version",
                    "traits": {
                        "smithy.api#documentation": "<p>The version of the sampling rule format (<code>1</code>).</p>",
                        "smithy.api#required": {}
                    }
                },
                "Attributes": {
                    "target": "com.amazonaws.xray#AttributeMap",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches attributes derived from the request.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A sampling rule that services use to decide whether to instrument a request. Rule\n      fields can match properties of the service, or properties of a request. The service can ignore\n      rules that don't match its properties.</p>"
            }
        },
        "com.amazonaws.xray#SamplingRuleRecord": {
            "type": "structure",
            "members": {
                "SamplingRule": {
                    "target": "com.amazonaws.xray#SamplingRule",
                    "traits": {
                        "smithy.api#documentation": "<p>The sampling rule.</p>"
                    }
                },
                "CreatedAt": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>When the rule was created.</p>"
                    }
                },
                "ModifiedAt": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>When the rule was last modified.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A <a>SamplingRule</a> and its metadata.</p>"
            }
        },
        "com.amazonaws.xray#SamplingRuleRecordList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#SamplingRuleRecord"
            }
        },
        "com.amazonaws.xray#SamplingRuleUpdate": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#RuleName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule. Specify a rule by either name or ARN, but not both.</p>"
                    }
                },
                "RuleARN": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the sampling rule. Specify a rule by either name or ARN, but not both.</p>"
                    }
                },
                "ResourceARN": {
                    "target": "com.amazonaws.xray#ResourceARN",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the ARN of the AWS resource on which the service runs.</p>"
                    }
                },
                "Priority": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>The priority of the sampling rule.</p>"
                    }
                },
                "FixedRate": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The percentage of matching requests to instrument, after the reservoir is\n      exhausted.</p>"
                    }
                },
                "ReservoirSize": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>A fixed number of matching requests to instrument per second, prior to applying the\n      fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.</p>"
                    }
                },
                "Host": {
                    "target": "com.amazonaws.xray#Host",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the hostname from a request URL.</p>"
                    }
                },
                "ServiceName": {
                    "target": "com.amazonaws.xray#ServiceName",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the <code>name</code> that the service uses to identify itself in segments.</p>"
                    }
                },
                "ServiceType": {
                    "target": "com.amazonaws.xray#ServiceType",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the <code>origin</code> that the service uses to identify its type in segments.</p>"
                    }
                },
                "HTTPMethod": {
                    "target": "com.amazonaws.xray#HTTPMethod",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the HTTP method of a request.</p>"
                    }
                },
                "URLPath": {
                    "target": "com.amazonaws.xray#URLPath",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches the path from a request URL.</p>"
                    }
                },
                "Attributes": {
                    "target": "com.amazonaws.xray#AttributeMap",
                    "traits": {
                        "smithy.api#documentation": "<p>Matches attributes derived from the request.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A document specifying changes to a sampling rule's configuration.</p>"
            }
        },
        "com.amazonaws.xray#SamplingStatisticSummary": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule.</p>"
                    }
                },
                "Timestamp": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start time of the reporting window.</p>"
                    }
                },
                "RequestCount": {
                    "target": "com.amazonaws.xray#Integer",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that matched the rule.</p>"
                    }
                },
                "BorrowCount": {
                    "target": "com.amazonaws.xray#Integer",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests recorded with borrowed reservoir quota.</p>"
                    }
                },
                "SampledCount": {
                    "target": "com.amazonaws.xray#Integer",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests recorded.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Aggregated request sampling data for a sampling rule across all services for a 10-second window.</p>"
            }
        },
        "com.amazonaws.xray#SamplingStatisticSummaryList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#SamplingStatisticSummary"
            }
        },
        "com.amazonaws.xray#SamplingStatisticsDocument": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#RuleName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ClientID": {
                    "target": "com.amazonaws.xray#ClientID",
                    "traits": {
                        "smithy.api#documentation": "<p>A unique identifier for the service in hexadecimal.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Timestamp": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The current time.</p>",
                        "smithy.api#required": {}
                    }
                },
                "RequestCount": {
                    "target": "com.amazonaws.xray#RequestCount",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that matched the rule.</p>",
                        "smithy.api#required": {}
                    }
                },
                "SampledCount": {
                    "target": "com.amazonaws.xray#SampledCount",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests recorded.</p>",
                        "smithy.api#required": {}
                    }
                },
                "BorrowCount": {
                    "target": "com.amazonaws.xray#BorrowCount",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests recorded with borrowed reservoir quota.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Request sampling results for a single rule from a service. Results are for the last 10\n      seconds unless the service has been assigned a longer reporting interval after a previous call\n      to <a>GetSamplingTargets</a>.</p>"
            }
        },
        "com.amazonaws.xray#SamplingStatisticsDocumentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#SamplingStatisticsDocument"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 25
                }
            }
        },
        "com.amazonaws.xray#SamplingStrategy": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#SamplingStrategyName",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of a sampling rule.</p>"
                    }
                },
                "Value": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The value of a sampling rule.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The name and value of a sampling rule to apply to a trace summary.</p>"
            }
        },
        "com.amazonaws.xray#SamplingStrategyName": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "PartialScan",
                        "name": "PartialScan"
                    },
                    {
                        "value": "FixedRate",
                        "name": "FixedRate"
                    }
                ]
            }
        },
        "com.amazonaws.xray#SamplingTargetDocument": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule.</p>"
                    }
                },
                "FixedRate": {
                    "target": "com.amazonaws.xray#Double",
                    "traits": {
                        "smithy.api#documentation": "<p>The percentage of matching requests to instrument, after the reservoir is\n      exhausted.</p>"
                    }
                },
                "ReservoirQuota": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests per second that X-Ray allocated for this service.</p>"
                    }
                },
                "ReservoirQuotaTTL": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>When the reservoir quota expires.</p>"
                    }
                },
                "Interval": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of seconds for the service to wait before getting sampling targets\n      again.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Temporary changes to a sampling rule configuration. To meet the global sampling target for a rule, X-Ray\n      calculates a new reservoir for each service based on the recent sampling results of all services that called <a>GetSamplingTargets</a>.</p>"
            }
        },
        "com.amazonaws.xray#SamplingTargetDocumentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#SamplingTargetDocument"
            }
        },
        "com.amazonaws.xray#Segment": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.xray#SegmentId",
                    "traits": {
                        "smithy.api#documentation": "<p>The segment's ID.</p>"
                    }
                },
                "Document": {
                    "target": "com.amazonaws.xray#SegmentDocument",
                    "traits": {
                        "smithy.api#documentation": "<p>The segment document.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A segment from a trace that has been ingested by the X-Ray service. The segment can be\n      compiled from documents uploaded with <a>PutTraceSegments</a>, or an\n        <code>inferred</code> segment for a downstream service, generated from a subsegment sent by\n      the service that called it.</p>\n         <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\n        Documents</a> in the <i>AWS X-Ray Developer Guide</i>.</p>"
            }
        },
        "com.amazonaws.xray#SegmentDocument": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1
                }
            }
        },
        "com.amazonaws.xray#SegmentId": {
            "type": "string"
        },
        "com.amazonaws.xray#SegmentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#Segment"
            }
        },
        "com.amazonaws.xray#Service": {
            "type": "structure",
            "members": {
                "ReferenceId": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier for the service. Unique within the service map.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The canonical name of the service.</p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#ServiceNames",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of names for the service, including the canonical name.</p>"
                    }
                },
                "Root": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>Indicates that the service was the first service to process a request.</p>"
                    }
                },
                "AccountId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>Identifier of the AWS account in which the service runs.</p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The type of service.</p>\n         <ul>\n            <li>\n               <p>AWS Resource - The type of an AWS resource. For example, <code>AWS::EC2::Instance</code> for an\n          application running on Amazon EC2 or <code>AWS::DynamoDB::Table</code> for an Amazon DynamoDB table that the\n          application used.</p>\n            </li>\n            <li>\n               <p>AWS Service - The type of an AWS service. For example, <code>AWS::DynamoDB</code>\n          for downstream calls to Amazon DynamoDB that didn't target a specific table.</p>\n            </li>\n            <li>\n               <p>\n                  <code>client</code> - Represents the clients that sent requests to a root\n          service.</p>\n            </li>\n            <li>\n               <p>\n                  <code>remote</code> - A downstream service of indeterminate type.</p>\n            </li>\n         </ul>"
                    }
                },
                "State": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The service's state.</p>"
                    }
                },
                "StartTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The start time of the first segment that the service generated.</p>"
                    }
                },
                "EndTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The end time of the last segment that the service generated.</p>"
                    }
                },
                "Edges": {
                    "target": "com.amazonaws.xray#EdgeList",
                    "traits": {
                        "smithy.api#documentation": "<p>Connections to downstream services.</p>"
                    }
                },
                "SummaryStatistics": {
                    "target": "com.amazonaws.xray#ServiceStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>Aggregated statistics for the service.</p>"
                    }
                },
                "DurationHistogram": {
                    "target": "com.amazonaws.xray#Histogram",
                    "traits": {
                        "smithy.api#documentation": "<p>A histogram that maps the spread of service durations.</p>"
                    }
                },
                "ResponseTimeHistogram": {
                    "target": "com.amazonaws.xray#Histogram",
                    "traits": {
                        "smithy.api#documentation": "<p>A histogram that maps the spread of service response times.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about an application that processed requests, users that made requests, or downstream services,\n      resources, and applications that an application used.</p>"
            }
        },
        "com.amazonaws.xray#ServiceId": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "Names": {
                    "target": "com.amazonaws.xray#ServiceNames",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "AccountId": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "Type": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p></p>"
            }
        },
        "com.amazonaws.xray#ServiceIds": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ServiceId"
            }
        },
        "com.amazonaws.xray#ServiceList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#Service"
            }
        },
        "com.amazonaws.xray#ServiceName": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 64
                }
            }
        },
        "com.amazonaws.xray#ServiceNames": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#String"
            }
        },
        "com.amazonaws.xray#ServiceStatistics": {
            "type": "structure",
            "members": {
                "OkCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The number of requests that completed with a 2xx Success status code.</p>"
                    }
                },
                "ErrorStatistics": {
                    "target": "com.amazonaws.xray#ErrorStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about requests that failed with a 4xx Client Error status code.</p>"
                    }
                },
                "FaultStatistics": {
                    "target": "com.amazonaws.xray#FaultStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about requests that failed with a 5xx Server Error status code.</p>"
                    }
                },
                "TotalCount": {
                    "target": "com.amazonaws.xray#NullableLong",
                    "traits": {
                        "smithy.api#documentation": "<p>The total number of completed requests.</p>"
                    }
                },
                "TotalResponseTime": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The aggregate response time of completed requests.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Response statistics for a service.</p>"
            }
        },
        "com.amazonaws.xray#ServiceType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 64
                }
            }
        },
        "com.amazonaws.xray#String": {
            "type": "string"
        },
        "com.amazonaws.xray#Tag": {
            "type": "structure",
            "members": {
                "Key": {
                    "target": "com.amazonaws.xray#TagKey",
                    "traits": {
                        "smithy.api#documentation": "<p>A tag key, such as <code>Stage</code> or <code>Name</code>. A tag key cannot be empty. The \n      key can be a maximum of 128 characters, and can contain only Unicode letters, numbers, or separators, \n      or the following special characters: <code>+ - = . _ : /</code>\n         </p>",
                        "smithy.api#required": {}
                    }
                },
                "Value": {
                    "target": "com.amazonaws.xray#TagValue",
                    "traits": {
                        "smithy.api#documentation": "<p>An optional tag value, such as <code>Production</code> or <code>test-only</code>. The value can be \n      a maximum of 255 characters, and contain only Unicode letters, numbers, or separators, or the following \n      special characters: <code>+ - = . _ : /</code>\n         </p>",
                        "smithy.api#required": {}
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A map that contains tag keys and tag values to attach to an AWS X-Ray group or sampling\n      rule. For more information about ways to use tags, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS resources</a>\n      in the <i>AWS General Reference</i>.</p>\n         <p>The following restrictions apply to tags:</p>\n         <ul>\n            <li>\n               <p>Maximum number of user-applied tags per resource: 50</p>\n            </li>\n            <li>\n               <p>Tag keys and values are case sensitive.</p>\n            </li>\n            <li>\n               <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for AWS use. You\n          cannot edit or delete system tags.</p>\n            </li>\n         </ul>"
            }
        },
        "com.amazonaws.xray#TagKey": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                }
            }
        },
        "com.amazonaws.xray#TagKeyList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TagKey"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 200
                }
            }
        },
        "com.amazonaws.xray#TagList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#Tag"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 200
                }
            }
        },
        "com.amazonaws.xray#TagResource": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#TagResourceRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#TagResourceResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ResourceNotFoundException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                },
                {
                    "target": "com.amazonaws.xray#TooManyTagsException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Applies tags to an existing AWS X-Ray group or sampling rule.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/TagResource",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#TagResourceRequest": {
            "type": "structure",
            "members": {
                "ResourceARN": {
                    "target": "com.amazonaws.xray#AmazonResourceName",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.xray#TagList",
                    "traits": {
                        "smithy.api#documentation": "<p>A map that contains one or more tag keys and tag values to attach to an X-Ray group or\n      sampling rule. For more information about ways to use tags, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS resources</a>\n      in the <i>AWS General Reference</i>.</p>\n         <p>The following restrictions apply to tags:</p>\n         <ul>\n            <li>\n               <p>Maximum number of user-applied tags per resource: 50</p>\n            </li>\n            <li>\n               <p>Maximum tag key length: 128 Unicode characters</p>\n            </li>\n            <li>\n               <p>Maximum tag value length: 256 Unicode characters</p>\n            </li>\n            <li>\n               <p>Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . :\n          / = + - and @</p>\n            </li>\n            <li>\n               <p>Tag keys and values are case sensitive.</p>\n            </li>\n            <li>\n               <p>Don't use <code>aws:</code> as a prefix for keys; it's reserved for AWS use. You\n          cannot edit or delete system tags.</p>\n            </li>\n         </ul>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#TagResourceResponse": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.xray#TagValue": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 256
                }
            }
        },
        "com.amazonaws.xray#TelemetryRecord": {
            "type": "structure",
            "members": {
                "Timestamp": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p></p>",
                        "smithy.api#required": {}
                    }
                },
                "SegmentsReceivedCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "SegmentsSentCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "SegmentsSpilloverCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "SegmentsRejectedCount": {
                    "target": "com.amazonaws.xray#NullableInteger",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                },
                "BackendConnectionErrors": {
                    "target": "com.amazonaws.xray#BackendConnectionErrors",
                    "traits": {
                        "smithy.api#documentation": "<p></p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p></p>"
            }
        },
        "com.amazonaws.xray#TelemetryRecordList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TelemetryRecord"
            }
        },
        "com.amazonaws.xray#ThrottledException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.xray#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The request exceeds the maximum number of requests per second.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 429
            }
        },
        "com.amazonaws.xray#TimeRangeType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "TraceId",
                        "name": "TraceId"
                    },
                    {
                        "value": "Event",
                        "name": "Event"
                    }
                ]
            }
        },
        "com.amazonaws.xray#TimeSeriesServiceStatistics": {
            "type": "structure",
            "members": {
                "Timestamp": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>Timestamp of the window for which statistics are aggregated.</p>"
                    }
                },
                "EdgeSummaryStatistics": {
                    "target": "com.amazonaws.xray#EdgeStatistics"
                },
                "ServiceSummaryStatistics": {
                    "target": "com.amazonaws.xray#ServiceStatistics"
                },
                "ServiceForecastStatistics": {
                    "target": "com.amazonaws.xray#ForecastStatistics",
                    "traits": {
                        "smithy.api#documentation": "<p>The forecasted high and low fault count values.</p>"
                    }
                },
                "ResponseTimeHistogram": {
                    "target": "com.amazonaws.xray#Histogram",
                    "traits": {
                        "smithy.api#documentation": "<p>The response time histogram for the selected entities.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A list of TimeSeriesStatistic structures.</p>"
            }
        },
        "com.amazonaws.xray#TimeSeriesServiceStatisticsList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TimeSeriesServiceStatistics"
            }
        },
        "com.amazonaws.xray#Timestamp": {
            "type": "timestamp"
        },
        "com.amazonaws.xray#Token": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 2000
                }
            }
        },
        "com.amazonaws.xray#TooManyTagsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.xray#ErrorMessage"
                },
                "ResourceName": {
                    "target": "com.amazonaws.xray#AmazonResourceName"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>You have exceeded the maximum number of tags you can apply to this resource.</p>",
                "smithy.api#error": "client",
                "smithy.api#httpError": 400
            }
        },
        "com.amazonaws.xray#Trace": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.xray#TraceId",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier for the request that generated the trace's segments and\n      subsegments.</p>"
                    }
                },
                "Duration": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The length of time in seconds between the start time of the root segment and the end\n      time of the last segment that completed.</p>"
                    }
                },
                "LimitExceeded": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>LimitExceeded is set to true when the trace has exceeded one of the defined quotas. For\n      more information about quotas, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/xray.html\">AWS X-Ray endpoints and quotas</a>.</p>"
                    }
                },
                "Segments": {
                    "target": "com.amazonaws.xray#SegmentList",
                    "traits": {
                        "smithy.api#documentation": "<p>Segment documents for the segments and subsegments that comprise the trace.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A collection of segment documents with matching trace IDs.</p>"
            }
        },
        "com.amazonaws.xray#TraceAvailabilityZones": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#AvailabilityZoneDetail"
            }
        },
        "com.amazonaws.xray#TraceId": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 35
                }
            }
        },
        "com.amazonaws.xray#TraceIdList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TraceId"
            }
        },
        "com.amazonaws.xray#TraceInstanceIds": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#InstanceIdDetail"
            }
        },
        "com.amazonaws.xray#TraceList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#Trace"
            }
        },
        "com.amazonaws.xray#TraceResourceARNs": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ResourceARNDetail"
            }
        },
        "com.amazonaws.xray#TraceSegmentDocument": {
            "type": "string"
        },
        "com.amazonaws.xray#TraceSegmentDocumentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TraceSegmentDocument"
            }
        },
        "com.amazonaws.xray#TraceSummary": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.xray#TraceId",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier for the request that generated the trace's segments and\n      subsegments.</p>"
                    }
                },
                "Duration": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The length of time in seconds between the start time of the root segment and the end\n      time of the last segment that completed.</p>"
                    }
                },
                "ResponseTime": {
                    "target": "com.amazonaws.xray#NullableDouble",
                    "traits": {
                        "smithy.api#documentation": "<p>The length of time in seconds between the start and end times of the root segment. If\n      the service performs work asynchronously, the response time measures the time before the\n      response is sent to the user, while the duration measures the amount of time before the last\n      traced activity completes.</p>"
                    }
                },
                "HasFault": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>The root segment document has a 500 series error.</p>"
                    }
                },
                "HasError": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>The root segment document has a 400 series error.</p>"
                    }
                },
                "HasThrottle": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>One or more of the segment documents has a 429 throttling error.</p>"
                    }
                },
                "IsPartial": {
                    "target": "com.amazonaws.xray#NullableBoolean",
                    "traits": {
                        "smithy.api#documentation": "<p>One or more of the segment documents is in progress.</p>"
                    }
                },
                "Http": {
                    "target": "com.amazonaws.xray#Http",
                    "traits": {
                        "smithy.api#documentation": "<p>Information about the HTTP request served by the trace.</p>"
                    }
                },
                "Annotations": {
                    "target": "com.amazonaws.xray#Annotations",
                    "traits": {
                        "smithy.api#documentation": "<p>Annotations from the trace's segment documents.</p>"
                    }
                },
                "Users": {
                    "target": "com.amazonaws.xray#TraceUsers",
                    "traits": {
                        "smithy.api#documentation": "<p>Users from the trace's segment documents.</p>"
                    }
                },
                "ServiceIds": {
                    "target": "com.amazonaws.xray#ServiceIds",
                    "traits": {
                        "smithy.api#documentation": "<p>Service IDs from the trace's segment documents.</p>"
                    }
                },
                "ResourceARNs": {
                    "target": "com.amazonaws.xray#TraceResourceARNs",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of resource ARNs for any resource corresponding to the trace segments.</p>"
                    }
                },
                "InstanceIds": {
                    "target": "com.amazonaws.xray#TraceInstanceIds",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of EC2 instance IDs for any instance corresponding to the trace\n      segments.</p>"
                    }
                },
                "AvailabilityZones": {
                    "target": "com.amazonaws.xray#TraceAvailabilityZones",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of Availability Zones for any zone corresponding to the trace segments.</p>"
                    }
                },
                "EntryPoint": {
                    "target": "com.amazonaws.xray#ServiceId",
                    "traits": {
                        "smithy.api#documentation": "<p>The root of a trace.</p>"
                    }
                },
                "FaultRootCauses": {
                    "target": "com.amazonaws.xray#FaultRootCauses",
                    "traits": {
                        "smithy.api#documentation": "<p>A collection of FaultRootCause structures corresponding to the trace segments.</p>"
                    }
                },
                "ErrorRootCauses": {
                    "target": "com.amazonaws.xray#ErrorRootCauses",
                    "traits": {
                        "smithy.api#documentation": "<p>A collection of ErrorRootCause structures corresponding to the trace\n      segments.</p>"
                    }
                },
                "ResponseTimeRootCauses": {
                    "target": "com.amazonaws.xray#ResponseTimeRootCauses",
                    "traits": {
                        "smithy.api#documentation": "<p>A collection of ResponseTimeRootCause structures corresponding to the trace\n      segments.</p>"
                    }
                },
                "Revision": {
                    "target": "com.amazonaws.xray#Integer",
                    "traits": {
                        "smithy.api#documentation": "<p>The revision number of a trace.</p>"
                    }
                },
                "MatchedEventTime": {
                    "target": "com.amazonaws.xray#Timestamp",
                    "traits": {
                        "smithy.api#documentation": "<p>The matched time stamp of a defined event.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Metadata generated from the segment documents in a trace.</p>"
            }
        },
        "com.amazonaws.xray#TraceSummaryList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TraceSummary"
            }
        },
        "com.amazonaws.xray#TraceUser": {
            "type": "structure",
            "members": {
                "UserName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The user's name.</p>"
                    }
                },
                "ServiceIds": {
                    "target": "com.amazonaws.xray#ServiceIds",
                    "traits": {
                        "smithy.api#documentation": "<p>Services that the user's request hit.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about a user recorded in segment documents.</p>"
            }
        },
        "com.amazonaws.xray#TraceUsers": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TraceUser"
            }
        },
        "com.amazonaws.xray#URLPath": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 128
                }
            }
        },
        "com.amazonaws.xray#UnprocessedStatistics": {
            "type": "structure",
            "members": {
                "RuleName": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the sampling rule.</p>"
                    }
                },
                "ErrorCode": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The error code.</p>"
                    }
                },
                "Message": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The error message.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Sampling statistics from a call to <a>GetSamplingTargets</a> that X-Ray\n      could not process.</p>"
            }
        },
        "com.amazonaws.xray#UnprocessedStatisticsList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#UnprocessedStatistics"
            }
        },
        "com.amazonaws.xray#UnprocessedTraceIdList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#TraceId"
            }
        },
        "com.amazonaws.xray#UnprocessedTraceSegment": {
            "type": "structure",
            "members": {
                "Id": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The segment's ID.</p>"
                    }
                },
                "ErrorCode": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The error that caused processing to fail.</p>"
                    }
                },
                "Message": {
                    "target": "com.amazonaws.xray#String",
                    "traits": {
                        "smithy.api#documentation": "<p>The error message.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about a segment that failed processing.</p>"
            }
        },
        "com.amazonaws.xray#UnprocessedTraceSegmentList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#UnprocessedTraceSegment"
            }
        },
        "com.amazonaws.xray#UntagResource": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#UntagResourceRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#UntagResourceResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ResourceNotFoundException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Removes tags from an AWS X-Ray group or sampling rule. You cannot edit or delete system\n      tags (those with an <code>aws:</code> prefix).</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/UntagResource",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#UntagResourceRequest": {
            "type": "structure",
            "members": {
                "ResourceARN": {
                    "target": "com.amazonaws.xray#AmazonResourceName",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.</p>",
                        "smithy.api#required": {}
                    }
                },
                "TagKeys": {
                    "target": "com.amazonaws.xray#TagKeyList",
                    "traits": {
                        "smithy.api#documentation": "<p>Keys for one or more tags that you want to remove from an X-Ray group or sampling rule.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#UntagResourceResponse": {
            "type": "structure",
            "members": {}
        },
        "com.amazonaws.xray#UpdateGroup": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#UpdateGroupRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#UpdateGroupResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Updates a group resource.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/UpdateGroup",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#UpdateGroupRequest": {
            "type": "structure",
            "members": {
                "GroupName": {
                    "target": "com.amazonaws.xray#GroupName",
                    "traits": {
                        "smithy.api#documentation": "<p>The case-sensitive name of the group.</p>"
                    }
                },
                "GroupARN": {
                    "target": "com.amazonaws.xray#GroupARN",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN that was generated upon creation.</p>"
                    }
                },
                "FilterExpression": {
                    "target": "com.amazonaws.xray#FilterExpression",
                    "traits": {
                        "smithy.api#documentation": "<p>The updated filter expression defining criteria by which to group traces.</p>"
                    }
                },
                "InsightsConfiguration": {
                    "target": "com.amazonaws.xray#InsightsConfiguration",
                    "traits": {
                        "smithy.api#documentation": "<p>The structure containing configurations related to insights.</p>\n        <ul>\n            <li>\n                <p>The InsightsEnabled boolean can be set to true to enable insights for the\n                    group or false to disable insights for the group.</p>\n            </li>\n            <li>\n                <p>The NotifcationsEnabled boolean can be set to true to enable insights notifications for the group.\n                    Notifications can only be enabled on a group with InsightsEnabled set to true.</p>\n            </li>\n         </ul>"
                    }
                }
            }
        },
        "com.amazonaws.xray#UpdateGroupResult": {
            "type": "structure",
            "members": {
                "Group": {
                    "target": "com.amazonaws.xray#Group",
                    "traits": {
                        "smithy.api#documentation": "<p>The group that was updated. Contains the name of the group that was updated, the\n            ARN of the group that was updated, the updated filter expression, and the updated insight\n            configuration assigned to the group.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#UpdateSamplingRule": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.xray#UpdateSamplingRuleRequest"
            },
            "output": {
                "target": "com.amazonaws.xray#UpdateSamplingRuleResult"
            },
            "errors": [
                {
                    "target": "com.amazonaws.xray#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.xray#ThrottledException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Modifies a sampling rule's configuration.</p>",
                "smithy.api#http": {
                    "method": "POST",
                    "uri": "/UpdateSamplingRule",
                    "code": 200
                }
            }
        },
        "com.amazonaws.xray#UpdateSamplingRuleRequest": {
            "type": "structure",
            "members": {
                "SamplingRuleUpdate": {
                    "target": "com.amazonaws.xray#SamplingRuleUpdate",
                    "traits": {
                        "smithy.api#documentation": "<p>The rule and fields to change.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.xray#UpdateSamplingRuleResult": {
            "type": "structure",
            "members": {
                "SamplingRuleRecord": {
                    "target": "com.amazonaws.xray#SamplingRuleRecord",
                    "traits": {
                        "smithy.api#documentation": "<p>The updated rule definition and metadata.</p>"
                    }
                }
            }
        },
        "com.amazonaws.xray#ValueWithServiceIds": {
            "type": "structure",
            "members": {
                "AnnotationValue": {
                    "target": "com.amazonaws.xray#AnnotationValue",
                    "traits": {
                        "smithy.api#documentation": "<p>Values of the annotation.</p>"
                    }
                },
                "ServiceIds": {
                    "target": "com.amazonaws.xray#ServiceIds",
                    "traits": {
                        "smithy.api#documentation": "<p>Services to which the annotation applies.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Information about a segment annotation.</p>"
            }
        },
        "com.amazonaws.xray#ValuesWithServiceIds": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.xray#ValueWithServiceIds"
            }
        },
        "com.amazonaws.xray#Version": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 1
                }
            }
        }
    }
}
