NAME
Paws::MachineLearning::CreateDataSourceFromRDS - Arguments for method CreateDataSourceFromRDS on Paws::MachineLearning
DESCRIPTION
This class represents the parameters used for calling the method CreateDataSourceFromRDS on the Amazon Machine Learning service. Use the attributes of this class as arguments to method CreateDataSourceFromRDS.
You shouln't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataSourceFromRDS.
As an example:
$service_obj->CreateDataSourceFromRDS(Att1 => $value1, Att2 => $value2, ...);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
ATTRIBUTES
ComputeStatistics => Bool
The compute statistics for a DataSource
. The statistics are generated from the observation data referenced by a DataSource
. Amazon ML uses the statistics internally during an MLModel
training. This parameter must be set to true
if the DataSource
needs to be used for
MLModel
training.
REQUIRED DataSourceId => Str
A user-supplied ID that uniquely identifies the DataSource
. Typically, an Amazon Resource Number (ARN) becomes the ID for a DataSource
.
DataSourceName => Str
A user-supplied name or description of the DataSource
.
REQUIRED RDSData => Paws::MachineLearning::RDSDataSpec
The data specification of an Amazon RDS DataSource
:
DatabaseInformation -
DatabaseName
- Name of the Amazon RDS database.InstanceIdentifier
- Unique identifier for the Amazon RDS database instance.
DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database.
ResourceRole - Role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (EC2) instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.
ServiceRole - Role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon Simple Storage Service (S3). For more information, see Role templates for data pipelines.
SecurityInfo - Security information to use to access an Amazon RDS 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 Amazon RDS instance.SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
.S3StagingLocation - Amazon S3 location for staging RDS data. The data retrieved from Amazon RDS using
SelectSqlQuery
is stored in this location.DataSchemaUri - 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 representing the splitting requirement of a
Datasource
.Sample -
"{\"randomSeed\":\"some-random-seed\", \"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
REQUIRED RoleARN => Str
The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the userâs account and copy data (using the SelectSqlQuery
) query from Amazon RDS to Amazon S3.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateDataSourceFromRDS in Paws::MachineLearning
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues