File Explorer

/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-xray/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js27.9 KB · 779 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var XRayServiceException = require('./models/XRayServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "xray",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class XRayClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultXRayHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class BatchGetTracesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "BatchGetTraces", {})    .n("XRayClient", "BatchGetTracesCommand")    .sc(schemas_0.BatchGetTraces$)    .build() {} class CancelTraceRetrievalCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "CancelTraceRetrieval", {})    .n("XRayClient", "CancelTraceRetrievalCommand")    .sc(schemas_0.CancelTraceRetrieval$)    .build() {} class CreateGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "CreateGroup", {})    .n("XRayClient", "CreateGroupCommand")    .sc(schemas_0.CreateGroup$)    .build() {} class CreateSamplingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "CreateSamplingRule", {})    .n("XRayClient", "CreateSamplingRuleCommand")    .sc(schemas_0.CreateSamplingRule$)    .build() {} class DeleteGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "DeleteGroup", {})    .n("XRayClient", "DeleteGroupCommand")    .sc(schemas_0.DeleteGroup$)    .build() {} class DeleteResourcePolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "DeleteResourcePolicy", {})    .n("XRayClient", "DeleteResourcePolicyCommand")    .sc(schemas_0.DeleteResourcePolicy$)    .build() {} class DeleteSamplingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "DeleteSamplingRule", {})    .n("XRayClient", "DeleteSamplingRuleCommand")    .sc(schemas_0.DeleteSamplingRule$)    .build() {} class GetEncryptionConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetEncryptionConfig", {})    .n("XRayClient", "GetEncryptionConfigCommand")    .sc(schemas_0.GetEncryptionConfig$)    .build() {} class GetGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetGroup", {})    .n("XRayClient", "GetGroupCommand")    .sc(schemas_0.GetGroup$)    .build() {} class GetGroupsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetGroups", {})    .n("XRayClient", "GetGroupsCommand")    .sc(schemas_0.GetGroups$)    .build() {} class GetIndexingRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetIndexingRules", {})    .n("XRayClient", "GetIndexingRulesCommand")    .sc(schemas_0.GetIndexingRules$)    .build() {} class GetInsightCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetInsight", {})    .n("XRayClient", "GetInsightCommand")    .sc(schemas_0.GetInsight$)    .build() {} class GetInsightEventsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetInsightEvents", {})    .n("XRayClient", "GetInsightEventsCommand")    .sc(schemas_0.GetInsightEvents$)    .build() {} class GetInsightImpactGraphCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetInsightImpactGraph", {})    .n("XRayClient", "GetInsightImpactGraphCommand")    .sc(schemas_0.GetInsightImpactGraph$)    .build() {} class GetInsightSummariesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetInsightSummaries", {})    .n("XRayClient", "GetInsightSummariesCommand")    .sc(schemas_0.GetInsightSummaries$)    .build() {} class GetRetrievedTracesGraphCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetRetrievedTracesGraph", {})    .n("XRayClient", "GetRetrievedTracesGraphCommand")    .sc(schemas_0.GetRetrievedTracesGraph$)    .build() {} class GetSamplingRulesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetSamplingRules", {})    .n("XRayClient", "GetSamplingRulesCommand")    .sc(schemas_0.GetSamplingRules$)    .build() {} class GetSamplingStatisticSummariesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetSamplingStatisticSummaries", {})    .n("XRayClient", "GetSamplingStatisticSummariesCommand")    .sc(schemas_0.GetSamplingStatisticSummaries$)    .build() {} class GetSamplingTargetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetSamplingTargets", {})    .n("XRayClient", "GetSamplingTargetsCommand")    .sc(schemas_0.GetSamplingTargets$)    .build() {} class GetServiceGraphCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetServiceGraph", {})    .n("XRayClient", "GetServiceGraphCommand")    .sc(schemas_0.GetServiceGraph$)    .build() {} class GetTimeSeriesServiceStatisticsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetTimeSeriesServiceStatistics", {})    .n("XRayClient", "GetTimeSeriesServiceStatisticsCommand")    .sc(schemas_0.GetTimeSeriesServiceStatistics$)    .build() {} class GetTraceGraphCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetTraceGraph", {})    .n("XRayClient", "GetTraceGraphCommand")    .sc(schemas_0.GetTraceGraph$)    .build() {} class GetTraceSegmentDestinationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetTraceSegmentDestination", {})    .n("XRayClient", "GetTraceSegmentDestinationCommand")    .sc(schemas_0.GetTraceSegmentDestination$)    .build() {} class GetTraceSummariesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "GetTraceSummaries", {})    .n("XRayClient", "GetTraceSummariesCommand")    .sc(schemas_0.GetTraceSummaries$)    .build() {} class ListResourcePoliciesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "ListResourcePolicies", {})    .n("XRayClient", "ListResourcePoliciesCommand")    .sc(schemas_0.ListResourcePolicies$)    .build() {} class ListRetrievedTracesCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "ListRetrievedTraces", {})    .n("XRayClient", "ListRetrievedTracesCommand")    .sc(schemas_0.ListRetrievedTraces$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "ListTagsForResource", {})    .n("XRayClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class PutEncryptionConfigCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "PutEncryptionConfig", {})    .n("XRayClient", "PutEncryptionConfigCommand")    .sc(schemas_0.PutEncryptionConfig$)    .build() {} class PutResourcePolicyCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "PutResourcePolicy", {})    .n("XRayClient", "PutResourcePolicyCommand")    .sc(schemas_0.PutResourcePolicy$)    .build() {} class PutTelemetryRecordsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "PutTelemetryRecords", {})    .n("XRayClient", "PutTelemetryRecordsCommand")    .sc(schemas_0.PutTelemetryRecords$)    .build() {} class PutTraceSegmentsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "PutTraceSegments", {})    .n("XRayClient", "PutTraceSegmentsCommand")    .sc(schemas_0.PutTraceSegments$)    .build() {} class StartTraceRetrievalCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "StartTraceRetrieval", {})    .n("XRayClient", "StartTraceRetrievalCommand")    .sc(schemas_0.StartTraceRetrieval$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "TagResource", {})    .n("XRayClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "UntagResource", {})    .n("XRayClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateGroupCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "UpdateGroup", {})    .n("XRayClient", "UpdateGroupCommand")    .sc(schemas_0.UpdateGroup$)    .build() {} class UpdateIndexingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "UpdateIndexingRule", {})    .n("XRayClient", "UpdateIndexingRuleCommand")    .sc(schemas_0.UpdateIndexingRule$)    .build() {} class UpdateSamplingRuleCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "UpdateSamplingRule", {})    .n("XRayClient", "UpdateSamplingRuleCommand")    .sc(schemas_0.UpdateSamplingRule$)    .build() {} class UpdateTraceSegmentDestinationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("AWSXRay", "UpdateTraceSegmentDestination", {})    .n("XRayClient", "UpdateTraceSegmentDestinationCommand")    .sc(schemas_0.UpdateTraceSegmentDestination$)    .build() {} const paginateBatchGetTraces = core.createPaginator(XRayClient, BatchGetTracesCommand, "NextToken", "NextToken", ""); const paginateGetGroups = core.createPaginator(XRayClient, GetGroupsCommand, "NextToken", "NextToken", ""); const paginateGetInsightEvents = core.createPaginator(XRayClient, GetInsightEventsCommand, "NextToken", "NextToken", "MaxResults"); const paginateGetInsightSummaries = core.createPaginator(XRayClient, GetInsightSummariesCommand, "NextToken", "NextToken", "MaxResults"); const paginateGetSamplingRules = core.createPaginator(XRayClient, GetSamplingRulesCommand, "NextToken", "NextToken", ""); const paginateGetSamplingStatisticSummaries = core.createPaginator(XRayClient, GetSamplingStatisticSummariesCommand, "NextToken", "NextToken", ""); const paginateGetServiceGraph = core.createPaginator(XRayClient, GetServiceGraphCommand, "NextToken", "NextToken", ""); const paginateGetTimeSeriesServiceStatistics = core.createPaginator(XRayClient, GetTimeSeriesServiceStatisticsCommand, "NextToken", "NextToken", ""); const paginateGetTraceGraph = core.createPaginator(XRayClient, GetTraceGraphCommand, "NextToken", "NextToken", ""); const paginateGetTraceSummaries = core.createPaginator(XRayClient, GetTraceSummariesCommand, "NextToken", "NextToken", ""); const paginateListResourcePolicies = core.createPaginator(XRayClient, ListResourcePoliciesCommand, "NextToken", "NextToken", ""); const paginateListTagsForResource = core.createPaginator(XRayClient, ListTagsForResourceCommand, "NextToken", "NextToken", ""); const commands = {    BatchGetTracesCommand,    CancelTraceRetrievalCommand,    CreateGroupCommand,    CreateSamplingRuleCommand,    DeleteGroupCommand,    DeleteResourcePolicyCommand,    DeleteSamplingRuleCommand,    GetEncryptionConfigCommand,    GetGroupCommand,    GetGroupsCommand,    GetIndexingRulesCommand,    GetInsightCommand,    GetInsightEventsCommand,    GetInsightImpactGraphCommand,    GetInsightSummariesCommand,    GetRetrievedTracesGraphCommand,    GetSamplingRulesCommand,    GetSamplingStatisticSummariesCommand,    GetSamplingTargetsCommand,    GetServiceGraphCommand,    GetTimeSeriesServiceStatisticsCommand,    GetTraceGraphCommand,    GetTraceSegmentDestinationCommand,    GetTraceSummariesCommand,    ListResourcePoliciesCommand,    ListRetrievedTracesCommand,    ListTagsForResourceCommand,    PutEncryptionConfigCommand,    PutResourcePolicyCommand,    PutTelemetryRecordsCommand,    PutTraceSegmentsCommand,    StartTraceRetrievalCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateGroupCommand,    UpdateIndexingRuleCommand,    UpdateSamplingRuleCommand,    UpdateTraceSegmentDestinationCommand,};const paginators = {    paginateBatchGetTraces,    paginateGetGroups,    paginateGetInsightEvents,    paginateGetInsightSummaries,    paginateGetSamplingRules,    paginateGetSamplingStatisticSummaries,    paginateGetServiceGraph,    paginateGetTimeSeriesServiceStatistics,    paginateGetTraceGraph,    paginateGetTraceSummaries,    paginateListResourcePolicies,    paginateListTagsForResource,};class XRay extends XRayClient {}client.createAggregatedClient(commands, XRay, { paginators }); const EncryptionStatus = {    ACTIVE: "ACTIVE",    UPDATING: "UPDATING",};const EncryptionType = {    KMS: "KMS",    NONE: "NONE",};const InsightCategory = {    FAULT: "FAULT",};const InsightState = {    ACTIVE: "ACTIVE",    CLOSED: "CLOSED",};const RetrievalStatus = {    CANCELLED: "CANCELLED",    COMPLETE: "COMPLETE",    FAILED: "FAILED",    RUNNING: "RUNNING",    SCHEDULED: "SCHEDULED",    TIMEOUT: "TIMEOUT",};const TraceSegmentDestination = {    CloudWatchLogs: "CloudWatchLogs",    XRay: "XRay",};const TraceSegmentDestinationStatus = {    ACTIVE: "ACTIVE",    PENDING: "PENDING",};const SamplingStrategyName = {    FixedRate: "FixedRate",    PartialScan: "PartialScan",};const TimeRangeType = {    Event: "Event",    Service: "Service",    TraceId: "TraceId",};const TraceFormatType = {    OTEL: "OTEL",    XRAY: "XRAY",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.XRayServiceException = XRayServiceException.XRayServiceException;exports.BatchGetTracesCommand = BatchGetTracesCommand;exports.CancelTraceRetrievalCommand = CancelTraceRetrievalCommand;exports.CreateGroupCommand = CreateGroupCommand;exports.CreateSamplingRuleCommand = CreateSamplingRuleCommand;exports.DeleteGroupCommand = DeleteGroupCommand;exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;exports.DeleteSamplingRuleCommand = DeleteSamplingRuleCommand;exports.EncryptionStatus = EncryptionStatus;exports.EncryptionType = EncryptionType;exports.GetEncryptionConfigCommand = GetEncryptionConfigCommand;exports.GetGroupCommand = GetGroupCommand;exports.GetGroupsCommand = GetGroupsCommand;exports.GetIndexingRulesCommand = GetIndexingRulesCommand;exports.GetInsightCommand = GetInsightCommand;exports.GetInsightEventsCommand = GetInsightEventsCommand;exports.GetInsightImpactGraphCommand = GetInsightImpactGraphCommand;exports.GetInsightSummariesCommand = GetInsightSummariesCommand;exports.GetRetrievedTracesGraphCommand = GetRetrievedTracesGraphCommand;exports.GetSamplingRulesCommand = GetSamplingRulesCommand;exports.GetSamplingStatisticSummariesCommand = GetSamplingStatisticSummariesCommand;exports.GetSamplingTargetsCommand = GetSamplingTargetsCommand;exports.GetServiceGraphCommand = GetServiceGraphCommand;exports.GetTimeSeriesServiceStatisticsCommand = GetTimeSeriesServiceStatisticsCommand;exports.GetTraceGraphCommand = GetTraceGraphCommand;exports.GetTraceSegmentDestinationCommand = GetTraceSegmentDestinationCommand;exports.GetTraceSummariesCommand = GetTraceSummariesCommand;exports.InsightCategory = InsightCategory;exports.InsightState = InsightState;exports.ListResourcePoliciesCommand = ListResourcePoliciesCommand;exports.ListRetrievedTracesCommand = ListRetrievedTracesCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.PutEncryptionConfigCommand = PutEncryptionConfigCommand;exports.PutResourcePolicyCommand = PutResourcePolicyCommand;exports.PutTelemetryRecordsCommand = PutTelemetryRecordsCommand;exports.PutTraceSegmentsCommand = PutTraceSegmentsCommand;exports.RetrievalStatus = RetrievalStatus;exports.SamplingStrategyName = SamplingStrategyName;exports.StartTraceRetrievalCommand = StartTraceRetrievalCommand;exports.TagResourceCommand = TagResourceCommand;exports.TimeRangeType = TimeRangeType;exports.TraceFormatType = TraceFormatType;exports.TraceSegmentDestination = TraceSegmentDestination;exports.TraceSegmentDestinationStatus = TraceSegmentDestinationStatus;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateGroupCommand = UpdateGroupCommand;exports.UpdateIndexingRuleCommand = UpdateIndexingRuleCommand;exports.UpdateSamplingRuleCommand = UpdateSamplingRuleCommand;exports.UpdateTraceSegmentDestinationCommand = UpdateTraceSegmentDestinationCommand;exports.XRay = XRay;exports.XRayClient = XRayClient;exports.paginateBatchGetTraces = paginateBatchGetTraces;exports.paginateGetGroups = paginateGetGroups;exports.paginateGetInsightEvents = paginateGetInsightEvents;exports.paginateGetInsightSummaries = paginateGetInsightSummaries;exports.paginateGetSamplingRules = paginateGetSamplingRules;exports.paginateGetSamplingStatisticSummaries = paginateGetSamplingStatisticSummaries;exports.paginateGetServiceGraph = paginateGetServiceGraph;exports.paginateGetTimeSeriesServiceStatistics = paginateGetTimeSeriesServiceStatistics;exports.paginateGetTraceGraph = paginateGetTraceGraph;exports.paginateGetTraceSummaries = paginateGetTraceSummaries;exports.paginateListResourcePolicies = paginateListResourcePolicies;exports.paginateListTagsForResource = paginateListTagsForResource;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});