AWSMachineLearningRedshiftMetadata

Objective-C

@interface AWSMachineLearningRedshiftMetadata

Swift

class AWSMachineLearningRedshiftMetadata

Describes the DataSource details specific to Amazon Redshift.

  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable databaseUserName;

    Swift

    var databaseUserName: String? { get set }
  • Describes the database details required to connect to an Amazon Redshift database.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSMachineLearningRedshiftDatabase *_Nullable redshiftDatabase;

    Swift

    var redshiftDatabase: AWSMachineLearningRedshiftDatabase? { get set }
  • The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if Verbose is true in GetDataSourceInput.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable selectSqlQuery;

    Swift

    var selectSqlQuery: String? { get set }