|
NAMEPaws::MachineLearning::CreateDataSourceFromRDS - Arguments for method CreateDataSourceFromRDS on Paws::MachineLearning DESCRIPTIONThis 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 shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataSourceFromRDS. SYNOPSIS my $machinelearning = Paws->service('MachineLearning');
my $CreateDataSourceFromRDSOutput =
$machinelearning->CreateDataSourceFromRDS(
DataSourceId => 'MyEntityId',
RDSData => {
DatabaseCredentials => {
Password => 'MyRDSDatabasePassword', # min: 8, max: 128
Username => 'MyRDSDatabaseUsername', # min: 1, max: 128
},
DatabaseInformation => {
DatabaseName => 'MyRDSDatabaseName', # min: 1, max: 64
InstanceIdentifier => 'MyRDSInstanceIdentifier', # min: 1, max: 63
},
ResourceRole => 'MyEDPResourceRole', # min: 1, max: 64
S3StagingLocation => 'MyS3Url', # max: 2048
SecurityGroupIds => [
'MyEDPSecurityGroupId', ... # min: 1, max: 255
],
SelectSqlQuery => 'MyRDSSelectSqlQuery', # min: 1, max: 16777216
ServiceRole => 'MyEDPServiceRole', # min: 1, max: 64
SubnetId => 'MyEDPSubnetId', # min: 1, max: 255
DataRearrangement => 'MyDataRearrangement', # OPTIONAL
DataSchema => 'MyDataSchema', # max: 131071; OPTIONAL
DataSchemaUri => 'MyS3Url', # max: 2048
},
RoleARN => 'MyRoleARN',
ComputeStatistics => 1, # OPTIONAL
DataSourceName => 'MyEntityName', # OPTIONAL
);
# Results:
my $DataSourceId = $CreateDataSourceFromRDSOutput->DataSourceId;
# Returns a L<Paws::MachineLearning::CreateDataSourceFromRDSOutput> object.
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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/machinelearning/CreateDataSourceFromRDS> ATTRIBUTESComputeStatistics => BoolThe compute statistics for a "DataSource". The statistics are generated from the observation data referenced by a "DataSource". Amazon ML uses the statistics internally during "MLModel" training. This parameter must be set to "true" if the "DataSource" needs to be used for "MLModel" training. "" REQUIRED DataSourceId => StrA user-supplied ID that uniquely identifies the "DataSource". Typically, an Amazon Resource Number (ARN) becomes the ID for a "DataSource". DataSourceName => StrA user-supplied name or description of the "DataSource". REQUIRED RDSData => Paws::MachineLearning::RDSDataSpecThe data specification of an Amazon RDS "DataSource":
REQUIRED RoleARN => StrThe 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 ALSOThis class forms part of Paws, documenting arguments for method CreateDataSourceFromRDS in Paws::MachineLearning BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|