AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RDSMetadata

import "github.com/aws/aws-sdk-go/service/machinelearning"

type RDSMetadata struct { DataPipelineId *string `min:"1" type:"string"` Database *RDSDatabase `type:"structure"` DatabaseUserName *string `min:"1" type:"string"` ResourceRole *string `min:"1" type:"string"` SelectSqlQuery *string `min:"1" type:"string"` ServiceRole *string `min:"1" type:"string"` }

The datasource details that are specific to Amazon RDS.

DataPipelineId

Type: *string

The ID of the Data Pipeline instance that is used to carry to copy data from Amazon RDS to Amazon S3. You can use the ID to find details about the instance in the Data Pipeline console.

Database

The database details of an Amazon RDS database.

DatabaseUserName

Type: *string

The username to be used by Amazon ML to connect to database on an Amazon RDS instance. The username should have sufficient permissions to execute an RDSSelectSqlQuery query.

ResourceRole

Type: *string

The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) for data pipelines.

SelectSqlQuery

Type: *string

The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose is true in GetDataSourceInput.

ServiceRole

Type: *string

The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) for data pipelines.

Method

GoString

func (s RDSMetadata) GoString() string

GoString returns the string representation

SetDataPipelineId

func (s *RDSMetadata) SetDataPipelineId(v string) *RDSMetadata

SetDataPipelineId sets the DataPipelineId field's value.

SetDatabase

func (s *RDSMetadata) SetDatabase(v *RDSDatabase) *RDSMetadata

SetDatabase sets the Database field's value.

SetDatabaseUserName

func (s *RDSMetadata) SetDatabaseUserName(v string) *RDSMetadata

SetDatabaseUserName sets the DatabaseUserName field's value.

SetResourceRole

func (s *RDSMetadata) SetResourceRole(v string) *RDSMetadata

SetResourceRole sets the ResourceRole field's value.

SetSelectSqlQuery

func (s *RDSMetadata) SetSelectSqlQuery(v string) *RDSMetadata

SetSelectSqlQuery sets the SelectSqlQuery field's value.

SetServiceRole

func (s *RDSMetadata) SetServiceRole(v string) *RDSMetadata

SetServiceRole sets the ServiceRole field's value.

String

func (s RDSMetadata) String() string

String returns the string representation

On this page: