git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

machinelearning.d.ts (123803B)


      1 import {Request} from '../lib/request';
      2 import {Response} from '../lib/response';
      3 import {AWSError} from '../lib/error';
      4 import {Service} from '../lib/service';
      5 import {ServiceConfigurationOptions} from '../lib/service';
      6 import {ConfigBase as Config} from '../lib/config';
      7 interface Blob {}
      8 declare class MachineLearning extends Service {
      9   /**
     10    * Constructs a service object. This object has one method for each API operation.
     11    */
     12   constructor(options?: MachineLearning.Types.ClientConfiguration)
     13   config: Config & MachineLearning.Types.ClientConfiguration;
     14   /**
     15    * Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value.
     16    */
     17   addTags(params: MachineLearning.Types.AddTagsInput, callback?: (err: AWSError, data: MachineLearning.Types.AddTagsOutput) => void): Request<MachineLearning.Types.AddTagsOutput, AWSError>;
     18   /**
     19    * Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value.
     20    */
     21   addTags(callback?: (err: AWSError, data: MachineLearning.Types.AddTagsOutput) => void): Request<MachineLearning.Types.AddTagsOutput, AWSError>;
     22   /**
     23    * Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources.  CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction status to PENDING. After the BatchPrediction completes, Amazon ML sets the status to COMPLETED.  You can poll for status updates by using the GetBatchPrediction operation and checking the Status parameter of the result. After the COMPLETED status appears, the results are available in the location specified by the OutputUri parameter.
     24    */
     25   createBatchPrediction(params: MachineLearning.Types.CreateBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateBatchPredictionOutput) => void): Request<MachineLearning.Types.CreateBatchPredictionOutput, AWSError>;
     26   /**
     27    * Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources.  CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction status to PENDING. After the BatchPrediction completes, Amazon ML sets the status to COMPLETED.  You can poll for status updates by using the GetBatchPrediction operation and checking the Status parameter of the result. After the COMPLETED status appears, the results are available in the location specified by the OutputUri parameter.
     28    */
     29   createBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.CreateBatchPredictionOutput) => void): Request<MachineLearning.Types.CreateBatchPredictionOutput, AWSError>;
     30   /**
     31    * Creates a DataSource object from an  Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRDS is an asynchronous operation. In response to CreateDataSourceFromRDS, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used only to perform &gt;CreateMLModel&gt;, CreateEvaluation, or CreateBatchPrediction operations.   If Amazon ML cannot accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. 
     32    */
     33   createDataSourceFromRDS(params: MachineLearning.Types.CreateDataSourceFromRDSInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRDSOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRDSOutput, AWSError>;
     34   /**
     35    * Creates a DataSource object from an  Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRDS is an asynchronous operation. In response to CreateDataSourceFromRDS, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used only to perform &gt;CreateMLModel&gt;, CreateEvaluation, or CreateBatchPrediction operations.   If Amazon ML cannot accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response. 
     36    */
     37   createDataSourceFromRDS(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRDSOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRDSOutput, AWSError>;
     38   /**
     39    * Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRedshift is an asynchronous operation. In response to CreateDataSourceFromRedshift, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in COMPLETED or PENDING states can be used to perform only CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.   If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.  The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a SelectSqlQuery query. Amazon ML executes an Unload command in Amazon Redshift to transfer the result set of the SelectSqlQuery query to S3StagingLocation. After the DataSource has been created, it's ready for use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also requires a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions. You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call GetDataSource for an existing datasource and copy the values to a CreateDataSource call. Change the settings that you want to change and make sure that all required fields have the appropriate values. 
     40    */
     41   createDataSourceFromRedshift(params: MachineLearning.Types.CreateDataSourceFromRedshiftInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRedshiftOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRedshiftOutput, AWSError>;
     42   /**
     43    * Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromRedshift is an asynchronous operation. In response to CreateDataSourceFromRedshift, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in COMPLETED or PENDING states can be used to perform only CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.   If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.  The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a SelectSqlQuery query. Amazon ML executes an Unload command in Amazon Redshift to transfer the result set of the SelectSqlQuery query to S3StagingLocation. After the DataSource has been created, it's ready for use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also requires a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions. You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call GetDataSource for an existing datasource and copy the values to a CreateDataSource call. Change the settings that you want to change and make sure that all required fields have the appropriate values. 
     44    */
     45   createDataSourceFromRedshift(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRedshiftOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRedshiftOutput, AWSError>;
     46   /**
     47    * Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromS3 is an asynchronous operation. In response to CreateDataSourceFromS3, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource has been created and is ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used to perform only CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.   If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.  The observation data used in a DataSource should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the DataSource.  After the DataSource has been created, it's ready to use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also needs a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.
     48    */
     49   createDataSourceFromS3(params: MachineLearning.Types.CreateDataSourceFromS3Input, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromS3Output) => void): Request<MachineLearning.Types.CreateDataSourceFromS3Output, AWSError>;
     50   /**
     51    * Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations. CreateDataSourceFromS3 is an asynchronous operation. In response to CreateDataSourceFromS3, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource has been created and is ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used to perform only CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.   If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.  The observation data used in a DataSource should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the DataSource.  After the DataSource has been created, it's ready to use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also needs a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.
     52    */
     53   createDataSourceFromS3(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromS3Output) => void): Request<MachineLearning.Types.CreateDataSourceFromS3Output, AWSError>;
     54   /**
     55    * Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS.  CreateEvaluation is an asynchronous operation. In response to CreateEvaluation, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to PENDING. After the Evaluation is created and ready for use, Amazon ML sets the status to COMPLETED.  You can use the GetEvaluation operation to check progress of the evaluation during the creation operation.
     56    */
     57   createEvaluation(params: MachineLearning.Types.CreateEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateEvaluationOutput) => void): Request<MachineLearning.Types.CreateEvaluationOutput, AWSError>;
     58   /**
     59    * Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS.  CreateEvaluation is an asynchronous operation. In response to CreateEvaluation, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to PENDING. After the Evaluation is created and ready for use, Amazon ML sets the status to COMPLETED.  You can use the GetEvaluation operation to check progress of the evaluation during the creation operation.
     60    */
     61   createEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.CreateEvaluationOutput) => void): Request<MachineLearning.Types.CreateEvaluationOutput, AWSError>;
     62   /**
     63    * Creates a new MLModel using the DataSource and the recipe as information sources.  An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel.  CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED.  You can use the GetMLModel operation to check the progress of the MLModel during the creation operation.  CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations. 
     64    */
     65   createMLModel(params: MachineLearning.Types.CreateMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateMLModelOutput) => void): Request<MachineLearning.Types.CreateMLModelOutput, AWSError>;
     66   /**
     67    * Creates a new MLModel using the DataSource and the recipe as information sources.  An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel.  CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED.  You can use the GetMLModel operation to check the progress of the MLModel during the creation operation.  CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations. 
     68    */
     69   createMLModel(callback?: (err: AWSError, data: MachineLearning.Types.CreateMLModelOutput) => void): Request<MachineLearning.Types.CreateMLModelOutput, AWSError>;
     70   /**
     71    * Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel.
     72    */
     73   createRealtimeEndpoint(params: MachineLearning.Types.CreateRealtimeEndpointInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateRealtimeEndpointOutput) => void): Request<MachineLearning.Types.CreateRealtimeEndpointOutput, AWSError>;
     74   /**
     75    * Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel.
     76    */
     77   createRealtimeEndpoint(callback?: (err: AWSError, data: MachineLearning.Types.CreateRealtimeEndpointOutput) => void): Request<MachineLearning.Types.CreateRealtimeEndpointOutput, AWSError>;
     78   /**
     79    * Assigns the DELETED status to a BatchPrediction, rendering it unusable. After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED. Caution: The result of the DeleteBatchPrediction operation is irreversible.
     80    */
     81   deleteBatchPrediction(params: MachineLearning.Types.DeleteBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteBatchPredictionOutput) => void): Request<MachineLearning.Types.DeleteBatchPredictionOutput, AWSError>;
     82   /**
     83    * Assigns the DELETED status to a BatchPrediction, rendering it unusable. After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED. Caution: The result of the DeleteBatchPrediction operation is irreversible.
     84    */
     85   deleteBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.DeleteBatchPredictionOutput) => void): Request<MachineLearning.Types.DeleteBatchPredictionOutput, AWSError>;
     86   /**
     87    * Assigns the DELETED status to a DataSource, rendering it unusable. After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED. Caution: The results of the DeleteDataSource operation are irreversible.
     88    */
     89   deleteDataSource(params: MachineLearning.Types.DeleteDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteDataSourceOutput) => void): Request<MachineLearning.Types.DeleteDataSourceOutput, AWSError>;
     90   /**
     91    * Assigns the DELETED status to a DataSource, rendering it unusable. After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED. Caution: The results of the DeleteDataSource operation are irreversible.
     92    */
     93   deleteDataSource(callback?: (err: AWSError, data: MachineLearning.Types.DeleteDataSourceOutput) => void): Request<MachineLearning.Types.DeleteDataSourceOutput, AWSError>;
     94   /**
     95    * Assigns the DELETED status to an Evaluation, rendering it unusable. After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED. Caution The results of the DeleteEvaluation operation are irreversible.
     96    */
     97   deleteEvaluation(params: MachineLearning.Types.DeleteEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteEvaluationOutput) => void): Request<MachineLearning.Types.DeleteEvaluationOutput, AWSError>;
     98   /**
     99    * Assigns the DELETED status to an Evaluation, rendering it unusable. After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED. Caution The results of the DeleteEvaluation operation are irreversible.
    100    */
    101   deleteEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.DeleteEvaluationOutput) => void): Request<MachineLearning.Types.DeleteEvaluationOutput, AWSError>;
    102   /**
    103    * Assigns the DELETED status to an MLModel, rendering it unusable. After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED. Caution: The result of the DeleteMLModel operation is irreversible.
    104    */
    105   deleteMLModel(params: MachineLearning.Types.DeleteMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteMLModelOutput) => void): Request<MachineLearning.Types.DeleteMLModelOutput, AWSError>;
    106   /**
    107    * Assigns the DELETED status to an MLModel, rendering it unusable. After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED. Caution: The result of the DeleteMLModel operation is irreversible.
    108    */
    109   deleteMLModel(callback?: (err: AWSError, data: MachineLearning.Types.DeleteMLModelOutput) => void): Request<MachineLearning.Types.DeleteMLModelOutput, AWSError>;
    110   /**
    111    * Deletes a real time endpoint of an MLModel.
    112    */
    113   deleteRealtimeEndpoint(params: MachineLearning.Types.DeleteRealtimeEndpointInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteRealtimeEndpointOutput) => void): Request<MachineLearning.Types.DeleteRealtimeEndpointOutput, AWSError>;
    114   /**
    115    * Deletes a real time endpoint of an MLModel.
    116    */
    117   deleteRealtimeEndpoint(callback?: (err: AWSError, data: MachineLearning.Types.DeleteRealtimeEndpointOutput) => void): Request<MachineLearning.Types.DeleteRealtimeEndpointOutput, AWSError>;
    118   /**
    119    * Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags. If you specify a tag that doesn't exist, Amazon ML ignores it.
    120    */
    121   deleteTags(params: MachineLearning.Types.DeleteTagsInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteTagsOutput) => void): Request<MachineLearning.Types.DeleteTagsOutput, AWSError>;
    122   /**
    123    * Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags. If you specify a tag that doesn't exist, Amazon ML ignores it.
    124    */
    125   deleteTags(callback?: (err: AWSError, data: MachineLearning.Types.DeleteTagsOutput) => void): Request<MachineLearning.Types.DeleteTagsOutput, AWSError>;
    126   /**
    127    * Returns a list of BatchPrediction operations that match the search criteria in the request.
    128    */
    129   describeBatchPredictions(params: MachineLearning.Types.DescribeBatchPredictionsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request<MachineLearning.Types.DescribeBatchPredictionsOutput, AWSError>;
    130   /**
    131    * Returns a list of BatchPrediction operations that match the search criteria in the request.
    132    */
    133   describeBatchPredictions(callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request<MachineLearning.Types.DescribeBatchPredictionsOutput, AWSError>;
    134   /**
    135    * Returns a list of DataSource that match the search criteria in the request.
    136    */
    137   describeDataSources(params: MachineLearning.Types.DescribeDataSourcesInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request<MachineLearning.Types.DescribeDataSourcesOutput, AWSError>;
    138   /**
    139    * Returns a list of DataSource that match the search criteria in the request.
    140    */
    141   describeDataSources(callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request<MachineLearning.Types.DescribeDataSourcesOutput, AWSError>;
    142   /**
    143    * Returns a list of DescribeEvaluations that match the search criteria in the request.
    144    */
    145   describeEvaluations(params: MachineLearning.Types.DescribeEvaluationsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request<MachineLearning.Types.DescribeEvaluationsOutput, AWSError>;
    146   /**
    147    * Returns a list of DescribeEvaluations that match the search criteria in the request.
    148    */
    149   describeEvaluations(callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request<MachineLearning.Types.DescribeEvaluationsOutput, AWSError>;
    150   /**
    151    * Returns a list of MLModel that match the search criteria in the request.
    152    */
    153   describeMLModels(params: MachineLearning.Types.DescribeMLModelsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request<MachineLearning.Types.DescribeMLModelsOutput, AWSError>;
    154   /**
    155    * Returns a list of MLModel that match the search criteria in the request.
    156    */
    157   describeMLModels(callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request<MachineLearning.Types.DescribeMLModelsOutput, AWSError>;
    158   /**
    159    * Describes one or more of the tags for your Amazon ML object.
    160    */
    161   describeTags(params: MachineLearning.Types.DescribeTagsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeTagsOutput) => void): Request<MachineLearning.Types.DescribeTagsOutput, AWSError>;
    162   /**
    163    * Describes one or more of the tags for your Amazon ML object.
    164    */
    165   describeTags(callback?: (err: AWSError, data: MachineLearning.Types.DescribeTagsOutput) => void): Request<MachineLearning.Types.DescribeTagsOutput, AWSError>;
    166   /**
    167    * Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request.
    168    */
    169   getBatchPrediction(params: MachineLearning.Types.GetBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.GetBatchPredictionOutput) => void): Request<MachineLearning.Types.GetBatchPredictionOutput, AWSError>;
    170   /**
    171    * Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request.
    172    */
    173   getBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.GetBatchPredictionOutput) => void): Request<MachineLearning.Types.GetBatchPredictionOutput, AWSError>;
    174   /**
    175    * Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource. GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.
    176    */
    177   getDataSource(params: MachineLearning.Types.GetDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.GetDataSourceOutput) => void): Request<MachineLearning.Types.GetDataSourceOutput, AWSError>;
    178   /**
    179    * Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource. GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.
    180    */
    181   getDataSource(callback?: (err: AWSError, data: MachineLearning.Types.GetDataSourceOutput) => void): Request<MachineLearning.Types.GetDataSourceOutput, AWSError>;
    182   /**
    183    * Returns an Evaluation that includes metadata as well as the current status of the Evaluation.
    184    */
    185   getEvaluation(params: MachineLearning.Types.GetEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.GetEvaluationOutput) => void): Request<MachineLearning.Types.GetEvaluationOutput, AWSError>;
    186   /**
    187    * Returns an Evaluation that includes metadata as well as the current status of the Evaluation.
    188    */
    189   getEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.GetEvaluationOutput) => void): Request<MachineLearning.Types.GetEvaluationOutput, AWSError>;
    190   /**
    191    * Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel. GetMLModel provides results in normal or verbose format. 
    192    */
    193   getMLModel(params: MachineLearning.Types.GetMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.GetMLModelOutput) => void): Request<MachineLearning.Types.GetMLModelOutput, AWSError>;
    194   /**
    195    * Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel. GetMLModel provides results in normal or verbose format. 
    196    */
    197   getMLModel(callback?: (err: AWSError, data: MachineLearning.Types.GetMLModelOutput) => void): Request<MachineLearning.Types.GetMLModelOutput, AWSError>;
    198   /**
    199    * Generates a prediction for the observation using the specified ML Model. Note Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.
    200    */
    201   predict(params: MachineLearning.Types.PredictInput, callback?: (err: AWSError, data: MachineLearning.Types.PredictOutput) => void): Request<MachineLearning.Types.PredictOutput, AWSError>;
    202   /**
    203    * Generates a prediction for the observation using the specified ML Model. Note Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.
    204    */
    205   predict(callback?: (err: AWSError, data: MachineLearning.Types.PredictOutput) => void): Request<MachineLearning.Types.PredictOutput, AWSError>;
    206   /**
    207    * Updates the BatchPredictionName of a BatchPrediction. You can use the GetBatchPrediction operation to view the contents of the updated data element.
    208    */
    209   updateBatchPrediction(params: MachineLearning.Types.UpdateBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateBatchPredictionOutput) => void): Request<MachineLearning.Types.UpdateBatchPredictionOutput, AWSError>;
    210   /**
    211    * Updates the BatchPredictionName of a BatchPrediction. You can use the GetBatchPrediction operation to view the contents of the updated data element.
    212    */
    213   updateBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.UpdateBatchPredictionOutput) => void): Request<MachineLearning.Types.UpdateBatchPredictionOutput, AWSError>;
    214   /**
    215    * Updates the DataSourceName of a DataSource. You can use the GetDataSource operation to view the contents of the updated data element.
    216    */
    217   updateDataSource(params: MachineLearning.Types.UpdateDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateDataSourceOutput) => void): Request<MachineLearning.Types.UpdateDataSourceOutput, AWSError>;
    218   /**
    219    * Updates the DataSourceName of a DataSource. You can use the GetDataSource operation to view the contents of the updated data element.
    220    */
    221   updateDataSource(callback?: (err: AWSError, data: MachineLearning.Types.UpdateDataSourceOutput) => void): Request<MachineLearning.Types.UpdateDataSourceOutput, AWSError>;
    222   /**
    223    * Updates the EvaluationName of an Evaluation. You can use the GetEvaluation operation to view the contents of the updated data element.
    224    */
    225   updateEvaluation(params: MachineLearning.Types.UpdateEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateEvaluationOutput) => void): Request<MachineLearning.Types.UpdateEvaluationOutput, AWSError>;
    226   /**
    227    * Updates the EvaluationName of an Evaluation. You can use the GetEvaluation operation to view the contents of the updated data element.
    228    */
    229   updateEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.UpdateEvaluationOutput) => void): Request<MachineLearning.Types.UpdateEvaluationOutput, AWSError>;
    230   /**
    231    * Updates the MLModelName and the ScoreThreshold of an MLModel. You can use the GetMLModel operation to view the contents of the updated data element.
    232    */
    233   updateMLModel(params: MachineLearning.Types.UpdateMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.UpdateMLModelOutput) => void): Request<MachineLearning.Types.UpdateMLModelOutput, AWSError>;
    234   /**
    235    * Updates the MLModelName and the ScoreThreshold of an MLModel. You can use the GetMLModel operation to view the contents of the updated data element.
    236    */
    237   updateMLModel(callback?: (err: AWSError, data: MachineLearning.Types.UpdateMLModelOutput) => void): Request<MachineLearning.Types.UpdateMLModelOutput, AWSError>;
    238   /**
    239    * Waits for the dataSourceAvailable state by periodically calling the underlying MachineLearning.describeDataSourcesoperation every 30 seconds (at most 60 times).
    240    */
    241   waitFor(state: "dataSourceAvailable", params: MachineLearning.Types.DescribeDataSourcesInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request<MachineLearning.Types.DescribeDataSourcesOutput, AWSError>;
    242   /**
    243    * Waits for the dataSourceAvailable state by periodically calling the underlying MachineLearning.describeDataSourcesoperation every 30 seconds (at most 60 times).
    244    */
    245   waitFor(state: "dataSourceAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeDataSourcesOutput) => void): Request<MachineLearning.Types.DescribeDataSourcesOutput, AWSError>;
    246   /**
    247    * Waits for the mLModelAvailable state by periodically calling the underlying MachineLearning.describeMLModelsoperation every 30 seconds (at most 60 times).
    248    */
    249   waitFor(state: "mLModelAvailable", params: MachineLearning.Types.DescribeMLModelsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request<MachineLearning.Types.DescribeMLModelsOutput, AWSError>;
    250   /**
    251    * Waits for the mLModelAvailable state by periodically calling the underlying MachineLearning.describeMLModelsoperation every 30 seconds (at most 60 times).
    252    */
    253   waitFor(state: "mLModelAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeMLModelsOutput) => void): Request<MachineLearning.Types.DescribeMLModelsOutput, AWSError>;
    254   /**
    255    * Waits for the evaluationAvailable state by periodically calling the underlying MachineLearning.describeEvaluationsoperation every 30 seconds (at most 60 times).
    256    */
    257   waitFor(state: "evaluationAvailable", params: MachineLearning.Types.DescribeEvaluationsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request<MachineLearning.Types.DescribeEvaluationsOutput, AWSError>;
    258   /**
    259    * Waits for the evaluationAvailable state by periodically calling the underlying MachineLearning.describeEvaluationsoperation every 30 seconds (at most 60 times).
    260    */
    261   waitFor(state: "evaluationAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeEvaluationsOutput) => void): Request<MachineLearning.Types.DescribeEvaluationsOutput, AWSError>;
    262   /**
    263    * Waits for the batchPredictionAvailable state by periodically calling the underlying MachineLearning.describeBatchPredictionsoperation every 30 seconds (at most 60 times).
    264    */
    265   waitFor(state: "batchPredictionAvailable", params: MachineLearning.Types.DescribeBatchPredictionsInput, callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request<MachineLearning.Types.DescribeBatchPredictionsOutput, AWSError>;
    266   /**
    267    * Waits for the batchPredictionAvailable state by periodically calling the underlying MachineLearning.describeBatchPredictionsoperation every 30 seconds (at most 60 times).
    268    */
    269   waitFor(state: "batchPredictionAvailable", callback?: (err: AWSError, data: MachineLearning.Types.DescribeBatchPredictionsOutput) => void): Request<MachineLearning.Types.DescribeBatchPredictionsOutput, AWSError>;
    270 }
    271 declare namespace MachineLearning.Types {
    272   export interface AddTagsInput {
    273     /**
    274      * The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.
    275      */
    276     Tags: TagList;
    277     /**
    278      * The ID of the ML object to tag. For example, exampleModelId.
    279      */
    280     ResourceId: EntityId;
    281     /**
    282      * The type of the ML object to tag. 
    283      */
    284     ResourceType: TaggableResourceType;
    285   }
    286   export interface AddTagsOutput {
    287     /**
    288      * The ID of the ML object that was tagged.
    289      */
    290     ResourceId?: EntityId;
    291     /**
    292      * The type of the ML object that was tagged.
    293      */
    294     ResourceType?: TaggableResourceType;
    295   }
    296   export type Algorithm = "sgd"|string;
    297   export type AwsUserArn = string;
    298   export interface BatchPrediction {
    299     /**
    300      * The ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request. 
    301      */
    302     BatchPredictionId?: EntityId;
    303     /**
    304      * The ID of the MLModel that generated predictions for the BatchPrediction request.
    305      */
    306     MLModelId?: EntityId;
    307     /**
    308      * The ID of the DataSource that points to the group of observations to predict.
    309      */
    310     BatchPredictionDataSourceId?: EntityId;
    311     /**
    312      * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
    313      */
    314     InputDataLocationS3?: S3Url;
    315     /**
    316      * The AWS user account that invoked the BatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
    317      */
    318     CreatedByIamUser?: AwsUserArn;
    319     /**
    320      * The time that the BatchPrediction was created. The time is expressed in epoch time.
    321      */
    322     CreatedAt?: EpochTime;
    323     /**
    324      * The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.
    325      */
    326     LastUpdatedAt?: EpochTime;
    327     /**
    328      * A user-supplied name or description of the BatchPrediction.
    329      */
    330     Name?: EntityName;
    331     /**
    332      * The status of the BatchPrediction. This element can have one of the following values:   PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.  INPROGRESS - The process is underway.  FAILED - The request to perform a batch prediction did not run to completion. It is not usable.  COMPLETED - The batch prediction process completed successfully.  DELETED - The BatchPrediction is marked as deleted. It is not usable. 
    333      */
    334     Status?: EntityStatus;
    335     /**
    336      * The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'.
    337      */
    338     OutputUri?: S3Url;
    339     /**
    340      * A description of the most recent details about processing the batch prediction request.
    341      */
    342     Message?: Message;
    343     ComputeTime?: LongType;
    344     FinishedAt?: EpochTime;
    345     StartedAt?: EpochTime;
    346     TotalRecordCount?: LongType;
    347     InvalidRecordCount?: LongType;
    348   }
    349   export type BatchPredictionFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"IAMUser"|"MLModelId"|"DataSourceId"|"DataURI"|string;
    350   export type BatchPredictions = BatchPrediction[];
    351   export type ComparatorValue = string;
    352   export type ComputeStatistics = boolean;
    353   export interface CreateBatchPredictionInput {
    354     /**
    355      * A user-supplied ID that uniquely identifies the BatchPrediction.
    356      */
    357     BatchPredictionId: EntityId;
    358     /**
    359      * A user-supplied name or description of the BatchPrediction. BatchPredictionName can only use the UTF-8 character set.
    360      */
    361     BatchPredictionName?: EntityName;
    362     /**
    363      * The ID of the MLModel that will generate predictions for the group of observations. 
    364      */
    365     MLModelId: EntityId;
    366     /**
    367      * The ID of the DataSource that points to the group of observations to predict.
    368      */
    369     BatchPredictionDataSourceId: EntityId;
    370     /**
    371      * The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'. Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the Amazon Machine Learning Developer Guide.
    372      */
    373     OutputUri: S3Url;
    374   }
    375   export interface CreateBatchPredictionOutput {
    376     /**
    377      * A user-supplied ID that uniquely identifies the BatchPrediction. This value is identical to the value of the BatchPredictionId in the request.
    378      */
    379     BatchPredictionId?: EntityId;
    380   }
    381   export interface CreateDataSourceFromRDSInput {
    382     /**
    383      * A user-supplied ID that uniquely identifies the DataSource. Typically, an Amazon Resource Number (ARN) becomes the ID for a DataSource.
    384      */
    385     DataSourceId: EntityId;
    386     /**
    387      * A user-supplied name or description of the DataSource.
    388      */
    389     DataSourceName?: EntityName;
    390     /**
    391      * The data specification of an Amazon RDS DataSource:  DatabaseInformation -   DatabaseName - The name of the Amazon RDS database.  InstanceIdentifier  - A unique identifier for the Amazon RDS database instance.   DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database. ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see Role templates for data pipelines. ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines. SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [SubnetId, SecurityGroupIds] pair for a VPC-based RDS DB instance. SelectSqlQuery - A query that is used to retrieve the observation data for the Datasource. S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location. DataSchemaUri - The Amazon S3 location of the DataSchema. DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.   DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource.    Sample -  "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"   
    392      */
    393     RDSData: RDSDataSpec;
    394     /**
    395      * The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the SelectSqlQuery query from Amazon RDS to Amazon S3.  
    396      */
    397     RoleARN: RoleARN;
    398     /**
    399      * The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training. 
    400      */
    401     ComputeStatistics?: ComputeStatistics;
    402   }
    403   export interface CreateDataSourceFromRDSOutput {
    404     /**
    405      * A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the DataSourceID in the request. 
    406      */
    407     DataSourceId?: EntityId;
    408   }
    409   export interface CreateDataSourceFromRedshiftInput {
    410     /**
    411      * A user-supplied ID that uniquely identifies the DataSource.
    412      */
    413     DataSourceId: EntityId;
    414     /**
    415      * A user-supplied name or description of the DataSource. 
    416      */
    417     DataSourceName?: EntityName;
    418     /**
    419      * The data specification of an Amazon Redshift DataSource:  DatabaseInformation -   DatabaseName - The name of the Amazon Redshift database.    ClusterIdentifier - The unique ID for the Amazon Redshift cluster.  DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database. SelectSqlQuery - The query that is used to retrieve the observation data for the Datasource. S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the SelectSqlQuery query is stored in this location. DataSchemaUri - The Amazon S3 location of the DataSchema. DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.   DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the DataSource.  Sample -  "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"   
    420      */
    421     DataSpec: RedshiftDataSpec;
    422     /**
    423      * A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:    A security group to allow Amazon ML to execute the SelectSqlQuery query on an Amazon Redshift cluster An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the S3StagingLocation  
    424      */
    425     RoleARN: RoleARN;
    426     /**
    427      * The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.
    428      */
    429     ComputeStatistics?: ComputeStatistics;
    430   }
    431   export interface CreateDataSourceFromRedshiftOutput {
    432     /**
    433      * A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the DataSourceID in the request. 
    434      */
    435     DataSourceId?: EntityId;
    436   }
    437   export interface CreateDataSourceFromS3Input {
    438     /**
    439      * A user-supplied identifier that uniquely identifies the DataSource. 
    440      */
    441     DataSourceId: EntityId;
    442     /**
    443      * A user-supplied name or description of the DataSource. 
    444      */
    445     DataSourceName?: EntityName;
    446     /**
    447      * The data specification of a DataSource:  DataLocationS3 - The Amazon S3 location of the observation data. DataSchemaLocationS3 - The Amazon S3 location of the DataSchema. DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.   DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource.   Sample -  "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"   
    448      */
    449     DataSpec: S3DataSpec;
    450     /**
    451      * The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.
    452      */
    453     ComputeStatistics?: ComputeStatistics;
    454   }
    455   export interface CreateDataSourceFromS3Output {
    456     /**
    457      * A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request. 
    458      */
    459     DataSourceId?: EntityId;
    460   }
    461   export interface CreateEvaluationInput {
    462     /**
    463      * A user-supplied ID that uniquely identifies the Evaluation.
    464      */
    465     EvaluationId: EntityId;
    466     /**
    467      * A user-supplied name or description of the Evaluation.
    468      */
    469     EvaluationName?: EntityName;
    470     /**
    471      * The ID of the MLModel to evaluate. The schema used in creating the MLModel must match the schema of the DataSource used in the Evaluation.
    472      */
    473     MLModelId: EntityId;
    474     /**
    475      * The ID of the DataSource for the evaluation. The schema of the DataSource must match the schema used to create the MLModel.
    476      */
    477     EvaluationDataSourceId: EntityId;
    478   }
    479   export interface CreateEvaluationOutput {
    480     /**
    481      * The user-supplied ID that uniquely identifies the Evaluation. This value should be identical to the value of the EvaluationId in the request.
    482      */
    483     EvaluationId?: EntityId;
    484   }
    485   export interface CreateMLModelInput {
    486     /**
    487      * A user-supplied ID that uniquely identifies the MLModel.
    488      */
    489     MLModelId: EntityId;
    490     /**
    491      * A user-supplied name or description of the MLModel.
    492      */
    493     MLModelName?: EntityName;
    494     /**
    495      * The category of supervised learning that this MLModel will address. Choose from the following types:  Choose REGRESSION if the MLModel will be used to predict a numeric value. Choose BINARY if the MLModel result has two possible values. Choose MULTICLASS if the MLModel result has a limited number of values.    For more information, see the Amazon Machine Learning Developer Guide.
    496      */
    497     MLModelType: MLModelType;
    498     /**
    499      * A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs. The following is the current set of training parameters:    sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.  The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.  sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.  sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data.   sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.   sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.  
    500      */
    501     Parameters?: TrainingParameters;
    502     /**
    503      * The DataSource that points to the training data.
    504      */
    505     TrainingDataSourceId: EntityId;
    506     /**
    507      * The data recipe for creating the MLModel. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.
    508      */
    509     Recipe?: Recipe;
    510     /**
    511      * The Amazon Simple Storage Service (Amazon S3) location and file name that contains the MLModel recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.
    512      */
    513     RecipeUri?: S3Url;
    514   }
    515   export interface CreateMLModelOutput {
    516     /**
    517      * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request. 
    518      */
    519     MLModelId?: EntityId;
    520   }
    521   export interface CreateRealtimeEndpointInput {
    522     /**
    523      * The ID assigned to the MLModel during creation.
    524      */
    525     MLModelId: EntityId;
    526   }
    527   export interface CreateRealtimeEndpointOutput {
    528     /**
    529      * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.
    530      */
    531     MLModelId?: EntityId;
    532     /**
    533      * The endpoint information of the MLModel 
    534      */
    535     RealtimeEndpointInfo?: RealtimeEndpointInfo;
    536   }
    537   export type DataRearrangement = string;
    538   export type DataSchema = string;
    539   export interface DataSource {
    540     /**
    541      * The ID that is assigned to the DataSource during creation.
    542      */
    543     DataSourceId?: EntityId;
    544     /**
    545      * The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.
    546      */
    547     DataLocationS3?: S3Url;
    548     /**
    549      * A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.
    550      */
    551     DataRearrangement?: DataRearrangement;
    552     /**
    553      * The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
    554      */
    555     CreatedByIamUser?: AwsUserArn;
    556     /**
    557      * The time that the DataSource was created. The time is expressed in epoch time.
    558      */
    559     CreatedAt?: EpochTime;
    560     /**
    561      * The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.
    562      */
    563     LastUpdatedAt?: EpochTime;
    564     /**
    565      * The total number of observations contained in the data files that the DataSource references.
    566      */
    567     DataSizeInBytes?: LongType;
    568     /**
    569      * The number of data files referenced by the DataSource.
    570      */
    571     NumberOfFiles?: LongType;
    572     /**
    573      * A user-supplied name or description of the DataSource.
    574      */
    575     Name?: EntityName;
    576     /**
    577      * The current status of the DataSource. This element can have one of the following values:   PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource. INPROGRESS - The creation process is underway. FAILED - The request to create a DataSource did not run to completion. It is not usable. COMPLETED - The creation process completed successfully. DELETED - The DataSource is marked as deleted. It is not usable. 
    578      */
    579     Status?: EntityStatus;
    580     /**
    581      * A description of the most recent details about creating the DataSource.
    582      */
    583     Message?: Message;
    584     RedshiftMetadata?: RedshiftMetadata;
    585     RDSMetadata?: RDSMetadata;
    586     RoleARN?: RoleARN;
    587     /**
    588      *  The parameter is true if statistics need to be generated from the observation data. 
    589      */
    590     ComputeStatistics?: ComputeStatistics;
    591     ComputeTime?: LongType;
    592     FinishedAt?: EpochTime;
    593     StartedAt?: EpochTime;
    594   }
    595   export type DataSourceFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"DataLocationS3"|"IAMUser"|string;
    596   export type DataSources = DataSource[];
    597   export interface DeleteBatchPredictionInput {
    598     /**
    599      * A user-supplied ID that uniquely identifies the BatchPrediction.
    600      */
    601     BatchPredictionId: EntityId;
    602   }
    603   export interface DeleteBatchPredictionOutput {
    604     /**
    605      * A user-supplied ID that uniquely identifies the BatchPrediction. This value should be identical to the value of the BatchPredictionID in the request.
    606      */
    607     BatchPredictionId?: EntityId;
    608   }
    609   export interface DeleteDataSourceInput {
    610     /**
    611      * A user-supplied ID that uniquely identifies the DataSource.
    612      */
    613     DataSourceId: EntityId;
    614   }
    615   export interface DeleteDataSourceOutput {
    616     /**
    617      * A user-supplied ID that uniquely identifies the DataSource. This value should be identical to the value of the DataSourceID in the request.
    618      */
    619     DataSourceId?: EntityId;
    620   }
    621   export interface DeleteEvaluationInput {
    622     /**
    623      * A user-supplied ID that uniquely identifies the Evaluation to delete.
    624      */
    625     EvaluationId: EntityId;
    626   }
    627   export interface DeleteEvaluationOutput {
    628     /**
    629      * A user-supplied ID that uniquely identifies the Evaluation. This value should be identical to the value of the EvaluationId in the request.
    630      */
    631     EvaluationId?: EntityId;
    632   }
    633   export interface DeleteMLModelInput {
    634     /**
    635      * A user-supplied ID that uniquely identifies the MLModel.
    636      */
    637     MLModelId: EntityId;
    638   }
    639   export interface DeleteMLModelOutput {
    640     /**
    641      * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelID in the request.
    642      */
    643     MLModelId?: EntityId;
    644   }
    645   export interface DeleteRealtimeEndpointInput {
    646     /**
    647      * The ID assigned to the MLModel during creation.
    648      */
    649     MLModelId: EntityId;
    650   }
    651   export interface DeleteRealtimeEndpointOutput {
    652     /**
    653      * A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelId in the request.
    654      */
    655     MLModelId?: EntityId;
    656     /**
    657      * The endpoint information of the MLModel 
    658      */
    659     RealtimeEndpointInfo?: RealtimeEndpointInfo;
    660   }
    661   export interface DeleteTagsInput {
    662     /**
    663      * One or more tags to delete.
    664      */
    665     TagKeys: TagKeyList;
    666     /**
    667      * The ID of the tagged ML object. For example, exampleModelId.
    668      */
    669     ResourceId: EntityId;
    670     /**
    671      * The type of the tagged ML object.
    672      */
    673     ResourceType: TaggableResourceType;
    674   }
    675   export interface DeleteTagsOutput {
    676     /**
    677      * The ID of the ML object from which tags were deleted.
    678      */
    679     ResourceId?: EntityId;
    680     /**
    681      * The type of the ML object from which tags were deleted.
    682      */
    683     ResourceType?: TaggableResourceType;
    684   }
    685   export interface DescribeBatchPredictionsInput {
    686     /**
    687      * Use one of the following variables to filter a list of BatchPrediction:   CreatedAt - Sets the search criteria to the BatchPrediction creation date.  Status - Sets the search criteria to the BatchPrediction status.  Name - Sets the search criteria to the contents of the BatchPrediction  Name.  IAMUser - Sets the search criteria to the user account that invoked the BatchPrediction creation.  MLModelId - Sets the search criteria to the MLModel used in the BatchPrediction.  DataSourceId - Sets the search criteria to the DataSource used in the BatchPrediction.  DataURI - Sets the search criteria to the data file(s) used in the BatchPrediction. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory. 
    688      */
    689     FilterVariable?: BatchPredictionFilterVariable;
    690     /**
    691      * The equal to operator. The BatchPrediction results will have FilterVariable values that exactly match the value specified with EQ.
    692      */
    693     EQ?: ComparatorValue;
    694     /**
    695      * The greater than operator. The BatchPrediction results will have FilterVariable values that are greater than the value specified with GT.
    696      */
    697     GT?: ComparatorValue;
    698     /**
    699      * The less than operator. The BatchPrediction results will have FilterVariable values that are less than the value specified with LT.
    700      */
    701     LT?: ComparatorValue;
    702     /**
    703      * The greater than or equal to operator. The BatchPrediction results will have FilterVariable values that are greater than or equal to the value specified with GE. 
    704      */
    705     GE?: ComparatorValue;
    706     /**
    707      * The less than or equal to operator. The BatchPrediction results will have FilterVariable values that are less than or equal to the value specified with LE.
    708      */
    709     LE?: ComparatorValue;
    710     /**
    711      * The not equal to operator. The BatchPrediction results will have FilterVariable values not equal to the value specified with NE.
    712      */
    713     NE?: ComparatorValue;
    714     /**
    715      * A string that is found at the beginning of a variable, such as Name or Id. For example, a Batch Prediction operation could have the Name 2014-09-09-HolidayGiftMailer. To search for this BatchPrediction, select Name for the FilterVariable and any of the following strings for the Prefix:   2014-09 2014-09-09 2014-09-09-Holiday 
    716      */
    717     Prefix?: ComparatorValue;
    718     /**
    719      * A two-value parameter that determines the sequence of the resulting list of MLModels.   asc - Arranges the list in ascending order (A-Z, 0-9).  dsc - Arranges the list in descending order (Z-A, 9-0).  Results are sorted by FilterVariable.
    720      */
    721     SortOrder?: SortOrder;
    722     /**
    723      * An ID of the page in the paginated results.
    724      */
    725     NextToken?: StringType;
    726     /**
    727      * The number of pages of information to include in the result. The range of acceptable values is 1 through 100. The default value is 100.
    728      */
    729     Limit?: PageLimit;
    730   }
    731   export interface DescribeBatchPredictionsOutput {
    732     /**
    733      * A list of BatchPrediction objects that meet the search criteria. 
    734      */
    735     Results?: BatchPredictions;
    736     /**
    737      * The ID of the next page in the paginated results that indicates at least one more page follows.
    738      */
    739     NextToken?: StringType;
    740   }
    741   export interface DescribeDataSourcesInput {
    742     /**
    743      * Use one of the following variables to filter a list of DataSource:   CreatedAt - Sets the search criteria to DataSource creation dates.  Status - Sets the search criteria to DataSource statuses.  Name - Sets the search criteria to the contents of DataSource   Name.  DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.  IAMUser - Sets the search criteria to the user account that invoked the DataSource creation. 
    744      */
    745     FilterVariable?: DataSourceFilterVariable;
    746     /**
    747      * The equal to operator. The DataSource results will have FilterVariable values that exactly match the value specified with EQ.
    748      */
    749     EQ?: ComparatorValue;
    750     /**
    751      * The greater than operator. The DataSource results will have FilterVariable values that are greater than the value specified with GT.
    752      */
    753     GT?: ComparatorValue;
    754     /**
    755      * The less than operator. The DataSource results will have FilterVariable values that are less than the value specified with LT.
    756      */
    757     LT?: ComparatorValue;
    758     /**
    759      * The greater than or equal to operator. The DataSource results will have FilterVariable values that are greater than or equal to the value specified with GE. 
    760      */
    761     GE?: ComparatorValue;
    762     /**
    763      * The less than or equal to operator. The DataSource results will have FilterVariable values that are less than or equal to the value specified with LE.
    764      */
    765     LE?: ComparatorValue;
    766     /**
    767      * The not equal to operator. The DataSource results will have FilterVariable values not equal to the value specified with NE.
    768      */
    769     NE?: ComparatorValue;
    770     /**
    771      * A string that is found at the beginning of a variable, such as Name or Id. For example, a DataSource could have the Name 2014-09-09-HolidayGiftMailer. To search for this DataSource, select Name for the FilterVariable and any of the following strings for the Prefix:   2014-09 2014-09-09 2014-09-09-Holiday 
    772      */
    773     Prefix?: ComparatorValue;
    774     /**
    775      * A two-value parameter that determines the sequence of the resulting list of DataSource.   asc - Arranges the list in ascending order (A-Z, 0-9).  dsc - Arranges the list in descending order (Z-A, 9-0).  Results are sorted by FilterVariable.
    776      */
    777     SortOrder?: SortOrder;
    778     /**
    779      * The ID of the page in the paginated results.
    780      */
    781     NextToken?: StringType;
    782     /**
    783      *  The maximum number of DataSource to include in the result.
    784      */
    785     Limit?: PageLimit;
    786   }
    787   export interface DescribeDataSourcesOutput {
    788     /**
    789      * A list of DataSource that meet the search criteria. 
    790      */
    791     Results?: DataSources;
    792     /**
    793      * An ID of the next page in the paginated results that indicates at least one more page follows.
    794      */
    795     NextToken?: StringType;
    796   }
    797   export interface DescribeEvaluationsInput {
    798     /**
    799      * Use one of the following variable to filter a list of Evaluation objects:   CreatedAt - Sets the search criteria to the Evaluation creation date.  Status - Sets the search criteria to the Evaluation status.  Name - Sets the search criteria to the contents of Evaluation   Name.  IAMUser - Sets the search criteria to the user account that invoked an Evaluation.  MLModelId - Sets the search criteria to the MLModel that was evaluated.  DataSourceId - Sets the search criteria to the DataSource used in Evaluation.  DataUri - Sets the search criteria to the data file(s) used in Evaluation. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory. 
    800      */
    801     FilterVariable?: EvaluationFilterVariable;
    802     /**
    803      * The equal to operator. The Evaluation results will have FilterVariable values that exactly match the value specified with EQ.
    804      */
    805     EQ?: ComparatorValue;
    806     /**
    807      * The greater than operator. The Evaluation results will have FilterVariable values that are greater than the value specified with GT.
    808      */
    809     GT?: ComparatorValue;
    810     /**
    811      * The less than operator. The Evaluation results will have FilterVariable values that are less than the value specified with LT.
    812      */
    813     LT?: ComparatorValue;
    814     /**
    815      * The greater than or equal to operator. The Evaluation results will have FilterVariable values that are greater than or equal to the value specified with GE. 
    816      */
    817     GE?: ComparatorValue;
    818     /**
    819      * The less than or equal to operator. The Evaluation results will have FilterVariable values that are less than or equal to the value specified with LE.
    820      */
    821     LE?: ComparatorValue;
    822     /**
    823      * The not equal to operator. The Evaluation results will have FilterVariable values not equal to the value specified with NE.
    824      */
    825     NE?: ComparatorValue;
    826     /**
    827      * A string that is found at the beginning of a variable, such as Name or Id. For example, an Evaluation could have the Name 2014-09-09-HolidayGiftMailer. To search for this Evaluation, select Name for the FilterVariable and any of the following strings for the Prefix:   2014-09 2014-09-09 2014-09-09-Holiday 
    828      */
    829     Prefix?: ComparatorValue;
    830     /**
    831      * A two-value parameter that determines the sequence of the resulting list of Evaluation.   asc - Arranges the list in ascending order (A-Z, 0-9).  dsc - Arranges the list in descending order (Z-A, 9-0).  Results are sorted by FilterVariable.
    832      */
    833     SortOrder?: SortOrder;
    834     /**
    835      * The ID of the page in the paginated results.
    836      */
    837     NextToken?: StringType;
    838     /**
    839      *  The maximum number of Evaluation to include in the result.
    840      */
    841     Limit?: PageLimit;
    842   }
    843   export interface DescribeEvaluationsOutput {
    844     /**
    845      * A list of Evaluation that meet the search criteria. 
    846      */
    847     Results?: Evaluations;
    848     /**
    849      * The ID of the next page in the paginated results that indicates at least one more page follows.
    850      */
    851     NextToken?: StringType;
    852   }
    853   export interface DescribeMLModelsInput {
    854     /**
    855      * Use one of the following variables to filter a list of MLModel:   CreatedAt - Sets the search criteria to MLModel creation date.  Status - Sets the search criteria to MLModel status.  Name - Sets the search criteria to the contents of MLModel  Name.  IAMUser - Sets the search criteria to the user account that invoked the MLModel creation.  TrainingDataSourceId - Sets the search criteria to the DataSource used to train one or more MLModel.  RealtimeEndpointStatus - Sets the search criteria to the MLModel real-time endpoint status.  MLModelType - Sets the search criteria to MLModel type: binary, regression, or multi-class.  Algorithm - Sets the search criteria to the algorithm that the MLModel uses.  TrainingDataURI - Sets the search criteria to the data file(s) used in training a MLModel. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory. 
    856      */
    857     FilterVariable?: MLModelFilterVariable;
    858     /**
    859      * The equal to operator. The MLModel results will have FilterVariable values that exactly match the value specified with EQ.
    860      */
    861     EQ?: ComparatorValue;
    862     /**
    863      * The greater than operator. The MLModel results will have FilterVariable values that are greater than the value specified with GT.
    864      */
    865     GT?: ComparatorValue;
    866     /**
    867      * The less than operator. The MLModel results will have FilterVariable values that are less than the value specified with LT.
    868      */
    869     LT?: ComparatorValue;
    870     /**
    871      * The greater than or equal to operator. The MLModel results will have FilterVariable values that are greater than or equal to the value specified with GE. 
    872      */
    873     GE?: ComparatorValue;
    874     /**
    875      * The less than or equal to operator. The MLModel results will have FilterVariable values that are less than or equal to the value specified with LE.
    876      */
    877     LE?: ComparatorValue;
    878     /**
    879      * The not equal to operator. The MLModel results will have FilterVariable values not equal to the value specified with NE.
    880      */
    881     NE?: ComparatorValue;
    882     /**
    883      * A string that is found at the beginning of a variable, such as Name or Id. For example, an MLModel could have the Name 2014-09-09-HolidayGiftMailer. To search for this MLModel, select Name for the FilterVariable and any of the following strings for the Prefix:   2014-09 2014-09-09 2014-09-09-Holiday 
    884      */
    885     Prefix?: ComparatorValue;
    886     /**
    887      * A two-value parameter that determines the sequence of the resulting list of MLModel.   asc - Arranges the list in ascending order (A-Z, 0-9).  dsc - Arranges the list in descending order (Z-A, 9-0).  Results are sorted by FilterVariable.
    888      */
    889     SortOrder?: SortOrder;
    890     /**
    891      * The ID of the page in the paginated results.
    892      */
    893     NextToken?: StringType;
    894     /**
    895      * The number of pages of information to include in the result. The range of acceptable values is 1 through 100. The default value is 100.
    896      */
    897     Limit?: PageLimit;
    898   }
    899   export interface DescribeMLModelsOutput {
    900     /**
    901      * A list of MLModel that meet the search criteria.
    902      */
    903     Results?: MLModels;
    904     /**
    905      * The ID of the next page in the paginated results that indicates at least one more page follows.
    906      */
    907     NextToken?: StringType;
    908   }
    909   export interface DescribeTagsInput {
    910     /**
    911      * The ID of the ML object. For example, exampleModelId. 
    912      */
    913     ResourceId: EntityId;
    914     /**
    915      * The type of the ML object.
    916      */
    917     ResourceType: TaggableResourceType;
    918   }
    919   export interface DescribeTagsOutput {
    920     /**
    921      * The ID of the tagged ML object.
    922      */
    923     ResourceId?: EntityId;
    924     /**
    925      * The type of the tagged ML object.
    926      */
    927     ResourceType?: TaggableResourceType;
    928     /**
    929      * A list of tags associated with the ML object.
    930      */
    931     Tags?: TagList;
    932   }
    933   export type DetailsAttributes = "PredictiveModelType"|"Algorithm"|string;
    934   export type DetailsMap = {[key: string]: DetailsValue};
    935   export type DetailsValue = string;
    936   export type EDPPipelineId = string;
    937   export type EDPResourceRole = string;
    938   export type EDPSecurityGroupId = string;
    939   export type EDPSecurityGroupIds = EDPSecurityGroupId[];
    940   export type EDPServiceRole = string;
    941   export type EDPSubnetId = string;
    942   export type EntityId = string;
    943   export type EntityName = string;
    944   export type EntityStatus = "PENDING"|"INPROGRESS"|"FAILED"|"COMPLETED"|"DELETED"|string;
    945   export type EpochTime = Date;
    946   export type ErrorCode = number;
    947   export type ErrorMessage = string;
    948   export interface Evaluation {
    949     /**
    950      * The ID that is assigned to the Evaluation at creation.
    951      */
    952     EvaluationId?: EntityId;
    953     /**
    954      * The ID of the MLModel that is the focus of the evaluation.
    955      */
    956     MLModelId?: EntityId;
    957     /**
    958      * The ID of the DataSource that is used to evaluate the MLModel.
    959      */
    960     EvaluationDataSourceId?: EntityId;
    961     /**
    962      * The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.
    963      */
    964     InputDataLocationS3?: S3Url;
    965     /**
    966      * The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
    967      */
    968     CreatedByIamUser?: AwsUserArn;
    969     /**
    970      * The time that the Evaluation was created. The time is expressed in epoch time.
    971      */
    972     CreatedAt?: EpochTime;
    973     /**
    974      * The time of the most recent edit to the Evaluation. The time is expressed in epoch time.
    975      */
    976     LastUpdatedAt?: EpochTime;
    977     /**
    978      * A user-supplied name or description of the Evaluation. 
    979      */
    980     Name?: EntityName;
    981     /**
    982      * The status of the evaluation. This element can have one of the following values:   PENDING - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an MLModel.  INPROGRESS - The evaluation is underway.  FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.  COMPLETED - The evaluation process completed successfully.  DELETED - The Evaluation is marked as deleted. It is not usable. 
    983      */
    984     Status?: EntityStatus;
    985     /**
    986      * Measurements of how well the MLModel performed, using observations referenced by the DataSource. One of the following metrics is returned, based on the type of the MLModel:    BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.    RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.   MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance.     For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. 
    987      */
    988     PerformanceMetrics?: PerformanceMetrics;
    989     /**
    990      * A description of the most recent details about evaluating the MLModel.
    991      */
    992     Message?: Message;
    993     ComputeTime?: LongType;
    994     FinishedAt?: EpochTime;
    995     StartedAt?: EpochTime;
    996   }
    997   export type EvaluationFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"IAMUser"|"MLModelId"|"DataSourceId"|"DataURI"|string;
    998   export type Evaluations = Evaluation[];
    999   export interface GetBatchPredictionInput {
   1000     /**
   1001      * An ID assigned to the BatchPrediction at creation.
   1002      */
   1003     BatchPredictionId: EntityId;
   1004   }
   1005   export interface GetBatchPredictionOutput {
   1006     /**
   1007      * An ID assigned to the BatchPrediction at creation. This value should be identical to the value of the BatchPredictionID in the request.
   1008      */
   1009     BatchPredictionId?: EntityId;
   1010     /**
   1011      * The ID of the MLModel that generated predictions for the BatchPrediction request.
   1012      */
   1013     MLModelId?: EntityId;
   1014     /**
   1015      * The ID of the DataSource that was used to create the BatchPrediction. 
   1016      */
   1017     BatchPredictionDataSourceId?: EntityId;
   1018     /**
   1019      * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
   1020      */
   1021     InputDataLocationS3?: S3Url;
   1022     /**
   1023      * The AWS user account that invoked the BatchPrediction. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
   1024      */
   1025     CreatedByIamUser?: AwsUserArn;
   1026     /**
   1027      * The time when the BatchPrediction was created. The time is expressed in epoch time.
   1028      */
   1029     CreatedAt?: EpochTime;
   1030     /**
   1031      * The time of the most recent edit to BatchPrediction. The time is expressed in epoch time.
   1032      */
   1033     LastUpdatedAt?: EpochTime;
   1034     /**
   1035      * A user-supplied name or description of the BatchPrediction.
   1036      */
   1037     Name?: EntityName;
   1038     /**
   1039      * The status of the BatchPrediction, which can be one of the following values:   PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.  INPROGRESS - The batch predictions are in progress.  FAILED - The request to perform a batch prediction did not run to completion. It is not usable.  COMPLETED - The batch prediction process completed successfully.  DELETED - The BatchPrediction is marked as deleted. It is not usable. 
   1040      */
   1041     Status?: EntityStatus;
   1042     /**
   1043      * The location of an Amazon S3 bucket or directory to receive the operation results.
   1044      */
   1045     OutputUri?: S3Url;
   1046     /**
   1047      * A link to the file that contains logs of the CreateBatchPrediction operation.
   1048      */
   1049     LogUri?: PresignedS3Url;
   1050     /**
   1051      * A description of the most recent details about processing the batch prediction request.
   1052      */
   1053     Message?: Message;
   1054     /**
   1055      * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the BatchPrediction, normalized and scaled on computation resources. ComputeTime is only available if the BatchPrediction is in the COMPLETED state.
   1056      */
   1057     ComputeTime?: LongType;
   1058     /**
   1059      * The epoch time when Amazon Machine Learning marked the BatchPrediction as COMPLETED or FAILED. FinishedAt is only available when the BatchPrediction is in the COMPLETED or FAILED state.
   1060      */
   1061     FinishedAt?: EpochTime;
   1062     /**
   1063      * The epoch time when Amazon Machine Learning marked the BatchPrediction as INPROGRESS. StartedAt isn't available if the BatchPrediction is in the PENDING state.
   1064      */
   1065     StartedAt?: EpochTime;
   1066     /**
   1067      * The number of total records that Amazon Machine Learning saw while processing the BatchPrediction.
   1068      */
   1069     TotalRecordCount?: LongType;
   1070     /**
   1071      * The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction.
   1072      */
   1073     InvalidRecordCount?: LongType;
   1074   }
   1075   export interface GetDataSourceInput {
   1076     /**
   1077      * The ID assigned to the DataSource at creation.
   1078      */
   1079     DataSourceId: EntityId;
   1080     /**
   1081      * Specifies whether the GetDataSource operation should return DataSourceSchema. If true, DataSourceSchema is returned. If false, DataSourceSchema is not returned.
   1082      */
   1083     Verbose?: Verbose;
   1084   }
   1085   export interface GetDataSourceOutput {
   1086     /**
   1087      * The ID assigned to the DataSource at creation. This value should be identical to the value of the DataSourceId in the request.
   1088      */
   1089     DataSourceId?: EntityId;
   1090     /**
   1091      * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
   1092      */
   1093     DataLocationS3?: S3Url;
   1094     /**
   1095      * A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.
   1096      */
   1097     DataRearrangement?: DataRearrangement;
   1098     /**
   1099      * The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
   1100      */
   1101     CreatedByIamUser?: AwsUserArn;
   1102     /**
   1103      * The time that the DataSource was created. The time is expressed in epoch time.
   1104      */
   1105     CreatedAt?: EpochTime;
   1106     /**
   1107      * The time of the most recent edit to the DataSource. The time is expressed in epoch time.
   1108      */
   1109     LastUpdatedAt?: EpochTime;
   1110     /**
   1111      * The total size of observations in the data files.
   1112      */
   1113     DataSizeInBytes?: LongType;
   1114     /**
   1115      * The number of data files referenced by the DataSource.
   1116      */
   1117     NumberOfFiles?: LongType;
   1118     /**
   1119      * A user-supplied name or description of the DataSource.
   1120      */
   1121     Name?: EntityName;
   1122     /**
   1123      * The current status of the DataSource. This element can have one of the following values:   PENDING - Amazon ML submitted a request to create a DataSource.  INPROGRESS - The creation process is underway.  FAILED - The request to create a DataSource did not run to completion. It is not usable.  COMPLETED - The creation process completed successfully.  DELETED - The DataSource is marked as deleted. It is not usable. 
   1124      */
   1125     Status?: EntityStatus;
   1126     /**
   1127      * A link to the file containing logs of CreateDataSourceFrom* operations.
   1128      */
   1129     LogUri?: PresignedS3Url;
   1130     /**
   1131      * The user-supplied description of the most recent details about creating the DataSource.
   1132      */
   1133     Message?: Message;
   1134     RedshiftMetadata?: RedshiftMetadata;
   1135     RDSMetadata?: RDSMetadata;
   1136     RoleARN?: RoleARN;
   1137     /**
   1138      *  The parameter is true if statistics need to be generated from the observation data. 
   1139      */
   1140     ComputeStatistics?: ComputeStatistics;
   1141     /**
   1142      * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the DataSource, normalized and scaled on computation resources. ComputeTime is only available if the DataSource is in the COMPLETED state and the ComputeStatistics is set to true.
   1143      */
   1144     ComputeTime?: LongType;
   1145     /**
   1146      * The epoch time when Amazon Machine Learning marked the DataSource as COMPLETED or FAILED. FinishedAt is only available when the DataSource is in the COMPLETED or FAILED state.
   1147      */
   1148     FinishedAt?: EpochTime;
   1149     /**
   1150      * The epoch time when Amazon Machine Learning marked the DataSource as INPROGRESS. StartedAt isn't available if the DataSource is in the PENDING state.
   1151      */
   1152     StartedAt?: EpochTime;
   1153     /**
   1154      * The schema used by all of the data files of this DataSource. Note This parameter is provided as part of the verbose format.
   1155      */
   1156     DataSourceSchema?: DataSchema;
   1157   }
   1158   export interface GetEvaluationInput {
   1159     /**
   1160      * The ID of the Evaluation to retrieve. The evaluation of each MLModel is recorded and cataloged. The ID provides the means to access the information. 
   1161      */
   1162     EvaluationId: EntityId;
   1163   }
   1164   export interface GetEvaluationOutput {
   1165     /**
   1166      * The evaluation ID which is same as the EvaluationId in the request.
   1167      */
   1168     EvaluationId?: EntityId;
   1169     /**
   1170      * The ID of the MLModel that was the focus of the evaluation.
   1171      */
   1172     MLModelId?: EntityId;
   1173     /**
   1174      * The DataSource used for this evaluation.
   1175      */
   1176     EvaluationDataSourceId?: EntityId;
   1177     /**
   1178      * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
   1179      */
   1180     InputDataLocationS3?: S3Url;
   1181     /**
   1182      * The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
   1183      */
   1184     CreatedByIamUser?: AwsUserArn;
   1185     /**
   1186      * The time that the Evaluation was created. The time is expressed in epoch time.
   1187      */
   1188     CreatedAt?: EpochTime;
   1189     /**
   1190      * The time of the most recent edit to the Evaluation. The time is expressed in epoch time.
   1191      */
   1192     LastUpdatedAt?: EpochTime;
   1193     /**
   1194      * A user-supplied name or description of the Evaluation. 
   1195      */
   1196     Name?: EntityName;
   1197     /**
   1198      * The status of the evaluation. This element can have one of the following values:   PENDING - Amazon Machine Language (Amazon ML) submitted a request to evaluate an MLModel.  INPROGRESS - The evaluation is underway.  FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.  COMPLETED - The evaluation process completed successfully.  DELETED - The Evaluation is marked as deleted. It is not usable. 
   1199      */
   1200     Status?: EntityStatus;
   1201     /**
   1202      * Measurements of how well the MLModel performed using observations referenced by the DataSource. One of the following metric is returned based on the type of the MLModel:    BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.    RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.   MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance.     For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. 
   1203      */
   1204     PerformanceMetrics?: PerformanceMetrics;
   1205     /**
   1206      * A link to the file that contains logs of the CreateEvaluation operation.
   1207      */
   1208     LogUri?: PresignedS3Url;
   1209     /**
   1210      * A description of the most recent details about evaluating the MLModel.
   1211      */
   1212     Message?: Message;
   1213     /**
   1214      * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the Evaluation, normalized and scaled on computation resources. ComputeTime is only available if the Evaluation is in the COMPLETED state.
   1215      */
   1216     ComputeTime?: LongType;
   1217     /**
   1218      * The epoch time when Amazon Machine Learning marked the Evaluation as COMPLETED or FAILED. FinishedAt is only available when the Evaluation is in the COMPLETED or FAILED state.
   1219      */
   1220     FinishedAt?: EpochTime;
   1221     /**
   1222      * The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. StartedAt isn't available if the Evaluation is in the PENDING state.
   1223      */
   1224     StartedAt?: EpochTime;
   1225   }
   1226   export interface GetMLModelInput {
   1227     /**
   1228      * The ID assigned to the MLModel at creation.
   1229      */
   1230     MLModelId: EntityId;
   1231     /**
   1232      * Specifies whether the GetMLModel operation should return Recipe. If true, Recipe is returned. If false, Recipe is not returned.
   1233      */
   1234     Verbose?: Verbose;
   1235   }
   1236   export interface GetMLModelOutput {
   1237     /**
   1238      * The MLModel ID, which is same as the MLModelId in the request.
   1239      */
   1240     MLModelId?: EntityId;
   1241     /**
   1242      * The ID of the training DataSource.
   1243      */
   1244     TrainingDataSourceId?: EntityId;
   1245     /**
   1246      * The AWS user account from which the MLModel was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
   1247      */
   1248     CreatedByIamUser?: AwsUserArn;
   1249     /**
   1250      * The time that the MLModel was created. The time is expressed in epoch time.
   1251      */
   1252     CreatedAt?: EpochTime;
   1253     /**
   1254      * The time of the most recent edit to the MLModel. The time is expressed in epoch time.
   1255      */
   1256     LastUpdatedAt?: EpochTime;
   1257     /**
   1258      * A user-supplied name or description of the MLModel.
   1259      */
   1260     Name?: MLModelName;
   1261     /**
   1262      * The current status of the MLModel. This element can have one of the following values:   PENDING - Amazon Machine Learning (Amazon ML) submitted a request to describe a MLModel.  INPROGRESS - The request is processing.  FAILED - The request did not run to completion. The ML model isn't usable.  COMPLETED - The request completed successfully.  DELETED - The MLModel is marked as deleted. It isn't usable. 
   1263      */
   1264     Status?: EntityStatus;
   1265     SizeInBytes?: LongType;
   1266     /**
   1267      * The current endpoint of the MLModel
   1268      */
   1269     EndpointInfo?: RealtimeEndpointInfo;
   1270     /**
   1271      * A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs. The following is the current set of training parameters:    sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.  The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.  sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10. sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data.  sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.   sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.  
   1272      */
   1273     TrainingParameters?: TrainingParameters;
   1274     /**
   1275      * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
   1276      */
   1277     InputDataLocationS3?: S3Url;
   1278     /**
   1279      * Identifies the MLModel category. The following are the available types:   REGRESSION -- Produces a numeric result. For example, "What price should a house be listed at?" BINARY -- Produces one of two possible results. For example, "Is this an e-commerce website?" MULTICLASS -- Produces one of several possible results. For example, "Is this a HIGH, LOW or MEDIUM risk trade?" 
   1280      */
   1281     MLModelType?: MLModelType;
   1282     /**
   1283      * The scoring threshold is used in binary classification MLModel models. It marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the threshold receive a positive result from the MLModel, such as true. Output values less than the threshold receive a negative response from the MLModel, such as false.
   1284      */
   1285     ScoreThreshold?: ScoreThreshold;
   1286     /**
   1287      * The time of the most recent edit to the ScoreThreshold. The time is expressed in epoch time.
   1288      */
   1289     ScoreThresholdLastUpdatedAt?: EpochTime;
   1290     /**
   1291      * A link to the file that contains logs of the CreateMLModel operation.
   1292      */
   1293     LogUri?: PresignedS3Url;
   1294     /**
   1295      * A description of the most recent details about accessing the MLModel.
   1296      */
   1297     Message?: Message;
   1298     /**
   1299      * The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the MLModel, normalized and scaled on computation resources. ComputeTime is only available if the MLModel is in the COMPLETED state.
   1300      */
   1301     ComputeTime?: LongType;
   1302     /**
   1303      * The epoch time when Amazon Machine Learning marked the MLModel as COMPLETED or FAILED. FinishedAt is only available when the MLModel is in the COMPLETED or FAILED state.
   1304      */
   1305     FinishedAt?: EpochTime;
   1306     /**
   1307      * The epoch time when Amazon Machine Learning marked the MLModel as INPROGRESS. StartedAt isn't available if the MLModel is in the PENDING state.
   1308      */
   1309     StartedAt?: EpochTime;
   1310     /**
   1311      * The recipe to use when training the MLModel. The Recipe provides detailed information about the observation data to use during training, and manipulations to perform on the observation data during training. Note This parameter is provided as part of the verbose format.
   1312      */
   1313     Recipe?: Recipe;
   1314     /**
   1315      * The schema used by all of the data files referenced by the DataSource. Note This parameter is provided as part of the verbose format.
   1316      */
   1317     Schema?: DataSchema;
   1318   }
   1319   export type IntegerType = number;
   1320   export type Label = string;
   1321   export type LongType = number;
   1322   export interface MLModel {
   1323     /**
   1324      * The ID assigned to the MLModel at creation.
   1325      */
   1326     MLModelId?: EntityId;
   1327     /**
   1328      * The ID of the training DataSource. The CreateMLModel operation uses the TrainingDataSourceId.
   1329      */
   1330     TrainingDataSourceId?: EntityId;
   1331     /**
   1332      * The AWS user account from which the MLModel was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.
   1333      */
   1334     CreatedByIamUser?: AwsUserArn;
   1335     /**
   1336      * The time that the MLModel was created. The time is expressed in epoch time.
   1337      */
   1338     CreatedAt?: EpochTime;
   1339     /**
   1340      * The time of the most recent edit to the MLModel. The time is expressed in epoch time.
   1341      */
   1342     LastUpdatedAt?: EpochTime;
   1343     /**
   1344      * A user-supplied name or description of the MLModel.
   1345      */
   1346     Name?: MLModelName;
   1347     /**
   1348      * The current status of an MLModel. This element can have one of the following values:    PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create an MLModel.  INPROGRESS - The creation process is underway.  FAILED - The request to create an MLModel didn't run to completion. The model isn't usable.  COMPLETED - The creation process completed successfully.  DELETED - The MLModel is marked as deleted. It isn't usable. 
   1349      */
   1350     Status?: EntityStatus;
   1351     SizeInBytes?: LongType;
   1352     /**
   1353      * The current endpoint of the MLModel.
   1354      */
   1355     EndpointInfo?: RealtimeEndpointInfo;
   1356     /**
   1357      * A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs. The following is the current set of training parameters:    sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.  The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.  sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10. sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none.  sgd.l1RegularizationAmount - The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.   sgd.l2RegularizationAmount - The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08. The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.  
   1358      */
   1359     TrainingParameters?: TrainingParameters;
   1360     /**
   1361      * The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
   1362      */
   1363     InputDataLocationS3?: S3Url;
   1364     /**
   1365      * The algorithm used to train the MLModel. The following algorithm is supported:   SGD -- Stochastic gradient descent. The goal of SGD is to minimize the gradient of the loss function.  
   1366      */
   1367     Algorithm?: Algorithm;
   1368     /**
   1369      * Identifies the MLModel category. The following are the available types:   REGRESSION - Produces a numeric result. For example, "What price should a house be listed at?"  BINARY - Produces one of two possible results. For example, "Is this a child-friendly web site?".  MULTICLASS - Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?". 
   1370      */
   1371     MLModelType?: MLModelType;
   1372     ScoreThreshold?: ScoreThreshold;
   1373     /**
   1374      * The time of the most recent edit to the ScoreThreshold. The time is expressed in epoch time.
   1375      */
   1376     ScoreThresholdLastUpdatedAt?: EpochTime;
   1377     /**
   1378      * A description of the most recent details about accessing the MLModel.
   1379      */
   1380     Message?: Message;
   1381     ComputeTime?: LongType;
   1382     FinishedAt?: EpochTime;
   1383     StartedAt?: EpochTime;
   1384   }
   1385   export type MLModelFilterVariable = "CreatedAt"|"LastUpdatedAt"|"Status"|"Name"|"IAMUser"|"TrainingDataSourceId"|"RealtimeEndpointStatus"|"MLModelType"|"Algorithm"|"TrainingDataURI"|string;
   1386   export type MLModelName = string;
   1387   export type MLModelType = "REGRESSION"|"BINARY"|"MULTICLASS"|string;
   1388   export type MLModels = MLModel[];
   1389   export type Message = string;
   1390   export type PageLimit = number;
   1391   export interface PerformanceMetrics {
   1392     Properties?: PerformanceMetricsProperties;
   1393   }
   1394   export type PerformanceMetricsProperties = {[key: string]: PerformanceMetricsPropertyValue};
   1395   export type PerformanceMetricsPropertyKey = string;
   1396   export type PerformanceMetricsPropertyValue = string;
   1397   export interface PredictInput {
   1398     /**
   1399      * A unique identifier of the MLModel.
   1400      */
   1401     MLModelId: EntityId;
   1402     Record: Record;
   1403     PredictEndpoint: VipURL;
   1404   }
   1405   export interface PredictOutput {
   1406     Prediction?: Prediction;
   1407   }
   1408   export interface Prediction {
   1409     /**
   1410      * The prediction label for either a BINARY or MULTICLASS MLModel.
   1411      */
   1412     predictedLabel?: Label;
   1413     /**
   1414      * The prediction value for REGRESSION MLModel.
   1415      */
   1416     predictedValue?: floatLabel;
   1417     predictedScores?: ScoreValuePerLabelMap;
   1418     details?: DetailsMap;
   1419   }
   1420   export type PresignedS3Url = string;
   1421   export interface RDSDataSpec {
   1422     /**
   1423      * Describes the DatabaseName and InstanceIdentifier of an Amazon RDS database.
   1424      */
   1425     DatabaseInformation: RDSDatabase;
   1426     /**
   1427      * The query that is used to retrieve the observation data for the DataSource.
   1428      */
   1429     SelectSqlQuery: RDSSelectSqlQuery;
   1430     /**
   1431      * The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.
   1432      */
   1433     DatabaseCredentials: RDSDatabaseCredentials;
   1434     /**
   1435      * The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location.
   1436      */
   1437     S3StagingLocation: S3Url;
   1438     /**
   1439      * A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. There are multiple parameters that control what data is used to create a datasource:  percentBegin Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. percentEnd Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. complement The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: {"splitting":{"percentBegin":0, "percentEnd":25}} Datasource for training: {"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}  strategy To change how Amazon ML splits the data for a datasource, use the strategy parameter. The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data. The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}} To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}  
   1440      */
   1441     DataRearrangement?: DataRearrangement;
   1442     /**
   1443      * A JSON string that represents the schema for an Amazon RDS DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. A DataSchema is not required if you specify a DataSchemaUri Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema. { "version": "1.0",  "recordAnnotationFieldName": "F1",  "recordWeightFieldName": "F2",  "targetFieldName": "F3",  "dataFormat": "CSV",  "dataFileContainsHeader": true,  "attributes": [  { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],  "excludedVariableNames": [ "F6" ] }  
   1444      */
   1445     DataSchema?: DataSchema;
   1446     /**
   1447      * The Amazon S3 location of the DataSchema. 
   1448      */
   1449     DataSchemaUri?: S3Url;
   1450     /**
   1451      * The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see Role templates for data pipelines.
   1452      */
   1453     ResourceRole: EDPResourceRole;
   1454     /**
   1455      * The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.
   1456      */
   1457     ServiceRole: EDPServiceRole;
   1458     /**
   1459      * The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.
   1460      */
   1461     SubnetId: EDPSubnetId;
   1462     /**
   1463      * The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task.
   1464      */
   1465     SecurityGroupIds: EDPSecurityGroupIds;
   1466   }
   1467   export interface RDSDatabase {
   1468     /**
   1469      * The ID of an RDS DB instance.
   1470      */
   1471     InstanceIdentifier: RDSInstanceIdentifier;
   1472     DatabaseName: RDSDatabaseName;
   1473   }
   1474   export interface RDSDatabaseCredentials {
   1475     Username: RDSDatabaseUsername;
   1476     Password: RDSDatabasePassword;
   1477   }
   1478   export type RDSDatabaseName = string;
   1479   export type RDSDatabasePassword = string;
   1480   export type RDSDatabaseUsername = string;
   1481   export type RDSInstanceIdentifier = string;
   1482   export interface RDSMetadata {
   1483     /**
   1484      * The database details required to connect to an Amazon RDS.
   1485      */
   1486     Database?: RDSDatabase;
   1487     DatabaseUserName?: RDSDatabaseUsername;
   1488     /**
   1489      * The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose is true in GetDataSourceInput. 
   1490      */
   1491     SelectSqlQuery?: RDSSelectSqlQuery;
   1492     /**
   1493      * The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.
   1494      */
   1495     ResourceRole?: EDPResourceRole;
   1496     /**
   1497      * The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.
   1498      */
   1499     ServiceRole?: EDPServiceRole;
   1500     /**
   1501      * The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3. You can use the ID to find details about the instance in the Data Pipeline console.
   1502      */
   1503     DataPipelineId?: EDPPipelineId;
   1504   }
   1505   export type RDSSelectSqlQuery = string;
   1506   export interface RealtimeEndpointInfo {
   1507     /**
   1508      *  The maximum processing rate for the real-time endpoint for MLModel, measured in incoming requests per second.
   1509      */
   1510     PeakRequestsPerSecond?: IntegerType;
   1511     /**
   1512      * The time that the request to create the real-time endpoint for the MLModel was received. The time is expressed in epoch time.
   1513      */
   1514     CreatedAt?: EpochTime;
   1515     /**
   1516      * The URI that specifies where to send real-time prediction requests for the MLModel. Note The application must wait until the real-time endpoint is ready before using this URI. 
   1517      */
   1518     EndpointUrl?: VipURL;
   1519     /**
   1520      *  The current status of the real-time endpoint for the MLModel. This element can have one of the following values:    NONE - Endpoint does not exist or was previously deleted.  READY - Endpoint is ready to be used for real-time predictions.  UPDATING - Updating/creating the endpoint.  
   1521      */
   1522     EndpointStatus?: RealtimeEndpointStatus;
   1523   }
   1524   export type RealtimeEndpointStatus = "NONE"|"READY"|"UPDATING"|"FAILED"|string;
   1525   export type Recipe = string;
   1526   export type Record = {[key: string]: VariableValue};
   1527   export type RedshiftClusterIdentifier = string;
   1528   export interface RedshiftDataSpec {
   1529     /**
   1530      * Describes the DatabaseName and ClusterIdentifier for an Amazon Redshift DataSource.
   1531      */
   1532     DatabaseInformation: RedshiftDatabase;
   1533     /**
   1534      * Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift DataSource.
   1535      */
   1536     SelectSqlQuery: RedshiftSelectSqlQuery;
   1537     /**
   1538      * Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.
   1539      */
   1540     DatabaseCredentials: RedshiftDatabaseCredentials;
   1541     /**
   1542      * Describes an Amazon S3 location to store the result set of the SelectSqlQuery query.
   1543      */
   1544     S3StagingLocation: S3Url;
   1545     /**
   1546      * A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. There are multiple parameters that control what data is used to create a datasource:  percentBegin Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. percentEnd Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. complement The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: {"splitting":{"percentBegin":0, "percentEnd":25}} Datasource for training: {"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}  strategy To change how Amazon ML splits the data for a datasource, use the strategy parameter. The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data. The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}} To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}  
   1547      */
   1548     DataRearrangement?: DataRearrangement;
   1549     /**
   1550      * A JSON string that represents the schema for an Amazon Redshift DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. A DataSchema is not required if you specify a DataSchemaUri. Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema. { "version": "1.0",  "recordAnnotationFieldName": "F1",  "recordWeightFieldName": "F2",  "targetFieldName": "F3",  "dataFormat": "CSV",  "dataFileContainsHeader": true,  "attributes": [  { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],  "excludedVariableNames": [ "F6" ] } 
   1551      */
   1552     DataSchema?: DataSchema;
   1553     /**
   1554      * Describes the schema location for an Amazon Redshift DataSource.
   1555      */
   1556     DataSchemaUri?: S3Url;
   1557   }
   1558   export interface RedshiftDatabase {
   1559     DatabaseName: RedshiftDatabaseName;
   1560     ClusterIdentifier: RedshiftClusterIdentifier;
   1561   }
   1562   export interface RedshiftDatabaseCredentials {
   1563     Username: RedshiftDatabaseUsername;
   1564     Password: RedshiftDatabasePassword;
   1565   }
   1566   export type RedshiftDatabaseName = string;
   1567   export type RedshiftDatabasePassword = string;
   1568   export type RedshiftDatabaseUsername = string;
   1569   export interface RedshiftMetadata {
   1570     RedshiftDatabase?: RedshiftDatabase;
   1571     DatabaseUserName?: RedshiftDatabaseUsername;
   1572     /**
   1573      *  The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if Verbose is true in GetDataSourceInput. 
   1574      */
   1575     SelectSqlQuery?: RedshiftSelectSqlQuery;
   1576   }
   1577   export type RedshiftSelectSqlQuery = string;
   1578   export type RoleARN = string;
   1579   export interface S3DataSpec {
   1580     /**
   1581      * The location of the data file(s) used by a DataSource. The URI specifies a data file or an Amazon Simple Storage Service (Amazon S3) directory or bucket containing data files.
   1582      */
   1583     DataLocationS3: S3Url;
   1584     /**
   1585      * A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource. There are multiple parameters that control what data is used to create a datasource:  percentBegin Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. percentEnd Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource. complement The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter. For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data. Datasource for evaluation: {"splitting":{"percentBegin":0, "percentEnd":25}} Datasource for training: {"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}  strategy To change how Amazon ML splits the data for a datasource, use the strategy parameter. The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data. The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}} To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records. The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources: Datasource for evaluation: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}} Datasource for training: {"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}  
   1586      */
   1587     DataRearrangement?: DataRearrangement;
   1588     /**
   1589      *  A JSON string that represents the schema for an Amazon S3 DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. You must provide either the DataSchema or the DataSchemaLocationS3. Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema. { "version": "1.0",  "recordAnnotationFieldName": "F1",  "recordWeightFieldName": "F2",  "targetFieldName": "F3",  "dataFormat": "CSV",  "dataFileContainsHeader": true,  "attributes": [  { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],  "excludedVariableNames": [ "F6" ] }  
   1590      */
   1591     DataSchema?: DataSchema;
   1592     /**
   1593      * Describes the schema location in Amazon S3. You must provide either the DataSchema or the DataSchemaLocationS3.
   1594      */
   1595     DataSchemaLocationS3?: S3Url;
   1596   }
   1597   export type S3Url = string;
   1598   export type ScoreThreshold = number;
   1599   export type ScoreValue = number;
   1600   export type ScoreValuePerLabelMap = {[key: string]: ScoreValue};
   1601   export type SortOrder = "asc"|"dsc"|string;
   1602   export type StringType = string;
   1603   export interface Tag {
   1604     /**
   1605      * A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.
   1606      */
   1607     Key?: TagKey;
   1608     /**
   1609      * An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.
   1610      */
   1611     Value?: TagValue;
   1612   }
   1613   export type TagKey = string;
   1614   export type TagKeyList = TagKey[];
   1615   export type TagList = Tag[];
   1616   export type TagValue = string;
   1617   export type TaggableResourceType = "BatchPrediction"|"DataSource"|"Evaluation"|"MLModel"|string;
   1618   export type TrainingParameters = {[key: string]: StringType};
   1619   export interface UpdateBatchPredictionInput {
   1620     /**
   1621      * The ID assigned to the BatchPrediction during creation.
   1622      */
   1623     BatchPredictionId: EntityId;
   1624     /**
   1625      * A new user-supplied name or description of the BatchPrediction.
   1626      */
   1627     BatchPredictionName: EntityName;
   1628   }
   1629   export interface UpdateBatchPredictionOutput {
   1630     /**
   1631      * The ID assigned to the BatchPrediction during creation. This value should be identical to the value of the BatchPredictionId in the request.
   1632      */
   1633     BatchPredictionId?: EntityId;
   1634   }
   1635   export interface UpdateDataSourceInput {
   1636     /**
   1637      * The ID assigned to the DataSource during creation.
   1638      */
   1639     DataSourceId: EntityId;
   1640     /**
   1641      * A new user-supplied name or description of the DataSource that will replace the current description. 
   1642      */
   1643     DataSourceName: EntityName;
   1644   }
   1645   export interface UpdateDataSourceOutput {
   1646     /**
   1647      * The ID assigned to the DataSource during creation. This value should be identical to the value of the DataSourceID in the request.
   1648      */
   1649     DataSourceId?: EntityId;
   1650   }
   1651   export interface UpdateEvaluationInput {
   1652     /**
   1653      * The ID assigned to the Evaluation during creation.
   1654      */
   1655     EvaluationId: EntityId;
   1656     /**
   1657      * A new user-supplied name or description of the Evaluation that will replace the current content. 
   1658      */
   1659     EvaluationName: EntityName;
   1660   }
   1661   export interface UpdateEvaluationOutput {
   1662     /**
   1663      * The ID assigned to the Evaluation during creation. This value should be identical to the value of the Evaluation in the request.
   1664      */
   1665     EvaluationId?: EntityId;
   1666   }
   1667   export interface UpdateMLModelInput {
   1668     /**
   1669      * The ID assigned to the MLModel during creation.
   1670      */
   1671     MLModelId: EntityId;
   1672     /**
   1673      * A user-supplied name or description of the MLModel.
   1674      */
   1675     MLModelName?: EntityName;
   1676     /**
   1677      * The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.
   1678      */
   1679     ScoreThreshold?: ScoreThreshold;
   1680   }
   1681   export interface UpdateMLModelOutput {
   1682     /**
   1683      * The ID assigned to the MLModel during creation. This value should be identical to the value of the MLModelID in the request.
   1684      */
   1685     MLModelId?: EntityId;
   1686   }
   1687   export type VariableName = string;
   1688   export type VariableValue = string;
   1689   export type Verbose = boolean;
   1690   export type VipURL = string;
   1691   export type floatLabel = number;
   1692   /**
   1693    * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
   1694    */
   1695   export type apiVersion = "2014-12-12"|"latest"|string;
   1696   export interface ClientApiVersions {
   1697     /**
   1698      * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
   1699      */
   1700     apiVersion?: apiVersion;
   1701   }
   1702   export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
   1703 }
   1704 export = MachineLearning;