/var/runtime/node_modules/@aws-sdk/client-cleanroomsml/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
"use strict";var __defProp = Object.defineProperty;var __getOwnPropDesc = Object.getOwnPropertyDescriptor;var __getOwnPropNames = Object.getOwnPropertyNames;var __hasOwnProp = Object.prototype.hasOwnProperty;var __name = (target, value) => __defProp(target, "name", { value, configurable: true });var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true });};var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to;};var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.tsvar index_exports = {};__export(index_exports, { AccessDeniedException: () => AccessDeniedException, AudienceExportJobStatus: () => AudienceExportJobStatus, AudienceGenerationJobDataSourceFilterSensitiveLog: () => AudienceGenerationJobDataSourceFilterSensitiveLog, AudienceGenerationJobStatus: () => AudienceGenerationJobStatus, AudienceModelStatus: () => AudienceModelStatus, AudienceSizeType: () => AudienceSizeType, CancelTrainedModelCommand: () => CancelTrainedModelCommand, CancelTrainedModelInferenceJobCommand: () => CancelTrainedModelInferenceJobCommand, CleanRoomsML: () => CleanRoomsML, CleanRoomsMLClient: () => CleanRoomsMLClient, CleanRoomsMLServiceException: () => CleanRoomsMLServiceException, ColumnType: () => ColumnType, ComputeConfiguration: () => ComputeConfiguration, ConfiguredAudienceModelStatus: () => ConfiguredAudienceModelStatus, ConflictException: () => ConflictException, CreateAudienceModelCommand: () => CreateAudienceModelCommand, CreateConfiguredAudienceModelCommand: () => CreateConfiguredAudienceModelCommand, CreateConfiguredModelAlgorithmAssociationCommand: () => CreateConfiguredModelAlgorithmAssociationCommand, CreateConfiguredModelAlgorithmCommand: () => CreateConfiguredModelAlgorithmCommand, CreateMLInputChannelCommand: () => CreateMLInputChannelCommand, CreateMLInputChannelRequestFilterSensitiveLog: () => CreateMLInputChannelRequestFilterSensitiveLog, CreateTrainedModelCommand: () => CreateTrainedModelCommand, CreateTrainingDatasetCommand: () => CreateTrainingDatasetCommand, DatasetType: () => DatasetType, DeleteAudienceGenerationJobCommand: () => DeleteAudienceGenerationJobCommand, DeleteAudienceModelCommand: () => DeleteAudienceModelCommand, DeleteConfiguredAudienceModelCommand: () => DeleteConfiguredAudienceModelCommand, DeleteConfiguredAudienceModelPolicyCommand: () => DeleteConfiguredAudienceModelPolicyCommand, DeleteConfiguredModelAlgorithmAssociationCommand: () => DeleteConfiguredModelAlgorithmAssociationCommand, DeleteConfiguredModelAlgorithmCommand: () => DeleteConfiguredModelAlgorithmCommand, DeleteMLConfigurationCommand: () => DeleteMLConfigurationCommand, DeleteMLInputChannelDataCommand: () => DeleteMLInputChannelDataCommand, DeleteTrainedModelOutputCommand: () => DeleteTrainedModelOutputCommand, DeleteTrainingDatasetCommand: () => DeleteTrainingDatasetCommand, EntityType: () => EntityType, GetAudienceGenerationJobCommand: () => GetAudienceGenerationJobCommand, GetAudienceGenerationJobResponseFilterSensitiveLog: () => GetAudienceGenerationJobResponseFilterSensitiveLog, GetAudienceModelCommand: () => GetAudienceModelCommand, GetCollaborationConfiguredModelAlgorithmAssociationCommand: () => GetCollaborationConfiguredModelAlgorithmAssociationCommand, GetCollaborationMLInputChannelCommand: () => GetCollaborationMLInputChannelCommand, GetCollaborationTrainedModelCommand: () => GetCollaborationTrainedModelCommand, GetConfiguredAudienceModelCommand: () => GetConfiguredAudienceModelCommand, GetConfiguredAudienceModelPolicyCommand: () => GetConfiguredAudienceModelPolicyCommand, GetConfiguredModelAlgorithmAssociationCommand: () => GetConfiguredModelAlgorithmAssociationCommand, GetConfiguredModelAlgorithmCommand: () => GetConfiguredModelAlgorithmCommand, GetMLConfigurationCommand: () => GetMLConfigurationCommand, GetMLInputChannelCommand: () => GetMLInputChannelCommand, GetMLInputChannelResponseFilterSensitiveLog: () => GetMLInputChannelResponseFilterSensitiveLog, GetTrainedModelCommand: () => GetTrainedModelCommand, GetTrainedModelInferenceJobCommand: () => GetTrainedModelInferenceJobCommand, GetTrainingDatasetCommand: () => GetTrainingDatasetCommand, InferenceInstanceType: () => InferenceInstanceType, InputChannelDataSource: () => InputChannelDataSource, InputChannelDataSourceFilterSensitiveLog: () => InputChannelDataSourceFilterSensitiveLog, InputChannelFilterSensitiveLog: () => InputChannelFilterSensitiveLog, InternalServiceException: () => InternalServiceException, ListAudienceExportJobsCommand: () => ListAudienceExportJobsCommand, ListAudienceGenerationJobsCommand: () => ListAudienceGenerationJobsCommand, ListAudienceModelsCommand: () => ListAudienceModelsCommand, ListCollaborationConfiguredModelAlgorithmAssociationsCommand: () => ListCollaborationConfiguredModelAlgorithmAssociationsCommand, ListCollaborationMLInputChannelsCommand: () => ListCollaborationMLInputChannelsCommand, ListCollaborationTrainedModelExportJobsCommand: () => ListCollaborationTrainedModelExportJobsCommand, ListCollaborationTrainedModelInferenceJobsCommand: () => ListCollaborationTrainedModelInferenceJobsCommand, ListCollaborationTrainedModelsCommand: () => ListCollaborationTrainedModelsCommand, ListConfiguredAudienceModelsCommand: () => ListConfiguredAudienceModelsCommand, ListConfiguredModelAlgorithmAssociationsCommand: () => ListConfiguredModelAlgorithmAssociationsCommand, ListConfiguredModelAlgorithmsCommand: () => ListConfiguredModelAlgorithmsCommand, ListMLInputChannelsCommand: () => ListMLInputChannelsCommand, ListTagsForResourceCommand: () => ListTagsForResourceCommand, ListTrainedModelInferenceJobsCommand: () => ListTrainedModelInferenceJobsCommand, ListTrainedModelVersionsCommand: () => ListTrainedModelVersionsCommand, ListTrainedModelsCommand: () => ListTrainedModelsCommand, ListTrainingDatasetsCommand: () => ListTrainingDatasetsCommand, LogType: () => LogType, LogsStatus: () => LogsStatus, MLInputChannelStatus: () => MLInputChannelStatus, MetricsStatus: () => MetricsStatus, NoiseLevelType: () => NoiseLevelType, PolicyExistenceCondition: () => PolicyExistenceCondition, ProtectedQueryInputParametersFilterSensitiveLog: () => ProtectedQueryInputParametersFilterSensitiveLog, ProtectedQuerySQLParametersFilterSensitiveLog: () => ProtectedQuerySQLParametersFilterSensitiveLog, PutConfiguredAudienceModelPolicyCommand: () => PutConfiguredAudienceModelPolicyCommand, PutMLConfigurationCommand: () => PutMLConfigurationCommand, ResourceNotFoundException: () => ResourceNotFoundException, ResultFormat: () => ResultFormat, S3DataDistributionType: () => S3DataDistributionType, ServiceQuotaExceededException: () => ServiceQuotaExceededException, SharedAudienceMetrics: () => SharedAudienceMetrics, StartAudienceExportJobCommand: () => StartAudienceExportJobCommand, StartAudienceGenerationJobCommand: () => StartAudienceGenerationJobCommand, StartAudienceGenerationJobRequestFilterSensitiveLog: () => StartAudienceGenerationJobRequestFilterSensitiveLog, StartTrainedModelExportJobCommand: () => StartTrainedModelExportJobCommand, StartTrainedModelInferenceJobCommand: () => StartTrainedModelInferenceJobCommand, TagOnCreatePolicy: () => TagOnCreatePolicy, TagResourceCommand: () => TagResourceCommand, ThrottlingException: () => ThrottlingException, TrainedModelArtifactMaxSizeUnitType: () => TrainedModelArtifactMaxSizeUnitType, TrainedModelExportFileType: () => TrainedModelExportFileType, TrainedModelExportJobStatus: () => TrainedModelExportJobStatus, TrainedModelExportsMaxSizeUnitType: () => TrainedModelExportsMaxSizeUnitType, TrainedModelInferenceJobStatus: () => TrainedModelInferenceJobStatus, TrainedModelInferenceMaxOutputSizeUnitType: () => TrainedModelInferenceMaxOutputSizeUnitType, TrainedModelStatus: () => TrainedModelStatus, TrainingDatasetStatus: () => TrainingDatasetStatus, TrainingInputMode: () => TrainingInputMode, UntagResourceCommand: () => UntagResourceCommand, UpdateConfiguredAudienceModelCommand: () => UpdateConfiguredAudienceModelCommand, ValidationException: () => ValidationException, WorkerComputeType: () => WorkerComputeType, _InstanceType: () => _InstanceType, __Client: () => import_smithy_client.Client, paginateListAudienceExportJobs: () => paginateListAudienceExportJobs, paginateListAudienceGenerationJobs: () => paginateListAudienceGenerationJobs, paginateListAudienceModels: () => paginateListAudienceModels, paginateListCollaborationConfiguredModelAlgorithmAssociations: () => paginateListCollaborationConfiguredModelAlgorithmAssociations, paginateListCollaborationMLInputChannels: () => paginateListCollaborationMLInputChannels, paginateListCollaborationTrainedModelExportJobs: () => paginateListCollaborationTrainedModelExportJobs, paginateListCollaborationTrainedModelInferenceJobs: () => paginateListCollaborationTrainedModelInferenceJobs, paginateListCollaborationTrainedModels: () => paginateListCollaborationTrainedModels, paginateListConfiguredAudienceModels: () => paginateListConfiguredAudienceModels, paginateListConfiguredModelAlgorithmAssociations: () => paginateListConfiguredModelAlgorithmAssociations, paginateListConfiguredModelAlgorithms: () => paginateListConfiguredModelAlgorithms, paginateListMLInputChannels: () => paginateListMLInputChannels, paginateListTrainedModelInferenceJobs: () => paginateListTrainedModelInferenceJobs, paginateListTrainedModelVersions: () => paginateListTrainedModelVersions, paginateListTrainedModels: () => paginateListTrainedModels, paginateListTrainingDatasets: () => paginateListTrainingDatasets});module.exports = __toCommonJS(index_exports); // src/CleanRoomsMLClient.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: "cleanrooms-ml" });}, "resolveClientEndpointParameters");var commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }}; // src/CleanRoomsMLClient.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/CleanRoomsMLClient.tsvar CleanRoomsMLClient = class extends import_smithy_client.Client { static { __name(this, "CleanRoomsMLClient"); } /** * The resolved configuration of CleanRoomsMLClient class. This is resolved and normalized from the {@link CleanRoomsMLClientConfig | 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.defaultCleanRoomsMLHttpAuthSchemeParametersProvider, 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/CleanRoomsML.ts // src/commands/CancelTrainedModelCommand.ts var import_middleware_serde = require("@smithy/middleware-serde"); // src/protocols/Aws_restJson1.tsvar import_core2 = require("@aws-sdk/core"); // src/models/CleanRoomsMLServiceException.ts var CleanRoomsMLServiceException = class _CleanRoomsMLServiceException extends import_smithy_client.ServiceException { static { __name(this, "CleanRoomsMLServiceException"); } /** * @internal */ constructor(options) { super(options); Object.setPrototypeOf(this, _CleanRoomsMLServiceException.prototype); }}; // src/models/models_0.ts var AccessDeniedException = class _AccessDeniedException extends CleanRoomsMLServiceException { static { __name(this, "AccessDeniedException"); } name = "AccessDeniedException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "AccessDeniedException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _AccessDeniedException.prototype); }};var AudienceSizeType = { ABSOLUTE: "ABSOLUTE", PERCENTAGE: "PERCENTAGE"};var AudienceExportJobStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING"};var ValidationException = class _ValidationException extends CleanRoomsMLServiceException { static { __name(this, "ValidationException"); } name = "ValidationException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ValidationException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ValidationException.prototype); }};var ConflictException = class _ConflictException extends CleanRoomsMLServiceException { static { __name(this, "ConflictException"); } name = "ConflictException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ConflictException.prototype); }};var ResourceNotFoundException = class _ResourceNotFoundException extends CleanRoomsMLServiceException { static { __name(this, "ResourceNotFoundException"); } name = "ResourceNotFoundException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); }};var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CleanRoomsMLServiceException { static { __name(this, "ServiceQuotaExceededException"); } name = "ServiceQuotaExceededException"; $fault = "client"; /** * The name of the service quota limit that was exceeded * @public */ quotaName; /** * The current limit on the service quota that was exceeded * @public */ quotaValue; /** * @internal */ constructor(opts) { super({ name: "ServiceQuotaExceededException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype); this.quotaName = opts.quotaName; this.quotaValue = opts.quotaValue; }};var WorkerComputeType = { CR1X: "CR.1X", CR4X: "CR.4X"};var ComputeConfiguration;((ComputeConfiguration3) => { ComputeConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.worker !== void 0) return visitor.worker(value.worker); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(ComputeConfiguration || (ComputeConfiguration = {}));var AudienceGenerationJobStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_PENDING: "DELETE_PENDING"};var ThrottlingException = class _ThrottlingException extends CleanRoomsMLServiceException { static { __name(this, "ThrottlingException"); } name = "ThrottlingException"; $fault = "client"; /** * @internal */ constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts }); Object.setPrototypeOf(this, _ThrottlingException.prototype); }};var AudienceModelStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_PENDING: "DELETE_PENDING"};var TagOnCreatePolicy = { FROM_PARENT_RESOURCE: "FROM_PARENT_RESOURCE", NONE: "NONE"};var SharedAudienceMetrics = { ALL: "ALL", NONE: "NONE"};var ConfiguredAudienceModelStatus = { ACTIVE: "ACTIVE"};var PolicyExistenceCondition = { POLICY_MUST_EXIST: "POLICY_MUST_EXIST", POLICY_MUST_NOT_EXIST: "POLICY_MUST_NOT_EXIST"};var TrainedModelExportFileType = { MODEL: "MODEL", OUTPUT: "OUTPUT"};var TrainedModelExportsMaxSizeUnitType = { GB: "GB"};var EntityType = { ALL_PERSONALLY_IDENTIFIABLE_INFORMATION: "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION", CUSTOM: "CUSTOM", NUMBERS: "NUMBERS"};var LogType = { ALL: "ALL", ERROR_SUMMARY: "ERROR_SUMMARY"};var TrainedModelInferenceMaxOutputSizeUnitType = { GB: "GB"};var NoiseLevelType = { HIGH: "HIGH", LOW: "LOW", MEDIUM: "MEDIUM", NONE: "NONE"};var TrainedModelArtifactMaxSizeUnitType = { GB: "GB"};var MLInputChannelStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_PENDING: "DELETE_PENDING", INACTIVE: "INACTIVE"};var TrainedModelExportJobStatus = { ACTIVE: "ACTIVE", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING"};var LogsStatus = { PUBLISH_FAILED: "PUBLISH_FAILED", PUBLISH_SUCCEEDED: "PUBLISH_SUCCEEDED"};var MetricsStatus = { PUBLISH_FAILED: "PUBLISH_FAILED", PUBLISH_SUCCEEDED: "PUBLISH_SUCCEEDED"};var TrainedModelInferenceJobStatus = { ACTIVE: "ACTIVE", CANCEL_FAILED: "CANCEL_FAILED", CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS", CANCEL_PENDING: "CANCEL_PENDING", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", INACTIVE: "INACTIVE"};var TrainedModelStatus = { ACTIVE: "ACTIVE", CANCEL_FAILED: "CANCEL_FAILED", CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS", CANCEL_PENDING: "CANCEL_PENDING", CREATE_FAILED: "CREATE_FAILED", CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS", CREATE_PENDING: "CREATE_PENDING", DELETE_FAILED: "DELETE_FAILED", DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS", DELETE_PENDING: "DELETE_PENDING", INACTIVE: "INACTIVE"};var ResultFormat = { CSV: "CSV", PARQUET: "PARQUET"};var InputChannelDataSource;((InputChannelDataSource3) => { InputChannelDataSource3.visit = /* @__PURE__ */ __name((value, visitor) => { if (value.protectedQueryInputParameters !== void 0) return visitor.protectedQueryInputParameters(value.protectedQueryInputParameters); return visitor._(value.$unknown[0], value.$unknown[1]); }, "visit");})(InputChannelDataSource || (InputChannelDataSource = {}));var S3DataDistributionType = { FULLY_REPLICATED: "FullyReplicated", SHARDED_BY_S3_KEY: "ShardedByS3Key"};var _InstanceType = { ML_C4_2XLARGE: "ml.c4.2xlarge", ML_C4_4XLARGE: "ml.c4.4xlarge", ML_C4_8XLARGE: "ml.c4.8xlarge", ML_C4_XLARGE: "ml.c4.xlarge", ML_C5N_18XLARGE: "ml.c5n.18xlarge", ML_C5N_2XLARGE: "ml.c5n.2xlarge", ML_C5N_4XLARGE: "ml.c5n.4xlarge", ML_C5N_9XLARGE: "ml.c5n.9xlarge", ML_C5N_XLARGE: "ml.c5n.xlarge", ML_C5_18XLARGE: "ml.c5.18xlarge", ML_C5_2XLARGE: "ml.c5.2xlarge", ML_C5_4XLARGE: "ml.c5.4xlarge", ML_C5_9XLARGE: "ml.c5.9xlarge", ML_C5_XLARGE: "ml.c5.xlarge", ML_C6I_12XLARGE: "ml.c6i.12xlarge", ML_C6I_16XLARGE: "ml.c6i.16xlarge", ML_C6I_24XLARGE: "ml.c6i.24xlarge", ML_C6I_2XLARGE: "ml.c6i.2xlarge", ML_C6I_32XLARGE: "ml.c6i.32xlarge", ML_C6I_4XLARGE: "ml.c6i.4xlarge", ML_C6I_8XLARGE: "ml.c6i.8xlarge", ML_C6I_XLARGE: "ml.c6i.xlarge", ML_C7I_12XLARGE: "ml.c7i.12xlarge", ML_C7I_16XLARGE: "ml.c7i.16xlarge", ML_C7I_24XLARGE: "ml.c7i.24xlarge", ML_C7I_2XLARGE: "ml.c7i.2xlarge", ML_C7I_48XLARGE: "ml.c7i.48xlarge", ML_C7I_4XLARGE: "ml.c7i.4xlarge", ML_C7I_8XLARGE: "ml.c7i.8xlarge", ML_C7I_LARGE: "ml.c7i.large", ML_C7I_XLARGE: "ml.c7i.xlarge", ML_G4DN_12XLARGE: "ml.g4dn.12xlarge", ML_G4DN_16XLARGE: "ml.g4dn.16xlarge", ML_G4DN_2XLARGE: "ml.g4dn.2xlarge", ML_G4DN_4XLARGE: "ml.g4dn.4xlarge", ML_G4DN_8XLARGE: "ml.g4dn.8xlarge", ML_G4DN_XLARGE: "ml.g4dn.xlarge", ML_G5_12XLARGE: "ml.g5.12xlarge", ML_G5_16XLARGE: "ml.g5.16xlarge", ML_G5_24XLARGE: "ml.g5.24xlarge", ML_G5_2XLARGE: "ml.g5.2xlarge", ML_G5_48XLARGE: "ml.g5.48xlarge", ML_G5_4XLARGE: "ml.g5.4xlarge", ML_G5_8XLARGE: "ml.g5.8xlarge", ML_G5_XLARGE: "ml.g5.xlarge", ML_G6E_12XLARGE: "ml.g6e.12xlarge", ML_G6E_16XLARGE: "ml.g6e.16xlarge", ML_G6E_24XLARGE: "ml.g6e.24xlarge", ML_G6E_2XLARGE: "ml.g6e.2xlarge", ML_G6E_48XLARGE: "ml.g6e.48xlarge", ML_G6E_4XLARGE: "ml.g6e.4xlarge", ML_G6E_8XLARGE: "ml.g6e.8xlarge", ML_G6E_XLARGE: "ml.g6e.xlarge", ML_G6_12XLARGE: "ml.g6.12xlarge", ML_G6_16XLARGE: "ml.g6.16xlarge", ML_G6_24XLARGE: "ml.g6.24xlarge", ML_G6_2XLARGE: "ml.g6.2xlarge", ML_G6_48XLARGE: "ml.g6.48xlarge", ML_G6_4XLARGE: "ml.g6.4xlarge", ML_G6_8XLARGE: "ml.g6.8xlarge", ML_G6_XLARGE: "ml.g6.xlarge", ML_M4_10XLARGE: "ml.m4.10xlarge", ML_M4_16XLARGE: "ml.m4.16xlarge", ML_M4_2XLARGE: "ml.m4.2xlarge", ML_M4_4XLARGE: "ml.m4.4xlarge", ML_M4_XLARGE: "ml.m4.xlarge", ML_M5_12XLARGE: "ml.m5.12xlarge", ML_M5_24XLARGE: "ml.m5.24xlarge", ML_M5_2XLARGE: "ml.m5.2xlarge", ML_M5_4XLARGE: "ml.m5.4xlarge", ML_M5_LARGE: "ml.m5.large", ML_M5_XLARGE: "ml.m5.xlarge", ML_M6I_12XLARGE: "ml.m6i.12xlarge", ML_M6I_16XLARGE: "ml.m6i.16xlarge", ML_M6I_24XLARGE: "ml.m6i.24xlarge", ML_M6I_2XLARGE: "ml.m6i.2xlarge", ML_M6I_32XLARGE: "ml.m6i.32xlarge", ML_M6I_4XLARGE: "ml.m6i.4xlarge", ML_M6I_8XLARGE: "ml.m6i.8xlarge", ML_M6I_LARGE: "ml.m6i.large", ML_M6I_XLARGE: "ml.m6i.xlarge", ML_M7I_12XLARGE: "ml.m7i.12xlarge", ML_M7I_16XLARGE: "ml.m7i.16xlarge", ML_M7I_24XLARGE: "ml.m7i.24xlarge", ML_M7I_2XLARGE: "ml.m7i.2xlarge", ML_M7I_48XLARGE: "ml.m7i.48xlarge", ML_M7I_4XLARGE: "ml.m7i.4xlarge", ML_M7I_8XLARGE: "ml.m7i.8xlarge", ML_M7I_LARGE: "ml.m7i.large", ML_M7I_XLARGE: "ml.m7i.xlarge", ML_P2_16XLARGE: "ml.p2.16xlarge", ML_P2_8XLARGE: "ml.p2.8xlarge", ML_P2_XLARGE: "ml.p2.xlarge", ML_P3DN_24XLARGE: "ml.p3dn.24xlarge", ML_P3_16XLARGE: "ml.p3.16xlarge", ML_P3_2XLARGE: "ml.p3.2xlarge", ML_P3_8XLARGE: "ml.p3.8xlarge", ML_P4DE_24XLARGE: "ml.p4de.24xlarge", ML_P4D_24XLARGE: "ml.p4d.24xlarge", ML_P5EN_48XLARGE: "ml.p5en.48xlarge", ML_P5_48XLARGE: "ml.p5.48xlarge", ML_R5D_12XLARGE: "ml.r5d.12xlarge", ML_R5D_16XLARGE: "ml.r5d.16xlarge", ML_R5D_24XLARGE: "ml.r5d.24xlarge", ML_R5D_2XLARGE: "ml.r5d.2xlarge", ML_R5D_4XLARGE: "ml.r5d.4xlarge", ML_R5D_8XLARGE: "ml.r5d.8xlarge", ML_R5D_LARGE: "ml.r5d.large", ML_R5D_XLARGE: "ml.r5d.xlarge", ML_R5_12XLARGE: "ml.r5.12xlarge", ML_R5_16XLARGE: "ml.r5.16xlarge", ML_R5_24XLARGE: "ml.r5.24xlarge", ML_R5_2XLARGE: "ml.r5.2xlarge", ML_R5_4XLARGE: "ml.r5.4xlarge", ML_R5_8XLARGE: "ml.r5.8xlarge", ML_R5_LARGE: "ml.r5.large", ML_R5_XLARGE: "ml.r5.xlarge", ML_R7I_12XLARGE: "ml.r7i.12xlarge", ML_R7I_16XLARGE: "ml.r7i.16xlarge", ML_R7I_24XLARGE: "ml.r7i.24xlarge", ML_R7I_2XLARGE: "ml.r7i.2xlarge", ML_R7I_48XLARGE: "ml.r7i.48xlarge", ML_R7I_4XLARGE: "ml.r7i.4xlarge", ML_R7I_8XLARGE: "ml.r7i.8xlarge", ML_R7I_LARGE: "ml.r7i.large", ML_R7I_XLARGE: "ml.r7i.xlarge", ML_T3_2XLARGE: "ml.t3.2xlarge", ML_T3_LARGE: "ml.t3.large", ML_T3_MEDIUM: "ml.t3.medium", ML_T3_XLARGE: "ml.t3.xlarge", ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge", ML_TRN1_2XLARGE: "ml.trn1.2xlarge", ML_TRN1_32XLARGE: "ml.trn1.32xlarge"};var TrainingInputMode = { FAST_FILE: "FastFile", FILE: "File", PIPE: "Pipe"};var InternalServiceException = class _InternalServiceException extends CleanRoomsMLServiceException { static { __name(this, "InternalServiceException"); } name = "InternalServiceException"; $fault = "server"; /** * @internal */ constructor(opts) { super({ name: "InternalServiceException", $fault: "server", ...opts }); Object.setPrototypeOf(this, _InternalServiceException.prototype); }};var InferenceInstanceType = { ML_C4_2XLARGE: "ml.c4.2xlarge", ML_C4_4XLARGE: "ml.c4.4xlarge", ML_C4_8XLARGE: "ml.c4.8xlarge", ML_C4_XLARGE: "ml.c4.xlarge", ML_C5_18XLARGE: "ml.c5.18xlarge", ML_C5_2XLARGE: "ml.c5.2xlarge", ML_C5_4XLARGE: "ml.c5.4xlarge", ML_C5_9XLARGE: "ml.c5.9xlarge", ML_C5_XLARGE: "ml.c5.xlarge", ML_C6I_12XLARGE: "ml.c6i.12xlarge", ML_C6I_16XLARGE: "ml.c6i.16xlarge", ML_C6I_24XLARGE: "ml.c6i.24xlarge", ML_C6I_2XLARGE: "ml.c6i.2xlarge", ML_C6I_32XLARGE: "ml.c6i.32xlarge", ML_C6I_4XLARGE: "ml.c6i.4xlarge", ML_C6I_8XLARGE: "ml.c6i.8xlarge", ML_C6I_LARGE: "ml.c6i.large", ML_C6I_XLARGE: "ml.c6i.xlarge", ML_C7I_12XLARGE: "ml.c7i.12xlarge", ML_C7I_16XLARGE: "ml.c7i.16xlarge", ML_C7I_24XLARGE: "ml.c7i.24xlarge", ML_C7I_2XLARGE: "ml.c7i.2xlarge", ML_C7I_48XLARGE: "ml.c7i.48xlarge", ML_C7I_4XLARGE: "ml.c7i.4xlarge", ML_C7I_8XLARGE: "ml.c7i.8xlarge", ML_C7I_LARGE: "ml.c7i.large", ML_C7I_XLARGE: "ml.c7i.xlarge", ML_G4DN_12XLARGE: "ml.g4dn.12xlarge", ML_G4DN_16XLARGE: "ml.g4dn.16xlarge", ML_G4DN_2XLARGE: "ml.g4dn.2xlarge", ML_G4DN_4XLARGE: "ml.g4dn.4xlarge", ML_G4DN_8XLARGE: "ml.g4dn.8xlarge", ML_G4DN_XLARGE: "ml.g4dn.xlarge", ML_G5_12XLARGE: "ml.g5.12xlarge", ML_G5_16XLARGE: "ml.g5.16xlarge", ML_G5_24XLARGE: "ml.g5.24xlarge", ML_G5_2XLARGE: "ml.g5.2xlarge", ML_G5_48XLARGE: "ml.g5.48xlarge", ML_G5_4XLARGE: "ml.g5.4xlarge", ML_G5_8XLARGE: "ml.g5.8xlarge", ML_G5_XLARGE: "ml.g5.xlarge", ML_M4_10XLARGE: "ml.m4.10xlarge", ML_M4_16XLARGE: "ml.m4.16xlarge", ML_M4_2XLARGE: "ml.m4.2xlarge", ML_M4_4XLARGE: "ml.m4.4xlarge", ML_M4_XLARGE: "ml.m4.xlarge", ML_M5_12XLARGE: "ml.m5.12xlarge", ML_M5_24XLARGE: "ml.m5.24xlarge", ML_M5_2XLARGE: "ml.m5.2xlarge", ML_M5_4XLARGE: "ml.m5.4xlarge", ML_M5_LARGE: "ml.m5.large", ML_M5_XLARGE: "ml.m5.xlarge", ML_M6I_12XLARGE: "ml.m6i.12xlarge", ML_M6I_16XLARGE: "ml.m6i.16xlarge", ML_M6I_24XLARGE: "ml.m6i.24xlarge", ML_M6I_2XLARGE: "ml.m6i.2xlarge", ML_M6I_32XLARGE: "ml.m6i.32xlarge", ML_M6I_4XLARGE: "ml.m6i.4xlarge", ML_M6I_8XLARGE: "ml.m6i.8xlarge", ML_M6I_LARGE: "ml.m6i.large", ML_M6I_XLARGE: "ml.m6i.xlarge", ML_M7I_12XLARGE: "ml.m7i.12xlarge", ML_M7I_16XLARGE: "ml.m7i.16xlarge", ML_M7I_24XLARGE: "ml.m7i.24xlarge", ML_M7I_2XLARGE: "ml.m7i.2xlarge", ML_M7I_48XLARGE: "ml.m7i.48xlarge", ML_M7I_4XLARGE: "ml.m7i.4xlarge", ML_M7I_8XLARGE: "ml.m7i.8xlarge", ML_M7I_LARGE: "ml.m7i.large", ML_M7I_XLARGE: "ml.m7i.xlarge", ML_P2_16XLARGE: "ml.p2.16xlarge", ML_P2_8XLARGE: "ml.p2.8xlarge", ML_P2_XLARGE: "ml.p2.xlarge", ML_P3_16XLARGE: "ml.p3.16xlarge", ML_P3_2XLARGE: "ml.p3.2xlarge", ML_P3_8XLARGE: "ml.p3.8xlarge", ML_R6I_12XLARGE: "ml.r6i.12xlarge", ML_R6I_16XLARGE: "ml.r6i.16xlarge", ML_R6I_24XLARGE: "ml.r6i.24xlarge", ML_R6I_2XLARGE: "ml.r6i.2xlarge", ML_R6I_32XLARGE: "ml.r6i.32xlarge", ML_R6I_4XLARGE: "ml.r6i.4xlarge", ML_R6I_8XLARGE: "ml.r6i.8xlarge", ML_R6I_LARGE: "ml.r6i.large", ML_R6I_XLARGE: "ml.r6i.xlarge", ML_R7I_12XLARGE: "ml.r7i.12xlarge", ML_R7I_16XLARGE: "ml.r7i.16xlarge", ML_R7I_24XLARGE: "ml.r7i.24xlarge", ML_R7I_2XLARGE: "ml.r7i.2xlarge", ML_R7I_48XLARGE: "ml.r7i.48xlarge", ML_R7I_4XLARGE: "ml.r7i.4xlarge", ML_R7I_8XLARGE: "ml.r7i.8xlarge", ML_R7I_LARGE: "ml.r7i.large", ML_R7I_XLARGE: "ml.r7i.xlarge"};var ColumnType = { CATEGORICAL_FEATURE: "CATEGORICAL_FEATURE", ITEM_ID: "ITEM_ID", NUMERICAL_FEATURE: "NUMERICAL_FEATURE", TIMESTAMP: "TIMESTAMP", USER_ID: "USER_ID"};var DatasetType = { INTERACTIONS: "INTERACTIONS"};var TrainingDatasetStatus = { ACTIVE: "ACTIVE"};var ProtectedQuerySQLParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj}), "ProtectedQuerySQLParametersFilterSensitiveLog");var AudienceGenerationJobDataSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.sqlParameters && { sqlParameters: import_smithy_client.SENSITIVE_STRING }, ...obj.sqlComputeConfiguration && { sqlComputeConfiguration: obj.sqlComputeConfiguration }}), "AudienceGenerationJobDataSourceFilterSensitiveLog");var GetAudienceGenerationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.seedAudience && { seedAudience: AudienceGenerationJobDataSourceFilterSensitiveLog(obj.seedAudience) }}), "GetAudienceGenerationJobResponseFilterSensitiveLog");var StartAudienceGenerationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.seedAudience && { seedAudience: AudienceGenerationJobDataSourceFilterSensitiveLog(obj.seedAudience) }}), "StartAudienceGenerationJobRequestFilterSensitiveLog");var ProtectedQueryInputParametersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.sqlParameters && { sqlParameters: import_smithy_client.SENSITIVE_STRING }, ...obj.computeConfiguration && { computeConfiguration: obj.computeConfiguration }}), "ProtectedQueryInputParametersFilterSensitiveLog");var InputChannelDataSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => { if (obj.protectedQueryInputParameters !== void 0) return { protectedQueryInputParameters: ProtectedQueryInputParametersFilterSensitiveLog(obj.protectedQueryInputParameters) }; if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };}, "InputChannelDataSourceFilterSensitiveLog");var InputChannelFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.dataSource && { dataSource: InputChannelDataSourceFilterSensitiveLog(obj.dataSource) }}), "InputChannelFilterSensitiveLog");var CreateMLInputChannelRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.inputChannel && { inputChannel: InputChannelFilterSensitiveLog(obj.inputChannel) }}), "CreateMLInputChannelRequestFilterSensitiveLog");var GetMLInputChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ ...obj, ...obj.inputChannel && { inputChannel: InputChannelFilterSensitiveLog(obj.inputChannel) }}), "GetMLInputChannelResponseFilterSensitiveLog"); // src/protocols/Aws_restJson1.tsvar se_CancelTrainedModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); const query = (0, import_smithy_client.map)({ [_vI]: [, input[_vI]] }); let body; b.m("PATCH").h(headers).q(query).b(body); return b.build();}, "se_CancelTrainedModelCommand");var se_CancelTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); b.p("trainedModelInferenceJobArn", () => input.trainedModelInferenceJobArn, "{trainedModelInferenceJobArn}", false); let body; b.m("PATCH").h(headers).b(body); return b.build();}, "se_CancelTrainedModelInferenceJobCommand");var se_CreateAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/audience-model"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], kmsKeyArn: [], name: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trainingDataEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "trainingDataEndTime"), trainingDataStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "trainingDataStartTime"), trainingDatasetArn: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateAudienceModelCommand");var se_CreateConfiguredAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/configured-audience-model"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { audienceModelArn: [], audienceSizeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "audienceSizeConfig"), childResourceTagOnCreatePolicy: [], description: [], minMatchingSeedSize: [], name: [], outputConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfig"), sharedAudienceMetrics: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sharedAudienceMetrics"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConfiguredAudienceModelCommand");var se_CreateConfiguredModelAlgorithmCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/configured-model-algorithms"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], inferenceContainerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inferenceContainerConfig"), kmsKeyArn: [], name: [], roleArn: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trainingContainerConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "trainingContainerConfig") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConfiguredModelAlgorithmCommand");var se_CreateConfiguredModelAlgorithmAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configuredModelAlgorithmArn: [], description: [], name: [], privacyConfiguration: /* @__PURE__ */ __name((_) => se_PrivacyConfiguration(_, context), "privacyConfiguration"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateConfiguredModelAlgorithmAssociationCommand");var se_CreateMLInputChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/memberships/{membershipIdentifier}/ml-input-channels"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configuredModelAlgorithmAssociations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuredModelAlgorithmAssociations"), description: [], inputChannel: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "inputChannel"), kmsKeyArn: [], name: [], retentionInDays: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateMLInputChannelCommand");var se_CreateTrainedModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/memberships/{membershipIdentifier}/trained-models"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configuredModelAlgorithmAssociationArn: [], dataChannels: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataChannels"), description: [], environment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environment"), hyperparameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "hyperparameters"), incrementalTrainingDataChannels: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incrementalTrainingDataChannels"), kmsKeyArn: [], name: [], resourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourceConfig"), stoppingCondition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "stoppingCondition"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trainingInputMode: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateTrainedModelCommand");var se_CreateTrainingDatasetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/training-dataset"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], name: [], roleArn: [], tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trainingData: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "trainingData") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_CreateTrainingDatasetCommand");var se_DeleteAudienceGenerationJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-generation-job/{audienceGenerationJobArn}"); b.p("audienceGenerationJobArn", () => input.audienceGenerationJobArn, "{audienceGenerationJobArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteAudienceGenerationJobCommand");var se_DeleteAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-model/{audienceModelArn}"); b.p("audienceModelArn", () => input.audienceModelArn, "{audienceModelArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteAudienceModelCommand");var se_DeleteConfiguredAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-audience-model/{configuredAudienceModelArn}"); b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConfiguredAudienceModelCommand");var se_DeleteConfiguredAudienceModelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-audience-model/{configuredAudienceModelArn}/policy"); b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConfiguredAudienceModelPolicyCommand");var se_DeleteConfiguredModelAlgorithmCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-model-algorithms/{configuredModelAlgorithmArn}"); b.p("configuredModelAlgorithmArn", () => input.configuredModelAlgorithmArn, "{configuredModelAlgorithmArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConfiguredModelAlgorithmCommand");var se_DeleteConfiguredModelAlgorithmAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp( "/memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}" ); b.p( "configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false ); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteConfiguredModelAlgorithmAssociationCommand");var se_DeleteMLConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/ml-configurations"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteMLConfigurationCommand");var se_DeleteMLInputChannelDataCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}"); b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteMLInputChannelDataCommand");var se_DeleteTrainedModelOutputCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}"); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); const query = (0, import_smithy_client.map)({ [_vI]: [, input[_vI]] }); let body; b.m("DELETE").h(headers).q(query).b(body); return b.build();}, "se_DeleteTrainedModelOutputCommand");var se_DeleteTrainingDatasetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/training-dataset/{trainingDatasetArn}"); b.p("trainingDatasetArn", () => input.trainingDatasetArn, "{trainingDatasetArn}", false); let body; b.m("DELETE").h(headers).b(body); return b.build();}, "se_DeleteTrainingDatasetCommand");var se_GetAudienceGenerationJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-generation-job/{audienceGenerationJobArn}"); b.p("audienceGenerationJobArn", () => input.audienceGenerationJobArn, "{audienceGenerationJobArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetAudienceGenerationJobCommand");var se_GetAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-model/{audienceModelArn}"); b.p("audienceModelArn", () => input.audienceModelArn, "{audienceModelArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetAudienceModelCommand");var se_GetCollaborationConfiguredModelAlgorithmAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp( "/collaborations/{collaborationIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}" ); b.p( "configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false ); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetCollaborationConfiguredModelAlgorithmAssociationCommand");var se_GetCollaborationMLInputChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/ml-input-channels/{mlInputChannelArn}"); b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetCollaborationMLInputChannelCommand");var se_GetCollaborationTrainedModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}"); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false); const query = (0, import_smithy_client.map)({ [_vI]: [, input[_vI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetCollaborationTrainedModelCommand");var se_GetConfiguredAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-audience-model/{configuredAudienceModelArn}"); b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConfiguredAudienceModelCommand");var se_GetConfiguredAudienceModelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-audience-model/{configuredAudienceModelArn}/policy"); b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConfiguredAudienceModelPolicyCommand");var se_GetConfiguredModelAlgorithmCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-model-algorithms/{configuredModelAlgorithmArn}"); b.p("configuredModelAlgorithmArn", () => input.configuredModelAlgorithmArn, "{configuredModelAlgorithmArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConfiguredModelAlgorithmCommand");var se_GetConfiguredModelAlgorithmAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp( "/memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}" ); b.p( "configuredModelAlgorithmAssociationArn", () => input.configuredModelAlgorithmAssociationArn, "{configuredModelAlgorithmAssociationArn}", false ); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetConfiguredModelAlgorithmAssociationCommand");var se_GetMLConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/ml-configurations"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetMLConfigurationCommand");var se_GetMLInputChannelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}"); b.p("mlInputChannelArn", () => input.mlInputChannelArn, "{mlInputChannelArn}", false); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetMLInputChannelCommand");var se_GetTrainedModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}"); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); const query = (0, import_smithy_client.map)({ [_vI]: [, input[_vI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_GetTrainedModelCommand");var se_GetTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); b.p("trainedModelInferenceJobArn", () => input.trainedModelInferenceJobArn, "{trainedModelInferenceJobArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetTrainedModelInferenceJobCommand");var se_GetTrainingDatasetCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/training-dataset/{trainingDatasetArn}"); b.p("trainingDatasetArn", () => input.trainingDatasetArn, "{trainingDatasetArn}", false); let body; b.m("GET").h(headers).b(body); return b.build();}, "se_GetTrainingDatasetCommand");var se_ListAudienceExportJobsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-export-job"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_aGJA]: [, input[_aGJA]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListAudienceExportJobsCommand");var se_ListAudienceGenerationJobsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-generation-job"); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_cAMA]: [, input[_cAMA]], [_cI]: [, input[_cI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListAudienceGenerationJobsCommand");var se_ListAudienceModelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/audience-model"); 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_ListAudienceModelsCommand");var se_ListCollaborationConfiguredModelAlgorithmAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/configured-model-algorithm-associations"); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", 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_ListCollaborationConfiguredModelAlgorithmAssociationsCommand");var se_ListCollaborationMLInputChannelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/ml-input-channels"); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", 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_ListCollaborationMLInputChannelsCommand");var se_ListCollaborationTrainedModelExportJobsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}/export-jobs"); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_tMVI]: [, input[_tMVI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCollaborationTrainedModelExportJobsCommand");var se_ListCollaborationTrainedModelInferenceJobsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/trained-model-inference-jobs"); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_tMA]: [, input[_tMA]], [_tMVI]: [, input[_tMVI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListCollaborationTrainedModelInferenceJobsCommand");var se_ListCollaborationTrainedModelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/collaborations/{collaborationIdentifier}/trained-models"); b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", 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_ListCollaborationTrainedModelsCommand");var se_ListConfiguredAudienceModelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-audience-model"); 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_ListConfiguredAudienceModelsCommand");var se_ListConfiguredModelAlgorithmAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/configured-model-algorithm-associations"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", 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_ListConfiguredModelAlgorithmAssociationsCommand");var se_ListConfiguredModelAlgorithmsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/configured-model-algorithms"); 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_ListConfiguredModelAlgorithmsCommand");var se_ListMLInputChannelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/ml-input-channels"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", 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_ListMLInputChannelsCommand");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_ListTrainedModelInferenceJobsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_tMA]: [, input[_tMA]], [_tMVI]: [, input[_tMVI]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListTrainedModelInferenceJobsCommand");var se_ListTrainedModelsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-models"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", 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_ListTrainedModelsCommand");var se_ListTrainedModelVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/versions"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); const query = (0, import_smithy_client.map)({ [_nT]: [, input[_nT]], [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()], [_s]: [, input[_s]] }); let body; b.m("GET").h(headers).q(query).b(body); return b.build();}, "se_ListTrainedModelVersionsCommand");var se_ListTrainingDatasetsCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = {}; b.bp("/training-dataset"); 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_ListTrainingDatasetsCommand");var se_PutConfiguredAudienceModelPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/configured-audience-model/{configuredAudienceModelArn}/policy"); b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configuredAudienceModelPolicy: [], policyExistenceCondition: [], previousPolicyHash: [] }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutConfiguredAudienceModelPolicyCommand");var se_PutMLConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/memberships/{membershipIdentifier}/ml-configurations"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { defaultOutputLocation: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "defaultOutputLocation") }) ); b.m("PUT").h(headers).b(body); return b.build();}, "se_PutMLConfigurationCommand");var se_StartAudienceExportJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/audience-export-job"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { audienceGenerationJobArn: [], audienceSize: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "audienceSize"), description: [], name: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartAudienceExportJobCommand");var se_StartAudienceGenerationJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/audience-generation-job"); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { collaborationId: [], configuredAudienceModelArn: [], description: [], includeSeedInOutput: [], name: [], seedAudience: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "seedAudience"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags") }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartAudienceGenerationJobCommand");var se_StartTrainedModelExportJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/export-jobs"); b.p("trainedModelArn", () => input.trainedModelArn, "{trainedModelArn}", false); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { description: [], name: [], outputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfiguration"), trainedModelVersionIdentifier: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartTrainedModelExportJobCommand");var se_StartTrainedModelInferenceJobCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/memberships/{membershipIdentifier}/trained-model-inference-jobs"); b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { configuredModelAlgorithmAssociationArn: [], containerExecutionParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "containerExecutionParameters"), dataSource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataSource"), description: [], environment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "environment"), kmsKeyArn: [], name: [], outputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfiguration"), resourceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resourceConfig"), tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"), trainedModelArn: [], trainedModelVersionIdentifier: [] }) ); b.m("POST").h(headers).b(body); return b.build();}, "se_StartTrainedModelInferenceJobCommand");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_UpdateConfiguredAudienceModelCommand = /* @__PURE__ */ __name(async (input, context) => { const b = (0, import_core.requestBuilder)(input, context); const headers = { "content-type": "application/json" }; b.bp("/configured-audience-model/{configuredAudienceModelArn}"); b.p("configuredAudienceModelArn", () => input.configuredAudienceModelArn, "{configuredAudienceModelArn}", false); let body; body = JSON.stringify( (0, import_smithy_client.take)(input, { audienceModelArn: [], audienceSizeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "audienceSizeConfig"), description: [], minMatchingSeedSize: [], outputConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputConfig"), sharedAudienceMetrics: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sharedAudienceMetrics") }) ); b.m("PATCH").h(headers).b(body); return b.build();}, "se_UpdateConfiguredAudienceModelCommand");var de_CancelTrainedModelCommand = /* @__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_CancelTrainedModelCommand");var de_CancelTrainedModelInferenceJobCommand = /* @__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_CancelTrainedModelInferenceJobCommand");var de_CreateAudienceModelCommand = /* @__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, { audienceModelArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateAudienceModelCommand");var de_CreateConfiguredAudienceModelCommand = /* @__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, { configuredAudienceModelArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateConfiguredAudienceModelCommand");var de_CreateConfiguredModelAlgorithmCommand = /* @__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, { configuredModelAlgorithmArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateConfiguredModelAlgorithmCommand");var de_CreateConfiguredModelAlgorithmAssociationCommand = /* @__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, { configuredModelAlgorithmAssociationArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateConfiguredModelAlgorithmAssociationCommand");var de_CreateMLInputChannelCommand = /* @__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, { mlInputChannelArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateMLInputChannelCommand");var de_CreateTrainedModelCommand = /* @__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, { trainedModelArn: import_smithy_client.expectString, versionIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateTrainedModelCommand");var de_CreateTrainingDatasetCommand = /* @__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, { trainingDatasetArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_CreateTrainingDatasetCommand");var de_DeleteAudienceGenerationJobCommand = /* @__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_DeleteAudienceGenerationJobCommand");var de_DeleteAudienceModelCommand = /* @__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_DeleteAudienceModelCommand");var de_DeleteConfiguredAudienceModelCommand = /* @__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_DeleteConfiguredAudienceModelCommand");var de_DeleteConfiguredAudienceModelPolicyCommand = /* @__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_DeleteConfiguredAudienceModelPolicyCommand");var de_DeleteConfiguredModelAlgorithmCommand = /* @__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_DeleteConfiguredModelAlgorithmCommand");var de_DeleteConfiguredModelAlgorithmAssociationCommand = /* @__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_DeleteConfiguredModelAlgorithmAssociationCommand");var de_DeleteMLConfigurationCommand = /* @__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_DeleteMLConfigurationCommand");var de_DeleteMLInputChannelDataCommand = /* @__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_DeleteMLInputChannelDataCommand");var de_DeleteTrainedModelOutputCommand = /* @__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_DeleteTrainedModelOutputCommand");var de_DeleteTrainingDatasetCommand = /* @__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_DeleteTrainingDatasetCommand");var de_GetAudienceGenerationJobCommand = /* @__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, { audienceGenerationJobArn: import_smithy_client.expectString, collaborationId: import_smithy_client.expectString, configuredAudienceModelArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, includeSeedInOutput: import_smithy_client.expectBoolean, metrics: /* @__PURE__ */ __name((_) => de_AudienceQualityMetrics(_, context), "metrics"), name: import_smithy_client.expectString, protectedQueryIdentifier: import_smithy_client.expectString, seedAudience: import_smithy_client._json, startedBy: import_smithy_client.expectString, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, tags: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetAudienceGenerationJobCommand");var de_GetAudienceModelCommand = /* @__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, { audienceModelArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, kmsKeyArn: import_smithy_client.expectString, name: import_smithy_client.expectString, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, tags: import_smithy_client._json, trainingDataEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "trainingDataEndTime"), trainingDataStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "trainingDataStartTime"), trainingDatasetArn: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetAudienceModelCommand");var de_GetCollaborationConfiguredModelAlgorithmAssociationCommand = /* @__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, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmArn: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, privacyConfiguration: /* @__PURE__ */ __name((_) => de_PrivacyConfiguration(_, context), "privacyConfiguration"), updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetCollaborationConfiguredModelAlgorithmAssociationCommand");var de_GetCollaborationMLInputChannelCommand = /* @__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, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociations: import_smithy_client._json, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, mlInputChannelArn: import_smithy_client.expectString, name: import_smithy_client.expectString, numberOfRecords: import_smithy_client.expectLong, retentionInDays: import_smithy_client.expectInt32, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetCollaborationMLInputChannelCommand");var de_GetCollaborationTrainedModelCommand = /* @__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, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, incrementalTrainingDataChannels: import_smithy_client._json, logsStatus: import_smithy_client.expectString, logsStatusDetails: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, metricsStatus: import_smithy_client.expectString, metricsStatusDetails: import_smithy_client.expectString, name: import_smithy_client.expectString, resourceConfig: import_smithy_client._json, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, stoppingCondition: import_smithy_client._json, trainedModelArn: import_smithy_client.expectString, trainingContainerImageDigest: import_smithy_client.expectString, trainingInputMode: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"), versionIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetCollaborationTrainedModelCommand");var de_GetConfiguredAudienceModelCommand = /* @__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, { audienceModelArn: import_smithy_client.expectString, audienceSizeConfig: import_smithy_client._json, childResourceTagOnCreatePolicy: import_smithy_client.expectString, configuredAudienceModelArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, minMatchingSeedSize: import_smithy_client.expectInt32, name: import_smithy_client.expectString, outputConfig: import_smithy_client._json, sharedAudienceMetrics: import_smithy_client._json, status: import_smithy_client.expectString, tags: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetConfiguredAudienceModelCommand");var de_GetConfiguredAudienceModelPolicyCommand = /* @__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, { configuredAudienceModelArn: import_smithy_client.expectString, configuredAudienceModelPolicy: import_smithy_client.expectString, policyHash: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetConfiguredAudienceModelPolicyCommand");var de_GetConfiguredModelAlgorithmCommand = /* @__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, { configuredModelAlgorithmArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, inferenceContainerConfig: import_smithy_client._json, kmsKeyArn: import_smithy_client.expectString, name: import_smithy_client.expectString, roleArn: import_smithy_client.expectString, tags: import_smithy_client._json, trainingContainerConfig: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetConfiguredModelAlgorithmCommand");var de_GetConfiguredModelAlgorithmAssociationCommand = /* @__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, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmArn: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, privacyConfiguration: /* @__PURE__ */ __name((_) => de_PrivacyConfiguration(_, context), "privacyConfiguration"), tags: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetConfiguredModelAlgorithmAssociationCommand");var de_GetMLConfigurationCommand = /* @__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, { createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), defaultOutputLocation: import_smithy_client._json, membershipIdentifier: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetMLConfigurationCommand");var de_GetMLInputChannelCommand = /* @__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, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociations: import_smithy_client._json, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, inputChannel: import_smithy_client._json, kmsKeyArn: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, mlInputChannelArn: import_smithy_client.expectString, name: import_smithy_client.expectString, numberOfFiles: import_smithy_client.limitedParseDouble, numberOfRecords: import_smithy_client.expectLong, protectedQueryIdentifier: import_smithy_client.expectString, retentionInDays: import_smithy_client.expectInt32, sizeInGb: import_smithy_client.limitedParseDouble, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, tags: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetMLInputChannelCommand");var de_GetTrainedModelCommand = /* @__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, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), dataChannels: import_smithy_client._json, description: import_smithy_client.expectString, environment: import_smithy_client._json, hyperparameters: import_smithy_client._json, incrementalTrainingDataChannels: import_smithy_client._json, kmsKeyArn: import_smithy_client.expectString, logsStatus: import_smithy_client.expectString, logsStatusDetails: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, metricsStatus: import_smithy_client.expectString, metricsStatusDetails: import_smithy_client.expectString, name: import_smithy_client.expectString, resourceConfig: import_smithy_client._json, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, stoppingCondition: import_smithy_client._json, tags: import_smithy_client._json, trainedModelArn: import_smithy_client.expectString, trainingContainerImageDigest: import_smithy_client.expectString, trainingInputMode: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"), versionIdentifier: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_GetTrainedModelCommand");var de_GetTrainedModelInferenceJobCommand = /* @__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, { configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, containerExecutionParameters: import_smithy_client._json, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), dataSource: import_smithy_client._json, description: import_smithy_client.expectString, environment: import_smithy_client._json, inferenceContainerImageDigest: import_smithy_client.expectString, kmsKeyArn: import_smithy_client.expectString, logsStatus: import_smithy_client.expectString, logsStatusDetails: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, metricsStatus: import_smithy_client.expectString, metricsStatusDetails: import_smithy_client.expectString, name: import_smithy_client.expectString, outputConfiguration: import_smithy_client._json, resourceConfig: import_smithy_client._json, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, tags: import_smithy_client._json, trainedModelArn: import_smithy_client.expectString, trainedModelInferenceJobArn: import_smithy_client.expectString, trainedModelVersionIdentifier: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetTrainedModelInferenceJobCommand");var de_GetTrainingDatasetCommand = /* @__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, { createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, roleArn: import_smithy_client.expectString, status: import_smithy_client.expectString, tags: import_smithy_client._json, trainingData: import_smithy_client._json, trainingDatasetArn: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") }); Object.assign(contents, doc); return contents;}, "de_GetTrainingDatasetCommand");var de_ListAudienceExportJobsCommand = /* @__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, { audienceExportJobs: /* @__PURE__ */ __name((_) => de_AudienceExportJobList(_, context), "audienceExportJobs"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAudienceExportJobsCommand");var de_ListAudienceGenerationJobsCommand = /* @__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, { audienceGenerationJobs: /* @__PURE__ */ __name((_) => de_AudienceGenerationJobList(_, context), "audienceGenerationJobs"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAudienceGenerationJobsCommand");var de_ListAudienceModelsCommand = /* @__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, { audienceModels: /* @__PURE__ */ __name((_) => de_AudienceModelList(_, context), "audienceModels"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListAudienceModelsCommand");var de_ListCollaborationConfiguredModelAlgorithmAssociationsCommand = /* @__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, { collaborationConfiguredModelAlgorithmAssociations: /* @__PURE__ */ __name((_) => de_CollaborationConfiguredModelAlgorithmAssociationList(_, context), "collaborationConfiguredModelAlgorithmAssociations"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCollaborationConfiguredModelAlgorithmAssociationsCommand");var de_ListCollaborationMLInputChannelsCommand = /* @__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, { collaborationMLInputChannelsList: /* @__PURE__ */ __name((_) => de_CollaborationMLInputChannelsList(_, context), "collaborationMLInputChannelsList"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCollaborationMLInputChannelsCommand");var de_ListCollaborationTrainedModelExportJobsCommand = /* @__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, { collaborationTrainedModelExportJobs: /* @__PURE__ */ __name((_) => de_CollaborationTrainedModelExportJobList(_, context), "collaborationTrainedModelExportJobs"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCollaborationTrainedModelExportJobsCommand");var de_ListCollaborationTrainedModelInferenceJobsCommand = /* @__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, { collaborationTrainedModelInferenceJobs: /* @__PURE__ */ __name((_) => de_CollaborationTrainedModelInferenceJobList(_, context), "collaborationTrainedModelInferenceJobs"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCollaborationTrainedModelInferenceJobsCommand");var de_ListCollaborationTrainedModelsCommand = /* @__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, { collaborationTrainedModels: /* @__PURE__ */ __name((_) => de_CollaborationTrainedModelList(_, context), "collaborationTrainedModels"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListCollaborationTrainedModelsCommand");var de_ListConfiguredAudienceModelsCommand = /* @__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, { configuredAudienceModels: /* @__PURE__ */ __name((_) => de_ConfiguredAudienceModelList(_, context), "configuredAudienceModels"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListConfiguredAudienceModelsCommand");var de_ListConfiguredModelAlgorithmAssociationsCommand = /* @__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, { configuredModelAlgorithmAssociations: /* @__PURE__ */ __name((_) => de_ConfiguredModelAlgorithmAssociationList(_, context), "configuredModelAlgorithmAssociations"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListConfiguredModelAlgorithmAssociationsCommand");var de_ListConfiguredModelAlgorithmsCommand = /* @__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, { configuredModelAlgorithms: /* @__PURE__ */ __name((_) => de_ConfiguredModelAlgorithmList(_, context), "configuredModelAlgorithms"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListConfiguredModelAlgorithmsCommand");var de_ListMLInputChannelsCommand = /* @__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, { mlInputChannelsList: /* @__PURE__ */ __name((_) => de_MLInputChannelsList(_, context), "mlInputChannelsList"), nextToken: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_ListMLInputChannelsCommand");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_ListTrainedModelInferenceJobsCommand = /* @__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, trainedModelInferenceJobs: /* @__PURE__ */ __name((_) => de_TrainedModelInferenceJobList(_, context), "trainedModelInferenceJobs") }); Object.assign(contents, doc); return contents;}, "de_ListTrainedModelInferenceJobsCommand");var de_ListTrainedModelsCommand = /* @__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, trainedModels: /* @__PURE__ */ __name((_) => de_TrainedModelList(_, context), "trainedModels") }); Object.assign(contents, doc); return contents;}, "de_ListTrainedModelsCommand");var de_ListTrainedModelVersionsCommand = /* @__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, trainedModels: /* @__PURE__ */ __name((_) => de_TrainedModelList(_, context), "trainedModels") }); Object.assign(contents, doc); return contents;}, "de_ListTrainedModelVersionsCommand");var de_ListTrainingDatasetsCommand = /* @__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, trainingDatasets: /* @__PURE__ */ __name((_) => de_TrainingDatasetList(_, context), "trainingDatasets") }); Object.assign(contents, doc); return contents;}, "de_ListTrainingDatasetsCommand");var de_PutConfiguredAudienceModelPolicyCommand = /* @__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, { configuredAudienceModelPolicy: import_smithy_client.expectString, policyHash: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_PutConfiguredAudienceModelPolicyCommand");var de_PutMLConfigurationCommand = /* @__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_PutMLConfigurationCommand");var de_StartAudienceExportJobCommand = /* @__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_StartAudienceExportJobCommand");var de_StartAudienceGenerationJobCommand = /* @__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, { audienceGenerationJobArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartAudienceGenerationJobCommand");var de_StartTrainedModelExportJobCommand = /* @__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_StartTrainedModelExportJobCommand");var de_StartTrainedModelInferenceJobCommand = /* @__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, { trainedModelInferenceJobArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_StartTrainedModelInferenceJobCommand");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_UpdateConfiguredAudienceModelCommand = /* @__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, { configuredAudienceModelArn: import_smithy_client.expectString }); Object.assign(contents, doc); return contents;}, "de_UpdateConfiguredAudienceModelCommand");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.cleanroomsml#AccessDeniedException": throw await de_AccessDeniedExceptionRes(parsedOutput, context); case "ConflictException": case "com.amazonaws.cleanroomsml#ConflictException": throw await de_ConflictExceptionRes(parsedOutput, context); case "ResourceNotFoundException": case "com.amazonaws.cleanroomsml#ResourceNotFoundException": throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); case "ThrottlingException": case "com.amazonaws.cleanroomsml#ThrottlingException": throw await de_ThrottlingExceptionRes(parsedOutput, context); case "ValidationException": case "com.amazonaws.cleanroomsml#ValidationException": throw await de_ValidationExceptionRes(parsedOutput, context); case "ServiceQuotaExceededException": case "com.amazonaws.cleanroomsml#ServiceQuotaExceededException": throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context); case "InternalServiceException": case "com.amazonaws.cleanroomsml#InternalServiceException": throw await de_InternalServiceExceptionRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ output, parsedBody, errorCode }); }}, "de_CommandError");var throwDefaultError = (0, import_smithy_client.withBaseException)(CleanRoomsMLServiceException);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 }); 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_InternalServiceExceptionRes = /* @__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 InternalServiceException({ $metadata: deserializeMetadata(parsedOutput), ...contents }); return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);}, "de_InternalServiceExceptionRes");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, quotaName: import_smithy_client.expectString, quotaValue: import_smithy_client.limitedParseDouble }); 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_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 se_PrivacyConfiguration = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { policies: /* @__PURE__ */ __name((_) => se_PrivacyConfigurationPolicies(_, context), "policies") });}, "se_PrivacyConfiguration");var se_PrivacyConfigurationPolicies = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { trainedModelExports: /* @__PURE__ */ __name((_) => se_TrainedModelExportsConfigurationPolicy(_, context), "trainedModelExports"), trainedModelInferenceJobs: /* @__PURE__ */ __name((_) => se_TrainedModelInferenceJobsConfigurationPolicy(_, context), "trainedModelInferenceJobs"), trainedModels: /* @__PURE__ */ __name((_) => se_TrainedModelsConfigurationPolicy(_, context), "trainedModels") });}, "se_PrivacyConfigurationPolicies");var se_TrainedModelArtifactMaxSize = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { unit: [], value: import_smithy_client.serializeFloat });}, "se_TrainedModelArtifactMaxSize");var se_TrainedModelExportsConfigurationPolicy = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { filesToExport: import_smithy_client._json, maxSize: /* @__PURE__ */ __name((_) => se_TrainedModelExportsMaxSize(_, context), "maxSize") });}, "se_TrainedModelExportsConfigurationPolicy");var se_TrainedModelExportsMaxSize = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { unit: [], value: import_smithy_client.serializeFloat });}, "se_TrainedModelExportsMaxSize");var se_TrainedModelInferenceJobsConfigurationPolicy = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { containerLogs: import_smithy_client._json, maxOutputSize: /* @__PURE__ */ __name((_) => se_TrainedModelInferenceMaxOutputSize(_, context), "maxOutputSize") });}, "se_TrainedModelInferenceJobsConfigurationPolicy");var se_TrainedModelInferenceMaxOutputSize = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { unit: [], value: import_smithy_client.serializeFloat });}, "se_TrainedModelInferenceMaxOutputSize");var se_TrainedModelsConfigurationPolicy = /* @__PURE__ */ __name((input, context) => { return (0, import_smithy_client.take)(input, { containerLogs: import_smithy_client._json, containerMetrics: import_smithy_client._json, maxArtifactSize: /* @__PURE__ */ __name((_) => se_TrainedModelArtifactMaxSize(_, context), "maxArtifactSize") });}, "se_TrainedModelsConfigurationPolicy");var de_AudienceExportJobList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AudienceExportJobSummary(entry, context); }); return retVal;}, "de_AudienceExportJobList");var de_AudienceExportJobSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { audienceGenerationJobArn: import_smithy_client.expectString, audienceSize: import_smithy_client._json, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, outputLocation: import_smithy_client.expectString, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_AudienceExportJobSummary");var de_AudienceGenerationJobList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AudienceGenerationJobSummary(entry, context); }); return retVal;}, "de_AudienceGenerationJobList");var de_AudienceGenerationJobSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { audienceGenerationJobArn: import_smithy_client.expectString, collaborationId: import_smithy_client.expectString, configuredAudienceModelArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, startedBy: import_smithy_client.expectString, status: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_AudienceGenerationJobSummary");var de_AudienceModelList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_AudienceModelSummary(entry, context); }); return retVal;}, "de_AudienceModelList");var de_AudienceModelSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { audienceModelArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, status: import_smithy_client.expectString, trainingDatasetArn: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_AudienceModelSummary");var de_AudienceQualityMetrics = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { recallMetric: import_smithy_client.limitedParseDouble, relevanceMetrics: /* @__PURE__ */ __name((_) => de_RelevanceMetrics(_, context), "relevanceMetrics") });}, "de_AudienceQualityMetrics");var de_CollaborationConfiguredModelAlgorithmAssociationList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CollaborationConfiguredModelAlgorithmAssociationSummary(entry, context); }); return retVal;}, "de_CollaborationConfiguredModelAlgorithmAssociationList");var de_CollaborationConfiguredModelAlgorithmAssociationSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmArn: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_CollaborationConfiguredModelAlgorithmAssociationSummary");var de_CollaborationMLInputChannelsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CollaborationMLInputChannelSummary(entry, context); }); return retVal;}, "de_CollaborationMLInputChannelsList");var de_CollaborationMLInputChannelSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociations: import_smithy_client._json, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, mlInputChannelArn: import_smithy_client.expectString, name: import_smithy_client.expectString, status: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_CollaborationMLInputChannelSummary");var de_CollaborationTrainedModelExportJobList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CollaborationTrainedModelExportJobSummary(entry, context); }); return retVal;}, "de_CollaborationTrainedModelExportJobList");var de_CollaborationTrainedModelExportJobSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, outputConfiguration: import_smithy_client._json, status: import_smithy_client.expectString, statusDetails: import_smithy_client._json, trainedModelArn: import_smithy_client.expectString, trainedModelVersionIdentifier: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_CollaborationTrainedModelExportJobSummary");var de_CollaborationTrainedModelInferenceJobList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CollaborationTrainedModelInferenceJobSummary(entry, context); }); return retVal;}, "de_CollaborationTrainedModelInferenceJobList");var de_CollaborationTrainedModelInferenceJobSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, logsStatus: import_smithy_client.expectString, logsStatusDetails: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, metricsStatus: import_smithy_client.expectString, metricsStatusDetails: import_smithy_client.expectString, name: import_smithy_client.expectString, outputConfiguration: import_smithy_client._json, status: import_smithy_client.expectString, trainedModelArn: import_smithy_client.expectString, trainedModelInferenceJobArn: import_smithy_client.expectString, trainedModelVersionIdentifier: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_CollaborationTrainedModelInferenceJobSummary");var de_CollaborationTrainedModelList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_CollaborationTrainedModelSummary(entry, context); }); return retVal;}, "de_CollaborationTrainedModelList");var de_CollaborationTrainedModelSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), creatorAccountId: import_smithy_client.expectString, description: import_smithy_client.expectString, incrementalTrainingDataChannels: import_smithy_client._json, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, status: import_smithy_client.expectString, trainedModelArn: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"), versionIdentifier: import_smithy_client.expectString });}, "de_CollaborationTrainedModelSummary");var de_ConfiguredAudienceModelList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ConfiguredAudienceModelSummary(entry, context); }); return retVal;}, "de_ConfiguredAudienceModelList");var de_ConfiguredAudienceModelSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { audienceModelArn: import_smithy_client.expectString, configuredAudienceModelArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, outputConfig: import_smithy_client._json, status: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_ConfiguredAudienceModelSummary");var de_ConfiguredModelAlgorithmAssociationList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ConfiguredModelAlgorithmAssociationSummary(entry, context); }); return retVal;}, "de_ConfiguredModelAlgorithmAssociationList");var de_ConfiguredModelAlgorithmAssociationSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmArn: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_ConfiguredModelAlgorithmAssociationSummary");var de_ConfiguredModelAlgorithmList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_ConfiguredModelAlgorithmSummary(entry, context); }); return retVal;}, "de_ConfiguredModelAlgorithmList");var de_ConfiguredModelAlgorithmSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { configuredModelAlgorithmArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_ConfiguredModelAlgorithmSummary");var de_MLInputChannelsList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_MLInputChannelSummary(entry, context); }); return retVal;}, "de_MLInputChannelsList");var de_MLInputChannelSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociations: import_smithy_client._json, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, mlInputChannelArn: import_smithy_client.expectString, name: import_smithy_client.expectString, protectedQueryIdentifier: import_smithy_client.expectString, status: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_MLInputChannelSummary");var de_PrivacyConfiguration = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { policies: /* @__PURE__ */ __name((_) => de_PrivacyConfigurationPolicies(_, context), "policies") });}, "de_PrivacyConfiguration");var de_PrivacyConfigurationPolicies = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { trainedModelExports: /* @__PURE__ */ __name((_) => de_TrainedModelExportsConfigurationPolicy(_, context), "trainedModelExports"), trainedModelInferenceJobs: /* @__PURE__ */ __name((_) => de_TrainedModelInferenceJobsConfigurationPolicy(_, context), "trainedModelInferenceJobs"), trainedModels: /* @__PURE__ */ __name((_) => de_TrainedModelsConfigurationPolicy(_, context), "trainedModels") });}, "de_PrivacyConfigurationPolicies");var de_RelevanceMetric = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { audienceSize: import_smithy_client._json, score: import_smithy_client.limitedParseDouble });}, "de_RelevanceMetric");var de_RelevanceMetrics = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_RelevanceMetric(entry, context); }); return retVal;}, "de_RelevanceMetrics");var de_TrainedModelArtifactMaxSize = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { unit: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_TrainedModelArtifactMaxSize");var de_TrainedModelExportsConfigurationPolicy = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { filesToExport: import_smithy_client._json, maxSize: /* @__PURE__ */ __name((_) => de_TrainedModelExportsMaxSize(_, context), "maxSize") });}, "de_TrainedModelExportsConfigurationPolicy");var de_TrainedModelExportsMaxSize = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { unit: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_TrainedModelExportsMaxSize");var de_TrainedModelInferenceJobList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TrainedModelInferenceJobSummary(entry, context); }); return retVal;}, "de_TrainedModelInferenceJobList");var de_TrainedModelInferenceJobsConfigurationPolicy = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { containerLogs: import_smithy_client._json, maxOutputSize: /* @__PURE__ */ __name((_) => de_TrainedModelInferenceMaxOutputSize(_, context), "maxOutputSize") });}, "de_TrainedModelInferenceJobsConfigurationPolicy");var de_TrainedModelInferenceJobSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, logsStatus: import_smithy_client.expectString, logsStatusDetails: import_smithy_client.expectString, membershipIdentifier: import_smithy_client.expectString, metricsStatus: import_smithy_client.expectString, metricsStatusDetails: import_smithy_client.expectString, name: import_smithy_client.expectString, outputConfiguration: import_smithy_client._json, status: import_smithy_client.expectString, trainedModelArn: import_smithy_client.expectString, trainedModelInferenceJobArn: import_smithy_client.expectString, trainedModelVersionIdentifier: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_TrainedModelInferenceJobSummary");var de_TrainedModelInferenceMaxOutputSize = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { unit: import_smithy_client.expectString, value: import_smithy_client.limitedParseDouble });}, "de_TrainedModelInferenceMaxOutputSize");var de_TrainedModelList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TrainedModelSummary(entry, context); }); return retVal;}, "de_TrainedModelList");var de_TrainedModelsConfigurationPolicy = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { containerLogs: import_smithy_client._json, containerMetrics: import_smithy_client._json, maxArtifactSize: /* @__PURE__ */ __name((_) => de_TrainedModelArtifactMaxSize(_, context), "maxArtifactSize") });}, "de_TrainedModelsConfigurationPolicy");var de_TrainedModelSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { collaborationIdentifier: import_smithy_client.expectString, configuredModelAlgorithmAssociationArn: import_smithy_client.expectString, createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, incrementalTrainingDataChannels: import_smithy_client._json, membershipIdentifier: import_smithy_client.expectString, name: import_smithy_client.expectString, status: import_smithy_client.expectString, trainedModelArn: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime"), versionIdentifier: import_smithy_client.expectString });}, "de_TrainedModelSummary");var de_TrainingDatasetList = /* @__PURE__ */ __name((output, context) => { const retVal = (output || []).filter((e) => e != null).map((entry) => { return de_TrainingDatasetSummary(entry, context); }); return retVal;}, "de_TrainingDatasetList");var de_TrainingDatasetSummary = /* @__PURE__ */ __name((output, context) => { return (0, import_smithy_client.take)(output, { createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createTime"), description: import_smithy_client.expectString, name: import_smithy_client.expectString, status: import_smithy_client.expectString, trainingDatasetArn: import_smithy_client.expectString, updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updateTime") });}, "de_TrainingDatasetSummary");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 _aGJA = "audienceGenerationJobArn";var _cAMA = "configuredAudienceModelArn";var _cI = "collaborationId";var _mR = "maxResults";var _nT = "nextToken";var _s = "status";var _tK = "tagKeys";var _tMA = "trainedModelArn";var _tMVI = "trainedModelVersionIdentifier";var _vI = "versionIdentifier"; // src/commands/CancelTrainedModelCommand.tsvar CancelTrainedModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CancelTrainedModel", {}).n("CleanRoomsMLClient", "CancelTrainedModelCommand").f(void 0, void 0).ser(se_CancelTrainedModelCommand).de(de_CancelTrainedModelCommand).build() { static { __name(this, "CancelTrainedModelCommand"); }}; // src/commands/CancelTrainedModelInferenceJobCommand.ts var CancelTrainedModelInferenceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CancelTrainedModelInferenceJob", {}).n("CleanRoomsMLClient", "CancelTrainedModelInferenceJobCommand").f(void 0, void 0).ser(se_CancelTrainedModelInferenceJobCommand).de(de_CancelTrainedModelInferenceJobCommand).build() { static { __name(this, "CancelTrainedModelInferenceJobCommand"); }}; // src/commands/CreateAudienceModelCommand.ts var CreateAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateAudienceModel", {}).n("CleanRoomsMLClient", "CreateAudienceModelCommand").f(void 0, void 0).ser(se_CreateAudienceModelCommand).de(de_CreateAudienceModelCommand).build() { static { __name(this, "CreateAudienceModelCommand"); }}; // src/commands/CreateConfiguredAudienceModelCommand.ts var CreateConfiguredAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateConfiguredAudienceModel", {}).n("CleanRoomsMLClient", "CreateConfiguredAudienceModelCommand").f(void 0, void 0).ser(se_CreateConfiguredAudienceModelCommand).de(de_CreateConfiguredAudienceModelCommand).build() { static { __name(this, "CreateConfiguredAudienceModelCommand"); }}; // src/commands/CreateConfiguredModelAlgorithmAssociationCommand.ts var CreateConfiguredModelAlgorithmAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateConfiguredModelAlgorithmAssociation", {}).n("CleanRoomsMLClient", "CreateConfiguredModelAlgorithmAssociationCommand").f(void 0, void 0).ser(se_CreateConfiguredModelAlgorithmAssociationCommand).de(de_CreateConfiguredModelAlgorithmAssociationCommand).build() { static { __name(this, "CreateConfiguredModelAlgorithmAssociationCommand"); }}; // src/commands/CreateConfiguredModelAlgorithmCommand.ts var CreateConfiguredModelAlgorithmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateConfiguredModelAlgorithm", {}).n("CleanRoomsMLClient", "CreateConfiguredModelAlgorithmCommand").f(void 0, void 0).ser(se_CreateConfiguredModelAlgorithmCommand).de(de_CreateConfiguredModelAlgorithmCommand).build() { static { __name(this, "CreateConfiguredModelAlgorithmCommand"); }}; // src/commands/CreateMLInputChannelCommand.ts var CreateMLInputChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateMLInputChannel", {}).n("CleanRoomsMLClient", "CreateMLInputChannelCommand").f(CreateMLInputChannelRequestFilterSensitiveLog, void 0).ser(se_CreateMLInputChannelCommand).de(de_CreateMLInputChannelCommand).build() { static { __name(this, "CreateMLInputChannelCommand"); }}; // src/commands/CreateTrainedModelCommand.ts var CreateTrainedModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateTrainedModel", {}).n("CleanRoomsMLClient", "CreateTrainedModelCommand").f(void 0, void 0).ser(se_CreateTrainedModelCommand).de(de_CreateTrainedModelCommand).build() { static { __name(this, "CreateTrainedModelCommand"); }}; // src/commands/CreateTrainingDatasetCommand.ts var CreateTrainingDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "CreateTrainingDataset", {}).n("CleanRoomsMLClient", "CreateTrainingDatasetCommand").f(void 0, void 0).ser(se_CreateTrainingDatasetCommand).de(de_CreateTrainingDatasetCommand).build() { static { __name(this, "CreateTrainingDatasetCommand"); }}; // src/commands/DeleteAudienceGenerationJobCommand.ts var DeleteAudienceGenerationJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteAudienceGenerationJob", {}).n("CleanRoomsMLClient", "DeleteAudienceGenerationJobCommand").f(void 0, void 0).ser(se_DeleteAudienceGenerationJobCommand).de(de_DeleteAudienceGenerationJobCommand).build() { static { __name(this, "DeleteAudienceGenerationJobCommand"); }}; // src/commands/DeleteAudienceModelCommand.ts var DeleteAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteAudienceModel", {}).n("CleanRoomsMLClient", "DeleteAudienceModelCommand").f(void 0, void 0).ser(se_DeleteAudienceModelCommand).de(de_DeleteAudienceModelCommand).build() { static { __name(this, "DeleteAudienceModelCommand"); }}; // src/commands/DeleteConfiguredAudienceModelCommand.ts var DeleteConfiguredAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteConfiguredAudienceModel", {}).n("CleanRoomsMLClient", "DeleteConfiguredAudienceModelCommand").f(void 0, void 0).ser(se_DeleteConfiguredAudienceModelCommand).de(de_DeleteConfiguredAudienceModelCommand).build() { static { __name(this, "DeleteConfiguredAudienceModelCommand"); }}; // src/commands/DeleteConfiguredAudienceModelPolicyCommand.ts var DeleteConfiguredAudienceModelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteConfiguredAudienceModelPolicy", {}).n("CleanRoomsMLClient", "DeleteConfiguredAudienceModelPolicyCommand").f(void 0, void 0).ser(se_DeleteConfiguredAudienceModelPolicyCommand).de(de_DeleteConfiguredAudienceModelPolicyCommand).build() { static { __name(this, "DeleteConfiguredAudienceModelPolicyCommand"); }}; // src/commands/DeleteConfiguredModelAlgorithmAssociationCommand.ts var DeleteConfiguredModelAlgorithmAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteConfiguredModelAlgorithmAssociation", {}).n("CleanRoomsMLClient", "DeleteConfiguredModelAlgorithmAssociationCommand").f(void 0, void 0).ser(se_DeleteConfiguredModelAlgorithmAssociationCommand).de(de_DeleteConfiguredModelAlgorithmAssociationCommand).build() { static { __name(this, "DeleteConfiguredModelAlgorithmAssociationCommand"); }}; // src/commands/DeleteConfiguredModelAlgorithmCommand.ts var DeleteConfiguredModelAlgorithmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteConfiguredModelAlgorithm", {}).n("CleanRoomsMLClient", "DeleteConfiguredModelAlgorithmCommand").f(void 0, void 0).ser(se_DeleteConfiguredModelAlgorithmCommand).de(de_DeleteConfiguredModelAlgorithmCommand).build() { static { __name(this, "DeleteConfiguredModelAlgorithmCommand"); }}; // src/commands/DeleteMLConfigurationCommand.ts var DeleteMLConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteMLConfiguration", {}).n("CleanRoomsMLClient", "DeleteMLConfigurationCommand").f(void 0, void 0).ser(se_DeleteMLConfigurationCommand).de(de_DeleteMLConfigurationCommand).build() { static { __name(this, "DeleteMLConfigurationCommand"); }}; // src/commands/DeleteMLInputChannelDataCommand.ts var DeleteMLInputChannelDataCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteMLInputChannelData", {}).n("CleanRoomsMLClient", "DeleteMLInputChannelDataCommand").f(void 0, void 0).ser(se_DeleteMLInputChannelDataCommand).de(de_DeleteMLInputChannelDataCommand).build() { static { __name(this, "DeleteMLInputChannelDataCommand"); }}; // src/commands/DeleteTrainedModelOutputCommand.ts var DeleteTrainedModelOutputCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteTrainedModelOutput", {}).n("CleanRoomsMLClient", "DeleteTrainedModelOutputCommand").f(void 0, void 0).ser(se_DeleteTrainedModelOutputCommand).de(de_DeleteTrainedModelOutputCommand).build() { static { __name(this, "DeleteTrainedModelOutputCommand"); }}; // src/commands/DeleteTrainingDatasetCommand.ts var DeleteTrainingDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "DeleteTrainingDataset", {}).n("CleanRoomsMLClient", "DeleteTrainingDatasetCommand").f(void 0, void 0).ser(se_DeleteTrainingDatasetCommand).de(de_DeleteTrainingDatasetCommand).build() { static { __name(this, "DeleteTrainingDatasetCommand"); }}; // src/commands/GetAudienceGenerationJobCommand.ts var GetAudienceGenerationJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetAudienceGenerationJob", {}).n("CleanRoomsMLClient", "GetAudienceGenerationJobCommand").f(void 0, GetAudienceGenerationJobResponseFilterSensitiveLog).ser(se_GetAudienceGenerationJobCommand).de(de_GetAudienceGenerationJobCommand).build() { static { __name(this, "GetAudienceGenerationJobCommand"); }}; // src/commands/GetAudienceModelCommand.ts var GetAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetAudienceModel", {}).n("CleanRoomsMLClient", "GetAudienceModelCommand").f(void 0, void 0).ser(se_GetAudienceModelCommand).de(de_GetAudienceModelCommand).build() { static { __name(this, "GetAudienceModelCommand"); }}; // src/commands/GetCollaborationConfiguredModelAlgorithmAssociationCommand.ts var GetCollaborationConfiguredModelAlgorithmAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetCollaborationConfiguredModelAlgorithmAssociation", {}).n("CleanRoomsMLClient", "GetCollaborationConfiguredModelAlgorithmAssociationCommand").f(void 0, void 0).ser(se_GetCollaborationConfiguredModelAlgorithmAssociationCommand).de(de_GetCollaborationConfiguredModelAlgorithmAssociationCommand).build() { static { __name(this, "GetCollaborationConfiguredModelAlgorithmAssociationCommand"); }}; // src/commands/GetCollaborationMLInputChannelCommand.ts var GetCollaborationMLInputChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetCollaborationMLInputChannel", {}).n("CleanRoomsMLClient", "GetCollaborationMLInputChannelCommand").f(void 0, void 0).ser(se_GetCollaborationMLInputChannelCommand).de(de_GetCollaborationMLInputChannelCommand).build() { static { __name(this, "GetCollaborationMLInputChannelCommand"); }}; // src/commands/GetCollaborationTrainedModelCommand.ts var GetCollaborationTrainedModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetCollaborationTrainedModel", {}).n("CleanRoomsMLClient", "GetCollaborationTrainedModelCommand").f(void 0, void 0).ser(se_GetCollaborationTrainedModelCommand).de(de_GetCollaborationTrainedModelCommand).build() { static { __name(this, "GetCollaborationTrainedModelCommand"); }}; // src/commands/GetConfiguredAudienceModelCommand.ts var GetConfiguredAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetConfiguredAudienceModel", {}).n("CleanRoomsMLClient", "GetConfiguredAudienceModelCommand").f(void 0, void 0).ser(se_GetConfiguredAudienceModelCommand).de(de_GetConfiguredAudienceModelCommand).build() { static { __name(this, "GetConfiguredAudienceModelCommand"); }}; // src/commands/GetConfiguredAudienceModelPolicyCommand.ts var GetConfiguredAudienceModelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetConfiguredAudienceModelPolicy", {}).n("CleanRoomsMLClient", "GetConfiguredAudienceModelPolicyCommand").f(void 0, void 0).ser(se_GetConfiguredAudienceModelPolicyCommand).de(de_GetConfiguredAudienceModelPolicyCommand).build() { static { __name(this, "GetConfiguredAudienceModelPolicyCommand"); }}; // src/commands/GetConfiguredModelAlgorithmAssociationCommand.ts var GetConfiguredModelAlgorithmAssociationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetConfiguredModelAlgorithmAssociation", {}).n("CleanRoomsMLClient", "GetConfiguredModelAlgorithmAssociationCommand").f(void 0, void 0).ser(se_GetConfiguredModelAlgorithmAssociationCommand).de(de_GetConfiguredModelAlgorithmAssociationCommand).build() { static { __name(this, "GetConfiguredModelAlgorithmAssociationCommand"); }}; // src/commands/GetConfiguredModelAlgorithmCommand.ts var GetConfiguredModelAlgorithmCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetConfiguredModelAlgorithm", {}).n("CleanRoomsMLClient", "GetConfiguredModelAlgorithmCommand").f(void 0, void 0).ser(se_GetConfiguredModelAlgorithmCommand).de(de_GetConfiguredModelAlgorithmCommand).build() { static { __name(this, "GetConfiguredModelAlgorithmCommand"); }}; // src/commands/GetMLConfigurationCommand.ts var GetMLConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetMLConfiguration", {}).n("CleanRoomsMLClient", "GetMLConfigurationCommand").f(void 0, void 0).ser(se_GetMLConfigurationCommand).de(de_GetMLConfigurationCommand).build() { static { __name(this, "GetMLConfigurationCommand"); }}; // src/commands/GetMLInputChannelCommand.ts var GetMLInputChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetMLInputChannel", {}).n("CleanRoomsMLClient", "GetMLInputChannelCommand").f(void 0, GetMLInputChannelResponseFilterSensitiveLog).ser(se_GetMLInputChannelCommand).de(de_GetMLInputChannelCommand).build() { static { __name(this, "GetMLInputChannelCommand"); }}; // src/commands/GetTrainedModelCommand.ts var GetTrainedModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetTrainedModel", {}).n("CleanRoomsMLClient", "GetTrainedModelCommand").f(void 0, void 0).ser(se_GetTrainedModelCommand).de(de_GetTrainedModelCommand).build() { static { __name(this, "GetTrainedModelCommand"); }}; // src/commands/GetTrainedModelInferenceJobCommand.ts var GetTrainedModelInferenceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetTrainedModelInferenceJob", {}).n("CleanRoomsMLClient", "GetTrainedModelInferenceJobCommand").f(void 0, void 0).ser(se_GetTrainedModelInferenceJobCommand).de(de_GetTrainedModelInferenceJobCommand).build() { static { __name(this, "GetTrainedModelInferenceJobCommand"); }}; // src/commands/GetTrainingDatasetCommand.ts var GetTrainingDatasetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "GetTrainingDataset", {}).n("CleanRoomsMLClient", "GetTrainingDatasetCommand").f(void 0, void 0).ser(se_GetTrainingDatasetCommand).de(de_GetTrainingDatasetCommand).build() { static { __name(this, "GetTrainingDatasetCommand"); }}; // src/commands/ListAudienceExportJobsCommand.ts var ListAudienceExportJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListAudienceExportJobs", {}).n("CleanRoomsMLClient", "ListAudienceExportJobsCommand").f(void 0, void 0).ser(se_ListAudienceExportJobsCommand).de(de_ListAudienceExportJobsCommand).build() { static { __name(this, "ListAudienceExportJobsCommand"); }}; // src/commands/ListAudienceGenerationJobsCommand.ts var ListAudienceGenerationJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListAudienceGenerationJobs", {}).n("CleanRoomsMLClient", "ListAudienceGenerationJobsCommand").f(void 0, void 0).ser(se_ListAudienceGenerationJobsCommand).de(de_ListAudienceGenerationJobsCommand).build() { static { __name(this, "ListAudienceGenerationJobsCommand"); }}; // src/commands/ListAudienceModelsCommand.ts var ListAudienceModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListAudienceModels", {}).n("CleanRoomsMLClient", "ListAudienceModelsCommand").f(void 0, void 0).ser(se_ListAudienceModelsCommand).de(de_ListAudienceModelsCommand).build() { static { __name(this, "ListAudienceModelsCommand"); }}; // src/commands/ListCollaborationConfiguredModelAlgorithmAssociationsCommand.ts var ListCollaborationConfiguredModelAlgorithmAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListCollaborationConfiguredModelAlgorithmAssociations", {}).n("CleanRoomsMLClient", "ListCollaborationConfiguredModelAlgorithmAssociationsCommand").f(void 0, void 0).ser(se_ListCollaborationConfiguredModelAlgorithmAssociationsCommand).de(de_ListCollaborationConfiguredModelAlgorithmAssociationsCommand).build() { static { __name(this, "ListCollaborationConfiguredModelAlgorithmAssociationsCommand"); }}; // src/commands/ListCollaborationMLInputChannelsCommand.ts var ListCollaborationMLInputChannelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListCollaborationMLInputChannels", {}).n("CleanRoomsMLClient", "ListCollaborationMLInputChannelsCommand").f(void 0, void 0).ser(se_ListCollaborationMLInputChannelsCommand).de(de_ListCollaborationMLInputChannelsCommand).build() { static { __name(this, "ListCollaborationMLInputChannelsCommand"); }}; // src/commands/ListCollaborationTrainedModelExportJobsCommand.ts var ListCollaborationTrainedModelExportJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListCollaborationTrainedModelExportJobs", {}).n("CleanRoomsMLClient", "ListCollaborationTrainedModelExportJobsCommand").f(void 0, void 0).ser(se_ListCollaborationTrainedModelExportJobsCommand).de(de_ListCollaborationTrainedModelExportJobsCommand).build() { static { __name(this, "ListCollaborationTrainedModelExportJobsCommand"); }}; // src/commands/ListCollaborationTrainedModelInferenceJobsCommand.ts var ListCollaborationTrainedModelInferenceJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListCollaborationTrainedModelInferenceJobs", {}).n("CleanRoomsMLClient", "ListCollaborationTrainedModelInferenceJobsCommand").f(void 0, void 0).ser(se_ListCollaborationTrainedModelInferenceJobsCommand).de(de_ListCollaborationTrainedModelInferenceJobsCommand).build() { static { __name(this, "ListCollaborationTrainedModelInferenceJobsCommand"); }}; // src/commands/ListCollaborationTrainedModelsCommand.ts var ListCollaborationTrainedModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListCollaborationTrainedModels", {}).n("CleanRoomsMLClient", "ListCollaborationTrainedModelsCommand").f(void 0, void 0).ser(se_ListCollaborationTrainedModelsCommand).de(de_ListCollaborationTrainedModelsCommand).build() { static { __name(this, "ListCollaborationTrainedModelsCommand"); }}; // src/commands/ListConfiguredAudienceModelsCommand.ts var ListConfiguredAudienceModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListConfiguredAudienceModels", {}).n("CleanRoomsMLClient", "ListConfiguredAudienceModelsCommand").f(void 0, void 0).ser(se_ListConfiguredAudienceModelsCommand).de(de_ListConfiguredAudienceModelsCommand).build() { static { __name(this, "ListConfiguredAudienceModelsCommand"); }}; // src/commands/ListConfiguredModelAlgorithmAssociationsCommand.ts var ListConfiguredModelAlgorithmAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListConfiguredModelAlgorithmAssociations", {}).n("CleanRoomsMLClient", "ListConfiguredModelAlgorithmAssociationsCommand").f(void 0, void 0).ser(se_ListConfiguredModelAlgorithmAssociationsCommand).de(de_ListConfiguredModelAlgorithmAssociationsCommand).build() { static { __name(this, "ListConfiguredModelAlgorithmAssociationsCommand"); }}; // src/commands/ListConfiguredModelAlgorithmsCommand.ts var ListConfiguredModelAlgorithmsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListConfiguredModelAlgorithms", {}).n("CleanRoomsMLClient", "ListConfiguredModelAlgorithmsCommand").f(void 0, void 0).ser(se_ListConfiguredModelAlgorithmsCommand).de(de_ListConfiguredModelAlgorithmsCommand).build() { static { __name(this, "ListConfiguredModelAlgorithmsCommand"); }}; // src/commands/ListMLInputChannelsCommand.ts var ListMLInputChannelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListMLInputChannels", {}).n("CleanRoomsMLClient", "ListMLInputChannelsCommand").f(void 0, void 0).ser(se_ListMLInputChannelsCommand).de(de_ListMLInputChannelsCommand).build() { static { __name(this, "ListMLInputChannelsCommand"); }}; // 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("AWSStarkControlService", "ListTagsForResource", {}).n("CleanRoomsMLClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() { static { __name(this, "ListTagsForResourceCommand"); }}; // src/commands/ListTrainedModelInferenceJobsCommand.ts var ListTrainedModelInferenceJobsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListTrainedModelInferenceJobs", {}).n("CleanRoomsMLClient", "ListTrainedModelInferenceJobsCommand").f(void 0, void 0).ser(se_ListTrainedModelInferenceJobsCommand).de(de_ListTrainedModelInferenceJobsCommand).build() { static { __name(this, "ListTrainedModelInferenceJobsCommand"); }}; // src/commands/ListTrainedModelsCommand.ts var ListTrainedModelsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListTrainedModels", {}).n("CleanRoomsMLClient", "ListTrainedModelsCommand").f(void 0, void 0).ser(se_ListTrainedModelsCommand).de(de_ListTrainedModelsCommand).build() { static { __name(this, "ListTrainedModelsCommand"); }}; // src/commands/ListTrainedModelVersionsCommand.ts var ListTrainedModelVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListTrainedModelVersions", {}).n("CleanRoomsMLClient", "ListTrainedModelVersionsCommand").f(void 0, void 0).ser(se_ListTrainedModelVersionsCommand).de(de_ListTrainedModelVersionsCommand).build() { static { __name(this, "ListTrainedModelVersionsCommand"); }}; // src/commands/ListTrainingDatasetsCommand.ts var ListTrainingDatasetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "ListTrainingDatasets", {}).n("CleanRoomsMLClient", "ListTrainingDatasetsCommand").f(void 0, void 0).ser(se_ListTrainingDatasetsCommand).de(de_ListTrainingDatasetsCommand).build() { static { __name(this, "ListTrainingDatasetsCommand"); }}; // src/commands/PutConfiguredAudienceModelPolicyCommand.ts var PutConfiguredAudienceModelPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "PutConfiguredAudienceModelPolicy", {}).n("CleanRoomsMLClient", "PutConfiguredAudienceModelPolicyCommand").f(void 0, void 0).ser(se_PutConfiguredAudienceModelPolicyCommand).de(de_PutConfiguredAudienceModelPolicyCommand).build() { static { __name(this, "PutConfiguredAudienceModelPolicyCommand"); }}; // src/commands/PutMLConfigurationCommand.ts var PutMLConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "PutMLConfiguration", {}).n("CleanRoomsMLClient", "PutMLConfigurationCommand").f(void 0, void 0).ser(se_PutMLConfigurationCommand).de(de_PutMLConfigurationCommand).build() { static { __name(this, "PutMLConfigurationCommand"); }}; // src/commands/StartAudienceExportJobCommand.ts var StartAudienceExportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "StartAudienceExportJob", {}).n("CleanRoomsMLClient", "StartAudienceExportJobCommand").f(void 0, void 0).ser(se_StartAudienceExportJobCommand).de(de_StartAudienceExportJobCommand).build() { static { __name(this, "StartAudienceExportJobCommand"); }}; // src/commands/StartAudienceGenerationJobCommand.ts var StartAudienceGenerationJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "StartAudienceGenerationJob", {}).n("CleanRoomsMLClient", "StartAudienceGenerationJobCommand").f(StartAudienceGenerationJobRequestFilterSensitiveLog, void 0).ser(se_StartAudienceGenerationJobCommand).de(de_StartAudienceGenerationJobCommand).build() { static { __name(this, "StartAudienceGenerationJobCommand"); }}; // src/commands/StartTrainedModelExportJobCommand.ts var StartTrainedModelExportJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "StartTrainedModelExportJob", {}).n("CleanRoomsMLClient", "StartTrainedModelExportJobCommand").f(void 0, void 0).ser(se_StartTrainedModelExportJobCommand).de(de_StartTrainedModelExportJobCommand).build() { static { __name(this, "StartTrainedModelExportJobCommand"); }}; // src/commands/StartTrainedModelInferenceJobCommand.ts var StartTrainedModelInferenceJobCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "StartTrainedModelInferenceJob", {}).n("CleanRoomsMLClient", "StartTrainedModelInferenceJobCommand").f(void 0, void 0).ser(se_StartTrainedModelInferenceJobCommand).de(de_StartTrainedModelInferenceJobCommand).build() { static { __name(this, "StartTrainedModelInferenceJobCommand"); }}; // 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("AWSStarkControlService", "TagResource", {}).n("CleanRoomsMLClient", "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("AWSStarkControlService", "UntagResource", {}).n("CleanRoomsMLClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() { static { __name(this, "UntagResourceCommand"); }}; // src/commands/UpdateConfiguredAudienceModelCommand.ts var UpdateConfiguredAudienceModelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { return [ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) ];}).s("AWSStarkControlService", "UpdateConfiguredAudienceModel", {}).n("CleanRoomsMLClient", "UpdateConfiguredAudienceModelCommand").f(void 0, void 0).ser(se_UpdateConfiguredAudienceModelCommand).de(de_UpdateConfiguredAudienceModelCommand).build() { static { __name(this, "UpdateConfiguredAudienceModelCommand"); }}; // src/CleanRoomsML.tsvar commands = { CancelTrainedModelCommand, CancelTrainedModelInferenceJobCommand, CreateAudienceModelCommand, CreateConfiguredAudienceModelCommand, CreateConfiguredModelAlgorithmCommand, CreateConfiguredModelAlgorithmAssociationCommand, CreateMLInputChannelCommand, CreateTrainedModelCommand, CreateTrainingDatasetCommand, DeleteAudienceGenerationJobCommand, DeleteAudienceModelCommand, DeleteConfiguredAudienceModelCommand, DeleteConfiguredAudienceModelPolicyCommand, DeleteConfiguredModelAlgorithmCommand, DeleteConfiguredModelAlgorithmAssociationCommand, DeleteMLConfigurationCommand, DeleteMLInputChannelDataCommand, DeleteTrainedModelOutputCommand, DeleteTrainingDatasetCommand, GetAudienceGenerationJobCommand, GetAudienceModelCommand, GetCollaborationConfiguredModelAlgorithmAssociationCommand, GetCollaborationMLInputChannelCommand, GetCollaborationTrainedModelCommand, GetConfiguredAudienceModelCommand, GetConfiguredAudienceModelPolicyCommand, GetConfiguredModelAlgorithmCommand, GetConfiguredModelAlgorithmAssociationCommand, GetMLConfigurationCommand, GetMLInputChannelCommand, GetTrainedModelCommand, GetTrainedModelInferenceJobCommand, GetTrainingDatasetCommand, ListAudienceExportJobsCommand, ListAudienceGenerationJobsCommand, ListAudienceModelsCommand, ListCollaborationConfiguredModelAlgorithmAssociationsCommand, ListCollaborationMLInputChannelsCommand, ListCollaborationTrainedModelExportJobsCommand, ListCollaborationTrainedModelInferenceJobsCommand, ListCollaborationTrainedModelsCommand, ListConfiguredAudienceModelsCommand, ListConfiguredModelAlgorithmAssociationsCommand, ListConfiguredModelAlgorithmsCommand, ListMLInputChannelsCommand, ListTagsForResourceCommand, ListTrainedModelInferenceJobsCommand, ListTrainedModelsCommand, ListTrainedModelVersionsCommand, ListTrainingDatasetsCommand, PutConfiguredAudienceModelPolicyCommand, PutMLConfigurationCommand, StartAudienceExportJobCommand, StartAudienceGenerationJobCommand, StartTrainedModelExportJobCommand, StartTrainedModelInferenceJobCommand, TagResourceCommand, UntagResourceCommand, UpdateConfiguredAudienceModelCommand};var CleanRoomsML = class extends CleanRoomsMLClient { static { __name(this, "CleanRoomsML"); }};(0, import_smithy_client.createAggregatedClient)(commands, CleanRoomsML); // src/pagination/ListAudienceExportJobsPaginator.ts var paginateListAudienceExportJobs = (0, import_core.createPaginator)(CleanRoomsMLClient, ListAudienceExportJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListAudienceGenerationJobsPaginator.ts var paginateListAudienceGenerationJobs = (0, import_core.createPaginator)(CleanRoomsMLClient, ListAudienceGenerationJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListAudienceModelsPaginator.ts var paginateListAudienceModels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListAudienceModelsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListCollaborationConfiguredModelAlgorithmAssociationsPaginator.ts var paginateListCollaborationConfiguredModelAlgorithmAssociations = (0, import_core.createPaginator)( CleanRoomsMLClient, ListCollaborationConfiguredModelAlgorithmAssociationsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListCollaborationMLInputChannelsPaginator.ts var paginateListCollaborationMLInputChannels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListCollaborationMLInputChannelsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListCollaborationTrainedModelExportJobsPaginator.ts var paginateListCollaborationTrainedModelExportJobs = (0, import_core.createPaginator)(CleanRoomsMLClient, ListCollaborationTrainedModelExportJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListCollaborationTrainedModelInferenceJobsPaginator.ts var paginateListCollaborationTrainedModelInferenceJobs = (0, import_core.createPaginator)(CleanRoomsMLClient, ListCollaborationTrainedModelInferenceJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListCollaborationTrainedModelsPaginator.ts var paginateListCollaborationTrainedModels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListCollaborationTrainedModelsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListConfiguredAudienceModelsPaginator.ts var paginateListConfiguredAudienceModels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListConfiguredAudienceModelsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListConfiguredModelAlgorithmAssociationsPaginator.ts var paginateListConfiguredModelAlgorithmAssociations = (0, import_core.createPaginator)(CleanRoomsMLClient, ListConfiguredModelAlgorithmAssociationsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListConfiguredModelAlgorithmsPaginator.ts var paginateListConfiguredModelAlgorithms = (0, import_core.createPaginator)(CleanRoomsMLClient, ListConfiguredModelAlgorithmsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListMLInputChannelsPaginator.ts var paginateListMLInputChannels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListMLInputChannelsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTrainedModelInferenceJobsPaginator.ts var paginateListTrainedModelInferenceJobs = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainedModelInferenceJobsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTrainedModelVersionsPaginator.ts var paginateListTrainedModelVersions = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainedModelVersionsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTrainedModelsPaginator.ts var paginateListTrainedModels = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainedModelsCommand, "nextToken", "nextToken", "maxResults"); // src/pagination/ListTrainingDatasetsPaginator.ts var paginateListTrainingDatasets = (0, import_core.createPaginator)(CleanRoomsMLClient, ListTrainingDatasetsCommand, "nextToken", "nextToken", "maxResults");// Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { CleanRoomsMLServiceException, __Client, CleanRoomsMLClient, CleanRoomsML, $Command, CancelTrainedModelCommand, CancelTrainedModelInferenceJobCommand, CreateAudienceModelCommand, CreateConfiguredAudienceModelCommand, CreateConfiguredModelAlgorithmAssociationCommand, CreateConfiguredModelAlgorithmCommand, CreateMLInputChannelCommand, CreateTrainedModelCommand, CreateTrainingDatasetCommand, DeleteAudienceGenerationJobCommand, DeleteAudienceModelCommand, DeleteConfiguredAudienceModelCommand, DeleteConfiguredAudienceModelPolicyCommand, DeleteConfiguredModelAlgorithmAssociationCommand, DeleteConfiguredModelAlgorithmCommand, DeleteMLConfigurationCommand, DeleteMLInputChannelDataCommand, DeleteTrainedModelOutputCommand, DeleteTrainingDatasetCommand, GetAudienceGenerationJobCommand, GetAudienceModelCommand, GetCollaborationConfiguredModelAlgorithmAssociationCommand, GetCollaborationMLInputChannelCommand, GetCollaborationTrainedModelCommand, GetConfiguredAudienceModelCommand, GetConfiguredAudienceModelPolicyCommand, GetConfiguredModelAlgorithmAssociationCommand, GetConfiguredModelAlgorithmCommand, GetMLConfigurationCommand, GetMLInputChannelCommand, GetTrainedModelCommand, GetTrainedModelInferenceJobCommand, GetTrainingDatasetCommand, ListAudienceExportJobsCommand, ListAudienceGenerationJobsCommand, ListAudienceModelsCommand, ListCollaborationConfiguredModelAlgorithmAssociationsCommand, ListCollaborationMLInputChannelsCommand, ListCollaborationTrainedModelExportJobsCommand, ListCollaborationTrainedModelInferenceJobsCommand, ListCollaborationTrainedModelsCommand, ListConfiguredAudienceModelsCommand, ListConfiguredModelAlgorithmAssociationsCommand, ListConfiguredModelAlgorithmsCommand, ListMLInputChannelsCommand, ListTagsForResourceCommand, ListTrainedModelInferenceJobsCommand, ListTrainedModelVersionsCommand, ListTrainedModelsCommand, ListTrainingDatasetsCommand, PutConfiguredAudienceModelPolicyCommand, PutMLConfigurationCommand, StartAudienceExportJobCommand, StartAudienceGenerationJobCommand, StartTrainedModelExportJobCommand, StartTrainedModelInferenceJobCommand, TagResourceCommand, UntagResourceCommand, UpdateConfiguredAudienceModelCommand, paginateListAudienceExportJobs, paginateListAudienceGenerationJobs, paginateListAudienceModels, paginateListCollaborationConfiguredModelAlgorithmAssociations, paginateListCollaborationMLInputChannels, paginateListCollaborationTrainedModelExportJobs, paginateListCollaborationTrainedModelInferenceJobs, paginateListCollaborationTrainedModels, paginateListConfiguredAudienceModels, paginateListConfiguredModelAlgorithmAssociations, paginateListConfiguredModelAlgorithms, paginateListMLInputChannels, paginateListTrainedModelInferenceJobs, paginateListTrainedModelVersions, paginateListTrainedModels, paginateListTrainingDatasets, AccessDeniedException, AudienceSizeType, AudienceExportJobStatus, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, WorkerComputeType, ComputeConfiguration, AudienceGenerationJobStatus, ThrottlingException, AudienceModelStatus, TagOnCreatePolicy, SharedAudienceMetrics, ConfiguredAudienceModelStatus, PolicyExistenceCondition, TrainedModelExportFileType, TrainedModelExportsMaxSizeUnitType, EntityType, LogType, TrainedModelInferenceMaxOutputSizeUnitType, NoiseLevelType, TrainedModelArtifactMaxSizeUnitType, MLInputChannelStatus, TrainedModelExportJobStatus, LogsStatus, MetricsStatus, TrainedModelInferenceJobStatus, TrainedModelStatus, ResultFormat, InputChannelDataSource, S3DataDistributionType, _InstanceType, TrainingInputMode, InternalServiceException, InferenceInstanceType, ColumnType, DatasetType, TrainingDatasetStatus, ProtectedQuerySQLParametersFilterSensitiveLog, AudienceGenerationJobDataSourceFilterSensitiveLog, GetAudienceGenerationJobResponseFilterSensitiveLog, StartAudienceGenerationJobRequestFilterSensitiveLog, ProtectedQueryInputParametersFilterSensitiveLog, InputChannelDataSourceFilterSensitiveLog, InputChannelFilterSensitiveLog, CreateMLInputChannelRequestFilterSensitiveLog, GetMLInputChannelResponseFilterSensitiveLog});