aws-sdk 2.875.0 → 2.879.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -1
- package/README.md +1 -1
- package/apis/batch-2016-08-10.min.json +74 -53
- package/apis/cloud9-2017-09-23.examples.json +1 -1
- package/apis/cloud9-2017-09-23.min.json +48 -14
- package/apis/cloudformation-2010-05-15.min.json +50 -48
- package/apis/cloudhsm-2014-05-30.min.json +18 -51
- package/apis/cognito-sync-2014-06-30.examples.json +5 -0
- package/apis/cognito-sync-2014-06-30.min.json +2 -3
- package/apis/cognito-sync-2014-06-30.paginators.json +4 -0
- package/apis/comprehend-2017-11-27.min.json +12 -6
- package/apis/config-2014-11-12.min.json +238 -128
- package/apis/databrew-2017-07-25.min.json +154 -60
- package/apis/datapipeline-2012-10-29.examples.json +5 -0
- package/apis/datapipeline-2012-10-29.min.json +1 -1
- package/apis/datapipeline-2012-10-29.paginators.json +10 -10
- package/apis/detective-2018-10-26.min.json +114 -18
- package/apis/directconnect-2012-10-25.min.json +151 -52
- package/apis/ec2-2016-11-15.min.json +831 -625
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/ec2-2016-11-15.waiters2.json +1 -1
- package/apis/ec2-instance-connect-2018-04-02.min.json +25 -0
- package/apis/fms-2018-01-01.min.json +41 -7
- package/apis/frauddetector-2019-11-15.min.json +158 -54
- package/apis/frauddetector-2019-11-15.paginators.json +5 -0
- package/apis/imagebuilder-2019-12-02.min.json +141 -111
- package/apis/iot-2015-05-28.min.json +20 -15
- package/apis/iotwireless-2020-11-22.min.json +43 -2
- package/apis/kendra-2019-02-03.min.json +38 -36
- package/apis/lightsail-2016-11-28.min.json +121 -114
- package/apis/machinelearning-2014-12-12.examples.json +5 -0
- package/apis/machinelearning-2014-12-12.min.json +3 -4
- package/apis/machinelearning-2014-12-12.paginators.json +5 -5
- package/apis/mediaconvert-2017-08-29.min.json +122 -83
- package/apis/mediapackage-2017-10-12.min.json +64 -48
- package/apis/monitoring-2010-08-01.min.json +208 -38
- package/apis/monitoring-2010-08-01.paginators.json +5 -0
- package/apis/pinpoint-2016-12-01.min.json +15 -2
- package/apis/pricing-2017-10-15.examples.json +1 -0
- package/apis/redshift-2012-12-01.min.json +398 -191
- package/apis/route53resolver-2018-04-01.min.json +791 -89
- package/apis/route53resolver-2018-04-01.paginators.json +36 -0
- package/apis/runtime.lex-2016-11-28.min.json +29 -3
- package/apis/sagemaker-2017-07-24.min.json +141 -112
- package/apis/wafv2-2019-07-29.min.json +196 -89
- package/apis/workmail-2017-10-01.min.json +247 -30
- package/clients/batch.d.ts +41 -3
- package/clients/cloud9.d.ts +22 -12
- package/clients/cloudformation.d.ts +4 -0
- package/clients/cloudwatch.d.ts +222 -3
- package/clients/cognitosync.d.ts +20 -20
- package/clients/cognitosync.js +1 -0
- package/clients/comprehend.d.ts +24 -0
- package/clients/configservice.d.ts +182 -10
- package/clients/databrew.d.ts +145 -25
- package/clients/detective.d.ts +74 -0
- package/clients/directconnect.d.ts +161 -2
- package/clients/ec2.d.ts +239 -14
- package/clients/ec2instanceconnect.d.ts +41 -8
- package/clients/fms.d.ts +63 -2
- package/clients/frauddetector.d.ts +174 -0
- package/clients/imagebuilder.d.ts +378 -340
- package/clients/iot.d.ts +5 -0
- package/clients/iotwireless.d.ts +75 -0
- package/clients/kendra.d.ts +27 -17
- package/clients/lexmodelbuildingservice.d.ts +1 -1
- package/clients/lexruntime.d.ts +17 -3
- package/clients/lightsail.d.ts +17 -2
- package/clients/machinelearning.d.ts +71 -71
- package/clients/mediaconvert.d.ts +70 -11
- package/clients/mediapackage.d.ts +13 -0
- package/clients/pinpoint.d.ts +23 -3
- package/clients/redshift.d.ts +275 -0
- package/clients/route53resolver.d.ts +1093 -57
- package/clients/sagemaker.d.ts +76 -44
- package/clients/transcribeservice.d.ts +1 -1
- package/clients/wafv2.d.ts +126 -3
- package/clients/workmail.d.ts +294 -0
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +1868 -1835
- package/dist/aws-sdk.js +2415 -1583
- package/dist/aws-sdk.min.js +80 -80
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +1 -1
- package/lib/http/node.js +1 -1
- package/lib/services/s3.js +31 -8
- package/lib/services/s3control.js +18 -15
- package/lib/services/s3util.js +10 -10
- package/package.json +1 -1
- package/scripts/region-checker/allowlist.js +12 -12
|
@@ -21,51 +21,51 @@ declare class MachineLearning extends Service {
|
|
|
21
21
|
*/
|
|
22
22
|
addTags(callback?: (err: AWSError, data: MachineLearning.Types.AddTagsOutput) => void): Request<MachineLearning.Types.AddTagsOutput, AWSError>;
|
|
23
23
|
/**
|
|
24
|
-
* 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.
|
|
24
|
+
* 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.
|
|
25
25
|
*/
|
|
26
26
|
createBatchPrediction(params: MachineLearning.Types.CreateBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateBatchPredictionOutput) => void): Request<MachineLearning.Types.CreateBatchPredictionOutput, AWSError>;
|
|
27
27
|
/**
|
|
28
|
-
* 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.
|
|
28
|
+
* 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.
|
|
29
29
|
*/
|
|
30
30
|
createBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.CreateBatchPredictionOutput) => void): Request<MachineLearning.Types.CreateBatchPredictionOutput, AWSError>;
|
|
31
31
|
/**
|
|
32
|
-
* 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.
|
|
32
|
+
* 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 >CreateMLModel>, 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.
|
|
33
33
|
*/
|
|
34
34
|
createDataSourceFromRDS(params: MachineLearning.Types.CreateDataSourceFromRDSInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRDSOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRDSOutput, AWSError>;
|
|
35
35
|
/**
|
|
36
|
-
* 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.
|
|
36
|
+
* 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 >CreateMLModel>, 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.
|
|
37
37
|
*/
|
|
38
38
|
createDataSourceFromRDS(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRDSOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRDSOutput, AWSError>;
|
|
39
39
|
/**
|
|
40
|
-
* 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.
|
|
40
|
+
* 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.
|
|
41
41
|
*/
|
|
42
42
|
createDataSourceFromRedshift(params: MachineLearning.Types.CreateDataSourceFromRedshiftInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRedshiftOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRedshiftOutput, AWSError>;
|
|
43
43
|
/**
|
|
44
|
-
* 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.
|
|
44
|
+
* 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.
|
|
45
45
|
*/
|
|
46
46
|
createDataSourceFromRedshift(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromRedshiftOutput) => void): Request<MachineLearning.Types.CreateDataSourceFromRedshiftOutput, AWSError>;
|
|
47
47
|
/**
|
|
48
|
-
* Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.
|
|
48
|
+
* 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.
|
|
49
49
|
*/
|
|
50
50
|
createDataSourceFromS3(params: MachineLearning.Types.CreateDataSourceFromS3Input, callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromS3Output) => void): Request<MachineLearning.Types.CreateDataSourceFromS3Output, AWSError>;
|
|
51
51
|
/**
|
|
52
|
-
* Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.
|
|
52
|
+
* 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.
|
|
53
53
|
*/
|
|
54
54
|
createDataSourceFromS3(callback?: (err: AWSError, data: MachineLearning.Types.CreateDataSourceFromS3Output) => void): Request<MachineLearning.Types.CreateDataSourceFromS3Output, AWSError>;
|
|
55
55
|
/**
|
|
56
|
-
* 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.
|
|
56
|
+
* 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.
|
|
57
57
|
*/
|
|
58
58
|
createEvaluation(params: MachineLearning.Types.CreateEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateEvaluationOutput) => void): Request<MachineLearning.Types.CreateEvaluationOutput, AWSError>;
|
|
59
59
|
/**
|
|
60
|
-
* 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.
|
|
60
|
+
* 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.
|
|
61
61
|
*/
|
|
62
62
|
createEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.CreateEvaluationOutput) => void): Request<MachineLearning.Types.CreateEvaluationOutput, AWSError>;
|
|
63
63
|
/**
|
|
64
|
-
* 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.
|
|
64
|
+
* 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.
|
|
65
65
|
*/
|
|
66
66
|
createMLModel(params: MachineLearning.Types.CreateMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.CreateMLModelOutput) => void): Request<MachineLearning.Types.CreateMLModelOutput, AWSError>;
|
|
67
67
|
/**
|
|
68
|
-
* 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.
|
|
68
|
+
* 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.
|
|
69
69
|
*/
|
|
70
70
|
createMLModel(callback?: (err: AWSError, data: MachineLearning.Types.CreateMLModelOutput) => void): Request<MachineLearning.Types.CreateMLModelOutput, AWSError>;
|
|
71
71
|
/**
|
|
@@ -77,35 +77,35 @@ declare class MachineLearning extends Service {
|
|
|
77
77
|
*/
|
|
78
78
|
createRealtimeEndpoint(callback?: (err: AWSError, data: MachineLearning.Types.CreateRealtimeEndpointOutput) => void): Request<MachineLearning.Types.CreateRealtimeEndpointOutput, AWSError>;
|
|
79
79
|
/**
|
|
80
|
-
* 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.
|
|
80
|
+
* 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.
|
|
81
81
|
*/
|
|
82
82
|
deleteBatchPrediction(params: MachineLearning.Types.DeleteBatchPredictionInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteBatchPredictionOutput) => void): Request<MachineLearning.Types.DeleteBatchPredictionOutput, AWSError>;
|
|
83
83
|
/**
|
|
84
|
-
* 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.
|
|
84
|
+
* 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.
|
|
85
85
|
*/
|
|
86
86
|
deleteBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.DeleteBatchPredictionOutput) => void): Request<MachineLearning.Types.DeleteBatchPredictionOutput, AWSError>;
|
|
87
87
|
/**
|
|
88
|
-
* 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.
|
|
88
|
+
* 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.
|
|
89
89
|
*/
|
|
90
90
|
deleteDataSource(params: MachineLearning.Types.DeleteDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteDataSourceOutput) => void): Request<MachineLearning.Types.DeleteDataSourceOutput, AWSError>;
|
|
91
91
|
/**
|
|
92
|
-
* 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.
|
|
92
|
+
* 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.
|
|
93
93
|
*/
|
|
94
94
|
deleteDataSource(callback?: (err: AWSError, data: MachineLearning.Types.DeleteDataSourceOutput) => void): Request<MachineLearning.Types.DeleteDataSourceOutput, AWSError>;
|
|
95
95
|
/**
|
|
96
|
-
* 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.
|
|
96
|
+
* 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.
|
|
97
97
|
*/
|
|
98
98
|
deleteEvaluation(params: MachineLearning.Types.DeleteEvaluationInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteEvaluationOutput) => void): Request<MachineLearning.Types.DeleteEvaluationOutput, AWSError>;
|
|
99
99
|
/**
|
|
100
|
-
* 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.
|
|
100
|
+
* 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.
|
|
101
101
|
*/
|
|
102
102
|
deleteEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.DeleteEvaluationOutput) => void): Request<MachineLearning.Types.DeleteEvaluationOutput, AWSError>;
|
|
103
103
|
/**
|
|
104
|
-
* 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.
|
|
104
|
+
* 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.
|
|
105
105
|
*/
|
|
106
106
|
deleteMLModel(params: MachineLearning.Types.DeleteMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.DeleteMLModelOutput) => void): Request<MachineLearning.Types.DeleteMLModelOutput, AWSError>;
|
|
107
107
|
/**
|
|
108
|
-
* 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.
|
|
108
|
+
* 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.
|
|
109
109
|
*/
|
|
110
110
|
deleteMLModel(callback?: (err: AWSError, data: MachineLearning.Types.DeleteMLModelOutput) => void): Request<MachineLearning.Types.DeleteMLModelOutput, AWSError>;
|
|
111
111
|
/**
|
|
@@ -173,11 +173,11 @@ declare class MachineLearning extends Service {
|
|
|
173
173
|
*/
|
|
174
174
|
getBatchPrediction(callback?: (err: AWSError, data: MachineLearning.Types.GetBatchPredictionOutput) => void): Request<MachineLearning.Types.GetBatchPredictionOutput, AWSError>;
|
|
175
175
|
/**
|
|
176
|
-
* Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.
|
|
176
|
+
* 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.
|
|
177
177
|
*/
|
|
178
178
|
getDataSource(params: MachineLearning.Types.GetDataSourceInput, callback?: (err: AWSError, data: MachineLearning.Types.GetDataSourceOutput) => void): Request<MachineLearning.Types.GetDataSourceOutput, AWSError>;
|
|
179
179
|
/**
|
|
180
|
-
* Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.
|
|
180
|
+
* 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.
|
|
181
181
|
*/
|
|
182
182
|
getDataSource(callback?: (err: AWSError, data: MachineLearning.Types.GetDataSourceOutput) => void): Request<MachineLearning.Types.GetDataSourceOutput, AWSError>;
|
|
183
183
|
/**
|
|
@@ -189,19 +189,19 @@ declare class MachineLearning extends Service {
|
|
|
189
189
|
*/
|
|
190
190
|
getEvaluation(callback?: (err: AWSError, data: MachineLearning.Types.GetEvaluationOutput) => void): Request<MachineLearning.Types.GetEvaluationOutput, AWSError>;
|
|
191
191
|
/**
|
|
192
|
-
* Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel.
|
|
192
|
+
* 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.
|
|
193
193
|
*/
|
|
194
194
|
getMLModel(params: MachineLearning.Types.GetMLModelInput, callback?: (err: AWSError, data: MachineLearning.Types.GetMLModelOutput) => void): Request<MachineLearning.Types.GetMLModelOutput, AWSError>;
|
|
195
195
|
/**
|
|
196
|
-
* Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel.
|
|
196
|
+
* 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.
|
|
197
197
|
*/
|
|
198
198
|
getMLModel(callback?: (err: AWSError, data: MachineLearning.Types.GetMLModelOutput) => void): Request<MachineLearning.Types.GetMLModelOutput, AWSError>;
|
|
199
199
|
/**
|
|
200
|
-
* Generates a prediction for the observation using the specified ML Model.
|
|
200
|
+
* 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.
|
|
201
201
|
*/
|
|
202
202
|
predict(params: MachineLearning.Types.PredictInput, callback?: (err: AWSError, data: MachineLearning.Types.PredictOutput) => void): Request<MachineLearning.Types.PredictOutput, AWSError>;
|
|
203
203
|
/**
|
|
204
|
-
* Generates a prediction for the observation using the specified ML Model.
|
|
204
|
+
* 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.
|
|
205
205
|
*/
|
|
206
206
|
predict(callback?: (err: AWSError, data: MachineLearning.Types.PredictOutput) => void): Request<MachineLearning.Types.PredictOutput, AWSError>;
|
|
207
207
|
/**
|
|
@@ -280,7 +280,7 @@ declare namespace MachineLearning {
|
|
|
280
280
|
*/
|
|
281
281
|
ResourceId: EntityId;
|
|
282
282
|
/**
|
|
283
|
-
* The type of the ML object to tag.
|
|
283
|
+
* The type of the ML object to tag.
|
|
284
284
|
*/
|
|
285
285
|
ResourceType: TaggableResourceType;
|
|
286
286
|
}
|
|
@@ -330,7 +330,7 @@ declare namespace MachineLearning {
|
|
|
330
330
|
*/
|
|
331
331
|
Name?: EntityName;
|
|
332
332
|
/**
|
|
333
|
-
* The status of the BatchPrediction. This element can have one of the following values:
|
|
333
|
+
* 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.
|
|
334
334
|
*/
|
|
335
335
|
Status?: EntityStatus;
|
|
336
336
|
/**
|
|
@@ -389,11 +389,11 @@ declare namespace MachineLearning {
|
|
|
389
389
|
*/
|
|
390
390
|
DataSourceName?: EntityName;
|
|
391
391
|
/**
|
|
392
|
-
* The data specification of an Amazon RDS DataSource:
|
|
392
|
+
* 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}}"
|
|
393
393
|
*/
|
|
394
394
|
RDSData: RDSDataSpec;
|
|
395
395
|
/**
|
|
396
|
-
* 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
|
+
* 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.
|
|
397
397
|
*/
|
|
398
398
|
RoleARN: RoleARN;
|
|
399
399
|
/**
|
|
@@ -417,11 +417,11 @@ declare namespace MachineLearning {
|
|
|
417
417
|
*/
|
|
418
418
|
DataSourceName?: EntityName;
|
|
419
419
|
/**
|
|
420
|
-
* The data specification of an Amazon Redshift DataSource:
|
|
420
|
+
* 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}}"
|
|
421
421
|
*/
|
|
422
422
|
DataSpec: RedshiftDataSpec;
|
|
423
423
|
/**
|
|
424
|
-
* A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:
|
|
424
|
+
* 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
|
|
425
425
|
*/
|
|
426
426
|
RoleARN: RoleARN;
|
|
427
427
|
/**
|
|
@@ -445,7 +445,7 @@ declare namespace MachineLearning {
|
|
|
445
445
|
*/
|
|
446
446
|
DataSourceName?: EntityName;
|
|
447
447
|
/**
|
|
448
|
-
* The data specification of a DataSource:
|
|
448
|
+
* 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}}"
|
|
449
449
|
*/
|
|
450
450
|
DataSpec: S3DataSpec;
|
|
451
451
|
/**
|
|
@@ -493,11 +493,11 @@ declare namespace MachineLearning {
|
|
|
493
493
|
*/
|
|
494
494
|
MLModelName?: EntityName;
|
|
495
495
|
/**
|
|
496
|
-
* The category of supervised learning that this MLModel will address. Choose from the following types:
|
|
496
|
+
* 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.
|
|
497
497
|
*/
|
|
498
498
|
MLModelType: MLModelType;
|
|
499
499
|
/**
|
|
500
|
-
* 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.
|
|
500
|
+
* 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.
|
|
501
501
|
*/
|
|
502
502
|
Parameters?: TrainingParameters;
|
|
503
503
|
/**
|
|
@@ -575,7 +575,7 @@ declare namespace MachineLearning {
|
|
|
575
575
|
*/
|
|
576
576
|
Name?: EntityName;
|
|
577
577
|
/**
|
|
578
|
-
* The current status of the DataSource. This element can have one of the following values:
|
|
578
|
+
* 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.
|
|
579
579
|
*/
|
|
580
580
|
Status?: EntityStatus;
|
|
581
581
|
/**
|
|
@@ -685,7 +685,7 @@ declare namespace MachineLearning {
|
|
|
685
685
|
}
|
|
686
686
|
export interface DescribeBatchPredictionsInput {
|
|
687
687
|
/**
|
|
688
|
-
* Use one of the following variables to filter a list of BatchPrediction:
|
|
688
|
+
* 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.
|
|
689
689
|
*/
|
|
690
690
|
FilterVariable?: BatchPredictionFilterVariable;
|
|
691
691
|
/**
|
|
@@ -713,11 +713,11 @@ declare namespace MachineLearning {
|
|
|
713
713
|
*/
|
|
714
714
|
NE?: ComparatorValue;
|
|
715
715
|
/**
|
|
716
|
-
* 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:
|
|
716
|
+
* 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
|
|
717
717
|
*/
|
|
718
718
|
Prefix?: ComparatorValue;
|
|
719
719
|
/**
|
|
720
|
-
* A two-value parameter that determines the sequence of the resulting list of MLModels.
|
|
720
|
+
* 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.
|
|
721
721
|
*/
|
|
722
722
|
SortOrder?: SortOrder;
|
|
723
723
|
/**
|
|
@@ -741,7 +741,7 @@ declare namespace MachineLearning {
|
|
|
741
741
|
}
|
|
742
742
|
export interface DescribeDataSourcesInput {
|
|
743
743
|
/**
|
|
744
|
-
* Use one of the following variables to filter a list of DataSource:
|
|
744
|
+
* 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.
|
|
745
745
|
*/
|
|
746
746
|
FilterVariable?: DataSourceFilterVariable;
|
|
747
747
|
/**
|
|
@@ -769,11 +769,11 @@ declare namespace MachineLearning {
|
|
|
769
769
|
*/
|
|
770
770
|
NE?: ComparatorValue;
|
|
771
771
|
/**
|
|
772
|
-
* 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:
|
|
772
|
+
* 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
|
|
773
773
|
*/
|
|
774
774
|
Prefix?: ComparatorValue;
|
|
775
775
|
/**
|
|
776
|
-
* A two-value parameter that determines the sequence of the resulting list of DataSource.
|
|
776
|
+
* 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.
|
|
777
777
|
*/
|
|
778
778
|
SortOrder?: SortOrder;
|
|
779
779
|
/**
|
|
@@ -797,7 +797,7 @@ declare namespace MachineLearning {
|
|
|
797
797
|
}
|
|
798
798
|
export interface DescribeEvaluationsInput {
|
|
799
799
|
/**
|
|
800
|
-
* Use one of the following variable to filter a list of Evaluation objects:
|
|
800
|
+
* 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.
|
|
801
801
|
*/
|
|
802
802
|
FilterVariable?: EvaluationFilterVariable;
|
|
803
803
|
/**
|
|
@@ -825,11 +825,11 @@ declare namespace MachineLearning {
|
|
|
825
825
|
*/
|
|
826
826
|
NE?: ComparatorValue;
|
|
827
827
|
/**
|
|
828
|
-
* 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:
|
|
828
|
+
* 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
|
|
829
829
|
*/
|
|
830
830
|
Prefix?: ComparatorValue;
|
|
831
831
|
/**
|
|
832
|
-
* A two-value parameter that determines the sequence of the resulting list of Evaluation.
|
|
832
|
+
* 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.
|
|
833
833
|
*/
|
|
834
834
|
SortOrder?: SortOrder;
|
|
835
835
|
/**
|
|
@@ -853,7 +853,7 @@ declare namespace MachineLearning {
|
|
|
853
853
|
}
|
|
854
854
|
export interface DescribeMLModelsInput {
|
|
855
855
|
/**
|
|
856
|
-
* Use one of the following variables to filter a list of MLModel:
|
|
856
|
+
* 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.
|
|
857
857
|
*/
|
|
858
858
|
FilterVariable?: MLModelFilterVariable;
|
|
859
859
|
/**
|
|
@@ -881,11 +881,11 @@ declare namespace MachineLearning {
|
|
|
881
881
|
*/
|
|
882
882
|
NE?: ComparatorValue;
|
|
883
883
|
/**
|
|
884
|
-
* 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:
|
|
884
|
+
* 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
|
|
885
885
|
*/
|
|
886
886
|
Prefix?: ComparatorValue;
|
|
887
887
|
/**
|
|
888
|
-
* A two-value parameter that determines the sequence of the resulting list of MLModel.
|
|
888
|
+
* 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.
|
|
889
889
|
*/
|
|
890
890
|
SortOrder?: SortOrder;
|
|
891
891
|
/**
|
|
@@ -978,7 +978,7 @@ declare namespace MachineLearning {
|
|
|
978
978
|
*/
|
|
979
979
|
Name?: EntityName;
|
|
980
980
|
/**
|
|
981
|
-
* The status of the evaluation. This element can have one of the following values:
|
|
981
|
+
* 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.
|
|
982
982
|
*/
|
|
983
983
|
Status?: EntityStatus;
|
|
984
984
|
/**
|
|
@@ -1035,7 +1035,7 @@ declare namespace MachineLearning {
|
|
|
1035
1035
|
*/
|
|
1036
1036
|
Name?: EntityName;
|
|
1037
1037
|
/**
|
|
1038
|
-
* The status of the BatchPrediction, which can be one of the following values:
|
|
1038
|
+
* 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.
|
|
1039
1039
|
*/
|
|
1040
1040
|
Status?: EntityStatus;
|
|
1041
1041
|
/**
|
|
@@ -1119,7 +1119,7 @@ declare namespace MachineLearning {
|
|
|
1119
1119
|
*/
|
|
1120
1120
|
Name?: EntityName;
|
|
1121
1121
|
/**
|
|
1122
|
-
* The current status of the DataSource. This element can have one of the following values:
|
|
1122
|
+
* 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.
|
|
1123
1123
|
*/
|
|
1124
1124
|
Status?: EntityStatus;
|
|
1125
1125
|
/**
|
|
@@ -1150,7 +1150,7 @@ declare namespace MachineLearning {
|
|
|
1150
1150
|
*/
|
|
1151
1151
|
StartedAt?: EpochTime;
|
|
1152
1152
|
/**
|
|
1153
|
-
* The schema used by all of the data files of this DataSource.
|
|
1153
|
+
* The schema used by all of the data files of this DataSource. Note: This parameter is provided as part of the verbose format.
|
|
1154
1154
|
*/
|
|
1155
1155
|
DataSourceSchema?: DataSchema;
|
|
1156
1156
|
}
|
|
@@ -1194,7 +1194,7 @@ declare namespace MachineLearning {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
Name?: EntityName;
|
|
1196
1196
|
/**
|
|
1197
|
-
* The status of the evaluation. This element can have one of the following values:
|
|
1197
|
+
* 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.
|
|
1198
1198
|
*/
|
|
1199
1199
|
Status?: EntityStatus;
|
|
1200
1200
|
/**
|
|
@@ -1258,16 +1258,16 @@ declare namespace MachineLearning {
|
|
|
1258
1258
|
*/
|
|
1259
1259
|
Name?: MLModelName;
|
|
1260
1260
|
/**
|
|
1261
|
-
* The current status of the MLModel. This element can have one of the following values:
|
|
1261
|
+
* 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.
|
|
1262
1262
|
*/
|
|
1263
1263
|
Status?: EntityStatus;
|
|
1264
1264
|
SizeInBytes?: LongType;
|
|
1265
1265
|
/**
|
|
1266
|
-
* The current endpoint of the MLModel
|
|
1266
|
+
* The current endpoint of the MLModel
|
|
1267
1267
|
*/
|
|
1268
1268
|
EndpointInfo?: RealtimeEndpointInfo;
|
|
1269
1269
|
/**
|
|
1270
|
-
* 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.
|
|
1270
|
+
* 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.
|
|
1271
1271
|
*/
|
|
1272
1272
|
TrainingParameters?: TrainingParameters;
|
|
1273
1273
|
/**
|
|
@@ -1275,7 +1275,7 @@ declare namespace MachineLearning {
|
|
|
1275
1275
|
*/
|
|
1276
1276
|
InputDataLocationS3?: S3Url;
|
|
1277
1277
|
/**
|
|
1278
|
-
* Identifies the MLModel category. The following are the available types:
|
|
1278
|
+
* 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?"
|
|
1279
1279
|
*/
|
|
1280
1280
|
MLModelType?: MLModelType;
|
|
1281
1281
|
/**
|
|
@@ -1307,11 +1307,11 @@ declare namespace MachineLearning {
|
|
|
1307
1307
|
*/
|
|
1308
1308
|
StartedAt?: EpochTime;
|
|
1309
1309
|
/**
|
|
1310
|
-
* 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.
|
|
1310
|
+
* 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.
|
|
1311
1311
|
*/
|
|
1312
1312
|
Recipe?: Recipe;
|
|
1313
1313
|
/**
|
|
1314
|
-
* The schema used by all of the data files referenced by the DataSource.
|
|
1314
|
+
* The schema used by all of the data files referenced by the DataSource. Note: This parameter is provided as part of the verbose format.
|
|
1315
1315
|
*/
|
|
1316
1316
|
Schema?: DataSchema;
|
|
1317
1317
|
}
|
|
@@ -1344,7 +1344,7 @@ declare namespace MachineLearning {
|
|
|
1344
1344
|
*/
|
|
1345
1345
|
Name?: MLModelName;
|
|
1346
1346
|
/**
|
|
1347
|
-
* The current status of an MLModel. This element can have one of the following values:
|
|
1347
|
+
* 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.
|
|
1348
1348
|
*/
|
|
1349
1349
|
Status?: EntityStatus;
|
|
1350
1350
|
SizeInBytes?: LongType;
|
|
@@ -1353,7 +1353,7 @@ declare namespace MachineLearning {
|
|
|
1353
1353
|
*/
|
|
1354
1354
|
EndpointInfo?: RealtimeEndpointInfo;
|
|
1355
1355
|
/**
|
|
1356
|
-
* 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.
|
|
1356
|
+
* 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.
|
|
1357
1357
|
*/
|
|
1358
1358
|
TrainingParameters?: TrainingParameters;
|
|
1359
1359
|
/**
|
|
@@ -1361,11 +1361,11 @@ declare namespace MachineLearning {
|
|
|
1361
1361
|
*/
|
|
1362
1362
|
InputDataLocationS3?: S3Url;
|
|
1363
1363
|
/**
|
|
1364
|
-
* The algorithm used to train the MLModel. The following algorithm is supported:
|
|
1364
|
+
* 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.
|
|
1365
1365
|
*/
|
|
1366
1366
|
Algorithm?: Algorithm;
|
|
1367
1367
|
/**
|
|
1368
|
-
* Identifies the MLModel category. The following are the available types:
|
|
1368
|
+
* 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?".
|
|
1369
1369
|
*/
|
|
1370
1370
|
MLModelType?: MLModelType;
|
|
1371
1371
|
ScoreThreshold?: ScoreThreshold;
|
|
@@ -1435,11 +1435,11 @@ declare namespace MachineLearning {
|
|
|
1435
1435
|
*/
|
|
1436
1436
|
S3StagingLocation: S3Url;
|
|
1437
1437
|
/**
|
|
1438
|
-
* 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:
|
|
1438
|
+
* 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"}}
|
|
1439
1439
|
*/
|
|
1440
1440
|
DataRearrangement?: DataRearrangement;
|
|
1441
1441
|
/**
|
|
1442
|
-
* 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
|
|
1442
|
+
* 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" ] }
|
|
1443
1443
|
*/
|
|
1444
1444
|
DataSchema?: DataSchema;
|
|
1445
1445
|
/**
|
|
@@ -1512,11 +1512,11 @@ declare namespace MachineLearning {
|
|
|
1512
1512
|
*/
|
|
1513
1513
|
CreatedAt?: EpochTime;
|
|
1514
1514
|
/**
|
|
1515
|
-
* The URI that specifies where to send real-time prediction requests for the MLModel.
|
|
1515
|
+
* 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.
|
|
1516
1516
|
*/
|
|
1517
1517
|
EndpointUrl?: VipURL;
|
|
1518
1518
|
/**
|
|
1519
|
-
* The current status of the real-time endpoint for the MLModel. This element can have one of the following values:
|
|
1519
|
+
* 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.
|
|
1520
1520
|
*/
|
|
1521
1521
|
EndpointStatus?: RealtimeEndpointStatus;
|
|
1522
1522
|
}
|
|
@@ -1542,11 +1542,11 @@ declare namespace MachineLearning {
|
|
|
1542
1542
|
*/
|
|
1543
1543
|
S3StagingLocation: S3Url;
|
|
1544
1544
|
/**
|
|
1545
|
-
* 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:
|
|
1545
|
+
* 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"}}
|
|
1546
1546
|
*/
|
|
1547
1547
|
DataRearrangement?: DataRearrangement;
|
|
1548
1548
|
/**
|
|
1549
|
-
* 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",
|
|
1549
|
+
* 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" ] }
|
|
1550
1550
|
*/
|
|
1551
1551
|
DataSchema?: DataSchema;
|
|
1552
1552
|
/**
|
|
@@ -1581,11 +1581,11 @@ declare namespace MachineLearning {
|
|
|
1581
1581
|
*/
|
|
1582
1582
|
DataLocationS3: S3Url;
|
|
1583
1583
|
/**
|
|
1584
|
-
* 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:
|
|
1584
|
+
* 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"}}
|
|
1585
1585
|
*/
|
|
1586
1586
|
DataRearrangement?: DataRearrangement;
|
|
1587
1587
|
/**
|
|
1588
|
-
* 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",
|
|
1588
|
+
* 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" ] }
|
|
1589
1589
|
*/
|
|
1590
1590
|
DataSchema?: DataSchema;
|
|
1591
1591
|
/**
|