/var/runtime/node_modules/@aws-sdk/client-cloudtrail/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, { AccessDeniedException: () => AccessDeniedException, AccountHasOngoingImportException: () => AccountHasOngoingImportException, AccountNotFoundException: () => AccountNotFoundException, AccountNotRegisteredException: () => AccountNotRegisteredException, AccountRegisteredException: () => AccountRegisteredException, AddTagsCommand: () => AddTagsCommand, BillingMode: () => BillingMode, CancelQueryCommand: () => CancelQueryCommand, CannotDelegateManagementAccountException: () => CannotDelegateManagementAccountException, ChannelARNInvalidException: () => ChannelARNInvalidException, ChannelAlreadyExistsException: () => ChannelAlreadyExistsException, ChannelExistsForEDSException: () => ChannelExistsForEDSException, ChannelMaxLimitExceededException: () => ChannelMaxLimitExceededException, ChannelNotFoundException: () => ChannelNotFoundException, CloudTrail: () => CloudTrail, CloudTrailARNInvalidException: () => CloudTrailARNInvalidException, CloudTrailAccessNotEnabledException: () => CloudTrailAccessNotEnabledException, CloudTrailClient: () => CloudTrailClient, CloudTrailInvalidClientTokenIdException: () => CloudTrailInvalidClientTokenIdException, CloudTrailServiceException: () => CloudTrailServiceException, CloudWatchLogsDeliveryUnavailableException: () => CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException: () => ConcurrentModificationException, ConflictException: () => ConflictException, CreateChannelCommand: () => CreateChannelCommand, CreateDashboardCommand: () => CreateDashboardCommand, CreateEventDataStoreCommand: () => CreateEventDataStoreCommand, CreateTrailCommand: () => CreateTrailCommand, DashboardStatus: () => DashboardStatus, DashboardType: () => DashboardType, DelegatedAdminAccountLimitExceededException: () => DelegatedAdminAccountLimitExceededException, DeleteChannelCommand: () => DeleteChannelCommand, DeleteDashboardCommand: () => DeleteDashboardCommand, DeleteEventDataStoreCommand: () => DeleteEventDataStoreCommand, DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand, DeleteTrailCommand: () => DeleteTrailCommand, DeliveryStatus: () => DeliveryStatus, DeregisterOrganizationDelegatedAdminCommand: () => DeregisterOrganizationDelegatedAdminCommand, DescribeQueryCommand: () => DescribeQueryCommand, DescribeTrailsCommand: () => DescribeTrailsCommand, DestinationType: () => DestinationType, DisableFederationCommand: () => DisableFederationCommand, EnableFederationCommand: () => EnableFederationCommand, EventCategory: () => EventCategory, EventDataStoreARNInvalidException: () => EventDataStoreARNInvalidException, EventDataStoreAlreadyExistsException: () => EventDataStoreAlreadyExistsException, EventDataStoreFederationEnabledException: () => EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException: () => EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException: () => EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException: () => EventDataStoreNotFoundException, EventDataStoreStatus: () => EventDataStoreStatus, EventDataStoreTerminationProtectedException: () => EventDataStoreTerminationProtectedException, FederationStatus: () => FederationStatus, GenerateQueryCommand: () => GenerateQueryCommand, GenerateResponseException: () => GenerateResponseException, GetChannelCommand: () => GetChannelCommand, GetDashboardCommand: () => GetDashboardCommand, GetEventConfigurationCommand: () => GetEventConfigurationCommand, GetEventDataStoreCommand: () => GetEventDataStoreCommand, GetEventSelectorsCommand: () => GetEventSelectorsCommand, GetImportCommand: () => GetImportCommand, GetInsightSelectorsCommand: () => GetInsightSelectorsCommand, GetQueryResultsCommand: () => GetQueryResultsCommand, GetResourcePolicyCommand: () => GetResourcePolicyCommand, GetTrailCommand: () => GetTrailCommand, GetTrailStatusCommand: () => GetTrailStatusCommand, ImportFailureStatus: () => ImportFailureStatus, ImportNotFoundException: () => ImportNotFoundException, ImportStatus: () => ImportStatus, InactiveEventDataStoreException: () => InactiveEventDataStoreException, InactiveQueryException: () => InactiveQueryException, InsightNotEnabledException: () => InsightNotEnabledException, InsightType: () => InsightType, InsightsMetricDataType: () => InsightsMetricDataType, InsufficientDependencyServiceAccessPermissionException: () => InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException: () => InsufficientEncryptionPolicyException, InsufficientIAMAccessPermissionException: () => InsufficientIAMAccessPermissionException, InsufficientS3BucketPolicyException: () => InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException: () => InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException: () => InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException: () => InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException: () => InvalidDateRangeException, InvalidEventCategoryException: () => InvalidEventCategoryException, InvalidEventDataStoreCategoryException: () => InvalidEventDataStoreCategoryException, InvalidEventDataStoreStatusException: () => InvalidEventDataStoreStatusException, InvalidEventSelectorsException: () => InvalidEventSelectorsException, InvalidHomeRegionException: () => InvalidHomeRegionException, InvalidImportSourceException: () => InvalidImportSourceException, InvalidInsightSelectorsException: () => InvalidInsightSelectorsException, InvalidKmsKeyIdException: () => InvalidKmsKeyIdException, InvalidLookupAttributesException: () => InvalidLookupAttributesException, InvalidMaxResultsException: () => InvalidMaxResultsException, InvalidNextTokenException: () => InvalidNextTokenException, InvalidParameterCombinationException: () => InvalidParameterCombinationException, InvalidParameterException: () => InvalidParameterException, InvalidQueryStatementException: () => InvalidQueryStatementException, InvalidQueryStatusException: () => InvalidQueryStatusException, InvalidS3BucketNameException: () => InvalidS3BucketNameException, InvalidS3PrefixException: () => InvalidS3PrefixException, InvalidSnsTopicNameException: () => InvalidSnsTopicNameException, InvalidSourceException: () => InvalidSourceException, InvalidTagParameterException: () => InvalidTagParameterException, InvalidTimeRangeException: () => InvalidTimeRangeException, InvalidTokenException: () => InvalidTokenException, InvalidTrailNameException: () => InvalidTrailNameException, KmsException: () => KmsException, KmsKeyDisabledException: () => KmsKeyDisabledException, KmsKeyNotFoundException: () => KmsKeyNotFoundException, ListChannelsCommand: () => ListChannelsCommand, ListDashboardsCommand: () => ListDashboardsCommand, ListEventDataStoresCommand: () => ListEventDataStoresCommand, ListImportFailuresCommand: () => ListImportFailuresCommand, ListImportsCommand: () => ListImportsCommand, ListInsightsMetricDataCommand: () => ListInsightsMetricDataCommand, ListPublicKeysCommand: () => ListPublicKeysCommand, ListQueriesCommand: () => ListQueriesCommand, ListTagsCommand: () => ListTagsCommand, ListTrailsCommand: () => ListTrailsCommand, LookupAttributeKey: () => LookupAttributeKey, LookupEventsCommand: () => LookupEventsCommand, MaxConcurrentQueriesException: () => MaxConcurrentQueriesException, MaxEventSize: () => MaxEventSize, MaximumNumberOfTrailsExceededException: () => MaximumNumberOfTrailsExceededException, NoManagementAccountSLRExistsException: () => NoManagementAccountSLRExistsException, NotOrganizationManagementAccountException: () => NotOrganizationManagementAccountException, NotOrganizationMasterAccountException: () => NotOrganizationMasterAccountException, OperationNotPermittedException: () => OperationNotPermittedException, OrganizationNotInAllFeaturesModeException: () => OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException: () => OrganizationsNotInUseException, PutEventConfigurationCommand: () => PutEventConfigurationCommand, PutEventSelectorsCommand: () => PutEventSelectorsCommand, PutInsightSelectorsCommand: () => PutInsightSelectorsCommand, PutResourcePolicyCommand: () => PutResourcePolicyCommand, QueryIdNotFoundException: () => QueryIdNotFoundException, QueryStatus: () => QueryStatus, ReadWriteType: () => ReadWriteType, RefreshScheduleFrequencyUnit: () => RefreshScheduleFrequencyUnit, RefreshScheduleStatus: () => RefreshScheduleStatus, RegisterOrganizationDelegatedAdminCommand: () => RegisterOrganizationDelegatedAdminCommand, RemoveTagsCommand: () => RemoveTagsCommand, ResourceARNNotValidException: () => ResourceARNNotValidException, ResourceNotFoundException: () => ResourceNotFoundException, ResourcePolicyNotFoundException: () => ResourcePolicyNotFoundException, ResourcePolicyNotValidException: () => ResourcePolicyNotValidException, ResourceTypeNotSupportedException: () => ResourceTypeNotSupportedException, RestoreEventDataStoreCommand: () => RestoreEventDataStoreCommand, S3BucketDoesNotExistException: () => S3BucketDoesNotExistException, SearchSampleQueriesCommand: () => SearchSampleQueriesCommand, ServiceQuotaExceededException: () => ServiceQuotaExceededException, StartDashboardRefreshCommand: () => StartDashboardRefreshCommand, StartEventDataStoreIngestionCommand: () => StartEventDataStoreIngestionCommand, StartImportCommand: () => StartImportCommand, StartLoggingCommand: () => StartLoggingCommand, StartQueryCommand: () => StartQueryCommand, StopEventDataStoreIngestionCommand: () => StopEventDataStoreIngestionCommand, StopImportCommand: () => StopImportCommand, StopLoggingCommand: () => StopLoggingCommand, TagsLimitExceededException: () => TagsLimitExceededException, ThrottlingException: () => ThrottlingException, TrailAlreadyExistsException: () => TrailAlreadyExistsException, TrailNotFoundException: () => TrailNotFoundException, TrailNotProvidedException: () => TrailNotProvidedException, Type: () => Type, UnsupportedOperationException: () => UnsupportedOperationException, UpdateChannelCommand: () => UpdateChannelCommand, UpdateDashboardCommand: () => UpdateDashboardCommand, UpdateEventDataStoreCommand: () => UpdateEventDataStoreCommand, UpdateTrailCommand: () => UpdateTrailCommand, __Client: () => import_smithy_client.Client, paginateGetQueryResults: () => paginateGetQueryResults, paginateListChannels: () => paginateListChannels, paginateListEventDataStores: () => paginateListEventDataStores, paginateListImportFailures: () => paginateListImportFailures, paginateListImports: () => paginateListImports, paginateListInsightsMetricData: () => paginateListInsightsMetricData, paginateListPublicKeys: () => paginateListPublicKeys, paginateListQueries: () => paginateListQueries, paginateListTags: () => paginateListTags, paginateListTrails: () => paginateListTrails, paginateLookupEvents: () => paginateLookupEvents});module.exports = __toCommonJS(index_exports); // src/CloudTrailClient.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: "cloudtrail" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/CloudTrailClient.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/CloudTrailClient.tsvar CloudTrailClient = class extends import_smithy_client.Client { static { __name(this, "CloudTrailClient"); } /** * The resolved configuration of CloudTrailClient class. This is resolved and normalized from the {@link CloudTrailClientConfig | 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.defaultCloudTrailHttpAuthSchemeParametersProvider, 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/CloudTrail.ts // src/commands/AddTagsCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_json1_1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/CloudTrailServiceException.ts var CloudTrailServiceException = class _CloudTrailServiceException extends import_smithy_client.ServiceException { static { __name(this, "CloudTrailServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _CloudTrailServiceException.prototype); }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends CloudTrailServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); this.Message = opts.Message; }};var AccountHasOngoingImportException = class _AccountHasOngoingImportException extends CloudTrailServiceException { static { __name(this, "AccountHasOngoingImportException"); } name = "AccountHasOngoingImportException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "AccountHasOngoingImportException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountHasOngoingImportException.prototype); this.Message = opts.Message; }};var AccountNotFoundException = class _AccountNotFoundException extends CloudTrailServiceException { static { __name(this, "AccountNotFoundException"); } name = "AccountNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "AccountNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountNotFoundException.prototype); this.Message = opts.Message; }};var AccountNotRegisteredException = class _AccountNotRegisteredException extends CloudTrailServiceException { static { __name(this, "AccountNotRegisteredException"); } name = "AccountNotRegisteredException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "AccountNotRegisteredException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountNotRegisteredException.prototype); this.Message = opts.Message; }};var AccountRegisteredException = class _AccountRegisteredException extends CloudTrailServiceException { static { __name(this, "AccountRegisteredException"); } name = "AccountRegisteredException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "AccountRegisteredException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccountRegisteredException.prototype); this.Message = opts.Message; }};var ChannelARNInvalidException = class _ChannelARNInvalidException extends CloudTrailServiceException { static { __name(this, "ChannelARNInvalidException"); } name = "ChannelARNInvalidException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ChannelARNInvalidException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChannelARNInvalidException.prototype); this.Message = opts.Message; }};var ChannelNotFoundException = class _ChannelNotFoundException extends CloudTrailServiceException { static { __name(this, "ChannelNotFoundException"); } name = "ChannelNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ChannelNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChannelNotFoundException.prototype); this.Message = opts.Message; }};var CloudTrailARNInvalidException = class _CloudTrailARNInvalidException extends CloudTrailServiceException { static { __name(this, "CloudTrailARNInvalidException"); } name = "CloudTrailARNInvalidException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "CloudTrailARNInvalidException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CloudTrailARNInvalidException.prototype); this.Message = opts.Message; }};var ConflictException = class _ConflictException extends CloudTrailServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); this.Message = opts.Message; }};var EventDataStoreARNInvalidException = class _EventDataStoreARNInvalidException extends CloudTrailServiceException { static { __name(this, "EventDataStoreARNInvalidException"); } name = "EventDataStoreARNInvalidException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreARNInvalidException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreARNInvalidException.prototype); this.Message = opts.Message; }};var EventDataStoreNotFoundException = class _EventDataStoreNotFoundException extends CloudTrailServiceException { static { __name(this, "EventDataStoreNotFoundException"); } name = "EventDataStoreNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreNotFoundException.prototype); this.Message = opts.Message; }};var InactiveEventDataStoreException = class _InactiveEventDataStoreException extends CloudTrailServiceException { static { __name(this, "InactiveEventDataStoreException"); } name = "InactiveEventDataStoreException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InactiveEventDataStoreException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InactiveEventDataStoreException.prototype); this.Message = opts.Message; }};var InvalidTagParameterException = class _InvalidTagParameterException extends CloudTrailServiceException { static { __name(this, "InvalidTagParameterException"); } name = "InvalidTagParameterException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidTagParameterException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidTagParameterException.prototype); this.Message = opts.Message; }};var InvalidTrailNameException = class _InvalidTrailNameException extends CloudTrailServiceException { static { __name(this, "InvalidTrailNameException"); } name = "InvalidTrailNameException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidTrailNameException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidTrailNameException.prototype); this.Message = opts.Message; }};var NoManagementAccountSLRExistsException = class _NoManagementAccountSLRExistsException extends CloudTrailServiceException { static { __name(this, "NoManagementAccountSLRExistsException"); } name = "NoManagementAccountSLRExistsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "NoManagementAccountSLRExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NoManagementAccountSLRExistsException.prototype); this.Message = opts.Message; }};var NotOrganizationMasterAccountException = class _NotOrganizationMasterAccountException extends CloudTrailServiceException { static { __name(this, "NotOrganizationMasterAccountException"); } name = "NotOrganizationMasterAccountException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "NotOrganizationMasterAccountException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotOrganizationMasterAccountException.prototype); this.Message = opts.Message; }};var OperationNotPermittedException = class _OperationNotPermittedException extends CloudTrailServiceException { static { __name(this, "OperationNotPermittedException"); } name = "OperationNotPermittedException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "OperationNotPermittedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OperationNotPermittedException.prototype); this.Message = opts.Message; }};var ResourceNotFoundException = class _ResourceNotFoundException extends CloudTrailServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); this.Message = opts.Message; }};var ResourceTypeNotSupportedException = class _ResourceTypeNotSupportedException extends CloudTrailServiceException { static { __name(this, "ResourceTypeNotSupportedException"); } name = "ResourceTypeNotSupportedException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ResourceTypeNotSupportedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceTypeNotSupportedException.prototype); this.Message = opts.Message; }};var TagsLimitExceededException = class _TagsLimitExceededException extends CloudTrailServiceException { static { __name(this, "TagsLimitExceededException"); } name = "TagsLimitExceededException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "TagsLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TagsLimitExceededException.prototype); this.Message = opts.Message; }};var UnsupportedOperationException = class _UnsupportedOperationException extends CloudTrailServiceException { static { __name(this, "UnsupportedOperationException"); } name = "UnsupportedOperationException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "UnsupportedOperationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _UnsupportedOperationException.prototype); this.Message = opts.Message; }};var BillingMode = { EXTENDABLE_RETENTION_PRICING: "EXTENDABLE_RETENTION_PRICING", FIXED_RETENTION_PRICING: "FIXED_RETENTION_PRICING"};var QueryStatus = { CANCELLED: "CANCELLED", FAILED: "FAILED", FINISHED: "FINISHED", QUEUED: "QUEUED", RUNNING: "RUNNING", TIMED_OUT: "TIMED_OUT"};var InactiveQueryException = class _InactiveQueryException extends CloudTrailServiceException { static { __name(this, "InactiveQueryException"); } name = "InactiveQueryException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InactiveQueryException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InactiveQueryException.prototype); this.Message = opts.Message; }};var InvalidParameterException = class _InvalidParameterException extends CloudTrailServiceException { static { __name(this, "InvalidParameterException"); } name = "InvalidParameterException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidParameterException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidParameterException.prototype); this.Message = opts.Message; }};var QueryIdNotFoundException = class _QueryIdNotFoundException extends CloudTrailServiceException { static { __name(this, "QueryIdNotFoundException"); } name = "QueryIdNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "QueryIdNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _QueryIdNotFoundException.prototype); this.Message = opts.Message; }};var CannotDelegateManagementAccountException = class _CannotDelegateManagementAccountException extends CloudTrailServiceException { static { __name(this, "CannotDelegateManagementAccountException"); } name = "CannotDelegateManagementAccountException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "CannotDelegateManagementAccountException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CannotDelegateManagementAccountException.prototype); this.Message = opts.Message; }};var ChannelAlreadyExistsException = class _ChannelAlreadyExistsException extends CloudTrailServiceException { static { __name(this, "ChannelAlreadyExistsException"); } name = "ChannelAlreadyExistsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ChannelAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChannelAlreadyExistsException.prototype); this.Message = opts.Message; }};var ChannelExistsForEDSException = class _ChannelExistsForEDSException extends CloudTrailServiceException { static { __name(this, "ChannelExistsForEDSException"); } name = "ChannelExistsForEDSException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ChannelExistsForEDSException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChannelExistsForEDSException.prototype); this.Message = opts.Message; }};var ChannelMaxLimitExceededException = class _ChannelMaxLimitExceededException extends CloudTrailServiceException { static { __name(this, "ChannelMaxLimitExceededException"); } name = "ChannelMaxLimitExceededException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ChannelMaxLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ChannelMaxLimitExceededException.prototype); this.Message = opts.Message; }};var DestinationType = { AWS_SERVICE: "AWS_SERVICE", EVENT_DATA_STORE: "EVENT_DATA_STORE"};var InvalidEventDataStoreCategoryException = class _InvalidEventDataStoreCategoryException extends CloudTrailServiceException { static { __name(this, "InvalidEventDataStoreCategoryException"); } name = "InvalidEventDataStoreCategoryException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidEventDataStoreCategoryException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidEventDataStoreCategoryException.prototype); this.Message = opts.Message; }};var InvalidSourceException = class _InvalidSourceException extends CloudTrailServiceException { static { __name(this, "InvalidSourceException"); } name = "InvalidSourceException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidSourceException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidSourceException.prototype); this.Message = opts.Message; }};var RefreshScheduleFrequencyUnit = { DAYS: "DAYS", HOURS: "HOURS"};var RefreshScheduleStatus = { DISABLED: "DISABLED", ENABLED: "ENABLED"};var DashboardType = { CUSTOM: "CUSTOM", MANAGED: "MANAGED"};var InsufficientEncryptionPolicyException = class _InsufficientEncryptionPolicyException extends CloudTrailServiceException { static { __name(this, "InsufficientEncryptionPolicyException"); } name = "InsufficientEncryptionPolicyException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InsufficientEncryptionPolicyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsufficientEncryptionPolicyException.prototype); this.Message = opts.Message; }};var InvalidQueryStatementException = class _InvalidQueryStatementException extends CloudTrailServiceException { static { __name(this, "InvalidQueryStatementException"); } name = "InvalidQueryStatementException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidQueryStatementException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidQueryStatementException.prototype); this.Message = opts.Message; }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CloudTrailServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.Message = opts.Message; }};var CloudTrailAccessNotEnabledException = class _CloudTrailAccessNotEnabledException extends CloudTrailServiceException { static { __name(this, "CloudTrailAccessNotEnabledException"); } name = "CloudTrailAccessNotEnabledException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "CloudTrailAccessNotEnabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CloudTrailAccessNotEnabledException.prototype); this.Message = opts.Message; }};var EventDataStoreStatus = { CREATED: "CREATED", ENABLED: "ENABLED", PENDING_DELETION: "PENDING_DELETION", STARTING_INGESTION: "STARTING_INGESTION", STOPPED_INGESTION: "STOPPED_INGESTION", STOPPING_INGESTION: "STOPPING_INGESTION"};var EventDataStoreAlreadyExistsException = class _EventDataStoreAlreadyExistsException extends CloudTrailServiceException { static { __name(this, "EventDataStoreAlreadyExistsException"); } name = "EventDataStoreAlreadyExistsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreAlreadyExistsException.prototype); this.Message = opts.Message; }};var EventDataStoreMaxLimitExceededException = class _EventDataStoreMaxLimitExceededException extends CloudTrailServiceException { static { __name(this, "EventDataStoreMaxLimitExceededException"); } name = "EventDataStoreMaxLimitExceededException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreMaxLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreMaxLimitExceededException.prototype); this.Message = opts.Message; }};var InsufficientDependencyServiceAccessPermissionException = class _InsufficientDependencyServiceAccessPermissionException extends CloudTrailServiceException { static { __name(this, "InsufficientDependencyServiceAccessPermissionException"); } name = "InsufficientDependencyServiceAccessPermissionException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InsufficientDependencyServiceAccessPermissionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsufficientDependencyServiceAccessPermissionException.prototype); this.Message = opts.Message; }};var InvalidEventSelectorsException = class _InvalidEventSelectorsException extends CloudTrailServiceException { static { __name(this, "InvalidEventSelectorsException"); } name = "InvalidEventSelectorsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidEventSelectorsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidEventSelectorsException.prototype); this.Message = opts.Message; }};var InvalidKmsKeyIdException = class _InvalidKmsKeyIdException extends CloudTrailServiceException { static { __name(this, "InvalidKmsKeyIdException"); } name = "InvalidKmsKeyIdException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidKmsKeyIdException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidKmsKeyIdException.prototype); this.Message = opts.Message; }};var KmsException = class _KmsException extends CloudTrailServiceException { static { __name(this, "KmsException"); } name = "KmsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "KmsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _KmsException.prototype); this.Message = opts.Message; }};var KmsKeyNotFoundException = class _KmsKeyNotFoundException extends CloudTrailServiceException { static { __name(this, "KmsKeyNotFoundException"); } name = "KmsKeyNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "KmsKeyNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _KmsKeyNotFoundException.prototype); this.Message = opts.Message; }};var OrganizationNotInAllFeaturesModeException = class _OrganizationNotInAllFeaturesModeException extends CloudTrailServiceException { static { __name(this, "OrganizationNotInAllFeaturesModeException"); } name = "OrganizationNotInAllFeaturesModeException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "OrganizationNotInAllFeaturesModeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OrganizationNotInAllFeaturesModeException.prototype); this.Message = opts.Message; }};var OrganizationsNotInUseException = class _OrganizationsNotInUseException extends CloudTrailServiceException { static { __name(this, "OrganizationsNotInUseException"); } name = "OrganizationsNotInUseException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "OrganizationsNotInUseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _OrganizationsNotInUseException.prototype); this.Message = opts.Message; }};var CloudTrailInvalidClientTokenIdException = class _CloudTrailInvalidClientTokenIdException extends CloudTrailServiceException { static { __name(this, "CloudTrailInvalidClientTokenIdException"); } name = "CloudTrailInvalidClientTokenIdException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "CloudTrailInvalidClientTokenIdException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CloudTrailInvalidClientTokenIdException.prototype); this.Message = opts.Message; }};var CloudWatchLogsDeliveryUnavailableException = class _CloudWatchLogsDeliveryUnavailableException extends CloudTrailServiceException { static { __name(this, "CloudWatchLogsDeliveryUnavailableException"); } name = "CloudWatchLogsDeliveryUnavailableException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "CloudWatchLogsDeliveryUnavailableException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _CloudWatchLogsDeliveryUnavailableException.prototype); this.Message = opts.Message; }};var InsufficientS3BucketPolicyException = class _InsufficientS3BucketPolicyException extends CloudTrailServiceException { static { __name(this, "InsufficientS3BucketPolicyException"); } name = "InsufficientS3BucketPolicyException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InsufficientS3BucketPolicyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsufficientS3BucketPolicyException.prototype); this.Message = opts.Message; }};var InsufficientSnsTopicPolicyException = class _InsufficientSnsTopicPolicyException extends CloudTrailServiceException { static { __name(this, "InsufficientSnsTopicPolicyException"); } name = "InsufficientSnsTopicPolicyException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InsufficientSnsTopicPolicyException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsufficientSnsTopicPolicyException.prototype); this.Message = opts.Message; }};var InvalidCloudWatchLogsLogGroupArnException = class _InvalidCloudWatchLogsLogGroupArnException extends CloudTrailServiceException { static { __name(this, "InvalidCloudWatchLogsLogGroupArnException"); } name = "InvalidCloudWatchLogsLogGroupArnException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidCloudWatchLogsLogGroupArnException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidCloudWatchLogsLogGroupArnException.prototype); this.Message = opts.Message; }};var InvalidCloudWatchLogsRoleArnException = class _InvalidCloudWatchLogsRoleArnException extends CloudTrailServiceException { static { __name(this, "InvalidCloudWatchLogsRoleArnException"); } name = "InvalidCloudWatchLogsRoleArnException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidCloudWatchLogsRoleArnException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidCloudWatchLogsRoleArnException.prototype); this.Message = opts.Message; }};var InvalidParameterCombinationException = class _InvalidParameterCombinationException extends CloudTrailServiceException { static { __name(this, "InvalidParameterCombinationException"); } name = "InvalidParameterCombinationException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidParameterCombinationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidParameterCombinationException.prototype); this.Message = opts.Message; }};var InvalidS3BucketNameException = class _InvalidS3BucketNameException extends CloudTrailServiceException { static { __name(this, "InvalidS3BucketNameException"); } name = "InvalidS3BucketNameException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidS3BucketNameException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidS3BucketNameException.prototype); this.Message = opts.Message; }};var InvalidS3PrefixException = class _InvalidS3PrefixException extends CloudTrailServiceException { static { __name(this, "InvalidS3PrefixException"); } name = "InvalidS3PrefixException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidS3PrefixException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidS3PrefixException.prototype); this.Message = opts.Message; }};var InvalidSnsTopicNameException = class _InvalidSnsTopicNameException extends CloudTrailServiceException { static { __name(this, "InvalidSnsTopicNameException"); } name = "InvalidSnsTopicNameException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidSnsTopicNameException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidSnsTopicNameException.prototype); this.Message = opts.Message; }};var KmsKeyDisabledException = class _KmsKeyDisabledException extends CloudTrailServiceException { static { __name(this, "KmsKeyDisabledException"); } name = "KmsKeyDisabledException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "KmsKeyDisabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _KmsKeyDisabledException.prototype); this.Message = opts.Message; }};var MaximumNumberOfTrailsExceededException = class _MaximumNumberOfTrailsExceededException extends CloudTrailServiceException { static { __name(this, "MaximumNumberOfTrailsExceededException"); } name = "MaximumNumberOfTrailsExceededException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "MaximumNumberOfTrailsExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _MaximumNumberOfTrailsExceededException.prototype); this.Message = opts.Message; }};var S3BucketDoesNotExistException = class _S3BucketDoesNotExistException extends CloudTrailServiceException { static { __name(this, "S3BucketDoesNotExistException"); } name = "S3BucketDoesNotExistException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "S3BucketDoesNotExistException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _S3BucketDoesNotExistException.prototype); this.Message = opts.Message; }};var ThrottlingException = class _ThrottlingException extends CloudTrailServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); this.Message = opts.Message; }};var TrailAlreadyExistsException = class _TrailAlreadyExistsException extends CloudTrailServiceException { static { __name(this, "TrailAlreadyExistsException"); } name = "TrailAlreadyExistsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "TrailAlreadyExistsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TrailAlreadyExistsException.prototype); this.Message = opts.Message; }};var TrailNotProvidedException = class _TrailNotProvidedException extends CloudTrailServiceException { static { __name(this, "TrailNotProvidedException"); } name = "TrailNotProvidedException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "TrailNotProvidedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TrailNotProvidedException.prototype); this.Message = opts.Message; }};var EventDataStoreFederationEnabledException = class _EventDataStoreFederationEnabledException extends CloudTrailServiceException { static { __name(this, "EventDataStoreFederationEnabledException"); } name = "EventDataStoreFederationEnabledException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreFederationEnabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreFederationEnabledException.prototype); this.Message = opts.Message; }};var EventDataStoreHasOngoingImportException = class _EventDataStoreHasOngoingImportException extends CloudTrailServiceException { static { __name(this, "EventDataStoreHasOngoingImportException"); } name = "EventDataStoreHasOngoingImportException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreHasOngoingImportException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreHasOngoingImportException.prototype); this.Message = opts.Message; }};var EventDataStoreTerminationProtectedException = class _EventDataStoreTerminationProtectedException extends CloudTrailServiceException { static { __name(this, "EventDataStoreTerminationProtectedException"); } name = "EventDataStoreTerminationProtectedException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "EventDataStoreTerminationProtectedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _EventDataStoreTerminationProtectedException.prototype); this.Message = opts.Message; }};var ResourceARNNotValidException = class _ResourceARNNotValidException extends CloudTrailServiceException { static { __name(this, "ResourceARNNotValidException"); } name = "ResourceARNNotValidException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ResourceARNNotValidException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceARNNotValidException.prototype); this.Message = opts.Message; }};var ResourcePolicyNotFoundException = class _ResourcePolicyNotFoundException extends CloudTrailServiceException { static { __name(this, "ResourcePolicyNotFoundException"); } name = "ResourcePolicyNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ResourcePolicyNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourcePolicyNotFoundException.prototype); this.Message = opts.Message; }};var InvalidHomeRegionException = class _InvalidHomeRegionException extends CloudTrailServiceException { static { __name(this, "InvalidHomeRegionException"); } name = "InvalidHomeRegionException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidHomeRegionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidHomeRegionException.prototype); this.Message = opts.Message; }};var TrailNotFoundException = class _TrailNotFoundException extends CloudTrailServiceException { static { __name(this, "TrailNotFoundException"); } name = "TrailNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "TrailNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _TrailNotFoundException.prototype); this.Message = opts.Message; }};var NotOrganizationManagementAccountException = class _NotOrganizationManagementAccountException extends CloudTrailServiceException { static { __name(this, "NotOrganizationManagementAccountException"); } name = "NotOrganizationManagementAccountException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "NotOrganizationManagementAccountException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _NotOrganizationManagementAccountException.prototype); this.Message = opts.Message; }};var DeliveryStatus = { ACCESS_DENIED: "ACCESS_DENIED", ACCESS_DENIED_SIGNING_FILE: "ACCESS_DENIED_SIGNING_FILE", CANCELLED: "CANCELLED", FAILED: "FAILED", FAILED_SIGNING_FILE: "FAILED_SIGNING_FILE", PENDING: "PENDING", RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND", SUCCESS: "SUCCESS", UNKNOWN: "UNKNOWN"};var ConcurrentModificationException = class _ConcurrentModificationException extends CloudTrailServiceException { static { __name(this, "ConcurrentModificationException"); } name = "ConcurrentModificationException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ConcurrentModificationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConcurrentModificationException.prototype); this.Message = opts.Message; }};var FederationStatus = { DISABLED: "DISABLED", DISABLING: "DISABLING", ENABLED: "ENABLED", ENABLING: "ENABLING"};var GenerateResponseException = class _GenerateResponseException extends CloudTrailServiceException { static { __name(this, "GenerateResponseException"); } name = "GenerateResponseException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "GenerateResponseException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _GenerateResponseException.prototype); this.Message = opts.Message; }};var DashboardStatus = { CREATED: "CREATED", CREATING: "CREATING", DELETING: "DELETING", UPDATED: "UPDATED", UPDATING: "UPDATING"};var Type = { RequestContext: "RequestContext", TagContext: "TagContext"};var MaxEventSize = { Large: "Large", Standard: "Standard"};var InvalidEventDataStoreStatusException = class _InvalidEventDataStoreStatusException extends CloudTrailServiceException { static { __name(this, "InvalidEventDataStoreStatusException"); } name = "InvalidEventDataStoreStatusException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidEventDataStoreStatusException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidEventDataStoreStatusException.prototype); this.Message = opts.Message; }};var ReadWriteType = { All: "All", ReadOnly: "ReadOnly", WriteOnly: "WriteOnly"};var ImportStatus = { COMPLETED: "COMPLETED", FAILED: "FAILED", INITIALIZING: "INITIALIZING", IN_PROGRESS: "IN_PROGRESS", STOPPED: "STOPPED"};var ImportNotFoundException = class _ImportNotFoundException extends CloudTrailServiceException { static { __name(this, "ImportNotFoundException"); } name = "ImportNotFoundException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ImportNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ImportNotFoundException.prototype); this.Message = opts.Message; }};var InsightType = { ApiCallRateInsight: "ApiCallRateInsight", ApiErrorRateInsight: "ApiErrorRateInsight"};var InsightNotEnabledException = class _InsightNotEnabledException extends CloudTrailServiceException { static { __name(this, "InsightNotEnabledException"); } name = "InsightNotEnabledException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InsightNotEnabledException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsightNotEnabledException.prototype); this.Message = opts.Message; }};var InvalidMaxResultsException = class _InvalidMaxResultsException extends CloudTrailServiceException { static { __name(this, "InvalidMaxResultsException"); } name = "InvalidMaxResultsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidMaxResultsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidMaxResultsException.prototype); this.Message = opts.Message; }};var InvalidNextTokenException = class _InvalidNextTokenException extends CloudTrailServiceException { static { __name(this, "InvalidNextTokenException"); } name = "InvalidNextTokenException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidNextTokenException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidNextTokenException.prototype); this.Message = opts.Message; }};var ImportFailureStatus = { FAILED: "FAILED", RETRY: "RETRY", SUCCEEDED: "SUCCEEDED"};var InsightsMetricDataType = { FILL_WITH_ZEROS: "FillWithZeros", NON_ZERO_DATA: "NonZeroData"};var InvalidTimeRangeException = class _InvalidTimeRangeException extends CloudTrailServiceException { static { __name(this, "InvalidTimeRangeException"); } name = "InvalidTimeRangeException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidTimeRangeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidTimeRangeException.prototype); this.Message = opts.Message; }};var InvalidTokenException = class _InvalidTokenException extends CloudTrailServiceException { static { __name(this, "InvalidTokenException"); } name = "InvalidTokenException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidTokenException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidTokenException.prototype); this.Message = opts.Message; }};var InvalidDateRangeException = class _InvalidDateRangeException extends CloudTrailServiceException { static { __name(this, "InvalidDateRangeException"); } name = "InvalidDateRangeException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidDateRangeException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidDateRangeException.prototype); this.Message = opts.Message; }};var InvalidQueryStatusException = class _InvalidQueryStatusException extends CloudTrailServiceException { static { __name(this, "InvalidQueryStatusException"); } name = "InvalidQueryStatusException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidQueryStatusException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidQueryStatusException.prototype); this.Message = opts.Message; }};var InvalidEventCategoryException = class _InvalidEventCategoryException extends CloudTrailServiceException { static { __name(this, "InvalidEventCategoryException"); } name = "InvalidEventCategoryException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidEventCategoryException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidEventCategoryException.prototype); this.Message = opts.Message; }};var InvalidLookupAttributesException = class _InvalidLookupAttributesException extends CloudTrailServiceException { static { __name(this, "InvalidLookupAttributesException"); } name = "InvalidLookupAttributesException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidLookupAttributesException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidLookupAttributesException.prototype); this.Message = opts.Message; }};var EventCategory = { Insight: "insight"};var LookupAttributeKey = { ACCESS_KEY_ID: "AccessKeyId", EVENT_ID: "EventId", EVENT_NAME: "EventName", EVENT_SOURCE: "EventSource", READ_ONLY: "ReadOnly", RESOURCE_NAME: "ResourceName", RESOURCE_TYPE: "ResourceType", USERNAME: "Username"};var InsufficientIAMAccessPermissionException = class _InsufficientIAMAccessPermissionException extends CloudTrailServiceException { static { __name(this, "InsufficientIAMAccessPermissionException"); } name = "InsufficientIAMAccessPermissionException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InsufficientIAMAccessPermissionException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InsufficientIAMAccessPermissionException.prototype); this.Message = opts.Message; }};var InvalidInsightSelectorsException = class _InvalidInsightSelectorsException extends CloudTrailServiceException { static { __name(this, "InvalidInsightSelectorsException"); } name = "InvalidInsightSelectorsException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidInsightSelectorsException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidInsightSelectorsException.prototype); this.Message = opts.Message; }};var ResourcePolicyNotValidException = class _ResourcePolicyNotValidException extends CloudTrailServiceException { static { __name(this, "ResourcePolicyNotValidException"); } name = "ResourcePolicyNotValidException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "ResourcePolicyNotValidException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourcePolicyNotValidException.prototype); this.Message = opts.Message; }};var DelegatedAdminAccountLimitExceededException = class _DelegatedAdminAccountLimitExceededException extends CloudTrailServiceException { static { __name(this, "DelegatedAdminAccountLimitExceededException"); } name = "DelegatedAdminAccountLimitExceededException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "DelegatedAdminAccountLimitExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _DelegatedAdminAccountLimitExceededException.prototype); this.Message = opts.Message; }};var InvalidImportSourceException = class _InvalidImportSourceException extends CloudTrailServiceException { static { __name(this, "InvalidImportSourceException"); } name = "InvalidImportSourceException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "InvalidImportSourceException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _InvalidImportSourceException.prototype); this.Message = opts.Message; }};var MaxConcurrentQueriesException = class _MaxConcurrentQueriesException extends CloudTrailServiceException { static { __name(this, "MaxConcurrentQueriesException"); } name = "MaxConcurrentQueriesException"; $fault = "client"; /** * <p>Brief description of the exception returned by the request.</p> * @public */ Message; /** * @internal */ constructor(opts) { super({ name: "MaxConcurrentQueriesException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _MaxConcurrentQueriesException.prototype); this.Message = opts.Message; }}; // src/protocols/Aws_json1_1.tsvar se_AddTagsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("AddTags"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_AddTagsCommand");var se_CancelQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CancelQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CancelQueryCommand");var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateChannel"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateChannelCommand");var se_CreateDashboardCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateDashboard"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateDashboardCommand");var se_CreateEventDataStoreCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateEventDataStore"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateEventDataStoreCommand");var se_CreateTrailCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("CreateTrail"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_CreateTrailCommand");var se_DeleteChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteChannel"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteChannelCommand");var se_DeleteDashboardCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteDashboard"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteDashboardCommand");var se_DeleteEventDataStoreCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteEventDataStore"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteEventDataStoreCommand");var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteResourcePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteResourcePolicyCommand");var se_DeleteTrailCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeleteTrail"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeleteTrailCommand");var se_DeregisterOrganizationDelegatedAdminCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DeregisterOrganizationDelegatedAdmin"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DeregisterOrganizationDelegatedAdminCommand");var se_DescribeQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeQueryCommand");var se_DescribeTrailsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DescribeTrails"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DescribeTrailsCommand");var se_DisableFederationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("DisableFederation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_DisableFederationCommand");var se_EnableFederationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("EnableFederation"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_EnableFederationCommand");var se_GenerateQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GenerateQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GenerateQueryCommand");var se_GetChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetChannel"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetChannelCommand");var se_GetDashboardCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetDashboard"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetDashboardCommand");var se_GetEventConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetEventConfiguration"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetEventConfigurationCommand");var se_GetEventDataStoreCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetEventDataStore"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetEventDataStoreCommand");var se_GetEventSelectorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetEventSelectors"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetEventSelectorsCommand");var se_GetImportCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetImport"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetImportCommand");var se_GetInsightSelectorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetInsightSelectors"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetInsightSelectorsCommand");var se_GetQueryResultsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetQueryResults"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetQueryResultsCommand");var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetResourcePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetResourcePolicyCommand");var se_GetTrailCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetTrail"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetTrailCommand");var se_GetTrailStatusCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("GetTrailStatus"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_GetTrailStatusCommand");var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListChannels"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListChannelsCommand");var se_ListDashboardsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListDashboards"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListDashboardsCommand");var se_ListEventDataStoresCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListEventDataStores"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListEventDataStoresCommand");var se_ListImportFailuresCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListImportFailures"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListImportFailuresCommand");var se_ListImportsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListImports"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListImportsCommand");var se_ListInsightsMetricDataCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListInsightsMetricData"); let body; body = JSON.stringify(se_ListInsightsMetricDataRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListInsightsMetricDataCommand");var se_ListPublicKeysCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListPublicKeys"); let body; body = JSON.stringify(se_ListPublicKeysRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListPublicKeysCommand");var se_ListQueriesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListQueries"); let body; body = JSON.stringify(se_ListQueriesRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListQueriesCommand");var se_ListTagsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTags"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTagsCommand");var se_ListTrailsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("ListTrails"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_ListTrailsCommand");var se_LookupEventsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("LookupEvents"); let body; body = JSON.stringify(se_LookupEventsRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_LookupEventsCommand");var se_PutEventConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("PutEventConfiguration"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_PutEventConfigurationCommand");var se_PutEventSelectorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("PutEventSelectors"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_PutEventSelectorsCommand");var se_PutInsightSelectorsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("PutInsightSelectors"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_PutInsightSelectorsCommand");var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("PutResourcePolicy"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_PutResourcePolicyCommand");var se_RegisterOrganizationDelegatedAdminCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("RegisterOrganizationDelegatedAdmin"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RegisterOrganizationDelegatedAdminCommand");var se_RemoveTagsCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("RemoveTags"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RemoveTagsCommand");var se_RestoreEventDataStoreCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("RestoreEventDataStore"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_RestoreEventDataStoreCommand");var se_SearchSampleQueriesCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("SearchSampleQueries"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_SearchSampleQueriesCommand");var se_StartDashboardRefreshCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartDashboardRefresh"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartDashboardRefreshCommand");var se_StartEventDataStoreIngestionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartEventDataStoreIngestion"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartEventDataStoreIngestionCommand");var se_StartImportCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartImport"); let body; body = JSON.stringify(se_StartImportRequest(input, context)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartImportCommand");var se_StartLoggingCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartLogging"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartLoggingCommand");var se_StartQueryCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StartQuery"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StartQueryCommand");var se_StopEventDataStoreIngestionCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StopEventDataStoreIngestion"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StopEventDataStoreIngestionCommand");var se_StopImportCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StopImport"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StopImportCommand");var se_StopLoggingCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("StopLogging"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_StopLoggingCommand");var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateChannel"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateChannelCommand");var se_UpdateDashboardCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateDashboard"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateDashboardCommand");var se_UpdateEventDataStoreCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateEventDataStore"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateEventDataStoreCommand");var se_UpdateTrailCommand = /* @__PURE__ */ __name(async (input, context) => { const headers = sharedHeaders("UpdateTrail"); let body; body = JSON.stringify((0, import_smithy_client._json)(input)); return buildHttpRpcRequest(context, headers, "/", void 0, body);}, "se_UpdateTrailCommand");var de_AddTagsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_AddTagsCommand");var de_CancelQueryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CancelQueryCommand");var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateChannelCommand");var de_CreateDashboardCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateDashboardCommand");var de_CreateEventDataStoreCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_CreateEventDataStoreResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateEventDataStoreCommand");var de_CreateTrailCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_CreateTrailCommand");var de_DeleteChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteChannelCommand");var de_DeleteDashboardCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteDashboardCommand");var de_DeleteEventDataStoreCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteEventDataStoreCommand");var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteResourcePolicyCommand");var de_DeleteTrailCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeleteTrailCommand");var de_DeregisterOrganizationDelegatedAdminCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DeregisterOrganizationDelegatedAdminCommand");var de_DescribeQueryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_DescribeQueryResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeQueryCommand");var de_DescribeTrailsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DescribeTrailsCommand");var de_DisableFederationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_DisableFederationCommand");var de_EnableFederationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_EnableFederationCommand");var de_GenerateQueryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GenerateQueryCommand");var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetChannelResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetChannelCommand");var de_GetDashboardCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetDashboardResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetDashboardCommand");var de_GetEventConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetEventConfigurationCommand");var de_GetEventDataStoreCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetEventDataStoreResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetEventDataStoreCommand");var de_GetEventSelectorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetEventSelectorsCommand");var de_GetImportCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetImportResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetImportCommand");var de_GetInsightSelectorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetInsightSelectorsCommand");var de_GetQueryResultsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetQueryResultsCommand");var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetResourcePolicyCommand");var de_GetTrailCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetTrailCommand");var de_GetTrailStatusCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_GetTrailStatusResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_GetTrailStatusCommand");var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListChannelsCommand");var de_ListDashboardsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListDashboardsCommand");var de_ListEventDataStoresCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListEventDataStoresResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListEventDataStoresCommand");var de_ListImportFailuresCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListImportFailuresResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListImportFailuresCommand");var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListImportsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListImportsCommand");var de_ListInsightsMetricDataCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListInsightsMetricDataResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListInsightsMetricDataCommand");var de_ListPublicKeysCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListPublicKeysResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListPublicKeysCommand");var de_ListQueriesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_ListQueriesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListQueriesCommand");var de_ListTagsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTagsCommand");var de_ListTrailsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_ListTrailsCommand");var de_LookupEventsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_LookupEventsResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_LookupEventsCommand");var de_PutEventConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_PutEventConfigurationCommand");var de_PutEventSelectorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_PutEventSelectorsCommand");var de_PutInsightSelectorsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_PutInsightSelectorsCommand");var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_PutResourcePolicyCommand");var de_RegisterOrganizationDelegatedAdminCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_RegisterOrganizationDelegatedAdminCommand");var de_RemoveTagsCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_RemoveTagsCommand");var de_RestoreEventDataStoreCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_RestoreEventDataStoreResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_RestoreEventDataStoreCommand");var de_SearchSampleQueriesCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_SearchSampleQueriesResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_SearchSampleQueriesCommand");var de_StartDashboardRefreshCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StartDashboardRefreshCommand");var de_StartEventDataStoreIngestionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StartEventDataStoreIngestionCommand");var de_StartImportCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_StartImportResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StartImportCommand");var de_StartLoggingCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StartLoggingCommand");var de_StartQueryCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StartQueryCommand");var de_StopEventDataStoreIngestionCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StopEventDataStoreIngestionCommand");var de_StopImportCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_StopImportResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StopImportCommand");var de_StopLoggingCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_StopLoggingCommand");var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateChannelCommand");var de_UpdateDashboardCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UpdateDashboardResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateDashboardCommand");var de_UpdateEventDataStoreCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = de_UpdateEventDataStoreResponse(data, context); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateEventDataStoreCommand");var de_UpdateTrailCommand = /* @__PURE__ */ __name(async (output, context) => { if (output.statusCode >= 300) { return de_CommandError(output, context); } const data = await (0, import_core2.parseJsonBody)(output.body, context); let contents = {}; contents = (0, import_smithy_client._json)(data); const response = { $metadata: deserializeMetadata(output), ...contents }; return response;}, "de_UpdateTrailCommand");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 "ChannelARNInvalidException": case "com.amazonaws.cloudtrail#ChannelARNInvalidException": throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context); case "ChannelNotFoundException": case "com.amazonaws.cloudtrail#ChannelNotFoundException": throw await de_ChannelNotFoundExceptionRes(parsedOutput, context); case "CloudTrailARNInvalidException": case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException": throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.cloudtrail#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "EventDataStoreARNInvalidException": case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException": throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context); case "EventDataStoreNotFoundException": case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException": throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context); case "InactiveEventDataStoreException": case "com.amazonaws.cloudtrail#InactiveEventDataStoreException": throw await de_InactiveEventDataStoreExceptionRes(parsedOutput, context); case "InvalidTagParameterException": case "com.amazonaws.cloudtrail#InvalidTagParameterException": throw await de_InvalidTagParameterExceptionRes(parsedOutput, context); case "InvalidTrailNameException": case "com.amazonaws.cloudtrail#InvalidTrailNameException": throw await de_InvalidTrailNameExceptionRes(parsedOutput, context); case "NoManagementAccountSLRExistsException": case "com.amazonaws.cloudtrail#NoManagementAccountSLRExistsException": throw await de_NoManagementAccountSLRExistsExceptionRes(parsedOutput, context); case "NotOrganizationMasterAccountException": case "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException": throw await de_NotOrganizationMasterAccountExceptionRes(parsedOutput, context); case "OperationNotPermittedException": case "com.amazonaws.cloudtrail#OperationNotPermittedException": throw await de_OperationNotPermittedExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.cloudtrail#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ResourceTypeNotSupportedException": case "com.amazonaws.cloudtrail#ResourceTypeNotSupportedException": throw await de_ResourceTypeNotSupportedExceptionRes(parsedOutput, context); case "TagsLimitExceededException": case "com.amazonaws.cloudtrail#TagsLimitExceededException": throw await de_TagsLimitExceededExceptionRes(parsedOutput, context); case "UnsupportedOperationException": case "com.amazonaws.cloudtrail#UnsupportedOperationException": throw await de_UnsupportedOperationExceptionRes(parsedOutput, context); case "InactiveQueryException": case "com.amazonaws.cloudtrail#InactiveQueryException": throw await de_InactiveQueryExceptionRes(parsedOutput, context); case "InvalidParameterException": case "com.amazonaws.cloudtrail#InvalidParameterException": throw await de_InvalidParameterExceptionRes(parsedOutput, context); case "QueryIdNotFoundException": case "com.amazonaws.cloudtrail#QueryIdNotFoundException": throw await de_QueryIdNotFoundExceptionRes(parsedOutput, context); case "ChannelAlreadyExistsException": case "com.amazonaws.cloudtrail#ChannelAlreadyExistsException": throw await de_ChannelAlreadyExistsExceptionRes(parsedOutput, context); case "ChannelMaxLimitExceededException": case "com.amazonaws.cloudtrail#ChannelMaxLimitExceededException": throw await de_ChannelMaxLimitExceededExceptionRes(parsedOutput, context); case "InvalidEventDataStoreCategoryException": case "com.amazonaws.cloudtrail#InvalidEventDataStoreCategoryException": throw await de_InvalidEventDataStoreCategoryExceptionRes(parsedOutput, context); case "InvalidSourceException": case "com.amazonaws.cloudtrail#InvalidSourceException": throw await de_InvalidSourceExceptionRes(parsedOutput, context); case "InsufficientEncryptionPolicyException": case "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException": throw await de_InsufficientEncryptionPolicyExceptionRes(parsedOutput, context); case "InvalidQueryStatementException": case "com.amazonaws.cloudtrail#InvalidQueryStatementException": throw await de_InvalidQueryStatementExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.cloudtrail#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); case "CloudTrailAccessNotEnabledException": case "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException": throw await de_CloudTrailAccessNotEnabledExceptionRes(parsedOutput, context); case "EventDataStoreAlreadyExistsException": case "com.amazonaws.cloudtrail#EventDataStoreAlreadyExistsException": throw await de_EventDataStoreAlreadyExistsExceptionRes(parsedOutput, context); case "EventDataStoreMaxLimitExceededException": case "com.amazonaws.cloudtrail#EventDataStoreMaxLimitExceededException": throw await de_EventDataStoreMaxLimitExceededExceptionRes(parsedOutput, context); case "InsufficientDependencyServiceAccessPermissionException": case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException": throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context); case "InvalidEventSelectorsException": case "com.amazonaws.cloudtrail#InvalidEventSelectorsException": throw await de_InvalidEventSelectorsExceptionRes(parsedOutput, context); case "InvalidKmsKeyIdException": case "com.amazonaws.cloudtrail#InvalidKmsKeyIdException": throw await de_InvalidKmsKeyIdExceptionRes(parsedOutput, context); case "KmsException": case "com.amazonaws.cloudtrail#KmsException": throw await de_KmsExceptionRes(parsedOutput, context); case "KmsKeyNotFoundException": case "com.amazonaws.cloudtrail#KmsKeyNotFoundException": throw await de_KmsKeyNotFoundExceptionRes(parsedOutput, context); case "OrganizationNotInAllFeaturesModeException": case "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException": throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context); case "OrganizationsNotInUseException": case "com.amazonaws.cloudtrail#OrganizationsNotInUseException": throw await de_OrganizationsNotInUseExceptionRes(parsedOutput, context); case "CloudTrailInvalidClientTokenIdException": case "com.amazonaws.cloudtrail#CloudTrailInvalidClientTokenIdException": throw await de_CloudTrailInvalidClientTokenIdExceptionRes(parsedOutput, context); case "CloudWatchLogsDeliveryUnavailableException": case "com.amazonaws.cloudtrail#CloudWatchLogsDeliveryUnavailableException": throw await de_CloudWatchLogsDeliveryUnavailableExceptionRes(parsedOutput, context); case "InsufficientS3BucketPolicyException": case "com.amazonaws.cloudtrail#InsufficientS3BucketPolicyException": throw await de_InsufficientS3BucketPolicyExceptionRes(parsedOutput, context); case "InsufficientSnsTopicPolicyException": case "com.amazonaws.cloudtrail#InsufficientSnsTopicPolicyException": throw await de_InsufficientSnsTopicPolicyExceptionRes(parsedOutput, context); case "InvalidCloudWatchLogsLogGroupArnException": case "com.amazonaws.cloudtrail#InvalidCloudWatchLogsLogGroupArnException": throw await de_InvalidCloudWatchLogsLogGroupArnExceptionRes(parsedOutput, context); case "InvalidCloudWatchLogsRoleArnException": case "com.amazonaws.cloudtrail#InvalidCloudWatchLogsRoleArnException": throw await de_InvalidCloudWatchLogsRoleArnExceptionRes(parsedOutput, context); case "InvalidParameterCombinationException": case "com.amazonaws.cloudtrail#InvalidParameterCombinationException": throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context); case "InvalidS3BucketNameException": case "com.amazonaws.cloudtrail#InvalidS3BucketNameException": throw await de_InvalidS3BucketNameExceptionRes(parsedOutput, context); case "InvalidS3PrefixException": case "com.amazonaws.cloudtrail#InvalidS3PrefixException": throw await de_InvalidS3PrefixExceptionRes(parsedOutput, context); case "InvalidSnsTopicNameException": case "com.amazonaws.cloudtrail#InvalidSnsTopicNameException": throw await de_InvalidSnsTopicNameExceptionRes(parsedOutput, context); case "KmsKeyDisabledException": case "com.amazonaws.cloudtrail#KmsKeyDisabledException": throw await de_KmsKeyDisabledExceptionRes(parsedOutput, context); case "MaximumNumberOfTrailsExceededException": case "com.amazonaws.cloudtrail#MaximumNumberOfTrailsExceededException": throw await de_MaximumNumberOfTrailsExceededExceptionRes(parsedOutput, context); case "S3BucketDoesNotExistException": case "com.amazonaws.cloudtrail#S3BucketDoesNotExistException": throw await de_S3BucketDoesNotExistExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.cloudtrail#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "TrailAlreadyExistsException": case "com.amazonaws.cloudtrail#TrailAlreadyExistsException": throw await de_TrailAlreadyExistsExceptionRes(parsedOutput, context); case "TrailNotProvidedException": case "com.amazonaws.cloudtrail#TrailNotProvidedException": throw await de_TrailNotProvidedExceptionRes(parsedOutput, context); case "ChannelExistsForEDSException": case "com.amazonaws.cloudtrail#ChannelExistsForEDSException": throw await de_ChannelExistsForEDSExceptionRes(parsedOutput, context); case "EventDataStoreFederationEnabledException": case "com.amazonaws.cloudtrail#EventDataStoreFederationEnabledException": throw await de_EventDataStoreFederationEnabledExceptionRes(parsedOutput, context); case "EventDataStoreHasOngoingImportException": case "com.amazonaws.cloudtrail#EventDataStoreHasOngoingImportException": throw await de_EventDataStoreHasOngoingImportExceptionRes(parsedOutput, context); case "EventDataStoreTerminationProtectedException": case "com.amazonaws.cloudtrail#EventDataStoreTerminationProtectedException": throw await de_EventDataStoreTerminationProtectedExceptionRes(parsedOutput, context); case "ResourceARNNotValidException": case "com.amazonaws.cloudtrail#ResourceARNNotValidException": throw await de_ResourceARNNotValidExceptionRes(parsedOutput, context); case "ResourcePolicyNotFoundException": case "com.amazonaws.cloudtrail#ResourcePolicyNotFoundException": throw await de_ResourcePolicyNotFoundExceptionRes(parsedOutput, context); case "InvalidHomeRegionException": case "com.amazonaws.cloudtrail#InvalidHomeRegionException": throw await de_InvalidHomeRegionExceptionRes(parsedOutput, context); case "TrailNotFoundException": case "com.amazonaws.cloudtrail#TrailNotFoundException": throw await de_TrailNotFoundExceptionRes(parsedOutput, context); case "AccountNotFoundException": case "com.amazonaws.cloudtrail#AccountNotFoundException": throw await de_AccountNotFoundExceptionRes(parsedOutput, context); case "AccountNotRegisteredException": case "com.amazonaws.cloudtrail#AccountNotRegisteredException": throw await de_AccountNotRegisteredExceptionRes(parsedOutput, context); case "NotOrganizationManagementAccountException": case "com.amazonaws.cloudtrail#NotOrganizationManagementAccountException": throw await de_NotOrganizationManagementAccountExceptionRes(parsedOutput, context); case "AccessDeniedException": case "com.amazonaws.cloudtrail#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConcurrentModificationException": case "com.amazonaws.cloudtrail#ConcurrentModificationException": throw await de_ConcurrentModificationExceptionRes(parsedOutput, context); case "GenerateResponseException": case "com.amazonaws.cloudtrail#GenerateResponseException": throw await de_GenerateResponseExceptionRes(parsedOutput, context); case "InvalidEventDataStoreStatusException": case "com.amazonaws.cloudtrail#InvalidEventDataStoreStatusException": throw await de_InvalidEventDataStoreStatusExceptionRes(parsedOutput, context); case "ImportNotFoundException": case "com.amazonaws.cloudtrail#ImportNotFoundException": throw await de_ImportNotFoundExceptionRes(parsedOutput, context); case "InsightNotEnabledException": case "com.amazonaws.cloudtrail#InsightNotEnabledException": throw await de_InsightNotEnabledExceptionRes(parsedOutput, context); case "InvalidMaxResultsException": case "com.amazonaws.cloudtrail#InvalidMaxResultsException": throw await de_InvalidMaxResultsExceptionRes(parsedOutput, context); case "InvalidNextTokenException": case "com.amazonaws.cloudtrail#InvalidNextTokenException": throw await de_InvalidNextTokenExceptionRes(parsedOutput, context); case "InvalidTimeRangeException": case "com.amazonaws.cloudtrail#InvalidTimeRangeException": throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context); case "InvalidTokenException": case "com.amazonaws.cloudtrail#InvalidTokenException": throw await de_InvalidTokenExceptionRes(parsedOutput, context); case "InvalidDateRangeException": case "com.amazonaws.cloudtrail#InvalidDateRangeException": throw await de_InvalidDateRangeExceptionRes(parsedOutput, context); case "InvalidQueryStatusException": case "com.amazonaws.cloudtrail#InvalidQueryStatusException": throw await de_InvalidQueryStatusExceptionRes(parsedOutput, context); case "InvalidEventCategoryException": case "com.amazonaws.cloudtrail#InvalidEventCategoryException": throw await de_InvalidEventCategoryExceptionRes(parsedOutput, context); case "InvalidLookupAttributesException": case "com.amazonaws.cloudtrail#InvalidLookupAttributesException": throw await de_InvalidLookupAttributesExceptionRes(parsedOutput, context); case "InsufficientIAMAccessPermissionException": case "com.amazonaws.cloudtrail#InsufficientIAMAccessPermissionException": throw await de_InsufficientIAMAccessPermissionExceptionRes(parsedOutput, context); case "InvalidInsightSelectorsException": case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException": throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context); case "ResourcePolicyNotValidException": case "com.amazonaws.cloudtrail#ResourcePolicyNotValidException": throw await de_ResourcePolicyNotValidExceptionRes(parsedOutput, context); case "AccountRegisteredException": case "com.amazonaws.cloudtrail#AccountRegisteredException": throw await de_AccountRegisteredExceptionRes(parsedOutput, context); case "CannotDelegateManagementAccountException": case "com.amazonaws.cloudtrail#CannotDelegateManagementAccountException": throw await de_CannotDelegateManagementAccountExceptionRes(parsedOutput, context); case "DelegatedAdminAccountLimitExceededException": case "com.amazonaws.cloudtrail#DelegatedAdminAccountLimitExceededException": throw await de_DelegatedAdminAccountLimitExceededExceptionRes(parsedOutput, context); case "AccountHasOngoingImportException": case "com.amazonaws.cloudtrail#AccountHasOngoingImportException": throw await de_AccountHasOngoingImportExceptionRes(parsedOutput, context); case "InvalidImportSourceException": case "com.amazonaws.cloudtrail#InvalidImportSourceException": throw await de_InvalidImportSourceExceptionRes(parsedOutput, context); case "MaxConcurrentQueriesException": case "com.amazonaws.cloudtrail#MaxConcurrentQueriesException": throw await de_MaxConcurrentQueriesExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccessDeniedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccessDeniedExceptionRes");var de_AccountHasOngoingImportExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountHasOngoingImportException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountHasOngoingImportExceptionRes");var de_AccountNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountNotFoundExceptionRes");var de_AccountNotRegisteredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountNotRegisteredException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountNotRegisteredExceptionRes");var de_AccountRegisteredExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new AccountRegisteredException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_AccountRegisteredExceptionRes");var de_CannotDelegateManagementAccountExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new CannotDelegateManagementAccountException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CannotDelegateManagementAccountExceptionRes");var de_ChannelAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ChannelAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ChannelAlreadyExistsExceptionRes");var de_ChannelARNInvalidExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ChannelARNInvalidException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ChannelARNInvalidExceptionRes");var de_ChannelExistsForEDSExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ChannelExistsForEDSException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ChannelExistsForEDSExceptionRes");var de_ChannelMaxLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ChannelMaxLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ChannelMaxLimitExceededExceptionRes");var de_ChannelNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ChannelNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ChannelNotFoundExceptionRes");var de_CloudTrailAccessNotEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new CloudTrailAccessNotEnabledException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CloudTrailAccessNotEnabledExceptionRes");var de_CloudTrailARNInvalidExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new CloudTrailARNInvalidException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CloudTrailARNInvalidExceptionRes");var de_CloudTrailInvalidClientTokenIdExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new CloudTrailInvalidClientTokenIdException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CloudTrailInvalidClientTokenIdExceptionRes");var de_CloudWatchLogsDeliveryUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new CloudWatchLogsDeliveryUnavailableException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_CloudWatchLogsDeliveryUnavailableExceptionRes");var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConcurrentModificationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConcurrentModificationExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ConflictException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ConflictExceptionRes");var de_DelegatedAdminAccountLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new DelegatedAdminAccountLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_DelegatedAdminAccountLimitExceededExceptionRes");var de_EventDataStoreAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreAlreadyExistsExceptionRes");var de_EventDataStoreARNInvalidExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreARNInvalidException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreARNInvalidExceptionRes");var de_EventDataStoreFederationEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreFederationEnabledException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreFederationEnabledExceptionRes");var de_EventDataStoreHasOngoingImportExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreHasOngoingImportException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreHasOngoingImportExceptionRes");var de_EventDataStoreMaxLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreMaxLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreMaxLimitExceededExceptionRes");var de_EventDataStoreNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreNotFoundExceptionRes");var de_EventDataStoreTerminationProtectedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new EventDataStoreTerminationProtectedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_EventDataStoreTerminationProtectedExceptionRes");var de_GenerateResponseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new GenerateResponseException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_GenerateResponseExceptionRes");var de_ImportNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ImportNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ImportNotFoundExceptionRes");var de_InactiveEventDataStoreExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InactiveEventDataStoreException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InactiveEventDataStoreExceptionRes");var de_InactiveQueryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InactiveQueryException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InactiveQueryExceptionRes");var de_InsightNotEnabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InsightNotEnabledException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InsightNotEnabledExceptionRes");var de_InsufficientDependencyServiceAccessPermissionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InsufficientDependencyServiceAccessPermissionException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InsufficientDependencyServiceAccessPermissionExceptionRes");var de_InsufficientEncryptionPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InsufficientEncryptionPolicyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InsufficientEncryptionPolicyExceptionRes");var de_InsufficientIAMAccessPermissionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InsufficientIAMAccessPermissionException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InsufficientIAMAccessPermissionExceptionRes");var de_InsufficientS3BucketPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InsufficientS3BucketPolicyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InsufficientS3BucketPolicyExceptionRes");var de_InsufficientSnsTopicPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InsufficientSnsTopicPolicyException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InsufficientSnsTopicPolicyExceptionRes");var de_InvalidCloudWatchLogsLogGroupArnExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidCloudWatchLogsLogGroupArnException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidCloudWatchLogsLogGroupArnExceptionRes");var de_InvalidCloudWatchLogsRoleArnExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidCloudWatchLogsRoleArnException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidCloudWatchLogsRoleArnExceptionRes");var de_InvalidDateRangeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidDateRangeException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidDateRangeExceptionRes");var de_InvalidEventCategoryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidEventCategoryException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidEventCategoryExceptionRes");var de_InvalidEventDataStoreCategoryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidEventDataStoreCategoryException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidEventDataStoreCategoryExceptionRes");var de_InvalidEventDataStoreStatusExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidEventDataStoreStatusException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidEventDataStoreStatusExceptionRes");var de_InvalidEventSelectorsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidEventSelectorsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidEventSelectorsExceptionRes");var de_InvalidHomeRegionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidHomeRegionException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidHomeRegionExceptionRes");var de_InvalidImportSourceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidImportSourceException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidImportSourceExceptionRes");var de_InvalidInsightSelectorsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidInsightSelectorsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidInsightSelectorsExceptionRes");var de_InvalidKmsKeyIdExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidKmsKeyIdException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidKmsKeyIdExceptionRes");var de_InvalidLookupAttributesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidLookupAttributesException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidLookupAttributesExceptionRes");var de_InvalidMaxResultsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidMaxResultsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidMaxResultsExceptionRes");var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidNextTokenException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidNextTokenExceptionRes");var de_InvalidParameterCombinationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidParameterCombinationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidParameterCombinationExceptionRes");var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidParameterException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidParameterExceptionRes");var de_InvalidQueryStatementExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidQueryStatementException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidQueryStatementExceptionRes");var de_InvalidQueryStatusExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidQueryStatusException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidQueryStatusExceptionRes");var de_InvalidS3BucketNameExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidS3BucketNameException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidS3BucketNameExceptionRes");var de_InvalidS3PrefixExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidS3PrefixException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidS3PrefixExceptionRes");var de_InvalidSnsTopicNameExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidSnsTopicNameException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidSnsTopicNameExceptionRes");var de_InvalidSourceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidSourceException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidSourceExceptionRes");var de_InvalidTagParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidTagParameterException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidTagParameterExceptionRes");var de_InvalidTimeRangeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidTimeRangeException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidTimeRangeExceptionRes");var de_InvalidTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidTokenException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidTokenExceptionRes");var de_InvalidTrailNameExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new InvalidTrailNameException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_InvalidTrailNameExceptionRes");var de_KmsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new KmsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_KmsExceptionRes");var de_KmsKeyDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new KmsKeyDisabledException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_KmsKeyDisabledExceptionRes");var de_KmsKeyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new KmsKeyNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_KmsKeyNotFoundExceptionRes");var de_MaxConcurrentQueriesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new MaxConcurrentQueriesException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_MaxConcurrentQueriesExceptionRes");var de_MaximumNumberOfTrailsExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new MaximumNumberOfTrailsExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_MaximumNumberOfTrailsExceededExceptionRes");var de_NoManagementAccountSLRExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new NoManagementAccountSLRExistsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_NoManagementAccountSLRExistsExceptionRes");var de_NotOrganizationManagementAccountExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new NotOrganizationManagementAccountException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_NotOrganizationManagementAccountExceptionRes");var de_NotOrganizationMasterAccountExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new NotOrganizationMasterAccountException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_NotOrganizationMasterAccountExceptionRes");var de_OperationNotPermittedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new OperationNotPermittedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_OperationNotPermittedExceptionRes");var de_OrganizationNotInAllFeaturesModeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new OrganizationNotInAllFeaturesModeException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_OrganizationNotInAllFeaturesModeExceptionRes");var de_OrganizationsNotInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new OrganizationsNotInUseException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_OrganizationsNotInUseExceptionRes");var de_QueryIdNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new QueryIdNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_QueryIdNotFoundExceptionRes");var de_ResourceARNNotValidExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceARNNotValidException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceARNNotValidExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceNotFoundExceptionRes");var de_ResourcePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourcePolicyNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourcePolicyNotFoundExceptionRes");var de_ResourcePolicyNotValidExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourcePolicyNotValidException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourcePolicyNotValidExceptionRes");var de_ResourceTypeNotSupportedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ResourceTypeNotSupportedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ResourceTypeNotSupportedExceptionRes");var de_S3BucketDoesNotExistExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new S3BucketDoesNotExistException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_S3BucketDoesNotExistExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ServiceQuotaExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ServiceQuotaExceededExceptionRes");var de_TagsLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TagsLimitExceededException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TagsLimitExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new ThrottlingException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_ThrottlingExceptionRes");var de_TrailAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TrailAlreadyExistsException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TrailAlreadyExistsExceptionRes");var de_TrailNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TrailNotFoundException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TrailNotFoundExceptionRes");var de_TrailNotProvidedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new TrailNotProvidedException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_TrailNotProvidedExceptionRes");var de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { const body = parsedOutput.body; const deserialized = (0, import_smithy_client._json)(body); const exception = new UnsupportedOperationException({ $metadata: deserializeMetadata(parsedOutput), ...deserialized }); return (0, import_smithy_client.decorateServiceException)(exception, body);}, "de_UnsupportedOperationExceptionRes");var se_ListInsightsMetricDataRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { DataType: [], EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), ErrorCode: [], EventName: [], EventSource: [], InsightType: [], MaxResults: [], NextToken: [], Period: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") });}, "se_ListInsightsMetricDataRequest");var se_ListPublicKeysRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), NextToken: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") });}, "se_ListPublicKeysRequest");var se_ListQueriesRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), EventDataStore: [], MaxResults: [], NextToken: [], QueryStatus: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") });}, "se_ListQueriesRequest");var se_LookupEventsRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"), EventCategory: [], LookupAttributes: import_smithy_client._json, MaxResults: [], NextToken: [], StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime") });}, "se_LookupEventsRequest");var se_StartImportRequest = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { Destinations: import_smithy_client._json, EndEventTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndEventTime"), ImportId: [], ImportSource: import_smithy_client._json, StartEventTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartEventTime") });}, "se_StartImportRequest");var de_CreateEventDataStoreResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AdvancedEventSelectors: import_smithy_client._json, BillingMode: import_smithy_client.expectString, CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), EventDataStoreArn: import_smithy_client.expectString, KmsKeyId: import_smithy_client.expectString, MultiRegionEnabled: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, OrganizationEnabled: import_smithy_client.expectBoolean, RetentionPeriod: import_smithy_client.expectInt32, Status: import_smithy_client.expectString, TagsList: import_smithy_client._json, TerminationProtectionEnabled: import_smithy_client.expectBoolean, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_CreateEventDataStoreResponse");var de_DescribeQueryResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { DeliveryS3Uri: import_smithy_client.expectString, DeliveryStatus: import_smithy_client.expectString, ErrorMessage: import_smithy_client.expectString, EventDataStoreOwnerAccountId: import_smithy_client.expectString, Prompt: import_smithy_client.expectString, QueryId: import_smithy_client.expectString, QueryStatistics: /* @__PURE__ */ __name((_) => de_QueryStatisticsForDescribeQuery(_, context), "QueryStatistics"), QueryStatus: import_smithy_client.expectString, QueryString: import_smithy_client.expectString });}, "de_DescribeQueryResponse");var de_Event = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AccessKeyId: import_smithy_client.expectString, CloudTrailEvent: import_smithy_client.expectString, EventId: import_smithy_client.expectString, EventName: import_smithy_client.expectString, EventSource: import_smithy_client.expectString, EventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EventTime"), ReadOnly: import_smithy_client.expectString, Resources: import_smithy_client._json, Username: import_smithy_client.expectString });}, "de_Event");var de_EventDataStore = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AdvancedEventSelectors: import_smithy_client._json, CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), EventDataStoreArn: import_smithy_client.expectString, MultiRegionEnabled: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, OrganizationEnabled: import_smithy_client.expectBoolean, RetentionPeriod: import_smithy_client.expectInt32, Status: import_smithy_client.expectString, TerminationProtectionEnabled: import_smithy_client.expectBoolean, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_EventDataStore");var de_EventDataStores = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_EventDataStore(entry, context); }); return retVal;}, "de_EventDataStores");var de_EventsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Event(entry, context); }); return retVal;}, "de_EventsList");var de_GetChannelResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ChannelArn: import_smithy_client.expectString, Destinations: import_smithy_client._json, IngestionStatus: /* @__PURE__ */ __name((_) => de_IngestionStatus(_, context), "IngestionStatus"), Name: import_smithy_client.expectString, Source: import_smithy_client.expectString, SourceConfig: import_smithy_client._json });}, "de_GetChannelResponse");var de_GetDashboardResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), DashboardArn: import_smithy_client.expectString, LastRefreshFailureReason: import_smithy_client.expectString, LastRefreshId: import_smithy_client.expectString, RefreshSchedule: import_smithy_client._json, Status: import_smithy_client.expectString, TerminationProtectionEnabled: import_smithy_client.expectBoolean, Type: import_smithy_client.expectString, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp"), Widgets: import_smithy_client._json });}, "de_GetDashboardResponse");var de_GetEventDataStoreResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AdvancedEventSelectors: import_smithy_client._json, BillingMode: import_smithy_client.expectString, CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), EventDataStoreArn: import_smithy_client.expectString, FederationRoleArn: import_smithy_client.expectString, FederationStatus: import_smithy_client.expectString, KmsKeyId: import_smithy_client.expectString, MultiRegionEnabled: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, OrganizationEnabled: import_smithy_client.expectBoolean, PartitionKeys: import_smithy_client._json, RetentionPeriod: import_smithy_client.expectInt32, Status: import_smithy_client.expectString, TerminationProtectionEnabled: import_smithy_client.expectBoolean, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_GetEventDataStoreResponse");var de_GetImportResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), Destinations: import_smithy_client._json, EndEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndEventTime"), ImportId: import_smithy_client.expectString, ImportSource: import_smithy_client._json, ImportStatistics: import_smithy_client._json, ImportStatus: import_smithy_client.expectString, StartEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartEventTime"), UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_GetImportResponse");var de_GetTrailStatusResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { IsLogging: import_smithy_client.expectBoolean, LatestCloudWatchLogsDeliveryError: import_smithy_client.expectString, LatestCloudWatchLogsDeliveryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LatestCloudWatchLogsDeliveryTime"), LatestDeliveryAttemptSucceeded: import_smithy_client.expectString, LatestDeliveryAttemptTime: import_smithy_client.expectString, LatestDeliveryError: import_smithy_client.expectString, LatestDeliveryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LatestDeliveryTime"), LatestDigestDeliveryError: import_smithy_client.expectString, LatestDigestDeliveryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LatestDigestDeliveryTime"), LatestNotificationAttemptSucceeded: import_smithy_client.expectString, LatestNotificationAttemptTime: import_smithy_client.expectString, LatestNotificationError: import_smithy_client.expectString, LatestNotificationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LatestNotificationTime"), StartLoggingTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartLoggingTime"), StopLoggingTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StopLoggingTime"), TimeLoggingStarted: import_smithy_client.expectString, TimeLoggingStopped: import_smithy_client.expectString });}, "de_GetTrailStatusResponse");var de_ImportFailureList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ImportFailureListItem(entry, context); }); return retVal;}, "de_ImportFailureList");var de_ImportFailureListItem = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ErrorMessage: import_smithy_client.expectString, ErrorType: import_smithy_client.expectString, LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"), Location: import_smithy_client.expectString, Status: import_smithy_client.expectString });}, "de_ImportFailureListItem");var de_ImportsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ImportsListItem(entry, context); }); return retVal;}, "de_ImportsList");var de_ImportsListItem = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), Destinations: import_smithy_client._json, ImportId: import_smithy_client.expectString, ImportStatus: import_smithy_client.expectString, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_ImportsListItem");var de_IngestionStatus = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { LatestIngestionAttemptEventID: import_smithy_client.expectString, LatestIngestionAttemptTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LatestIngestionAttemptTime"), LatestIngestionErrorCode: import_smithy_client.expectString, LatestIngestionSuccessEventID: import_smithy_client.expectString, LatestIngestionSuccessTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LatestIngestionSuccessTime") });}, "de_IngestionStatus");var de_InsightsMetricValues = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return (0, import_smithy_client.limitedParseDouble)(entry); }); return retVal;}, "de_InsightsMetricValues");var de_ListEventDataStoresResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { EventDataStores: /* @__PURE__ */ __name((_) => de_EventDataStores(_, context), "EventDataStores"), NextToken: import_smithy_client.expectString });}, "de_ListEventDataStoresResponse");var de_ListImportFailuresResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Failures: /* @__PURE__ */ __name((_) => de_ImportFailureList(_, context), "Failures"), NextToken: import_smithy_client.expectString });}, "de_ListImportFailuresResponse");var de_ListImportsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Imports: /* @__PURE__ */ __name((_) => de_ImportsList(_, context), "Imports"), NextToken: import_smithy_client.expectString });}, "de_ListImportsResponse");var de_ListInsightsMetricDataResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { ErrorCode: import_smithy_client.expectString, EventName: import_smithy_client.expectString, EventSource: import_smithy_client.expectString, InsightType: import_smithy_client.expectString, NextToken: import_smithy_client.expectString, Timestamps: /* @__PURE__ */ __name((_) => de_Timestamps(_, context), "Timestamps"), Values: /* @__PURE__ */ __name((_) => de_InsightsMetricValues(_, context), "Values") });}, "de_ListInsightsMetricDataResponse");var de_ListPublicKeysResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, PublicKeyList: /* @__PURE__ */ __name((_) => de_PublicKeyList(_, context), "PublicKeyList") });}, "de_ListPublicKeysResponse");var de_ListQueriesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, Queries: /* @__PURE__ */ __name((_) => de_Queries(_, context), "Queries") });}, "de_ListQueriesResponse");var de_LookupEventsResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Events: /* @__PURE__ */ __name((_) => de_EventsList(_, context), "Events"), NextToken: import_smithy_client.expectString });}, "de_LookupEventsResponse");var de_PublicKey = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Fingerprint: import_smithy_client.expectString, ValidityEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ValidityEndTime"), ValidityStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ValidityStartTime"), Value: context.base64Decoder });}, "de_PublicKey");var de_PublicKeyList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_PublicKey(entry, context); }); return retVal;}, "de_PublicKeyList");var de_Queries = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_Query(entry, context); }); return retVal;}, "de_Queries");var de_Query = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), QueryId: import_smithy_client.expectString, QueryStatus: import_smithy_client.expectString });}, "de_Query");var de_QueryStatisticsForDescribeQuery = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { BytesScanned: import_smithy_client.expectLong, CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"), EventsMatched: import_smithy_client.expectLong, EventsScanned: import_smithy_client.expectLong, ExecutionTimeInMillis: import_smithy_client.expectInt32 });}, "de_QueryStatisticsForDescribeQuery");var de_RestoreEventDataStoreResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AdvancedEventSelectors: import_smithy_client._json, BillingMode: import_smithy_client.expectString, CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), EventDataStoreArn: import_smithy_client.expectString, KmsKeyId: import_smithy_client.expectString, MultiRegionEnabled: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, OrganizationEnabled: import_smithy_client.expectBoolean, RetentionPeriod: import_smithy_client.expectInt32, Status: import_smithy_client.expectString, TerminationProtectionEnabled: import_smithy_client.expectBoolean, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_RestoreEventDataStoreResponse");var de_SearchSampleQueriesResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { NextToken: import_smithy_client.expectString, SearchResults: /* @__PURE__ */ __name((_) => de_SearchSampleQueriesSearchResults(_, context), "SearchResults") });}, "de_SearchSampleQueriesResponse");var de_SearchSampleQueriesSearchResult = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { Description: import_smithy_client.expectString, Name: import_smithy_client.expectString, Relevance: import_smithy_client.limitedParseFloat32, SQL: import_smithy_client.expectString });}, "de_SearchSampleQueriesSearchResult");var de_SearchSampleQueriesSearchResults = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_SearchSampleQueriesSearchResult(entry, context); }); return retVal;}, "de_SearchSampleQueriesSearchResults");var de_StartImportResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), Destinations: import_smithy_client._json, EndEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndEventTime"), ImportId: import_smithy_client.expectString, ImportSource: import_smithy_client._json, ImportStatus: import_smithy_client.expectString, StartEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartEventTime"), UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_StartImportResponse");var de_StopImportResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), Destinations: import_smithy_client._json, EndEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndEventTime"), ImportId: import_smithy_client.expectString, ImportSource: import_smithy_client._json, ImportStatistics: import_smithy_client._json, ImportStatus: import_smithy_client.expectString, StartEventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartEventTime"), UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_StopImportResponse");var de_Timestamps = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(entry))); }); return retVal;}, "de_Timestamps");var de_UpdateDashboardResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), DashboardArn: import_smithy_client.expectString, Name: import_smithy_client.expectString, RefreshSchedule: import_smithy_client._json, TerminationProtectionEnabled: import_smithy_client.expectBoolean, Type: import_smithy_client.expectString, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp"), Widgets: import_smithy_client._json });}, "de_UpdateDashboardResponse");var de_UpdateEventDataStoreResponse = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { AdvancedEventSelectors: import_smithy_client._json, BillingMode: import_smithy_client.expectString, CreatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedTimestamp"), EventDataStoreArn: import_smithy_client.expectString, FederationRoleArn: import_smithy_client.expectString, FederationStatus: import_smithy_client.expectString, KmsKeyId: import_smithy_client.expectString, MultiRegionEnabled: import_smithy_client.expectBoolean, Name: import_smithy_client.expectString, OrganizationEnabled: import_smithy_client.expectBoolean, RetentionPeriod: import_smithy_client.expectInt32, Status: import_smithy_client.expectString, TerminationProtectionEnabled: import_smithy_client.expectBoolean, UpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UpdatedTimestamp") });}, "de_UpdateEventDataStoreResponse");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");var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudTrailServiceException);var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); const contents = { protocol, hostname, port, method: "POST", path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, headers }; if (resolvedHostname !== void 0) { contents.hostname = resolvedHostname; } if (body !== void 0) { contents.body = body; } return new import_protocol_http.HttpRequest(contents);}, "buildHttpRpcRequest");function sharedHeaders(operation) { return { "content-type": "application/x-amz-json-1.1", "x-amz-target": `CloudTrail_20131101.${operation}` };}__name(sharedHeaders, "sharedHeaders"); // src/commands/AddTagsCommand.tsvar AddTagsCommand = 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("CloudTrail_20131101", "AddTags", {}).n("CloudTrailClient", "AddTagsCommand").f(void 0, void 0).ser(se_AddTagsCommand).de(de_AddTagsCommand).build() { static { __name(this, "AddTagsCommand"); }}; // src/commands/CancelQueryCommand.ts var CancelQueryCommand = 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("CloudTrail_20131101", "CancelQuery", {}).n("CloudTrailClient", "CancelQueryCommand").f(void 0, void 0).ser(se_CancelQueryCommand).de(de_CancelQueryCommand).build() { static { __name(this, "CancelQueryCommand"); }}; // src/commands/CreateChannelCommand.ts var CreateChannelCommand = 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("CloudTrail_20131101", "CreateChannel", {}).n("CloudTrailClient", "CreateChannelCommand").f(void 0, void 0).ser(se_CreateChannelCommand).de(de_CreateChannelCommand).build() { static { __name(this, "CreateChannelCommand"); }}; // src/commands/CreateDashboardCommand.ts var CreateDashboardCommand = 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("CloudTrail_20131101", "CreateDashboard", {}).n("CloudTrailClient", "CreateDashboardCommand").f(void 0, void 0).ser(se_CreateDashboardCommand).de(de_CreateDashboardCommand).build() { static { __name(this, "CreateDashboardCommand"); }}; // src/commands/CreateEventDataStoreCommand.ts var CreateEventDataStoreCommand = 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("CloudTrail_20131101", "CreateEventDataStore", {}).n("CloudTrailClient", "CreateEventDataStoreCommand").f(void 0, void 0).ser(se_CreateEventDataStoreCommand).de(de_CreateEventDataStoreCommand).build() { static { __name(this, "CreateEventDataStoreCommand"); }}; // src/commands/CreateTrailCommand.ts var CreateTrailCommand = 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("CloudTrail_20131101", "CreateTrail", {}).n("CloudTrailClient", "CreateTrailCommand").f(void 0, void 0).ser(se_CreateTrailCommand).de(de_CreateTrailCommand).build() { static { __name(this, "CreateTrailCommand"); }}; // src/commands/DeleteChannelCommand.ts var DeleteChannelCommand = 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("CloudTrail_20131101", "DeleteChannel", {}).n("CloudTrailClient", "DeleteChannelCommand").f(void 0, void 0).ser(se_DeleteChannelCommand).de(de_DeleteChannelCommand).build() { static { __name(this, "DeleteChannelCommand"); }}; // src/commands/DeleteDashboardCommand.ts var DeleteDashboardCommand = 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("CloudTrail_20131101", "DeleteDashboard", {}).n("CloudTrailClient", "DeleteDashboardCommand").f(void 0, void 0).ser(se_DeleteDashboardCommand).de(de_DeleteDashboardCommand).build() { static { __name(this, "DeleteDashboardCommand"); }}; // src/commands/DeleteEventDataStoreCommand.ts var DeleteEventDataStoreCommand = 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("CloudTrail_20131101", "DeleteEventDataStore", {}).n("CloudTrailClient", "DeleteEventDataStoreCommand").f(void 0, void 0).ser(se_DeleteEventDataStoreCommand).de(de_DeleteEventDataStoreCommand).build() { static { __name(this, "DeleteEventDataStoreCommand"); }}; // 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("CloudTrail_20131101", "DeleteResourcePolicy", {}).n("CloudTrailClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() { static { __name(this, "DeleteResourcePolicyCommand"); }}; // src/commands/DeleteTrailCommand.ts var DeleteTrailCommand = 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("CloudTrail_20131101", "DeleteTrail", {}).n("CloudTrailClient", "DeleteTrailCommand").f(void 0, void 0).ser(se_DeleteTrailCommand).de(de_DeleteTrailCommand).build() { static { __name(this, "DeleteTrailCommand"); }}; // src/commands/DeregisterOrganizationDelegatedAdminCommand.ts var DeregisterOrganizationDelegatedAdminCommand = 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("CloudTrail_20131101", "DeregisterOrganizationDelegatedAdmin", {}).n("CloudTrailClient", "DeregisterOrganizationDelegatedAdminCommand").f(void 0, void 0).ser(se_DeregisterOrganizationDelegatedAdminCommand).de(de_DeregisterOrganizationDelegatedAdminCommand).build() { static { __name(this, "DeregisterOrganizationDelegatedAdminCommand"); }}; // src/commands/DescribeQueryCommand.ts var DescribeQueryCommand = 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("CloudTrail_20131101", "DescribeQuery", {}).n("CloudTrailClient", "DescribeQueryCommand").f(void 0, void 0).ser(se_DescribeQueryCommand).de(de_DescribeQueryCommand).build() { static { __name(this, "DescribeQueryCommand"); }}; // src/commands/DescribeTrailsCommand.ts var DescribeTrailsCommand = 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("CloudTrail_20131101", "DescribeTrails", {}).n("CloudTrailClient", "DescribeTrailsCommand").f(void 0, void 0).ser(se_DescribeTrailsCommand).de(de_DescribeTrailsCommand).build() { static { __name(this, "DescribeTrailsCommand"); }}; // src/commands/DisableFederationCommand.ts var DisableFederationCommand = 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("CloudTrail_20131101", "DisableFederation", {}).n("CloudTrailClient", "DisableFederationCommand").f(void 0, void 0).ser(se_DisableFederationCommand).de(de_DisableFederationCommand).build() { static { __name(this, "DisableFederationCommand"); }}; // src/commands/EnableFederationCommand.ts var EnableFederationCommand = 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("CloudTrail_20131101", "EnableFederation", {}).n("CloudTrailClient", "EnableFederationCommand").f(void 0, void 0).ser(se_EnableFederationCommand).de(de_EnableFederationCommand).build() { static { __name(this, "EnableFederationCommand"); }}; // src/commands/GenerateQueryCommand.ts var GenerateQueryCommand = 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("CloudTrail_20131101", "GenerateQuery", {}).n("CloudTrailClient", "GenerateQueryCommand").f(void 0, void 0).ser(se_GenerateQueryCommand).de(de_GenerateQueryCommand).build() { static { __name(this, "GenerateQueryCommand"); }}; // src/commands/GetChannelCommand.ts var GetChannelCommand = 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("CloudTrail_20131101", "GetChannel", {}).n("CloudTrailClient", "GetChannelCommand").f(void 0, void 0).ser(se_GetChannelCommand).de(de_GetChannelCommand).build() { static { __name(this, "GetChannelCommand"); }}; // src/commands/GetDashboardCommand.ts var GetDashboardCommand = 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("CloudTrail_20131101", "GetDashboard", {}).n("CloudTrailClient", "GetDashboardCommand").f(void 0, void 0).ser(se_GetDashboardCommand).de(de_GetDashboardCommand).build() { static { __name(this, "GetDashboardCommand"); }}; // src/commands/GetEventConfigurationCommand.ts var GetEventConfigurationCommand = 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("CloudTrail_20131101", "GetEventConfiguration", {}).n("CloudTrailClient", "GetEventConfigurationCommand").f(void 0, void 0).ser(se_GetEventConfigurationCommand).de(de_GetEventConfigurationCommand).build() { static { __name(this, "GetEventConfigurationCommand"); }}; // src/commands/GetEventDataStoreCommand.ts var GetEventDataStoreCommand = 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("CloudTrail_20131101", "GetEventDataStore", {}).n("CloudTrailClient", "GetEventDataStoreCommand").f(void 0, void 0).ser(se_GetEventDataStoreCommand).de(de_GetEventDataStoreCommand).build() { static { __name(this, "GetEventDataStoreCommand"); }}; // src/commands/GetEventSelectorsCommand.ts var GetEventSelectorsCommand = 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("CloudTrail_20131101", "GetEventSelectors", {}).n("CloudTrailClient", "GetEventSelectorsCommand").f(void 0, void 0).ser(se_GetEventSelectorsCommand).de(de_GetEventSelectorsCommand).build() { static { __name(this, "GetEventSelectorsCommand"); }}; // src/commands/GetImportCommand.ts var GetImportCommand = 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("CloudTrail_20131101", "GetImport", {}).n("CloudTrailClient", "GetImportCommand").f(void 0, void 0).ser(se_GetImportCommand).de(de_GetImportCommand).build() { static { __name(this, "GetImportCommand"); }}; // src/commands/GetInsightSelectorsCommand.ts var GetInsightSelectorsCommand = 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("CloudTrail_20131101", "GetInsightSelectors", {}).n("CloudTrailClient", "GetInsightSelectorsCommand").f(void 0, void 0).ser(se_GetInsightSelectorsCommand).de(de_GetInsightSelectorsCommand).build() { static { __name(this, "GetInsightSelectorsCommand"); }}; // src/commands/GetQueryResultsCommand.ts var GetQueryResultsCommand = 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("CloudTrail_20131101", "GetQueryResults", {}).n("CloudTrailClient", "GetQueryResultsCommand").f(void 0, void 0).ser(se_GetQueryResultsCommand).de(de_GetQueryResultsCommand).build() { static { __name(this, "GetQueryResultsCommand"); }}; // src/commands/GetResourcePolicyCommand.ts var GetResourcePolicyCommand = 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("CloudTrail_20131101", "GetResourcePolicy", {}).n("CloudTrailClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() { static { __name(this, "GetResourcePolicyCommand"); }}; // src/commands/GetTrailCommand.ts var GetTrailCommand = 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("CloudTrail_20131101", "GetTrail", {}).n("CloudTrailClient", "GetTrailCommand").f(void 0, void 0).ser(se_GetTrailCommand).de(de_GetTrailCommand).build() { static { __name(this, "GetTrailCommand"); }}; // src/commands/GetTrailStatusCommand.ts var GetTrailStatusCommand = 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("CloudTrail_20131101", "GetTrailStatus", {}).n("CloudTrailClient", "GetTrailStatusCommand").f(void 0, void 0).ser(se_GetTrailStatusCommand).de(de_GetTrailStatusCommand).build() { static { __name(this, "GetTrailStatusCommand"); }}; // src/commands/ListChannelsCommand.ts var ListChannelsCommand = 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("CloudTrail_20131101", "ListChannels", {}).n("CloudTrailClient", "ListChannelsCommand").f(void 0, void 0).ser(se_ListChannelsCommand).de(de_ListChannelsCommand).build() { static { __name(this, "ListChannelsCommand"); }}; // src/commands/ListDashboardsCommand.ts var ListDashboardsCommand = 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("CloudTrail_20131101", "ListDashboards", {}).n("CloudTrailClient", "ListDashboardsCommand").f(void 0, void 0).ser(se_ListDashboardsCommand).de(de_ListDashboardsCommand).build() { static { __name(this, "ListDashboardsCommand"); }}; // src/commands/ListEventDataStoresCommand.ts var ListEventDataStoresCommand = 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("CloudTrail_20131101", "ListEventDataStores", {}).n("CloudTrailClient", "ListEventDataStoresCommand").f(void 0, void 0).ser(se_ListEventDataStoresCommand).de(de_ListEventDataStoresCommand).build() { static { __name(this, "ListEventDataStoresCommand"); }}; // src/commands/ListImportFailuresCommand.ts var ListImportFailuresCommand = 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("CloudTrail_20131101", "ListImportFailures", {}).n("CloudTrailClient", "ListImportFailuresCommand").f(void 0, void 0).ser(se_ListImportFailuresCommand).de(de_ListImportFailuresCommand).build() { static { __name(this, "ListImportFailuresCommand"); }}; // src/commands/ListImportsCommand.ts var ListImportsCommand = 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("CloudTrail_20131101", "ListImports", {}).n("CloudTrailClient", "ListImportsCommand").f(void 0, void 0).ser(se_ListImportsCommand).de(de_ListImportsCommand).build() { static { __name(this, "ListImportsCommand"); }}; // src/commands/ListInsightsMetricDataCommand.ts var ListInsightsMetricDataCommand = 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("CloudTrail_20131101", "ListInsightsMetricData", {}).n("CloudTrailClient", "ListInsightsMetricDataCommand").f(void 0, void 0).ser(se_ListInsightsMetricDataCommand).de(de_ListInsightsMetricDataCommand).build() { static { __name(this, "ListInsightsMetricDataCommand"); }}; // src/commands/ListPublicKeysCommand.ts var ListPublicKeysCommand = 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("CloudTrail_20131101", "ListPublicKeys", {}).n("CloudTrailClient", "ListPublicKeysCommand").f(void 0, void 0).ser(se_ListPublicKeysCommand).de(de_ListPublicKeysCommand).build() { static { __name(this, "ListPublicKeysCommand"); }}; // src/commands/ListQueriesCommand.ts var ListQueriesCommand = 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("CloudTrail_20131101", "ListQueries", {}).n("CloudTrailClient", "ListQueriesCommand").f(void 0, void 0).ser(se_ListQueriesCommand).de(de_ListQueriesCommand).build() { static { __name(this, "ListQueriesCommand"); }}; // src/commands/ListTagsCommand.ts var ListTagsCommand = 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("CloudTrail_20131101", "ListTags", {}).n("CloudTrailClient", "ListTagsCommand").f(void 0, void 0).ser(se_ListTagsCommand).de(de_ListTagsCommand).build() { static { __name(this, "ListTagsCommand"); }}; // src/commands/ListTrailsCommand.ts var ListTrailsCommand = 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("CloudTrail_20131101", "ListTrails", {}).n("CloudTrailClient", "ListTrailsCommand").f(void 0, void 0).ser(se_ListTrailsCommand).de(de_ListTrailsCommand).build() { static { __name(this, "ListTrailsCommand"); }}; // src/commands/LookupEventsCommand.ts var LookupEventsCommand = 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("CloudTrail_20131101", "LookupEvents", {}).n("CloudTrailClient", "LookupEventsCommand").f(void 0, void 0).ser(se_LookupEventsCommand).de(de_LookupEventsCommand).build() { static { __name(this, "LookupEventsCommand"); }}; // src/commands/PutEventConfigurationCommand.ts var PutEventConfigurationCommand = 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("CloudTrail_20131101", "PutEventConfiguration", {}).n("CloudTrailClient", "PutEventConfigurationCommand").f(void 0, void 0).ser(se_PutEventConfigurationCommand).de(de_PutEventConfigurationCommand).build() { static { __name(this, "PutEventConfigurationCommand"); }}; // src/commands/PutEventSelectorsCommand.ts var PutEventSelectorsCommand = 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("CloudTrail_20131101", "PutEventSelectors", {}).n("CloudTrailClient", "PutEventSelectorsCommand").f(void 0, void 0).ser(se_PutEventSelectorsCommand).de(de_PutEventSelectorsCommand).build() { static { __name(this, "PutEventSelectorsCommand"); }}; // src/commands/PutInsightSelectorsCommand.ts var PutInsightSelectorsCommand = 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("CloudTrail_20131101", "PutInsightSelectors", {}).n("CloudTrailClient", "PutInsightSelectorsCommand").f(void 0, void 0).ser(se_PutInsightSelectorsCommand).de(de_PutInsightSelectorsCommand).build() { static { __name(this, "PutInsightSelectorsCommand"); }}; // 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("CloudTrail_20131101", "PutResourcePolicy", {}).n("CloudTrailClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() { static { __name(this, "PutResourcePolicyCommand"); }}; // src/commands/RegisterOrganizationDelegatedAdminCommand.ts var RegisterOrganizationDelegatedAdminCommand = 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("CloudTrail_20131101", "RegisterOrganizationDelegatedAdmin", {}).n("CloudTrailClient", "RegisterOrganizationDelegatedAdminCommand").f(void 0, void 0).ser(se_RegisterOrganizationDelegatedAdminCommand).de(de_RegisterOrganizationDelegatedAdminCommand).build() { static { __name(this, "RegisterOrganizationDelegatedAdminCommand"); }}; // src/commands/RemoveTagsCommand.ts var RemoveTagsCommand = 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("CloudTrail_20131101", "RemoveTags", {}).n("CloudTrailClient", "RemoveTagsCommand").f(void 0, void 0).ser(se_RemoveTagsCommand).de(de_RemoveTagsCommand).build() { static { __name(this, "RemoveTagsCommand"); }}; // src/commands/RestoreEventDataStoreCommand.ts var RestoreEventDataStoreCommand = 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("CloudTrail_20131101", "RestoreEventDataStore", {}).n("CloudTrailClient", "RestoreEventDataStoreCommand").f(void 0, void 0).ser(se_RestoreEventDataStoreCommand).de(de_RestoreEventDataStoreCommand).build() { static { __name(this, "RestoreEventDataStoreCommand"); }}; // src/commands/SearchSampleQueriesCommand.ts var SearchSampleQueriesCommand = 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("CloudTrail_20131101", "SearchSampleQueries", {}).n("CloudTrailClient", "SearchSampleQueriesCommand").f(void 0, void 0).ser(se_SearchSampleQueriesCommand).de(de_SearchSampleQueriesCommand).build() { static { __name(this, "SearchSampleQueriesCommand"); }}; // src/commands/StartDashboardRefreshCommand.ts var StartDashboardRefreshCommand = 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("CloudTrail_20131101", "StartDashboardRefresh", {}).n("CloudTrailClient", "StartDashboardRefreshCommand").f(void 0, void 0).ser(se_StartDashboardRefreshCommand).de(de_StartDashboardRefreshCommand).build() { static { __name(this, "StartDashboardRefreshCommand"); }}; // src/commands/StartEventDataStoreIngestionCommand.ts var StartEventDataStoreIngestionCommand = 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("CloudTrail_20131101", "StartEventDataStoreIngestion", {}).n("CloudTrailClient", "StartEventDataStoreIngestionCommand").f(void 0, void 0).ser(se_StartEventDataStoreIngestionCommand).de(de_StartEventDataStoreIngestionCommand).build() { static { __name(this, "StartEventDataStoreIngestionCommand"); }}; // src/commands/StartImportCommand.ts var StartImportCommand = 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("CloudTrail_20131101", "StartImport", {}).n("CloudTrailClient", "StartImportCommand").f(void 0, void 0).ser(se_StartImportCommand).de(de_StartImportCommand).build() { static { __name(this, "StartImportCommand"); }}; // src/commands/StartLoggingCommand.ts var StartLoggingCommand = 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("CloudTrail_20131101", "StartLogging", {}).n("CloudTrailClient", "StartLoggingCommand").f(void 0, void 0).ser(se_StartLoggingCommand).de(de_StartLoggingCommand).build() { static { __name(this, "StartLoggingCommand"); }}; // src/commands/StartQueryCommand.ts var StartQueryCommand = 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("CloudTrail_20131101", "StartQuery", {}).n("CloudTrailClient", "StartQueryCommand").f(void 0, void 0).ser(se_StartQueryCommand).de(de_StartQueryCommand).build() { static { __name(this, "StartQueryCommand"); }}; // src/commands/StopEventDataStoreIngestionCommand.ts var StopEventDataStoreIngestionCommand = 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("CloudTrail_20131101", "StopEventDataStoreIngestion", {}).n("CloudTrailClient", "StopEventDataStoreIngestionCommand").f(void 0, void 0).ser(se_StopEventDataStoreIngestionCommand).de(de_StopEventDataStoreIngestionCommand).build() { static { __name(this, "StopEventDataStoreIngestionCommand"); }}; // src/commands/StopImportCommand.ts var StopImportCommand = 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("CloudTrail_20131101", "StopImport", {}).n("CloudTrailClient", "StopImportCommand").f(void 0, void 0).ser(se_StopImportCommand).de(de_StopImportCommand).build() { static { __name(this, "StopImportCommand"); }}; // src/commands/StopLoggingCommand.ts var StopLoggingCommand = 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("CloudTrail_20131101", "StopLogging", {}).n("CloudTrailClient", "StopLoggingCommand").f(void 0, void 0).ser(se_StopLoggingCommand).de(de_StopLoggingCommand).build() { static { __name(this, "StopLoggingCommand"); }}; // src/commands/UpdateChannelCommand.ts var UpdateChannelCommand = 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("CloudTrail_20131101", "UpdateChannel", {}).n("CloudTrailClient", "UpdateChannelCommand").f(void 0, void 0).ser(se_UpdateChannelCommand).de(de_UpdateChannelCommand).build() { static { __name(this, "UpdateChannelCommand"); }}; // src/commands/UpdateDashboardCommand.ts var UpdateDashboardCommand = 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("CloudTrail_20131101", "UpdateDashboard", {}).n("CloudTrailClient", "UpdateDashboardCommand").f(void 0, void 0).ser(se_UpdateDashboardCommand).de(de_UpdateDashboardCommand).build() { static { __name(this, "UpdateDashboardCommand"); }}; // src/commands/UpdateEventDataStoreCommand.ts var UpdateEventDataStoreCommand = 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("CloudTrail_20131101", "UpdateEventDataStore", {}).n("CloudTrailClient", "UpdateEventDataStoreCommand").f(void 0, void 0).ser(se_UpdateEventDataStoreCommand).de(de_UpdateEventDataStoreCommand).build() { static { __name(this, "UpdateEventDataStoreCommand"); }}; // src/commands/UpdateTrailCommand.ts var UpdateTrailCommand = 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("CloudTrail_20131101", "UpdateTrail", {}).n("CloudTrailClient", "UpdateTrailCommand").f(void 0, void 0).ser(se_UpdateTrailCommand).de(de_UpdateTrailCommand).build() { static { __name(this, "UpdateTrailCommand"); }}; // src/CloudTrail.tsvar commands = { AddTagsCommand, CancelQueryCommand, CreateChannelCommand, CreateDashboardCommand, CreateEventDataStoreCommand, CreateTrailCommand, DeleteChannelCommand, DeleteDashboardCommand, DeleteEventDataStoreCommand, DeleteResourcePolicyCommand, DeleteTrailCommand, DeregisterOrganizationDelegatedAdminCommand, DescribeQueryCommand, DescribeTrailsCommand, DisableFederationCommand, EnableFederationCommand, GenerateQueryCommand, GetChannelCommand, GetDashboardCommand, GetEventConfigurationCommand, GetEventDataStoreCommand, GetEventSelectorsCommand, GetImportCommand, GetInsightSelectorsCommand, GetQueryResultsCommand, GetResourcePolicyCommand, GetTrailCommand, GetTrailStatusCommand, ListChannelsCommand, ListDashboardsCommand, ListEventDataStoresCommand, ListImportFailuresCommand, ListImportsCommand, ListInsightsMetricDataCommand, ListPublicKeysCommand, ListQueriesCommand, ListTagsCommand, ListTrailsCommand, LookupEventsCommand, PutEventConfigurationCommand, PutEventSelectorsCommand, PutInsightSelectorsCommand, PutResourcePolicyCommand, RegisterOrganizationDelegatedAdminCommand, RemoveTagsCommand, RestoreEventDataStoreCommand, SearchSampleQueriesCommand, StartDashboardRefreshCommand, StartEventDataStoreIngestionCommand, StartImportCommand, StartLoggingCommand, StartQueryCommand, StopEventDataStoreIngestionCommand, StopImportCommand, StopLoggingCommand, UpdateChannelCommand, UpdateDashboardCommand, UpdateEventDataStoreCommand, UpdateTrailCommand};var CloudTrail = class extends CloudTrailClient { static { __name(this, "CloudTrail"); }};(0, import_smithy_client.createAggregatedClient)(commands, CloudTrail); // src/pagination/GetQueryResultsPaginator.ts var paginateGetQueryResults = (0, import_core.createPaginator)(CloudTrailClient, GetQueryResultsCommand, "NextToken", "NextToken", ""); // src/pagination/ListChannelsPaginator.ts var paginateListChannels = (0, import_core.createPaginator)(CloudTrailClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListEventDataStoresPaginator.ts var paginateListEventDataStores = (0, import_core.createPaginator)(CloudTrailClient, ListEventDataStoresCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListImportFailuresPaginator.ts var paginateListImportFailures = (0, import_core.createPaginator)(CloudTrailClient, ListImportFailuresCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListImportsPaginator.ts var paginateListImports = (0, import_core.createPaginator)(CloudTrailClient, ListImportsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListInsightsMetricDataPaginator.ts var paginateListInsightsMetricData = (0, import_core.createPaginator)(CloudTrailClient, ListInsightsMetricDataCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListPublicKeysPaginator.ts var paginateListPublicKeys = (0, import_core.createPaginator)(CloudTrailClient, ListPublicKeysCommand, "NextToken", "NextToken", ""); // src/pagination/ListQueriesPaginator.ts var paginateListQueries = (0, import_core.createPaginator)(CloudTrailClient, ListQueriesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListTagsPaginator.ts var paginateListTags = (0, import_core.createPaginator)(CloudTrailClient, ListTagsCommand, "NextToken", "NextToken", ""); // src/pagination/ListTrailsPaginator.ts var paginateListTrails = (0, import_core.createPaginator)(CloudTrailClient, ListTrailsCommand, "NextToken", "NextToken", ""); // src/pagination/LookupEventsPaginator.ts var paginateLookupEvents = (0, import_core.createPaginator)(CloudTrailClient, LookupEventsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { CloudTrailServiceException, __Client, CloudTrailClient, CloudTrail, $Command, AddTagsCommand, CancelQueryCommand, CreateChannelCommand, CreateDashboardCommand, CreateEventDataStoreCommand, CreateTrailCommand, DeleteChannelCommand, DeleteDashboardCommand, DeleteEventDataStoreCommand, DeleteResourcePolicyCommand, DeleteTrailCommand, DeregisterOrganizationDelegatedAdminCommand, DescribeQueryCommand, DescribeTrailsCommand, DisableFederationCommand, EnableFederationCommand, GenerateQueryCommand, GetChannelCommand, GetDashboardCommand, GetEventConfigurationCommand, GetEventDataStoreCommand, GetEventSelectorsCommand, GetImportCommand, GetInsightSelectorsCommand, GetQueryResultsCommand, GetResourcePolicyCommand, GetTrailCommand, GetTrailStatusCommand, ListChannelsCommand, ListDashboardsCommand, ListEventDataStoresCommand, ListImportFailuresCommand, ListImportsCommand, ListInsightsMetricDataCommand, ListPublicKeysCommand, ListQueriesCommand, ListTagsCommand, ListTrailsCommand, LookupEventsCommand, PutEventConfigurationCommand, PutEventSelectorsCommand, PutInsightSelectorsCommand, PutResourcePolicyCommand, RegisterOrganizationDelegatedAdminCommand, RemoveTagsCommand, RestoreEventDataStoreCommand, SearchSampleQueriesCommand, StartDashboardRefreshCommand, StartEventDataStoreIngestionCommand, StartImportCommand, StartLoggingCommand, StartQueryCommand, StopEventDataStoreIngestionCommand, StopImportCommand, StopLoggingCommand, UpdateChannelCommand, UpdateDashboardCommand, UpdateEventDataStoreCommand, UpdateTrailCommand, paginateGetQueryResults, paginateListChannels, paginateListEventDataStores, paginateListImportFailures, paginateListImports, paginateListInsightsMetricData, paginateListPublicKeys, paginateListQueries, paginateListTags, paginateListTrails, paginateLookupEvents, AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, ChannelARNInvalidException, ChannelNotFoundException, CloudTrailARNInvalidException, ConflictException, EventDataStoreARNInvalidException, EventDataStoreNotFoundException, InactiveEventDataStoreException, InvalidTagParameterException, InvalidTrailNameException, NoManagementAccountSLRExistsException, NotOrganizationMasterAccountException, OperationNotPermittedException, ResourceNotFoundException, ResourceTypeNotSupportedException, TagsLimitExceededException, UnsupportedOperationException, BillingMode, QueryStatus, InactiveQueryException, InvalidParameterException, QueryIdNotFoundException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, DestinationType, InvalidEventDataStoreCategoryException, InvalidSourceException, RefreshScheduleFrequencyUnit, RefreshScheduleStatus, DashboardType, InsufficientEncryptionPolicyException, InvalidQueryStatementException, ServiceQuotaExceededException, CloudTrailAccessNotEnabledException, EventDataStoreStatus, EventDataStoreAlreadyExistsException, EventDataStoreMaxLimitExceededException, InsufficientDependencyServiceAccessPermissionException, InvalidEventSelectorsException, InvalidKmsKeyIdException, KmsException, KmsKeyNotFoundException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidParameterCombinationException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, KmsKeyDisabledException, MaximumNumberOfTrailsExceededException, S3BucketDoesNotExistException, ThrottlingException, TrailAlreadyExistsException, TrailNotProvidedException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreTerminationProtectedException, ResourceARNNotValidException, ResourcePolicyNotFoundException, InvalidHomeRegionException, TrailNotFoundException, NotOrganizationManagementAccountException, DeliveryStatus, ConcurrentModificationException, FederationStatus, GenerateResponseException, DashboardStatus, Type, MaxEventSize, InvalidEventDataStoreStatusException, ReadWriteType, ImportStatus, ImportNotFoundException, InsightType, InsightNotEnabledException, InvalidMaxResultsException, InvalidNextTokenException, ImportFailureStatus, InsightsMetricDataType, InvalidTimeRangeException, InvalidTokenException, InvalidDateRangeException, InvalidQueryStatusException, InvalidEventCategoryException, InvalidLookupAttributesException, EventCategory, LookupAttributeKey, InsufficientIAMAccessPermissionException, InvalidInsightSelectorsException, ResourcePolicyNotValidException, DelegatedAdminAccountLimitExceededException, InvalidImportSourceException, MaxConcurrentQueriesException});