File Explorer

/var/runtime/node_modules/@aws-sdk/client-amplifyuibuilder/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.js110 KB · 2688 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, {  AmplifyUIBuilder: () => AmplifyUIBuilder,  AmplifyUIBuilderClient: () => AmplifyUIBuilderClient,  AmplifyUIBuilderServiceException: () => AmplifyUIBuilderServiceException,  ApiConfiguration: () => ApiConfiguration,  CodegenGenericDataFieldDataType: () => CodegenGenericDataFieldDataType,  CodegenJobGenericDataSourceType: () => CodegenJobGenericDataSourceType,  CodegenJobRenderConfig: () => CodegenJobRenderConfig,  CodegenJobStatus: () => CodegenJobStatus,  CreateComponentCommand: () => CreateComponentCommand,  CreateFormCommand: () => CreateFormCommand,  CreateThemeCommand: () => CreateThemeCommand,  DeleteComponentCommand: () => DeleteComponentCommand,  DeleteFormCommand: () => DeleteFormCommand,  DeleteThemeCommand: () => DeleteThemeCommand,  ExchangeCodeForTokenCommand: () => ExchangeCodeForTokenCommand,  ExchangeCodeForTokenRequestBodyFilterSensitiveLog: () => ExchangeCodeForTokenRequestBodyFilterSensitiveLog,  ExchangeCodeForTokenRequestFilterSensitiveLog: () => ExchangeCodeForTokenRequestFilterSensitiveLog,  ExchangeCodeForTokenResponseFilterSensitiveLog: () => ExchangeCodeForTokenResponseFilterSensitiveLog,  ExportComponentsCommand: () => ExportComponentsCommand,  ExportFormsCommand: () => ExportFormsCommand,  ExportThemesCommand: () => ExportThemesCommand,  FieldPosition: () => FieldPosition,  FixedPosition: () => FixedPosition,  FormActionType: () => FormActionType,  FormButtonsPosition: () => FormButtonsPosition,  FormDataSourceType: () => FormDataSourceType,  FormStyleConfig: () => FormStyleConfig,  GenericDataRelationshipType: () => GenericDataRelationshipType,  GetCodegenJobCommand: () => GetCodegenJobCommand,  GetComponentCommand: () => GetComponentCommand,  GetFormCommand: () => GetFormCommand,  GetMetadataCommand: () => GetMetadataCommand,  GetThemeCommand: () => GetThemeCommand,  InternalServerException: () => InternalServerException,  InvalidParameterException: () => InvalidParameterException,  JSModule: () => JSModule,  JSScript: () => JSScript,  JSTarget: () => JSTarget,  LabelDecorator: () => LabelDecorator,  ListCodegenJobsCommand: () => ListCodegenJobsCommand,  ListComponentsCommand: () => ListComponentsCommand,  ListFormsCommand: () => ListFormsCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  ListThemesCommand: () => ListThemesCommand,  PutMetadataFlagCommand: () => PutMetadataFlagCommand,  RefreshTokenCommand: () => RefreshTokenCommand,  RefreshTokenRequestBodyFilterSensitiveLog: () => RefreshTokenRequestBodyFilterSensitiveLog,  RefreshTokenRequestFilterSensitiveLog: () => RefreshTokenRequestFilterSensitiveLog,  RefreshTokenResponseFilterSensitiveLog: () => RefreshTokenResponseFilterSensitiveLog,  ResourceConflictException: () => ResourceConflictException,  ResourceNotFoundException: () => ResourceNotFoundException,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  SortDirection: () => SortDirection,  StartCodegenJobCommand: () => StartCodegenJobCommand,  StorageAccessLevel: () => StorageAccessLevel,  TagResourceCommand: () => TagResourceCommand,  ThrottlingException: () => ThrottlingException,  TokenProviders: () => TokenProviders,  UnauthorizedException: () => UnauthorizedException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateComponentCommand: () => UpdateComponentCommand,  UpdateFormCommand: () => UpdateFormCommand,  UpdateThemeCommand: () => UpdateThemeCommand,  __Client: () => import_smithy_client.Client,  paginateExportComponents: () => paginateExportComponents,  paginateExportForms: () => paginateExportForms,  paginateExportThemes: () => paginateExportThemes,  paginateListCodegenJobs: () => paginateListCodegenJobs,  paginateListComponents: () => paginateListComponents,  paginateListForms: () => paginateListForms,  paginateListThemes: () => paginateListThemes});module.exports = __toCommonJS(index_exports); // src/AmplifyUIBuilderClient.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: "amplifyuibuilder"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/AmplifyUIBuilderClient.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/AmplifyUIBuilderClient.tsvar AmplifyUIBuilderClient = class extends import_smithy_client.Client {  static {    __name(this, "AmplifyUIBuilderClient");  }  /**   * The resolved configuration of AmplifyUIBuilderClient class. This is resolved and normalized from the {@link AmplifyUIBuilderClientConfig | 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.defaultAmplifyUIBuilderHttpAuthSchemeParametersProvider,        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/AmplifyUIBuilder.ts  // src/commands/CreateComponentCommand.ts var import_middleware_serde = require("@smithy/middleware-serde");  // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core");  var import_uuid = require("uuid"); // src/models/AmplifyUIBuilderServiceException.ts var AmplifyUIBuilderServiceException = class _AmplifyUIBuilderServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "AmplifyUIBuilderServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _AmplifyUIBuilderServiceException.prototype);  }}; // src/models/models_0.ts var CodegenJobGenericDataSourceType = {  DATA_STORE: "DataStore"};var CodegenGenericDataFieldDataType = {  AWS_DATE: "AWSDate",  AWS_DATE_TIME: "AWSDateTime",  AWS_EMAIL: "AWSEmail",  AWS_IP_ADDRESS: "AWSIPAddress",  AWS_JSON: "AWSJSON",  AWS_PHONE: "AWSPhone",  AWS_TIME: "AWSTime",  AWS_TIMESTAMP: "AWSTimestamp",  AWS_URL: "AWSURL",  BOOLEAN: "Boolean",  ENUM: "Enum",  FLOAT: "Float",  ID: "ID",  INT: "Int",  MODEL: "Model",  NON_MODEL: "NonModel",  STRING: "String"};var GenericDataRelationshipType = {  BELONGS_TO: "BELONGS_TO",  HAS_MANY: "HAS_MANY",  HAS_ONE: "HAS_ONE"};var ApiConfiguration;((ApiConfiguration3) => {  ApiConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.graphQLConfig !== void 0) return visitor.graphQLConfig(value.graphQLConfig);    if (value.dataStoreConfig !== void 0) return visitor.dataStoreConfig(value.dataStoreConfig);    if (value.noApiConfig !== void 0) return visitor.noApiConfig(value.noApiConfig);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(ApiConfiguration || (ApiConfiguration = {}));var JSModule = {  ES2020: "es2020",  ESNEXT: "esnext"};var JSScript = {  JS: "js",  JSX: "jsx",  TSX: "tsx"};var JSTarget = {  ES2015: "es2015",  ES2020: "es2020"};var CodegenJobRenderConfig;((CodegenJobRenderConfig3) => {  CodegenJobRenderConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.react !== void 0) return visitor.react(value.react);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(CodegenJobRenderConfig || (CodegenJobRenderConfig = {}));var CodegenJobStatus = {  FAILED: "failed",  IN_PROGRESS: "in_progress",  SUCCEEDED: "succeeded"};var InternalServerException = class _InternalServerException extends AmplifyUIBuilderServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);  }};var InvalidParameterException = class _InvalidParameterException extends AmplifyUIBuilderServiceException {  static {    __name(this, "InvalidParameterException");  }  name = "InvalidParameterException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "InvalidParameterException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _InvalidParameterException.prototype);  }};var ResourceNotFoundException = class _ResourceNotFoundException extends AmplifyUIBuilderServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);  }};var ThrottlingException = class _ThrottlingException extends AmplifyUIBuilderServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);  }};var SortDirection = {  ASC: "ASC",  DESC: "DESC"};var ResourceConflictException = class _ResourceConflictException extends AmplifyUIBuilderServiceException {  static {    __name(this, "ResourceConflictException");  }  name = "ResourceConflictException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceConflictException.prototype);  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends AmplifyUIBuilderServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);  }};var TokenProviders = {  /**   * The figma token provider.   */  FIGMA: "figma"};var FixedPosition = {  FIRST: "first"};var FieldPosition;((FieldPosition3) => {  FieldPosition3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.fixed !== void 0) return visitor.fixed(value.fixed);    if (value.rightOf !== void 0) return visitor.rightOf(value.rightOf);    if (value.below !== void 0) return visitor.below(value.below);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(FieldPosition || (FieldPosition = {}));var FormButtonsPosition = {  BOTTOM: "bottom",  TOP: "top",  TOP_AND_BOTTOM: "top_and_bottom"};var FormDataSourceType = {  /**   * Will use passed in hooks to use when creating a form from scratch   */  CUSTOM: "Custom",  /**   * Will use a provided Amplify DataStore enabled API   */  DATASTORE: "DataStore"};var StorageAccessLevel = {  PRIVATE: "private",  PROTECTED: "protected",  PUBLIC: "public"};var FormActionType = {  CREATE: "create",  UPDATE: "update"};var LabelDecorator = {  NONE: "none",  OPTIONAL: "optional",  REQUIRED: "required"};var FormStyleConfig;((FormStyleConfig3) => {  FormStyleConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {    if (value.tokenReference !== void 0) return visitor.tokenReference(value.tokenReference);    if (value.value !== void 0) return visitor.value(value.value);    return visitor._(value.$unknown[0], value.$unknown[1]);  }, "visit");})(FormStyleConfig || (FormStyleConfig = {}));var UnauthorizedException = class _UnauthorizedException extends AmplifyUIBuilderServiceException {  static {    __name(this, "UnauthorizedException");  }  name = "UnauthorizedException";  $fault = "client";  /**   * @internal   */  constructor(opts) {    super({      name: "UnauthorizedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _UnauthorizedException.prototype);  }};var ExchangeCodeForTokenRequestBodyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.code && { code: import_smithy_client.SENSITIVE_STRING },  ...obj.clientId && { clientId: import_smithy_client.SENSITIVE_STRING }}), "ExchangeCodeForTokenRequestBodyFilterSensitiveLog");var ExchangeCodeForTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.request && { request: ExchangeCodeForTokenRequestBodyFilterSensitiveLog(obj.request) }}), "ExchangeCodeForTokenRequestFilterSensitiveLog");var ExchangeCodeForTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING },  ...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING }}), "ExchangeCodeForTokenResponseFilterSensitiveLog");var RefreshTokenRequestBodyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.token && { token: import_smithy_client.SENSITIVE_STRING },  ...obj.clientId && { clientId: import_smithy_client.SENSITIVE_STRING }}), "RefreshTokenRequestBodyFilterSensitiveLog");var RefreshTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.refreshTokenBody && { refreshTokenBody: RefreshTokenRequestBodyFilterSensitiveLog(obj.refreshTokenBody) }}), "RefreshTokenRequestFilterSensitiveLog");var RefreshTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj,  ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }}), "RefreshTokenResponseFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_CreateComponentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/components");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.componentToCreate !== void 0) {    body = se_CreateComponentData(input.componentToCreate, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_CreateComponentCommand");var se_CreateFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/forms");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.formToCreate !== void 0) {    body = se_CreateFormData(input.formToCreate, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_CreateFormCommand");var se_CreateThemeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/themes");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.themeToCreate !== void 0) {    body = se_CreateThemeData(input.themeToCreate, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_CreateThemeCommand");var se_DeleteComponentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/components/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteComponentCommand");var se_DeleteFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/forms/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteFormCommand");var se_DeleteThemeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/themes/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteThemeCommand");var se_ExchangeCodeForTokenCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tokens/{provider}");  b.p("provider", () => input.provider, "{provider}", false);  let body;  if (input.request !== void 0) {    body = (0, import_smithy_client._json)(input.request);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_ExchangeCodeForTokenCommand");var se_ExportComponentsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/export/app/{appId}/environment/{environmentName}/components");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ExportComponentsCommand");var se_ExportFormsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/export/app/{appId}/environment/{environmentName}/forms");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ExportFormsCommand");var se_ExportThemesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/export/app/{appId}/environment/{environmentName}/themes");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ExportThemesCommand");var se_GetCodegenJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/codegen-jobs/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetCodegenJobCommand");var se_GetComponentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/components/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetComponentCommand");var se_GetFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/forms/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetFormCommand");var se_GetMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/metadata");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetMetadataCommand");var se_GetThemeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/themes/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_GetThemeCommand");var se_ListCodegenJobsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/codegen-jobs");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListCodegenJobsCommand");var se_ListComponentsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/components");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListComponentsCommand");var se_ListFormsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/forms");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListFormsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/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_ListThemesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/app/{appId}/environment/{environmentName}/themes");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_nT]: [, input[_nT]],    [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListThemesCommand");var se_PutMetadataFlagCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/metadata/features/{featureName}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("featureName", () => input.featureName, "{featureName}", false);  let body;  if (input.body !== void 0) {    body = (0, import_smithy_client._json)(input.body);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PUT").h(headers).b(body);  return b.build();}, "se_PutMetadataFlagCommand");var se_RefreshTokenCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tokens/{provider}/refresh");  b.p("provider", () => input.provider, "{provider}", false);  let body;  if (input.refreshTokenBody !== void 0) {    body = (0, import_smithy_client._json)(input.refreshTokenBody);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).b(body);  return b.build();}, "se_RefreshTokenCommand");var se_StartCodegenJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/codegen-jobs");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.codegenJobToCreate !== void 0) {    body = (0, import_smithy_client._json)(input.codegenJobToCreate);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("POST").h(headers).q(query).b(body);  return b.build();}, "se_StartCodegenJobCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/tags/{resourceArn}");  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_TagResourceCommand");var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/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_UpdateComponentCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/components/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.updatedComponent !== void 0) {    body = se_UpdateComponentData(input.updatedComponent, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PATCH").h(headers).q(query).b(body);  return b.build();}, "se_UpdateComponentCommand");var se_UpdateFormCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/forms/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.updatedForm !== void 0) {    body = se_UpdateFormData(input.updatedForm, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PATCH").h(headers).q(query).b(body);  return b.build();}, "se_UpdateFormCommand");var se_UpdateThemeCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/app/{appId}/environment/{environmentName}/themes/{id}");  b.p("appId", () => input.appId, "{appId}", false);  b.p("environmentName", () => input.environmentName, "{environmentName}", false);  b.p("id", () => input.id, "{id}", false);  const query = (0, import_smithy_client.map)({    [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]  });  let body;  if (input.updatedTheme !== void 0) {    body = se_UpdateThemeData(input.updatedTheme, context);  }  if (body === void 0) {    body = {};  }  body = JSON.stringify(body);  b.m("PATCH").h(headers).q(query).b(body);  return b.build();}, "se_UpdateThemeCommand");var de_CreateComponentCommand = /* @__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.entity = de_Component(data, context);  return contents;}, "de_CreateComponentCommand");var de_CreateFormCommand = /* @__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.entity = de_Form(data, context);  return contents;}, "de_CreateFormCommand");var de_CreateThemeCommand = /* @__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.entity = de_Theme(data, context);  return contents;}, "de_CreateThemeCommand");var de_DeleteComponentCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteComponentCommand");var de_DeleteFormCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteFormCommand");var de_DeleteThemeCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteThemeCommand");var de_ExchangeCodeForTokenCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    accessToken: import_smithy_client.expectString,    expiresIn: import_smithy_client.expectInt32,    refreshToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ExchangeCodeForTokenCommand");var de_ExportComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: /* @__PURE__ */ __name((_) => de_ComponentList(_, context), "entities"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ExportComponentsCommand");var de_ExportFormsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: /* @__PURE__ */ __name((_) => de_FormList(_, context), "entities"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ExportFormsCommand");var de_ExportThemesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: /* @__PURE__ */ __name((_) => de_ThemeList(_, context), "entities"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ExportThemesCommand");var de_GetCodegenJobCommand = /* @__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.job = de_CodegenJob(data, context);  return contents;}, "de_GetCodegenJobCommand");var de_GetComponentCommand = /* @__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.component = de_Component(data, context);  return contents;}, "de_GetComponentCommand");var de_GetFormCommand = /* @__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.form = de_Form(data, context);  return contents;}, "de_GetFormCommand");var de_GetMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    features: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_GetMetadataCommand");var de_GetThemeCommand = /* @__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.theme = de_Theme(data, context);  return contents;}, "de_GetThemeCommand");var de_ListCodegenJobsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: /* @__PURE__ */ __name((_) => de_CodegenJobSummaryList(_, context), "entities"),    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListCodegenJobsCommand");var de_ListComponentsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListComponentsCommand");var de_ListFormsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListFormsCommand");var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    tags: import_smithy_client._json  });  Object.assign(contents, doc);  return contents;}, "de_ListTagsForResourceCommand");var de_ListThemesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    entities: import_smithy_client._json,    nextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListThemesCommand");var de_PutMetadataFlagCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_PutMetadataFlagCommand");var de_RefreshTokenCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    accessToken: import_smithy_client.expectString,    expiresIn: import_smithy_client.expectInt32  });  Object.assign(contents, doc);  return contents;}, "de_RefreshTokenCommand");var de_StartCodegenJobCommand = /* @__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.entity = de_CodegenJob(data, context);  return contents;}, "de_StartCodegenJobCommand");var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_TagResourceCommand");var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_UntagResourceCommand");var de_UpdateComponentCommand = /* @__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.entity = de_Component(data, context);  return contents;}, "de_UpdateComponentCommand");var de_UpdateFormCommand = /* @__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.entity = de_Form(data, context);  return contents;}, "de_UpdateFormCommand");var de_UpdateThemeCommand = /* @__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.entity = de_Theme(data, context);  return contents;}, "de_UpdateThemeCommand");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 "InternalServerException":    case "com.amazonaws.amplifyuibuilder#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "InvalidParameterException":    case "com.amazonaws.amplifyuibuilder#InvalidParameterException":      throw await de_InvalidParameterExceptionRes(parsedOutput, context);    case "ResourceConflictException":    case "com.amazonaws.amplifyuibuilder#ResourceConflictException":      throw await de_ResourceConflictExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.amplifyuibuilder#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.amplifyuibuilder#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.amplifyuibuilder#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "UnauthorizedException":    case "com.amazonaws.amplifyuibuilder#UnauthorizedException":      throw await de_UnauthorizedExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(AmplifyUIBuilderServiceException);var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InternalServerException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServerExceptionRes");var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new InvalidParameterException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InvalidParameterExceptionRes");var de_ResourceConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceConflictExceptionRes");var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ResourceNotFoundException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ResourceNotFoundExceptionRes");var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ServiceQuotaExceededException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ServiceQuotaExceededExceptionRes");var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ThrottlingException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ThrottlingExceptionRes");var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    message: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new UnauthorizedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_UnauthorizedExceptionRes");var se_ActionParameters = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    anchor: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "anchor"),    fields: /* @__PURE__ */ __name((_) => se_ComponentProperties(_, context), "fields"),    global: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "global"),    id: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "id"),    model: [],    state: /* @__PURE__ */ __name((_) => se_MutationActionSetStateParameter(_, context), "state"),    target: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "target"),    type: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "type"),    url: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "url")  });}, "se_ActionParameters");var se_ComponentBindingProperties = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_ComponentBindingPropertiesValue(value, context);    return acc;  }, {});}, "se_ComponentBindingProperties");var se_ComponentBindingPropertiesValue = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bindingProperties: /* @__PURE__ */ __name((_) => se_ComponentBindingPropertiesValueProperties(_, context), "bindingProperties"),    defaultValue: [],    type: []  });}, "se_ComponentBindingPropertiesValue");var se_ComponentBindingPropertiesValueProperties = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bucket: [],    defaultValue: [],    field: [],    key: [],    model: [],    predicates: /* @__PURE__ */ __name((_) => se_PredicateList(_, context), "predicates"),    slotName: [],    userAttribute: []  });}, "se_ComponentBindingPropertiesValueProperties");var se_ComponentChild = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    children: /* @__PURE__ */ __name((_) => se_ComponentChildList(_, context), "children"),    componentType: [],    events: /* @__PURE__ */ __name((_) => se_ComponentEvents(_, context), "events"),    name: [],    properties: /* @__PURE__ */ __name((_) => se_ComponentProperties(_, context), "properties"),    sourceId: []  });}, "se_ComponentChild");var se_ComponentChildList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ComponentChild(entry, context);  });}, "se_ComponentChildList");var se_ComponentCollectionProperties = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_ComponentDataConfiguration(value, context);    return acc;  }, {});}, "se_ComponentCollectionProperties");var se_ComponentConditionProperty = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    else: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "else"),    field: [],    operand: [],    operandType: [],    operator: [],    property: [],    then: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "then")  });}, "se_ComponentConditionProperty");var se_ComponentDataConfiguration = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    identifiers: import_smithy_client._json,    model: [],    predicate: /* @__PURE__ */ __name((_) => se_Predicate(_, context), "predicate"),    sort: import_smithy_client._json  });}, "se_ComponentDataConfiguration");var se_ComponentEvent = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    action: [],    bindingEvent: [],    parameters: /* @__PURE__ */ __name((_) => se_ActionParameters(_, context), "parameters")  });}, "se_ComponentEvent");var se_ComponentEvents = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_ComponentEvent(value, context);    return acc;  }, {});}, "se_ComponentEvents");var se_ComponentProperties = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_ComponentProperty(value, context);    return acc;  }, {});}, "se_ComponentProperties");var se_ComponentProperty = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bindingProperties: import_smithy_client._json,    bindings: import_smithy_client._json,    collectionBindingProperties: import_smithy_client._json,    componentName: [],    concat: /* @__PURE__ */ __name((_) => se_ComponentPropertyList(_, context), "concat"),    condition: /* @__PURE__ */ __name((_) => se_ComponentConditionProperty(_, context), "condition"),    configured: [],    defaultValue: [],    event: [],    importedValue: [],    model: [],    property: [],    type: [],    userAttribute: [],    value: []  });}, "se_ComponentProperty");var se_ComponentPropertyList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ComponentProperty(entry, context);  });}, "se_ComponentPropertyList");var se_CreateComponentData = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bindingProperties: /* @__PURE__ */ __name((_) => se_ComponentBindingProperties(_, context), "bindingProperties"),    children: /* @__PURE__ */ __name((_) => se_ComponentChildList(_, context), "children"),    collectionProperties: /* @__PURE__ */ __name((_) => se_ComponentCollectionProperties(_, context), "collectionProperties"),    componentType: [],    events: /* @__PURE__ */ __name((_) => se_ComponentEvents(_, context), "events"),    name: [],    overrides: import_smithy_client._json,    properties: /* @__PURE__ */ __name((_) => se_ComponentProperties(_, context), "properties"),    schemaVersion: [],    sourceId: [],    tags: import_smithy_client._json,    variants: import_smithy_client._json  });}, "se_CreateComponentData");var se_CreateFormData = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    cta: import_smithy_client._json,    dataType: import_smithy_client._json,    fields: /* @__PURE__ */ __name((_) => se_FieldsMap(_, context), "fields"),    formActionType: [],    labelDecorator: [],    name: [],    schemaVersion: [],    sectionalElements: import_smithy_client._json,    style: import_smithy_client._json,    tags: import_smithy_client._json  });}, "se_CreateFormData");var se_CreateThemeData = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    name: [],    overrides: /* @__PURE__ */ __name((_) => se_ThemeValuesList(_, context), "overrides"),    tags: import_smithy_client._json,    values: /* @__PURE__ */ __name((_) => se_ThemeValuesList(_, context), "values")  });}, "se_CreateThemeData");var se_FieldConfig = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    excluded: [],    inputType: /* @__PURE__ */ __name((_) => se_FieldInputConfig(_, context), "inputType"),    label: [],    position: import_smithy_client._json,    validations: import_smithy_client._json  });}, "se_FieldConfig");var se_FieldInputConfig = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    defaultChecked: [],    defaultCountryCode: [],    defaultValue: [],    descriptiveText: [],    fileUploaderConfig: import_smithy_client._json,    isArray: [],    maxValue: import_smithy_client.serializeFloat,    minValue: import_smithy_client.serializeFloat,    name: [],    placeholder: [],    readOnly: [],    required: [],    step: import_smithy_client.serializeFloat,    type: [],    value: [],    valueMappings: /* @__PURE__ */ __name((_) => se_ValueMappings(_, context), "valueMappings")  });}, "se_FieldInputConfig");var se_FieldsMap = /* @__PURE__ */ __name((input, context) => {  return Object.entries(input).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = se_FieldConfig(value, context);    return acc;  }, {});}, "se_FieldsMap");var se_FormInputValueProperty = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bindingProperties: import_smithy_client._json,    concat: /* @__PURE__ */ __name((_) => se_FormInputValuePropertyList(_, context), "concat"),    value: []  });}, "se_FormInputValueProperty");var se_FormInputValuePropertyList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_FormInputValueProperty(entry, context);  });}, "se_FormInputValuePropertyList");var se_MutationActionSetStateParameter = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    componentName: [],    property: [],    set: /* @__PURE__ */ __name((_) => se_ComponentProperty(_, context), "set")  });}, "se_MutationActionSetStateParameter");var se_Predicate = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    and: /* @__PURE__ */ __name((_) => se_PredicateList(_, context), "and"),    field: [],    operand: [],    operandType: [],    operator: [],    or: /* @__PURE__ */ __name((_) => se_PredicateList(_, context), "or")  });}, "se_Predicate");var se_PredicateList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_Predicate(entry, context);  });}, "se_PredicateList");var se_ThemeValue = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    children: /* @__PURE__ */ __name((_) => se_ThemeValuesList(_, context), "children"),    value: []  });}, "se_ThemeValue");var se_ThemeValues = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    key: [],    value: /* @__PURE__ */ __name((_) => se_ThemeValue(_, context), "value")  });}, "se_ThemeValues");var se_ThemeValuesList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ThemeValues(entry, context);  });}, "se_ThemeValuesList");var se_UpdateComponentData = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bindingProperties: /* @__PURE__ */ __name((_) => se_ComponentBindingProperties(_, context), "bindingProperties"),    children: /* @__PURE__ */ __name((_) => se_ComponentChildList(_, context), "children"),    collectionProperties: /* @__PURE__ */ __name((_) => se_ComponentCollectionProperties(_, context), "collectionProperties"),    componentType: [],    events: /* @__PURE__ */ __name((_) => se_ComponentEvents(_, context), "events"),    id: [],    name: [],    overrides: import_smithy_client._json,    properties: /* @__PURE__ */ __name((_) => se_ComponentProperties(_, context), "properties"),    schemaVersion: [],    sourceId: [],    variants: import_smithy_client._json  });}, "se_UpdateComponentData");var se_UpdateFormData = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    cta: import_smithy_client._json,    dataType: import_smithy_client._json,    fields: /* @__PURE__ */ __name((_) => se_FieldsMap(_, context), "fields"),    formActionType: [],    labelDecorator: [],    name: [],    schemaVersion: [],    sectionalElements: import_smithy_client._json,    style: import_smithy_client._json  });}, "se_UpdateFormData");var se_UpdateThemeData = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    id: [],    name: [],    overrides: /* @__PURE__ */ __name((_) => se_ThemeValuesList(_, context), "overrides"),    values: /* @__PURE__ */ __name((_) => se_ThemeValuesList(_, context), "values")  });}, "se_UpdateThemeData");var se_ValueMapping = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    displayValue: /* @__PURE__ */ __name((_) => se_FormInputValueProperty(_, context), "displayValue"),    value: /* @__PURE__ */ __name((_) => se_FormInputValueProperty(_, context), "value")  });}, "se_ValueMapping");var se_ValueMappingList = /* @__PURE__ */ __name((input, context) => {  return input.filter((e) => e != null).map((entry) => {    return se_ValueMapping(entry, context);  });}, "se_ValueMappingList");var se_ValueMappings = /* @__PURE__ */ __name((input, context) => {  return (0, import_smithy_client.take)(input, {    bindingProperties: import_smithy_client._json,    values: /* @__PURE__ */ __name((_) => se_ValueMappingList(_, context), "values")  });}, "se_ValueMappings");var de_ActionParameters = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    anchor: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "anchor"),    fields: /* @__PURE__ */ __name((_) => de_ComponentProperties(_, context), "fields"),    global: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "global"),    id: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "id"),    model: import_smithy_client.expectString,    state: /* @__PURE__ */ __name((_) => de_MutationActionSetStateParameter(_, context), "state"),    target: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "target"),    type: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "type"),    url: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "url")  });}, "de_ActionParameters");var de_CodegenJob = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appId: import_smithy_client.expectString,    asset: import_smithy_client._json,    autoGenerateForms: import_smithy_client.expectBoolean,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    dependencies: import_smithy_client._json,    environmentName: import_smithy_client.expectString,    features: import_smithy_client._json,    genericDataSchema: import_smithy_client._json,    id: import_smithy_client.expectString,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),    renderConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "renderConfig"),    status: import_smithy_client.expectString,    statusMessage: import_smithy_client.expectString,    tags: import_smithy_client._json  });}, "de_CodegenJob");var de_CodegenJobSummary = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appId: import_smithy_client.expectString,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    environmentName: import_smithy_client.expectString,    id: import_smithy_client.expectString,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt")  });}, "de_CodegenJobSummary");var de_CodegenJobSummaryList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_CodegenJobSummary(entry, context);  });  return retVal;}, "de_CodegenJobSummaryList");var de_Component = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appId: import_smithy_client.expectString,    bindingProperties: /* @__PURE__ */ __name((_) => de_ComponentBindingProperties(_, context), "bindingProperties"),    children: /* @__PURE__ */ __name((_) => de_ComponentChildList(_, context), "children"),    collectionProperties: /* @__PURE__ */ __name((_) => de_ComponentCollectionProperties(_, context), "collectionProperties"),    componentType: import_smithy_client.expectString,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    environmentName: import_smithy_client.expectString,    events: /* @__PURE__ */ __name((_) => de_ComponentEvents(_, context), "events"),    id: import_smithy_client.expectString,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),    name: import_smithy_client.expectString,    overrides: import_smithy_client._json,    properties: /* @__PURE__ */ __name((_) => de_ComponentProperties(_, context), "properties"),    schemaVersion: import_smithy_client.expectString,    sourceId: import_smithy_client.expectString,    tags: import_smithy_client._json,    variants: import_smithy_client._json  });}, "de_Component");var de_ComponentBindingProperties = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce(    (acc, [key, value]) => {      if (value === null) {        return acc;      }      acc[key] = de_ComponentBindingPropertiesValue(value, context);      return acc;    },    {}  );}, "de_ComponentBindingProperties");var de_ComponentBindingPropertiesValue = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    bindingProperties: /* @__PURE__ */ __name((_) => de_ComponentBindingPropertiesValueProperties(_, context), "bindingProperties"),    defaultValue: import_smithy_client.expectString,    type: import_smithy_client.expectString  });}, "de_ComponentBindingPropertiesValue");var de_ComponentBindingPropertiesValueProperties = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    bucket: import_smithy_client.expectString,    defaultValue: import_smithy_client.expectString,    field: import_smithy_client.expectString,    key: import_smithy_client.expectString,    model: import_smithy_client.expectString,    predicates: /* @__PURE__ */ __name((_) => de_PredicateList(_, context), "predicates"),    slotName: import_smithy_client.expectString,    userAttribute: import_smithy_client.expectString  });}, "de_ComponentBindingPropertiesValueProperties");var de_ComponentChild = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    children: /* @__PURE__ */ __name((_) => de_ComponentChildList(_, context), "children"),    componentType: import_smithy_client.expectString,    events: /* @__PURE__ */ __name((_) => de_ComponentEvents(_, context), "events"),    name: import_smithy_client.expectString,    properties: /* @__PURE__ */ __name((_) => de_ComponentProperties(_, context), "properties"),    sourceId: import_smithy_client.expectString  });}, "de_ComponentChild");var de_ComponentChildList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ComponentChild(entry, context);  });  return retVal;}, "de_ComponentChildList");var de_ComponentCollectionProperties = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce(    (acc, [key, value]) => {      if (value === null) {        return acc;      }      acc[key] = de_ComponentDataConfiguration(value, context);      return acc;    },    {}  );}, "de_ComponentCollectionProperties");var de_ComponentConditionProperty = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    else: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "else"),    field: import_smithy_client.expectString,    operand: import_smithy_client.expectString,    operandType: import_smithy_client.expectString,    operator: import_smithy_client.expectString,    property: import_smithy_client.expectString,    then: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "then")  });}, "de_ComponentConditionProperty");var de_ComponentDataConfiguration = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    identifiers: import_smithy_client._json,    model: import_smithy_client.expectString,    predicate: /* @__PURE__ */ __name((_) => de_Predicate(_, context), "predicate"),    sort: import_smithy_client._json  });}, "de_ComponentDataConfiguration");var de_ComponentEvent = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    action: import_smithy_client.expectString,    bindingEvent: import_smithy_client.expectString,    parameters: /* @__PURE__ */ __name((_) => de_ActionParameters(_, context), "parameters")  });}, "de_ComponentEvent");var de_ComponentEvents = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_ComponentEvent(value, context);    return acc;  }, {});}, "de_ComponentEvents");var de_ComponentList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Component(entry, context);  });  return retVal;}, "de_ComponentList");var de_ComponentProperties = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_ComponentProperty(value, context);    return acc;  }, {});}, "de_ComponentProperties");var de_ComponentProperty = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    bindingProperties: import_smithy_client._json,    bindings: import_smithy_client._json,    collectionBindingProperties: import_smithy_client._json,    componentName: import_smithy_client.expectString,    concat: /* @__PURE__ */ __name((_) => de_ComponentPropertyList(_, context), "concat"),    condition: /* @__PURE__ */ __name((_) => de_ComponentConditionProperty(_, context), "condition"),    configured: import_smithy_client.expectBoolean,    defaultValue: import_smithy_client.expectString,    event: import_smithy_client.expectString,    importedValue: import_smithy_client.expectString,    model: import_smithy_client.expectString,    property: import_smithy_client.expectString,    type: import_smithy_client.expectString,    userAttribute: import_smithy_client.expectString,    value: import_smithy_client.expectString  });}, "de_ComponentProperty");var de_ComponentPropertyList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ComponentProperty(entry, context);  });  return retVal;}, "de_ComponentPropertyList");var de_FieldConfig = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    excluded: import_smithy_client.expectBoolean,    inputType: /* @__PURE__ */ __name((_) => de_FieldInputConfig(_, context), "inputType"),    label: import_smithy_client.expectString,    position: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "position"),    validations: import_smithy_client._json  });}, "de_FieldConfig");var de_FieldInputConfig = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    defaultChecked: import_smithy_client.expectBoolean,    defaultCountryCode: import_smithy_client.expectString,    defaultValue: import_smithy_client.expectString,    descriptiveText: import_smithy_client.expectString,    fileUploaderConfig: import_smithy_client._json,    isArray: import_smithy_client.expectBoolean,    maxValue: import_smithy_client.limitedParseFloat32,    minValue: import_smithy_client.limitedParseFloat32,    name: import_smithy_client.expectString,    placeholder: import_smithy_client.expectString,    readOnly: import_smithy_client.expectBoolean,    required: import_smithy_client.expectBoolean,    step: import_smithy_client.limitedParseFloat32,    type: import_smithy_client.expectString,    value: import_smithy_client.expectString,    valueMappings: /* @__PURE__ */ __name((_) => de_ValueMappings(_, context), "valueMappings")  });}, "de_FieldInputConfig");var de_FieldsMap = /* @__PURE__ */ __name((output, context) => {  return Object.entries(output).reduce((acc, [key, value]) => {    if (value === null) {      return acc;    }    acc[key] = de_FieldConfig(value, context);    return acc;  }, {});}, "de_FieldsMap");var de_Form = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appId: import_smithy_client.expectString,    cta: import_smithy_client._json,    dataType: import_smithy_client._json,    environmentName: import_smithy_client.expectString,    fields: /* @__PURE__ */ __name((_) => de_FieldsMap(_, context), "fields"),    formActionType: import_smithy_client.expectString,    id: import_smithy_client.expectString,    labelDecorator: import_smithy_client.expectString,    name: import_smithy_client.expectString,    schemaVersion: import_smithy_client.expectString,    sectionalElements: import_smithy_client._json,    style: import_smithy_client._json,    tags: import_smithy_client._json  });}, "de_Form");var de_FormInputValueProperty = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    bindingProperties: import_smithy_client._json,    concat: /* @__PURE__ */ __name((_) => de_FormInputValuePropertyList(_, context), "concat"),    value: import_smithy_client.expectString  });}, "de_FormInputValueProperty");var de_FormInputValuePropertyList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_FormInputValueProperty(entry, context);  });  return retVal;}, "de_FormInputValuePropertyList");var de_FormList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Form(entry, context);  });  return retVal;}, "de_FormList");var de_MutationActionSetStateParameter = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    componentName: import_smithy_client.expectString,    property: import_smithy_client.expectString,    set: /* @__PURE__ */ __name((_) => de_ComponentProperty(_, context), "set")  });}, "de_MutationActionSetStateParameter");var de_Predicate = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    and: /* @__PURE__ */ __name((_) => de_PredicateList(_, context), "and"),    field: import_smithy_client.expectString,    operand: import_smithy_client.expectString,    operandType: import_smithy_client.expectString,    operator: import_smithy_client.expectString,    or: /* @__PURE__ */ __name((_) => de_PredicateList(_, context), "or")  });}, "de_Predicate");var de_PredicateList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Predicate(entry, context);  });  return retVal;}, "de_PredicateList");var de_Theme = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    appId: import_smithy_client.expectString,    createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),    environmentName: import_smithy_client.expectString,    id: import_smithy_client.expectString,    modifiedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "modifiedAt"),    name: import_smithy_client.expectString,    overrides: /* @__PURE__ */ __name((_) => de_ThemeValuesList(_, context), "overrides"),    tags: import_smithy_client._json,    values: /* @__PURE__ */ __name((_) => de_ThemeValuesList(_, context), "values")  });}, "de_Theme");var de_ThemeList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Theme(entry, context);  });  return retVal;}, "de_ThemeList");var de_ThemeValue = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    children: /* @__PURE__ */ __name((_) => de_ThemeValuesList(_, context), "children"),    value: import_smithy_client.expectString  });}, "de_ThemeValue");var de_ThemeValues = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    key: import_smithy_client.expectString,    value: /* @__PURE__ */ __name((_) => de_ThemeValue(_, context), "value")  });}, "de_ThemeValues");var de_ThemeValuesList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ThemeValues(entry, context);  });  return retVal;}, "de_ThemeValuesList");var de_ValueMapping = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    displayValue: /* @__PURE__ */ __name((_) => de_FormInputValueProperty(_, context), "displayValue"),    value: /* @__PURE__ */ __name((_) => de_FormInputValueProperty(_, context), "value")  });}, "de_ValueMapping");var de_ValueMappingList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ValueMapping(entry, context);  });  return retVal;}, "de_ValueMappingList");var de_ValueMappings = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    bindingProperties: import_smithy_client._json,    values: /* @__PURE__ */ __name((_) => de_ValueMappingList(_, context), "values")  });}, "de_ValueMappings");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 _cT = "clientToken";var _mR = "maxResults";var _nT = "nextToken";var _tK = "tagKeys"; // src/commands/CreateComponentCommand.tsvar CreateComponentCommand = 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("AmplifyUIBuilder", "CreateComponent", {}).n("AmplifyUIBuilderClient", "CreateComponentCommand").f(void 0, void 0).ser(se_CreateComponentCommand).de(de_CreateComponentCommand).build() {  static {    __name(this, "CreateComponentCommand");  }}; // src/commands/CreateFormCommand.ts   var CreateFormCommand = 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("AmplifyUIBuilder", "CreateForm", {}).n("AmplifyUIBuilderClient", "CreateFormCommand").f(void 0, void 0).ser(se_CreateFormCommand).de(de_CreateFormCommand).build() {  static {    __name(this, "CreateFormCommand");  }}; // src/commands/CreateThemeCommand.ts   var CreateThemeCommand = 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("AmplifyUIBuilder", "CreateTheme", {}).n("AmplifyUIBuilderClient", "CreateThemeCommand").f(void 0, void 0).ser(se_CreateThemeCommand).de(de_CreateThemeCommand).build() {  static {    __name(this, "CreateThemeCommand");  }}; // src/commands/DeleteComponentCommand.ts   var DeleteComponentCommand = 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("AmplifyUIBuilder", "DeleteComponent", {}).n("AmplifyUIBuilderClient", "DeleteComponentCommand").f(void 0, void 0).ser(se_DeleteComponentCommand).de(de_DeleteComponentCommand).build() {  static {    __name(this, "DeleteComponentCommand");  }}; // src/commands/DeleteFormCommand.ts   var DeleteFormCommand = 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("AmplifyUIBuilder", "DeleteForm", {}).n("AmplifyUIBuilderClient", "DeleteFormCommand").f(void 0, void 0).ser(se_DeleteFormCommand).de(de_DeleteFormCommand).build() {  static {    __name(this, "DeleteFormCommand");  }}; // src/commands/DeleteThemeCommand.ts   var DeleteThemeCommand = 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("AmplifyUIBuilder", "DeleteTheme", {}).n("AmplifyUIBuilderClient", "DeleteThemeCommand").f(void 0, void 0).ser(se_DeleteThemeCommand).de(de_DeleteThemeCommand).build() {  static {    __name(this, "DeleteThemeCommand");  }}; // src/commands/ExchangeCodeForTokenCommand.ts   var ExchangeCodeForTokenCommand = 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("AmplifyUIBuilder", "ExchangeCodeForToken", {}).n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand").f(ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog).ser(se_ExchangeCodeForTokenCommand).de(de_ExchangeCodeForTokenCommand).build() {  static {    __name(this, "ExchangeCodeForTokenCommand");  }}; // src/commands/ExportComponentsCommand.ts   var ExportComponentsCommand = 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("AmplifyUIBuilder", "ExportComponents", {}).n("AmplifyUIBuilderClient", "ExportComponentsCommand").f(void 0, void 0).ser(se_ExportComponentsCommand).de(de_ExportComponentsCommand).build() {  static {    __name(this, "ExportComponentsCommand");  }}; // src/commands/ExportFormsCommand.ts   var ExportFormsCommand = 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("AmplifyUIBuilder", "ExportForms", {}).n("AmplifyUIBuilderClient", "ExportFormsCommand").f(void 0, void 0).ser(se_ExportFormsCommand).de(de_ExportFormsCommand).build() {  static {    __name(this, "ExportFormsCommand");  }}; // src/commands/ExportThemesCommand.ts   var ExportThemesCommand = 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("AmplifyUIBuilder", "ExportThemes", {}).n("AmplifyUIBuilderClient", "ExportThemesCommand").f(void 0, void 0).ser(se_ExportThemesCommand).de(de_ExportThemesCommand).build() {  static {    __name(this, "ExportThemesCommand");  }}; // src/commands/GetCodegenJobCommand.ts   var GetCodegenJobCommand = 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("AmplifyUIBuilder", "GetCodegenJob", {}).n("AmplifyUIBuilderClient", "GetCodegenJobCommand").f(void 0, void 0).ser(se_GetCodegenJobCommand).de(de_GetCodegenJobCommand).build() {  static {    __name(this, "GetCodegenJobCommand");  }}; // src/commands/GetComponentCommand.ts   var GetComponentCommand = 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("AmplifyUIBuilder", "GetComponent", {}).n("AmplifyUIBuilderClient", "GetComponentCommand").f(void 0, void 0).ser(se_GetComponentCommand).de(de_GetComponentCommand).build() {  static {    __name(this, "GetComponentCommand");  }}; // src/commands/GetFormCommand.ts   var GetFormCommand = 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("AmplifyUIBuilder", "GetForm", {}).n("AmplifyUIBuilderClient", "GetFormCommand").f(void 0, void 0).ser(se_GetFormCommand).de(de_GetFormCommand).build() {  static {    __name(this, "GetFormCommand");  }}; // src/commands/GetMetadataCommand.ts   var GetMetadataCommand = 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("AmplifyUIBuilder", "GetMetadata", {}).n("AmplifyUIBuilderClient", "GetMetadataCommand").f(void 0, void 0).ser(se_GetMetadataCommand).de(de_GetMetadataCommand).build() {  static {    __name(this, "GetMetadataCommand");  }}; // src/commands/GetThemeCommand.ts   var GetThemeCommand = 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("AmplifyUIBuilder", "GetTheme", {}).n("AmplifyUIBuilderClient", "GetThemeCommand").f(void 0, void 0).ser(se_GetThemeCommand).de(de_GetThemeCommand).build() {  static {    __name(this, "GetThemeCommand");  }}; // src/commands/ListCodegenJobsCommand.ts   var ListCodegenJobsCommand = 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("AmplifyUIBuilder", "ListCodegenJobs", {}).n("AmplifyUIBuilderClient", "ListCodegenJobsCommand").f(void 0, void 0).ser(se_ListCodegenJobsCommand).de(de_ListCodegenJobsCommand).build() {  static {    __name(this, "ListCodegenJobsCommand");  }}; // src/commands/ListComponentsCommand.ts   var ListComponentsCommand = 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("AmplifyUIBuilder", "ListComponents", {}).n("AmplifyUIBuilderClient", "ListComponentsCommand").f(void 0, void 0).ser(se_ListComponentsCommand).de(de_ListComponentsCommand).build() {  static {    __name(this, "ListComponentsCommand");  }}; // src/commands/ListFormsCommand.ts   var ListFormsCommand = 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("AmplifyUIBuilder", "ListForms", {}).n("AmplifyUIBuilderClient", "ListFormsCommand").f(void 0, void 0).ser(se_ListFormsCommand).de(de_ListFormsCommand).build() {  static {    __name(this, "ListFormsCommand");  }}; // 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("AmplifyUIBuilder", "ListTagsForResource", {}).n("AmplifyUIBuilderClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/ListThemesCommand.ts   var ListThemesCommand = 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("AmplifyUIBuilder", "ListThemes", {}).n("AmplifyUIBuilderClient", "ListThemesCommand").f(void 0, void 0).ser(se_ListThemesCommand).de(de_ListThemesCommand).build() {  static {    __name(this, "ListThemesCommand");  }}; // src/commands/PutMetadataFlagCommand.ts   var PutMetadataFlagCommand = 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("AmplifyUIBuilder", "PutMetadataFlag", {}).n("AmplifyUIBuilderClient", "PutMetadataFlagCommand").f(void 0, void 0).ser(se_PutMetadataFlagCommand).de(de_PutMetadataFlagCommand).build() {  static {    __name(this, "PutMetadataFlagCommand");  }}; // src/commands/RefreshTokenCommand.ts   var RefreshTokenCommand = 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("AmplifyUIBuilder", "RefreshToken", {}).n("AmplifyUIBuilderClient", "RefreshTokenCommand").f(RefreshTokenRequestFilterSensitiveLog, RefreshTokenResponseFilterSensitiveLog).ser(se_RefreshTokenCommand).de(de_RefreshTokenCommand).build() {  static {    __name(this, "RefreshTokenCommand");  }}; // src/commands/StartCodegenJobCommand.ts   var StartCodegenJobCommand = 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("AmplifyUIBuilder", "StartCodegenJob", {}).n("AmplifyUIBuilderClient", "StartCodegenJobCommand").f(void 0, void 0).ser(se_StartCodegenJobCommand).de(de_StartCodegenJobCommand).build() {  static {    __name(this, "StartCodegenJobCommand");  }}; // 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("AmplifyUIBuilder", "TagResource", {}).n("AmplifyUIBuilderClient", "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("AmplifyUIBuilder", "UntagResource", {}).n("AmplifyUIBuilderClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateComponentCommand.ts   var UpdateComponentCommand = 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("AmplifyUIBuilder", "UpdateComponent", {}).n("AmplifyUIBuilderClient", "UpdateComponentCommand").f(void 0, void 0).ser(se_UpdateComponentCommand).de(de_UpdateComponentCommand).build() {  static {    __name(this, "UpdateComponentCommand");  }}; // src/commands/UpdateFormCommand.ts   var UpdateFormCommand = 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("AmplifyUIBuilder", "UpdateForm", {}).n("AmplifyUIBuilderClient", "UpdateFormCommand").f(void 0, void 0).ser(se_UpdateFormCommand).de(de_UpdateFormCommand).build() {  static {    __name(this, "UpdateFormCommand");  }}; // src/commands/UpdateThemeCommand.ts   var UpdateThemeCommand = 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("AmplifyUIBuilder", "UpdateTheme", {}).n("AmplifyUIBuilderClient", "UpdateThemeCommand").f(void 0, void 0).ser(se_UpdateThemeCommand).de(de_UpdateThemeCommand).build() {  static {    __name(this, "UpdateThemeCommand");  }}; // src/AmplifyUIBuilder.tsvar commands = {  CreateComponentCommand,  CreateFormCommand,  CreateThemeCommand,  DeleteComponentCommand,  DeleteFormCommand,  DeleteThemeCommand,  ExchangeCodeForTokenCommand,  ExportComponentsCommand,  ExportFormsCommand,  ExportThemesCommand,  GetCodegenJobCommand,  GetComponentCommand,  GetFormCommand,  GetMetadataCommand,  GetThemeCommand,  ListCodegenJobsCommand,  ListComponentsCommand,  ListFormsCommand,  ListTagsForResourceCommand,  ListThemesCommand,  PutMetadataFlagCommand,  RefreshTokenCommand,  StartCodegenJobCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateComponentCommand,  UpdateFormCommand,  UpdateThemeCommand};var AmplifyUIBuilder = class extends AmplifyUIBuilderClient {  static {    __name(this, "AmplifyUIBuilder");  }};(0, import_smithy_client.createAggregatedClient)(commands, AmplifyUIBuilder); // src/pagination/ExportComponentsPaginator.ts var paginateExportComponents = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ExportComponentsCommand, "nextToken", "nextToken", ""); // src/pagination/ExportFormsPaginator.ts var paginateExportForms = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ExportFormsCommand, "nextToken", "nextToken", ""); // src/pagination/ExportThemesPaginator.ts var paginateExportThemes = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ExportThemesCommand, "nextToken", "nextToken", ""); // src/pagination/ListCodegenJobsPaginator.ts var paginateListCodegenJobs = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ListCodegenJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListComponentsPaginator.ts var paginateListComponents = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ListComponentsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListFormsPaginator.ts var paginateListForms = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ListFormsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListThemesPaginator.ts var paginateListThemes = (0, import_core.createPaginator)(AmplifyUIBuilderClient, ListThemesCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  AmplifyUIBuilderServiceException,  __Client,  AmplifyUIBuilderClient,  AmplifyUIBuilder,  $Command,  CreateComponentCommand,  CreateFormCommand,  CreateThemeCommand,  DeleteComponentCommand,  DeleteFormCommand,  DeleteThemeCommand,  ExchangeCodeForTokenCommand,  ExportComponentsCommand,  ExportFormsCommand,  ExportThemesCommand,  GetCodegenJobCommand,  GetComponentCommand,  GetFormCommand,  GetMetadataCommand,  GetThemeCommand,  ListCodegenJobsCommand,  ListComponentsCommand,  ListFormsCommand,  ListTagsForResourceCommand,  ListThemesCommand,  PutMetadataFlagCommand,  RefreshTokenCommand,  StartCodegenJobCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateComponentCommand,  UpdateFormCommand,  UpdateThemeCommand,  paginateExportComponents,  paginateExportForms,  paginateExportThemes,  paginateListCodegenJobs,  paginateListComponents,  paginateListForms,  paginateListThemes,  CodegenJobGenericDataSourceType,  CodegenGenericDataFieldDataType,  GenericDataRelationshipType,  ApiConfiguration,  JSModule,  JSScript,  JSTarget,  CodegenJobRenderConfig,  CodegenJobStatus,  InternalServerException,  InvalidParameterException,  ResourceNotFoundException,  ThrottlingException,  SortDirection,  ResourceConflictException,  ServiceQuotaExceededException,  TokenProviders,  FixedPosition,  FieldPosition,  FormButtonsPosition,  FormDataSourceType,  StorageAccessLevel,  FormActionType,  LabelDecorator,  FormStyleConfig,  UnauthorizedException,  ExchangeCodeForTokenRequestBodyFilterSensitiveLog,  ExchangeCodeForTokenRequestFilterSensitiveLog,  ExchangeCodeForTokenResponseFilterSensitiveLog,  RefreshTokenRequestBodyFilterSensitiveLog,  RefreshTokenRequestFilterSensitiveLog,  RefreshTokenResponseFilterSensitiveLog});