{"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{"accountHeader":{"description":"Identifier of an AMC account Entity associated with advertising campaigns. Use `GET` method on amc/accounts to fetch the AMC Account ID/Entity ID.","in":"header","name":"Amazon-Ads-AccountId","required":false,"schema":{"type":"string"}},"clientHeader":{"description":"Identifier of a client associated with a \u0027Login with Amazon\u0027 account.","in":"header","name":"Amazon-Advertising-API-ClientId","required":true,"schema":{"type":"string"}},"instanceIdQueryParameter":{"description":"AMC Instance ID","in":"query","name":"Amazon-Marketing-Cloud-InstanceId","required":true,"schema":{"type":"string"}}},"requestBodies":{},"responses":{"BadRequest":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/HttpResponse"}}},"description":"Bad Request"},"Forbidden":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/HttpResponse"}}},"description":"Forbidden"},"GatewayTimeout":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/HttpResponse"}}},"description":"Gateway Timeout"},"InternalServerError":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/HttpResponse"}}},"description":"Internal Server Error"},"MlDataExportCreateSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateMlDataExportOutput"}}},"description":"MlDataExport creation metadata received from the process."},"MlDataExportGetSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetMlDataExportOutput"}}},"description":"Successfully get MlDataExport execution metadata for a given instanceId and modeledDatasetId."},"MlDataExportListSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceListMlDataExportOutput"}}},"description":"Successfully get a paginated list of MlDataExport metadata for a given instanceId."},"MlInputChannelCreateSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateMlInputChannelOut"}}},"description":"MlInputChannel creation metadata received from the process."},"MlInputChannelDeleteSuccess":{"description":"Successfully deleted MlInputChannel with given mlInputChannelId."},"MlInputChannelGetSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelExecutionMetadata"}}},"description":"Get MlInputChannel execution metadata for a given instanceId and mlInputChannelId"},"MlInputChannelListSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelMetadataList"}}},"description":"Successfully get a paginated list of MlInputChannel metadata for a given instanceId."},"ModeledDatasetCreateSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateModeledDatasetOutput"}}},"description":"ModeledDataset creation metadata received from the process."},"ModeledDatasetDeleteSuccess":{"description":"Successfully deleted ModeledDataset with given modeledDatasetId."},"ModeledDatasetGetSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetModeledDatasetOutput"}}},"description":"Successfully get ModeledDataset execution metadata for a given instanceId and modeledDatasetId."},"ModeledDatasetListSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceListModeledDatasetOutput"}}},"description":"Successfully get a paginated list of ModeledDataset metadata for a given instanceId."},"ModeledDatasetUploadJobCreateSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateModeledDatasetUploadJobOutput"}}},"description":"ModeledDatasetUploadJob creation metadata received from the process."},"ModeledDatasetUploadJobGetSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetModeledDatasetUploadJobOutput"}}},"description":"Successfully get ModeledDatasetUploadJob execution metadata for a given instanceId and modeledDatasetUploadJobId."},"ModeledDatasetUploadJobListSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceListModeledDatasetUploadJobsOutput"}}},"description":"Successfully get a paginated list of ModeledDatasetUploadJob metadata for a given instanceId."},"NotFound":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/HttpResponse"}}},"description":"Not Found"},"TooManyRequests":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/HttpResponse"}}},"description":"Too Many Requests"},"TrainedModelCancelSuccess":{"description":"Successfully submitted TrainedModel cancellation request for given trainedModelId."},"TrainedModelCreateSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateTrainedModelOutput"}}},"description":"TrainedModel creation metadata received from the process."},"TrainedModelDeleteSuccess":{"description":"Successfully deleted TrainedModel with given trainedModelId."},"TrainedModelGetSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetTrainedModelOutput"}}},"description":"Successfully get trainedModelId execution metadata for a given instanceId and trainedModelId."},"TrainedModelInferenceJobCreateSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobResponse"}}},"description":"TrainedModelInferenceJob creation metadata received from the process."},"TrainedModelInferenceJobDeleteSuccess":{"description":"Successfully canceled TrainedModelInferenceJob with given trainedModelInferenceJobId."},"TrainedModelInferenceJobGetSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetTrainedModelInferenceJobOutput"}}},"description":"Successfully get TrainedModelInferenceJob execution metadata for a given instanceId and trainedModelInferenceJobId."},"TrainedModelInferenceJobListSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceListTrainedModelInferenceJobOutput"}}},"description":"Successfully get a paginated list of TrainedModelInferenceJob metadata for a given instanceId."},"TrainedModelListSuccess":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceListTrainedModelsOutput"}}},"description":"Successfully get a paginated list of TrainedModel metadata for a given instanceId."}},"schemas":{"AMCModelBasedAudienceCMAAArn":{"description":"The ARN returned when the customer associates an algorithm with a membership.","type":"string"},"AMCModelBasedAudienceConfiguredModelAlgorithmAssociations":{"description":"The ARN returned when the customer associates an algorithm with a membership.","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceCMAAArn","type":"string"},"maxItems":1,"minItems":1,"type":"array"},"AMCModelBasedAudienceCreateMlDataExportInput":{"description":"Create MlDataExport input","properties":{"dataType":{"description":"The data type that needs to be exported","type":"string"},"inferenceJobId":{"description":"InferenceJobId to export data from","type":"string"},"trainedModelId":{"description":"TrainedModelId to export data from","type":"string"}},"type":"object"},"AMCModelBasedAudienceCreateMlDataExportOutput":{"description":"Response on a successful creation of a MlDAtaExport create.","properties":{"mlDataExportId":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlDataExportId"}},"required":["mlDataExportId"],"type":"object"},"AMCModelBasedAudienceCreateMlInputChannelInput":{"description":"Model based audience MlInputChannel create input","properties":{"configuredModelAlgorithmAssociations":{"$ref":"#/components/schemas/AMCModelBasedAudienceConfiguredModelAlgorithmAssociations"},"enforceAggregationThresholds":{"description":"Optional. If the enforceAggregationThresholds option is enabled, the system will ensure SQL query and the resulting data meets the restrictions and minimum levels of aggregation defined by the columns selected. Defaults to false.","type":"boolean"},"enforceUserLevelTargeting":{"description":"If the enforceUserLevelTargeting option is enabled, the system will ensure that the it  only uses data sources relevant for user level targeting.","type":"boolean"},"idempotencyKey":{"$ref":"#/components/schemas/AMCModelBasedAudienceIdempotencyKey"},"name":{"description":"The name of MlInputChannel.","type":"string"},"outputFormat":{"$ref":"#/components/schemas/MlInputChannelOutputFormat"},"queryParameters":{"$ref":"#/components/schemas/AMCModelBasedAudienceQueryParameters"}},"required":["configuredModelAlgorithmAssociationArn","name","queryParameters"],"type":"object"},"AMCModelBasedAudienceCreateMlInputChannelOut":{"description":"Model based audience MlInputChannel create output","properties":{"mlInputChannelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelId"}},"required":["mlInputChannelId"],"type":"object"},"AMCModelBasedAudienceCreateModeledDatasetInput":{"description":"Create ModeledDataset input","properties":{"description":{"description":"The description of the ModeledDataset","type":"string"},"name":{"description":"The name of the ModeledDataset","type":"string"},"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetSchema"}},"required":["name","schema"],"type":"object"},"AMCModelBasedAudienceCreateModeledDatasetOutput":{"description":"Response on a successful creation of a ModeledDataset.","properties":{"modeledDatasetId":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetId"}},"required":["modeledDatasetId"],"type":"object"},"AMCModelBasedAudienceCreateModeledDatasetUploadJobInput":{"description":"CreateModeledDatasetUploadJobInput","properties":{"inferenceJobIds":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobIds"},"modeledDatasetId":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetId"},"trainedModelIds":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelIds"},"updateStrategy":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetUploadJobUpdateStrategy"}},"required":["modeledDatasetId"],"type":"object"},"AMCModelBasedAudienceCreateModeledDatasetUploadJobOutput":{"description":"Response on a successful creation of a ModeledDataset.","properties":{"modeledDatasetUploadJobId":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetUploadJobId"}},"required":["modeledDatasetUploadJobId"],"type":"object"},"AMCModelBasedAudienceCreateTrainedModelInput":{"description":"Model based audience trained model execution metadata information.","properties":{"configuredModelAlgorithmAssociationArn":{"$ref":"#/components/schemas/AMCModelBasedAudienceCMAAArn"},"description":{"description":"Customer provided description for a trained model.","type":"string"},"enforceAnonymizedResults":{"description":"Optional. If the enforceAnonymizedResults option is enabled, the system will ensure that the training and inference processes produce output data that has been anonymized. This is required to use MlDataExports APIs. enforceAnonymizedResults requires all MlInputChannels used to enable enforceAggregationThresholds. Defaults to false.","type":"boolean"},"enforceUserLevelTargeting":{"description":"If the enforceUserLevelTargeting option is enabled, the system will ensure that the training process only uses data sources relevant for user level targeting.","type":"boolean"},"environment":{"$ref":"#/components/schemas/AMCModelBasedAudienceEnvironment"},"featureFields":{"$ref":"#/components/schemas/AMCModelBasedAudienceFeatureFields"},"hyperParameters":{"$ref":"#/components/schemas/AMCModelBasedAudienceHyperParameters"},"idempotencyKey":{"$ref":"#/components/schemas/AMCModelBasedAudienceIdempotencyKey"},"incrementalTrainingDataChannels":{"$ref":"#/components/schemas/AMCModelBasedAudienceIncrementalTrainingDataChannels"},"mlInputChannels":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannels"},"name":{"description":"Customer provided name for a trained model.","type":"string"},"resourceConfig":{"$ref":"#/components/schemas/AMCModelBasedAudienceResourceConfig"},"stoppingCondition":{"$ref":"#/components/schemas/AMCModelBasedAudienceStoppingCondition"}},"required":["configuredModelAlgorithmAssociationArn","name","queryParameters"],"type":"object"},"AMCModelBasedAudienceCreateTrainedModelOutput":{"description":"Response on a successful creation of a TrainedModel.","properties":{"trainedModelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelId"}},"required":["trainedModelId"],"type":"object"},"AMCModelBasedAudienceEnvironment":{"additionalProperties":{"maxLength":512,"pattern":"^[\\S\\s]*$","type":"string"},"description":"The environment variables to set in the Docker container.","example":{"envVar1":"value1","envVar2":"value2"},"maxProperties":100,"minProperties":0,"type":"object"},"AMCModelBasedAudienceFeatureFields":{"additionalProperties":{"maxLength":2500,"pattern":"^.*$","type":"string"},"description":"Optional. Declares the features whose importance to compute, as a map of feature name to a regular expression that captures the feature\u0027s numeric value from the training container logs. At most 100 features are scored, ranked by impact.","example":{"purchase_unit_price":"feature_importance\\[purchase_unit_price\\]\u003d(-?[0-9.]+)"},"maxProperties":9999,"minProperties":0,"type":"object"},"AMCModelBasedAudienceFeatureImportanceScores":{"additionalProperties":{"maxLength":2500,"pattern":"^.*$","type":"string"},"description":"Signed relative-impact label per feature, stating the feature\u0027s magnitude as a percentage band of the strongest feature in the run. Values are labels, not numbers.","example":{"purchase_unit_price":"+95-100 RELATIVE IMPACT","total_units_sold":"+5-10 RELATIVE IMPACT"},"maxProperties":100,"minProperties":0,"type":"object"},"AMCModelBasedAudienceFeatureImportanceStatusReason":{"description":"Explains why feature importance scores are absent, or conveys a caveat alongside a successful result. Absent on a clean run.","maxLength":2500,"type":"string"},"AMCModelBasedAudienceGetMlDataExportOutput":{"description":"Model based audience MLDataExport metadata information.","properties":{"createTime":{"description":"Timestamp of when the mlDataExport request was submitted. This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"},"mlDataExportId":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlDataExportId"},"preSignedErrorS3Uri":{"description":"Presigned S3 url to download the error file.","type":"string"},"preSignedS3Uris":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlDataExportPresignedUrls"},"status":{"$ref":"#/components/schemas/MlDataExportStatus"},"statusReason":{"description":"Description of why the execution is in FAILED state.","type":"string"},"validUntil":{"description":"Timestamp of when the mlDataExport request will be valid until. This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"}},"required":["createTime","mlDataExportId","status"],"type":"object"},"AMCModelBasedAudienceGetModeledDatasetOutput":{"description":"Model based audience trained model inference job execution metadata information.","properties":{"createTime":{"description":"Timestamp of when the modeled dataset request was submitted.This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"},"description":{"description":"The description of the ModeledDataset","type":"string"},"modeledDatasetId":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetId"},"name":{"description":"The name of the ModeledDataset","type":"string"},"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetSchema"},"status":{"$ref":"#/components/schemas/ModeledDatasetStatus"},"statusReason":{"description":"Description of why the execution is in FAILED state.","type":"string"}},"required":["createTime","modeledDataSetId","name","schema","status"],"type":"object"},"AMCModelBasedAudienceGetModeledDatasetUploadJobOutput":{"description":"Model based audience trained model inference job execution metadata information.","properties":{"estimatedRowCount":{"type":"integer"},"inferenceJobIds":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobIds"},"modeledDatasetId":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetId"},"modeledDatasetUploadJobId":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetUploadJobId"},"status":{"$ref":"#/components/schemas/ModeledDatasetUploadJobStatus"},"statusReason":{"description":"Description of why the execution is in FAILED state.","type":"string"},"trainedModelIds":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelIds"},"updateStrategy":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetUploadJobUpdateStrategy"}},"required":["estimatedRowCount","modeledDataSetId","modeledDatasetUploadJobId","name","status"],"type":"object"},"AMCModelBasedAudienceGetTrainedModelInferenceJobOutput":{"description":"Model based audience trained model inference job execution metadata information.","properties":{"configuredModelAlgorithmAssociationArn":{"$ref":"#/components/schemas/AMCModelBasedAudienceCMAAArn"},"containerExecutionParameters":{"$ref":"#/components/schemas/InferenceJobContainerExecutionParameters"},"createTime":{"description":"Timestamp of when the trained model request was submitted.This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"},"description":{"description":"Description of the trained model inference job","type":"string"},"enforceAnonymizedResults":{"description":"Optional. If the enforceAnonymizedResults option is enabled, the system will ensure that the training and inference processes produce output data that has been anonymized. This is required to use MlDataExports APIs. enforceAnonymizedResults requires all MlInputChannels used to enable enforceAggregationThresholds. Defaults to false.","type":"boolean"},"enforceUserLevelTargeting":{"description":"If the enforceUserLevelTargeting option is enabled, the system will ensure that the inference process only uses data sources relevant for user level targeting.","type":"boolean"},"instanceId":{"description":"AMC instance identifier.","type":"string"},"logsStatus":{"$ref":"#/components/schemas/PublishStatus"},"logsStatusDetails":{"description":"Detailed information about logs publishing status, especially useful when logsStatus is PUBLISH_FAILED","type":"string"},"metricsStatus":{"$ref":"#/components/schemas/PublishStatus"},"metricsStatusDetails":{"description":"Detailed information about metrics publishing status, especially useful when metricsStatus is PUBLISH_FAILED","type":"string"},"mlInputChannelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelId"},"name":{"description":"Name of the trained model inference job","type":"string"},"resourceConfig":{"$ref":"#/components/schemas/InferenceJobResourceConfig"},"status":{"$ref":"#/components/schemas/TrainedModelInferenceJobStatus"},"statusReason":{"description":"The error message when the status is FAILED. Algorithm errors include an S3 URL to retrieve the error summary if you have configured the CMAA log configuration policy see Log Configuration Policy Details (https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/custom-models/modeling-requirements/acrml_log_policy#error-summary-contents). The S3 URL remains valid for a certain amount of time, and you can regenerate it by retrieving the trained model inference job resource again with the GET TrainedModelInferenceJob operation.","type":"string"},"trainedModelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelId"},"trainedModelInferenceJobId":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobId"}},"required":["configuredModelAlgorithmAssociationArn","instanceId","mlInputChannelId","status","trainedModelId","trainedModelInferenceJobId"],"type":"object"},"AMCModelBasedAudienceGetTrainedModelOutput":{"description":"Model based audience trained model execution metadata information.","properties":{"audienceEligible":{"description":"Indicates if the TrainedModel can be used for audience generation.","type":"boolean"},"configuredModelAlgorithmAssociationArn":{"$ref":"#/components/schemas/AMCModelBasedAudienceCMAAArn"},"createTime":{"description":"Timestamp of when the trained model request was submitted.This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"},"dataExportEligible":{"description":"Indicates if the TrainedModel can be used for modeled output data exports generation.  You must create the TrainedModel with the enforceAnonymizedResults flag set to true.","type":"boolean"},"description":{"description":"Customer provided description for a trained model.","type":"string"},"environment":{"$ref":"#/components/schemas/AMCModelBasedAudienceEnvironment"},"featureFields":{"$ref":"#/components/schemas/AMCModelBasedAudienceFeatureFields"},"featureImportanceScores":{"$ref":"#/components/schemas/AMCModelBasedAudienceFeatureImportanceScores"},"featureImportanceStatusReason":{"$ref":"#/components/schemas/AMCModelBasedAudienceFeatureImportanceStatusReason"},"hyperParameters":{"$ref":"#/components/schemas/AMCModelBasedAudienceHyperParameters"},"incrementalTrainingDataChannels":{"$ref":"#/components/schemas/AMCModelBasedAudienceIncrementalTrainingDataChannels"},"instanceId":{"description":"AMC instance identifier.","type":"string"},"logsStatus":{"$ref":"#/components/schemas/PublishStatus"},"logsStatusDetails":{"description":"Detailed information about logs publishing status, especially useful when logsStatus is PUBLISH_FAILED","type":"string"},"metricsStatus":{"$ref":"#/components/schemas/PublishStatus"},"metricsStatusDetails":{"description":"Detailed information about metrics publishing status, especially useful when metricsStatus is PUBLISH_FAILED","type":"string"},"mlInputChannels":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannels"},"name":{"description":"Customer provided name for a trained model.","type":"string"},"resourceConfig":{"$ref":"#/components/schemas/AMCModelBasedAudienceResourceConfig"},"status":{"$ref":"#/components/schemas/TrainedModelStatus"},"statusReason":{"description":"The error message when the status is FAILED. Algorithm errors include an S3 URL to retrieve the error summary if you have configured the CMAA log configuration policy - see Log Configuration Policy Details (https://advertising.amazon.com/API/docs/en-us/guides/amazon-marketing-cloud/custom-models/modeling-requirements/acrml_log_policy#error-summary-contents). The S3 URL remains valid for a certain amount of time, and you can regenerate it by retrieving the trained model resource again with the GET TrainedModel operation.","type":"string"},"stoppingCondition":{"$ref":"#/components/schemas/AMCModelBasedAudienceStoppingCondition"},"trainedModelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelId"}},"required":["configuredModelAlgorithmAssociationArn","createTime","name","queryParameters","status","trainedModelId"],"type":"object"},"AMCModelBasedAudienceHyperParameters":{"additionalProperties":{"maxLength":2500,"pattern":"^.*$","type":"string"},"description":"Algorithm-specific parameters that influence the quality of the model.","example":{"hyperParam1":"value1","hyperParam2":"value2"},"maxProperties":100,"minProperties":0,"type":"object"},"AMCModelBasedAudienceIdempotencyKey":{"description":"Idempotency key to prevent duplicate records.","type":"string"},"AMCModelBasedAudienceIncrementalTrainingDataChannel":{"description":"A named input source that the container will consume. This is the location of a model which will be used for incremental training.","properties":{"channelName":{"maxLength":64,"pattern":"^[A-Za-z0-9\\.\\-_]+$","type":"string"},"trainedModelId":{"type":"string"}},"required":["channelName","trainedModelId"],"type":"object"},"AMCModelBasedAudienceIncrementalTrainingDataChannels":{"description":"A list of trained models to perform incremental training against.","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceIncrementalTrainingDataChannel"},"maxItems":1,"minItems":0,"type":"array"},"AMCModelBasedAudienceListMlDataExportOutput":{"properties":{"mlDataExportList":{"description":"A list of mlDataExport metadata","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetMlDataExportOutput"},"maxItems":100,"minItems":0,"type":"array"},"nextToken":{"description":"Token to use in subsequent request to retrieve next page of results. Field will be null if all results have been returned.","type":"string"}},"type":"object"},"AMCModelBasedAudienceListModeledDatasetOutput":{"properties":{"modeledDatasetList":{"description":"A list of ModeledDataset metadata","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetModeledDatasetOutput"},"maxItems":100,"minItems":0,"type":"array"},"nextToken":{"description":"Token to use in subsequent request to retrieve next page of results. Field will be null if all results have been returned.","type":"string"}},"type":"object"},"AMCModelBasedAudienceListModeledDatasetUploadJobsOutput":{"properties":{"modeledDatasetUploadJobList":{"description":"Paginated list of ModeledDatasetUploadJobs","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetModeledDatasetUploadJobOutput"},"maxItems":100,"minItems":0,"type":"array"},"nextToken":{"description":"Token to use in subsequent request to retrieve next page of results. Field will be null if all results have been returned.","type":"string"}},"type":"object"},"AMCModelBasedAudienceListTrainedModelInferenceJobOutput":{"properties":{"nextToken":{"description":"Token to use in subsequent request to retrieve next page of results. Field will be null if all results have been returned.","type":"string"},"trainedModelInferenceJobList":{"description":"List of the AMC model based audience trained model inference job for a given instanceId.","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetTrainedModelInferenceJobOutput"},"maxItems":100,"minItems":0,"type":"array"}},"type":"object"},"AMCModelBasedAudienceListTrainedModelsOutput":{"properties":{"nextToken":{"description":"Token to use in subsequent request to retrieve next page of results. Field will be null if all results have been returned.","type":"string"},"trainedModelMetadataList":{"description":"List of the AMC model based audience trained models for a given instanceId.","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceGetTrainedModelOutput"},"maxItems":100,"minItems":0,"type":"array"}},"type":"object"},"AMCModelBasedAudienceMlDataExportId":{"description":"MlDataExportId","type":"string"},"AMCModelBasedAudienceMlDataExportPresignedUrls":{"items":{"description":"Presigned S3 url to download the exported data from.","type":"string"},"maxItems":100,"minItems":0,"type":"array"},"AMCModelBasedAudienceMlInputChannel":{"description":"A named input source that the container will consume. This is the location of the output of the query.","properties":{"channelName":{"maxLength":64,"pattern":"^[A-Za-z0-9\\.\\-_]+$","type":"string"},"mlInputChannelId":{"type":"string"}},"required":["channelName","mlInputChannelId"],"type":"object"},"AMCModelBasedAudienceMlInputChannelExecutionMetadata":{"description":"MlInputChannelExecutionMetadata","properties":{"approximateRecordCount":{"description":"The approximate record count.","type":"string"},"approximateSizeOnDisk":{"description":"The approximate size of the data result on disk.","type":"string"},"configuredModelAlgorithmAssociations":{"$ref":"#/components/schemas/AMCModelBasedAudienceConfiguredModelAlgorithmAssociations"},"createTime":{"description":"Timestamp of when the trained model request was submitted.This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"},"enforceAggregationThresholds":{"description":"Optional. If the enforceAggregationThresholds option is enabled, the system will ensure SQL query and the resulting data meets the restrictions and minimum levels of aggregation defined by the columns selected. Defaults to false.","type":"boolean"},"enforceUserLevelTargeting":{"description":"If the enforceUserLevelTargeting option is enabled, the system will ensure that the training process only uses data sources relevant for user level targeting.","type":"boolean"},"expirationTimeInUtc":{"description":"The expiration time of MlInputChannel","type":"string"},"instanceId":{"description":"AMC instance identifier.","type":"string"},"isAudienceEligible":{"description":"Indicates if the data source can be used for audience generation.","type":"boolean"},"mlInputChannelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelId"},"name":{"description":"The name for the ml input data.","type":"string"},"numberOfFiles":{"description":"The number of files in the MlInputChannel.","maximum":1000000,"minimum":0,"type":"integer"},"outputFormat":{"$ref":"#/components/schemas/MlInputChannelOutputFormat"},"queryParameters":{"$ref":"#/components/schemas/AMCModelBasedAudienceQueryParameters"},"status":{"$ref":"#/components/schemas/MlInputChannelStatus"},"statusReason":{"description":"Description of why the execution is in FAILED state.","type":"string"}},"required":["configuredModelAlgorithmAssociations","createTime","instanceId","mlInputChannelId","name","queryParameters","status"],"type":"object"},"AMCModelBasedAudienceMlInputChannelId":{"description":"A unique ID that represents an AMCMlInputChannel object","type":"string"},"AMCModelBasedAudienceMlInputChannelMetadataList":{"properties":{"mlInputChannelMetadataList":{"description":"A list of MlInputChannelMetadata","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelExecutionMetadata"},"maxItems":100,"minItems":0,"type":"array"},"nextToken":{"description":"Token to use in subsequent request to retrieve next page of results. Field will be null if all results have been returned.","type":"string"}},"type":"object"},"AMCModelBasedAudienceMlInputChannels":{"description":"a list of mlInputChannels","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannel"},"maxItems":20,"minItems":1,"type":"array"},"AMCModelBasedAudienceModeledDatasetId":{"description":"Identifier that uniquely represents an AMC model based audience modeled dataset","type":"string"},"AMCModelBasedAudienceModeledDatasetSchema":{"description":"ModeledDataset schema","properties":{"tableColumns":{"description":"a list of tableColumn","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceModeledDatasetTableColumn"},"maxItems":50,"minItems":1,"type":"array"}},"required":["tableColumns"],"type":"object"},"AMCModelBasedAudienceModeledDatasetTableColumn":{"description":"Object to store tableColumn","properties":{"columnName":{"type":"string"},"dataType":{"type":"string"},"description":{"type":"string"},"userIdColumn":{"default":false,"description":"True for only one column. The one that contains ad user id. If true, dataType must be STRING. Optional, defaults to false.","type":"boolean"}},"required":["columnName","dataType","userIdColumn"],"type":"object"},"AMCModelBasedAudienceModeledDatasetUploadJobId":{"description":"Identifier that uniquely represents an AMC model based audience modeled dataset upload job","type":"string"},"AMCModelBasedAudienceModeledDatasetUploadJobUpdateStrategy":{"description":"UpdateStrategy of ModeledDatasetUploadJob","enum":["ADDITIVE","FULL_REPLACE"],"type":"string"},"AMCModelBasedAudienceQueryParameters":{"description":"Defines the AMC query to run against AMC data whose output will be used for model training.","properties":{"amcQuery":{"description":"Customer created query to run on AMC instance.","type":"string"},"inputParameters":{"$ref":"#/components/schemas/QueryBasedAudienceInputParam"},"parameterValues":{"additionalProperties":{},"description":"Custom parameters specified in the query.","example":{"asin":"ASIN1233"},"type":"object"},"timeWindowEnd":{"description":"Ending date of data to query. This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"},"timeWindowStart":{"description":"Starting date of data to query. This field is in UTC and is formatted as yyyy-MM-dd\u0027T\u0027HH:mm:ss\u0027Z\u0027.","format":"date-time","type":"string"}},"required":["amcQuery","timeWindowEnd","timeWindowStart"],"type":"object"},"AMCModelBasedAudienceResourceConfig":{"description":"Configuration options for an training resource.","properties":{"instanceCount":{"default":1,"description":"instanceCount of training resource.","maximum":10,"minimum":1,"type":"integer"},"instanceType":{"type":"string"},"volumeSizeInGb":{"description":"The volume size in gigabytes (GB) of the training resource. Note that volume size limits depend on your instance type. Check the EC2 documentation (https://aws.amazon.com/ec2/instance-types/) for the limits specific to your chosen instance type.","maximum":8192,"minimum":1,"type":"integer"}},"type":"object"},"AMCModelBasedAudienceStoppingCondition":{"description":"Specifies a limit to how long a model training job can run.","properties":{"maxRuntimeInSeconds":{"default":86400,"description":"The maximum length of time, in seconds, that a model can train before it is stopped. Minimum value of 1","maximum":2419200,"minimum":1,"type":"integer"}},"type":"object"},"AMCModelBasedAudienceTrainedModelId":{"description":"Identifier that uniquely represents an AMC model based audience trained model.","type":"string"},"AMCModelBasedAudienceTrainedModelIds":{"description":"A list of trainedModelIds","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelId"},"maxItems":1,"minItems":0,"type":"array"},"AMCModelBasedAudienceTrainedModelInferenceJobId":{"description":"A unique ID that represents a trained model inference job","type":"string"},"AMCModelBasedAudienceTrainedModelInferenceJobIds":{"description":"A list of trainedModelInferenceJobIds","items":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobId"},"maxItems":1,"minItems":0,"type":"array"},"AMCModelBasedAudienceTrainedModelInferenceJobRequest":{"description":"Model based audience TrainedModelInferenceJob execution metadata information.","properties":{"configuredModelAlgorithmAssociationArn":{"$ref":"#/components/schemas/AMCModelBasedAudienceCMAAArn"},"containerExecutionParameters":{"$ref":"#/components/schemas/InferenceJobContainerExecutionParameters"},"description":{"description":"Description of the trained model inference job","type":"string"},"enforceAnonymizedResults":{"description":"Optional. If the enforceAnonymizedResults option is enabled, the system will ensure that the training and inference processes produce output data that has been anonymized. This is required to use MlDataExports APIs. enforceAnonymizedResults requires all MlInputChannels used to enable enforceAggregationThresholds. Defaults to false.","type":"boolean"},"enforceUserLevelTargeting":{"description":"If the enforceUserLevelTargeting option is enabled, the system will ensure that the inference process only uses data sources relevant for user level targeting.","type":"boolean"},"environment":{"$ref":"#/components/schemas/AMCModelBasedAudienceEnvironment"},"idempotencyKey":{"$ref":"#/components/schemas/AMCModelBasedAudienceIdempotencyKey"},"mlInputChannelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceMlInputChannelId"},"name":{"description":"Name of the trained model inference job","type":"string"},"resourceConfig":{"$ref":"#/components/schemas/InferenceJobResourceConfig"},"trainedModelId":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelId"}},"required":["enforceUserLevelTargeting","mlInputChannelId","name","resourceConfig","trainedModelId"],"type":"object"},"AMCModelBasedAudienceTrainedModelInferenceJobResponse":{"description":"Model based audience trained model inference job execution metadata information.","properties":{"trainedModelInferenceJobId":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobId"}},"required":["trainedModelInferenceJobId"],"type":"object"},"ComplexDataType":{"oneOf":[{"properties":{"elementDataType":{"$ref":"#/components/schemas/DataTypes"},"elementNullable":{"type":"boolean"},"type":{"enum":["ARRAY"],"type":"string"}},"type":"object"},{"properties":{"precision":{"nullable":true,"type":"integer"},"type":{"enum":["DECIMAL"],"type":"string"}},"type":"object"},{"properties":{"keyDataType":{"$ref":"#/components/schemas/DataTypes","nullable":true},"type":{"enum":["MAP"],"type":"string"},"valueDataType":{"$ref":"#/components/schemas/DataTypes","nullable":true},"valueNullable":{"type":"boolean"}},"type":"object"},{"properties":{"fields":{"items":{"properties":{"dataType":{"$ref":"#/components/schemas/DataTypes"},"name":{"type":"string"}},"type":"object"},"maxItems":100,"minItems":0,"type":"array"},"type":{"enum":["STRUCT"],"type":"string"}},"type":"object"}],"type":"object"},"DataTypes":{"oneOf":[{"$ref":"#/components/schemas/SimpleDataType"},{"$ref":"#/components/schemas/ComplexDataType"}]},"ErrorCode":{"description":"Error code","type":"string"},"ErrorMessage":{"description":"Human readable response message","type":"string"},"HttpResponse":{"properties":{"code":{"$ref":"#/components/schemas/ErrorCode"},"message":{"$ref":"#/components/schemas/ErrorMessage"}}},"InferenceJobContainerExecutionParameters":{"description":"Container execution parameters for an inference job.","properties":{"maxPayloadInMb":{"maximum":100,"minimum":1,"type":"integer"}},"type":"object"},"InferenceJobResourceConfig":{"description":"Configuration options for an inference resource.","properties":{"instanceCount":{"default":1,"maximum":10,"minimum":1,"type":"integer"},"instanceType":{"type":"string"}},"type":"object"},"MlDataExportStatus":{"description":"Enum containing all possible MlDataExport status.","enum":["CREATE_FAILED","CREATE_IN_PROGRESS","CREATE_SUCCEEDED"],"type":"string"},"MlInputChannelOutputFormat":{"description":"Format in which the MlInputChannel output is materialized. Defaults to CSV when not specified at create time.","enum":["CSV","PARQUET"],"type":"string"},"MlInputChannelStatus":{"description":"Enum containing all possible MlInputChannel status.","enum":["ACTIVE","CREATE_FAILED","CREATE_IN_PROGRESS","DELETE_FAILED","DELETE_IN_PROGRESS","INACTIVE","QUEUED"],"type":"string"},"ModeledDatasetStatus":{"description":"Enum containing all possible ModeledDataset status.","enum":["ACTIVE","CREATE_FAILED","CREATE_IN_PROGRESS","DELETE_FAILED","DELETE_IN_PROGRESS","INACTIVE"],"type":"string"},"ModeledDatasetUploadJobStatus":{"description":"Enum containing all possible ModeledDatasetUploadJob status.","enum":["ACTIVE","CREATE_FAILED","CREATE_IN_PROGRESS","INACTIVE"],"type":"string"},"PublishStatus":{"description":"Enum containing all possible CloudWatch Logs and Metrics publish status values.","enum":["PUBLISH_FAILED","PUBLISH_SUCCEEDED"],"type":"string"},"QueryBasedAudienceInputParam":{"description":"\"Optional. Defines the parameters that can be referenced by workflow.\ndefinition. If workflow references a parameter not defined here the compilation\nfails.\"\n","items":{"example":{"columnType":["DIMENSION","METRIC"],"dataType":["STRING","BINARY","BOOLEAN","BYTE","CALENDAR_INTERVAL","DATE","DECIMAL","DOUBLE","FLOAT","LONG","INTEGER","TIMESTAMP","SHORT",{"elementDataType":"STRING","isElementNullable":true,"type":"ARRAY"}],"defaultValue":["asin123"],"description":["This parameter contains asinId."],"name":["asin"]},"properties":{"columnType":{"description":"Type of the column corresponding to the parameter.","enum":["DIMENSION","METRIC"],"type":"string"},"dataType":{"description":"Data type of the parameter corresponding to the data type of a column.","oneOf":[{"$ref":"#/components/schemas/SimpleDataType"},{"$ref":"#/components/schemas/ComplexDataType"}]},"defaultValue":{"description":"Value to assign to the parameter if no value is provided.","type":"string"},"description":{"description":"Human-readable description of what the parameter is used for.","type":"string"},"name":{"description":"Name of the parameter.","type":"string"}},"required":["dataType","name"],"type":"object"},"maxItems":100,"minItems":0,"type":"array"},"SimpleDataType":{"type":"string"},"TrainedModelInferenceJobStatus":{"description":"Enum containing all possible TrainedModelInferenceJob status.","enum":["ACTIVE","CANCEL_FAILED","CANCEL_IN_PROGRESS","CREATE_FAILED","CREATE_IN_PROGRESS","INACTIVE","QUEUED"],"type":"string"},"TrainedModelStatus":{"description":"Enum containing all possible TrainedModel status.","enum":["ACTIVE","CREATE_FAILED","CREATE_IN_PROGRESS","DELETE_FAILED","DELETE_IN_PROGRESS","INACTIVE","QUEUED"],"type":"string"}},"securitySchemes":{}},"info":{"description":"Create TrainedModelInferenceJobs using MlInputChannel and TrainedModel.","title":"AMC Custom Models","version":"3.0"},"openapi":"3.0.1","paths":{"/amc/models/v1/mlDataExports":{"post":{"description":"Creates an export request to allow access to output ML data.","operationId":"createMlDataExportV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"}],"requestBody":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateMlDataExportInput"}}}},"responses":{"200":{"$ref":"#/components/responses/MlDataExportCreateSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Creates workflow to export ML data for model-based audiences.","tags":["Custom Models"]}},"/amc/models/v1/mlDataExports/list":{"post":{"description":"Returns list of MlDataExport metadata information for a given instanceId.","operationId":"listMlDataExportV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Optional. Limits the number of items to return in the response. Max value is 100. Defaults to 100.","in":"query","name":"maxResults","schema":{"default":100,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Optional. Token to retrieve subsequent page of results.","in":"query","name":"nextToken","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/MlDataExportListSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"List MlDataExport metadata.","tags":["Custom Models"]}},"/amc/models/v1/mlDataExports/{mlDataExportId}":{"get":{"description":"Returns MlDataExport metadata information for a given instanceId and mlDataExportId.","operationId":"getMlDataExportV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Identifier that uniquely represents an AMC model based audience mlDataExport.","in":"path","name":"mlDataExportId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/MlDataExportGetSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Get MlDataExport metadata for a given mlDataExportId.","tags":["Custom Models"]}},"/amc/models/v1/mlInputChannels":{"post":{"description":"Creates a MlInputChannel, which is input for TrainedModel and TrainedModelInferenceJob","operationId":"createMlInputChannelV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"}],"requestBody":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateMlInputChannelInput"}}}},"responses":{"200":{"$ref":"#/components/responses/MlInputChannelCreateSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Creates workflow to create a MlInputChannel for model-based audiences.","tags":["Custom Models"]}},"/amc/models/v1/mlInputChannels/list":{"post":{"description":"Returns list of MlInputChannel metadata information for a given instanceId.","operationId":"listMlInputChannelByInstanceIdV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Optional. Limits the number of items to return in the response. Max value is 100. Defaults to 100.","in":"query","name":"maxResults","schema":{"default":100,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Optional. Token to retrieve subsequent page of results.","in":"query","name":"nextToken","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/MlInputChannelListSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"List MlInputChannel metadata.","tags":["Custom Models"]}},"/amc/models/v1/mlInputChannels/{mlInputChannelId}":{"delete":{"description":"Deletes MlInputChannel metadata information for a given instance and mlInputChannelId.","operationId":"deleteMlInputChannelV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"A unique ID that represents an AMCMlInputChannel object","in":"path","name":"mlInputChannelId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"$ref":"#/components/responses/MlInputChannelDeleteSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Delete MlInputChannel metadata for a given mlInputChannelId.","tags":["Custom Models"]},"get":{"description":"Returns MlInputChannel metadata information for a given instanceId and mlInputChannelId.","operationId":"getMlInputChannelV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"A unique ID that represents an AMCMlInputChannel object","in":"path","name":"mlInputChannelId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/MlInputChannelGetSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Get MlInputChannel metadata for a given mlInputChannelId.","tags":["Custom Models"]}},"/amc/models/v1/modeledDatasetUploadJobs":{"post":{"description":"Creates a ModeledDatasetUploadJob to copy TrainedModelInferenceJob and TrainedMode results to ModeledDataset.","operationId":"createModeledDatasetUploadJobV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"}],"requestBody":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateModeledDatasetUploadJobInput"}}}},"responses":{"200":{"$ref":"#/components/responses/ModeledDatasetUploadJobCreateSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Creates workflow to create a ModeledDatasetUploadJob for model-based audiences.","tags":["Custom Models"]}},"/amc/models/v1/modeledDatasetUploadJobs/list":{"post":{"description":"Returns list of ModeledDatasetUploadJob metadata information for a given instanceId.","operationId":"listModeledDatasetUploadJobV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Optional. Limits the number of items to return in the response. Max value is 100. Defaults to 100.","in":"query","name":"maxResults","schema":{"default":100,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Optional. Token to retrieve subsequent page of results.","in":"query","name":"nextToken","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/ModeledDatasetUploadJobListSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"List ModeledDatasetUploadJob metadata.","tags":["Custom Models"]}},"/amc/models/v1/modeledDatasetUploadJobs/{modeledDatasetUploadJobId}":{"get":{"description":"Returns ModeledDatasetUploadJob metadata information for a given instanceId and modeledDatasetUploadJobId.","operationId":"getModeledDatasetUploadJobV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Identifier that uniquely represents an AMC model based audience modeledDatasetUploadJob.","in":"path","name":"modeledDatasetUploadJobId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/ModeledDatasetUploadJobGetSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Get ModeledDatasetUploadJob metadata for a given modeledDatasetUploadJobId.","tags":["Custom Models"]}},"/amc/models/v1/modeledDatasets":{"post":{"description":"Creates a ModeledDataset, which can be used for ModeledDatasetUploadJob.","operationId":"createModeledDatasetV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"}],"requestBody":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateModeledDatasetInput"}}}},"responses":{"200":{"$ref":"#/components/responses/ModeledDatasetCreateSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Creates workflow to create a ModeledDataset for model-based audiences.","tags":["Custom Models"]}},"/amc/models/v1/modeledDatasets/list":{"post":{"description":"Returns list of ModeledDataset metadata information for a given instanceId.","operationId":"listModeledDatasetV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Optional. Limits the number of items to return in the response. Max value is 100. Defaults to 100.","in":"query","name":"maxResults","schema":{"default":100,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Optional. Token to retrieve subsequent page of results.","in":"query","name":"nextToken","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/ModeledDatasetListSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"List ModeledDataset metadata.","tags":["Custom Models"]}},"/amc/models/v1/modeledDatasets/{modeledDatasetId}":{"delete":{"description":"Deletes ModeledDataset metadata information for a given instance and modeledDatasetId.","operationId":"deleteModeledDatasetV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Identifier that uniquely represents an AMC model based audience modeledDataset.","in":"path","name":"modeledDatasetId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"$ref":"#/components/responses/ModeledDatasetDeleteSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Delete ModeledDataset metadata for a given modeledDatasetId.","tags":["Custom Models"]},"get":{"description":"Returns ModeledDataset metadata information for a given instanceId and modeledDatasetId.","operationId":"getModeledDatasetV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Identifier that uniquely represents an AMC model based audience modeledDataset.","in":"path","name":"modeledDatasetId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/ModeledDatasetGetSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Get ModeledDataset metadata for a given modeledDatasetId.","tags":["Custom Models"]}},"/amc/models/v1/trainedModelInferenceJobs":{"post":{"description":"Creates a TrainedModelInferenceJob that makes inferences using TrainedModel and MlInputChannel.","operationId":"createTrainedModelInferenceJobV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"}],"requestBody":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceTrainedModelInferenceJobRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/TrainedModelInferenceJobCreateSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Creates workflow to create a TrainedModelInferenceJob for model-based audiences.","tags":["Custom Models"]}},"/amc/models/v1/trainedModelInferenceJobs/list":{"post":{"description":"Returns list of TrainedModelInferenceJob metadata information for a given instanceId.","operationId":"listTrainedModelInferenceJobByInstanceIdV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Optional. Limits the number of items to return in the response. Max value is 100. Defaults to 100.","in":"query","name":"maxResults","schema":{"default":100,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Optional. Token to retrieve subsequent page of results.","in":"query","name":"nextToken","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/TrainedModelInferenceJobListSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"List TrainedModelInferenceJob metadata.","tags":["Custom Models"]}},"/amc/models/v1/trainedModelInferenceJobs/{trainedModelInferenceJobId}":{"get":{"description":"Returns TrainedModelInferenceJob metadata information for a given instanceId and trainedModelInferenceJobId.","operationId":"getTrainedModelInferenceJobV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"A unique ID that represents an AMCMlInputChannel object","in":"path","name":"trainedModelInferenceJobId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/TrainedModelInferenceJobGetSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Get TrainedModelInferenceJob metadata for a given trainedModelInferenceJobId.","tags":["Custom Models"]}},"/amc/models/v1/trainedModelInferenceJobs/{trainedModelInferenceJobId}/cancel":{"post":{"description":"Cancels TrainedModelInferenceJob for a given instance and trainedModelInferenceJobId.","operationId":"cancelTrainedModelInferenceJobV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"A unique ID that represents an AMCMlInputChannel object","in":"path","name":"trainedModelInferenceJobId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/TrainedModelInferenceJobDeleteSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Cancel TrainedModelInferenceJob for a given trainedModelInferenceJobId.","tags":["Custom Models"]}},"/amc/models/v1/trainedModels":{"post":{"description":"Creates a TrainedModel, which can be used for TrainedModelInferenceJob","operationId":"createTrainedModelV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"}],"requestBody":{"content":{"application/vnd.amcmodelbasedaudience.v1+json":{"schema":{"$ref":"#/components/schemas/AMCModelBasedAudienceCreateTrainedModelInput"}}}},"responses":{"200":{"$ref":"#/components/responses/TrainedModelCreateSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Creates a workflow to create a TrainedModel for model-based audiences.","tags":["Custom Models"]}},"/amc/models/v1/trainedModels/list":{"post":{"description":"Returns list of TrainedModel metadata information for a given instanceId.","operationId":"listTrainedModelsByInstanceIdV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Optional. Limits the number of items to return in the response. Max value is 100. Defaults to 100.","in":"query","name":"maxResults","schema":{"default":100,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Optional. Token to retrieve subsequent page of results.","in":"query","name":"nextToken","schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/TrainedModelListSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"List TrainedModel metadata.","tags":["Custom Models"]}},"/amc/models/v1/trainedModels/{trainedModelId}":{"delete":{"description":"Deletes TrainedModel metadata information for a given instance and trainedModelId.","operationId":"deleteTrainedModelV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Identifier that uniquely represents an AMC model based audience trained model.","in":"path","name":"trainedModelId","required":true,"schema":{"type":"string"}}],"responses":{"204":{"$ref":"#/components/responses/TrainedModelDeleteSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Delete TrainedModel metadata for a given trainedModelId.","tags":["Custom Models"]},"get":{"description":"Returns TrainedModel metadata information for a given instanceId and trainedModelId.","operationId":"getTrainedModelByTrainedModelIdV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"Identifier that uniquely represents an AMC model based audience trained model.","in":"path","name":"trainedModelId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/TrainedModelGetSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Get TrainedModel metadata for a given trainedModelId.","tags":["Custom Models"]}},"/amc/models/v1/trainedModels/{trainedModelId}/cancel":{"post":{"description":"Cancels TrainedModel for a given instance and trainedModelId.","operationId":"cancelTrainedModelV2","parameters":[{"$ref":"#/components/parameters/clientHeader"},{"$ref":"#/components/parameters/accountHeader"},{"$ref":"#/components/parameters/instanceIdQueryParameter"},{"description":"A unique ID that represents an AMCMlTrainedModel object","in":"path","name":"trainedModelId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/TrainedModelCancelSuccess"},"400":{"$ref":"#/components/responses/BadRequest"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"500":{"$ref":"#/components/responses/InternalServerError"},"504":{"$ref":"#/components/responses/GatewayTimeout"}},"summary":"Cancel TrainedModel for a given trainedModelId.","tags":["Custom Models"]}}}}