/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 /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AnnotationValue: () => AnnotationValue, BatchGetTracesCommand: () => BatchGetTracesCommand, CancelTraceRetrievalCommand: () => CancelTraceRetrievalCommand, CreateGroupCommand: () => CreateGroupCommand, CreateSamplingRuleCommand: () => CreateSamplingRuleCommand, DeleteGroupCommand: () => DeleteGroupCommand, DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand, DeleteSamplingRuleCommand: () => DeleteSamplingRuleCommand, EncryptionStatus: () => EncryptionStatus, EncryptionType: () => EncryptionType, GetEncryptionConfigCommand: () => GetEncryptionConfigCommand, GetGroupCommand: () => GetGroupCommand, GetGroupsCommand: () => GetGroupsCommand, GetIndexingRulesCommand: () => GetIndexingRulesCommand, GetInsightCommand: () => GetInsightCommand, GetInsightEventsCommand: () => GetInsightEventsCommand, GetInsightImpactGraphCommand: () => GetInsightImpactGraphCommand, GetInsightSummariesCommand: () => GetInsightSummariesCommand, GetRetrievedTracesGraphCommand: () => GetRetrievedTracesGraphCommand, GetSamplingRulesCommand: () => GetSamplingRulesCommand, GetSamplingStatisticSummariesCommand: () => GetSamplingStatisticSummariesCommand, GetSamplingTargetsCommand: () => GetSamplingTargetsCommand, GetServiceGraphCommand: () => GetServiceGraphCommand, GetTimeSeriesServiceStatisticsCommand: () => GetTimeSeriesServiceStatisticsCommand, GetTraceGraphCommand: () => GetTraceGraphCommand, GetTraceSegmentDestinationCommand: () => GetTraceSegmentDestinationCommand, GetTraceSummariesCommand: () => GetTraceSummariesCommand, IndexingRuleValue: () => IndexingRuleValue, IndexingRuleValueUpdate: () => IndexingRuleValueUpdate, InsightCategory: () => InsightCategory, InsightState: () => InsightState, InvalidPolicyRevisionIdException: () => InvalidPolicyRevisionIdException, InvalidRequestException: () => InvalidRequestException, ListResourcePoliciesCommand: () => ListResourcePoliciesCommand, ListRetrievedTracesCommand: () => ListRetrievedTracesCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, LockoutPreventionException: () => LockoutPreventionException, MalformedPolicyDocumentException: () => MalformedPolicyDocumentException, PolicyCountLimitExceededException: () => PolicyCountLimitExceededException, PolicySizeLimitExceededException: () => PolicySizeLimitExceededException, PutEncryptionConfigCommand: () => PutEncryptionConfigCommand, PutResourcePolicyCommand: () => PutResourcePolicyCommand, PutTelemetryRecordsCommand: () => PutTelemetryRecordsCommand, PutTraceSegmentsCommand: () => PutTraceSegmentsCommand, ResourceNotFoundException: () => ResourceNotFoundException, RetrievalStatus: () => RetrievalStatus, RuleLimitExceededException: () => RuleLimitExceededException, SamplingStrategyName: () => SamplingStrategyName, StartTraceRetrievalCommand: () => StartTraceRetrievalCommand, TagResourceCommand: () => TagResourceCommand, ThrottledException: () => ThrottledException, TimeRangeType: () => TimeRangeType, TooManyTagsException: () => TooManyTagsException, TraceFormatType: () => TraceFormatType, TraceSegmentDestination: () => TraceSegmentDestination, TraceSegmentDestinationStatus: () => TraceSegmentDestinationStatus, UntagResourceCommand: () => UntagResourceCommand, UpdateGroupCommand: () => UpdateGroupCommand, UpdateIndexingRuleCommand: () => UpdateIndexingRuleCommand, UpdateSamplingRuleCommand: () => UpdateSamplingRuleCommand, UpdateTraceSegmentDestinationCommand: () => UpdateTraceSegmentDestinationCommand, XRay: () => XRay, XRayClient: () => XRayClient, XRayServiceException: () => XRayServiceException, __Client: () => import_smithy_client.Client, paginateBatchGetTraces: () => paginateBatchGetTraces, paginateGetGroups: () => paginateGetGroups, paginateGetInsightEvents: () => paginateGetInsightEvents, paginateGetInsightSummaries: () => paginateGetInsightSummaries, paginateGetSamplingRules: () => paginateGetSamplingRules, paginateGetSamplingStatisticSummaries: () => paginateGetSamplingStatisticSummaries, paginateGetServiceGraph: () => paginateGetServiceGraph, paginateGetTimeSeriesServiceStatistics: () => paginateGetTimeSeriesServiceStatistics, paginateGetTraceGraph: () => paginateGetTraceGraph, paginateGetTraceSummaries: () => paginateGetTraceSummaries, paginateListResourcePolicies: () => paginateListResourcePolicies, paginateListTagsForResource: () => paginateListTagsForResource});module.exports = __toCommonJS(index_exports); // src/XRayClient.tsvar import_middleware_host_header = require("@aws-sdk/middleware-host-header");var import_middleware_logger = require("@aws-sdk/middleware-logger");var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");var import_config_resolver = require("@smithy/config-resolver");var import_core = require("@smithy/core");var import_middleware_content_length = require("@smithy/middleware-content-length");var import_middleware_endpoint = require("@smithy/middleware-endpoint");var import_middleware_retry = require("@smithy/middleware-retry"); var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider"); // src/endpoint/EndpointParameters.tsvar resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "xray" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/XRayClient.tsvar import_runtimeConfig = require("././runtimeConfig"); // src/runtimeExtensions.tsvar import_region_config_resolver = require("@aws-sdk/region-config-resolver");var import_protocol_http = require("@smithy/protocol-http");var import_smithy_client = require("@smithy/smithy-client"); // src/auth/httpAuthExtensionConfiguration.tsvar getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((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; } };}, "getHttpAuthExtensionConfiguration");var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials() };}, "resolveHttpAuthRuntimeConfig"); // src/runtimeExtensions.tsvar resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { const extensionConfiguration = Object.assign( (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig), (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig), (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig) ); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign( runtimeConfig, (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration) );}, "resolveRuntimeExtensions"); // src/XRayClient.tsvar XRayClient = class extends import_smithy_client.Client { static { __name(this, "XRayClient"); } /** * The resolved configuration of XRayClient class. This is resolved and normalized from the {@link XRayClientConfig | constructor configuration interface}. */ config; constructor(...[configuration]) { const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1); const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); this.middlewareStack.use( (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultXRayHttpAuthSchemeParametersProvider, identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials }), "identityProviderConfigProvider") }) ); this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config)); } /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy() { super.destroy(); }}; // src/XRay.ts // src/commands/BatchGetTracesCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/XRayServiceException.ts var XRayServiceException = class _XRayServiceException extends import_smithy_client.ServiceException { static { __name(this, "XRayServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _XRayServiceException.prototype); }}; // src/models/models_0.tsvar AnnotationValue;((AnnotationValue3) => { AnnotationValue3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.NumberValue !== void 0) return visitor.NumberValue(value.NumberValue); if (value.BooleanValue !== void 0) return visitor.BooleanValue(value.BooleanValue); if (value.StringValue !== void 0) return visitor.StringValue(value.StringValue); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(AnnotationValue || (AnnotationValue = {}));var InvalidRequestException = class _InvalidRequestException extends XRayServiceException { static { __name(this, "InvalidRequestException"); } name = "InvalidRequestException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidRequestException.prototype); this.Message = opts.Message; }};var ThrottledException = class _ThrottledException extends XRayServiceException { static { __name(this, "ThrottledException"); } name = "ThrottledException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "ThrottledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottledException.prototype); this.Message = opts.Message; }};var ResourceNotFoundException = class _ResourceNotFoundException extends XRayServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; Message; ResourceName; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; this.ResourceName = opts.ResourceName; }};var RuleLimitExceededException = class _RuleLimitExceededException extends XRayServiceException { static { __name(this, "RuleLimitExceededException"); } name = "RuleLimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "RuleLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _RuleLimitExceededException.prototype); this.Message = opts.Message; }};var InvalidPolicyRevisionIdException = class _InvalidPolicyRevisionIdException extends XRayServiceException { static { __name(this, "InvalidPolicyRevisionIdException"); } name = "InvalidPolicyRevisionIdException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "InvalidPolicyRevisionIdException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidPolicyRevisionIdException.prototype); this.Message = opts.Message; }};var EncryptionStatus = { ACTIVE: "ACTIVE", UPDATING: "UPDATING"};var EncryptionType = { KMS: "KMS", NONE: "NONE"};var IndexingRuleValue;((IndexingRuleValue3) => { IndexingRuleValue3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.Probabilistic !== void 0) return visitor.Probabilistic(value.Probabilistic); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(IndexingRuleValue || (IndexingRuleValue = {}));var InsightCategory = { FAULT: "FAULT"};var InsightState = { ACTIVE: "ACTIVE", CLOSED: "CLOSED"};var RetrievalStatus = { CANCELLED: "CANCELLED", COMPLETE: "COMPLETE", FAILED: "FAILED", RUNNING: "RUNNING", SCHEDULED: "SCHEDULED", TIMEOUT: "TIMEOUT"};var TraceSegmentDestination = { CloudWatchLogs: "CloudWatchLogs", XRay: "XRay"};var TraceSegmentDestinationStatus = { ACTIVE: "ACTIVE", PENDING: "PENDING"};var SamplingStrategyName = { FixedRate: "FixedRate", PartialScan: "PartialScan"};var TimeRangeType = { Event: "Event", Service: "Service", TraceId: "TraceId"};var TraceFormatType = { OTEL: "OTEL", XRAY: "XRAY"};var LockoutPreventionException = class _LockoutPreventionException extends XRayServiceException { static { __name(this, "LockoutPreventionException"); } name = "LockoutPreventionException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "LockoutPreventionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _LockoutPreventionException.prototype); this.Message = opts.Message; }};var MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends XRayServiceException { static { __name(this, "MalformedPolicyDocumentException"); } name = "MalformedPolicyDocumentException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "MalformedPolicyDocumentException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype); this.Message = opts.Message; }};var PolicyCountLimitExceededException = class _PolicyCountLimitExceededException extends XRayServiceException { static { __name(this, "PolicyCountLimitExceededException"); } name = "PolicyCountLimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicyCountLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicyCountLimitExceededException.prototype); this.Message = opts.Message; }};var PolicySizeLimitExceededException = class _PolicySizeLimitExceededException extends XRayServiceException { static { __name(this, "PolicySizeLimitExceededException"); } name = "PolicySizeLimitExceededException"; $fault = "client"; Message; /** * @internal */ constructor(opts) { super({ name: "PolicySizeLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _PolicySizeLimitExceededException.prototype); this.Message = opts.Message; }};var TooManyTagsException = class _TooManyTagsException extends XRayServiceException { static { __name(this, "TooManyTagsException"); } name = "TooManyTagsException"; $fault = "client"; Message; ResourceName; /** * @internal */ constructor(opts) { super({ name: "TooManyTagsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TooManyTagsException.prototype); this.Message = opts.Message; this.ResourceName = opts.ResourceName; }};var IndexingRuleValueUpdate;((IndexingRuleValueUpdate2) => { IndexingRuleValueUpdate2.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.Probabilistic !== void 0) return visitor.Probabilistic(value.Probabilistic); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(IndexingRuleValueUpdate || (IndexingRuleValueUpdate = {})); // src/protocols/Aws_restJson1.tsvar se_BatchGetTracesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/Traces"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [], TraceIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TraceIds") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_BatchGetTracesCommand");var se_CancelTraceRetrievalCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/CancelTraceRetrieval"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { RetrievalToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CancelTraceRetrievalCommand");var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/CreateGroup"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { FilterExpression: [], GroupName: [], InsightsConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InsightsConfiguration"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateGroupCommand");var se_CreateSamplingRuleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/CreateSamplingRule"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { SamplingRule: /* @__PURE__ */ __name((_) => se_SamplingRule(_, context), "SamplingRule"), Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateSamplingRuleCommand");var se_DeleteGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/DeleteGroup"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { GroupARN: [], GroupName: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_DeleteGroupCommand");var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/DeleteResourcePolicy"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { PolicyName: [], PolicyRevisionId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_DeleteResourcePolicyCommand");var se_DeleteSamplingRuleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/DeleteSamplingRule"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { RuleARN: [], RuleName: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_DeleteSamplingRuleCommand");var se_GetEncryptionConfigCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/EncryptionConfig"); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_GetEncryptionConfigCommand");var se_GetGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/GetGroup"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { GroupARN: [], GroupName: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetGroupCommand");var se_GetGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/Groups"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetGroupsCommand");var se_GetIndexingRulesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/GetIndexingRules"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetIndexingRulesCommand");var se_GetInsightCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/Insight"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { InsightId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetInsightCommand");var se_GetInsightEventsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/InsightEvents"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { InsightId: [], MaxResults: [], NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetInsightEventsCommand");var se_GetInsightImpactGraphCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/InsightImpactGraph"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), InsightId: [], NextToken: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetInsightImpactGraphCommand");var se_GetInsightSummariesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/InsightSummaries"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), GroupARN: [], GroupName: [], MaxResults: [], NextToken: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"), States: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "States") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetInsightSummariesCommand");var se_GetRetrievedTracesGraphCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/GetRetrievedTracesGraph"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [], RetrievalToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetRetrievedTracesGraphCommand");var se_GetSamplingRulesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/GetSamplingRules"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetSamplingRulesCommand");var se_GetSamplingStatisticSummariesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/SamplingStatisticSummaries"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetSamplingStatisticSummariesCommand");var se_GetSamplingTargetsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/SamplingTargets"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { SamplingBoostStatisticsDocuments: /* @__PURE__ */ __name((_) => se_SamplingBoostStatisticsDocumentList(_, context), "SamplingBoostStatisticsDocuments"), SamplingStatisticsDocuments: /* @__PURE__ */ __name((_) => se_SamplingStatisticsDocumentList(_, context), "SamplingStatisticsDocuments") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetSamplingTargetsCommand");var se_GetServiceGraphCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ServiceGraph"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), GroupARN: [], GroupName: [], NextToken: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetServiceGraphCommand");var se_GetTimeSeriesServiceStatisticsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TimeSeriesServiceStatistics"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), EntitySelectorExpression: [], ForecastStatistics: [], GroupARN: [], GroupName: [], NextToken: [], Period: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetTimeSeriesServiceStatisticsCommand");var se_GetTraceGraphCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TraceGraph"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [], TraceIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TraceIds") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetTraceGraphCommand");var se_GetTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/GetTraceSegmentDestination"); let body; b.m("POST").h(headers).b(body); return b.build();}, "se_GetTraceSegmentDestinationCommand");var se_GetTraceSummariesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TraceSummaries"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), FilterExpression: [], NextToken: [], Sampling: [], SamplingStrategy: /* @__PURE__ */ __name((_) => se_SamplingStrategy(_, context), "SamplingStrategy"), StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"), TimeRangeType: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_GetTraceSummariesCommand");var se_ListResourcePoliciesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ListResourcePolicies"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListResourcePoliciesCommand");var se_ListRetrievedTracesCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ListRetrievedTraces"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [], RetrievalToken: [], TraceFormat: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListRetrievedTracesCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/ListTagsForResource"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { NextToken: [], ResourceARN: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_ListTagsForResourceCommand");var se_PutEncryptionConfigCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/PutEncryptionConfig"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { KeyId: [], Type: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_PutEncryptionConfigCommand");var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/PutResourcePolicy"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { BypassPolicyLockoutCheck: [], PolicyDocument: [], PolicyName: [], PolicyRevisionId: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_PutResourcePolicyCommand");var se_PutTelemetryRecordsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TelemetryRecords"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EC2InstanceId: [], Hostname: [], ResourceARN: [], TelemetryRecords: /* @__PURE__ */ __name((_) => se_TelemetryRecordList(_, context), "TelemetryRecords") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_PutTelemetryRecordsCommand");var se_PutTraceSegmentsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TraceSegments"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { TraceSegmentDocuments: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TraceSegmentDocuments") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_PutTraceSegmentsCommand");var se_StartTraceRetrievalCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/StartTraceRetrieval"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"), TraceIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TraceIds") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartTraceRetrievalCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/TagResource"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ResourceARN: [], Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/UntagResource"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { ResourceARN: [], TagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeys") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UntagResourceCommand");var se_UpdateGroupCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/UpdateGroup"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { FilterExpression: [], GroupARN: [], GroupName: [], InsightsConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InsightsConfiguration") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateGroupCommand");var se_UpdateIndexingRuleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/UpdateIndexingRule"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Name: [], Rule: /* @__PURE__ */ __name((_) => se_IndexingRuleValueUpdate(_, context), "Rule") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateIndexingRuleCommand");var se_UpdateSamplingRuleCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/UpdateSamplingRule"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { SamplingRuleUpdate: /* @__PURE__ */ __name((_) => se_SamplingRuleUpdate(_, context), "SamplingRuleUpdate") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateSamplingRuleCommand");var se_UpdateTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/UpdateTraceSegmentDestination"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { Destination: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_UpdateTraceSegmentDestinationCommand");var de_BatchGetTracesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Traces: /* @__PURE__ */ __name((_) => de_TraceList(_, context), "Traces"), UnprocessedTraceIds: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_BatchGetTracesCommand");var de_CancelTraceRetrievalCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_CancelTraceRetrievalCommand");var de_CreateGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Group: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_CreateGroupCommand");var de_CreateSamplingRuleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SamplingRuleRecord: /* @__PURE__ */ __name((_) => de_SamplingRuleRecord(_, context), "SamplingRuleRecord") }); Object.assign(contents, doc); return contents;}, "de_CreateSamplingRuleCommand");var de_DeleteGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteGroupCommand");var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_DeleteResourcePolicyCommand");var de_DeleteSamplingRuleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SamplingRuleRecord: /* @__PURE__ */ __name((_) => de_SamplingRuleRecord(_, context), "SamplingRuleRecord") }); Object.assign(contents, doc); return contents;}, "de_DeleteSamplingRuleCommand");var de_GetEncryptionConfigCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { EncryptionConfig: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetEncryptionConfigCommand");var de_GetGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Group: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetGroupCommand");var de_GetGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Groups: import_smithy_client._json, NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetGroupsCommand");var de_GetIndexingRulesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { IndexingRules: /* @__PURE__ */ __name((_) => de_IndexingRuleList(_, context), "IndexingRules"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetIndexingRulesCommand");var de_GetInsightCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Insight: /* @__PURE__ */ __name((_) => de_Insight(_, context), "Insight") }); Object.assign(contents, doc); return contents;}, "de_GetInsightCommand");var de_GetInsightEventsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { InsightEvents: /* @__PURE__ */ __name((_) => de_InsightEventList(_, context), "InsightEvents"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetInsightEventsCommand");var de_GetInsightImpactGraphCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), InsightId: import_smithy_client.expectString, NextToken: import_smithy_client.expectString, ServiceGraphEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ServiceGraphEndTime"), ServiceGraphStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ServiceGraphStartTime"), Services: import_smithy_client._json, StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime") }); Object.assign(contents, doc); return contents;}, "de_GetInsightImpactGraphCommand");var de_GetInsightSummariesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { InsightSummaries: /* @__PURE__ */ __name((_) => de_InsightSummaryList(_, context), "InsightSummaries"), NextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetInsightSummariesCommand");var de_GetRetrievedTracesGraphCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, RetrievalStatus: import_smithy_client.expectString, Services: /* @__PURE__ */ __name((_) => de_RetrievedServicesList(_, context), "Services") }); Object.assign(contents, doc); return contents;}, "de_GetRetrievedTracesGraphCommand");var de_GetSamplingRulesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, SamplingRuleRecords: /* @__PURE__ */ __name((_) => de_SamplingRuleRecordList(_, context), "SamplingRuleRecords") }); Object.assign(contents, doc); return contents;}, "de_GetSamplingRulesCommand");var de_GetSamplingStatisticSummariesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, SamplingStatisticSummaries: /* @__PURE__ */ __name((_) => de_SamplingStatisticSummaryList(_, context), "SamplingStatisticSummaries") }); Object.assign(contents, doc); return contents;}, "de_GetSamplingStatisticSummariesCommand");var de_GetSamplingTargetsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { LastRuleModification: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastRuleModification"), SamplingTargetDocuments: /* @__PURE__ */ __name((_) => de_SamplingTargetDocumentList(_, context), "SamplingTargetDocuments"), UnprocessedBoostStatistics: import_smithy_client._json, UnprocessedStatistics: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_GetSamplingTargetsCommand");var de_GetServiceGraphCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ContainsOldGroupVersions: import_smithy_client.expectBoolean, EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), NextToken: import_smithy_client.expectString, Services: /* @__PURE__ */ __name((_) => de_ServiceList(_, context), "Services"), StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime") }); Object.assign(contents, doc); return contents;}, "de_GetServiceGraphCommand");var de_GetTimeSeriesServiceStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ContainsOldGroupVersions: import_smithy_client.expectBoolean, NextToken: import_smithy_client.expectString, TimeSeriesServiceStatistics: /* @__PURE__ */ __name((_) => de_TimeSeriesServiceStatisticsList(_, context), "TimeSeriesServiceStatistics") }); Object.assign(contents, doc); return contents;}, "de_GetTimeSeriesServiceStatisticsCommand");var de_GetTraceGraphCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Services: /* @__PURE__ */ __name((_) => de_ServiceList(_, context), "Services") }); Object.assign(contents, doc); return contents;}, "de_GetTraceGraphCommand");var de_GetTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Destination: import_smithy_client.expectString, Status: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetTraceSegmentDestinationCommand");var de_GetTraceSummariesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ApproximateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ApproximateTime"), NextToken: import_smithy_client.expectString, TraceSummaries: /* @__PURE__ */ __name((_) => de_TraceSummaryList(_, context), "TraceSummaries"), TracesProcessedCount: import_smithy_client.expectLong }); Object.assign(contents, doc); return contents;}, "de_GetTraceSummariesCommand");var de_ListResourcePoliciesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, ResourcePolicies: /* @__PURE__ */ __name((_) => de_ResourcePolicyList(_, context), "ResourcePolicies") }); Object.assign(contents, doc); return contents;}, "de_ListResourcePoliciesCommand");var de_ListRetrievedTracesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, RetrievalStatus: import_smithy_client.expectString, TraceFormat: import_smithy_client.expectString, Traces: /* @__PURE__ */ __name((_) => de_TraceSpanList(_, context), "Traces") }); Object.assign(contents, doc); return contents;}, "de_ListRetrievedTracesCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { NextToken: import_smithy_client.expectString, Tags: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_ListTagsForResourceCommand");var de_PutEncryptionConfigCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { EncryptionConfig: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_PutEncryptionConfigCommand");var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { ResourcePolicy: /* @__PURE__ */ __name((_) => de_ResourcePolicy(_, context), "ResourcePolicy") }); Object.assign(contents, doc); return contents;}, "de_PutResourcePolicyCommand");var de_PutTelemetryRecordsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_PutTelemetryRecordsCommand");var de_PutTraceSegmentsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { UnprocessedTraceSegments: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_PutTraceSegmentsCommand");var de_StartTraceRetrievalCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { RetrievalToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartTraceRetrievalCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); await (0, import_smithy_client.collectBody)(output.body, context); return contents;}, "de_UntagResourceCommand");var de_UpdateGroupCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Group: import_smithy_client._json }); Object.assign(contents, doc); return contents;}, "de_UpdateGroupCommand");var de_UpdateIndexingRuleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { IndexingRule: /* @__PURE__ */ __name((_) => de_IndexingRule(_, context), "IndexingRule") }); Object.assign(contents, doc); return contents;}, "de_UpdateIndexingRuleCommand");var de_UpdateSamplingRuleCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { SamplingRuleRecord: /* @__PURE__ */ __name((_) => de_SamplingRuleRecord(_, context), "SamplingRuleRecord") }); Object.assign(contents, doc); return contents;}, "de_UpdateSamplingRuleCommand");var de_UpdateTraceSegmentDestinationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode !== 200 && output.statusCode >= 300) { return de_CommandError(output, context); } const contents = (0, import_smithy_client.map)({ $metadata: deserializeMetadata(output) }); const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); const doc = (0, import_smithy_client.take)(data, { Destination: import_smithy_client.expectString, Status: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateTraceSegmentDestinationCommand");var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { const parsedOutput = { ...output, body: await (0, import_core2.parseJsonErrorBody)(output.body, context) }; const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); switch (errorCode) { case "InvalidRequestException": case "com.amazonaws.xray#InvalidRequestException": throw await de_InvalidRequestExceptionRes(parsedOutput, context); case "ThrottledException": case "com.amazonaws.xray#ThrottledException": throw await de_ThrottledExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.xray#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "RuleLimitExceededException": case "com.amazonaws.xray#RuleLimitExceededException": throw await de_RuleLimitExceededExceptionRes(parsedOutput, context); case "InvalidPolicyRevisionIdException": case "com.amazonaws.xray#InvalidPolicyRevisionIdException": throw await de_InvalidPolicyRevisionIdExceptionRes(parsedOutput, context); case "LockoutPreventionException": case "com.amazonaws.xray#LockoutPreventionException": throw await de_LockoutPreventionExceptionRes(parsedOutput, context); case "MalformedPolicyDocumentException": case "com.amazonaws.xray#MalformedPolicyDocumentException": throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); case "PolicyCountLimitExceededException": case "com.amazonaws.xray#PolicyCountLimitExceededException": throw await de_PolicyCountLimitExceededExceptionRes(parsedOutput, context); case "PolicySizeLimitExceededException": case "com.amazonaws.xray#PolicySizeLimitExceededException": throw await de_PolicySizeLimitExceededExceptionRes(parsedOutput, context); case "TooManyTagsException": case "com.amazonaws.xray#TooManyTagsException": throw await de_TooManyTagsExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(XRayServiceException);var de_InvalidPolicyRevisionIdExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidPolicyRevisionIdException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidPolicyRevisionIdExceptionRes");var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new InvalidRequestException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidRequestExceptionRes");var de_LockoutPreventionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new LockoutPreventionException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_LockoutPreventionExceptionRes");var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new MalformedPolicyDocumentException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_MalformedPolicyDocumentExceptionRes");var de_PolicyCountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new PolicyCountLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_PolicyCountLimitExceededExceptionRes");var de_PolicySizeLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new PolicySizeLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_PolicySizeLimitExceededExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString, ResourceName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_RuleLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new RuleLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_RuleLimitExceededExceptionRes");var de_ThrottledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new ThrottledException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottledExceptionRes");var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const contents = (0, import_smithy_client.map)({}); const data = parsedOutput.body; const doc = (0, import_smithy_client.take)(data, { Message: import_smithy_client.expectString, ResourceName: import_smithy_client.expectString }); Object.assign(contents, doc); const exception = new TooManyTagsException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyTagsExceptionRes");var se_IndexingRuleValueUpdate = /* @__PURE__ */ __name((input, context) => { return IndexingRuleValueUpdate.visit(input, { Probabilistic: /* @__PURE__ */ __name((value) => ({ Probabilistic: se_ProbabilisticRuleValueUpdate(value, context) }), "Probabilistic"), _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_") });}, "se_IndexingRuleValueUpdate");var se_ProbabilisticRuleValueUpdate = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { DesiredSamplingPercentage: import_smithy_client.serializeFloat });}, "se_ProbabilisticRuleValueUpdate");var se_SamplingBoostStatisticsDocument = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { AnomalyCount: [], RuleName: [], SampledAnomalyCount: [], ServiceName: [], Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp"), TotalCount: [] });}, "se_SamplingBoostStatisticsDocument");var se_SamplingBoostStatisticsDocumentList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_SamplingBoostStatisticsDocument(entry, context); });}, "se_SamplingBoostStatisticsDocumentList");var se_SamplingRateBoost = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { CooldownWindowMinutes: [], MaxRate: import_smithy_client.serializeFloat });}, "se_SamplingRateBoost");var se_SamplingRule = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Attributes: import_smithy_client._json, FixedRate: import_smithy_client.serializeFloat, HTTPMethod: [], Host: [], Priority: [], ReservoirSize: [], ResourceARN: [], RuleARN: [], RuleName: [], SamplingRateBoost: /* @__PURE__ */ __name((_) => se_SamplingRateBoost(_, context), "SamplingRateBoost"), ServiceName: [], ServiceType: [], URLPath: [], Version: [] });}, "se_SamplingRule");var se_SamplingRuleUpdate = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Attributes: import_smithy_client._json, FixedRate: import_smithy_client.serializeFloat, HTTPMethod: [], Host: [], Priority: [], ReservoirSize: [], ResourceARN: [], RuleARN: [], RuleName: [], SamplingRateBoost: /* @__PURE__ */ __name((_) => se_SamplingRateBoost(_, context), "SamplingRateBoost"), ServiceName: [], ServiceType: [], URLPath: [] });}, "se_SamplingRuleUpdate");var se_SamplingStatisticsDocument = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { BorrowCount: [], ClientID: [], RequestCount: [], RuleName: [], SampledCount: [], Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp") });}, "se_SamplingStatisticsDocument");var se_SamplingStatisticsDocumentList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_SamplingStatisticsDocument(entry, context); });}, "se_SamplingStatisticsDocumentList");var se_SamplingStrategy = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Name: [], Value: import_smithy_client.serializeFloat });}, "se_SamplingStrategy");var se_TelemetryRecord = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { BackendConnectionErrors: import_smithy_client._json, SegmentsReceivedCount: [], SegmentsRejectedCount: [], SegmentsSentCount: [], SegmentsSpilloverCount: [], Timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "Timestamp") });}, "se_TelemetryRecord");var se_TelemetryRecordList = /* @__PURE__ */ __name((input, context) => { return input.filter((e) => e != null).map((entry) => { return se_TelemetryRecord(entry, context); });}, "se_TelemetryRecordList");var de_Annotations = /* @__PURE__ */ __name((output, context) => { return Object.entries(output).reduce((acc, [key, value]) => { if (value === null) { return acc; } acc[key] = de_ValuesWithServiceIds(value, context); return acc; }, {});}, "de_Annotations");var de_AnnotationValue = /* @__PURE__ */ __name((output, context) => { if ((0, import_smithy_client.expectBoolean)(output.BooleanValue) !== void 0) { return { BooleanValue: (0, import_smithy_client.expectBoolean)(output.BooleanValue) }; } if ((0, import_smithy_client.limitedParseDouble)(output.NumberValue) !== void 0) { return { NumberValue: (0, import_smithy_client.limitedParseDouble)(output.NumberValue) }; } if ((0, import_smithy_client.expectString)(output.StringValue) !== void 0) { return { StringValue: (0, import_smithy_client.expectString)(output.StringValue) }; } return { $unknown: Object.entries(output)[0] };}, "de_AnnotationValue");var de_Edge = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Aliases: import_smithy_client._json, EdgeType: import_smithy_client.expectString, EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), ReceivedEventAgeHistogram: /* @__PURE__ */ __name((_) => de_Histogram(_, context), "ReceivedEventAgeHistogram"), ReferenceId: import_smithy_client.expectInt32, ResponseTimeHistogram: /* @__PURE__ */ __name((_) => de_Histogram(_, context), "ResponseTimeHistogram"), StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"), SummaryStatistics: /* @__PURE__ */ __name((_) => de_EdgeStatistics(_, context), "SummaryStatistics") });}, "de_Edge");var de_EdgeList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Edge(entry, context); }); return retVal;}, "de_EdgeList");var de_EdgeStatistics = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ErrorStatistics: import_smithy_client._json, FaultStatistics: import_smithy_client._json, OkCount: import_smithy_client.expectLong, TotalCount: import_smithy_client.expectLong, TotalResponseTime: import_smithy_client.limitedParseDouble });}, "de_EdgeStatistics");var de_Histogram = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_HistogramEntry(entry, context); }); return retVal;}, "de_Histogram");var de_HistogramEntry = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Count: import_smithy_client.expectInt32, Value: import_smithy_client.limitedParseDouble });}, "de_HistogramEntry");var de_IndexingRule = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"), Name: import_smithy_client.expectString, Rule: /* @__PURE__ */ __name((_) => de_IndexingRuleValue((0, import_core2.awsExpectUnion)(_), context), "Rule") });}, "de_IndexingRule");var de_IndexingRuleList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_IndexingRule(entry, context); }); return retVal;}, "de_IndexingRuleList");var de_IndexingRuleValue = /* @__PURE__ */ __name((output, context) => { if (output.Probabilistic != null) { return { Probabilistic: de_ProbabilisticRuleValue(output.Probabilistic, context) }; } return { $unknown: Object.entries(output)[0] };}, "de_IndexingRuleValue");var de_Insight = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Categories: import_smithy_client._json, ClientRequestImpactStatistics: import_smithy_client._json, EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), GroupARN: import_smithy_client.expectString, GroupName: import_smithy_client.expectString, InsightId: import_smithy_client.expectString, RootCauseServiceId: import_smithy_client._json, RootCauseServiceRequestImpactStatistics: import_smithy_client._json, StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"), State: import_smithy_client.expectString, Summary: import_smithy_client.expectString, TopAnomalousServices: import_smithy_client._json });}, "de_Insight");var de_InsightEvent = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ClientRequestImpactStatistics: import_smithy_client._json, EventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EventTime"), RootCauseServiceRequestImpactStatistics: import_smithy_client._json, Summary: import_smithy_client.expectString, TopAnomalousServices: import_smithy_client._json });}, "de_InsightEvent");var de_InsightEventList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_InsightEvent(entry, context); }); return retVal;}, "de_InsightEventList");var de_InsightSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Categories: import_smithy_client._json, ClientRequestImpactStatistics: import_smithy_client._json, EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), GroupARN: import_smithy_client.expectString, GroupName: import_smithy_client.expectString, InsightId: import_smithy_client.expectString, LastUpdateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdateTime"), RootCauseServiceId: import_smithy_client._json, RootCauseServiceRequestImpactStatistics: import_smithy_client._json, StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"), State: import_smithy_client.expectString, Summary: import_smithy_client.expectString, TopAnomalousServices: import_smithy_client._json });}, "de_InsightSummary");var de_InsightSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_InsightSummary(entry, context); }); return retVal;}, "de_InsightSummaryList");var de_ProbabilisticRuleValue = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ActualSamplingPercentage: import_smithy_client.limitedParseDouble, DesiredSamplingPercentage: import_smithy_client.limitedParseDouble });}, "de_ProbabilisticRuleValue");var de_ResourcePolicy = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"), PolicyDocument: import_smithy_client.expectString, PolicyName: import_smithy_client.expectString, PolicyRevisionId: import_smithy_client.expectString });}, "de_ResourcePolicy");var de_ResourcePolicyList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ResourcePolicy(entry, context); }); return retVal;}, "de_ResourcePolicyList");var de_ResponseTimeRootCause = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ClientImpacting: import_smithy_client.expectBoolean, Services: /* @__PURE__ */ __name((_) => de_ResponseTimeRootCauseServices(_, context), "Services") });}, "de_ResponseTimeRootCause");var de_ResponseTimeRootCauseEntity = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Coverage: import_smithy_client.limitedParseDouble, Name: import_smithy_client.expectString, Remote: import_smithy_client.expectBoolean });}, "de_ResponseTimeRootCauseEntity");var de_ResponseTimeRootCauseEntityPath = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ResponseTimeRootCauseEntity(entry, context); }); return retVal;}, "de_ResponseTimeRootCauseEntityPath");var de_ResponseTimeRootCauses = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ResponseTimeRootCause(entry, context); }); return retVal;}, "de_ResponseTimeRootCauses");var de_ResponseTimeRootCauseService = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccountId: import_smithy_client.expectString, EntityPath: /* @__PURE__ */ __name((_) => de_ResponseTimeRootCauseEntityPath(_, context), "EntityPath"), Inferred: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, Names: import_smithy_client._json, Type: import_smithy_client.expectString });}, "de_ResponseTimeRootCauseService");var de_ResponseTimeRootCauseServices = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ResponseTimeRootCauseService(entry, context); }); return retVal;}, "de_ResponseTimeRootCauseServices");var de_RetrievedService = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Links: import_smithy_client._json, Service: /* @__PURE__ */ __name((_) => de_Service(_, context), "Service") });}, "de_RetrievedService");var de_RetrievedServicesList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_RetrievedService(entry, context); }); return retVal;}, "de_RetrievedServicesList");var de_RetrievedTrace = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Duration: import_smithy_client.limitedParseDouble, Id: import_smithy_client.expectString, Spans: import_smithy_client._json });}, "de_RetrievedTrace");var de_SamplingBoost = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { BoostRate: import_smithy_client.limitedParseDouble, BoostRateTTL: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "BoostRateTTL") });}, "de_SamplingBoost");var de_SamplingRateBoost = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CooldownWindowMinutes: import_smithy_client.expectInt32, MaxRate: import_smithy_client.limitedParseDouble });}, "de_SamplingRateBoost");var de_SamplingRule = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Attributes: import_smithy_client._json, FixedRate: import_smithy_client.limitedParseDouble, HTTPMethod: import_smithy_client.expectString, Host: import_smithy_client.expectString, Priority: import_smithy_client.expectInt32, ReservoirSize: import_smithy_client.expectInt32, ResourceARN: import_smithy_client.expectString, RuleARN: import_smithy_client.expectString, RuleName: import_smithy_client.expectString, SamplingRateBoost: /* @__PURE__ */ __name((_) => de_SamplingRateBoost(_, context), "SamplingRateBoost"), ServiceName: import_smithy_client.expectString, ServiceType: import_smithy_client.expectString, URLPath: import_smithy_client.expectString, Version: import_smithy_client.expectInt32 });}, "de_SamplingRule");var de_SamplingRuleRecord = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"), ModifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ModifiedAt"), SamplingRule: /* @__PURE__ */ __name((_) => de_SamplingRule(_, context), "SamplingRule") });}, "de_SamplingRuleRecord");var de_SamplingRuleRecordList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SamplingRuleRecord(entry, context); }); return retVal;}, "de_SamplingRuleRecordList");var de_SamplingStatisticSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { BorrowCount: import_smithy_client.expectInt32, RequestCount: import_smithy_client.expectInt32, RuleName: import_smithy_client.expectString, SampledCount: import_smithy_client.expectInt32, Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp") });}, "de_SamplingStatisticSummary");var de_SamplingStatisticSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SamplingStatisticSummary(entry, context); }); return retVal;}, "de_SamplingStatisticSummaryList");var de_SamplingTargetDocument = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { FixedRate: import_smithy_client.limitedParseDouble, Interval: import_smithy_client.expectInt32, ReservoirQuota: import_smithy_client.expectInt32, ReservoirQuotaTTL: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ReservoirQuotaTTL"), RuleName: import_smithy_client.expectString, SamplingBoost: /* @__PURE__ */ __name((_) => de_SamplingBoost(_, context), "SamplingBoost") });}, "de_SamplingTargetDocument");var de_SamplingTargetDocumentList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SamplingTargetDocument(entry, context); }); return retVal;}, "de_SamplingTargetDocumentList");var de_Service = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccountId: import_smithy_client.expectString, DurationHistogram: /* @__PURE__ */ __name((_) => de_Histogram(_, context), "DurationHistogram"), Edges: /* @__PURE__ */ __name((_) => de_EdgeList(_, context), "Edges"), EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"), Name: import_smithy_client.expectString, Names: import_smithy_client._json, ReferenceId: import_smithy_client.expectInt32, ResponseTimeHistogram: /* @__PURE__ */ __name((_) => de_Histogram(_, context), "ResponseTimeHistogram"), Root: import_smithy_client.expectBoolean, StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"), State: import_smithy_client.expectString, SummaryStatistics: /* @__PURE__ */ __name((_) => de_ServiceStatistics(_, context), "SummaryStatistics"), Type: import_smithy_client.expectString });}, "de_Service");var de_ServiceList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Service(entry, context); }); return retVal;}, "de_ServiceList");var de_ServiceStatistics = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ErrorStatistics: import_smithy_client._json, FaultStatistics: import_smithy_client._json, OkCount: import_smithy_client.expectLong, TotalCount: import_smithy_client.expectLong, TotalResponseTime: import_smithy_client.limitedParseDouble });}, "de_ServiceStatistics");var de_TimeSeriesServiceStatistics = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EdgeSummaryStatistics: /* @__PURE__ */ __name((_) => de_EdgeStatistics(_, context), "EdgeSummaryStatistics"), ResponseTimeHistogram: /* @__PURE__ */ __name((_) => de_Histogram(_, context), "ResponseTimeHistogram"), ServiceForecastStatistics: import_smithy_client._json, ServiceSummaryStatistics: /* @__PURE__ */ __name((_) => de_ServiceStatistics(_, context), "ServiceSummaryStatistics"), Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp") });}, "de_TimeSeriesServiceStatistics");var de_TimeSeriesServiceStatisticsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TimeSeriesServiceStatistics(entry, context); }); return retVal;}, "de_TimeSeriesServiceStatisticsList");var de_Trace = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Duration: import_smithy_client.limitedParseDouble, Id: import_smithy_client.expectString, LimitExceeded: import_smithy_client.expectBoolean, Segments: import_smithy_client._json });}, "de_Trace");var de_TraceList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Trace(entry, context); }); return retVal;}, "de_TraceList");var de_TraceSpanList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_RetrievedTrace(entry, context); }); return retVal;}, "de_TraceSpanList");var de_TraceSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Annotations: /* @__PURE__ */ __name((_) => de_Annotations(_, context), "Annotations"), AvailabilityZones: import_smithy_client._json, Duration: import_smithy_client.limitedParseDouble, EntryPoint: import_smithy_client._json, ErrorRootCauses: import_smithy_client._json, FaultRootCauses: import_smithy_client._json, HasError: import_smithy_client.expectBoolean, HasFault: import_smithy_client.expectBoolean, HasThrottle: import_smithy_client.expectBoolean, Http: import_smithy_client._json, Id: import_smithy_client.expectString, InstanceIds: import_smithy_client._json, IsPartial: import_smithy_client.expectBoolean, MatchedEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "MatchedEventTime"), ResourceARNs: import_smithy_client._json, ResponseTime: import_smithy_client.limitedParseDouble, ResponseTimeRootCauses: /* @__PURE__ */ __name((_) => de_ResponseTimeRootCauses(_, context), "ResponseTimeRootCauses"), Revision: import_smithy_client.expectInt32, ServiceIds: import_smithy_client._json, StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"), Users: import_smithy_client._json });}, "de_TraceSummary");var de_TraceSummaryList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TraceSummary(entry, context); }); return retVal;}, "de_TraceSummaryList");var de_ValuesWithServiceIds = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ValueWithServiceIds(entry, context); }); return retVal;}, "de_ValuesWithServiceIds");var de_ValueWithServiceIds = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AnnotationValue: /* @__PURE__ */ __name((_) => de_AnnotationValue((0, import_core2.awsExpectUnion)(_), context), "AnnotationValue"), ServiceIds: import_smithy_client._json });}, "de_ValueWithServiceIds");var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], extendedRequestId: output.headers["x-amz-id-2"], cfId: output.headers["x-amz-cf-id"]}), "deserializeMetadata"); // src/commands/BatchGetTracesCommand.tsvar BatchGetTracesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "BatchGetTraces", {}).n("XRayClient", "BatchGetTracesCommand").f(void 0, void 0).ser(se_BatchGetTracesCommand).de(de_BatchGetTracesCommand).build() { static { __name(this, "BatchGetTracesCommand"); }}; // src/commands/CancelTraceRetrievalCommand.ts var CancelTraceRetrievalCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "CancelTraceRetrieval", {}).n("XRayClient", "CancelTraceRetrievalCommand").f(void 0, void 0).ser(se_CancelTraceRetrievalCommand).de(de_CancelTraceRetrievalCommand).build() { static { __name(this, "CancelTraceRetrievalCommand"); }}; // src/commands/CreateGroupCommand.ts var CreateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "CreateGroup", {}).n("XRayClient", "CreateGroupCommand").f(void 0, void 0).ser(se_CreateGroupCommand).de(de_CreateGroupCommand).build() { static { __name(this, "CreateGroupCommand"); }}; // src/commands/CreateSamplingRuleCommand.ts var CreateSamplingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "CreateSamplingRule", {}).n("XRayClient", "CreateSamplingRuleCommand").f(void 0, void 0).ser(se_CreateSamplingRuleCommand).de(de_CreateSamplingRuleCommand).build() { static { __name(this, "CreateSamplingRuleCommand"); }}; // src/commands/DeleteGroupCommand.ts var DeleteGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "DeleteGroup", {}).n("XRayClient", "DeleteGroupCommand").f(void 0, void 0).ser(se_DeleteGroupCommand).de(de_DeleteGroupCommand).build() { static { __name(this, "DeleteGroupCommand"); }}; // src/commands/DeleteResourcePolicyCommand.ts var DeleteResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "DeleteResourcePolicy", {}).n("XRayClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() { static { __name(this, "DeleteResourcePolicyCommand"); }}; // src/commands/DeleteSamplingRuleCommand.ts var DeleteSamplingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "DeleteSamplingRule", {}).n("XRayClient", "DeleteSamplingRuleCommand").f(void 0, void 0).ser(se_DeleteSamplingRuleCommand).de(de_DeleteSamplingRuleCommand).build() { static { __name(this, "DeleteSamplingRuleCommand"); }}; // src/commands/GetEncryptionConfigCommand.ts var GetEncryptionConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetEncryptionConfig", {}).n("XRayClient", "GetEncryptionConfigCommand").f(void 0, void 0).ser(se_GetEncryptionConfigCommand).de(de_GetEncryptionConfigCommand).build() { static { __name(this, "GetEncryptionConfigCommand"); }}; // src/commands/GetGroupCommand.ts var GetGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetGroup", {}).n("XRayClient", "GetGroupCommand").f(void 0, void 0).ser(se_GetGroupCommand).de(de_GetGroupCommand).build() { static { __name(this, "GetGroupCommand"); }}; // src/commands/GetGroupsCommand.ts var GetGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetGroups", {}).n("XRayClient", "GetGroupsCommand").f(void 0, void 0).ser(se_GetGroupsCommand).de(de_GetGroupsCommand).build() { static { __name(this, "GetGroupsCommand"); }}; // src/commands/GetIndexingRulesCommand.ts var GetIndexingRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetIndexingRules", {}).n("XRayClient", "GetIndexingRulesCommand").f(void 0, void 0).ser(se_GetIndexingRulesCommand).de(de_GetIndexingRulesCommand).build() { static { __name(this, "GetIndexingRulesCommand"); }}; // src/commands/GetInsightCommand.ts var GetInsightCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetInsight", {}).n("XRayClient", "GetInsightCommand").f(void 0, void 0).ser(se_GetInsightCommand).de(de_GetInsightCommand).build() { static { __name(this, "GetInsightCommand"); }}; // src/commands/GetInsightEventsCommand.ts var GetInsightEventsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetInsightEvents", {}).n("XRayClient", "GetInsightEventsCommand").f(void 0, void 0).ser(se_GetInsightEventsCommand).de(de_GetInsightEventsCommand).build() { static { __name(this, "GetInsightEventsCommand"); }}; // src/commands/GetInsightImpactGraphCommand.ts var GetInsightImpactGraphCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetInsightImpactGraph", {}).n("XRayClient", "GetInsightImpactGraphCommand").f(void 0, void 0).ser(se_GetInsightImpactGraphCommand).de(de_GetInsightImpactGraphCommand).build() { static { __name(this, "GetInsightImpactGraphCommand"); }}; // src/commands/GetInsightSummariesCommand.ts var GetInsightSummariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetInsightSummaries", {}).n("XRayClient", "GetInsightSummariesCommand").f(void 0, void 0).ser(se_GetInsightSummariesCommand).de(de_GetInsightSummariesCommand).build() { static { __name(this, "GetInsightSummariesCommand"); }}; // src/commands/GetRetrievedTracesGraphCommand.ts var GetRetrievedTracesGraphCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetRetrievedTracesGraph", {}).n("XRayClient", "GetRetrievedTracesGraphCommand").f(void 0, void 0).ser(se_GetRetrievedTracesGraphCommand).de(de_GetRetrievedTracesGraphCommand).build() { static { __name(this, "GetRetrievedTracesGraphCommand"); }}; // src/commands/GetSamplingRulesCommand.ts var GetSamplingRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetSamplingRules", {}).n("XRayClient", "GetSamplingRulesCommand").f(void 0, void 0).ser(se_GetSamplingRulesCommand).de(de_GetSamplingRulesCommand).build() { static { __name(this, "GetSamplingRulesCommand"); }}; // src/commands/GetSamplingStatisticSummariesCommand.ts var GetSamplingStatisticSummariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetSamplingStatisticSummaries", {}).n("XRayClient", "GetSamplingStatisticSummariesCommand").f(void 0, void 0).ser(se_GetSamplingStatisticSummariesCommand).de(de_GetSamplingStatisticSummariesCommand).build() { static { __name(this, "GetSamplingStatisticSummariesCommand"); }}; // src/commands/GetSamplingTargetsCommand.ts var GetSamplingTargetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetSamplingTargets", {}).n("XRayClient", "GetSamplingTargetsCommand").f(void 0, void 0).ser(se_GetSamplingTargetsCommand).de(de_GetSamplingTargetsCommand).build() { static { __name(this, "GetSamplingTargetsCommand"); }}; // src/commands/GetServiceGraphCommand.ts var GetServiceGraphCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetServiceGraph", {}).n("XRayClient", "GetServiceGraphCommand").f(void 0, void 0).ser(se_GetServiceGraphCommand).de(de_GetServiceGraphCommand).build() { static { __name(this, "GetServiceGraphCommand"); }}; // src/commands/GetTimeSeriesServiceStatisticsCommand.ts var GetTimeSeriesServiceStatisticsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetTimeSeriesServiceStatistics", {}).n("XRayClient", "GetTimeSeriesServiceStatisticsCommand").f(void 0, void 0).ser(se_GetTimeSeriesServiceStatisticsCommand).de(de_GetTimeSeriesServiceStatisticsCommand).build() { static { __name(this, "GetTimeSeriesServiceStatisticsCommand"); }}; // src/commands/GetTraceGraphCommand.ts var GetTraceGraphCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetTraceGraph", {}).n("XRayClient", "GetTraceGraphCommand").f(void 0, void 0).ser(se_GetTraceGraphCommand).de(de_GetTraceGraphCommand).build() { static { __name(this, "GetTraceGraphCommand"); }}; // src/commands/GetTraceSegmentDestinationCommand.ts var GetTraceSegmentDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetTraceSegmentDestination", {}).n("XRayClient", "GetTraceSegmentDestinationCommand").f(void 0, void 0).ser(se_GetTraceSegmentDestinationCommand).de(de_GetTraceSegmentDestinationCommand).build() { static { __name(this, "GetTraceSegmentDestinationCommand"); }}; // src/commands/GetTraceSummariesCommand.ts var GetTraceSummariesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "GetTraceSummaries", {}).n("XRayClient", "GetTraceSummariesCommand").f(void 0, void 0).ser(se_GetTraceSummariesCommand).de(de_GetTraceSummariesCommand).build() { static { __name(this, "GetTraceSummariesCommand"); }}; // src/commands/ListResourcePoliciesCommand.ts var ListResourcePoliciesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "ListResourcePolicies", {}).n("XRayClient", "ListResourcePoliciesCommand").f(void 0, void 0).ser(se_ListResourcePoliciesCommand).de(de_ListResourcePoliciesCommand).build() { static { __name(this, "ListResourcePoliciesCommand"); }}; // src/commands/ListRetrievedTracesCommand.ts var ListRetrievedTracesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "ListRetrievedTraces", {}).n("XRayClient", "ListRetrievedTracesCommand").f(void 0, void 0).ser(se_ListRetrievedTracesCommand).de(de_ListRetrievedTracesCommand).build() { static { __name(this, "ListRetrievedTracesCommand"); }}; // src/commands/ListTagsForResourceCommand.ts var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "ListTagsForResource", {}).n("XRayClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/PutEncryptionConfigCommand.ts var PutEncryptionConfigCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "PutEncryptionConfig", {}).n("XRayClient", "PutEncryptionConfigCommand").f(void 0, void 0).ser(se_PutEncryptionConfigCommand).de(de_PutEncryptionConfigCommand).build() { static { __name(this, "PutEncryptionConfigCommand"); }}; // src/commands/PutResourcePolicyCommand.ts var PutResourcePolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "PutResourcePolicy", {}).n("XRayClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() { static { __name(this, "PutResourcePolicyCommand"); }}; // src/commands/PutTelemetryRecordsCommand.ts var PutTelemetryRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "PutTelemetryRecords", {}).n("XRayClient", "PutTelemetryRecordsCommand").f(void 0, void 0).ser(se_PutTelemetryRecordsCommand).de(de_PutTelemetryRecordsCommand).build() { static { __name(this, "PutTelemetryRecordsCommand"); }}; // src/commands/PutTraceSegmentsCommand.ts var PutTraceSegmentsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "PutTraceSegments", {}).n("XRayClient", "PutTraceSegmentsCommand").f(void 0, void 0).ser(se_PutTraceSegmentsCommand).de(de_PutTraceSegmentsCommand).build() { static { __name(this, "PutTraceSegmentsCommand"); }}; // src/commands/StartTraceRetrievalCommand.ts var StartTraceRetrievalCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "StartTraceRetrieval", {}).n("XRayClient", "StartTraceRetrievalCommand").f(void 0, void 0).ser(se_StartTraceRetrievalCommand).de(de_StartTraceRetrievalCommand).build() { static { __name(this, "StartTraceRetrievalCommand"); }}; // src/commands/TagResourceCommand.ts var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "TagResource", {}).n("XRayClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() { static { __name(this, "TagResourceCommand"); }}; // src/commands/UntagResourceCommand.ts var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "UntagResource", {}).n("XRayClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateGroupCommand.ts var UpdateGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "UpdateGroup", {}).n("XRayClient", "UpdateGroupCommand").f(void 0, void 0).ser(se_UpdateGroupCommand).de(de_UpdateGroupCommand).build() { static { __name(this, "UpdateGroupCommand"); }}; // src/commands/UpdateIndexingRuleCommand.ts var UpdateIndexingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "UpdateIndexingRule", {}).n("XRayClient", "UpdateIndexingRuleCommand").f(void 0, void 0).ser(se_UpdateIndexingRuleCommand).de(de_UpdateIndexingRuleCommand).build() { static { __name(this, "UpdateIndexingRuleCommand"); }}; // src/commands/UpdateSamplingRuleCommand.ts var UpdateSamplingRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "UpdateSamplingRule", {}).n("XRayClient", "UpdateSamplingRuleCommand").f(void 0, void 0).ser(se_UpdateSamplingRuleCommand).de(de_UpdateSamplingRuleCommand).build() { static { __name(this, "UpdateSamplingRuleCommand"); }}; // src/commands/UpdateTraceSegmentDestinationCommand.ts var UpdateTraceSegmentDestinationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSXRay", "UpdateTraceSegmentDestination", {}).n("XRayClient", "UpdateTraceSegmentDestinationCommand").f(void 0, void 0).ser(se_UpdateTraceSegmentDestinationCommand).de(de_UpdateTraceSegmentDestinationCommand).build() { static { __name(this, "UpdateTraceSegmentDestinationCommand"); }}; // src/XRay.tsvar 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};var XRay = class extends XRayClient { static { __name(this, "XRay"); }};(0, import_smithy_client.createAggregatedClient)(commands, XRay); // src/pagination/BatchGetTracesPaginator.ts var paginateBatchGetTraces = (0, import_core.createPaginator)(XRayClient, BatchGetTracesCommand, "NextToken", "NextToken", ""); // src/pagination/GetGroupsPaginator.ts var paginateGetGroups = (0, import_core.createPaginator)(XRayClient, GetGroupsCommand, "NextToken", "NextToken", ""); // src/pagination/GetInsightEventsPaginator.ts var paginateGetInsightEvents = (0, import_core.createPaginator)(XRayClient, GetInsightEventsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetInsightSummariesPaginator.ts var paginateGetInsightSummaries = (0, import_core.createPaginator)(XRayClient, GetInsightSummariesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/GetSamplingRulesPaginator.ts var paginateGetSamplingRules = (0, import_core.createPaginator)(XRayClient, GetSamplingRulesCommand, "NextToken", "NextToken", ""); // src/pagination/GetSamplingStatisticSummariesPaginator.ts var paginateGetSamplingStatisticSummaries = (0, import_core.createPaginator)(XRayClient, GetSamplingStatisticSummariesCommand, "NextToken", "NextToken", ""); // src/pagination/GetServiceGraphPaginator.ts var paginateGetServiceGraph = (0, import_core.createPaginator)(XRayClient, GetServiceGraphCommand, "NextToken", "NextToken", ""); // src/pagination/GetTimeSeriesServiceStatisticsPaginator.ts var paginateGetTimeSeriesServiceStatistics = (0, import_core.createPaginator)(XRayClient, GetTimeSeriesServiceStatisticsCommand, "NextToken", "NextToken", ""); // src/pagination/GetTraceGraphPaginator.ts var paginateGetTraceGraph = (0, import_core.createPaginator)(XRayClient, GetTraceGraphCommand, "NextToken", "NextToken", ""); // src/pagination/GetTraceSummariesPaginator.ts var paginateGetTraceSummaries = (0, import_core.createPaginator)(XRayClient, GetTraceSummariesCommand, "NextToken", "NextToken", ""); // src/pagination/ListResourcePoliciesPaginator.ts var paginateListResourcePolicies = (0, import_core.createPaginator)(XRayClient, ListResourcePoliciesCommand, "NextToken", "NextToken", ""); // src/pagination/ListTagsForResourcePaginator.ts var paginateListTagsForResource = (0, import_core.createPaginator)(XRayClient, ListTagsForResourceCommand, "NextToken", "NextToken", "");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { XRayServiceException, __Client, XRayClient, XRay, $Command, 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, paginateBatchGetTraces, paginateGetGroups, paginateGetInsightEvents, paginateGetInsightSummaries, paginateGetSamplingRules, paginateGetSamplingStatisticSummaries, paginateGetServiceGraph, paginateGetTimeSeriesServiceStatistics, paginateGetTraceGraph, paginateGetTraceSummaries, paginateListResourcePolicies, paginateListTagsForResource, AnnotationValue, InvalidRequestException, ThrottledException, ResourceNotFoundException, RuleLimitExceededException, InvalidPolicyRevisionIdException, EncryptionStatus, EncryptionType, IndexingRuleValue, InsightCategory, InsightState, RetrievalStatus, TraceSegmentDestination, TraceSegmentDestinationStatus, SamplingStrategyName, TimeRangeType, TraceFormatType, LockoutPreventionException, MalformedPolicyDocumentException, PolicyCountLimitExceededException, PolicySizeLimitExceededException, TooManyTagsException, IndexingRuleValueUpdate});