File Explorer

/var/runtime/node_modules/@aws-sdk/client-lookoutvision/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.js77.3 KB · 1872 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, {  AccessDeniedException: () => AccessDeniedException,  ConflictException: () => ConflictException,  CreateDatasetCommand: () => CreateDatasetCommand,  CreateModelCommand: () => CreateModelCommand,  CreateProjectCommand: () => CreateProjectCommand,  DatasetStatus: () => DatasetStatus,  DeleteDatasetCommand: () => DeleteDatasetCommand,  DeleteModelCommand: () => DeleteModelCommand,  DeleteProjectCommand: () => DeleteProjectCommand,  DescribeDatasetCommand: () => DescribeDatasetCommand,  DescribeModelCommand: () => DescribeModelCommand,  DescribeModelPackagingJobCommand: () => DescribeModelPackagingJobCommand,  DescribeProjectCommand: () => DescribeProjectCommand,  DetectAnomaliesCommand: () => DetectAnomaliesCommand,  DetectAnomaliesRequestFilterSensitiveLog: () => DetectAnomaliesRequestFilterSensitiveLog,  InternalServerException: () => InternalServerException,  ListDatasetEntriesCommand: () => ListDatasetEntriesCommand,  ListModelPackagingJobsCommand: () => ListModelPackagingJobsCommand,  ListModelsCommand: () => ListModelsCommand,  ListProjectsCommand: () => ListProjectsCommand,  ListTagsForResourceCommand: () => ListTagsForResourceCommand,  LookoutVision: () => LookoutVision,  LookoutVisionClient: () => LookoutVisionClient,  LookoutVisionServiceException: () => LookoutVisionServiceException,  ModelHostingStatus: () => ModelHostingStatus,  ModelPackagingJobStatus: () => ModelPackagingJobStatus,  ModelStatus: () => ModelStatus,  ResourceNotFoundException: () => ResourceNotFoundException,  ResourceType: () => ResourceType,  ServiceQuotaExceededException: () => ServiceQuotaExceededException,  StartModelCommand: () => StartModelCommand,  StartModelPackagingJobCommand: () => StartModelPackagingJobCommand,  StopModelCommand: () => StopModelCommand,  TagResourceCommand: () => TagResourceCommand,  TargetDevice: () => TargetDevice,  TargetPlatformAccelerator: () => TargetPlatformAccelerator,  TargetPlatformArch: () => TargetPlatformArch,  TargetPlatformOs: () => TargetPlatformOs,  ThrottlingException: () => ThrottlingException,  UntagResourceCommand: () => UntagResourceCommand,  UpdateDatasetEntriesCommand: () => UpdateDatasetEntriesCommand,  ValidationException: () => ValidationException,  __Client: () => import_smithy_client.Client,  paginateListDatasetEntries: () => paginateListDatasetEntries,  paginateListModelPackagingJobs: () => paginateListModelPackagingJobs,  paginateListModels: () => paginateListModels,  paginateListProjects: () => paginateListProjects});module.exports = __toCommonJS(index_exports); // src/LookoutVisionClient.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: "lookoutvision"  });}, "resolveClientEndpointParameters");var commonParams = {  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },  Endpoint: { type: "builtInParams", name: "endpoint" },  Region: { type: "builtInParams", name: "region" },  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/LookoutVisionClient.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/LookoutVisionClient.tsvar LookoutVisionClient = class extends import_smithy_client.Client {  static {    __name(this, "LookoutVisionClient");  }  /**   * The resolved configuration of LookoutVisionClient class. This is resolved and normalized from the {@link LookoutVisionClientConfig | 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.defaultLookoutVisionHttpAuthSchemeParametersProvider,        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/LookoutVision.ts  // src/commands/CreateDatasetCommand.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/LookoutVisionServiceException.ts var LookoutVisionServiceException = class _LookoutVisionServiceException extends import_smithy_client.ServiceException {  static {    __name(this, "LookoutVisionServiceException");  }  /**   * @internal   */  constructor(options) {    super(options);    Object.setPrototypeOf(this, _LookoutVisionServiceException.prototype);  }}; // src/models/models_0.tsvar AccessDeniedException = class _AccessDeniedException extends LookoutVisionServiceException {  static {    __name(this, "AccessDeniedException");  }  name = "AccessDeniedException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "AccessDeniedException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _AccessDeniedException.prototype);    this.Message = opts.Message;  }};var ResourceType = {  DATASET: "DATASET",  MODEL: "MODEL",  MODEL_PACKAGE_JOB: "MODEL_PACKAGE_JOB",  PROJECT: "PROJECT",  TRIAL: "TRIAL"};var ConflictException = class _ConflictException extends LookoutVisionServiceException {  static {    __name(this, "ConflictException");  }  name = "ConflictException";  $fault = "client";  Message;  /**   * <p>The ID of the resource.</p>   * @public   */  ResourceId;  /**   * <p>The type of the resource.</p>   * @public   */  ResourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ConflictException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ConflictException.prototype);    this.Message = opts.Message;    this.ResourceId = opts.ResourceId;    this.ResourceType = opts.ResourceType;  }};var DatasetStatus = {  CREATE_COMPLETE: "CREATE_COMPLETE",  CREATE_FAILED: "CREATE_FAILED",  CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",  DELETE_COMPLETE: "DELETE_COMPLETE",  DELETE_FAILED: "DELETE_FAILED",  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",  UPDATE_COMPLETE: "UPDATE_COMPLETE",  UPDATE_FAILED_ROLLBACK_COMPLETE: "UPDATE_FAILED_ROLLBACK_COMPLETE",  UPDATE_FAILED_ROLLBACK_IN_PROGRESS: "UPDATE_FAILED_ROLLBACK_IN_PROGRESS",  UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS"};var InternalServerException = class _InternalServerException extends LookoutVisionServiceException {  static {    __name(this, "InternalServerException");  }  name = "InternalServerException";  $fault = "server";  Message;  /**   * <p>The period of time, in seconds, before the operation can be retried.</p>   * @public   */  RetryAfterSeconds;  /**   * @internal   */  constructor(opts) {    super({      name: "InternalServerException",      $fault: "server",      ...opts    });    Object.setPrototypeOf(this, _InternalServerException.prototype);    this.Message = opts.Message;    this.RetryAfterSeconds = opts.RetryAfterSeconds;  }};var ResourceNotFoundException = class _ResourceNotFoundException extends LookoutVisionServiceException {  static {    __name(this, "ResourceNotFoundException");  }  name = "ResourceNotFoundException";  $fault = "client";  Message;  /**   * <p>The ID of the resource.</p>   * @public   */  ResourceId;  /**   * <p>The type of the resource.</p>   * @public   */  ResourceType;  /**   * @internal   */  constructor(opts) {    super({      name: "ResourceNotFoundException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);    this.Message = opts.Message;    this.ResourceId = opts.ResourceId;    this.ResourceType = opts.ResourceType;  }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends LookoutVisionServiceException {  static {    __name(this, "ServiceQuotaExceededException");  }  name = "ServiceQuotaExceededException";  $fault = "client";  Message;  /**   * <p>The ID of the resource.</p>   * @public   */  ResourceId;  /**   * <p>The type of the resource.</p>   * @public   */  ResourceType;  /**   * <p>The quota code. </p>   * @public   */  QuotaCode;  /**   * <p>The service code. </p>   * @public   */  ServiceCode;  /**   * @internal   */  constructor(opts) {    super({      name: "ServiceQuotaExceededException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);    this.Message = opts.Message;    this.ResourceId = opts.ResourceId;    this.ResourceType = opts.ResourceType;    this.QuotaCode = opts.QuotaCode;    this.ServiceCode = opts.ServiceCode;  }};var ThrottlingException = class _ThrottlingException extends LookoutVisionServiceException {  static {    __name(this, "ThrottlingException");  }  name = "ThrottlingException";  $fault = "client";  Message;  /**   * <p>The quota code. </p>   * @public   */  QuotaCode;  /**   * <p>The service code. </p>   * @public   */  ServiceCode;  /**   * <p>The period of time, in seconds, before the operation can be retried. </p>   * @public   */  RetryAfterSeconds;  /**   * @internal   */  constructor(opts) {    super({      name: "ThrottlingException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ThrottlingException.prototype);    this.Message = opts.Message;    this.QuotaCode = opts.QuotaCode;    this.ServiceCode = opts.ServiceCode;    this.RetryAfterSeconds = opts.RetryAfterSeconds;  }};var ValidationException = class _ValidationException extends LookoutVisionServiceException {  static {    __name(this, "ValidationException");  }  name = "ValidationException";  $fault = "client";  Message;  /**   * @internal   */  constructor(opts) {    super({      name: "ValidationException",      $fault: "client",      ...opts    });    Object.setPrototypeOf(this, _ValidationException.prototype);    this.Message = opts.Message;  }};var ModelStatus = {  DELETING: "DELETING",  HOSTED: "HOSTED",  HOSTING_FAILED: "HOSTING_FAILED",  STARTING_HOSTING: "STARTING_HOSTING",  STOPPING_HOSTING: "STOPPING_HOSTING",  SYSTEM_UPDATING: "SYSTEM_UPDATING",  TRAINED: "TRAINED",  TRAINING: "TRAINING",  TRAINING_FAILED: "TRAINING_FAILED"};var TargetDevice = {  JETSON_XAVIER: "jetson_xavier"};var TargetPlatformAccelerator = {  NVIDIA: "NVIDIA"};var TargetPlatformArch = {  ARM64: "ARM64",  X86_64: "X86_64"};var TargetPlatformOs = {  LINUX: "LINUX"};var ModelPackagingJobStatus = {  CREATED: "CREATED",  FAILED: "FAILED",  RUNNING: "RUNNING",  SUCCEEDED: "SUCCEEDED"};var ModelHostingStatus = {  HOSTED: "HOSTED",  HOSTING_FAILED: "HOSTING_FAILED",  STARTING_HOSTING: "STARTING_HOSTING",  STOPPING_HOSTING: "STOPPING_HOSTING",  SYSTEM_UPDATING: "SYSTEM_UPDATING"};var DetectAnomaliesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({  ...obj}), "DetectAnomaliesRequestFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_CreateDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/datasets");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      DatasetSource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DatasetSource"),      DatasetType: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateDatasetCommand");var se_CreateModelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/models");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Description: [],      KmsKeyId: [],      OutputConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "OutputConfig"),      Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateModelCommand");var se_CreateProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects");  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      ProjectName: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_CreateProjectCommand");var se_DeleteDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/datasets/{DatasetType}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("DatasetType", () => input.DatasetType, "{DatasetType}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteDatasetCommand");var se_DeleteModelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/models/{ModelVersion}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("ModelVersion", () => input.ModelVersion, "{ModelVersion}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteModelCommand");var se_DeleteProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  let body;  b.m("DELETE").h(headers).b(body);  return b.build();}, "se_DeleteProjectCommand");var se_DescribeDatasetCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}/datasets/{DatasetType}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("DatasetType", () => input.DatasetType, "{DatasetType}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeDatasetCommand");var se_DescribeModelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}/models/{ModelVersion}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("ModelVersion", () => input.ModelVersion, "{ModelVersion}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeModelCommand");var se_DescribeModelPackagingJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}/modelpackagingjobs/{JobName}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("JobName", () => input.JobName, "{JobName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeModelPackagingJobCommand");var se_DescribeProjectCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  let body;  b.m("GET").h(headers).b(body);  return b.build();}, "se_DescribeProjectCommand");var se_DetectAnomaliesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_ct]: input[_CTo] || "application/octet-stream"  });  b.bp("/2020-11-20/projects/{ProjectName}/models/{ModelVersion}/detect");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("ModelVersion", () => input.ModelVersion, "{ModelVersion}", false);  let body;  if (input.Body !== void 0) {    body = input.Body;  }  b.m("POST").h(headers).b(body);  return b.build();}, "se_DetectAnomaliesCommand");var se_ListDatasetEntriesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}/datasets/{DatasetType}/entries");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("DatasetType", () => input.DatasetType, "{DatasetType}", false);  const query = (0, import_smithy_client.map)({    [_l]: [() => input.Labeled !== void 0, () => input[_L].toString()],    [_aC]: [, input[_AC]],    [_cB]: [() => input.BeforeCreationDate !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_BCD]).toString()],    [_cA]: [() => input.AfterCreationDate !== void 0, () => (0, import_smithy_client.serializeDateTime)(input[_ACD]).toString()],    [_nT]: [, input[_NT]],    [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],    [_sRC]: [, input[_SRC]]  });  let body;  b.m("GET").h(headers).q(query).b(body);  return b.build();}, "se_ListDatasetEntriesCommand");var se_ListModelPackagingJobsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}/modelpackagingjobs");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", 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_ListModelPackagingJobsCommand");var se_ListModelsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects/{ProjectName}/models");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", 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_ListModelsCommand");var se_ListProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/projects");  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_ListProjectsCommand");var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {};  b.bp("/2020-11-20/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_StartModelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/models/{ModelVersion}/start");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("ModelVersion", () => input.ModelVersion, "{ModelVersion}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      MaxInferenceUnits: [],      MinInferenceUnits: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartModelCommand");var se_StartModelPackagingJobCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/modelpackagingjobs");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Configuration"),      Description: [],      JobName: [],      ModelVersion: []    })  );  b.m("POST").h(headers).b(body);  return b.build();}, "se_StartModelPackagingJobCommand");var se_StopModelCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/models/{ModelVersion}/stop");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("ModelVersion", () => input.ModelVersion, "{ModelVersion}", false);  let body;  b.m("POST").h(headers).b(body);  return b.build();}, "se_StopModelCommand");var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = {    "content-type": "application/json"  };  b.bp("/2020-11-20/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("/2020-11-20/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_UpdateDatasetEntriesCommand = /* @__PURE__ */ __name(async (input, context) => {  const b = (0, import_core.requestBuilder)(input, context);  const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {    "content-type": "application/json",    [_xact]: input[_CT] ?? (0, import_uuid.v4)()  });  b.bp("/2020-11-20/projects/{ProjectName}/datasets/{DatasetType}/entries");  b.p("ProjectName", () => input.ProjectName, "{ProjectName}", false);  b.p("DatasetType", () => input.DatasetType, "{DatasetType}", false);  let body;  body = JSON.stringify(    (0, import_smithy_client.take)(input, {      Changes: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "Changes")    })  );  b.m("PATCH").h(headers).b(body);  return b.build();}, "se_UpdateDatasetEntriesCommand");var de_CreateDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    DatasetMetadata: /* @__PURE__ */ __name((_) => de_DatasetMetadata(_, context), "DatasetMetadata")  });  Object.assign(contents, doc);  return contents;}, "de_CreateDatasetCommand");var de_CreateModelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ModelMetadata: /* @__PURE__ */ __name((_) => de_ModelMetadata(_, context), "ModelMetadata")  });  Object.assign(contents, doc);  return contents;}, "de_CreateModelCommand");var de_CreateProjectCommand = /* @__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, {    ProjectMetadata: /* @__PURE__ */ __name((_) => de_ProjectMetadata(_, context), "ProjectMetadata")  });  Object.assign(contents, doc);  return contents;}, "de_CreateProjectCommand");var de_DeleteDatasetCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  await (0, import_smithy_client.collectBody)(output.body, context);  return contents;}, "de_DeleteDatasetCommand");var de_DeleteModelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    ModelArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteModelCommand");var de_DeleteProjectCommand = /* @__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, {    ProjectArn: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_DeleteProjectCommand");var de_DescribeDatasetCommand = /* @__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, {    DatasetDescription: /* @__PURE__ */ __name((_) => de_DatasetDescription(_, context), "DatasetDescription")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeDatasetCommand");var de_DescribeModelCommand = /* @__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, {    ModelDescription: /* @__PURE__ */ __name((_) => de_ModelDescription(_, context), "ModelDescription")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeModelCommand");var de_DescribeModelPackagingJobCommand = /* @__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, {    ModelPackagingDescription: /* @__PURE__ */ __name((_) => de_ModelPackagingDescription(_, context), "ModelPackagingDescription")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeModelPackagingJobCommand");var de_DescribeProjectCommand = /* @__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, {    ProjectDescription: /* @__PURE__ */ __name((_) => de_ProjectDescription(_, context), "ProjectDescription")  });  Object.assign(contents, doc);  return contents;}, "de_DescribeProjectCommand");var de_DetectAnomaliesCommand = /* @__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, {    DetectAnomalyResult: /* @__PURE__ */ __name((_) => de_DetectAnomalyResult(_, context), "DetectAnomalyResult")  });  Object.assign(contents, doc);  return contents;}, "de_DetectAnomaliesCommand");var de_ListDatasetEntriesCommand = /* @__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, {    DatasetEntries: import_smithy_client._json,    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListDatasetEntriesCommand");var de_ListModelPackagingJobsCommand = /* @__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, {    ModelPackagingJobs: /* @__PURE__ */ __name((_) => de_ModelPackagingJobsList(_, context), "ModelPackagingJobs"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListModelPackagingJobsCommand");var de_ListModelsCommand = /* @__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, {    Models: /* @__PURE__ */ __name((_) => de_ModelMetadataList(_, context), "Models"),    NextToken: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_ListModelsCommand");var de_ListProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 200 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    NextToken: import_smithy_client.expectString,    Projects: /* @__PURE__ */ __name((_) => de_ProjectMetadataList(_, context), "Projects")  });  Object.assign(contents, doc);  return contents;}, "de_ListProjectsCommand");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_StartModelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartModelCommand");var de_StartModelPackagingJobCommand = /* @__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, {    JobName: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StartModelPackagingJobCommand");var de_StopModelCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_StopModelCommand");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_UpdateDatasetEntriesCommand = /* @__PURE__ */ __name(async (output, context) => {  if (output.statusCode !== 202 && output.statusCode >= 300) {    return de_CommandError(output, context);  }  const contents = (0, import_smithy_client.map)({    $metadata: deserializeMetadata(output)  });  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");  const doc = (0, import_smithy_client.take)(data, {    Status: import_smithy_client.expectString  });  Object.assign(contents, doc);  return contents;}, "de_UpdateDatasetEntriesCommand");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 "AccessDeniedException":    case "com.amazonaws.lookoutvision#AccessDeniedException":      throw await de_AccessDeniedExceptionRes(parsedOutput, context);    case "ConflictException":    case "com.amazonaws.lookoutvision#ConflictException":      throw await de_ConflictExceptionRes(parsedOutput, context);    case "InternalServerException":    case "com.amazonaws.lookoutvision#InternalServerException":      throw await de_InternalServerExceptionRes(parsedOutput, context);    case "ResourceNotFoundException":    case "com.amazonaws.lookoutvision#ResourceNotFoundException":      throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);    case "ServiceQuotaExceededException":    case "com.amazonaws.lookoutvision#ServiceQuotaExceededException":      throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);    case "ThrottlingException":    case "com.amazonaws.lookoutvision#ThrottlingException":      throw await de_ThrottlingExceptionRes(parsedOutput, context);    case "ValidationException":    case "com.amazonaws.lookoutvision#ValidationException":      throw await de_ValidationExceptionRes(parsedOutput, context);    default:      const parsedBody = parsedOutput.body;      return throwDefaultError({        output,        parsedBody,        errorCode      });  }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(LookoutVisionServiceException);var de_AccessDeniedExceptionRes = /* @__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 AccessDeniedException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_AccessDeniedExceptionRes");var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({});  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    ResourceId: import_smithy_client.expectString,    ResourceType: import_smithy_client.expectString  });  Object.assign(contents, doc);  const exception = new ConflictException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ConflictExceptionRes");var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {  const contents = (0, import_smithy_client.map)({    [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]  });  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_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,    ResourceId: import_smithy_client.expectString,    ResourceType: 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,    QuotaCode: import_smithy_client.expectString,    ResourceId: import_smithy_client.expectString,    ResourceType: import_smithy_client.expectString,    ServiceCode: 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)({    [_RAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]  });  const data = parsedOutput.body;  const doc = (0, import_smithy_client.take)(data, {    Message: import_smithy_client.expectString,    QuotaCode: import_smithy_client.expectString,    ServiceCode: 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_ValidationExceptionRes = /* @__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 ValidationException({    $metadata: deserializeMetadata(parsedOutput),    ...contents  });  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_ValidationExceptionRes");var de_Anomaly = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Name: import_smithy_client.expectString,    PixelAnomaly: /* @__PURE__ */ __name((_) => de_PixelAnomaly(_, context), "PixelAnomaly")  });}, "de_Anomaly");var de_AnomalyList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_Anomaly(entry, context);  });  return retVal;}, "de_AnomalyList");var de_DatasetDescription = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    DatasetType: import_smithy_client.expectString,    ImageStats: import_smithy_client._json,    LastUpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimestamp"),    ProjectName: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    StatusMessage: import_smithy_client.expectString  });}, "de_DatasetDescription");var de_DatasetMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    DatasetType: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    StatusMessage: import_smithy_client.expectString  });}, "de_DatasetMetadata");var de_DatasetMetadataList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_DatasetMetadata(entry, context);  });  return retVal;}, "de_DatasetMetadataList");var de_DetectAnomalyResult = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Anomalies: /* @__PURE__ */ __name((_) => de_AnomalyList(_, context), "Anomalies"),    AnomalyMask: context.base64Decoder,    Confidence: import_smithy_client.limitedParseFloat32,    IsAnomalous: import_smithy_client.expectBoolean,    Source: import_smithy_client._json  });}, "de_DetectAnomalyResult");var de_ModelDescription = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    Description: import_smithy_client.expectString,    EvaluationEndTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EvaluationEndTimestamp"),    EvaluationManifest: import_smithy_client._json,    EvaluationResult: import_smithy_client._json,    KmsKeyId: import_smithy_client.expectString,    MaxInferenceUnits: import_smithy_client.expectInt32,    MinInferenceUnits: import_smithy_client.expectInt32,    ModelArn: import_smithy_client.expectString,    ModelVersion: import_smithy_client.expectString,    OutputConfig: import_smithy_client._json,    Performance: /* @__PURE__ */ __name((_) => de_ModelPerformance(_, context), "Performance"),    Status: import_smithy_client.expectString,    StatusMessage: import_smithy_client.expectString  });}, "de_ModelDescription");var de_ModelMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    Description: import_smithy_client.expectString,    ModelArn: import_smithy_client.expectString,    ModelVersion: import_smithy_client.expectString,    Performance: /* @__PURE__ */ __name((_) => de_ModelPerformance(_, context), "Performance"),    Status: import_smithy_client.expectString,    StatusMessage: import_smithy_client.expectString  });}, "de_ModelMetadata");var de_ModelMetadataList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ModelMetadata(entry, context);  });  return retVal;}, "de_ModelMetadataList");var de_ModelPackagingDescription = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    JobName: import_smithy_client.expectString,    LastUpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimestamp"),    ModelPackagingConfiguration: import_smithy_client._json,    ModelPackagingJobDescription: import_smithy_client.expectString,    ModelPackagingMethod: import_smithy_client.expectString,    ModelPackagingOutputDetails: import_smithy_client._json,    ModelVersion: import_smithy_client.expectString,    ProjectName: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    StatusMessage: import_smithy_client.expectString  });}, "de_ModelPackagingDescription");var de_ModelPackagingJobMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    JobName: import_smithy_client.expectString,    LastUpdatedTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTimestamp"),    ModelPackagingJobDescription: import_smithy_client.expectString,    ModelPackagingMethod: import_smithy_client.expectString,    ModelVersion: import_smithy_client.expectString,    ProjectName: import_smithy_client.expectString,    Status: import_smithy_client.expectString,    StatusMessage: import_smithy_client.expectString  });}, "de_ModelPackagingJobMetadata");var de_ModelPackagingJobsList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ModelPackagingJobMetadata(entry, context);  });  return retVal;}, "de_ModelPackagingJobsList");var de_ModelPerformance = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    F1Score: import_smithy_client.limitedParseFloat32,    Precision: import_smithy_client.limitedParseFloat32,    Recall: import_smithy_client.limitedParseFloat32  });}, "de_ModelPerformance");var de_PixelAnomaly = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    Color: import_smithy_client.expectString,    TotalPercentageArea: import_smithy_client.limitedParseFloat32  });}, "de_PixelAnomaly");var de_ProjectDescription = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    Datasets: /* @__PURE__ */ __name((_) => de_DatasetMetadataList(_, context), "Datasets"),    ProjectArn: import_smithy_client.expectString,    ProjectName: import_smithy_client.expectString  });}, "de_ProjectDescription");var de_ProjectMetadata = /* @__PURE__ */ __name((output, context) => {  return (0, import_smithy_client.take)(output, {    CreationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTimestamp"),    ProjectArn: import_smithy_client.expectString,    ProjectName: import_smithy_client.expectString  });}, "de_ProjectMetadata");var de_ProjectMetadataList = /* @__PURE__ */ __name((output, context) => {  const retVal = (output || []).filter((e) => e != null).map((entry) => {    return de_ProjectMetadata(entry, context);  });  return retVal;}, "de_ProjectMetadataList");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 _AC = "AnomalyClass";var _ACD = "AfterCreationDate";var _BCD = "BeforeCreationDate";var _CT = "ClientToken";var _CTo = "ContentType";var _L = "Labeled";var _MR = "MaxResults";var _NT = "NextToken";var _RAS = "RetryAfterSeconds";var _SRC = "SourceRefContains";var _TK = "TagKeys";var _aC = "anomalyClass";var _cA = "createdAfter";var _cB = "createdBefore";var _ct = "content-type";var _l = "labeled";var _mR = "maxResults";var _nT = "nextToken";var _ra = "retry-after";var _sRC = "sourceRefContains";var _tK = "tagKeys";var _xact = "x-amzn-client-token"; // src/commands/CreateDatasetCommand.tsvar CreateDatasetCommand = 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("LookoutVisionService", "CreateDataset", {}).n("LookoutVisionClient", "CreateDatasetCommand").f(void 0, void 0).ser(se_CreateDatasetCommand).de(de_CreateDatasetCommand).build() {  static {    __name(this, "CreateDatasetCommand");  }}; // src/commands/CreateModelCommand.ts   var CreateModelCommand = 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("LookoutVisionService", "CreateModel", {}).n("LookoutVisionClient", "CreateModelCommand").f(void 0, void 0).ser(se_CreateModelCommand).de(de_CreateModelCommand).build() {  static {    __name(this, "CreateModelCommand");  }}; // src/commands/CreateProjectCommand.ts   var CreateProjectCommand = 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("LookoutVisionService", "CreateProject", {}).n("LookoutVisionClient", "CreateProjectCommand").f(void 0, void 0).ser(se_CreateProjectCommand).de(de_CreateProjectCommand).build() {  static {    __name(this, "CreateProjectCommand");  }}; // src/commands/DeleteDatasetCommand.ts   var DeleteDatasetCommand = 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("LookoutVisionService", "DeleteDataset", {}).n("LookoutVisionClient", "DeleteDatasetCommand").f(void 0, void 0).ser(se_DeleteDatasetCommand).de(de_DeleteDatasetCommand).build() {  static {    __name(this, "DeleteDatasetCommand");  }}; // src/commands/DeleteModelCommand.ts   var DeleteModelCommand = 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("LookoutVisionService", "DeleteModel", {}).n("LookoutVisionClient", "DeleteModelCommand").f(void 0, void 0).ser(se_DeleteModelCommand).de(de_DeleteModelCommand).build() {  static {    __name(this, "DeleteModelCommand");  }}; // src/commands/DeleteProjectCommand.ts   var DeleteProjectCommand = 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("LookoutVisionService", "DeleteProject", {}).n("LookoutVisionClient", "DeleteProjectCommand").f(void 0, void 0).ser(se_DeleteProjectCommand).de(de_DeleteProjectCommand).build() {  static {    __name(this, "DeleteProjectCommand");  }}; // src/commands/DescribeDatasetCommand.ts   var DescribeDatasetCommand = 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("LookoutVisionService", "DescribeDataset", {}).n("LookoutVisionClient", "DescribeDatasetCommand").f(void 0, void 0).ser(se_DescribeDatasetCommand).de(de_DescribeDatasetCommand).build() {  static {    __name(this, "DescribeDatasetCommand");  }}; // src/commands/DescribeModelCommand.ts   var DescribeModelCommand = 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("LookoutVisionService", "DescribeModel", {}).n("LookoutVisionClient", "DescribeModelCommand").f(void 0, void 0).ser(se_DescribeModelCommand).de(de_DescribeModelCommand).build() {  static {    __name(this, "DescribeModelCommand");  }}; // src/commands/DescribeModelPackagingJobCommand.ts   var DescribeModelPackagingJobCommand = 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("LookoutVisionService", "DescribeModelPackagingJob", {}).n("LookoutVisionClient", "DescribeModelPackagingJobCommand").f(void 0, void 0).ser(se_DescribeModelPackagingJobCommand).de(de_DescribeModelPackagingJobCommand).build() {  static {    __name(this, "DescribeModelPackagingJobCommand");  }}; // src/commands/DescribeProjectCommand.ts   var DescribeProjectCommand = 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("LookoutVisionService", "DescribeProject", {}).n("LookoutVisionClient", "DescribeProjectCommand").f(void 0, void 0).ser(se_DescribeProjectCommand).de(de_DescribeProjectCommand).build() {  static {    __name(this, "DescribeProjectCommand");  }}; // src/commands/DetectAnomaliesCommand.ts   var DetectAnomaliesCommand = 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("LookoutVisionService", "DetectAnomalies", {}).n("LookoutVisionClient", "DetectAnomaliesCommand").f(DetectAnomaliesRequestFilterSensitiveLog, void 0).ser(se_DetectAnomaliesCommand).de(de_DetectAnomaliesCommand).build() {  static {    __name(this, "DetectAnomaliesCommand");  }}; // src/commands/ListDatasetEntriesCommand.ts   var ListDatasetEntriesCommand = 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("LookoutVisionService", "ListDatasetEntries", {}).n("LookoutVisionClient", "ListDatasetEntriesCommand").f(void 0, void 0).ser(se_ListDatasetEntriesCommand).de(de_ListDatasetEntriesCommand).build() {  static {    __name(this, "ListDatasetEntriesCommand");  }}; // src/commands/ListModelPackagingJobsCommand.ts   var ListModelPackagingJobsCommand = 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("LookoutVisionService", "ListModelPackagingJobs", {}).n("LookoutVisionClient", "ListModelPackagingJobsCommand").f(void 0, void 0).ser(se_ListModelPackagingJobsCommand).de(de_ListModelPackagingJobsCommand).build() {  static {    __name(this, "ListModelPackagingJobsCommand");  }}; // src/commands/ListModelsCommand.ts   var ListModelsCommand = 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("LookoutVisionService", "ListModels", {}).n("LookoutVisionClient", "ListModelsCommand").f(void 0, void 0).ser(se_ListModelsCommand).de(de_ListModelsCommand).build() {  static {    __name(this, "ListModelsCommand");  }}; // src/commands/ListProjectsCommand.ts   var ListProjectsCommand = 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("LookoutVisionService", "ListProjects", {}).n("LookoutVisionClient", "ListProjectsCommand").f(void 0, void 0).ser(se_ListProjectsCommand).de(de_ListProjectsCommand).build() {  static {    __name(this, "ListProjectsCommand");  }}; // 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("LookoutVisionService", "ListTagsForResource", {}).n("LookoutVisionClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {  static {    __name(this, "ListTagsForResourceCommand");  }}; // src/commands/StartModelCommand.ts   var StartModelCommand = 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("LookoutVisionService", "StartModel", {}).n("LookoutVisionClient", "StartModelCommand").f(void 0, void 0).ser(se_StartModelCommand).de(de_StartModelCommand).build() {  static {    __name(this, "StartModelCommand");  }}; // src/commands/StartModelPackagingJobCommand.ts   var StartModelPackagingJobCommand = 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("LookoutVisionService", "StartModelPackagingJob", {}).n("LookoutVisionClient", "StartModelPackagingJobCommand").f(void 0, void 0).ser(se_StartModelPackagingJobCommand).de(de_StartModelPackagingJobCommand).build() {  static {    __name(this, "StartModelPackagingJobCommand");  }}; // src/commands/StopModelCommand.ts   var StopModelCommand = 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("LookoutVisionService", "StopModel", {}).n("LookoutVisionClient", "StopModelCommand").f(void 0, void 0).ser(se_StopModelCommand).de(de_StopModelCommand).build() {  static {    __name(this, "StopModelCommand");  }}; // 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("LookoutVisionService", "TagResource", {}).n("LookoutVisionClient", "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("LookoutVisionService", "UntagResource", {}).n("LookoutVisionClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {  static {    __name(this, "UntagResourceCommand");  }}; // src/commands/UpdateDatasetEntriesCommand.ts   var UpdateDatasetEntriesCommand = 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("LookoutVisionService", "UpdateDatasetEntries", {}).n("LookoutVisionClient", "UpdateDatasetEntriesCommand").f(void 0, void 0).ser(se_UpdateDatasetEntriesCommand).de(de_UpdateDatasetEntriesCommand).build() {  static {    __name(this, "UpdateDatasetEntriesCommand");  }}; // src/LookoutVision.tsvar commands = {  CreateDatasetCommand,  CreateModelCommand,  CreateProjectCommand,  DeleteDatasetCommand,  DeleteModelCommand,  DeleteProjectCommand,  DescribeDatasetCommand,  DescribeModelCommand,  DescribeModelPackagingJobCommand,  DescribeProjectCommand,  DetectAnomaliesCommand,  ListDatasetEntriesCommand,  ListModelPackagingJobsCommand,  ListModelsCommand,  ListProjectsCommand,  ListTagsForResourceCommand,  StartModelCommand,  StartModelPackagingJobCommand,  StopModelCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateDatasetEntriesCommand};var LookoutVision = class extends LookoutVisionClient {  static {    __name(this, "LookoutVision");  }};(0, import_smithy_client.createAggregatedClient)(commands, LookoutVision); // src/pagination/ListDatasetEntriesPaginator.ts var paginateListDatasetEntries = (0, import_core.createPaginator)(LookoutVisionClient, ListDatasetEntriesCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListModelPackagingJobsPaginator.ts var paginateListModelPackagingJobs = (0, import_core.createPaginator)(LookoutVisionClient, ListModelPackagingJobsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListModelsPaginator.ts var paginateListModels = (0, import_core.createPaginator)(LookoutVisionClient, ListModelsCommand, "NextToken", "NextToken", "MaxResults"); // src/pagination/ListProjectsPaginator.ts var paginateListProjects = (0, import_core.createPaginator)(LookoutVisionClient, ListProjectsCommand, "NextToken", "NextToken", "MaxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = {  LookoutVisionServiceException,  __Client,  LookoutVisionClient,  LookoutVision,  $Command,  CreateDatasetCommand,  CreateModelCommand,  CreateProjectCommand,  DeleteDatasetCommand,  DeleteModelCommand,  DeleteProjectCommand,  DescribeDatasetCommand,  DescribeModelCommand,  DescribeModelPackagingJobCommand,  DescribeProjectCommand,  DetectAnomaliesCommand,  ListDatasetEntriesCommand,  ListModelPackagingJobsCommand,  ListModelsCommand,  ListProjectsCommand,  ListTagsForResourceCommand,  StartModelCommand,  StartModelPackagingJobCommand,  StopModelCommand,  TagResourceCommand,  UntagResourceCommand,  UpdateDatasetEntriesCommand,  paginateListDatasetEntries,  paginateListModelPackagingJobs,  paginateListModels,  paginateListProjects,  AccessDeniedException,  ResourceType,  ConflictException,  DatasetStatus,  InternalServerException,  ResourceNotFoundException,  ServiceQuotaExceededException,  ThrottlingException,  ValidationException,  ModelStatus,  TargetDevice,  TargetPlatformAccelerator,  TargetPlatformArch,  TargetPlatformOs,  ModelPackagingJobStatus,  ModelHostingStatus,  DetectAnomaliesRequestFilterSensitiveLog});