File Explorer

/var/runtime/node_modules/@aws-sdk/client-pinpoint/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 /.

2 dirs
3 files
index.js296 KB · 7181 lines
"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, {  Action: () => Action,  Alignment: () => Alignment,  AttributeType: () => AttributeType,  BadRequestException: () => BadRequestException,  ButtonAction: () => ButtonAction,  CampaignStatus: () => CampaignStatus,  ChannelType: () => ChannelType,  ConflictException: () => ConflictException,  CreateAppCommand: () => CreateAppCommand,  CreateCampaignCommand: () => CreateCampaignCommand,  CreateEmailTemplateCommand: () => CreateEmailTemplateCommand,  CreateExportJobCommand: () => CreateExportJobCommand,  CreateImportJobCommand: () => CreateImportJobCommand,  CreateInAppTemplateCommand: () => CreateInAppTemplateCommand,  CreateJourneyCommand: () => CreateJourneyCommand,  CreatePushTemplateCommand: () => CreatePushTemplateCommand,  CreateRecommenderConfigurationCommand: () => CreateRecommenderConfigurationCommand,  CreateSegmentCommand: () => CreateSegmentCommand,  CreateSmsTemplateCommand: () => CreateSmsTemplateCommand,  CreateVoiceTemplateCommand: () => CreateVoiceTemplateCommand,  DayOfWeek: () => DayOfWeek,  DeleteAdmChannelCommand: () => DeleteAdmChannelCommand,  DeleteApnsChannelCommand: () => DeleteApnsChannelCommand,  DeleteApnsSandboxChannelCommand: () => DeleteApnsSandboxChannelCommand,  DeleteApnsVoipChannelCommand: () => DeleteApnsVoipChannelCommand,  DeleteApnsVoipSandboxChannelCommand: () => DeleteApnsVoipSandboxChannelCommand,  DeleteAppCommand: () => DeleteAppCommand,  DeleteBaiduChannelCommand: () => DeleteBaiduChannelCommand,  DeleteCampaignCommand: () => DeleteCampaignCommand,  DeleteEmailChannelCommand: () => DeleteEmailChannelCommand,  DeleteEmailTemplateCommand: () => DeleteEmailTemplateCommand,  DeleteEndpointCommand: () => DeleteEndpointCommand,  DeleteEventStreamCommand: () => DeleteEventStreamCommand,  DeleteGcmChannelCommand: () => DeleteGcmChannelCommand,  DeleteInAppTemplateCommand: () => DeleteInAppTemplateCommand,  DeleteJourneyCommand: () => DeleteJourneyCommand,  DeletePushTemplateCommand: () => DeletePushTemplateCommand,  DeleteRecommenderConfigurationCommand: () => DeleteRecommenderConfigurationCommand,  DeleteSegmentCommand: () => DeleteSegmentCommand,  DeleteSmsChannelCommand: () => DeleteSmsChannelCommand,  DeleteSmsTemplateCommand: () => DeleteSmsTemplateCommand,  DeleteUserEndpointsCommand: () => DeleteUserEndpointsCommand,  DeleteVoiceChannelCommand: () => DeleteVoiceChannelCommand,  DeleteVoiceTemplateCommand: () => DeleteVoiceTemplateCommand,  DeliveryStatus: () => DeliveryStatus,  DimensionType: () => DimensionType,  Duration: () => Duration,  FilterType: () => FilterType,  ForbiddenException: () => ForbiddenException,  Format: () => Format,  Frequency: () => Frequency,  GetAdmChannelCommand: () => GetAdmChannelCommand,  GetApnsChannelCommand: () => GetApnsChannelCommand,  GetApnsSandboxChannelCommand: () => GetApnsSandboxChannelCommand,  GetApnsVoipChannelCommand: () => GetApnsVoipChannelCommand,  GetApnsVoipSandboxChannelCommand: () => GetApnsVoipSandboxChannelCommand,  GetAppCommand: () => GetAppCommand,  GetApplicationDateRangeKpiCommand: () => GetApplicationDateRangeKpiCommand,  GetApplicationSettingsCommand: () => GetApplicationSettingsCommand,  GetAppsCommand: () => GetAppsCommand,  GetBaiduChannelCommand: () => GetBaiduChannelCommand,  GetCampaignActivitiesCommand: () => GetCampaignActivitiesCommand,  GetCampaignCommand: () => GetCampaignCommand,  GetCampaignDateRangeKpiCommand: () => GetCampaignDateRangeKpiCommand,  GetCampaignVersionCommand: () => GetCampaignVersionCommand,  GetCampaignVersionsCommand: () => GetCampaignVersionsCommand,  GetCampaignsCommand: () => GetCampaignsCommand,  GetChannelsCommand: () => GetChannelsCommand,  GetEmailChannelCommand: () => GetEmailChannelCommand,  GetEmailTemplateCommand: () => GetEmailTemplateCommand,  GetEndpointCommand: () => GetEndpointCommand,  GetEventStreamCommand: () => GetEventStreamCommand,  GetExportJobCommand: () => GetExportJobCommand,  GetExportJobsCommand: () => GetExportJobsCommand,  GetGcmChannelCommand: () => GetGcmChannelCommand,  GetImportJobCommand: () => GetImportJobCommand,  GetImportJobsCommand: () => GetImportJobsCommand,  GetInAppMessagesCommand: () => GetInAppMessagesCommand,  GetInAppTemplateCommand: () => GetInAppTemplateCommand,  GetJourneyCommand: () => GetJourneyCommand,  GetJourneyDateRangeKpiCommand: () => GetJourneyDateRangeKpiCommand,  GetJourneyExecutionActivityMetricsCommand: () => GetJourneyExecutionActivityMetricsCommand,  GetJourneyExecutionMetricsCommand: () => GetJourneyExecutionMetricsCommand,  GetJourneyRunExecutionActivityMetricsCommand: () => GetJourneyRunExecutionActivityMetricsCommand,  GetJourneyRunExecutionMetricsCommand: () => GetJourneyRunExecutionMetricsCommand,  GetJourneyRunsCommand: () => GetJourneyRunsCommand,  GetPushTemplateCommand: () => GetPushTemplateCommand,  GetRecommenderConfigurationCommand: () => GetRecommenderConfigurationCommand,  GetRecommenderConfigurationsCommand: () => GetRecommenderConfigurationsCommand,  GetSegmentCommand: () => GetSegmentCommand,  GetSegmentExportJobsCommand: () => GetSegmentExportJobsCommand,  GetSegmentImportJobsCommand: () => GetSegmentImportJobsCommand,  GetSegmentVersionCommand: () => GetSegmentVersionCommand,  GetSegmentVersionsCommand: () => GetSegmentVersionsCommand,  GetSegmentsCommand: () => GetSegmentsCommand,  GetSmsChannelCommand: () => GetSmsChannelCommand,  GetSmsTemplateCommand: () => GetSmsTemplateCommand,  GetUserEndpointsCommand: () => GetUserEndpointsCommand,  GetVoiceChannelCommand: () => GetVoiceChannelCommand,  GetVoiceTemplateCommand: () => GetVoiceTemplateCommand,  Include: () => Include,  InternalServerErrorException: () => InternalServerErrorException,  JobStatus: () => JobStatus,  JourneyRunStatus: () => JourneyRunStatus,  Layout: () => Layout,  ListJourneysCommand: () => ListJourneysCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ListTemplateVersionsCommand: () => ListTemplateVersionsCommand,  ListTemplatesCommand: () => ListTemplatesCommand,  MessageType: () => MessageType,  MethodNotAllowedException: () => MethodNotAllowedException,  Mode: () => Mode,  NotFoundException: () => NotFoundException,  Operator: () => Operator,  PayloadTooLargeException: () => PayloadTooLargeException,  PhoneNumberValidateCommand: () => PhoneNumberValidateCommand,  Pinpoint: () => Pinpoint,  PinpointClient: () => PinpointClient,  PinpointServiceException: () => PinpointServiceException,  PutEventStreamCommand: () => PutEventStreamCommand,  PutEventsCommand: () => PutEventsCommand,  RecencyType: () => RecencyType,  RemoveAttributesCommand: () => RemoveAttributesCommand,  SegmentType: () => SegmentType,  SendMessagesCommand: () => SendMessagesCommand,  SendOTPMessageCommand: () => SendOTPMessageCommand,  SendUsersMessagesCommand: () => SendUsersMessagesCommand,  SourceType: () => SourceType,  State: () => State,  TagResourceCommand: () => TagResourceCommand,  TemplateType: () => TemplateType,  TooManyRequestsException: () => TooManyRequestsException,  Type: () => Type,  UntagResourceCommand: () => UntagResourceCommand,  UpdateAdmChannelCommand: () => UpdateAdmChannelCommand,  UpdateApnsChannelCommand: () => UpdateApnsChannelCommand,  UpdateApnsSandboxChannelCommand: () => UpdateApnsSandboxChannelCommand,  UpdateApnsVoipChannelCommand: () => UpdateApnsVoipChannelCommand,  UpdateApnsVoipSandboxChannelCommand: () => UpdateApnsVoipSandboxChannelCommand,  UpdateApplicationSettingsCommand: () => UpdateApplicationSettingsCommand,  UpdateBaiduChannelCommand: () => UpdateBaiduChannelCommand,  UpdateCampaignCommand: () => UpdateCampaignCommand,  UpdateEmailChannelCommand: () => UpdateEmailChannelCommand,  UpdateEmailTemplateCommand: () => UpdateEmailTemplateCommand,  UpdateEndpointCommand: () => UpdateEndpointCommand,  UpdateEndpointsBatchCommand: () => UpdateEndpointsBatchCommand,  UpdateGcmChannelCommand: () => UpdateGcmChannelCommand,  UpdateInAppTemplateCommand: () => UpdateInAppTemplateCommand,  UpdateJourneyCommand: () => UpdateJourneyCommand,  UpdateJourneyStateCommand: () => UpdateJourneyStateCommand,  UpdatePushTemplateCommand: () => UpdatePushTemplateCommand,  UpdateRecommenderConfigurationCommand: () => UpdateRecommenderConfigurationCommand,  UpdateSegmentCommand: () => UpdateSegmentCommand,  UpdateSmsChannelCommand: () => UpdateSmsChannelCommand,  UpdateSmsTemplateCommand: () => UpdateSmsTemplateCommand,  UpdateTemplateActiveVersionCommand: () => UpdateTemplateActiveVersionCommand,  UpdateVoiceChannelCommand: () => UpdateVoiceChannelCommand,  UpdateVoiceTemplateCommand: () => UpdateVoiceTemplateCommand,  VerifyOTPMessageCommand: () => VerifyOTPMessageCommand,  __Client: () => import_smithy_client.Client,  __EndpointTypesElement: () => __EndpointTypesElement,  __TimezoneEstimationMethodsElement: () => __TimezoneEstimationMethodsElement});module.exports = __toCommonJS(index_exports); // src/PinpointClient.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: "mobiletargeting"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/PinpointClient.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/PinpointClient.tsvar PinpointClient = class extends import_smithy_client.Client {  static {    __name(this, "PinpointClient");  }  /**   * The resolved configuration of PinpointClient class. This is resolved and normalized from the {@link PinpointClientConfig | 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.defaultPinpointHttpAuthSchemeParametersProvider,        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/Pinpoint.ts  // src/commands/CreateAppCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");   // src/models/PinpointServiceException.ts var PinpointServiceException = class _PinpointServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "PinpointServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _PinpointServiceException.prototype);  }}; // src/models/models_0.tsvar __EndpointTypesElement = {  ADM: "ADM",  APNS: "APNS",  APNS_SANDBOX: "APNS_SANDBOX",  APNS_VOIP: "APNS_VOIP",  APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX",  BAIDU: "BAIDU",  CUSTOM: "CUSTOM",  EMAIL: "EMAIL",  GCM: "GCM",  IN_APP: "IN_APP",  PUSH: "PUSH",  SMS: "SMS",  VOICE: "VOICE"};var __TimezoneEstimationMethodsElement = {  PHONE_NUMBER: "PHONE_NUMBER",  POSTAL_CODE: "POSTAL_CODE"};var Action = {  DEEP_LINK: "DEEP_LINK",  OPEN_APP: "OPEN_APP",  URL: "URL"};var AttributeType = {  AFTER: "AFTER",  BEFORE: "BEFORE",  BETWEEN: "BETWEEN",  CONTAINS: "CONTAINS",  EXCLUSIVE: "EXCLUSIVE",  INCLUSIVE: "INCLUSIVE",  ON: "ON"};var DimensionType = {  EXCLUSIVE: "EXCLUSIVE",  INCLUSIVE: "INCLUSIVE"};var Duration = {  DAY_14: "DAY_14",  DAY_30: "DAY_30",  DAY_7: "DAY_7",  HR_24: "HR_24"};var RecencyType = {  ACTIVE: "ACTIVE",  INACTIVE: "INACTIVE"};var Operator = {  ALL: "ALL",  ANY: "ANY"};var MessageType = {  PROMOTIONAL: "PROMOTIONAL",  TRANSACTIONAL: "TRANSACTIONAL"};var ChannelType = {  ADM: "ADM",  APNS: "APNS",  APNS_SANDBOX: "APNS_SANDBOX",  APNS_VOIP: "APNS_VOIP",  APNS_VOIP_SANDBOX: "APNS_VOIP_SANDBOX",  BAIDU: "BAIDU",  CUSTOM: "CUSTOM",  EMAIL: "EMAIL",  GCM: "GCM",  IN_APP: "IN_APP",  PUSH: "PUSH",  SMS: "SMS",  VOICE: "VOICE"};var Alignment = {  CENTER: "CENTER",  LEFT: "LEFT",  RIGHT: "RIGHT"};var Mode = {  DELIVERY: "DELIVERY",  FILTER: "FILTER"};var BadRequestException = class _BadRequestException extends PinpointServiceException {  static {    __name(this, "BadRequestException");  }  name = "BadRequestException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "BadRequestException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _BadRequestException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var ButtonAction = {  CLOSE: "CLOSE",  DEEP_LINK: "DEEP_LINK",  LINK: "LINK"};var FilterType = {  ENDPOINT: "ENDPOINT",  SYSTEM: "SYSTEM"};var Layout = {  BOTTOM_BANNER: "BOTTOM_BANNER",  CAROUSEL: "CAROUSEL",  MIDDLE_BANNER: "MIDDLE_BANNER",  MOBILE_FEED: "MOBILE_FEED",  OVERLAYS: "OVERLAYS",  TOP_BANNER: "TOP_BANNER"};var Frequency = {  DAILY: "DAILY",  EVENT: "EVENT",  HOURLY: "HOURLY",  IN_APP_EVENT: "IN_APP_EVENT",  MONTHLY: "MONTHLY",  ONCE: "ONCE",  WEEKLY: "WEEKLY"};var CampaignStatus = {  COMPLETED: "COMPLETED",  DELETED: "DELETED",  EXECUTING: "EXECUTING",  INVALID: "INVALID",  PAUSED: "PAUSED",  PENDING_NEXT_RUN: "PENDING_NEXT_RUN",  SCHEDULED: "SCHEDULED"};var ConflictException = class _ConflictException extends PinpointServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var ForbiddenException = class _ForbiddenException extends PinpointServiceException {  static {    __name(this, "ForbiddenException");  }  name = "ForbiddenException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "ForbiddenException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ForbiddenException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var InternalServerErrorException = class _InternalServerErrorException extends PinpointServiceException {  static {    __name(this, "InternalServerErrorException");  }  name = "InternalServerErrorException";  $fault = "server";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerErrorException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerErrorException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var MethodNotAllowedException = class _MethodNotAllowedException extends PinpointServiceException {  static {    __name(this, "MethodNotAllowedException");  }  name = "MethodNotAllowedException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "MethodNotAllowedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _MethodNotAllowedException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var NotFoundException = class _NotFoundException extends PinpointServiceException {  static {    __name(this, "NotFoundException");  }  name = "NotFoundException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "NotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _NotFoundException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var PayloadTooLargeException = class _PayloadTooLargeException extends PinpointServiceException {  static {    __name(this, "PayloadTooLargeException");  }  name = "PayloadTooLargeException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "PayloadTooLargeException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _PayloadTooLargeException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var TooManyRequestsException = class _TooManyRequestsException extends PinpointServiceException {  static {    __name(this, "TooManyRequestsException");  }  name = "TooManyRequestsException";  $fault = "client";  /**   * <p>The message that's returned from the API.</p>   * @public   */  Message;  /**   * <p>The unique identifier for the request or response.</p>   * @public   */  RequestID;  /**   * @internal   */  constructor(opts) {    super({      name: "TooManyRequestsException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _TooManyRequestsException.prototype);    this.Message = opts.Message;    this.RequestID = opts.RequestID;  }};var JobStatus = {  COMPLETED: "COMPLETED",  COMPLETING: "COMPLETING",  CREATED: "CREATED",  FAILED: "FAILED",  FAILING: "FAILING",  INITIALIZING: "INITIALIZING",  PENDING_JOB: "PENDING_JOB",  PREPARING_FOR_INITIALIZATION: "PREPARING_FOR_INITIALIZATION",  PROCESSING: "PROCESSING"};var Format = {  CSV: "CSV",  JSON: "JSON"};var DayOfWeek = {  FRIDAY: "FRIDAY",  MONDAY: "MONDAY",  SATURDAY: "SATURDAY",  SUNDAY: "SUNDAY",  THURSDAY: "THURSDAY",  TUESDAY: "TUESDAY",  WEDNESDAY: "WEDNESDAY"};var State = {  ACTIVE: "ACTIVE",  CANCELLED: "CANCELLED",  CLOSED: "CLOSED",  COMPLETED: "COMPLETED",  DRAFT: "DRAFT",  PAUSED: "PAUSED"};var SourceType = {  ALL: "ALL",  ANY: "ANY",  NONE: "NONE"};var Type = {  ALL: "ALL",  ANY: "ANY",  NONE: "NONE"};var Include = {  ALL: "ALL",  ANY: "ANY",  NONE: "NONE"};var SegmentType = {  DIMENSIONAL: "DIMENSIONAL",  IMPORT: "IMPORT"};var DeliveryStatus = {  DUPLICATE: "DUPLICATE",  OPT_OUT: "OPT_OUT",  PERMANENT_FAILURE: "PERMANENT_FAILURE",  SUCCESSFUL: "SUCCESSFUL",  TEMPORARY_FAILURE: "TEMPORARY_FAILURE",  THROTTLED: "THROTTLED",  UNKNOWN_FAILURE: "UNKNOWN_FAILURE"};var TemplateType = {  EMAIL: "EMAIL",  INAPP: "INAPP",  PUSH: "PUSH",  SMS: "SMS",  VOICE: "VOICE"}; // src/protocols/Aws_restJson1.tsvar se_CreateAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps");  let body;  if (input.CreateApplicationRequest !== void 0) {    body = se_CreateApplicationRequest(input.CreateApplicationRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateAppCommand");var se_CreateCampaignCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/campaigns");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.WriteCampaignRequest !== void 0) {    body = se_WriteCampaignRequest(input.WriteCampaignRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateCampaignCommand");var se_CreateEmailTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/email");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  let body;  if (input.EmailTemplateRequest !== void 0) {    body = se_EmailTemplateRequest(input.EmailTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateEmailTemplateCommand");var se_CreateExportJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/jobs/export");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.ExportJobRequest !== void 0) {    body = (0, import_smithy_client._json)(input.ExportJobRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateExportJobCommand");var se_CreateImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/jobs/import");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.ImportJobRequest !== void 0) {    body = (0, import_smithy_client._json)(input.ImportJobRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateImportJobCommand");var se_CreateInAppTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/inapp");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  let body;  if (input.InAppTemplateRequest !== void 0) {    body = se_InAppTemplateRequest(input.InAppTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateInAppTemplateCommand");var se_CreateJourneyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/journeys");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.WriteJourneyRequest !== void 0) {    body = se_WriteJourneyRequest(input.WriteJourneyRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateJourneyCommand");var se_CreatePushTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/push");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  let body;  if (input.PushNotificationTemplateRequest !== void 0) {    body = se_PushNotificationTemplateRequest(input.PushNotificationTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreatePushTemplateCommand");var se_CreateRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/recommenders");  let body;  if (input.CreateRecommenderConfiguration !== void 0) {    body = (0, import_smithy_client._json)(input.CreateRecommenderConfiguration);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateRecommenderConfigurationCommand");var se_CreateSegmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/segments");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.WriteSegmentRequest !== void 0) {    body = se_WriteSegmentRequest(input.WriteSegmentRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateSegmentCommand");var se_CreateSmsTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/sms");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  let body;  if (input.SMSTemplateRequest !== void 0) {    body = se_SMSTemplateRequest(input.SMSTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateSmsTemplateCommand");var se_CreateVoiceTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/voice");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  let body;  if (input.VoiceTemplateRequest !== void 0) {    body = se_VoiceTemplateRequest(input.VoiceTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateVoiceTemplateCommand");var se_DeleteAdmChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/adm");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteAdmChannelCommand");var se_DeleteApnsChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteApnsChannelCommand");var se_DeleteApnsSandboxChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns_sandbox");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteApnsSandboxChannelCommand");var se_DeleteApnsVoipChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns_voip");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteApnsVoipChannelCommand");var se_DeleteApnsVoipSandboxChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns_voip_sandbox");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteApnsVoipSandboxChannelCommand");var se_DeleteAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteAppCommand");var se_DeleteBaiduChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/baidu");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteBaiduChannelCommand");var se_DeleteCampaignCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteCampaignCommand");var se_DeleteEmailChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/email");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteEmailChannelCommand");var se_DeleteEmailTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/email");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteEmailTemplateCommand");var se_DeleteEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/endpoints/{EndpointId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteEndpointCommand");var se_DeleteEventStreamCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/eventstream");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteEventStreamCommand");var se_DeleteGcmChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/gcm");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteGcmChannelCommand");var se_DeleteInAppTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/inapp");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteInAppTemplateCommand");var se_DeleteJourneyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteJourneyCommand");var se_DeletePushTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/push");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeletePushTemplateCommand");var se_DeleteRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/recommenders/{RecommenderId}");  b.p("RecommenderId", () => input.RecommenderId, "{RecommenderId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteRecommenderConfigurationCommand");var se_DeleteSegmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSegmentCommand");var se_DeleteSmsChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/sms");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteSmsChannelCommand");var se_DeleteSmsTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/sms");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteSmsTemplateCommand");var se_DeleteUserEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/users/{UserId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteUserEndpointsCommand");var se_DeleteVoiceChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/voice");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteVoiceChannelCommand");var se_DeleteVoiceTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/voice");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_DeleteVoiceTemplateCommand");var se_GetAdmChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/adm");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetAdmChannelCommand");var se_GetApnsChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetApnsChannelCommand");var se_GetApnsSandboxChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns_sandbox");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetApnsSandboxChannelCommand");var se_GetApnsVoipChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns_voip");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetApnsVoipChannelCommand");var se_GetApnsVoipSandboxChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/apns_voip_sandbox");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetApnsVoipSandboxChannelCommand");var se_GetAppCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetAppCommand");var se_GetApplicationDateRangeKpiCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/kpis/daterange/{KpiName}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("KpiName", () => input.KpiName, "{KpiName}", false);  const query = (0, import_smithy_client.map)({    [_et]: [() => input.EndTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]],    [_st]: [() => input.StartTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetApplicationDateRangeKpiCommand");var se_GetApplicationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/settings");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetApplicationSettingsCommand");var se_GetAppsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps");  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetAppsCommand");var se_GetBaiduChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/baidu");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetBaiduChannelCommand");var se_GetCampaignCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetCampaignCommand");var se_GetCampaignActivitiesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}/activities");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetCampaignActivitiesCommand");var se_GetCampaignDateRangeKpiCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}/kpis/daterange/{KpiName}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  b.p("KpiName", () => input.KpiName, "{KpiName}", false);  const query = (0, import_smithy_client.map)({    [_et]: [() => input.EndTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]],    [_st]: [() => input.StartTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetCampaignDateRangeKpiCommand");var se_GetCampaignsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetCampaignsCommand");var se_GetCampaignVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}/versions/{Version}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  b.p("Version", () => input.Version, "{Version}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetCampaignVersionCommand");var se_GetCampaignVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}/versions");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetCampaignVersionsCommand");var se_GetChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetChannelsCommand");var se_GetEmailChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/email");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetEmailChannelCommand");var se_GetEmailTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/email");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetEmailTemplateCommand");var se_GetEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/endpoints/{EndpointId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetEndpointCommand");var se_GetEventStreamCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/eventstream");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetEventStreamCommand");var se_GetExportJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/jobs/export/{JobId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JobId", () => input.JobId, "{JobId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetExportJobCommand");var se_GetExportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/jobs/export");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetExportJobsCommand");var se_GetGcmChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/gcm");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetGcmChannelCommand");var se_GetImportJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/jobs/import/{JobId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JobId", () => input.JobId, "{JobId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetImportJobCommand");var se_GetImportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/jobs/import");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetImportJobsCommand");var se_GetInAppMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/endpoints/{EndpointId}/inappmessages");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetInAppMessagesCommand");var se_GetInAppTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/inapp");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetInAppTemplateCommand");var se_GetJourneyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetJourneyCommand");var se_GetJourneyDateRangeKpiCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/kpis/daterange/{KpiName}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  b.p("KpiName", () => input.KpiName, "{KpiName}", false);  const query = (0, import_smithy_client.map)({    [_et]: [() => input.EndTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ET]).toString()],    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]],    [_st]: [() => input.StartTime !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ST]).toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetJourneyDateRangeKpiCommand");var se_GetJourneyExecutionActivityMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/activities/{JourneyActivityId}/execution-metrics");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyActivityId", () => input.JourneyActivityId, "{JourneyActivityId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  const query = (0, import_smithy_client.map)({    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetJourneyExecutionActivityMetricsCommand");var se_GetJourneyExecutionMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/execution-metrics");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  const query = (0, import_smithy_client.map)({    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetJourneyExecutionMetricsCommand");var se_GetJourneyRunExecutionActivityMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/runs/{RunId}/activities/{JourneyActivityId}/execution-metrics");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyActivityId", () => input.JourneyActivityId, "{JourneyActivityId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  b.p("RunId", () => input.RunId, "{RunId}", false);  const query = (0, import_smithy_client.map)({    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetJourneyRunExecutionActivityMetricsCommand");var se_GetJourneyRunExecutionMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/runs/{RunId}/execution-metrics");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  b.p("RunId", () => input.RunId, "{RunId}", false);  const query = (0, import_smithy_client.map)({    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetJourneyRunExecutionMetricsCommand");var se_GetJourneyRunsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/runs");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetJourneyRunsCommand");var se_GetPushTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/push");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetPushTemplateCommand");var se_GetRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/recommenders/{RecommenderId}");  b.p("RecommenderId", () => input.RecommenderId, "{RecommenderId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetRecommenderConfigurationCommand");var se_GetRecommenderConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/recommenders");  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetRecommenderConfigurationsCommand");var se_GetSegmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSegmentCommand");var se_GetSegmentExportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}/jobs/export");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetSegmentExportJobsCommand");var se_GetSegmentImportJobsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}/jobs/import");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetSegmentImportJobsCommand");var se_GetSegmentsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetSegmentsCommand");var se_GetSegmentVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}/versions/{Version}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  b.p("Version", () => input.Version, "{Version}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSegmentVersionCommand");var se_GetSegmentVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}/versions");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetSegmentVersionsCommand");var se_GetSmsChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/sms");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetSmsChannelCommand");var se_GetSmsTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/sms");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetSmsTemplateCommand");var se_GetUserEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/users/{UserId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("UserId", () => input.UserId, "{UserId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetUserEndpointsCommand");var se_GetVoiceChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/channels/voice");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetVoiceChannelCommand");var se_GetVoiceTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/voice");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_v]: [, input[_V]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_GetVoiceTemplateCommand");var se_ListJourneysCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/apps/{ApplicationId}/journeys");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  const query = (0, import_smithy_client.map)({    [_ps]: [, input[_PS]],    [_t]: [, input[_T]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListJourneysCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/tags/{ResourceArn}");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_ListTagsForResourceCommand");var se_ListTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates");  const query = (0, import_smithy_client.map)({    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]],    [_p]: [, input[_P]],    [_tt]: [, input[_TT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListTemplatesCommand");var se_ListTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/templates/{TemplateName}/{TemplateType}/versions");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  b.p("TemplateType", () => input.TemplateType, "{TemplateType}", false);  const query = (0, import_smithy_client.map)({    [_nt]: [, input[_NT]],    [_ps]: [, input[_PS]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListTemplateVersionsCommand");var se_PhoneNumberValidateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/phone/number/validate");  let body;  if (input.NumberValidateRequest !== void 0) {    body = (0, import_smithy_client._json)(input.NumberValidateRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_PhoneNumberValidateCommand");var se_PutEventsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/events");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.EventsRequest !== void 0) {    body = se_EventsRequest(input.EventsRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_PutEventsCommand");var se_PutEventStreamCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/eventstream");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.WriteEventStream !== void 0) {    body = (0, import_smithy_client._json)(input.WriteEventStream);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_PutEventStreamCommand");var se_RemoveAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/attributes/{AttributeType}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("AttributeType", () => input.AttributeType, "{AttributeType}", false);  let body;  if (input.UpdateAttributesRequest !== void 0) {    body = (0, import_smithy_client._json)(input.UpdateAttributesRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_RemoveAttributesCommand");var se_SendMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/messages");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.MessageRequest !== void 0) {    body = se_MessageRequest(input.MessageRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_SendMessagesCommand");var se_SendOTPMessageCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/otp");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.SendOTPMessageRequestParameters !== void 0) {    body = (0, import_smithy_client._json)(input.SendOTPMessageRequestParameters);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_SendOTPMessageCommand");var se_SendUsersMessagesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/users-messages");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.SendUsersMessageRequest !== void 0) {    body = se_SendUsersMessageRequest(input.SendUsersMessageRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_SendUsersMessagesCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/tags/{ResourceArn}");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  let body;  if (input.TagsModel !== void 0) {    body = se_TagsModel(input.TagsModel, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/v1/tags/{ResourceArn}");  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);  const query = (0, import_smithy_client.map)({    [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]  });  let body;  b.m("DELETE").h(headers).q(query).b(body);  return b.build();}, "se_UntagResourceCommand");var se_UpdateAdmChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/adm");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.ADMChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.ADMChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateAdmChannelCommand");var se_UpdateApnsChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/apns");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.APNSChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.APNSChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateApnsChannelCommand");var se_UpdateApnsSandboxChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/apns_sandbox");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.APNSSandboxChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.APNSSandboxChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateApnsSandboxChannelCommand");var se_UpdateApnsVoipChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/apns_voip");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.APNSVoipChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.APNSVoipChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateApnsVoipChannelCommand");var se_UpdateApnsVoipSandboxChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/apns_voip_sandbox");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.APNSVoipSandboxChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.APNSVoipSandboxChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateApnsVoipSandboxChannelCommand");var se_UpdateApplicationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/settings");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.WriteApplicationSettingsRequest !== void 0) {    body = (0, import_smithy_client._json)(input.WriteApplicationSettingsRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateApplicationSettingsCommand");var se_UpdateBaiduChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/baidu");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.BaiduChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.BaiduChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateBaiduChannelCommand");var se_UpdateCampaignCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/campaigns/{CampaignId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("CampaignId", () => input.CampaignId, "{CampaignId}", false);  let body;  if (input.WriteCampaignRequest !== void 0) {    body = se_WriteCampaignRequest(input.WriteCampaignRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateCampaignCommand");var se_UpdateEmailChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/email");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.EmailChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.EmailChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateEmailChannelCommand");var se_UpdateEmailTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/email");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_cnv]: [() => input.CreateNewVersion !== void 0, () => input[_CNV].toString()],    [_v]: [, input[_V]]  });  let body;  if (input.EmailTemplateRequest !== void 0) {    body = se_EmailTemplateRequest(input.EmailTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_UpdateEmailTemplateCommand");var se_UpdateEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/endpoints/{EndpointId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);  let body;  if (input.EndpointRequest !== void 0) {    body = se_EndpointRequest(input.EndpointRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateEndpointCommand");var se_UpdateEndpointsBatchCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/endpoints");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.EndpointBatchRequest !== void 0) {    body = se_EndpointBatchRequest(input.EndpointBatchRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateEndpointsBatchCommand");var se_UpdateGcmChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/gcm");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.GCMChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.GCMChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateGcmChannelCommand");var se_UpdateInAppTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/inapp");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_cnv]: [() => input.CreateNewVersion !== void 0, () => input[_CNV].toString()],    [_v]: [, input[_V]]  });  let body;  if (input.InAppTemplateRequest !== void 0) {    body = se_InAppTemplateRequest(input.InAppTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_UpdateInAppTemplateCommand");var se_UpdateJourneyCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  let body;  if (input.WriteJourneyRequest !== void 0) {    body = se_WriteJourneyRequest(input.WriteJourneyRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateJourneyCommand");var se_UpdateJourneyStateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/journeys/{JourneyId}/state");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("JourneyId", () => input.JourneyId, "{JourneyId}", false);  let body;  if (input.JourneyStateRequest !== void 0) {    body = (0, import_smithy_client._json)(input.JourneyStateRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateJourneyStateCommand");var se_UpdatePushTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/push");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_cnv]: [() => input.CreateNewVersion !== void 0, () => input[_CNV].toString()],    [_v]: [, input[_V]]  });  let body;  if (input.PushNotificationTemplateRequest !== void 0) {    body = se_PushNotificationTemplateRequest(input.PushNotificationTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_UpdatePushTemplateCommand");var se_UpdateRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/recommenders/{RecommenderId}");  b.p("RecommenderId", () => input.RecommenderId, "{RecommenderId}", false);  let body;  if (input.UpdateRecommenderConfiguration !== void 0) {    body = (0, import_smithy_client._json)(input.UpdateRecommenderConfiguration);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateRecommenderConfigurationCommand");var se_UpdateSegmentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/segments/{SegmentId}");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  b.p("SegmentId", () => input.SegmentId, "{SegmentId}", false);  let body;  if (input.WriteSegmentRequest !== void 0) {    body = se_WriteSegmentRequest(input.WriteSegmentRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateSegmentCommand");var se_UpdateSmsChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/sms");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.SMSChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.SMSChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateSmsChannelCommand");var se_UpdateSmsTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/sms");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_cnv]: [() => input.CreateNewVersion !== void 0, () => input[_CNV].toString()],    [_v]: [, input[_V]]  });  let body;  if (input.SMSTemplateRequest !== void 0) {    body = se_SMSTemplateRequest(input.SMSTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_UpdateSmsTemplateCommand");var se_UpdateTemplateActiveVersionCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/{TemplateType}/active-version");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  b.p("TemplateType", () => input.TemplateType, "{TemplateType}", false);  let body;  if (input.TemplateActiveVersionRequest !== void 0) {    body = (0, import_smithy_client._json)(input.TemplateActiveVersionRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateTemplateActiveVersionCommand");var se_UpdateVoiceChannelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/channels/voice");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.VoiceChannelRequest !== void 0) {    body = (0, import_smithy_client._json)(input.VoiceChannelRequest);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_UpdateVoiceChannelCommand");var se_UpdateVoiceTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/templates/{TemplateName}/voice");  b.p("TemplateName", () => input.TemplateName, "{TemplateName}", false);  const query = (0, import_smithy_client.map)({    [_cnv]: [() => input.CreateNewVersion !== void 0, () => input[_CNV].toString()],    [_v]: [, input[_V]]  });  let body;  if (input.VoiceTemplateRequest !== void 0) {    body = se_VoiceTemplateRequest(input.VoiceTemplateRequest, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).q(query).b(body);  return b.build();}, "se_UpdateVoiceTemplateCommand");var se_VerifyOTPMessageCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/v1/apps/{ApplicationId}/verify-otp");  b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);  let body;  if (input.VerifyOTPMessageRequestParameters !== void 0) {    body = (0, import_smithy_client._json)(input.VerifyOTPMessageRequestParameters);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_VerifyOTPMessageCommand");var de_CreateAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationResponse = de_ApplicationResponse(data, context);  return contents;}, "de_CreateAppCommand");var de_CreateCampaignCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignResponse = de_CampaignResponse(data, context);  return contents;}, "de_CreateCampaignCommand");var de_CreateEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CreateTemplateMessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateEmailTemplateCommand");var de_CreateExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ExportJobResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateExportJobCommand");var de_CreateImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ImportJobResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateImportJobCommand");var de_CreateInAppTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.TemplateCreateMessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateInAppTemplateCommand");var de_CreateJourneyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyResponse = de_JourneyResponse(data, context);  return contents;}, "de_CreateJourneyCommand");var de_CreatePushTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CreateTemplateMessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_CreatePushTemplateCommand");var de_CreateRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.RecommenderConfigurationResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateRecommenderConfigurationCommand");var de_CreateSegmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentResponse = de_SegmentResponse(data, context);  return contents;}, "de_CreateSegmentCommand");var de_CreateSmsTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CreateTemplateMessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateSmsTemplateCommand");var de_CreateVoiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 201 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CreateTemplateMessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_CreateVoiceTemplateCommand");var de_DeleteAdmChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ADMChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteAdmChannelCommand");var de_DeleteApnsChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteApnsChannelCommand");var de_DeleteApnsSandboxChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSSandboxChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteApnsSandboxChannelCommand");var de_DeleteApnsVoipChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSVoipChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteApnsVoipChannelCommand");var de_DeleteApnsVoipSandboxChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSVoipSandboxChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteApnsVoipSandboxChannelCommand");var de_DeleteAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationResponse = de_ApplicationResponse(data, context);  return contents;}, "de_DeleteAppCommand");var de_DeleteBaiduChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.BaiduChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteBaiduChannelCommand");var de_DeleteCampaignCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignResponse = de_CampaignResponse(data, context);  return contents;}, "de_DeleteCampaignCommand");var de_DeleteEmailChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EmailChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteEmailChannelCommand");var de_DeleteEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteEmailTemplateCommand");var de_DeleteEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EndpointResponse = de_EndpointResponse(data, context);  return contents;}, "de_DeleteEndpointCommand");var de_DeleteEventStreamCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EventStream = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteEventStreamCommand");var de_DeleteGcmChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.GCMChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteGcmChannelCommand");var de_DeleteInAppTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteInAppTemplateCommand");var de_DeleteJourneyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyResponse = de_JourneyResponse(data, context);  return contents;}, "de_DeleteJourneyCommand");var de_DeletePushTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_DeletePushTemplateCommand");var de_DeleteRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.RecommenderConfigurationResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteRecommenderConfigurationCommand");var de_DeleteSegmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentResponse = de_SegmentResponse(data, context);  return contents;}, "de_DeleteSegmentCommand");var de_DeleteSmsChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SMSChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteSmsChannelCommand");var de_DeleteSmsTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteSmsTemplateCommand");var de_DeleteUserEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EndpointsResponse = de_EndpointsResponse(data, context);  return contents;}, "de_DeleteUserEndpointsCommand");var de_DeleteVoiceChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.VoiceChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteVoiceChannelCommand");var de_DeleteVoiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_DeleteVoiceTemplateCommand");var de_GetAdmChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ADMChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetAdmChannelCommand");var de_GetApnsChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetApnsChannelCommand");var de_GetApnsSandboxChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSSandboxChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetApnsSandboxChannelCommand");var de_GetApnsVoipChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSVoipChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetApnsVoipChannelCommand");var de_GetApnsVoipSandboxChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSVoipSandboxChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetApnsVoipSandboxChannelCommand");var de_GetAppCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationResponse = de_ApplicationResponse(data, context);  return contents;}, "de_GetAppCommand");var de_GetApplicationDateRangeKpiCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationDateRangeKpiResponse = de_ApplicationDateRangeKpiResponse(data, context);  return contents;}, "de_GetApplicationDateRangeKpiCommand");var de_GetApplicationSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationSettingsResource = (0, import_smithy_client._json)(data);  return contents;}, "de_GetApplicationSettingsCommand");var de_GetAppsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationsResponse = de_ApplicationsResponse(data, context);  return contents;}, "de_GetAppsCommand");var de_GetBaiduChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.BaiduChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetBaiduChannelCommand");var de_GetCampaignCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignResponse = de_CampaignResponse(data, context);  return contents;}, "de_GetCampaignCommand");var de_GetCampaignActivitiesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ActivitiesResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetCampaignActivitiesCommand");var de_GetCampaignDateRangeKpiCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignDateRangeKpiResponse = de_CampaignDateRangeKpiResponse(data, context);  return contents;}, "de_GetCampaignDateRangeKpiCommand");var de_GetCampaignsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignsResponse = de_CampaignsResponse(data, context);  return contents;}, "de_GetCampaignsCommand");var de_GetCampaignVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignResponse = de_CampaignResponse(data, context);  return contents;}, "de_GetCampaignVersionCommand");var de_GetCampaignVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignsResponse = de_CampaignsResponse(data, context);  return contents;}, "de_GetCampaignVersionsCommand");var de_GetChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ChannelsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetChannelsCommand");var de_GetEmailChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EmailChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetEmailChannelCommand");var de_GetEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EmailTemplateResponse = de_EmailTemplateResponse(data, context);  return contents;}, "de_GetEmailTemplateCommand");var de_GetEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EndpointResponse = de_EndpointResponse(data, context);  return contents;}, "de_GetEndpointCommand");var de_GetEventStreamCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EventStream = (0, import_smithy_client._json)(data);  return contents;}, "de_GetEventStreamCommand");var de_GetExportJobCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ExportJobResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetExportJobCommand");var de_GetExportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ExportJobsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetExportJobsCommand");var de_GetGcmChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.GCMChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetGcmChannelCommand");var de_GetImportJobCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ImportJobResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetImportJobCommand");var de_GetImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ImportJobsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetImportJobsCommand");var de_GetInAppMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.InAppMessagesResponse = de_InAppMessagesResponse(data, context);  return contents;}, "de_GetInAppMessagesCommand");var de_GetInAppTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.InAppTemplateResponse = de_InAppTemplateResponse(data, context);  return contents;}, "de_GetInAppTemplateCommand");var de_GetJourneyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyResponse = de_JourneyResponse(data, context);  return contents;}, "de_GetJourneyCommand");var de_GetJourneyDateRangeKpiCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyDateRangeKpiResponse = de_JourneyDateRangeKpiResponse(data, context);  return contents;}, "de_GetJourneyDateRangeKpiCommand");var de_GetJourneyExecutionActivityMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyExecutionActivityMetricsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetJourneyExecutionActivityMetricsCommand");var de_GetJourneyExecutionMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyExecutionMetricsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetJourneyExecutionMetricsCommand");var de_GetJourneyRunExecutionActivityMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyRunExecutionActivityMetricsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetJourneyRunExecutionActivityMetricsCommand");var de_GetJourneyRunExecutionMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyRunExecutionMetricsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetJourneyRunExecutionMetricsCommand");var de_GetJourneyRunsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyRunsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetJourneyRunsCommand");var de_GetPushTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.PushNotificationTemplateResponse = de_PushNotificationTemplateResponse(data, context);  return contents;}, "de_GetPushTemplateCommand");var de_GetRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.RecommenderConfigurationResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetRecommenderConfigurationCommand");var de_GetRecommenderConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ListRecommenderConfigurationsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetRecommenderConfigurationsCommand");var de_GetSegmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentResponse = de_SegmentResponse(data, context);  return contents;}, "de_GetSegmentCommand");var de_GetSegmentExportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ExportJobsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetSegmentExportJobsCommand");var de_GetSegmentImportJobsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ImportJobsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetSegmentImportJobsCommand");var de_GetSegmentsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentsResponse = de_SegmentsResponse(data, context);  return contents;}, "de_GetSegmentsCommand");var de_GetSegmentVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentResponse = de_SegmentResponse(data, context);  return contents;}, "de_GetSegmentVersionCommand");var de_GetSegmentVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentsResponse = de_SegmentsResponse(data, context);  return contents;}, "de_GetSegmentVersionsCommand");var de_GetSmsChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SMSChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetSmsChannelCommand");var de_GetSmsTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SMSTemplateResponse = de_SMSTemplateResponse(data, context);  return contents;}, "de_GetSmsTemplateCommand");var de_GetUserEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EndpointsResponse = de_EndpointsResponse(data, context);  return contents;}, "de_GetUserEndpointsCommand");var de_GetVoiceChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.VoiceChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_GetVoiceChannelCommand");var de_GetVoiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.VoiceTemplateResponse = de_VoiceTemplateResponse(data, context);  return contents;}, "de_GetVoiceTemplateCommand");var de_ListJourneysCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneysResponse = de_JourneysResponse(data, context);  return contents;}, "de_ListJourneysCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.TagsModel = de_TagsModel(data, context);  return contents;}, "de_ListTagsForResourceCommand");var de_ListTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.TemplatesResponse = de_TemplatesResponse(data, context);  return contents;}, "de_ListTemplatesCommand");var de_ListTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.TemplateVersionsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_ListTemplateVersionsCommand");var de_PhoneNumberValidateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.NumberValidateResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_PhoneNumberValidateCommand");var de_PutEventsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EventsResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_PutEventsCommand");var de_PutEventStreamCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EventStream = (0, import_smithy_client._json)(data);  return contents;}, "de_PutEventStreamCommand");var de_RemoveAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.AttributesResource = (0, import_smithy_client._json)(data);  return contents;}, "de_RemoveAttributesCommand");var de_SendMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_SendMessagesCommand");var de_SendOTPMessageCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_SendOTPMessageCommand");var de_SendUsersMessagesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SendUsersMessageResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_SendUsersMessagesCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 204 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateAdmChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ADMChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateAdmChannelCommand");var de_UpdateApnsChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateApnsChannelCommand");var de_UpdateApnsSandboxChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSSandboxChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateApnsSandboxChannelCommand");var de_UpdateApnsVoipChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSVoipChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateApnsVoipChannelCommand");var de_UpdateApnsVoipSandboxChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.APNSVoipSandboxChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateApnsVoipSandboxChannelCommand");var de_UpdateApplicationSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.ApplicationSettingsResource = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateApplicationSettingsCommand");var de_UpdateBaiduChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.BaiduChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateBaiduChannelCommand");var de_UpdateCampaignCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.CampaignResponse = de_CampaignResponse(data, context);  return contents;}, "de_UpdateCampaignCommand");var de_UpdateEmailChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.EmailChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateEmailChannelCommand");var de_UpdateEmailTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateEmailTemplateCommand");var de_UpdateEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateEndpointCommand");var de_UpdateEndpointsBatchCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateEndpointsBatchCommand");var de_UpdateGcmChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.GCMChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateGcmChannelCommand");var de_UpdateInAppTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateInAppTemplateCommand");var de_UpdateJourneyCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyResponse = de_JourneyResponse(data, context);  return contents;}, "de_UpdateJourneyCommand");var de_UpdateJourneyStateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.JourneyResponse = de_JourneyResponse(data, context);  return contents;}, "de_UpdateJourneyStateCommand");var de_UpdatePushTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdatePushTemplateCommand");var de_UpdateRecommenderConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.RecommenderConfigurationResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateRecommenderConfigurationCommand");var de_UpdateSegmentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SegmentResponse = de_SegmentResponse(data, context);  return contents;}, "de_UpdateSegmentCommand");var de_UpdateSmsChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.SMSChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateSmsChannelCommand");var de_UpdateSmsTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateSmsTemplateCommand");var de_UpdateTemplateActiveVersionCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateTemplateActiveVersionCommand");var de_UpdateVoiceChannelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.VoiceChannelResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateVoiceChannelCommand");var de_UpdateVoiceTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.MessageBody = (0, import_smithy_client._json)(data);  return contents;}, "de_UpdateVoiceTemplateCommand");var de_VerifyOTPMessageCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context));  contents.VerificationResponse = (0, import_smithy_client._json)(data);  return contents;}, "de_VerifyOTPMessageCommand");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 "BadRequestException":    case "com.amazonaws.pinpoint#BadRequestException":      throw await de_BadRequestExceptionRes(parsedOutput, context);    case "ForbiddenException":    case "com.amazonaws.pinpoint#ForbiddenException":      throw await de_ForbiddenExceptionRes(parsedOutput, context);    case "InternalServerErrorException":    case "com.amazonaws.pinpoint#InternalServerErrorException":      throw await de_InternalServerErrorExceptionRes(parsedOutput, context);    case "MethodNotAllowedException":    case "com.amazonaws.pinpoint#MethodNotAllowedException":      throw await de_MethodNotAllowedExceptionRes(parsedOutput, context);    case "NotFoundException":    case "com.amazonaws.pinpoint#NotFoundException":      throw await de_NotFoundExceptionRes(parsedOutput, context);    case "PayloadTooLargeException":    case "com.amazonaws.pinpoint#PayloadTooLargeException":      throw await de_PayloadTooLargeExceptionRes(parsedOutput, context);    case "TooManyRequestsException":    case "com.amazonaws.pinpoint#TooManyRequestsException":      throw await de_TooManyRequestsExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.pinpoint#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(PinpointServiceException);var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new BadRequestException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_BadRequestExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ForbiddenException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ForbiddenExceptionRes");var de_InternalServerErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServerErrorException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerErrorExceptionRes");var de_MethodNotAllowedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new MethodNotAllowedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_MethodNotAllowedExceptionRes");var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new NotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_NotFoundExceptionRes");var de_PayloadTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new PayloadTooLargeException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_PayloadTooLargeExceptionRes");var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    RequestID: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new TooManyRequestsException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_TooManyRequestsExceptionRes");var se_Activity = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    CUSTOM: import_smithy_client._json,    ConditionalSplit: /* @__PURE__ */ __name((_) => se_ConditionalSplitActivity(_, context), "ConditionalSplit"),    ContactCenter: import_smithy_client._json,    Description: [],    EMAIL: import_smithy_client._json,    Holdout: import_smithy_client._json,    MultiCondition: /* @__PURE__ */ __name((_) => se_MultiConditionalSplitActivity(_, context), "MultiCondition"),    PUSH: import_smithy_client._json,    RandomSplit: import_smithy_client._json,    SMS: import_smithy_client._json,    Wait: import_smithy_client._json  });}, "se_Activity");var se_CampaignEventFilter = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Dimensions: /* @__PURE__ */ __name((_) => se_EventDimensions(_, context), "Dimensions"),    FilterType: []  });}, "se_CampaignEventFilter");var se_Condition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Conditions: /* @__PURE__ */ __name((_) => se_ListOfSimpleCondition(_, context), "Conditions"),    Operator: []  });}, "se_Condition");var se_ConditionalSplitActivity = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Condition: /* @__PURE__ */ __name((_) => se_Condition(_, context), "Condition"),    EvaluationWaitTime: import_smithy_client._json,    FalseActivity: [],    TrueActivity: []  });}, "se_ConditionalSplitActivity");var se_CreateApplicationRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Name: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_CreateApplicationRequest");var se_DirectMessageConfiguration = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    ADMMessage: import_smithy_client._json,    APNSMessage: import_smithy_client._json,    BaiduMessage: import_smithy_client._json,    DefaultMessage: import_smithy_client._json,    DefaultPushNotificationMessage: import_smithy_client._json,    EmailMessage: /* @__PURE__ */ __name((_) => se_EmailMessage(_, context), "EmailMessage"),    GCMMessage: import_smithy_client._json,    SMSMessage: import_smithy_client._json,    VoiceMessage: import_smithy_client._json  });}, "se_DirectMessageConfiguration");var se_EmailMessage = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Body: [],    FeedbackForwardingAddress: [],    FromAddress: [],    RawEmail: /* @__PURE__ */ __name((_) => se_RawEmail(_, context), "RawEmail"),    ReplyToAddresses: import_smithy_client._json,    SimpleEmail: import_smithy_client._json,    Substitutions: import_smithy_client._json  });}, "se_EmailMessage");var se_EmailTemplateRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    DefaultSubstitutions: [],    Headers: import_smithy_client._json,    HtmlPart: [],    RecommenderId: [],    Subject: [],    TemplateDescription: [],    TextPart: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_EmailTemplateRequest");var se_EndpointBatchItem = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Address: [],    Attributes: import_smithy_client._json,    ChannelType: [],    Demographic: import_smithy_client._json,    EffectiveDate: [],    EndpointStatus: [],    Id: [],    Location: /* @__PURE__ */ __name((_) => se_EndpointLocation(_, context), "Location"),    Metrics: /* @__PURE__ */ __name((_) => se_MapOf__double(_, context), "Metrics"),    OptOut: [],    RequestId: [],    User: import_smithy_client._json  });}, "se_EndpointBatchItem");var se_EndpointBatchRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Item: /* @__PURE__ */ __name((_) => se_ListOfEndpointBatchItem(_, context), "Item")  });}, "se_EndpointBatchRequest");var se_EndpointLocation = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    City: [],    Country: [],    Latitude: import_smithy_client.serializeFloat,    Longitude: import_smithy_client.serializeFloat,    PostalCode: [],    Region: []  });}, "se_EndpointLocation");var se_EndpointRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Address: [],    Attributes: import_smithy_client._json,    ChannelType: [],    Demographic: import_smithy_client._json,    EffectiveDate: [],    EndpointStatus: [],    Location: /* @__PURE__ */ __name((_) => se_EndpointLocation(_, context), "Location"),    Metrics: /* @__PURE__ */ __name((_) => se_MapOf__double(_, context), "Metrics"),    OptOut: [],    RequestId: [],    User: import_smithy_client._json  });}, "se_EndpointRequest");var se_Event = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AppPackageName: [],    AppTitle: [],    AppVersionCode: [],    Attributes: import_smithy_client._json,    ClientSdkVersion: [],    EventType: [],    Metrics: /* @__PURE__ */ __name((_) => se_MapOf__double(_, context), "Metrics"),    SdkName: [],    Session: import_smithy_client._json,    Timestamp: []  });}, "se_Event");var se_EventCondition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Dimensions: /* @__PURE__ */ __name((_) => se_EventDimensions(_, context), "Dimensions"),    MessageActivity: []  });}, "se_EventCondition");var se_EventDimensions = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Attributes: import_smithy_client._json,    EventType: import_smithy_client._json,    Metrics: /* @__PURE__ */ __name((_) => se_MapOfMetricDimension(_, context), "Metrics")  });}, "se_EventDimensions");var se_EventFilter = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Dimensions: /* @__PURE__ */ __name((_) => se_EventDimensions(_, context), "Dimensions"),    FilterType: []  });}, "se_EventFilter");var se_EventsBatch = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Endpoint: /* @__PURE__ */ __name((_) => se_PublicEndpoint(_, context), "Endpoint"),    Events: /* @__PURE__ */ __name((_) => se_MapOfEvent(_, context), "Events")  });}, "se_EventsBatch");var se_EventsRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    BatchItem: /* @__PURE__ */ __name((_) => se_MapOfEventsBatch(_, context), "BatchItem")  });}, "se_EventsRequest");var se_EventStartCondition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    EventFilter: /* @__PURE__ */ __name((_) => se_EventFilter(_, context), "EventFilter"),    SegmentId: []  });}, "se_EventStartCondition");var se_GPSCoordinates = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Latitude: import_smithy_client.serializeFloat,    Longitude: import_smithy_client.serializeFloat  });}, "se_GPSCoordinates");var se_GPSPointDimension = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Coordinates: /* @__PURE__ */ __name((_) => se_GPSCoordinates(_, context), "Coordinates"),    RangeInKilometers: import_smithy_client.serializeFloat  });}, "se_GPSPointDimension");var se_InAppTemplateRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Content: import_smithy_client._json,    CustomConfig: import_smithy_client._json,    Layout: [],    TemplateDescription: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_InAppTemplateRequest");var se_JourneySchedule = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    EndTime: import_smithy_client.serializeDateTime,    StartTime: import_smithy_client.serializeDateTime,    Timezone: []  });}, "se_JourneySchedule");var se_ListOfEndpointBatchItem = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_EndpointBatchItem(entry, context);  });}, "se_ListOfEndpointBatchItem");var se_ListOfMultiConditionalBranch = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_MultiConditionalBranch(entry, context);  });}, "se_ListOfMultiConditionalBranch");var se_ListOfSegmentDimensions = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_SegmentDimensions(entry, context);  });}, "se_ListOfSegmentDimensions");var se_ListOfSegmentGroup = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_SegmentGroup(entry, context);  });}, "se_ListOfSegmentGroup");var se_ListOfSimpleCondition = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_SimpleCondition(entry, context);  });}, "se_ListOfSimpleCondition");var se_ListOfWriteTreatmentResource = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_WriteTreatmentResource(entry, context);  });}, "se_ListOfWriteTreatmentResource");var se_MapOf__double = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = (0, import_smithy_client.serializeFloat)(value);    return acc;  }, {});}, "se_MapOf__double");var se_MapOfActivity = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_Activity(value, context);    return acc;  }, {});}, "se_MapOfActivity");var se_MapOfEvent = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_Event(value, context);    return acc;  }, {});}, "se_MapOfEvent");var se_MapOfEventsBatch = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_EventsBatch(value, context);    return acc;  }, {});}, "se_MapOfEventsBatch");var se_MapOfMetricDimension = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_MetricDimension(value, context);    return acc;  }, {});}, "se_MapOfMetricDimension");var se_MessageRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Addresses: import_smithy_client._json,    Context: import_smithy_client._json,    Endpoints: import_smithy_client._json,    MessageConfiguration: /* @__PURE__ */ __name((_) => se_DirectMessageConfiguration(_, context), "MessageConfiguration"),    TemplateConfiguration: import_smithy_client._json,    TraceId: []  });}, "se_MessageRequest");var se_MetricDimension = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    ComparisonOperator: [],    Value: import_smithy_client.serializeFloat  });}, "se_MetricDimension");var se_MultiConditionalBranch = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Condition: /* @__PURE__ */ __name((_) => se_SimpleCondition(_, context), "Condition"),    NextActivity: []  });}, "se_MultiConditionalBranch");var se_MultiConditionalSplitActivity = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Branches: /* @__PURE__ */ __name((_) => se_ListOfMultiConditionalBranch(_, context), "Branches"),    DefaultActivity: [],    EvaluationWaitTime: import_smithy_client._json  });}, "se_MultiConditionalSplitActivity");var se_PublicEndpoint = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Address: [],    Attributes: import_smithy_client._json,    ChannelType: [],    Demographic: import_smithy_client._json,    EffectiveDate: [],    EndpointStatus: [],    Location: /* @__PURE__ */ __name((_) => se_EndpointLocation(_, context), "Location"),    Metrics: /* @__PURE__ */ __name((_) => se_MapOf__double(_, context), "Metrics"),    OptOut: [],    RequestId: [],    User: import_smithy_client._json  });}, "se_PublicEndpoint");var se_PushNotificationTemplateRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    ADM: import_smithy_client._json,    APNS: import_smithy_client._json,    Baidu: import_smithy_client._json,    Default: import_smithy_client._json,    DefaultSubstitutions: [],    GCM: import_smithy_client._json,    RecommenderId: [],    TemplateDescription: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_PushNotificationTemplateRequest");var se_RawEmail = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Data: context.base64Encoder  });}, "se_RawEmail");var se_Schedule = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    EndTime: [],    EventFilter: /* @__PURE__ */ __name((_) => se_CampaignEventFilter(_, context), "EventFilter"),    Frequency: [],    IsLocalTime: [],    QuietTime: import_smithy_client._json,    StartTime: [],    Timezone: []  });}, "se_Schedule");var se_SegmentDimensions = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Attributes: import_smithy_client._json,    Behavior: import_smithy_client._json,    Demographic: import_smithy_client._json,    Location: /* @__PURE__ */ __name((_) => se_SegmentLocation(_, context), "Location"),    Metrics: /* @__PURE__ */ __name((_) => se_MapOfMetricDimension(_, context), "Metrics"),    UserAttributes: import_smithy_client._json  });}, "se_SegmentDimensions");var se_SegmentGroup = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Dimensions: /* @__PURE__ */ __name((_) => se_ListOfSegmentDimensions(_, context), "Dimensions"),    SourceSegments: import_smithy_client._json,    SourceType: [],    Type: []  });}, "se_SegmentGroup");var se_SegmentGroupList = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Groups: /* @__PURE__ */ __name((_) => se_ListOfSegmentGroup(_, context), "Groups"),    Include: []  });}, "se_SegmentGroupList");var se_SegmentLocation = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Country: import_smithy_client._json,    GPSPoint: /* @__PURE__ */ __name((_) => se_GPSPointDimension(_, context), "GPSPoint")  });}, "se_SegmentLocation");var se_SendUsersMessageRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Context: import_smithy_client._json,    MessageConfiguration: /* @__PURE__ */ __name((_) => se_DirectMessageConfiguration(_, context), "MessageConfiguration"),    TemplateConfiguration: import_smithy_client._json,    TraceId: [],    Users: import_smithy_client._json  });}, "se_SendUsersMessageRequest");var se_SimpleCondition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    EventCondition: /* @__PURE__ */ __name((_) => se_EventCondition(_, context), "EventCondition"),    SegmentCondition: import_smithy_client._json,    segmentDimensions: [, (_) => se_SegmentDimensions(_, context), `SegmentDimensions`]  });}, "se_SimpleCondition");var se_SMSTemplateRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Body: [],    DefaultSubstitutions: [],    RecommenderId: [],    TemplateDescription: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_SMSTemplateRequest");var se_StartCondition = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Description: [],    EventStartCondition: /* @__PURE__ */ __name((_) => se_EventStartCondition(_, context), "EventStartCondition"),    SegmentStartCondition: import_smithy_client._json  });}, "se_StartCondition");var se_TagsModel = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    tags: [, import_smithy_client._json, `tags`]  });}, "se_TagsModel");var se_VoiceTemplateRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Body: [],    DefaultSubstitutions: [],    LanguageCode: [],    TemplateDescription: [],    VoiceId: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_VoiceTemplateRequest");var se_WriteCampaignRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    AdditionalTreatments: /* @__PURE__ */ __name((_) => se_ListOfWriteTreatmentResource(_, context), "AdditionalTreatments"),    CustomDeliveryConfiguration: import_smithy_client._json,    Description: [],    HoldoutPercent: [],    Hook: import_smithy_client._json,    IsPaused: [],    Limits: import_smithy_client._json,    MessageConfiguration: import_smithy_client._json,    Name: [],    Priority: [],    Schedule: /* @__PURE__ */ __name((_) => se_Schedule(_, context), "Schedule"),    SegmentId: [],    SegmentVersion: [],    TemplateConfiguration: import_smithy_client._json,    TreatmentDescription: [],    TreatmentName: [],    tags: [, import_smithy_client._json, `tags`]  });}, "se_WriteCampaignRequest");var se_WriteJourneyRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Activities: /* @__PURE__ */ __name((_) => se_MapOfActivity(_, context), "Activities"),    ClosedDays: import_smithy_client._json,    CreationDate: [],    JourneyChannelSettings: import_smithy_client._json,    LastModifiedDate: [],    Limits: import_smithy_client._json,    LocalTime: [],    Name: [],    OpenHours: import_smithy_client._json,    QuietTime: import_smithy_client._json,    RefreshFrequency: [],    RefreshOnSegmentUpdate: [],    Schedule: /* @__PURE__ */ __name((_) => se_JourneySchedule(_, context), "Schedule"),    SendingSchedule: [],    StartActivity: [],    StartCondition: /* @__PURE__ */ __name((_) => se_StartCondition(_, context), "StartCondition"),    State: [],    TimezoneEstimationMethods: import_smithy_client._json,    WaitForQuietTime: []  });}, "se_WriteJourneyRequest");var se_WriteSegmentRequest = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    Dimensions: /* @__PURE__ */ __name((_) => se_SegmentDimensions(_, context), "Dimensions"),    Name: [],    SegmentGroups: /* @__PURE__ */ __name((_) => se_SegmentGroupList(_, context), "SegmentGroups"),    tags: [, import_smithy_client._json, `tags`]  });}, "se_WriteSegmentRequest");var se_WriteTreatmentResource = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    CustomDeliveryConfiguration: import_smithy_client._json,    MessageConfiguration: import_smithy_client._json,    Schedule: /* @__PURE__ */ __name((_) => se_Schedule(_, context), "Schedule"),    SizePercent: [],    TemplateConfiguration: import_smithy_client._json,    TreatmentDescription: [],    TreatmentName: []  });}, "se_WriteTreatmentResource");var de_Activity = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CUSTOM: import_smithy_client._json,    ConditionalSplit: /* @__PURE__ */ __name((_) => de_ConditionalSplitActivity(_, context), "ConditionalSplit"),    ContactCenter: import_smithy_client._json,    Description: import_smithy_client.expectString,    EMAIL: import_smithy_client._json,    Holdout: import_smithy_client._json,    MultiCondition: /* @__PURE__ */ __name((_) => de_MultiConditionalSplitActivity(_, context), "MultiCondition"),    PUSH: import_smithy_client._json,    RandomSplit: import_smithy_client._json,    SMS: import_smithy_client._json,    Wait: import_smithy_client._json  });}, "de_Activity");var de_ApplicationDateRangeKpiResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ApplicationId: import_smithy_client.expectString,    EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "EndTime"),    KpiName: import_smithy_client.expectString,    KpiResult: import_smithy_client._json,    NextToken: import_smithy_client.expectString,    StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "StartTime")  });}, "de_ApplicationDateRangeKpiResponse");var de_ApplicationResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    Name: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_ApplicationResponse");var de_ApplicationsResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Item: /* @__PURE__ */ __name((_) => de_ListOfApplicationResponse(_, context), "Item"),    NextToken: import_smithy_client.expectString  });}, "de_ApplicationsResponse");var de_CampaignDateRangeKpiResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ApplicationId: import_smithy_client.expectString,    CampaignId: import_smithy_client.expectString,    EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "EndTime"),    KpiName: import_smithy_client.expectString,    KpiResult: import_smithy_client._json,    NextToken: import_smithy_client.expectString,    StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "StartTime")  });}, "de_CampaignDateRangeKpiResponse");var de_CampaignEventFilter = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Dimensions: /* @__PURE__ */ __name((_) => de_EventDimensions(_, context), "Dimensions"),    FilterType: import_smithy_client.expectString  });}, "de_CampaignEventFilter");var de_CampaignResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    AdditionalTreatments: /* @__PURE__ */ __name((_) => de_ListOfTreatmentResource(_, context), "AdditionalTreatments"),    ApplicationId: import_smithy_client.expectString,    Arn: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    CustomDeliveryConfiguration: import_smithy_client._json,    DefaultState: import_smithy_client._json,    Description: import_smithy_client.expectString,    HoldoutPercent: import_smithy_client.expectInt32,    Hook: import_smithy_client._json,    Id: import_smithy_client.expectString,    IsPaused: import_smithy_client.expectBoolean,    LastModifiedDate: import_smithy_client.expectString,    Limits: import_smithy_client._json,    MessageConfiguration: import_smithy_client._json,    Name: import_smithy_client.expectString,    Priority: import_smithy_client.expectInt32,    Schedule: /* @__PURE__ */ __name((_) => de_Schedule(_, context), "Schedule"),    SegmentId: import_smithy_client.expectString,    SegmentVersion: import_smithy_client.expectInt32,    State: import_smithy_client._json,    TemplateConfiguration: import_smithy_client._json,    TreatmentDescription: import_smithy_client.expectString,    TreatmentName: import_smithy_client.expectString,    Version: import_smithy_client.expectInt32,    tags: [, import_smithy_client._json, `tags`]  });}, "de_CampaignResponse");var de_CampaignsResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Item: /* @__PURE__ */ __name((_) => de_ListOfCampaignResponse(_, context), "Item"),    NextToken: import_smithy_client.expectString  });}, "de_CampaignsResponse");var de_Condition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Conditions: /* @__PURE__ */ __name((_) => de_ListOfSimpleCondition(_, context), "Conditions"),    Operator: import_smithy_client.expectString  });}, "de_Condition");var de_ConditionalSplitActivity = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Condition: /* @__PURE__ */ __name((_) => de_Condition(_, context), "Condition"),    EvaluationWaitTime: import_smithy_client._json,    FalseActivity: import_smithy_client.expectString,    TrueActivity: import_smithy_client.expectString  });}, "de_ConditionalSplitActivity");var de_EmailTemplateResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    DefaultSubstitutions: import_smithy_client.expectString,    Headers: import_smithy_client._json,    HtmlPart: import_smithy_client.expectString,    LastModifiedDate: import_smithy_client.expectString,    RecommenderId: import_smithy_client.expectString,    Subject: import_smithy_client.expectString,    TemplateDescription: import_smithy_client.expectString,    TemplateName: import_smithy_client.expectString,    TemplateType: import_smithy_client.expectString,    TextPart: import_smithy_client.expectString,    Version: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_EmailTemplateResponse");var de_EndpointLocation = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    City: import_smithy_client.expectString,    Country: import_smithy_client.expectString,    Latitude: import_smithy_client.limitedParseDouble,    Longitude: import_smithy_client.limitedParseDouble,    PostalCode: import_smithy_client.expectString,    Region: import_smithy_client.expectString  });}, "de_EndpointLocation");var de_EndpointResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Address: import_smithy_client.expectString,    ApplicationId: import_smithy_client.expectString,    Attributes: import_smithy_client._json,    ChannelType: import_smithy_client.expectString,    CohortId: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    Demographic: import_smithy_client._json,    EffectiveDate: import_smithy_client.expectString,    EndpointStatus: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    Location: /* @__PURE__ */ __name((_) => de_EndpointLocation(_, context), "Location"),    Metrics: /* @__PURE__ */ __name((_) => de_MapOf__double(_, context), "Metrics"),    OptOut: import_smithy_client.expectString,    RequestId: import_smithy_client.expectString,    User: import_smithy_client._json  });}, "de_EndpointResponse");var de_EndpointsResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Item: /* @__PURE__ */ __name((_) => de_ListOfEndpointResponse(_, context), "Item")  });}, "de_EndpointsResponse");var de_EventCondition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Dimensions: /* @__PURE__ */ __name((_) => de_EventDimensions(_, context), "Dimensions"),    MessageActivity: import_smithy_client.expectString  });}, "de_EventCondition");var de_EventDimensions = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Attributes: import_smithy_client._json,    EventType: import_smithy_client._json,    Metrics: /* @__PURE__ */ __name((_) => de_MapOfMetricDimension(_, context), "Metrics")  });}, "de_EventDimensions");var de_EventFilter = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Dimensions: /* @__PURE__ */ __name((_) => de_EventDimensions(_, context), "Dimensions"),    FilterType: import_smithy_client.expectString  });}, "de_EventFilter");var de_EventStartCondition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EventFilter: /* @__PURE__ */ __name((_) => de_EventFilter(_, context), "EventFilter"),    SegmentId: import_smithy_client.expectString  });}, "de_EventStartCondition");var de_GPSCoordinates = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Latitude: import_smithy_client.limitedParseDouble,    Longitude: import_smithy_client.limitedParseDouble  });}, "de_GPSCoordinates");var de_GPSPointDimension = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Coordinates: /* @__PURE__ */ __name((_) => de_GPSCoordinates(_, context), "Coordinates"),    RangeInKilometers: import_smithy_client.limitedParseDouble  });}, "de_GPSPointDimension");var de_InAppCampaignSchedule = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EndDate: import_smithy_client.expectString,    EventFilter: /* @__PURE__ */ __name((_) => de_CampaignEventFilter(_, context), "EventFilter"),    QuietTime: import_smithy_client._json  });}, "de_InAppCampaignSchedule");var de_InAppMessageCampaign = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CampaignId: import_smithy_client.expectString,    DailyCap: import_smithy_client.expectInt32,    InAppMessage: import_smithy_client._json,    Priority: import_smithy_client.expectInt32,    Schedule: /* @__PURE__ */ __name((_) => de_InAppCampaignSchedule(_, context), "Schedule"),    SessionCap: import_smithy_client.expectInt32,    TotalCap: import_smithy_client.expectInt32,    TreatmentId: import_smithy_client.expectString  });}, "de_InAppMessageCampaign");var de_InAppMessagesResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    InAppMessageCampaigns: /* @__PURE__ */ __name((_) => de_ListOfInAppMessageCampaign(_, context), "InAppMessageCampaigns")  });}, "de_InAppMessagesResponse");var de_InAppTemplateResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Content: import_smithy_client._json,    CreationDate: import_smithy_client.expectString,    CustomConfig: import_smithy_client._json,    LastModifiedDate: import_smithy_client.expectString,    Layout: import_smithy_client.expectString,    TemplateDescription: import_smithy_client.expectString,    TemplateName: import_smithy_client.expectString,    TemplateType: import_smithy_client.expectString,    Version: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_InAppTemplateResponse");var de_JourneyDateRangeKpiResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ApplicationId: import_smithy_client.expectString,    EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "EndTime"),    JourneyId: import_smithy_client.expectString,    KpiName: import_smithy_client.expectString,    KpiResult: import_smithy_client._json,    NextToken: import_smithy_client.expectString,    StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "StartTime")  });}, "de_JourneyDateRangeKpiResponse");var de_JourneyResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Activities: /* @__PURE__ */ __name((_) => de_MapOfActivity(_, context), "Activities"),    ApplicationId: import_smithy_client.expectString,    ClosedDays: import_smithy_client._json,    CreationDate: import_smithy_client.expectString,    Id: import_smithy_client.expectString,    JourneyChannelSettings: import_smithy_client._json,    LastModifiedDate: import_smithy_client.expectString,    Limits: import_smithy_client._json,    LocalTime: import_smithy_client.expectBoolean,    Name: import_smithy_client.expectString,    OpenHours: import_smithy_client._json,    QuietTime: import_smithy_client._json,    RefreshFrequency: import_smithy_client.expectString,    RefreshOnSegmentUpdate: import_smithy_client.expectBoolean,    Schedule: /* @__PURE__ */ __name((_) => de_JourneySchedule(_, context), "Schedule"),    SendingSchedule: import_smithy_client.expectBoolean,    StartActivity: import_smithy_client.expectString,    StartCondition: /* @__PURE__ */ __name((_) => de_StartCondition(_, context), "StartCondition"),    State: import_smithy_client.expectString,    TimezoneEstimationMethods: import_smithy_client._json,    WaitForQuietTime: import_smithy_client.expectBoolean,    tags: [, import_smithy_client._json, `tags`]  });}, "de_JourneyResponse");var de_JourneySchedule = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "EndTime"),    StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "StartTime"),    Timezone: import_smithy_client.expectString  });}, "de_JourneySchedule");var de_JourneysResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Item: /* @__PURE__ */ __name((_) => de_ListOfJourneyResponse(_, context), "Item"),    NextToken: import_smithy_client.expectString  });}, "de_JourneysResponse");var de_ListOfApplicationResponse = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ApplicationResponse(entry, context);  });  return retVal;}, "de_ListOfApplicationResponse");var de_ListOfCampaignResponse = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CampaignResponse(entry, context);  });  return retVal;}, "de_ListOfCampaignResponse");var de_ListOfEndpointResponse = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_EndpointResponse(entry, context);  });  return retVal;}, "de_ListOfEndpointResponse");var de_ListOfInAppMessageCampaign = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_InAppMessageCampaign(entry, context);  });  return retVal;}, "de_ListOfInAppMessageCampaign");var de_ListOfJourneyResponse = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_JourneyResponse(entry, context);  });  return retVal;}, "de_ListOfJourneyResponse");var de_ListOfMultiConditionalBranch = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_MultiConditionalBranch(entry, context);  });  return retVal;}, "de_ListOfMultiConditionalBranch");var de_ListOfSegmentDimensions = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SegmentDimensions(entry, context);  });  return retVal;}, "de_ListOfSegmentDimensions");var de_ListOfSegmentGroup = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SegmentGroup(entry, context);  });  return retVal;}, "de_ListOfSegmentGroup");var de_ListOfSegmentResponse = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SegmentResponse(entry, context);  });  return retVal;}, "de_ListOfSegmentResponse");var de_ListOfSimpleCondition = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_SimpleCondition(entry, context);  });  return retVal;}, "de_ListOfSimpleCondition");var de_ListOfTemplateResponse = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_TemplateResponse(entry, context);  });  return retVal;}, "de_ListOfTemplateResponse");var de_ListOfTreatmentResource = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_TreatmentResource(entry, context);  });  return retVal;}, "de_ListOfTreatmentResource");var de_MapOf__double = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = (0, import_smithy_client.limitedParseDouble)(value);    return acc;  }, {});}, "de_MapOf__double");var de_MapOfActivity = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_Activity(value, context);    return acc;  }, {});}, "de_MapOfActivity");var de_MapOfMetricDimension = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_MetricDimension(value, context);    return acc;  }, {});}, "de_MapOfMetricDimension");var de_MetricDimension = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ComparisonOperator: import_smithy_client.expectString,    Value: import_smithy_client.limitedParseDouble  });}, "de_MetricDimension");var de_MultiConditionalBranch = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Condition: /* @__PURE__ */ __name((_) => de_SimpleCondition(_, context), "Condition"),    NextActivity: import_smithy_client.expectString  });}, "de_MultiConditionalBranch");var de_MultiConditionalSplitActivity = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Branches: /* @__PURE__ */ __name((_) => de_ListOfMultiConditionalBranch(_, context), "Branches"),    DefaultActivity: import_smithy_client.expectString,    EvaluationWaitTime: import_smithy_client._json  });}, "de_MultiConditionalSplitActivity");var de_PushNotificationTemplateResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ADM: import_smithy_client._json,    APNS: import_smithy_client._json,    Arn: import_smithy_client.expectString,    Baidu: import_smithy_client._json,    CreationDate: import_smithy_client.expectString,    Default: import_smithy_client._json,    DefaultSubstitutions: import_smithy_client.expectString,    GCM: import_smithy_client._json,    LastModifiedDate: import_smithy_client.expectString,    RecommenderId: import_smithy_client.expectString,    TemplateDescription: import_smithy_client.expectString,    TemplateName: import_smithy_client.expectString,    TemplateType: import_smithy_client.expectString,    Version: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_PushNotificationTemplateResponse");var de_Schedule = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EndTime: import_smithy_client.expectString,    EventFilter: /* @__PURE__ */ __name((_) => de_CampaignEventFilter(_, context), "EventFilter"),    Frequency: import_smithy_client.expectString,    IsLocalTime: import_smithy_client.expectBoolean,    QuietTime: import_smithy_client._json,    StartTime: import_smithy_client.expectString,    Timezone: import_smithy_client.expectString  });}, "de_Schedule");var de_SegmentDimensions = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Attributes: import_smithy_client._json,    Behavior: import_smithy_client._json,    Demographic: import_smithy_client._json,    Location: /* @__PURE__ */ __name((_) => de_SegmentLocation(_, context), "Location"),    Metrics: /* @__PURE__ */ __name((_) => de_MapOfMetricDimension(_, context), "Metrics"),    UserAttributes: import_smithy_client._json  });}, "de_SegmentDimensions");var de_SegmentGroup = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Dimensions: /* @__PURE__ */ __name((_) => de_ListOfSegmentDimensions(_, context), "Dimensions"),    SourceSegments: import_smithy_client._json,    SourceType: import_smithy_client.expectString,    Type: import_smithy_client.expectString  });}, "de_SegmentGroup");var de_SegmentGroupList = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Groups: /* @__PURE__ */ __name((_) => de_ListOfSegmentGroup(_, context), "Groups"),    Include: import_smithy_client.expectString  });}, "de_SegmentGroupList");var de_SegmentLocation = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Country: import_smithy_client._json,    GPSPoint: /* @__PURE__ */ __name((_) => de_GPSPointDimension(_, context), "GPSPoint")  });}, "de_SegmentLocation");var de_SegmentResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    ApplicationId: import_smithy_client.expectString,    Arn: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    Dimensions: /* @__PURE__ */ __name((_) => de_SegmentDimensions(_, context), "Dimensions"),    Id: import_smithy_client.expectString,    ImportDefinition: import_smithy_client._json,    LastModifiedDate: import_smithy_client.expectString,    Name: import_smithy_client.expectString,    SegmentGroups: /* @__PURE__ */ __name((_) => de_SegmentGroupList(_, context), "SegmentGroups"),    SegmentType: import_smithy_client.expectString,    Version: import_smithy_client.expectInt32,    tags: [, import_smithy_client._json, `tags`]  });}, "de_SegmentResponse");var de_SegmentsResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Item: /* @__PURE__ */ __name((_) => de_ListOfSegmentResponse(_, context), "Item"),    NextToken: import_smithy_client.expectString  });}, "de_SegmentsResponse");var de_SimpleCondition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    EventCondition: /* @__PURE__ */ __name((_) => de_EventCondition(_, context), "EventCondition"),    SegmentCondition: import_smithy_client._json,    SegmentDimensions: [, (_) => de_SegmentDimensions(_, context), `segmentDimensions`]  });}, "de_SimpleCondition");var de_SMSTemplateResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Body: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    DefaultSubstitutions: import_smithy_client.expectString,    LastModifiedDate: import_smithy_client.expectString,    RecommenderId: import_smithy_client.expectString,    TemplateDescription: import_smithy_client.expectString,    TemplateName: import_smithy_client.expectString,    TemplateType: import_smithy_client.expectString,    Version: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_SMSTemplateResponse");var de_StartCondition = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Description: import_smithy_client.expectString,    EventStartCondition: /* @__PURE__ */ __name((_) => de_EventStartCondition(_, context), "EventStartCondition"),    SegmentStartCondition: import_smithy_client._json  });}, "de_StartCondition");var de_TagsModel = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    tags: [, import_smithy_client._json, `tags`]  });}, "de_TagsModel");var de_TemplateResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    DefaultSubstitutions: import_smithy_client.expectString,    LastModifiedDate: import_smithy_client.expectString,    TemplateDescription: import_smithy_client.expectString,    TemplateName: import_smithy_client.expectString,    TemplateType: import_smithy_client.expectString,    Version: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_TemplateResponse");var de_TemplatesResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Item: /* @__PURE__ */ __name((_) => de_ListOfTemplateResponse(_, context), "Item"),    NextToken: import_smithy_client.expectString  });}, "de_TemplatesResponse");var de_TreatmentResource = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CustomDeliveryConfiguration: import_smithy_client._json,    Id: import_smithy_client.expectString,    MessageConfiguration: import_smithy_client._json,    Schedule: /* @__PURE__ */ __name((_) => de_Schedule(_, context), "Schedule"),    SizePercent: import_smithy_client.expectInt32,    State: import_smithy_client._json,    TemplateConfiguration: import_smithy_client._json,    TreatmentDescription: import_smithy_client.expectString,    TreatmentName: import_smithy_client.expectString  });}, "de_TreatmentResource");var de_VoiceTemplateResponse = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Arn: import_smithy_client.expectString,    Body: import_smithy_client.expectString,    CreationDate: import_smithy_client.expectString,    DefaultSubstitutions: import_smithy_client.expectString,    LanguageCode: import_smithy_client.expectString,    LastModifiedDate: import_smithy_client.expectString,    TemplateDescription: import_smithy_client.expectString,    TemplateName: import_smithy_client.expectString,    TemplateType: import_smithy_client.expectString,    Version: import_smithy_client.expectString,    VoiceId: import_smithy_client.expectString,    tags: [, import_smithy_client._json, `tags`]  });}, "de_VoiceTemplateResponse");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 _CNV = "CreateNewVersion";var _ET = "EndTime";var _NT = "NextToken";var _P = "Prefix";var _PS = "PageSize";var _ST = "StartTime";var _T = "Token";var _TK = "TagKeys";var _TT = "TemplateType";var _V = "Version";var _cnv = "create-new-version";var _et = "end-time";var _nt = "next-token";var _p = "prefix";var _ps = "page-size";var _st = "start-time";var _t = "token";var _tK = "tagKeys";var _tt = "template-type";var _v = "version"; // src/commands/CreateAppCommand.tsvar CreateAppCommand = 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("Pinpoint", "CreateApp", {}).n("PinpointClient", "CreateAppCommand").f(void 0, void 0).ser(se_CreateAppCommand).de(de_CreateAppCommand).build() {  static {    __name(this, "CreateAppCommand");  }}; // src/commands/CreateCampaignCommand.ts   var CreateCampaignCommand = 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("Pinpoint", "CreateCampaign", {}).n("PinpointClient", "CreateCampaignCommand").f(void 0, void 0).ser(se_CreateCampaignCommand).de(de_CreateCampaignCommand).build() {  static {    __name(this, "CreateCampaignCommand");  }}; // src/commands/CreateEmailTemplateCommand.ts   var CreateEmailTemplateCommand = 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("Pinpoint", "CreateEmailTemplate", {}).n("PinpointClient", "CreateEmailTemplateCommand").f(void 0, void 0).ser(se_CreateEmailTemplateCommand).de(de_CreateEmailTemplateCommand).build() {  static {    __name(this, "CreateEmailTemplateCommand");  }}; // src/commands/CreateExportJobCommand.ts   var CreateExportJobCommand = 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("Pinpoint", "CreateExportJob", {}).n("PinpointClient", "CreateExportJobCommand").f(void 0, void 0).ser(se_CreateExportJobCommand).de(de_CreateExportJobCommand).build() {  static {    __name(this, "CreateExportJobCommand");  }}; // src/commands/CreateImportJobCommand.ts   var CreateImportJobCommand = 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("Pinpoint", "CreateImportJob", {}).n("PinpointClient", "CreateImportJobCommand").f(void 0, void 0).ser(se_CreateImportJobCommand).de(de_CreateImportJobCommand).build() {  static {    __name(this, "CreateImportJobCommand");  }}; // src/commands/CreateInAppTemplateCommand.ts   var CreateInAppTemplateCommand = 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("Pinpoint", "CreateInAppTemplate", {}).n("PinpointClient", "CreateInAppTemplateCommand").f(void 0, void 0).ser(se_CreateInAppTemplateCommand).de(de_CreateInAppTemplateCommand).build() {  static {    __name(this, "CreateInAppTemplateCommand");  }}; // src/commands/CreateJourneyCommand.ts   var CreateJourneyCommand = 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("Pinpoint", "CreateJourney", {}).n("PinpointClient", "CreateJourneyCommand").f(void 0, void 0).ser(se_CreateJourneyCommand).de(de_CreateJourneyCommand).build() {  static {    __name(this, "CreateJourneyCommand");  }}; // src/commands/CreatePushTemplateCommand.ts   var CreatePushTemplateCommand = 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("Pinpoint", "CreatePushTemplate", {}).n("PinpointClient", "CreatePushTemplateCommand").f(void 0, void 0).ser(se_CreatePushTemplateCommand).de(de_CreatePushTemplateCommand).build() {  static {    __name(this, "CreatePushTemplateCommand");  }}; // src/commands/CreateRecommenderConfigurationCommand.ts   var CreateRecommenderConfigurationCommand = 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("Pinpoint", "CreateRecommenderConfiguration", {}).n("PinpointClient", "CreateRecommenderConfigurationCommand").f(void 0, void 0).ser(se_CreateRecommenderConfigurationCommand).de(de_CreateRecommenderConfigurationCommand).build() {  static {    __name(this, "CreateRecommenderConfigurationCommand");  }}; // src/commands/CreateSegmentCommand.ts   var CreateSegmentCommand = 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("Pinpoint", "CreateSegment", {}).n("PinpointClient", "CreateSegmentCommand").f(void 0, void 0).ser(se_CreateSegmentCommand).de(de_CreateSegmentCommand).build() {  static {    __name(this, "CreateSegmentCommand");  }}; // src/commands/CreateSmsTemplateCommand.ts   var CreateSmsTemplateCommand = 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("Pinpoint", "CreateSmsTemplate", {}).n("PinpointClient", "CreateSmsTemplateCommand").f(void 0, void 0).ser(se_CreateSmsTemplateCommand).de(de_CreateSmsTemplateCommand).build() {  static {    __name(this, "CreateSmsTemplateCommand");  }}; // src/commands/CreateVoiceTemplateCommand.ts   var CreateVoiceTemplateCommand = 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("Pinpoint", "CreateVoiceTemplate", {}).n("PinpointClient", "CreateVoiceTemplateCommand").f(void 0, void 0).ser(se_CreateVoiceTemplateCommand).de(de_CreateVoiceTemplateCommand).build() {  static {    __name(this, "CreateVoiceTemplateCommand");  }}; // src/commands/DeleteAdmChannelCommand.ts   var DeleteAdmChannelCommand = 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("Pinpoint", "DeleteAdmChannel", {}).n("PinpointClient", "DeleteAdmChannelCommand").f(void 0, void 0).ser(se_DeleteAdmChannelCommand).de(de_DeleteAdmChannelCommand).build() {  static {    __name(this, "DeleteAdmChannelCommand");  }}; // src/commands/DeleteApnsChannelCommand.ts   var DeleteApnsChannelCommand = 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("Pinpoint", "DeleteApnsChannel", {}).n("PinpointClient", "DeleteApnsChannelCommand").f(void 0, void 0).ser(se_DeleteApnsChannelCommand).de(de_DeleteApnsChannelCommand).build() {  static {    __name(this, "DeleteApnsChannelCommand");  }}; // src/commands/DeleteApnsSandboxChannelCommand.ts   var DeleteApnsSandboxChannelCommand = 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("Pinpoint", "DeleteApnsSandboxChannel", {}).n("PinpointClient", "DeleteApnsSandboxChannelCommand").f(void 0, void 0).ser(se_DeleteApnsSandboxChannelCommand).de(de_DeleteApnsSandboxChannelCommand).build() {  static {    __name(this, "DeleteApnsSandboxChannelCommand");  }}; // src/commands/DeleteApnsVoipChannelCommand.ts   var DeleteApnsVoipChannelCommand = 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("Pinpoint", "DeleteApnsVoipChannel", {}).n("PinpointClient", "DeleteApnsVoipChannelCommand").f(void 0, void 0).ser(se_DeleteApnsVoipChannelCommand).de(de_DeleteApnsVoipChannelCommand).build() {  static {    __name(this, "DeleteApnsVoipChannelCommand");  }}; // src/commands/DeleteApnsVoipSandboxChannelCommand.ts   var DeleteApnsVoipSandboxChannelCommand = 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("Pinpoint", "DeleteApnsVoipSandboxChannel", {}).n("PinpointClient", "DeleteApnsVoipSandboxChannelCommand").f(void 0, void 0).ser(se_DeleteApnsVoipSandboxChannelCommand).de(de_DeleteApnsVoipSandboxChannelCommand).build() {  static {    __name(this, "DeleteApnsVoipSandboxChannelCommand");  }}; // src/commands/DeleteAppCommand.ts   var DeleteAppCommand = 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("Pinpoint", "DeleteApp", {}).n("PinpointClient", "DeleteAppCommand").f(void 0, void 0).ser(se_DeleteAppCommand).de(de_DeleteAppCommand).build() {  static {    __name(this, "DeleteAppCommand");  }}; // src/commands/DeleteBaiduChannelCommand.ts   var DeleteBaiduChannelCommand = 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("Pinpoint", "DeleteBaiduChannel", {}).n("PinpointClient", "DeleteBaiduChannelCommand").f(void 0, void 0).ser(se_DeleteBaiduChannelCommand).de(de_DeleteBaiduChannelCommand).build() {  static {    __name(this, "DeleteBaiduChannelCommand");  }}; // src/commands/DeleteCampaignCommand.ts   var DeleteCampaignCommand = 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("Pinpoint", "DeleteCampaign", {}).n("PinpointClient", "DeleteCampaignCommand").f(void 0, void 0).ser(se_DeleteCampaignCommand).de(de_DeleteCampaignCommand).build() {  static {    __name(this, "DeleteCampaignCommand");  }}; // src/commands/DeleteEmailChannelCommand.ts   var DeleteEmailChannelCommand = 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("Pinpoint", "DeleteEmailChannel", {}).n("PinpointClient", "DeleteEmailChannelCommand").f(void 0, void 0).ser(se_DeleteEmailChannelCommand).de(de_DeleteEmailChannelCommand).build() {  static {    __name(this, "DeleteEmailChannelCommand");  }}; // src/commands/DeleteEmailTemplateCommand.ts   var DeleteEmailTemplateCommand = 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("Pinpoint", "DeleteEmailTemplate", {}).n("PinpointClient", "DeleteEmailTemplateCommand").f(void 0, void 0).ser(se_DeleteEmailTemplateCommand).de(de_DeleteEmailTemplateCommand).build() {  static {    __name(this, "DeleteEmailTemplateCommand");  }}; // src/commands/DeleteEndpointCommand.ts   var DeleteEndpointCommand = 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("Pinpoint", "DeleteEndpoint", {}).n("PinpointClient", "DeleteEndpointCommand").f(void 0, void 0).ser(se_DeleteEndpointCommand).de(de_DeleteEndpointCommand).build() {  static {    __name(this, "DeleteEndpointCommand");  }}; // src/commands/DeleteEventStreamCommand.ts   var DeleteEventStreamCommand = 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("Pinpoint", "DeleteEventStream", {}).n("PinpointClient", "DeleteEventStreamCommand").f(void 0, void 0).ser(se_DeleteEventStreamCommand).de(de_DeleteEventStreamCommand).build() {  static {    __name(this, "DeleteEventStreamCommand");  }}; // src/commands/DeleteGcmChannelCommand.ts   var DeleteGcmChannelCommand = 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("Pinpoint", "DeleteGcmChannel", {}).n("PinpointClient", "DeleteGcmChannelCommand").f(void 0, void 0).ser(se_DeleteGcmChannelCommand).de(de_DeleteGcmChannelCommand).build() {  static {    __name(this, "DeleteGcmChannelCommand");  }}; // src/commands/DeleteInAppTemplateCommand.ts   var DeleteInAppTemplateCommand = 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("Pinpoint", "DeleteInAppTemplate", {}).n("PinpointClient", "DeleteInAppTemplateCommand").f(void 0, void 0).ser(se_DeleteInAppTemplateCommand).de(de_DeleteInAppTemplateCommand).build() {  static {    __name(this, "DeleteInAppTemplateCommand");  }}; // src/commands/DeleteJourneyCommand.ts   var DeleteJourneyCommand = 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("Pinpoint", "DeleteJourney", {}).n("PinpointClient", "DeleteJourneyCommand").f(void 0, void 0).ser(se_DeleteJourneyCommand).de(de_DeleteJourneyCommand).build() {  static {    __name(this, "DeleteJourneyCommand");  }}; // src/commands/DeletePushTemplateCommand.ts   var DeletePushTemplateCommand = 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("Pinpoint", "DeletePushTemplate", {}).n("PinpointClient", "DeletePushTemplateCommand").f(void 0, void 0).ser(se_DeletePushTemplateCommand).de(de_DeletePushTemplateCommand).build() {  static {    __name(this, "DeletePushTemplateCommand");  }}; // src/commands/DeleteRecommenderConfigurationCommand.ts   var DeleteRecommenderConfigurationCommand = 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("Pinpoint", "DeleteRecommenderConfiguration", {}).n("PinpointClient", "DeleteRecommenderConfigurationCommand").f(void 0, void 0).ser(se_DeleteRecommenderConfigurationCommand).de(de_DeleteRecommenderConfigurationCommand).build() {  static {    __name(this, "DeleteRecommenderConfigurationCommand");  }}; // src/commands/DeleteSegmentCommand.ts   var DeleteSegmentCommand = 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("Pinpoint", "DeleteSegment", {}).n("PinpointClient", "DeleteSegmentCommand").f(void 0, void 0).ser(se_DeleteSegmentCommand).de(de_DeleteSegmentCommand).build() {  static {    __name(this, "DeleteSegmentCommand");  }}; // src/commands/DeleteSmsChannelCommand.ts   var DeleteSmsChannelCommand = 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("Pinpoint", "DeleteSmsChannel", {}).n("PinpointClient", "DeleteSmsChannelCommand").f(void 0, void 0).ser(se_DeleteSmsChannelCommand).de(de_DeleteSmsChannelCommand).build() {  static {    __name(this, "DeleteSmsChannelCommand");  }}; // src/commands/DeleteSmsTemplateCommand.ts   var DeleteSmsTemplateCommand = 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("Pinpoint", "DeleteSmsTemplate", {}).n("PinpointClient", "DeleteSmsTemplateCommand").f(void 0, void 0).ser(se_DeleteSmsTemplateCommand).de(de_DeleteSmsTemplateCommand).build() {  static {    __name(this, "DeleteSmsTemplateCommand");  }}; // src/commands/DeleteUserEndpointsCommand.ts   var DeleteUserEndpointsCommand = 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("Pinpoint", "DeleteUserEndpoints", {}).n("PinpointClient", "DeleteUserEndpointsCommand").f(void 0, void 0).ser(se_DeleteUserEndpointsCommand).de(de_DeleteUserEndpointsCommand).build() {  static {    __name(this, "DeleteUserEndpointsCommand");  }}; // src/commands/DeleteVoiceChannelCommand.ts   var DeleteVoiceChannelCommand = 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("Pinpoint", "DeleteVoiceChannel", {}).n("PinpointClient", "DeleteVoiceChannelCommand").f(void 0, void 0).ser(se_DeleteVoiceChannelCommand).de(de_DeleteVoiceChannelCommand).build() {  static {    __name(this, "DeleteVoiceChannelCommand");  }}; // src/commands/DeleteVoiceTemplateCommand.ts   var DeleteVoiceTemplateCommand = 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("Pinpoint", "DeleteVoiceTemplate", {}).n("PinpointClient", "DeleteVoiceTemplateCommand").f(void 0, void 0).ser(se_DeleteVoiceTemplateCommand).de(de_DeleteVoiceTemplateCommand).build() {  static {    __name(this, "DeleteVoiceTemplateCommand");  }}; // src/commands/GetAdmChannelCommand.ts   var GetAdmChannelCommand = 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("Pinpoint", "GetAdmChannel", {}).n("PinpointClient", "GetAdmChannelCommand").f(void 0, void 0).ser(se_GetAdmChannelCommand).de(de_GetAdmChannelCommand).build() {  static {    __name(this, "GetAdmChannelCommand");  }}; // src/commands/GetApnsChannelCommand.ts   var GetApnsChannelCommand = 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("Pinpoint", "GetApnsChannel", {}).n("PinpointClient", "GetApnsChannelCommand").f(void 0, void 0).ser(se_GetApnsChannelCommand).de(de_GetApnsChannelCommand).build() {  static {    __name(this, "GetApnsChannelCommand");  }}; // src/commands/GetApnsSandboxChannelCommand.ts   var GetApnsSandboxChannelCommand = 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("Pinpoint", "GetApnsSandboxChannel", {}).n("PinpointClient", "GetApnsSandboxChannelCommand").f(void 0, void 0).ser(se_GetApnsSandboxChannelCommand).de(de_GetApnsSandboxChannelCommand).build() {  static {    __name(this, "GetApnsSandboxChannelCommand");  }}; // src/commands/GetApnsVoipChannelCommand.ts   var GetApnsVoipChannelCommand = 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("Pinpoint", "GetApnsVoipChannel", {}).n("PinpointClient", "GetApnsVoipChannelCommand").f(void 0, void 0).ser(se_GetApnsVoipChannelCommand).de(de_GetApnsVoipChannelCommand).build() {  static {    __name(this, "GetApnsVoipChannelCommand");  }}; // src/commands/GetApnsVoipSandboxChannelCommand.ts   var GetApnsVoipSandboxChannelCommand = 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("Pinpoint", "GetApnsVoipSandboxChannel", {}).n("PinpointClient", "GetApnsVoipSandboxChannelCommand").f(void 0, void 0).ser(se_GetApnsVoipSandboxChannelCommand).de(de_GetApnsVoipSandboxChannelCommand).build() {  static {    __name(this, "GetApnsVoipSandboxChannelCommand");  }}; // src/commands/GetAppCommand.ts   var GetAppCommand = 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("Pinpoint", "GetApp", {}).n("PinpointClient", "GetAppCommand").f(void 0, void 0).ser(se_GetAppCommand).de(de_GetAppCommand).build() {  static {    __name(this, "GetAppCommand");  }}; // src/commands/GetApplicationDateRangeKpiCommand.ts   var GetApplicationDateRangeKpiCommand = 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("Pinpoint", "GetApplicationDateRangeKpi", {}).n("PinpointClient", "GetApplicationDateRangeKpiCommand").f(void 0, void 0).ser(se_GetApplicationDateRangeKpiCommand).de(de_GetApplicationDateRangeKpiCommand).build() {  static {    __name(this, "GetApplicationDateRangeKpiCommand");  }}; // src/commands/GetApplicationSettingsCommand.ts   var GetApplicationSettingsCommand = 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("Pinpoint", "GetApplicationSettings", {}).n("PinpointClient", "GetApplicationSettingsCommand").f(void 0, void 0).ser(se_GetApplicationSettingsCommand).de(de_GetApplicationSettingsCommand).build() {  static {    __name(this, "GetApplicationSettingsCommand");  }}; // src/commands/GetAppsCommand.ts   var GetAppsCommand = 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("Pinpoint", "GetApps", {}).n("PinpointClient", "GetAppsCommand").f(void 0, void 0).ser(se_GetAppsCommand).de(de_GetAppsCommand).build() {  static {    __name(this, "GetAppsCommand");  }}; // src/commands/GetBaiduChannelCommand.ts   var GetBaiduChannelCommand = 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("Pinpoint", "GetBaiduChannel", {}).n("PinpointClient", "GetBaiduChannelCommand").f(void 0, void 0).ser(se_GetBaiduChannelCommand).de(de_GetBaiduChannelCommand).build() {  static {    __name(this, "GetBaiduChannelCommand");  }}; // src/commands/GetCampaignActivitiesCommand.ts   var GetCampaignActivitiesCommand = 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("Pinpoint", "GetCampaignActivities", {}).n("PinpointClient", "GetCampaignActivitiesCommand").f(void 0, void 0).ser(se_GetCampaignActivitiesCommand).de(de_GetCampaignActivitiesCommand).build() {  static {    __name(this, "GetCampaignActivitiesCommand");  }}; // src/commands/GetCampaignCommand.ts   var GetCampaignCommand = 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("Pinpoint", "GetCampaign", {}).n("PinpointClient", "GetCampaignCommand").f(void 0, void 0).ser(se_GetCampaignCommand).de(de_GetCampaignCommand).build() {  static {    __name(this, "GetCampaignCommand");  }}; // src/commands/GetCampaignDateRangeKpiCommand.ts   var GetCampaignDateRangeKpiCommand = 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("Pinpoint", "GetCampaignDateRangeKpi", {}).n("PinpointClient", "GetCampaignDateRangeKpiCommand").f(void 0, void 0).ser(se_GetCampaignDateRangeKpiCommand).de(de_GetCampaignDateRangeKpiCommand).build() {  static {    __name(this, "GetCampaignDateRangeKpiCommand");  }}; // src/commands/GetCampaignsCommand.ts   var GetCampaignsCommand = 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("Pinpoint", "GetCampaigns", {}).n("PinpointClient", "GetCampaignsCommand").f(void 0, void 0).ser(se_GetCampaignsCommand).de(de_GetCampaignsCommand).build() {  static {    __name(this, "GetCampaignsCommand");  }}; // src/commands/GetCampaignVersionCommand.ts   var GetCampaignVersionCommand = 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("Pinpoint", "GetCampaignVersion", {}).n("PinpointClient", "GetCampaignVersionCommand").f(void 0, void 0).ser(se_GetCampaignVersionCommand).de(de_GetCampaignVersionCommand).build() {  static {    __name(this, "GetCampaignVersionCommand");  }}; // src/commands/GetCampaignVersionsCommand.ts   var GetCampaignVersionsCommand = 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("Pinpoint", "GetCampaignVersions", {}).n("PinpointClient", "GetCampaignVersionsCommand").f(void 0, void 0).ser(se_GetCampaignVersionsCommand).de(de_GetCampaignVersionsCommand).build() {  static {    __name(this, "GetCampaignVersionsCommand");  }}; // src/commands/GetChannelsCommand.ts   var GetChannelsCommand = 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("Pinpoint", "GetChannels", {}).n("PinpointClient", "GetChannelsCommand").f(void 0, void 0).ser(se_GetChannelsCommand).de(de_GetChannelsCommand).build() {  static {    __name(this, "GetChannelsCommand");  }}; // src/commands/GetEmailChannelCommand.ts   var GetEmailChannelCommand = 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("Pinpoint", "GetEmailChannel", {}).n("PinpointClient", "GetEmailChannelCommand").f(void 0, void 0).ser(se_GetEmailChannelCommand).de(de_GetEmailChannelCommand).build() {  static {    __name(this, "GetEmailChannelCommand");  }}; // src/commands/GetEmailTemplateCommand.ts   var GetEmailTemplateCommand = 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("Pinpoint", "GetEmailTemplate", {}).n("PinpointClient", "GetEmailTemplateCommand").f(void 0, void 0).ser(se_GetEmailTemplateCommand).de(de_GetEmailTemplateCommand).build() {  static {    __name(this, "GetEmailTemplateCommand");  }}; // src/commands/GetEndpointCommand.ts   var GetEndpointCommand = 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("Pinpoint", "GetEndpoint", {}).n("PinpointClient", "GetEndpointCommand").f(void 0, void 0).ser(se_GetEndpointCommand).de(de_GetEndpointCommand).build() {  static {    __name(this, "GetEndpointCommand");  }}; // src/commands/GetEventStreamCommand.ts   var GetEventStreamCommand = 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("Pinpoint", "GetEventStream", {}).n("PinpointClient", "GetEventStreamCommand").f(void 0, void 0).ser(se_GetEventStreamCommand).de(de_GetEventStreamCommand).build() {  static {    __name(this, "GetEventStreamCommand");  }}; // src/commands/GetExportJobCommand.ts   var GetExportJobCommand = 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("Pinpoint", "GetExportJob", {}).n("PinpointClient", "GetExportJobCommand").f(void 0, void 0).ser(se_GetExportJobCommand).de(de_GetExportJobCommand).build() {  static {    __name(this, "GetExportJobCommand");  }}; // src/commands/GetExportJobsCommand.ts   var GetExportJobsCommand = 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("Pinpoint", "GetExportJobs", {}).n("PinpointClient", "GetExportJobsCommand").f(void 0, void 0).ser(se_GetExportJobsCommand).de(de_GetExportJobsCommand).build() {  static {    __name(this, "GetExportJobsCommand");  }}; // src/commands/GetGcmChannelCommand.ts   var GetGcmChannelCommand = 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("Pinpoint", "GetGcmChannel", {}).n("PinpointClient", "GetGcmChannelCommand").f(void 0, void 0).ser(se_GetGcmChannelCommand).de(de_GetGcmChannelCommand).build() {  static {    __name(this, "GetGcmChannelCommand");  }}; // src/commands/GetImportJobCommand.ts   var GetImportJobCommand = 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("Pinpoint", "GetImportJob", {}).n("PinpointClient", "GetImportJobCommand").f(void 0, void 0).ser(se_GetImportJobCommand).de(de_GetImportJobCommand).build() {  static {    __name(this, "GetImportJobCommand");  }}; // src/commands/GetImportJobsCommand.ts   var GetImportJobsCommand = 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("Pinpoint", "GetImportJobs", {}).n("PinpointClient", "GetImportJobsCommand").f(void 0, void 0).ser(se_GetImportJobsCommand).de(de_GetImportJobsCommand).build() {  static {    __name(this, "GetImportJobsCommand");  }}; // src/commands/GetInAppMessagesCommand.ts   var GetInAppMessagesCommand = 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("Pinpoint", "GetInAppMessages", {}).n("PinpointClient", "GetInAppMessagesCommand").f(void 0, void 0).ser(se_GetInAppMessagesCommand).de(de_GetInAppMessagesCommand).build() {  static {    __name(this, "GetInAppMessagesCommand");  }}; // src/commands/GetInAppTemplateCommand.ts   var GetInAppTemplateCommand = 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("Pinpoint", "GetInAppTemplate", {}).n("PinpointClient", "GetInAppTemplateCommand").f(void 0, void 0).ser(se_GetInAppTemplateCommand).de(de_GetInAppTemplateCommand).build() {  static {    __name(this, "GetInAppTemplateCommand");  }}; // src/commands/GetJourneyCommand.ts   var GetJourneyCommand = 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("Pinpoint", "GetJourney", {}).n("PinpointClient", "GetJourneyCommand").f(void 0, void 0).ser(se_GetJourneyCommand).de(de_GetJourneyCommand).build() {  static {    __name(this, "GetJourneyCommand");  }}; // src/commands/GetJourneyDateRangeKpiCommand.ts   var GetJourneyDateRangeKpiCommand = 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("Pinpoint", "GetJourneyDateRangeKpi", {}).n("PinpointClient", "GetJourneyDateRangeKpiCommand").f(void 0, void 0).ser(se_GetJourneyDateRangeKpiCommand).de(de_GetJourneyDateRangeKpiCommand).build() {  static {    __name(this, "GetJourneyDateRangeKpiCommand");  }}; // src/commands/GetJourneyExecutionActivityMetricsCommand.ts   var GetJourneyExecutionActivityMetricsCommand = 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("Pinpoint", "GetJourneyExecutionActivityMetrics", {}).n("PinpointClient", "GetJourneyExecutionActivityMetricsCommand").f(void 0, void 0).ser(se_GetJourneyExecutionActivityMetricsCommand).de(de_GetJourneyExecutionActivityMetricsCommand).build() {  static {    __name(this, "GetJourneyExecutionActivityMetricsCommand");  }}; // src/commands/GetJourneyExecutionMetricsCommand.ts   var GetJourneyExecutionMetricsCommand = 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("Pinpoint", "GetJourneyExecutionMetrics", {}).n("PinpointClient", "GetJourneyExecutionMetricsCommand").f(void 0, void 0).ser(se_GetJourneyExecutionMetricsCommand).de(de_GetJourneyExecutionMetricsCommand).build() {  static {    __name(this, "GetJourneyExecutionMetricsCommand");  }}; // src/commands/GetJourneyRunExecutionActivityMetricsCommand.ts   var GetJourneyRunExecutionActivityMetricsCommand = 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("Pinpoint", "GetJourneyRunExecutionActivityMetrics", {}).n("PinpointClient", "GetJourneyRunExecutionActivityMetricsCommand").f(void 0, void 0).ser(se_GetJourneyRunExecutionActivityMetricsCommand).de(de_GetJourneyRunExecutionActivityMetricsCommand).build() {  static {    __name(this, "GetJourneyRunExecutionActivityMetricsCommand");  }}; // src/commands/GetJourneyRunExecutionMetricsCommand.ts   var GetJourneyRunExecutionMetricsCommand = 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("Pinpoint", "GetJourneyRunExecutionMetrics", {}).n("PinpointClient", "GetJourneyRunExecutionMetricsCommand").f(void 0, void 0).ser(se_GetJourneyRunExecutionMetricsCommand).de(de_GetJourneyRunExecutionMetricsCommand).build() {  static {    __name(this, "GetJourneyRunExecutionMetricsCommand");  }}; // src/commands/GetJourneyRunsCommand.ts   var GetJourneyRunsCommand = 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("Pinpoint", "GetJourneyRuns", {}).n("PinpointClient", "GetJourneyRunsCommand").f(void 0, void 0).ser(se_GetJourneyRunsCommand).de(de_GetJourneyRunsCommand).build() {  static {    __name(this, "GetJourneyRunsCommand");  }}; // src/commands/GetPushTemplateCommand.ts   var GetPushTemplateCommand = 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("Pinpoint", "GetPushTemplate", {}).n("PinpointClient", "GetPushTemplateCommand").f(void 0, void 0).ser(se_GetPushTemplateCommand).de(de_GetPushTemplateCommand).build() {  static {    __name(this, "GetPushTemplateCommand");  }}; // src/commands/GetRecommenderConfigurationCommand.ts   var GetRecommenderConfigurationCommand = 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("Pinpoint", "GetRecommenderConfiguration", {}).n("PinpointClient", "GetRecommenderConfigurationCommand").f(void 0, void 0).ser(se_GetRecommenderConfigurationCommand).de(de_GetRecommenderConfigurationCommand).build() {  static {    __name(this, "GetRecommenderConfigurationCommand");  }}; // src/commands/GetRecommenderConfigurationsCommand.ts   var GetRecommenderConfigurationsCommand = 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("Pinpoint", "GetRecommenderConfigurations", {}).n("PinpointClient", "GetRecommenderConfigurationsCommand").f(void 0, void 0).ser(se_GetRecommenderConfigurationsCommand).de(de_GetRecommenderConfigurationsCommand).build() {  static {    __name(this, "GetRecommenderConfigurationsCommand");  }}; // src/commands/GetSegmentCommand.ts   var GetSegmentCommand = 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("Pinpoint", "GetSegment", {}).n("PinpointClient", "GetSegmentCommand").f(void 0, void 0).ser(se_GetSegmentCommand).de(de_GetSegmentCommand).build() {  static {    __name(this, "GetSegmentCommand");  }}; // src/commands/GetSegmentExportJobsCommand.ts   var GetSegmentExportJobsCommand = 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("Pinpoint", "GetSegmentExportJobs", {}).n("PinpointClient", "GetSegmentExportJobsCommand").f(void 0, void 0).ser(se_GetSegmentExportJobsCommand).de(de_GetSegmentExportJobsCommand).build() {  static {    __name(this, "GetSegmentExportJobsCommand");  }}; // src/commands/GetSegmentImportJobsCommand.ts   var GetSegmentImportJobsCommand = 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("Pinpoint", "GetSegmentImportJobs", {}).n("PinpointClient", "GetSegmentImportJobsCommand").f(void 0, void 0).ser(se_GetSegmentImportJobsCommand).de(de_GetSegmentImportJobsCommand).build() {  static {    __name(this, "GetSegmentImportJobsCommand");  }}; // src/commands/GetSegmentsCommand.ts   var GetSegmentsCommand = 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("Pinpoint", "GetSegments", {}).n("PinpointClient", "GetSegmentsCommand").f(void 0, void 0).ser(se_GetSegmentsCommand).de(de_GetSegmentsCommand).build() {  static {    __name(this, "GetSegmentsCommand");  }}; // src/commands/GetSegmentVersionCommand.ts   var GetSegmentVersionCommand = 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("Pinpoint", "GetSegmentVersion", {}).n("PinpointClient", "GetSegmentVersionCommand").f(void 0, void 0).ser(se_GetSegmentVersionCommand).de(de_GetSegmentVersionCommand).build() {  static {    __name(this, "GetSegmentVersionCommand");  }}; // src/commands/GetSegmentVersionsCommand.ts   var GetSegmentVersionsCommand = 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("Pinpoint", "GetSegmentVersions", {}).n("PinpointClient", "GetSegmentVersionsCommand").f(void 0, void 0).ser(se_GetSegmentVersionsCommand).de(de_GetSegmentVersionsCommand).build() {  static {    __name(this, "GetSegmentVersionsCommand");  }}; // src/commands/GetSmsChannelCommand.ts   var GetSmsChannelCommand = 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("Pinpoint", "GetSmsChannel", {}).n("PinpointClient", "GetSmsChannelCommand").f(void 0, void 0).ser(se_GetSmsChannelCommand).de(de_GetSmsChannelCommand).build() {  static {    __name(this, "GetSmsChannelCommand");  }}; // src/commands/GetSmsTemplateCommand.ts   var GetSmsTemplateCommand = 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("Pinpoint", "GetSmsTemplate", {}).n("PinpointClient", "GetSmsTemplateCommand").f(void 0, void 0).ser(se_GetSmsTemplateCommand).de(de_GetSmsTemplateCommand).build() {  static {    __name(this, "GetSmsTemplateCommand");  }}; // src/commands/GetUserEndpointsCommand.ts   var GetUserEndpointsCommand = 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("Pinpoint", "GetUserEndpoints", {}).n("PinpointClient", "GetUserEndpointsCommand").f(void 0, void 0).ser(se_GetUserEndpointsCommand).de(de_GetUserEndpointsCommand).build() {  static {    __name(this, "GetUserEndpointsCommand");  }}; // src/commands/GetVoiceChannelCommand.ts   var GetVoiceChannelCommand = 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("Pinpoint", "GetVoiceChannel", {}).n("PinpointClient", "GetVoiceChannelCommand").f(void 0, void 0).ser(se_GetVoiceChannelCommand).de(de_GetVoiceChannelCommand).build() {  static {    __name(this, "GetVoiceChannelCommand");  }}; // src/commands/GetVoiceTemplateCommand.ts   var GetVoiceTemplateCommand = 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("Pinpoint", "GetVoiceTemplate", {}).n("PinpointClient", "GetVoiceTemplateCommand").f(void 0, void 0).ser(se_GetVoiceTemplateCommand).de(de_GetVoiceTemplateCommand).build() {  static {    __name(this, "GetVoiceTemplateCommand");  }}; // src/commands/ListJourneysCommand.ts   var ListJourneysCommand = 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("Pinpoint", "ListJourneys", {}).n("PinpointClient", "ListJourneysCommand").f(void 0, void 0).ser(se_ListJourneysCommand).de(de_ListJourneysCommand).build() {  static {    __name(this, "ListJourneysCommand");  }}; // src/commands/ListTagsForResourceCommand.ts   var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Pinpoint", "ListTagsForResource", {}).n("PinpointClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/ListTemplatesCommand.ts   var ListTemplatesCommand = 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("Pinpoint", "ListTemplates", {}).n("PinpointClient", "ListTemplatesCommand").f(void 0, void 0).ser(se_ListTemplatesCommand).de(de_ListTemplatesCommand).build() {  static {    __name(this, "ListTemplatesCommand");  }}; // src/commands/ListTemplateVersionsCommand.ts   var ListTemplateVersionsCommand = 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("Pinpoint", "ListTemplateVersions", {}).n("PinpointClient", "ListTemplateVersionsCommand").f(void 0, void 0).ser(se_ListTemplateVersionsCommand).de(de_ListTemplateVersionsCommand).build() {  static {    __name(this, "ListTemplateVersionsCommand");  }}; // src/commands/PhoneNumberValidateCommand.ts   var PhoneNumberValidateCommand = 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("Pinpoint", "PhoneNumberValidate", {}).n("PinpointClient", "PhoneNumberValidateCommand").f(void 0, void 0).ser(se_PhoneNumberValidateCommand).de(de_PhoneNumberValidateCommand).build() {  static {    __name(this, "PhoneNumberValidateCommand");  }}; // src/commands/PutEventsCommand.ts   var PutEventsCommand = 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("Pinpoint", "PutEvents", {}).n("PinpointClient", "PutEventsCommand").f(void 0, void 0).ser(se_PutEventsCommand).de(de_PutEventsCommand).build() {  static {    __name(this, "PutEventsCommand");  }}; // src/commands/PutEventStreamCommand.ts   var PutEventStreamCommand = 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("Pinpoint", "PutEventStream", {}).n("PinpointClient", "PutEventStreamCommand").f(void 0, void 0).ser(se_PutEventStreamCommand).de(de_PutEventStreamCommand).build() {  static {    __name(this, "PutEventStreamCommand");  }}; // src/commands/RemoveAttributesCommand.ts   var RemoveAttributesCommand = 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("Pinpoint", "RemoveAttributes", {}).n("PinpointClient", "RemoveAttributesCommand").f(void 0, void 0).ser(se_RemoveAttributesCommand).de(de_RemoveAttributesCommand).build() {  static {    __name(this, "RemoveAttributesCommand");  }}; // src/commands/SendMessagesCommand.ts   var SendMessagesCommand = 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("Pinpoint", "SendMessages", {}).n("PinpointClient", "SendMessagesCommand").f(void 0, void 0).ser(se_SendMessagesCommand).de(de_SendMessagesCommand).build() {  static {    __name(this, "SendMessagesCommand");  }}; // src/commands/SendOTPMessageCommand.ts   var SendOTPMessageCommand = 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("Pinpoint", "SendOTPMessage", {}).n("PinpointClient", "SendOTPMessageCommand").f(void 0, void 0).ser(se_SendOTPMessageCommand).de(de_SendOTPMessageCommand).build() {  static {    __name(this, "SendOTPMessageCommand");  }}; // src/commands/SendUsersMessagesCommand.ts   var SendUsersMessagesCommand = 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("Pinpoint", "SendUsersMessages", {}).n("PinpointClient", "SendUsersMessagesCommand").f(void 0, void 0).ser(se_SendUsersMessagesCommand).de(de_SendUsersMessagesCommand).build() {  static {    __name(this, "SendUsersMessagesCommand");  }}; // src/commands/TagResourceCommand.ts   var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Pinpoint", "TagResource", {}).n("PinpointClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {  static {    __name(this, "TagResourceCommand");  }}; // src/commands/UntagResourceCommand.ts   var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {  return [    (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),    (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())  ];}).s("Pinpoint", "UntagResource", {}).n("PinpointClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateAdmChannelCommand.ts   var UpdateAdmChannelCommand = 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("Pinpoint", "UpdateAdmChannel", {}).n("PinpointClient", "UpdateAdmChannelCommand").f(void 0, void 0).ser(se_UpdateAdmChannelCommand).de(de_UpdateAdmChannelCommand).build() {  static {    __name(this, "UpdateAdmChannelCommand");  }}; // src/commands/UpdateApnsChannelCommand.ts   var UpdateApnsChannelCommand = 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("Pinpoint", "UpdateApnsChannel", {}).n("PinpointClient", "UpdateApnsChannelCommand").f(void 0, void 0).ser(se_UpdateApnsChannelCommand).de(de_UpdateApnsChannelCommand).build() {  static {    __name(this, "UpdateApnsChannelCommand");  }}; // src/commands/UpdateApnsSandboxChannelCommand.ts   var UpdateApnsSandboxChannelCommand = 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("Pinpoint", "UpdateApnsSandboxChannel", {}).n("PinpointClient", "UpdateApnsSandboxChannelCommand").f(void 0, void 0).ser(se_UpdateApnsSandboxChannelCommand).de(de_UpdateApnsSandboxChannelCommand).build() {  static {    __name(this, "UpdateApnsSandboxChannelCommand");  }}; // src/commands/UpdateApnsVoipChannelCommand.ts   var UpdateApnsVoipChannelCommand = 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("Pinpoint", "UpdateApnsVoipChannel", {}).n("PinpointClient", "UpdateApnsVoipChannelCommand").f(void 0, void 0).ser(se_UpdateApnsVoipChannelCommand).de(de_UpdateApnsVoipChannelCommand).build() {  static {    __name(this, "UpdateApnsVoipChannelCommand");  }}; // src/commands/UpdateApnsVoipSandboxChannelCommand.ts   var UpdateApnsVoipSandboxChannelCommand = 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("Pinpoint", "UpdateApnsVoipSandboxChannel", {}).n("PinpointClient", "UpdateApnsVoipSandboxChannelCommand").f(void 0, void 0).ser(se_UpdateApnsVoipSandboxChannelCommand).de(de_UpdateApnsVoipSandboxChannelCommand).build() {  static {    __name(this, "UpdateApnsVoipSandboxChannelCommand");  }}; // src/commands/UpdateApplicationSettingsCommand.ts   var UpdateApplicationSettingsCommand = 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("Pinpoint", "UpdateApplicationSettings", {}).n("PinpointClient", "UpdateApplicationSettingsCommand").f(void 0, void 0).ser(se_UpdateApplicationSettingsCommand).de(de_UpdateApplicationSettingsCommand).build() {  static {    __name(this, "UpdateApplicationSettingsCommand");  }}; // src/commands/UpdateBaiduChannelCommand.ts   var UpdateBaiduChannelCommand = 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("Pinpoint", "UpdateBaiduChannel", {}).n("PinpointClient", "UpdateBaiduChannelCommand").f(void 0, void 0).ser(se_UpdateBaiduChannelCommand).de(de_UpdateBaiduChannelCommand).build() {  static {    __name(this, "UpdateBaiduChannelCommand");  }}; // src/commands/UpdateCampaignCommand.ts   var UpdateCampaignCommand = 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("Pinpoint", "UpdateCampaign", {}).n("PinpointClient", "UpdateCampaignCommand").f(void 0, void 0).ser(se_UpdateCampaignCommand).de(de_UpdateCampaignCommand).build() {  static {    __name(this, "UpdateCampaignCommand");  }}; // src/commands/UpdateEmailChannelCommand.ts   var UpdateEmailChannelCommand = 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("Pinpoint", "UpdateEmailChannel", {}).n("PinpointClient", "UpdateEmailChannelCommand").f(void 0, void 0).ser(se_UpdateEmailChannelCommand).de(de_UpdateEmailChannelCommand).build() {  static {    __name(this, "UpdateEmailChannelCommand");  }}; // src/commands/UpdateEmailTemplateCommand.ts   var UpdateEmailTemplateCommand = 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("Pinpoint", "UpdateEmailTemplate", {}).n("PinpointClient", "UpdateEmailTemplateCommand").f(void 0, void 0).ser(se_UpdateEmailTemplateCommand).de(de_UpdateEmailTemplateCommand).build() {  static {    __name(this, "UpdateEmailTemplateCommand");  }}; // src/commands/UpdateEndpointCommand.ts   var UpdateEndpointCommand = 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("Pinpoint", "UpdateEndpoint", {}).n("PinpointClient", "UpdateEndpointCommand").f(void 0, void 0).ser(se_UpdateEndpointCommand).de(de_UpdateEndpointCommand).build() {  static {    __name(this, "UpdateEndpointCommand");  }}; // src/commands/UpdateEndpointsBatchCommand.ts   var UpdateEndpointsBatchCommand = 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("Pinpoint", "UpdateEndpointsBatch", {}).n("PinpointClient", "UpdateEndpointsBatchCommand").f(void 0, void 0).ser(se_UpdateEndpointsBatchCommand).de(de_UpdateEndpointsBatchCommand).build() {  static {    __name(this, "UpdateEndpointsBatchCommand");  }}; // src/commands/UpdateGcmChannelCommand.ts   var UpdateGcmChannelCommand = 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("Pinpoint", "UpdateGcmChannel", {}).n("PinpointClient", "UpdateGcmChannelCommand").f(void 0, void 0).ser(se_UpdateGcmChannelCommand).de(de_UpdateGcmChannelCommand).build() {  static {    __name(this, "UpdateGcmChannelCommand");  }}; // src/commands/UpdateInAppTemplateCommand.ts   var UpdateInAppTemplateCommand = 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("Pinpoint", "UpdateInAppTemplate", {}).n("PinpointClient", "UpdateInAppTemplateCommand").f(void 0, void 0).ser(se_UpdateInAppTemplateCommand).de(de_UpdateInAppTemplateCommand).build() {  static {    __name(this, "UpdateInAppTemplateCommand");  }}; // src/commands/UpdateJourneyCommand.ts   var UpdateJourneyCommand = 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("Pinpoint", "UpdateJourney", {}).n("PinpointClient", "UpdateJourneyCommand").f(void 0, void 0).ser(se_UpdateJourneyCommand).de(de_UpdateJourneyCommand).build() {  static {    __name(this, "UpdateJourneyCommand");  }}; // src/commands/UpdateJourneyStateCommand.ts   var UpdateJourneyStateCommand = 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("Pinpoint", "UpdateJourneyState", {}).n("PinpointClient", "UpdateJourneyStateCommand").f(void 0, void 0).ser(se_UpdateJourneyStateCommand).de(de_UpdateJourneyStateCommand).build() {  static {    __name(this, "UpdateJourneyStateCommand");  }}; // src/commands/UpdatePushTemplateCommand.ts   var UpdatePushTemplateCommand = 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("Pinpoint", "UpdatePushTemplate", {}).n("PinpointClient", "UpdatePushTemplateCommand").f(void 0, void 0).ser(se_UpdatePushTemplateCommand).de(de_UpdatePushTemplateCommand).build() {  static {    __name(this, "UpdatePushTemplateCommand");  }}; // src/commands/UpdateRecommenderConfigurationCommand.ts   var UpdateRecommenderConfigurationCommand = 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("Pinpoint", "UpdateRecommenderConfiguration", {}).n("PinpointClient", "UpdateRecommenderConfigurationCommand").f(void 0, void 0).ser(se_UpdateRecommenderConfigurationCommand).de(de_UpdateRecommenderConfigurationCommand).build() {  static {    __name(this, "UpdateRecommenderConfigurationCommand");  }}; // src/commands/UpdateSegmentCommand.ts   var UpdateSegmentCommand = 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("Pinpoint", "UpdateSegment", {}).n("PinpointClient", "UpdateSegmentCommand").f(void 0, void 0).ser(se_UpdateSegmentCommand).de(de_UpdateSegmentCommand).build() {  static {    __name(this, "UpdateSegmentCommand");  }}; // src/commands/UpdateSmsChannelCommand.ts   var UpdateSmsChannelCommand = 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("Pinpoint", "UpdateSmsChannel", {}).n("PinpointClient", "UpdateSmsChannelCommand").f(void 0, void 0).ser(se_UpdateSmsChannelCommand).de(de_UpdateSmsChannelCommand).build() {  static {    __name(this, "UpdateSmsChannelCommand");  }}; // src/commands/UpdateSmsTemplateCommand.ts   var UpdateSmsTemplateCommand = 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("Pinpoint", "UpdateSmsTemplate", {}).n("PinpointClient", "UpdateSmsTemplateCommand").f(void 0, void 0).ser(se_UpdateSmsTemplateCommand).de(de_UpdateSmsTemplateCommand).build() {  static {    __name(this, "UpdateSmsTemplateCommand");  }}; // src/commands/UpdateTemplateActiveVersionCommand.ts   var UpdateTemplateActiveVersionCommand = 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("Pinpoint", "UpdateTemplateActiveVersion", {}).n("PinpointClient", "UpdateTemplateActiveVersionCommand").f(void 0, void 0).ser(se_UpdateTemplateActiveVersionCommand).de(de_UpdateTemplateActiveVersionCommand).build() {  static {    __name(this, "UpdateTemplateActiveVersionCommand");  }}; // src/commands/UpdateVoiceChannelCommand.ts   var UpdateVoiceChannelCommand = 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("Pinpoint", "UpdateVoiceChannel", {}).n("PinpointClient", "UpdateVoiceChannelCommand").f(void 0, void 0).ser(se_UpdateVoiceChannelCommand).de(de_UpdateVoiceChannelCommand).build() {  static {    __name(this, "UpdateVoiceChannelCommand");  }}; // src/commands/UpdateVoiceTemplateCommand.ts   var UpdateVoiceTemplateCommand = 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("Pinpoint", "UpdateVoiceTemplate", {}).n("PinpointClient", "UpdateVoiceTemplateCommand").f(void 0, void 0).ser(se_UpdateVoiceTemplateCommand).de(de_UpdateVoiceTemplateCommand).build() {  static {    __name(this, "UpdateVoiceTemplateCommand");  }}; // src/commands/VerifyOTPMessageCommand.ts   var VerifyOTPMessageCommand = 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("Pinpoint", "VerifyOTPMessage", {}).n("PinpointClient", "VerifyOTPMessageCommand").f(void 0, void 0).ser(se_VerifyOTPMessageCommand).de(de_VerifyOTPMessageCommand).build() {  static {    __name(this, "VerifyOTPMessageCommand");  }}; // src/Pinpoint.tsvar commands = {  CreateAppCommand,  CreateCampaignCommand,  CreateEmailTemplateCommand,  CreateExportJobCommand,  CreateImportJobCommand,  CreateInAppTemplateCommand,  CreateJourneyCommand,  CreatePushTemplateCommand,  CreateRecommenderConfigurationCommand,  CreateSegmentCommand,  CreateSmsTemplateCommand,  CreateVoiceTemplateCommand,  DeleteAdmChannelCommand,  DeleteApnsChannelCommand,  DeleteApnsSandboxChannelCommand,  DeleteApnsVoipChannelCommand,  DeleteApnsVoipSandboxChannelCommand,  DeleteAppCommand,  DeleteBaiduChannelCommand,  DeleteCampaignCommand,  DeleteEmailChannelCommand,  DeleteEmailTemplateCommand,  DeleteEndpointCommand,  DeleteEventStreamCommand,  DeleteGcmChannelCommand,  DeleteInAppTemplateCommand,  DeleteJourneyCommand,  DeletePushTemplateCommand,  DeleteRecommenderConfigurationCommand,  DeleteSegmentCommand,  DeleteSmsChannelCommand,  DeleteSmsTemplateCommand,  DeleteUserEndpointsCommand,  DeleteVoiceChannelCommand,  DeleteVoiceTemplateCommand,  GetAdmChannelCommand,  GetApnsChannelCommand,  GetApnsSandboxChannelCommand,  GetApnsVoipChannelCommand,  GetApnsVoipSandboxChannelCommand,  GetAppCommand,  GetApplicationDateRangeKpiCommand,  GetApplicationSettingsCommand,  GetAppsCommand,  GetBaiduChannelCommand,  GetCampaignCommand,  GetCampaignActivitiesCommand,  GetCampaignDateRangeKpiCommand,  GetCampaignsCommand,  GetCampaignVersionCommand,  GetCampaignVersionsCommand,  GetChannelsCommand,  GetEmailChannelCommand,  GetEmailTemplateCommand,  GetEndpointCommand,  GetEventStreamCommand,  GetExportJobCommand,  GetExportJobsCommand,  GetGcmChannelCommand,  GetImportJobCommand,  GetImportJobsCommand,  GetInAppMessagesCommand,  GetInAppTemplateCommand,  GetJourneyCommand,  GetJourneyDateRangeKpiCommand,  GetJourneyExecutionActivityMetricsCommand,  GetJourneyExecutionMetricsCommand,  GetJourneyRunExecutionActivityMetricsCommand,  GetJourneyRunExecutionMetricsCommand,  GetJourneyRunsCommand,  GetPushTemplateCommand,  GetRecommenderConfigurationCommand,  GetRecommenderConfigurationsCommand,  GetSegmentCommand,  GetSegmentExportJobsCommand,  GetSegmentImportJobsCommand,  GetSegmentsCommand,  GetSegmentVersionCommand,  GetSegmentVersionsCommand,  GetSmsChannelCommand,  GetSmsTemplateCommand,  GetUserEndpointsCommand,  GetVoiceChannelCommand,  GetVoiceTemplateCommand,  ListJourneysCommand,  ListTagsForResourceCommand,  ListTemplatesCommand,  ListTemplateVersionsCommand,  PhoneNumberValidateCommand,  PutEventsCommand,  PutEventStreamCommand,  RemoveAttributesCommand,  SendMessagesCommand,  SendOTPMessageCommand,  SendUsersMessagesCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateAdmChannelCommand,  UpdateApnsChannelCommand,  UpdateApnsSandboxChannelCommand,  UpdateApnsVoipChannelCommand,  UpdateApnsVoipSandboxChannelCommand,  UpdateApplicationSettingsCommand,  UpdateBaiduChannelCommand,  UpdateCampaignCommand,  UpdateEmailChannelCommand,  UpdateEmailTemplateCommand,  UpdateEndpointCommand,  UpdateEndpointsBatchCommand,  UpdateGcmChannelCommand,  UpdateInAppTemplateCommand,  UpdateJourneyCommand,  UpdateJourneyStateCommand,  UpdatePushTemplateCommand,  UpdateRecommenderConfigurationCommand,  UpdateSegmentCommand,  UpdateSmsChannelCommand,  UpdateSmsTemplateCommand,  UpdateTemplateActiveVersionCommand,  UpdateVoiceChannelCommand,  UpdateVoiceTemplateCommand,  VerifyOTPMessageCommand};var Pinpoint = class extends PinpointClient {  static {    __name(this, "Pinpoint");  }};(0, import_smithy_client.createAggregatedClient)(commands, Pinpoint); // src/models/models_1.tsvar JourneyRunStatus = {  CANCELLED: "CANCELLED",  COMPLETED: "COMPLETED",  RUNNING: "RUNNING",  SCHEDULED: "SCHEDULED"};// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  PinpointServiceException,  __Client,  PinpointClient,  Pinpoint,  $Command,  CreateAppCommand,  CreateCampaignCommand,  CreateEmailTemplateCommand,  CreateExportJobCommand,  CreateImportJobCommand,  CreateInAppTemplateCommand,  CreateJourneyCommand,  CreatePushTemplateCommand,  CreateRecommenderConfigurationCommand,  CreateSegmentCommand,  CreateSmsTemplateCommand,  CreateVoiceTemplateCommand,  DeleteAdmChannelCommand,  DeleteApnsChannelCommand,  DeleteApnsSandboxChannelCommand,  DeleteApnsVoipChannelCommand,  DeleteApnsVoipSandboxChannelCommand,  DeleteAppCommand,  DeleteBaiduChannelCommand,  DeleteCampaignCommand,  DeleteEmailChannelCommand,  DeleteEmailTemplateCommand,  DeleteEndpointCommand,  DeleteEventStreamCommand,  DeleteGcmChannelCommand,  DeleteInAppTemplateCommand,  DeleteJourneyCommand,  DeletePushTemplateCommand,  DeleteRecommenderConfigurationCommand,  DeleteSegmentCommand,  DeleteSmsChannelCommand,  DeleteSmsTemplateCommand,  DeleteUserEndpointsCommand,  DeleteVoiceChannelCommand,  DeleteVoiceTemplateCommand,  GetAdmChannelCommand,  GetApnsChannelCommand,  GetApnsSandboxChannelCommand,  GetApnsVoipChannelCommand,  GetApnsVoipSandboxChannelCommand,  GetAppCommand,  GetApplicationDateRangeKpiCommand,  GetApplicationSettingsCommand,  GetAppsCommand,  GetBaiduChannelCommand,  GetCampaignActivitiesCommand,  GetCampaignCommand,  GetCampaignDateRangeKpiCommand,  GetCampaignVersionCommand,  GetCampaignVersionsCommand,  GetCampaignsCommand,  GetChannelsCommand,  GetEmailChannelCommand,  GetEmailTemplateCommand,  GetEndpointCommand,  GetEventStreamCommand,  GetExportJobCommand,  GetExportJobsCommand,  GetGcmChannelCommand,  GetImportJobCommand,  GetImportJobsCommand,  GetInAppMessagesCommand,  GetInAppTemplateCommand,  GetJourneyCommand,  GetJourneyDateRangeKpiCommand,  GetJourneyExecutionActivityMetricsCommand,  GetJourneyExecutionMetricsCommand,  GetJourneyRunExecutionActivityMetricsCommand,  GetJourneyRunExecutionMetricsCommand,  GetJourneyRunsCommand,  GetPushTemplateCommand,  GetRecommenderConfigurationCommand,  GetRecommenderConfigurationsCommand,  GetSegmentCommand,  GetSegmentExportJobsCommand,  GetSegmentImportJobsCommand,  GetSegmentVersionCommand,  GetSegmentVersionsCommand,  GetSegmentsCommand,  GetSmsChannelCommand,  GetSmsTemplateCommand,  GetUserEndpointsCommand,  GetVoiceChannelCommand,  GetVoiceTemplateCommand,  ListJourneysCommand,  ListTagsForResourceCommand,  ListTemplateVersionsCommand,  ListTemplatesCommand,  PhoneNumberValidateCommand,  PutEventStreamCommand,  PutEventsCommand,  RemoveAttributesCommand,  SendMessagesCommand,  SendOTPMessageCommand,  SendUsersMessagesCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateAdmChannelCommand,  UpdateApnsChannelCommand,  UpdateApnsSandboxChannelCommand,  UpdateApnsVoipChannelCommand,  UpdateApnsVoipSandboxChannelCommand,  UpdateApplicationSettingsCommand,  UpdateBaiduChannelCommand,  UpdateCampaignCommand,  UpdateEmailChannelCommand,  UpdateEmailTemplateCommand,  UpdateEndpointCommand,  UpdateEndpointsBatchCommand,  UpdateGcmChannelCommand,  UpdateInAppTemplateCommand,  UpdateJourneyCommand,  UpdateJourneyStateCommand,  UpdatePushTemplateCommand,  UpdateRecommenderConfigurationCommand,  UpdateSegmentCommand,  UpdateSmsChannelCommand,  UpdateSmsTemplateCommand,  UpdateTemplateActiveVersionCommand,  UpdateVoiceChannelCommand,  UpdateVoiceTemplateCommand,  VerifyOTPMessageCommand,  __EndpointTypesElement,  __TimezoneEstimationMethodsElement,  Action,  AttributeType,  DimensionType,  Duration,  RecencyType,  Operator,  MessageType,  ChannelType,  Alignment,  Mode,  BadRequestException,  ButtonAction,  FilterType,  Layout,  Frequency,  CampaignStatus,  ConflictException,  ForbiddenException,  InternalServerErrorException,  MethodNotAllowedException,  NotFoundException,  PayloadTooLargeException,  TooManyRequestsException,  JobStatus,  Format,  DayOfWeek,  State,  SourceType,  Type,  Include,  SegmentType,  DeliveryStatus,  TemplateType,  JourneyRunStatus});