AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
The data specification of an Amazon Relational Database Service (Amazon RDS) DataSource.

Inheritance Hierarchy

System.Object
  Amazon.MachineLearning.Model.RDSDataSpec

Namespace: Amazon.MachineLearning.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class RDSDataSpec : Object

The RDSDataSpec type exposes the following members

Constructors

NameDescription
Public Method RDSDataSpec()

Properties

NameTypeDescription
Public Property DatabaseCredentials Amazon.MachineLearning.Model.RDSDatabaseCredentials Gets and sets the property DatabaseCredentials.

The AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon RDS database.

Public Property DatabaseInformation Amazon.MachineLearning.Model.RDSDatabase Gets and sets the property DatabaseInformation.

Describes the DatabaseName and InstanceIdentifier of an an Amazon RDS database.

Public Property DataRearrangement System.String Gets and sets the property DataRearrangement.

DataRearrangement - A JSON string that represents the splitting requirement of a DataSource.

Sample - "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"

Public Property DataSchema System.String Gets and sets the property DataSchema.

A JSON string that represents the schema for an Amazon RDS DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

A DataSchema is not required if you specify a DataSchemaUri

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ "version": "1.0",

"recordAnnotationFieldName": "F1",

"recordWeightFieldName": "F2",

"targetFieldName": "F3",

"dataFormat": "CSV",

"dataFileContainsHeader": true,

"attributes": [

{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],

"excludedVariableNames": [ "F6" ] }

Public Property DataSchemaUri System.String Gets and sets the property DataSchemaUri.

The Amazon S3 location of the DataSchema.

Public Property ResourceRole System.String Gets and sets the property ResourceRole.

The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see Role templates for data pipelines.

Public Property S3StagingLocation System.String Gets and sets the property S3StagingLocation.

The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location.

Public Property SecurityGroupIds System.Collections.Generic.List<System.String> Gets and sets the property SecurityGroupIds.

The security group IDs to be used to access a VPC-based RDS DB instance. Ensure that there are appropriate ingress rules set up to allow access to the RDS DB instance. This attribute is used by Data Pipeline to carry out the copy operation from Amazon RDS to an Amazon S3 task.

Public Property SelectSqlQuery System.String Gets and sets the property SelectSqlQuery.

The query that is used to retrieve the observation data for the DataSource.

Public Property ServiceRole System.String Gets and sets the property ServiceRole.

The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

Public Property SubnetId System.String Gets and sets the property SubnetId.

The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5