You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MachineLearning::Types::RedshiftMetadata

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb

Overview

Describes the DataSource details specific to Amazon Redshift.

Instance Attribute Summary collapse

Instance Attribute Details

#database_user_nameString

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.

Returns:

  • (String)


3495
3496
3497
3498
3499
3500
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3495

class RedshiftMetadata < Struct.new(
  :redshift_database,
  :database_user_name,
  :select_sql_query)
  include Aws::Structure
end

#redshift_databaseTypes::RedshiftDatabase

Describes the database details required to connect to an Amazon Redshift database.



3495
3496
3497
3498
3499
3500
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3495

class RedshiftMetadata < Struct.new(
  :redshift_database,
  :database_user_name,
  :select_sql_query)
  include Aws::Structure
end

#select_sql_queryString

The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if Verbose is true in GetDataSourceInput.

Returns:

  • (String)


3495
3496
3497
3498
3499
3500
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3495

class RedshiftMetadata < Struct.new(
  :redshift_database,
  :database_user_name,
  :select_sql_query)
  include Aws::Structure
end