Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Paws::MachineLearning:UserwContributedePerlnDocumentatataSourceFromRedshift(3)

NAME
       Paws::MachineLearning::CreateDataSourceFromRedshift - Arguments for
       method CreateDataSourceFromRedshift on Paws::MachineLearning

DESCRIPTION
       This class represents the parameters used for calling the method
       CreateDataSourceFromRedshift on the Amazon Machine Learning service.
       Use the attributes of this class	as arguments to	method
       CreateDataSourceFromRedshift.

       You shouln't make instances of this class. Each attribute should	be
       used as a named argument	in the call to CreateDataSourceFromRedshift.

       As an example:

	 $service_obj->CreateDataSourceFromRedshift(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	"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".

   DataSourceName => Str
       A user-supplied name or description of the "DataSource".

   REQUIRED DataSpec =>	Paws::MachineLearning::RedshiftDataSpec
       The data	specification of an Amazon Redshift "DataSource":

       o   DatabaseInformation -

	   o   "DatabaseName " - Name of the Amazon Redshift database.

	   o   " ClusterIdentifier " - Unique ID for the Amazon	Redshift
	       cluster.

       o   DatabaseCredentials - AWS Identity abd Access Management (IAM)
	   credentials that are	used to	connect	to the Amazon Redshift
	   database.

       o   SelectSqlQuery - Query that is used to retrieve the observation
	   data	for the	"Datasource".

       o   S3StagingLocation - Amazon Simple Storage Service (Amazon S3)
	   location for	staging	Amazon Redshift	data. The data retrieved from
	   Amazon Relational Database Service (Amazon RDS) using
	   "SelectSqlQuery" is stored in this location.

       o   DataSchemaUri - Amazon S3 location of the "DataSchema".

       o   DataSchema -	A JSON string representing the schema. This is not
	   required if "DataSchemaUri" is specified.

       o   DataRearrangement - A JSON string representing the splitting
	   requirement of a "Datasource".

	   Sample -  "{\"randomSeed\":\"some-random-seed\",
	   \"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"

   REQUIRED RoleARN => Str
       A fully specified role Amazon Resource Name (ARN). Amazon ML assumes
       the role	on behalf of the user to create	the following:

       o   A security group to allow Amazon ML to execute the "SelectSqlQuery"
	   query on an Amazon Redshift cluster

       o   An Amazon S3	bucket policy to grant Amazon ML read/write
	   permissions on the "S3StagingLocation"

SEE ALSO
       This class forms	part of	Paws, documenting arguments for	method
       CreateDataSourceFromRedshift 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

perl v5.24.1		Paws::MachineLearning::CreateDataSourceFromRedshift(3)

NAME | DESCRIPTION | ATTRIBUTES | SEE ALSO | BUGS and CONTRIBUTIONS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Paws::MachineLearning::CreateDataSourceFromRedshift&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help