{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.machinelearning#AddTags": { "type": "operation", "input": { "target": "com.amazonaws.machinelearning#AddTagsInput" }, "output": { "target": "com.amazonaws.machinelearning#AddTagsOutput" }, "errors": [ { "target": "com.amazonaws.machinelearning#InternalServerException" }, { "target": "com.amazonaws.machinelearning#InvalidInputException" }, { "target": "com.amazonaws.machinelearning#InvalidTagException" }, { "target": "com.amazonaws.machinelearning#ResourceNotFoundException" }, { "target": "com.amazonaws.machinelearning#TagLimitExceededException" } ], "traits": { "smithy.api#documentation": "
Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key \n\t\t and an optional value. If you add a tag using a key that is already associated with the ML object, \n\t\t\tAddTags
updates the tag's value.
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.
", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID of the ML object to tag. For example, exampleModelId
.
The type of the ML object to tag.
", "smithy.api#required": {} } } } }, "com.amazonaws.machinelearning#AddTagsOutput": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID of the ML object that was tagged.
" } }, "ResourceType": { "target": "com.amazonaws.machinelearning#TaggableResourceType", "traits": { "smithy.api#documentation": "The type of the ML object that was tagged.
" } } }, "traits": { "smithy.api#documentation": "Amazon ML returns the following elements.
" } }, "com.amazonaws.machinelearning#Algorithm": { "type": "string", "traits": { "smithy.api#documentation": "The function used to train an MLModel
. Training choices supported by Amazon ML include the following:
\n SGD
- Stochastic Gradient Descent.
\n RandomForest
- Random forest of decision trees.
An Amazon Web Service (AWS) user account identifier. The account identifier can be an AWS root account or an AWS Identity and Access Management (IAM) user.
", "smithy.api#pattern": "arn:aws:iam::[0-9]+:((user/.+)|(root))" } }, "com.amazonaws.machinelearning#BatchPrediction": { "type": "structure", "members": { "BatchPredictionId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID assigned to the BatchPrediction
at creation. This value should be identical to the value of the BatchPredictionID
\n in the request.\n
The ID of the MLModel
that generated predictions for the BatchPrediction
request.
The ID of the DataSource
that points to the group of observations to predict.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
" } }, "CreatedByIamUser": { "target": "com.amazonaws.machinelearning#AwsUserArn", "traits": { "smithy.api#documentation": "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.
The time that the BatchPrediction
was created. The time is expressed in epoch time.
The time of the most recent edit to the BatchPrediction
. The time is expressed in epoch time.
A user-supplied name or description of the BatchPrediction
.
The status of the BatchPrediction
. This element can have one of the following values:
\n PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.
\n INPROGRESS
- The process is underway.
\n FAILED
- The request to perform a batch prediction did not run to completion. It is not usable.
\n COMPLETED
- The batch prediction process completed successfully.
\n DELETED
- The BatchPrediction
is marked as deleted. It is not usable.
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: ':', '//', '/./', '/../'.
A description of the most recent details about processing the batch prediction request.
" } }, "ComputeTime": { "target": "com.amazonaws.machinelearning#LongType" }, "FinishedAt": { "target": "com.amazonaws.machinelearning#EpochTime" }, "StartedAt": { "target": "com.amazonaws.machinelearning#EpochTime" }, "TotalRecordCount": { "target": "com.amazonaws.machinelearning#LongType" }, "InvalidRecordCount": { "target": "com.amazonaws.machinelearning#LongType" } }, "traits": { "smithy.api#documentation": " Represents the output of a GetBatchPrediction
operation.
The content consists of the detailed metadata, the status, and the data file information of a\n Batch Prediction
.
A list of the variables to use in searching or filtering BatchPrediction
.
\n CreatedAt
- Sets the search criteria to BatchPrediction
creation date.
\n Status
- Sets the search criteria to BatchPrediction
status.
\n Name
- Sets the search criteria to the contents of BatchPrediction
\n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked the BatchPrediction
creation.
\n MLModelId
- Sets the search criteria to the MLModel
used in the BatchPrediction
.
\n DataSourceId
- Sets the search criteria to the DataSource
used in the BatchPrediction
.
\n DataURI
- Sets the search criteria to the data file(s) used in the BatchPrediction
. The URL can \n identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
The value specified in a filtering condition. The ComparatorValue
becomes the reference value when matching or evaluating \n data values in filtering and searching functions.
Generates predictions for a group of observations. The observations to process exist in one or more data files referenced \n by a DataSource
. This operation creates a new BatchPrediction
, and uses an MLModel
and the data \n files referenced by the DataSource
as information sources. \n
\n CreateBatchPrediction
is an asynchronous operation. In response to CreateBatchPrediction
, \n Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction
status to PENDING
. \n After the BatchPrediction
completes, Amazon ML sets the status to COMPLETED
. \n
You can poll for status updates by using the GetBatchPrediction operation and checking the Status
parameter of the result. After the COMPLETED
status appears, \n the results are available in the location specified by the OutputUri
parameter.
A user-supplied ID that uniquely identifies the\n BatchPrediction
.
A user-supplied name or description of the BatchPrediction
. BatchPredictionName
can only use the UTF-8 character set.
The ID of the MLModel
that will generate predictions for the group of observations.
The ID of the DataSource
that points to the group of observations to predict.
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.
", "smithy.api#required": {} } } } }, "com.amazonaws.machinelearning#CreateBatchPredictionOutput": { "type": "structure", "members": { "BatchPredictionId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "A user-supplied ID that uniquely identifies the BatchPrediction
. This value is identical to the value of the \n BatchPredictionId
in the request.
Represents the output of a CreateBatchPrediction
operation, and is an acknowledgement that Amazon ML received the request.
The CreateBatchPrediction
operation is asynchronous. You can poll for status updates by using the >GetBatchPrediction
\n operation and checking the Status
parameter of the result.\n
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.
\n CreateDataSourceFromRDS
is an asynchronous operation. In response to CreateDataSourceFromRDS
, \n Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource
status to PENDING
. \n After the DataSource
is created and ready for use, Amazon ML sets the Status
parameter to COMPLETED
. \n DataSource
in the COMPLETED
or PENDING
state can\n be used only to perform >CreateMLModel
>, CreateEvaluation
, or CreateBatchPrediction
operations.\n
\n 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.\n
A user-supplied ID that uniquely identifies the DataSource
. Typically, an Amazon Resource Number (ARN) \n becomes the ID for a DataSource
.
A user-supplied name or description of the DataSource
.
The data specification of an Amazon RDS DataSource
:
DatabaseInformation -
\n\n DatabaseName
- The name of the Amazon RDS database.
\n 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.
\nResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon \n\t\t\tSimple Storage Service (Amazon S3). For more information, see Role templates for data pipelines.
\nServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS\n\t\t\tto Amazon S3. For more information, see Role templates for data pipelines.
\nSecurityInfo - 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 - \n \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"
\n
The role that Amazon ML assumes on behalf of the user to create and activate a data\n pipeline in the user's account and copy data using the SelectSqlQuery
query from Amazon RDS to Amazon S3.
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by \n a DataSource
. Amazon ML uses the statistics internally during MLModel
training.\n This parameter must be set to true
if the DataSource
needs to be used for
MLModel
training.\n
A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the \n DataSourceID
in the request.\n
Represents the output of a CreateDataSourceFromRDS
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromRDS
> operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter. You can \n inspect the Message
when Status
shows up as FAILED
. You can\n also check the progress of the copy operation by going to the DataPipeline
console and looking up\n the pipeline using the pipelineId
from the describe call.
Creates a DataSource
from a database hosted on an Amazon Redshift cluster. A \n\t\tDataSource
references data that can be used to perform either CreateMLModel
, CreateEvaluation
, or CreateBatchPrediction
\n\t\toperations.
\n CreateDataSourceFromRedshift
is an asynchronous operation. In response to CreateDataSourceFromRedshift
, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource
status to PENDING
. \n After the DataSource
is created and ready for use, Amazon ML sets the Status
parameter to COMPLETED
. \n DataSource
in COMPLETED
or PENDING
states can be\n used to perform only CreateMLModel
, CreateEvaluation
, or CreateBatchPrediction
operations.\n
\n If Amazon ML can't accept the input source, it sets the Status
parameter to FAILED
and includes an error message in the Message
\n\t\t attribute of the GetDataSource
operation response.\n
The observations should be contained in the database hosted on an Amazon Redshift cluster\n and should be specified by a SelectSqlQuery
query. Amazon ML executes an\n Unload
command in Amazon Redshift to transfer the result set of\n the SelectSqlQuery
query to S3StagingLocation
.
After the DataSource
has been created, it's ready for use in evaluations and\n batch predictions. If you plan to use the DataSource
to train an\n MLModel
, the DataSource
also requires a recipe. A recipe\n describes how each input variable will be used in training an MLModel
. Will\n the variable be included or excluded from training? Will the variable be manipulated;\n for example, will it be combined with another variable or will it be split apart into\n 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\n existing Amazon Redshift datasource to create a new datasource. To do so, call\n GetDataSource
for an existing datasource and copy the values to a\n CreateDataSource
call. Change the settings that you want to change and\n make sure that all required fields have the appropriate values.
A user-supplied ID that uniquely identifies the DataSource
.
A user-supplied name or description of the DataSource
.
The data specification of an Amazon Redshift DataSource
:
DatabaseInformation -
\n\n DatabaseName
- The name of the Amazon Redshift database.
\n 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.
\nSelectSqlQuery - The query that is used to retrieve the observation data for the \n\t\t\tDatasource
.
S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon\n Redshift data. The data retrieved from Amazon Redshift using\n 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 - \n \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"
\n
A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:
\n \nA 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
\n
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by \n a DataSource
. Amazon ML uses the statistics internally during MLModel
training.\n This parameter must be set to true
if the DataSource
needs to\n be used for MLModel
training.
A user-supplied ID that uniquely identifies the datasource. This value should be identical to the value of the \n DataSourceID
in the request.\n
Represents the output of a CreateDataSourceFromRedshift
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromRedshift
operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter.
Creates a DataSource
object. A DataSource
references data that\n can be used to perform CreateMLModel
, CreateEvaluation
, or\n CreateBatchPrediction
operations.
\n CreateDataSourceFromS3
is an asynchronous operation. In response to\n CreateDataSourceFromS3
, Amazon Machine Learning (Amazon ML) immediately\n returns and sets the DataSource
status to PENDING
. After the\n DataSource
has been created and is ready for use, Amazon ML sets the\n Status
parameter to COMPLETED
. DataSource
in\n the COMPLETED
or PENDING
state can be used to perform only\n CreateMLModel
, CreateEvaluation
or\n CreateBatchPrediction
operations.
If Amazon ML can't accept the input source, it sets the Status
parameter to\n FAILED
and includes an error message in the Message
\n attribute of the GetDataSource
operation response.
The observation data used in a DataSource
should be ready to use; that is,\n it should have a consistent structure, and missing data values should be kept to a\n minimum. The observation data must reside in one or more .csv files in an Amazon Simple\n Storage Service (Amazon S3) location, along with a schema that describes the data items\n by name and type. The same schema must be used for all of the data files referenced by\n the DataSource
.
After the DataSource
has been created, it's ready to use in evaluations and\n batch predictions. If you plan to use the DataSource
to train an\n MLModel
, the DataSource
also needs a recipe. A recipe\n describes how each input variable will be used in training an MLModel
. Will\n the variable be included or excluded from training? Will the variable be manipulated;\n for example, will it be combined with another variable or will it be split apart into\n word combinations? The recipe provides answers to these questions.
A user-supplied identifier that uniquely identifies the DataSource
.
A user-supplied name or description of the DataSource
.
The data specification of a DataSource
:
DataLocationS3 - The Amazon S3 location of the observation data.
\nDataSchemaLocationS3 - 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 - \n \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"
\n
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by \n a DataSource
. Amazon ML uses the statistics internally during MLModel
training.\n This parameter must be set to true
if the DataSource
needs to be used for
MLModel
training.
A user-supplied ID that uniquely identifies the DataSource
. This value should be identical to the value of the \n DataSourceID
in the request.\n
Represents the output of a CreateDataSourceFromS3
operation, and is an acknowledgement that Amazon ML received the request.
The CreateDataSourceFromS3
operation is asynchronous. You can poll for updates by using\n the GetBatchPrediction
operation and checking the Status
parameter.
Creates a new Evaluation
of an MLModel
. An MLModel
is evaluated on a set of observations associated to a DataSource
. Like a DataSource
\n 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 \n summary so that you know how effective the MLModel
functions on the test\n data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType
: BINARY
, REGRESSION
or MULTICLASS
.\n\n
\n CreateEvaluation
is an asynchronous operation. In response to CreateEvaluation
, Amazon Machine Learning (Amazon ML) immediately \n returns and sets the evaluation status to PENDING
. After the Evaluation
is created and ready for use, \n Amazon ML sets the status to COMPLETED
. \n
You can use the GetEvaluation
operation to check progress of the evaluation during the creation operation.
A user-supplied ID that uniquely identifies the Evaluation
.
A user-supplied name or description of the Evaluation
.
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
.
The ID of the DataSource
for the evaluation. The schema of the DataSource
\n must match the schema used to create the MLModel
.
The user-supplied ID that uniquely identifies the Evaluation
. This value should be identical to the value of the \n EvaluationId
in the request.
Represents the output of a CreateEvaluation
operation, and is an acknowledgement that Amazon ML received the request.
\n CreateEvaluation
operation is asynchronous. You can poll for status updates\n by using the GetEvcaluation
operation \n and checking the Status
parameter.\n
Creates a new MLModel
using the DataSource
and the recipe as\n information sources.
An MLModel
is nearly immutable. Users can update only the\n MLModelName
and the ScoreThreshold
in an\n MLModel
without creating a new MLModel
.
\n CreateMLModel
is an asynchronous operation. In response to\n CreateMLModel
, Amazon Machine Learning (Amazon ML) immediately returns\n and sets the MLModel
status to PENDING
. After the\n MLModel
has been created and ready is for use, Amazon ML sets the\n status to COMPLETED
.
You can use the GetMLModel
operation to check the progress of the\n MLModel
during the creation operation.
\n CreateMLModel
requires a DataSource
with computed statistics,\n which can be created by setting ComputeStatistics
to true
in\n CreateDataSourceFromRDS
, CreateDataSourceFromS3
, or\n CreateDataSourceFromRedshift
operations.\n
A user-supplied ID that uniquely identifies the MLModel
.
A user-supplied name or description of the MLModel
.
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.
", "smithy.api#required": {} } }, "Parameters": { "target": "com.amazonaws.machinelearning#TrainingParameters", "traits": { "smithy.api#documentation": "A list of the training parameters in the MLModel
. The list is implemented as\n a map of key-value pairs.
The following is the current set of training parameters:
\n\n sgd.maxMLModelSizeInBytes
- The maximum allowed size of the model. Depending on the\n 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
.
\n sgd.maxPasses
- The number of times that the training process traverses the\n observations to build the MLModel
. The value is an integer that\n ranges from 1
to 10000
. The default value is\n 10
.
\n sgd.shuffleType
- Whether Amazon ML shuffles the training data. Shuffling\n the data improves a model's ability to find the optimal solution for a variety\n of data types. The valid values are auto
and none
. The\n default value is none
. We strongly recommend that you shuffle your data.
\n sgd.l1RegularizationAmount
- The coefficient regularization L1 norm. It controls\n overfitting the data by penalizing large coefficients. This tends to drive\n coefficients to zero, resulting in a sparse feature set. If you use this\n parameter, start by specifying a small value, such as 1.0E-08
.
The value is a double that ranges from 0
to MAX_DOUBLE
.\n The default is to not use L1 normalization. This parameter can't be used when\n L2
is specified. Use this parameter sparingly.
\n sgd.l2RegularizationAmount
- The coefficient regularization L2 norm. It controls\n overfitting the data by penalizing large coefficients. This tends to drive\n coefficients to small, nonzero values. If you use this parameter, start by\n specifying a small value, such as 1.0E-08
.
The value is a double that ranges from 0
to MAX_DOUBLE
.\n The default is to not use L2 normalization. This parameter can't be used when\n L1
is specified. Use this parameter sparingly.
The DataSource
that points to the training data.
The data recipe for creating the MLModel
. You must specify either the recipe\n or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.
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.
A user-supplied ID that uniquely identifies the MLModel
. This value should be identical to the value of the \n MLModelId
in the request.\n
Represents the output of a CreateMLModel
operation, and is an acknowledgement that Amazon ML received the request.
The CreateMLModel
operation is asynchronous. You can poll for status updates by using the \n GetMLModel
operation and checking the Status
parameter.\n
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
.
The ID assigned to the MLModel
during creation.
A user-supplied ID that uniquely identifies the MLModel
. This value should be identical to the value of the \n MLModelId
in the request.
The endpoint information of the MLModel
\n
Represents the output of an CreateRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
\n Note: The endpoint information includes the URI of the MLModel
; that is, the location to send online prediction requests for the specified MLModel
.
The schema of a DataSource
. The DataSchema
\n defines the structure of the observation data in the data file(s) \n referenced in the DataSource
. The DataSource schema \n is expressed in JSON format.
\n DataSchema
is not required if you specify a DataSchemaUri
\n
{ \"version\": \"1.0\", \"recordAnnotationFieldName\": \"F1\", \"recordWeightFieldName\": \"F2\", \"targetFieldName\": \"F3\", \"dataFormat\": \"CSV\", \"dataFileContainsHeader\": true, \"variables\": [ { \"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\" ] }
", "smithy.api#length": { "min": 0, "max": 131071 } } }, "com.amazonaws.machinelearning#DataSource": { "type": "structure", "members": { "DataSourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID that is assigned to the DataSource
during creation.
The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource
.
A JSON string that represents the splitting and rearrangement requirement used when this DataSource
\n was created.
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.
The time that the DataSource
was created. The time is expressed in epoch time.
The time of the most recent edit to the \n BatchPrediction
. The time is expressed in epoch time.
The total number of observations contained in the data files that the DataSource
references.
The number of data files referenced by the DataSource
.
A user-supplied name or description of the DataSource
.
The current status of the DataSource
. This element can have one of the following values:
PENDING\t- Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource
.
INPROGRESS - The creation process is underway.
\nFAILED - The request to create a DataSource
did not run to completion. It is not usable.
COMPLETED - The creation process completed successfully.
\nDELETED\t- The DataSource
is marked as deleted. It is not usable.
A description of the most recent details about creating the DataSource
.
\n The parameter is true
if statistics need to be generated from the observation data.\n
Represents the output of the GetDataSource
operation.
The content consists of the detailed metadata and data file information and the current status of the DataSource
.
A list of the variables to use in searching or filtering DataSource
.
\n CreatedAt
- Sets the search criteria to DataSource
creation date.
\n Status
- Sets the search criteria to DataSource
status.
\n Name
- Sets the search criteria to the contents of DataSource
\n Name
.
\n 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.
\n IAMUser
- Sets the search criteria to the user account that invoked the DataSource
creation.
\n Note: \n The variable names should match the variable names in the DataSource
.
Assigns the DELETED status to a BatchPrediction
, rendering it unusable.
After using the DeleteBatchPrediction
operation, you can use the GetBatchPrediction \n operation to verify that the status of the BatchPrediction
changed to DELETED.
\n Caution: The result of the DeleteBatchPrediction
operation is irreversible.
A user-supplied ID that uniquely identifies the BatchPrediction
.
A user-supplied ID that uniquely identifies the BatchPrediction
. This value should be identical to the value of the BatchPredictionID
in the request.
Represents the output of a DeleteBatchPrediction
operation.
You can use the GetBatchPrediction
operation and check the value of the Status
parameter to see whether a \n BatchPrediction
is marked as DELETED
.
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.
\n Caution: The results of the DeleteDataSource
operation are irreversible.
A user-supplied ID that uniquely identifies the DataSource
.
A user-supplied ID that uniquely identifies the DataSource
. This value should be identical to the value of the DataSourceID
in the request.
Represents the output of a DeleteDataSource
operation.
Assigns the DELETED
status to an Evaluation
, rendering it unusable.
After invoking the DeleteEvaluation
operation, you can use the\n GetEvaluation
operation to verify that the status of the Evaluation
changed to DELETED
.
\n Caution: The results of the DeleteEvaluation
operation are irreversible.
A user-supplied ID that uniquely identifies the Evaluation
to delete.
A user-supplied ID that uniquely identifies the Evaluation
. This value should be identical to the value of the EvaluationId
in the request.
Represents the output of a DeleteEvaluation
operation. The output indicates that Amazon Machine Learning (Amazon ML) received the request.
You can use the GetEvaluation
operation and check the value of the Status
parameter to see whether an \n Evaluation
is marked as DELETED
.
Assigns the DELETED
status to an MLModel
, rendering it unusable.
After using the DeleteMLModel
operation, you can use the\n GetMLModel
operation to verify that the status of the MLModel
changed to DELETED.
\n Caution: The result of the DeleteMLModel
operation is irreversible.
A user-supplied ID that uniquely identifies the MLModel
.
A user-supplied ID that uniquely identifies the MLModel
. This value should be identical to the value of the MLModelID
in the request.
Represents the output of a DeleteMLModel
operation.
You can use the GetMLModel
operation and check the value of the Status
parameter to see whether an \n MLModel
is marked as DELETED
.
Deletes a real time endpoint of an MLModel
.
The ID assigned to the MLModel
during creation.
A user-supplied ID that uniquely identifies the MLModel
. This value should be identical to the value of the \n MLModelId
in the request.
The endpoint information of the MLModel
\n
Represents the output of an DeleteRealtimeEndpoint
operation.
The result contains the MLModelId
and the endpoint information for the MLModel
.
Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.
\n\t\tIf you specify a tag that doesn't exist, Amazon ML ignores it.
" } }, "com.amazonaws.machinelearning#DeleteTagsInput": { "type": "structure", "members": { "TagKeys": { "target": "com.amazonaws.machinelearning#TagKeyList", "traits": { "smithy.api#documentation": "One or more tags to delete.
", "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID of the tagged ML object. For example, exampleModelId
.
The type of the tagged ML object.
", "smithy.api#required": {} } } } }, "com.amazonaws.machinelearning#DeleteTagsOutput": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID of the ML object from which tags were deleted.
" } }, "ResourceType": { "target": "com.amazonaws.machinelearning#TaggableResourceType", "traits": { "smithy.api#documentation": "The type of the ML object from which tags were deleted.
" } } }, "traits": { "smithy.api#documentation": "Amazon ML returns the following elements.
" } }, "com.amazonaws.machinelearning#DescribeBatchPredictions": { "type": "operation", "input": { "target": "com.amazonaws.machinelearning#DescribeBatchPredictionsInput" }, "output": { "target": "com.amazonaws.machinelearning#DescribeBatchPredictionsOutput" }, "errors": [ { "target": "com.amazonaws.machinelearning#InternalServerException" }, { "target": "com.amazonaws.machinelearning#InvalidInputException" } ], "traits": { "smithy.api#documentation": "Returns a list of BatchPrediction
operations that match the search criteria in the request.
Use one of the following variables to filter a list of BatchPrediction
:
\n CreatedAt
- Sets the search criteria to the BatchPrediction
creation date.
\n Status
- Sets the search criteria to the BatchPrediction
status.
\n Name
- Sets the search criteria to the contents of the BatchPrediction
\n \n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked the BatchPrediction
creation.
\n MLModelId
- Sets the search criteria to the MLModel
used in the BatchPrediction
.
\n DataSourceId
- Sets the search criteria to the DataSource
used in the BatchPrediction
.
\n 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.
The equal to operator. The BatchPrediction
results will have \n FilterVariable
values that exactly match the value specified with EQ
.
The greater than operator. The BatchPrediction
results will \n have FilterVariable
values that are greater than the value specified with GT
.
The less than operator. The BatchPrediction
results will \n have FilterVariable
values that are less than the value specified with LT
.
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
.\n
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
.
The not equal to operator. The BatchPrediction
results will have FilterVariable
values not equal to the value specified with NE
.
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
\n 2014-09-09-HolidayGiftMailer
. To search for \n this BatchPrediction
, select Name
for the FilterVariable
and any of the following strings for the \n Prefix
:\n
2014-09
\n2014-09-09
\n2014-09-09-Holiday
\nA two-value parameter that determines the sequence of the resulting list of MLModel
s.
\n asc
- Arranges the list in ascending order (A-Z, 0-9).
\n dsc
- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by FilterVariable
.
An ID of the page in the paginated results.
" } }, "Limit": { "target": "com.amazonaws.machinelearning#PageLimit", "traits": { "smithy.api#documentation": "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
.
A list of BatchPrediction
objects that meet the search criteria.\n
The ID of the next page in the paginated results that indicates at least one more page follows.
" } } }, "traits": { "smithy.api#documentation": "Represents the output of a DescribeBatchPredictions
operation. The content is essentially a list of BatchPrediction
s.
Returns a list of DataSource
that match the search criteria in the request.
Use one of the following variables to filter a list of DataSource
:
\n CreatedAt
- Sets the search criteria to DataSource
creation dates.
\n Status
- Sets the search criteria to DataSource
statuses.
\n Name
- Sets the search criteria to the contents of DataSource
\n Name
.
\n 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.
\n IAMUser
- Sets the search criteria to the user account that invoked the DataSource
creation.
The equal to operator. The DataSource
results will have \n FilterVariable
values that exactly match the value specified with EQ
.
The greater than operator. The DataSource
results will \n have FilterVariable
values that are greater than the value specified with GT
.
The less than operator. The DataSource
results will \n have FilterVariable
values that are less than the value specified with LT
.
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
.\n
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
.
The not equal to operator. The DataSource
results will have FilterVariable
values not equal to the value specified with NE
.
A string that is found at the beginning of a variable, such as Name
or Id
.
For example, a DataSource
could have the Name
\n 2014-09-09-HolidayGiftMailer
. To search for \n this DataSource
, select Name
for the FilterVariable
and any of the following strings for the \n Prefix
: \n
2014-09
\n2014-09-09
\n2014-09-09-Holiday
\nA two-value parameter that determines the sequence of the resulting list of DataSource
.
\n asc
- Arranges the list in ascending order (A-Z, 0-9).
\n dsc
- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by FilterVariable
.
The ID of the page in the paginated results.
" } }, "Limit": { "target": "com.amazonaws.machinelearning#PageLimit", "traits": { "smithy.api#documentation": " The maximum number of DataSource
to include in the result.
A list of DataSource
that meet the search criteria.\n
An ID of the next page in the paginated results that indicates at least one more page follows.
" } } }, "traits": { "smithy.api#documentation": "Represents the query results from a DescribeDataSources operation. The content is essentially a list of DataSource
.
Returns a list of DescribeEvaluations
that match the search criteria in the request.
Use one of the following variable to filter a list of Evaluation
objects:
\n CreatedAt
- Sets the search criteria to the Evaluation
creation date.
\n Status
- Sets the search criteria to the Evaluation
status.
\n Name
- Sets the search criteria to the contents of Evaluation
\n \n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked an Evaluation
.
\n MLModelId
- Sets the search criteria to the MLModel
that was evaluated.
\n DataSourceId
- Sets the search criteria to the DataSource
used in Evaluation
.
\n 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.
The equal to operator. The Evaluation
results will have \n FilterVariable
values that exactly match the value specified with EQ
.
The greater than operator. The Evaluation
results will \n have FilterVariable
values that are greater than the value specified with GT
.
The less than operator. The Evaluation
results will \n have FilterVariable
values that are less than the value specified with LT
.
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
.\n
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
.
The not equal to operator. The Evaluation
results will have FilterVariable
values not equal to the value specified with NE
.
A string that is found at the beginning of a variable, such as Name
or Id
.
For example, an Evaluation
could have the Name
\n 2014-09-09-HolidayGiftMailer
. To search for \n this Evaluation
, select Name
for the FilterVariable
and any of the following strings for the \n Prefix
: \n
2014-09
\n2014-09-09
\n2014-09-09-Holiday
\nA two-value parameter that determines the sequence of the resulting list of Evaluation
.
\n asc
- Arranges the list in ascending order (A-Z, 0-9).
\n dsc
- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by FilterVariable
.
The ID of the page in the paginated results.
" } }, "Limit": { "target": "com.amazonaws.machinelearning#PageLimit", "traits": { "smithy.api#documentation": " The maximum number of Evaluation
to include in the result.
A list of Evaluation
that meet the search criteria.\n
The ID of the next page in the paginated results that indicates at least one more page follows.
" } } }, "traits": { "smithy.api#documentation": "Represents the query results from a DescribeEvaluations
operation. The content is essentially a list of Evaluation
.
Returns a list of MLModel
that match the search criteria in the request.
Use one of the following variables to filter a list of MLModel
:
\n CreatedAt
- Sets the search criteria to MLModel
creation date.
\n Status
- Sets the search criteria to MLModel
status.
\n Name
- Sets the search criteria to the contents of MLModel
\n \n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked the MLModel
creation.
\n TrainingDataSourceId
- Sets the search criteria to the DataSource
used to train one or more MLModel
.
\n RealtimeEndpointStatus
- Sets the search criteria to the MLModel
real-time endpoint status.
\n MLModelType
- Sets the search criteria to MLModel
type: binary, regression, or multi-class.
\n Algorithm
- Sets the search criteria to the algorithm that the MLModel
uses.
\n 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.
The equal to operator. The MLModel
results will have \n FilterVariable
values that exactly match the value specified with EQ
.
The greater than operator. The MLModel
results will \n have FilterVariable
values that are greater than the value specified with GT
.
The less than operator. The MLModel
results will \n have FilterVariable
values that are less than the value specified with LT
.
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
.\n
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
.
The not equal to operator. The MLModel
results will have FilterVariable
values not equal to the value specified with NE
.
A string that is found at the beginning of a variable, such as Name
or Id
.
For example, an MLModel
could have the Name
\n 2014-09-09-HolidayGiftMailer
. To search for \n this MLModel
, select Name
for the FilterVariable
and any of the following strings for the \n Prefix
: \n
2014-09
\n2014-09-09
\n2014-09-09-Holiday
\nA two-value parameter that determines the sequence of the resulting list of MLModel
.
\n asc
- Arranges the list in ascending order (A-Z, 0-9).
\n dsc
- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by FilterVariable
.
The ID of the page in the paginated results.
" } }, "Limit": { "target": "com.amazonaws.machinelearning#PageLimit", "traits": { "smithy.api#documentation": "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
.
A list of MLModel
that meet the search criteria.
The ID of the next page in the paginated results that indicates at least one more page follows.
" } } }, "traits": { "smithy.api#documentation": "Represents the output of a DescribeMLModels
operation. The content is essentially a list of MLModel
.
Describes one or more of the tags for your Amazon ML object.
" } }, "com.amazonaws.machinelearning#DescribeTagsInput": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID of the ML object. For example, exampleModelId
.
The type of the ML object.
", "smithy.api#required": {} } } } }, "com.amazonaws.machinelearning#DescribeTagsOutput": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID of the tagged ML object.
" } }, "ResourceType": { "target": "com.amazonaws.machinelearning#TaggableResourceType", "traits": { "smithy.api#documentation": "The type of the tagged ML object.
" } }, "Tags": { "target": "com.amazonaws.machinelearning#TagList", "traits": { "smithy.api#documentation": "A list of tags associated with the ML object.
" } } }, "traits": { "smithy.api#documentation": "Amazon ML returns the following elements.
" } }, "com.amazonaws.machinelearning#DetailsAttributes": { "type": "string", "traits": { "smithy.api#documentation": "Contains the key values of DetailsMap
:
\n PredictiveModelType
- Indicates the type of the MLModel
.
\n Algorithm
- Indicates the algorithm that was used for the MLModel
.
Provides any additional details regarding the prediction.
" } }, "com.amazonaws.machinelearning#DetailsValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.machinelearning#EDPPipelineId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1024 } } }, "com.amazonaws.machinelearning#EDPResourceRole": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.machinelearning#EDPSecurityGroupId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.machinelearning#EDPSecurityGroupIds": { "type": "list", "member": { "target": "com.amazonaws.machinelearning#EDPSecurityGroupId" } }, "com.amazonaws.machinelearning#EDPServiceRole": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.machinelearning#EDPSubnetId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.machinelearning#EntityId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[a-zA-Z0-9_.-]+" } }, "com.amazonaws.machinelearning#EntityName": { "type": "string", "traits": { "smithy.api#documentation": "A user-supplied name or description of the Amazon ML resource.
", "smithy.api#length": { "min": 0, "max": 1024 }, "smithy.api#pattern": ".*\\S.*|^$" } }, "com.amazonaws.machinelearning#EntityStatus": { "type": "string", "traits": { "smithy.api#documentation": "Object status with the following possible values:
\n\n PENDING
\n
\n INPROGRESS
\n
\n FAILED
\n
\n COMPLETED
\n
\n DELETED
\n
A timestamp represented in epoch time.
" } }, "com.amazonaws.machinelearning#ErrorCode": { "type": "integer" }, "com.amazonaws.machinelearning#ErrorMessage": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 } } }, "com.amazonaws.machinelearning#Evaluation": { "type": "structure", "members": { "EvaluationId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID that is assigned to the Evaluation
at creation.
The ID of the MLModel
that is the focus of the evaluation.
The ID of the DataSource
that is used to evaluate the MLModel
.
The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.
" } }, "CreatedByIamUser": { "target": "com.amazonaws.machinelearning#AwsUserArn", "traits": { "smithy.api#documentation": "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.
" } }, "CreatedAt": { "target": "com.amazonaws.machinelearning#EpochTime", "traits": { "smithy.api#documentation": "The time that the Evaluation
was created. The time is expressed in epoch time.
The time of the most recent edit to the Evaluation
. The time is expressed in epoch time.
A user-supplied name or description of the Evaluation
.
The status of the evaluation. This element can have one of the following values:
\n\n PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to evaluate an MLModel
.
\n INPROGRESS
- The evaluation is underway.
\n FAILED
- The request to evaluate an MLModel
did not run to completion. It is not usable.
\n COMPLETED
- The evaluation process completed successfully.
\n DELETED
- The Evaluation
is marked as deleted. It is not usable.
Measurements of how well the MLModel
performed, using observations referenced\n by the DataSource
. One of the following metrics is returned, based on the type of the MLModel
: \n
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.
\n For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.\n
" } }, "Message": { "target": "com.amazonaws.machinelearning#Message", "traits": { "smithy.api#documentation": "A description of the most recent details about evaluating the MLModel
.
Represents the output of GetEvaluation
operation.
The content consists of the detailed metadata and data file information and the current status of the \n Evaluation
.
A list of the variables to use in searching or filtering Evaluation
.
\n CreatedAt
- Sets the search criteria to Evaluation
creation date.
\n Status
- Sets the search criteria to Evaluation
status.
\n Name
- Sets the search criteria to the contents of Evaluation
\n \n Name
.
\n IAMUser
- Sets the search criteria to the user account that invoked an evaluation.
\n MLModelId
- Sets the search criteria to the Predictor
that was evaluated.
\n DataSourceId
- Sets the search criteria to the DataSource
used in evaluation.
\n 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 Service (Amazon S3) bucket or directory.
Returns a BatchPrediction
that includes detailed metadata, status, and data file information for a\n Batch Prediction
request.
An ID assigned to the BatchPrediction
at creation.
An ID assigned to the BatchPrediction
at creation. This value should be identical to the value of the BatchPredictionID
\n in the request.
The ID of the MLModel
that generated predictions for the BatchPrediction
request.
The ID of the DataSource
that was used to create the BatchPrediction
.\n
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
" } }, "CreatedByIamUser": { "target": "com.amazonaws.machinelearning#AwsUserArn", "traits": { "smithy.api#documentation": "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.
The time when the BatchPrediction
was created. The time is expressed in epoch time.
The time of the most recent edit to BatchPrediction
. The time is expressed in epoch time.
A user-supplied name or description of the BatchPrediction
.
The status of the BatchPrediction
, which can be one of the following values:
\n PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
\n INPROGRESS
- The batch predictions are in progress.
\n FAILED
- The request to perform a batch prediction did not run to completion. It is not usable.
\n COMPLETED
- The batch prediction process completed successfully.
\n DELETED
- The BatchPrediction
is marked as deleted. It is not usable.
The location of an Amazon S3 bucket or directory to receive the operation results.
" } }, "LogUri": { "target": "com.amazonaws.machinelearning#PresignedS3Url", "traits": { "smithy.api#documentation": "A link to the file that contains logs of the CreateBatchPrediction
operation.
A description of the most recent details about processing the batch prediction request.
" } }, "ComputeTime": { "target": "com.amazonaws.machinelearning#LongType", "traits": { "smithy.api#documentation": "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.
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.
The epoch time when Amazon Machine Learning marked the BatchPrediction
as INPROGRESS
. StartedAt
isn't available if the BatchPrediction
is in the PENDING
state.
The number of total records that Amazon Machine Learning saw while processing the BatchPrediction
.
The number of invalid records that Amazon Machine Learning saw while processing the BatchPrediction
.
Represents the output of a GetBatchPrediction
operation and describes a BatchPrediction
.
Returns a DataSource
that includes metadata and data file information, as well as the current status of the DataSource
.
\n GetDataSource
provides results in normal or verbose format. The verbose format \n adds the schema description and the list of files pointed to by the DataSource to the normal format.
The ID assigned to the DataSource
at creation.
Specifies whether the GetDataSource
operation should return DataSourceSchema
.
If true, DataSourceSchema
is returned.
If false, DataSourceSchema
is not returned.
The ID assigned to the DataSource
at creation. This value should be identical to the value of the DataSourceId
in the request.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
" } }, "DataRearrangement": { "target": "com.amazonaws.machinelearning#DataRearrangement", "traits": { "smithy.api#documentation": "A JSON string that represents the splitting and rearrangement requirement used when this DataSource
\n was created.
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.
The time that the DataSource
was created. The time is expressed in epoch time.
The time of the most recent edit to the DataSource
. The time is expressed in epoch time.
The total size of observations in the data files.
" } }, "NumberOfFiles": { "target": "com.amazonaws.machinelearning#LongType", "traits": { "smithy.api#documentation": "The number of data files referenced by the DataSource
.
A user-supplied name or description of the DataSource
.
The current status of the DataSource
. This element can have one of the following values:
\n PENDING
- Amazon ML submitted a request to create a DataSource
.
\n INPROGRESS
- The creation process is underway.
\n FAILED
- The request to create a DataSource
did not run to completion. It is not usable.
\n COMPLETED
- The creation process completed successfully.
\n DELETED
- The DataSource
is marked as deleted. It is not usable.
A link to the file containing logs of CreateDataSourceFrom*
operations.
The user-supplied description of the most recent details about creating the DataSource
.
\n The parameter is true
if statistics need to be generated from the observation data.\n
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.
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.
The epoch time when Amazon Machine Learning marked the DataSource
as INPROGRESS
. StartedAt
isn't available if the DataSource
is in the PENDING
state.
The schema used by all of the data files of this DataSource
.
\n Note: This parameter is provided as part of the verbose format.
" } } }, "traits": { "smithy.api#documentation": "Represents the output of a GetDataSource
operation and describes a DataSource
.
Returns an Evaluation
that includes metadata as well as the current status of the Evaluation
.
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.
The evaluation ID which is same as the EvaluationId
in the request.
The ID of the MLModel
that was the focus of the evaluation.
The DataSource
used for this evaluation.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
" } }, "CreatedByIamUser": { "target": "com.amazonaws.machinelearning#AwsUserArn", "traits": { "smithy.api#documentation": "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.
" } }, "CreatedAt": { "target": "com.amazonaws.machinelearning#EpochTime", "traits": { "smithy.api#documentation": "The time that the Evaluation
was created. The time is expressed in epoch time.
The time of the most recent edit to the Evaluation
. The time is expressed in epoch time.
A user-supplied name or description of the Evaluation
.
The status of the evaluation. This element can have one of the following values:
\n\n PENDING
- Amazon Machine Language (Amazon ML) submitted a request to evaluate an MLModel
.
\n INPROGRESS
- The evaluation is underway.
\n FAILED
- The request to evaluate an MLModel
did not run to completion. It is not usable.
\n COMPLETED
- The evaluation process completed successfully.
\n DELETED
- The Evaluation
is marked as deleted. It is not usable.
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
: \n
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.
\n For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.\n
" } }, "LogUri": { "target": "com.amazonaws.machinelearning#PresignedS3Url", "traits": { "smithy.api#documentation": "A link to the file that contains logs of the CreateEvaluation
operation.
A description of the most recent details about evaluating the MLModel
.
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.
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.
The epoch time when Amazon Machine Learning marked the Evaluation
as INPROGRESS
. StartedAt
isn't available if the Evaluation
is in the PENDING
state.
Represents the output of a GetEvaluation
operation and describes an Evaluation
.
Returns an MLModel
that includes detailed metadata, data source information, and the current status of the MLModel
.
\n GetMLModel
provides results in normal or verbose format.
The ID assigned to the MLModel
at creation.
Specifies whether the GetMLModel
operation should return Recipe
.
If true, Recipe
is returned.
If false, Recipe
is not returned.
The MLModel ID, \n which is same as the MLModelId
in the request.
The ID of the training DataSource
.
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.
The time that the MLModel
was created. The time is expressed in epoch time.
The time of the most recent edit to the MLModel
. The time is expressed in epoch time.
A user-supplied name or description of the MLModel
.
The current status of the MLModel
. This element can have one of the following values:
\n PENDING
- Amazon Machine Learning (Amazon ML) submitted a request to describe a MLModel
.
\n INPROGRESS
- The request is processing.
\n FAILED
- The request did not run to completion. The ML model isn't\n usable.
\n COMPLETED
- The request completed successfully.
\n DELETED
- The MLModel
is marked as deleted. It isn't\n usable.
The current endpoint of the MLModel
\n
A list of the training parameters in the MLModel
. The list is implemented as\n a map of key-value pairs.
The following is the current set of training parameters:
\n\n sgd.maxMLModelSizeInBytes
- The maximum allowed size of the model. Depending on the\n 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
.
\n sgd.maxPasses
- The number of times that the training process traverses the\n observations to build the MLModel
. The value is an integer that\n ranges from 1
to 10000
. The default value is\n 10
.
\n sgd.shuffleType
- Whether Amazon ML shuffles the training data. Shuffling data improves a\n model's ability to find the optimal solution for a variety of data types. The\n valid values are auto
and none
. The default value is\n none
. We strongly recommend that you shuffle your data.
\n sgd.l1RegularizationAmount
- The coefficient regularization L1 norm. It controls\n overfitting the data by penalizing large coefficients. This tends to drive\n coefficients to zero, resulting in a sparse feature set. If you use this\n parameter, start by specifying a small value, such as 1.0E-08
.
The value is a double that ranges from 0
to MAX_DOUBLE
.\n The default is to not use L1 normalization. This parameter can't be used when\n L2
is specified. Use this parameter sparingly.
\n sgd.l2RegularizationAmount
- The coefficient regularization L2 norm. It controls\n overfitting the data by penalizing large coefficients. This tends to drive\n coefficients to small, nonzero values. If you use this parameter, start by\n specifying a small value, such as 1.0E-08
.
The value is a double that ranges from 0
to MAX_DOUBLE
.\n The default is to not use L2 normalization. This parameter can't be used when\n L1
is specified. Use this parameter sparingly.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
" } }, "MLModelType": { "target": "com.amazonaws.machinelearning#MLModelType", "traits": { "smithy.api#documentation": "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?\"
\nBINARY -- Produces one of two possible results. For example, \"Is this an e-commerce website?\"
\nMULTICLASS -- Produces one of several possible results. For example, \"Is this a HIGH, LOW or MEDIUM risk trade?\"
\nThe scoring threshold is used in binary classification MLModel
\n models. It marks the boundary between a positive prediction and a\n negative prediction.
Output values greater than or equal to the threshold receive a positive result from the MLModel, such as \n true
. Output values less than the threshold receive a negative response from the MLModel, \n such as false
.
The time of the most recent edit to the ScoreThreshold
. The time is expressed in epoch time.
A link to the file that contains logs of the CreateMLModel
operation.
A description of the most recent details about accessing the MLModel
.
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.
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.
The epoch time when Amazon Machine Learning marked the MLModel
as INPROGRESS
. StartedAt
isn't available if the MLModel
is in the PENDING
state.
The recipe to use when training the MLModel
. The Recipe
\n provides detailed information about the observation data to use during training, and\n manipulations to perform on the observation data during training.
\n Note: This parameter is provided as part of the verbose format.
" } }, "Schema": { "target": "com.amazonaws.machinelearning#DataSchema", "traits": { "smithy.api#documentation": "The schema used by all of the data files referenced by the DataSource
.
\n Note: This parameter is provided as part of the verbose format.
" } } }, "traits": { "smithy.api#documentation": "Represents the output of a GetMLModel
operation, and provides detailed information about a MLModel
.
A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.machinelearning#IntegerType": { "type": "integer", "traits": { "smithy.api#documentation": "Integer type that is a 32-bit signed number.
" } }, "com.amazonaws.machinelearning#InternalServerException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { "target": "com.amazonaws.machinelearning#ErrorCode" } }, "traits": { "smithy.api#documentation": "An error on the server occurred when trying to process a request.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.machinelearning#InvalidInputException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { "target": "com.amazonaws.machinelearning#ErrorCode" } }, "traits": { "smithy.api#documentation": "An error on the client occurred. Typically, the cause is an invalid input value.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.machinelearning#InvalidTagException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.machinelearning#ErrorMessage" } }, "traits": { "smithy.api#error": "client" } }, "com.amazonaws.machinelearning#Label": { "type": "string", "traits": { "smithy.api#length": { "min": 1 } } }, "com.amazonaws.machinelearning#LimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { "target": "com.amazonaws.machinelearning#ErrorCode" } }, "traits": { "smithy.api#documentation": "The subscriber exceeded the maximum number of operations. This exception can occur when listing objects such as DataSource
.
Long integer type that is a 64-bit signed number.
" } }, "com.amazonaws.machinelearning#MLModel": { "type": "structure", "members": { "MLModelId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "The ID assigned to the MLModel
at creation.
The ID of the training DataSource
. The CreateMLModel
operation uses the TrainingDataSourceId
.
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.
The time that the MLModel
was created. The time is expressed in epoch time.
The time of the most recent edit to the MLModel
. The time is expressed in epoch time.
A user-supplied name or description of the MLModel
.
The current status of an MLModel
. This element can have one of the following values:
\n PENDING
\t- Amazon Machine Learning (Amazon ML) submitted a request to create an MLModel
.
\n INPROGRESS
\t- The creation process is underway.
\n FAILED
- The request to create an MLModel
didn't run to\n completion. The model isn't usable.
\n COMPLETED
\t- The creation process completed successfully.
\n DELETED
- The MLModel
is marked as deleted. It isn't\n usable.
The current endpoint of the MLModel
.
A list of the training parameters in the MLModel
. The list is implemented as\n a map of key-value pairs.
The following is the current set of training parameters:
\n\n sgd.maxMLModelSizeInBytes
- The maximum allowed size of the model. Depending on the\n 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
.
\n sgd.maxPasses
- The number of times that the training process traverses the\n observations to build the MLModel
. The value is an integer that\n ranges from 1
to 10000
. The default value is\n 10
.
\n sgd.shuffleType
- Whether Amazon ML shuffles the training data. Shuffling the data\n improves a model's ability to find the optimal solution for a variety of data\n types. The valid values are auto
and none
. The default\n value is none
.
\n sgd.l1RegularizationAmount
- The coefficient regularization L1 norm, which controls\n overfitting the data by penalizing large coefficients. This parameter tends to\n drive coefficients to zero, resulting in sparse feature set. If you use this\n parameter, start by specifying a small value, such as 1.0E-08
.
The value is a double that ranges from 0
to MAX_DOUBLE
.\n The default is to not use L1 normalization. This parameter can't be used when\n L2
is specified. Use this parameter sparingly.
\n sgd.l2RegularizationAmount
- The coefficient regularization L2 norm, which controls\n overfitting the data by penalizing large coefficients. This tends to drive\n coefficients to small, nonzero values. If you use this parameter, start by\n specifying a small value, such as 1.0E-08
.
The value is a double that ranges from 0
to MAX_DOUBLE
.\n The default is to not use L2 normalization. This parameter can't be used when\n L1
is specified. Use this parameter sparingly.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
" } }, "Algorithm": { "target": "com.amazonaws.machinelearning#Algorithm", "traits": { "smithy.api#documentation": "The algorithm used to train the MLModel
. The following algorithm is supported:
\n SGD
-- Stochastic gradient descent. The goal of SGD
is to minimize the gradient of the loss function.
Identifies the MLModel
category. The following are the available types:
\n REGRESSION
- Produces a numeric result. For example, \"What price should a\n house be listed at?\"
\n BINARY
- Produces one of two possible results. For example, \"Is this a\n child-friendly web site?\".
\n MULTICLASS
- Produces one of several possible results. For example, \"Is\n this a HIGH-, LOW-, or MEDIUM-risk trade?\".
The time of the most recent edit to the ScoreThreshold
. The time is expressed in epoch time.
A description of the most recent details about accessing the MLModel
.
Represents the output of a GetMLModel
operation.
The content consists of the detailed metadata and the current status of the MLModel
.
Description of the most recent details about an object.
", "smithy.api#length": { "min": 0, "max": 10240 } } }, "com.amazonaws.machinelearning#PageLimit": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.machinelearning#PerformanceMetrics": { "type": "structure", "members": { "Properties": { "target": "com.amazonaws.machinelearning#PerformanceMetricsProperties" } }, "traits": { "smithy.api#documentation": "Measurements of how well the MLModel
performed on known observations. One of the following metrics is returned, based on the type of the MLModel
: \n
BinaryAUC: The binary MLModel
uses the Area Under the Curve (AUC) technique to measure performance.
RegressionRMSE: The 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: The multiclass MLModel
uses the F1 score technique to measure performance.
\n For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.\n
" } }, "com.amazonaws.machinelearning#PerformanceMetricsProperties": { "type": "map", "key": { "target": "com.amazonaws.machinelearning#PerformanceMetricsPropertyKey" }, "value": { "target": "com.amazonaws.machinelearning#PerformanceMetricsPropertyValue" } }, "com.amazonaws.machinelearning#PerformanceMetricsPropertyKey": { "type": "string" }, "com.amazonaws.machinelearning#PerformanceMetricsPropertyValue": { "type": "string" }, "com.amazonaws.machinelearning#Predict": { "type": "operation", "input": { "target": "com.amazonaws.machinelearning#PredictInput" }, "output": { "target": "com.amazonaws.machinelearning#PredictOutput" }, "errors": [ { "target": "com.amazonaws.machinelearning#InternalServerException" }, { "target": "com.amazonaws.machinelearning#InvalidInputException" }, { "target": "com.amazonaws.machinelearning#LimitExceededException" }, { "target": "com.amazonaws.machinelearning#PredictorNotMountedException" }, { "target": "com.amazonaws.machinelearning#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Generates a prediction for the observation using the specified ML Model
.
\n Note: Not all response parameters will be populated. Whether a\n response parameter is populated depends on the type of model requested.
" } }, "com.amazonaws.machinelearning#PredictInput": { "type": "structure", "members": { "MLModelId": { "target": "com.amazonaws.machinelearning#EntityId", "traits": { "smithy.api#documentation": "A unique identifier of the MLModel
.
The prediction label for either a BINARY
or MULTICLASS
\n MLModel
.
The prediction value for REGRESSION
\n MLModel
.
The output from a Predict
operation:
\n\t\t\t\t Details
- Contains the following attributes:\n\t\t\t\t DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASS
\n\t\t\t\t DetailsAttributes.ALGORITHM - SGD
\n\t\t\t\t
\n\t\t\t\t PredictedLabel
- Present for either a BINARY
or MULTICLASS
\n MLModel
request.\n\t\t\t\t
\n\t\t\t\t PredictedScores
- Contains the raw classification score corresponding to each label.\n\t\t\t\t
\n\t\t\t\t PredictedValue
- Present for a REGRESSION
\n MLModel
request.\n\t\t\t\t
The exception is thrown when a predict request is made to an unmounted MLModel
.
Describes the DatabaseName
and InstanceIdentifier
of an Amazon RDS database.
The query that is used to retrieve the observation data for the DataSource
.
The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.
", "smithy.api#required": {} } }, "S3StagingLocation": { "target": "com.amazonaws.machinelearning#S3Url", "traits": { "smithy.api#documentation": "The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery
is stored in this location.
A JSON string that represents the splitting and rearrangement \n processing to be applied to a DataSource
. If the DataRearrangement
\n 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:
\n\n \n percentBegin
\n \n
Use percentBegin
to indicate the beginning of the range of the data used to \n create the Datasource.\n If you do not include percentBegin
and percentEnd
, Amazon ML includes \n all of the data when creating the datasource.
\n \n percentEnd
\n \n
Use percentEnd
to indicate the end of the range of the data used to create the \n Datasource. If you do not\n include percentBegin
and percentEnd
, Amazon ML \n includes all of the data when creating the datasource.
\n \n complement
\n \n
The complement
parameter instructs Amazon ML to use the data that is\n not included in the range of percentBegin
to percentEnd
to create a\n datasource. The complement
parameter is useful if you need to create \n complementary datasources for training and evaluation.\n To create a complementary datasource, use the same\n values for percentBegin
and percentEnd
, along with the\n 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.
\nDatasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}
\n
\n \n strategy
\n \n
To change how Amazon ML splits the data for a datasource, use the strategy
parameter.
The default value for the strategy
parameter\n is sequential
, meaning that Amazon ML takes all of the data records between the percentBegin
\n 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\n training and evaluation datasources:
Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}
\n
To randomly split the input data into the proportions indicated by the percentBegin and percentEnd \n parameters, set the strategy
parameter to\n random
and provide a string that is used as the seed value for the random data splitting (for \n example, you can use the S3 path to your data as the random seed string). \n If you choose the random split strategy,\n Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned\n number between percentBegin
and percentEnd
. Pseudo-random numbers are assigned \n using both the input seed string value and the byte offset as a seed, so changing the data results in a \n different split. Any existing ordering is preserved.\n The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. \n It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in \n training and evaluation datasources containing non-similar data records.
The following two DataRearrangement
lines are examples of non-sequentially ordered\n training and evaluation datasources:
Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}
\n
A JSON string that represents the schema for an Amazon RDS\n DataSource
. The DataSchema
\n defines the structure of the observation data in the data file(s)\n referenced in the DataSource
.
A DataSchema
is not required if you specify a \n DataSchemaUri
\n
Define your DataSchema
as a series of key-value pairs. attributes
\n and excludedVariableNames
have an array of key-value pairs\n for their value. Use the following format to define your DataSchema
.
{ \"version\": \"1.0\",
\n\"recordAnnotationFieldName\": \"F1\",
\n\"recordWeightFieldName\": \"F2\",
\n\"targetFieldName\": \"F3\",
\n\"dataFormat\": \"CSV\",
\n\"dataFileContainsHeader\": true,
\n\"attributes\": [
\n{ \"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\" } ],
\n\"excludedVariableNames\": [ \"F6\" ] }
" } }, "DataSchemaUri": { "target": "com.amazonaws.machinelearning#S3Url", "traits": { "smithy.api#documentation": "The Amazon S3 location of the DataSchema
.
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.
", "smithy.api#required": {} } }, "ServiceRole": { "target": "com.amazonaws.machinelearning#EDPServiceRole", "traits": { "smithy.api#documentation": "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.
", "smithy.api#required": {} } }, "SubnetId": { "target": "com.amazonaws.machinelearning#EDPSubnetId", "traits": { "smithy.api#documentation": "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.
", "smithy.api#required": {} } }, "SecurityGroupIds": { "target": "com.amazonaws.machinelearning#EDPSecurityGroupIds", "traits": { "smithy.api#documentation": "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.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The data specification of an Amazon Relational Database Service (Amazon RDS) DataSource
.
The ID of an RDS DB instance.
", "smithy.api#required": {} } }, "DatabaseName": { "target": "com.amazonaws.machinelearning#RDSDatabaseName", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The database details of an Amazon RDS database.
" } }, "com.amazonaws.machinelearning#RDSDatabaseCredentials": { "type": "structure", "members": { "Username": { "target": "com.amazonaws.machinelearning#RDSDatabaseUsername", "traits": { "smithy.api#required": {} } }, "Password": { "target": "com.amazonaws.machinelearning#RDSDatabasePassword", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The database credentials to connect to a database on an RDS DB instance.
" } }, "com.amazonaws.machinelearning#RDSDatabaseName": { "type": "string", "traits": { "smithy.api#documentation": "The name of a database hosted on an RDS DB instance.
", "smithy.api#length": { "min": 1, "max": 64 } } }, "com.amazonaws.machinelearning#RDSDatabasePassword": { "type": "string", "traits": { "smithy.api#documentation": "The password to be used by Amazon ML to connect to a database on an RDS DB instance.\n The password should have sufficient permissions to execute the RDSSelectQuery
query.
The username to be used by Amazon ML to connect to database on an Amazon RDS instance.\n The username should have sufficient permissions to execute an RDSSelectSqlQuery
query.
The database details required to connect to an Amazon RDS.
" } }, "DatabaseUserName": { "target": "com.amazonaws.machinelearning#RDSDatabaseUsername" }, "SelectSqlQuery": { "target": "com.amazonaws.machinelearning#RDSSelectSqlQuery", "traits": { "smithy.api#documentation": "The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose
is true in GetDataSourceInput
.
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.
" } }, "ServiceRole": { "target": "com.amazonaws.machinelearning#EDPServiceRole", "traits": { "smithy.api#documentation": "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.
" } }, "DataPipelineId": { "target": "com.amazonaws.machinelearning#EDPPipelineId", "traits": { "smithy.api#documentation": "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.
" } } }, "traits": { "smithy.api#documentation": "The datasource details that are specific to Amazon RDS.
" } }, "com.amazonaws.machinelearning#RDSSelectSqlQuery": { "type": "string", "traits": { "smithy.api#documentation": "The SQL query to be executed against the Amazon RDS database. The SQL query should be valid for the Amazon RDS type being used.
", "smithy.api#length": { "min": 1, "max": 16777216 } } }, "com.amazonaws.machinelearning#RealtimeEndpointInfo": { "type": "structure", "members": { "PeakRequestsPerSecond": { "target": "com.amazonaws.machinelearning#IntegerType", "traits": { "smithy.api#documentation": " The maximum processing rate for the real-time endpoint for MLModel
, measured in incoming requests per second.
The time that the request to create the real-time endpoint for the MLModel
was received. The time is expressed in epoch time.
The URI that specifies where to send real-time prediction requests for the MLModel
.
\n Note: The application must wait until the real-time endpoint is ready before using this URI.
" } }, "EndpointStatus": { "target": "com.amazonaws.machinelearning#RealtimeEndpointStatus", "traits": { "smithy.api#documentation": " The current status of the real-time endpoint for the MLModel
. This element can have one of the following values:
\n NONE
- Endpoint does not exist or was previously deleted.
\n READY
- Endpoint is ready to be used for real-time predictions.
\n UPDATING
- Updating/creating the endpoint.
Describes the real-time endpoint information for an MLModel
.
A map of variable name-value pairs that represent an observation.
" } }, "com.amazonaws.machinelearning#RedshiftClusterIdentifier": { "type": "string", "traits": { "smithy.api#documentation": "The ID of an Amazon Redshift cluster.
", "smithy.api#length": { "min": 1, "max": 63 }, "smithy.api#pattern": "[a-z0-9-]+" } }, "com.amazonaws.machinelearning#RedshiftDataSpec": { "type": "structure", "members": { "DatabaseInformation": { "target": "com.amazonaws.machinelearning#RedshiftDatabase", "traits": { "smithy.api#documentation": "Describes the DatabaseName
and ClusterIdentifier
for an Amazon Redshift DataSource
.
Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift DataSource
.
Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.
", "smithy.api#required": {} } }, "S3StagingLocation": { "target": "com.amazonaws.machinelearning#S3Url", "traits": { "smithy.api#documentation": "Describes an Amazon S3 location to store the result set of the SelectSqlQuery
query.
A JSON string that represents the splitting and rearrangement \n processing to be applied to a DataSource
. If the DataRearrangement
\n 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:
\n\n \n percentBegin
\n \n
Use percentBegin
to indicate the beginning of the range of the data used to \n create the Datasource.\n If you do not include percentBegin
and percentEnd
, Amazon ML includes \n all of the data when creating the datasource.
\n \n percentEnd
\n \n
Use percentEnd
to indicate the end of the range of the data used to create the \n Datasource. If you do not\n include percentBegin
and percentEnd
, Amazon ML \n includes all of the data when creating the datasource.
\n \n complement
\n \n
The complement
parameter instructs Amazon ML to use the data that is\n not included in the range of percentBegin
to percentEnd
to create a\n datasource. The complement
parameter is useful if you need to create \n complementary datasources for training and evaluation.\n To create a complementary datasource, use the same\n values for percentBegin
and percentEnd
, along with the\n 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.
\nDatasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}
\n
\n \n strategy
\n \n
To change how Amazon ML splits the data for a datasource, use the strategy
parameter.
The default value for the strategy
parameter\n is sequential
, meaning that Amazon ML takes all of the data records between the percentBegin
\n 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\n training and evaluation datasources:
Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}
\n
To randomly split the input data into the proportions indicated by the percentBegin and percentEnd \n parameters, set the strategy
parameter to\n random
and provide a string that is used as the seed value for the random data splitting (for \n example, you can use the S3 path to your data as the random seed string). \n If you choose the random split strategy,\n Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned\n number between percentBegin
and percentEnd
. Pseudo-random numbers are assigned \n using both the input seed string value and the byte offset as a seed, so changing the data results in a \n different split. Any existing ordering is preserved.\n The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. \n It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in \n training and evaluation datasources containing non-similar data records.
The following two DataRearrangement
lines are examples of non-sequentially ordered\n training and evaluation datasources:
Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}
\n
A JSON string that represents the schema for an Amazon Redshift \n DataSource
. The DataSchema
\n defines the structure of the observation data in the data file(s)\n referenced in the DataSource
.
A DataSchema
is not required if you specify a \n DataSchemaUri
.
Define your DataSchema
as a series of key-value pairs. attributes
\n and excludedVariableNames
have an array of key-value pairs\n for their value. Use the following format to define your DataSchema
.
{ \"version\": \"1.0\",
\n\"recordAnnotationFieldName\": \"F1\",
\n\"recordWeightFieldName\": \"F2\",
\n\"targetFieldName\": \"F3\",
\n\"dataFormat\": \"CSV\",
\n\"dataFileContainsHeader\": true,
\n\"attributes\": [
\n{ \"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\" } ],
\n\"excludedVariableNames\": [ \"F6\" ] }
" } }, "DataSchemaUri": { "target": "com.amazonaws.machinelearning#S3Url", "traits": { "smithy.api#documentation": "Describes the schema location for an Amazon Redshift DataSource
.
Describes the data specification of an Amazon Redshift DataSource
.
Describes the database details required to connect to an Amazon Redshift database.
" } }, "com.amazonaws.machinelearning#RedshiftDatabaseCredentials": { "type": "structure", "members": { "Username": { "target": "com.amazonaws.machinelearning#RedshiftDatabaseUsername", "traits": { "smithy.api#required": {} } }, "Password": { "target": "com.amazonaws.machinelearning#RedshiftDatabasePassword", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Describes the database credentials for connecting to a database on an Amazon Redshift cluster.
" } }, "com.amazonaws.machinelearning#RedshiftDatabaseName": { "type": "string", "traits": { "smithy.api#documentation": "The name of a database hosted on an Amazon Redshift cluster.
", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[a-z0-9]+" } }, "com.amazonaws.machinelearning#RedshiftDatabasePassword": { "type": "string", "traits": { "smithy.api#documentation": "A password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster.\n The password should have sufficient permissions to execute a RedshiftSelectSqlQuery
query. The password should be valid for an Amazon Redshift USER.
A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster.\n The username should have sufficient permissions to execute the RedshiftSelectSqlQuery
query. The username should be valid for an Amazon Redshift USER.
The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if Verbose
is true in GetDataSourceInput.
Describes the DataSource
details specific to Amazon Redshift.
Describes the SQL query to execute on the Amazon Redshift database. The SQL query should be valid for an Amazon Redshift SELECT. \n
", "smithy.api#length": { "min": 1, "max": 16777216 } } }, "com.amazonaws.machinelearning#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { "target": "com.amazonaws.machinelearning#ErrorCode" } }, "traits": { "smithy.api#documentation": "A specified resource cannot be located.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.machinelearning#RoleARN": { "type": "string", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of an AWS IAM Role, such as the following: arn:aws:iam::account:role/rolename.
", "smithy.api#length": { "min": 1, "max": 110 } } }, "com.amazonaws.machinelearning#S3DataSpec": { "type": "structure", "members": { "DataLocationS3": { "target": "com.amazonaws.machinelearning#S3Url", "traits": { "smithy.api#documentation": "The location of the data file(s) used by a DataSource
. The URI specifies a data file or \n an Amazon Simple Storage Service (Amazon S3) directory or bucket containing data files.
A JSON string that represents the splitting and rearrangement \n processing to be applied to a DataSource
. If the DataRearrangement
\n 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:
\n\n \n percentBegin
\n \n
Use percentBegin
to indicate the beginning of the range of the data used to \n create the Datasource.\n If you do not include percentBegin
and percentEnd
, Amazon ML includes \n all of the data when creating the datasource.
\n \n percentEnd
\n \n
Use percentEnd
to indicate the end of the range of the data used to create the \n Datasource. If you do not\n include percentBegin
and percentEnd
, Amazon ML \n includes all of the data when creating the datasource.
\n \n complement
\n \n
The complement
parameter instructs Amazon ML to use the data that is\n not included in the range of percentBegin
to percentEnd
to create a\n datasource. The complement
parameter is useful if you need to create \n complementary datasources for training and evaluation.\n To create a complementary datasource, use the same\n values for percentBegin
and percentEnd
, along with the\n 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.
\nDatasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}
\n
\n \n strategy
\n \n
To change how Amazon ML splits the data for a datasource, use the strategy
parameter.
The default value for the strategy
parameter\n is sequential
, meaning that Amazon ML takes all of the data records between the percentBegin
\n 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\n training and evaluation datasources:
Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}
\n
To randomly split the input data into the proportions indicated by the percentBegin and percentEnd \n parameters, set the strategy
parameter to\n random
and provide a string that is used as the seed value for the random data splitting (for \n example, you can use the S3 path to your data as the random seed string). \n If you choose the random split strategy,\n Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned\n number between percentBegin
and percentEnd
. Pseudo-random numbers are assigned \n using both the input seed string value and the byte offset as a seed, so changing the data results in a \n different split. Any existing ordering is preserved.\n The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. \n It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in \n training and evaluation datasources containing non-similar data records.
The following two DataRearrangement
lines are examples of non-sequentially ordered\n training and evaluation datasources:
Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}
\n
Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}
\n
A JSON string that represents the schema for an Amazon S3 \n DataSource
. The DataSchema
\n defines the structure of the observation data in the data file(s) \n referenced in the DataSource
.
You must provide either the DataSchema
or the DataSchemaLocationS3
.
Define your DataSchema
as a series of key-value pairs. attributes
\n and excludedVariableNames
have an array of key-value pairs\n for their value. Use the following format to define your DataSchema
.
{ \"version\": \"1.0\",
\n\"recordAnnotationFieldName\": \"F1\",
\n\"recordWeightFieldName\": \"F2\",
\n\"targetFieldName\": \"F3\",
\n\"dataFormat\": \"CSV\",
\n\"dataFileContainsHeader\": true,
\n\"attributes\": [
\n{ \"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\" } ],
\n\"excludedVariableNames\": [ \"F6\" ] }
" } }, "DataSchemaLocationS3": { "target": "com.amazonaws.machinelearning#S3Url", "traits": { "smithy.api#documentation": "Describes the schema location in Amazon S3. You must provide either the \n DataSchema
or the DataSchemaLocationS3
.
Describes the data specification of a DataSource
.
A reference to a file or bucket on Amazon Simple Storage Service (Amazon S3).
", "smithy.api#length": { "min": 0, "max": 2048 }, "smithy.api#pattern": "s3://([^/]+)(/.*)?" } }, "com.amazonaws.machinelearning#ScoreThreshold": { "type": "float", "traits": { "smithy.api#box": {} } }, "com.amazonaws.machinelearning#ScoreValue": { "type": "float" }, "com.amazonaws.machinelearning#ScoreValuePerLabelMap": { "type": "map", "key": { "target": "com.amazonaws.machinelearning#Label" }, "value": { "target": "com.amazonaws.machinelearning#ScoreValue" }, "traits": { "smithy.api#documentation": "Provides the raw classification score corresponding to each label.
" } }, "com.amazonaws.machinelearning#SortOrder": { "type": "string", "traits": { "smithy.api#documentation": "The sort order specified in a listing condition. Possible values include the following:
\n\n asc
- Present the information in ascending order (from A-Z).
\n dsc
- Present the information in descending order (from Z-A).
String type.
" } }, "com.amazonaws.machinelearning#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.machinelearning#TagKey", "traits": { "smithy.api#documentation": "A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.
" } }, "Value": { "target": "com.amazonaws.machinelearning#TagValue", "traits": { "smithy.api#documentation": "An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.
" } } }, "traits": { "smithy.api#documentation": "A custom key-value pair associated with an ML object, such as an ML model.
" } }, "com.amazonaws.machinelearning#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.machinelearning#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.machinelearning#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.machinelearning#TagLimitExceededException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.machinelearning#ErrorMessage" } }, "traits": { "smithy.api#error": "client" } }, "com.amazonaws.machinelearning#TagList": { "type": "list", "member": { "target": "com.amazonaws.machinelearning#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 100 } } }, "com.amazonaws.machinelearning#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.machinelearning#TaggableResourceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BatchPrediction", "name": "BATCH_PREDICTION" }, { "value": "DataSource", "name": "DATASOURCE" }, { "value": "Evaluation", "name": "EVALUATION" }, { "value": "MLModel", "name": "ML_MODEL" } ] } }, "com.amazonaws.machinelearning#TrainingParameters": { "type": "map", "key": { "target": "com.amazonaws.machinelearning#StringType" }, "value": { "target": "com.amazonaws.machinelearning#StringType" } }, "com.amazonaws.machinelearning#UpdateBatchPrediction": { "type": "operation", "input": { "target": "com.amazonaws.machinelearning#UpdateBatchPredictionInput" }, "output": { "target": "com.amazonaws.machinelearning#UpdateBatchPredictionOutput" }, "errors": [ { "target": "com.amazonaws.machinelearning#InternalServerException" }, { "target": "com.amazonaws.machinelearning#InvalidInputException" }, { "target": "com.amazonaws.machinelearning#ResourceNotFoundException" } ], "traits": { "smithy.api#documentation": "Updates the BatchPredictionName
of a BatchPrediction
.
You can use the GetBatchPrediction
operation to view the contents of the updated data element.
The ID assigned to the BatchPrediction
during creation.
A new user-supplied name or description of the BatchPrediction
.
The ID assigned to the BatchPrediction
during creation. This value should be identical to the value \n of the BatchPredictionId
in the request.
Represents the output of an UpdateBatchPrediction
operation.
You can see the updated content by using the GetBatchPrediction
operation.
Updates the DataSourceName
of a DataSource
.
You can use the GetDataSource
operation to view the contents of the updated data element.
The ID assigned to the DataSource
during creation.
A new user-supplied name or description of the DataSource
that will replace the current description.
The ID assigned to the DataSource
during creation. This value should be identical to the value \n of the DataSourceID
in the request.
Represents the output of an UpdateDataSource
operation.
You can see the updated content by using the GetBatchPrediction
operation.
Updates the EvaluationName
of an Evaluation
.
You can use the GetEvaluation
operation to view the contents of the updated data element.
The ID assigned to the Evaluation
during creation.
A new user-supplied name or description of the Evaluation
that will replace the current content.
The ID assigned to the Evaluation
during creation. This value should be identical to the value \n of the Evaluation
in the request.
Represents the output of an UpdateEvaluation
operation.
You can see the updated content by using the GetEvaluation
operation.
Updates the MLModelName
and the ScoreThreshold
of an MLModel
.
You can use the GetMLModel
operation to view the contents of the updated data element.
The ID assigned to the MLModel
during creation.
A user-supplied name or description of the MLModel
.
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
.
The ID assigned to the MLModel
during creation. This value should be identical to the value \n of the MLModelID
in the request.
Represents the output of an UpdateMLModel
operation.
You can see the updated content by using the GetMLModel
operation.
The name of a variable. Currently it's used to specify the name of the target value, label, weight, and tags.
" } }, "com.amazonaws.machinelearning#VariableValue": { "type": "string", "traits": { "smithy.api#documentation": "The value of a variable. Currently it's used to specify values of the target value, weights, and tag variables and for filtering variable values.
" } }, "com.amazonaws.machinelearning#Verbose": { "type": "boolean", "traits": { "smithy.api#documentation": "Specifies whether a describe operation should return exhaustive or abbreviated information.
" } }, "com.amazonaws.machinelearning#VipURL": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2048 }, "smithy.api#pattern": "https://[a-zA-Z0-9-.]*\\.amazon(aws)?\\.com[/]?" } }, "com.amazonaws.machinelearning#floatLabel": { "type": "float", "traits": { "smithy.api#box": {} } } } }