Class: Aws::MachineLearning::Types::RedshiftMetadata
- Inherits:
-
Struct
- Object
- Struct
- Aws::MachineLearning::Types::RedshiftMetadata
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-machinelearning/types.rb
Overview
Describes the ‘DataSource` details specific to Amazon Redshift.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#database_user_name ⇒ String
A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster.
-
#redshift_database ⇒ Types::RedshiftDatabase
Describes the database details required to connect to an Amazon Redshift database.
-
#select_sql_query ⇒ String
The SQL query that is specified during CreateDataSourceFromRedshift.
Instance Attribute Details
#database_user_name ⇒ String
A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the ‘RedshiftSelectSqlQuery` query. The username should be valid for an Amazon Redshift [USER].
[1]: docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html
3336 3337 3338 3339 3340 3341 3342 |
# File 'lib/aws-sdk-machinelearning/types.rb', line 3336 class RedshiftMetadata < Struct.new( :redshift_database, :database_user_name, :select_sql_query) SENSITIVE = [] include Aws::Structure end |
#redshift_database ⇒ Types::RedshiftDatabase
Describes the database details required to connect to an Amazon Redshift database.
3336 3337 3338 3339 3340 3341 3342 |
# File 'lib/aws-sdk-machinelearning/types.rb', line 3336 class RedshiftMetadata < Struct.new( :redshift_database, :database_user_name, :select_sql_query) SENSITIVE = [] include Aws::Structure end |
#select_sql_query ⇒ String
The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if ‘Verbose` is true in GetDataSourceInput.
3336 3337 3338 3339 3340 3341 3342 |
# File 'lib/aws-sdk-machinelearning/types.rb', line 3336 class RedshiftMetadata < Struct.new( :redshift_database, :database_user_name, :select_sql_query) SENSITIVE = [] include Aws::Structure end |