rds

package
v0.0.0-...-b425644 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "2013-05-15"

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizeDBSecurityGroupIngress

type AuthorizeDBSecurityGroupIngress struct {
	DBSecurityGroupName string `xml:"DBSecurityGroupName"`
	CIDRIP              string `xml:"CIDRIP"`
}

func (*AuthorizeDBSecurityGroupIngress) Execute

type AuthorizeDBSecurityGroupIngressResponse

type AuthorizeDBSecurityGroupIngressResponse struct {
	XMLName xml.Name                        `xml:"AuthorizeDBSecurityGroupIngressResponse"`
	Result  *AuthorizeDBSecurityGroupResult `xml:"AuthorizeDBSecurityGroupIngressResult"`
}

type AuthorizeDBSecurityGroupResult

type AuthorizeDBSecurityGroupResult struct {
	XMLName         xml.Name         `xml:"AuthorizeDBSecurityGroupIngressResult"`
	DBSecurityGroup *DBSecurityGroup `xml:"DBSecurityGroup"`
}

type Client

type Client struct {
	*aws.Client
	CustomRegion string
}

func NewFromEnv

func NewFromEnv() *Client

func (*Client) Endpoint

func (client *Client) Endpoint() string

type CreateDBSecurityGroup

type CreateDBSecurityGroup struct {
	DBSecurityGroupName        string `xml:"DBSecurityGroupName"`
	DBSecurityGroupDescription string `xml:"DBSecurityGroupDescription"`
}

func (*CreateDBSecurityGroup) Execute

func (action *CreateDBSecurityGroup) Execute(client *Client) (res *CreateDBSecurityGroupResponse, e error)

type CreateDBSecurityGroupResponse

type CreateDBSecurityGroupResponse struct {
	XMLName xml.Name                     `xml:"CreateDBSecurityGroupResponse"`
	Result  *CreateDBSecurityGroupResult `xml:"CreateDBSecurityGroupResult"`
}

type CreateDBSecurityGroupResult

type CreateDBSecurityGroupResult struct {
	XMLName         xml.Name         `xml:"CreateDBSecurityGroupResult"`
	DBSecurityGroup *DBSecurityGroup `xml:"DBSecurityGroup"`
}

type DBEngineVersion

type DBEngineVersion struct {
	DBParameterGroupFamily     string `xml:"DBParameterGroupFamily"`     // oracle-se1-11.2</DBParameterGroupFamily>
	Engine                     string `xml:"Engine"`                     // oracle-se1</Engine>
	DBEngineDescription        string `xml:"DBEngineDescription"`        // Oracle Database Server SE1</DBEngineDescription>
	EngineVersion              string `xml:"EngineVersion"`              // 11.2.0.2.v3</EngineVersion>
	DBEngineVersionDescription string `xml:"DBEngineVersionDescription"` // Oracle SE1 release</DBEngineVersionDescription>
}

type DBInstance

type DBInstance struct {
	LatestRestorableTime       string                        `xml:"LatestRestorableTime"`
	Engine                     string                        `xml:"Engine"`
	PendingModifiedValues      interface{}                   `xml:"PendingModifiedValues"`
	BackupRetentionPeriod      string                        `xml:"BackupRetentionPeriod"`
	MultiAZ                    bool                          `xml:"MultiAZ"`
	LicenseModel               string                        `xml:"LicenseModel"`
	DBInstanceStatus           string                        `xml:"DBInstanceStatus"`
	EngineVersion              string                        `xml:"EngineVersion"`
	Endpoint                   *Endpoint                     `xml:"Endpoint"`
	DBInstanceIdentifier       string                        `xml:"DBInstanceIdentifier"`
	VpcSecurityGroups          []*VpcSecurityGroupMembership `xml:"VpcSecurityGroups"`
	DBSecurityGroups           []*DBSecurityGroup            `xml:"DBSecurityGroups"`
	PreferredBackupWindow      string                        `xml:"PreferredBackupWindow"`
	AutoMinorVersionUpgrade    bool                          `xml:"AutoMinorVersionUpgrade"`
	PreferredMaintenanceWindow string                        `xml:"PreferredMaintenanceWindow"`
	AvailabilityZone           string                        `xml:"AvailabilityZone"`
	InstanceCreateTime         time.Time                     `xml:"InstanceCreateTime"`
	AllocatedStorage           int                           `xml:"AllocatedStorage"`
	DBInstanceClass            string                        `xml:"DBInstanceClass"`
	MasterUsername             string                        `xml:"MasterUsername"`
}

type DBSecurityGroup

type DBSecurityGroup struct {
	Status              string `xml:"Status"`
	DBSecurityGroupName string `xml:"DBSecurityGroupName"`
}

type DBSnapshot

type DBSnapshot struct {
	AllocatedStorage     int       `xml:",omitempty"`
	AvailabilityZone     string    `xml:",omitempty"`
	DBInstanceIdentifier string    `xml:",omitempty"`
	DBSnapshotIdentifier string    `xml:",omitempty"`
	Engine               string    `xml:",omitempty"`
	EngineVersion        string    `xml:",omitempty"`
	InstanceCreateTime   time.Time `xml:",omitempty"`
	Iops                 int       `xml:",omitempty"`
	LicenseModel         string    `xml:",omitempty"`
	MasterUsername       string    `xml:",omitempty"`
	OptionGroupName      string    `xml:",omitempty"`
	PercentProgress      int       `xml:",omitempty"`
	Port                 int       `xml:",omitempty"`
	SnapshotCreateTime   time.Time `xml:",omitempty"`
	SnapshotType         string    `xml:",omitempty"`
	SourceRegion         string    `xml:",omitempty"`
	Status               string    `xml:",omitempty"`
	VpcId                string    `xml:",omitempty"`
}

type DeleteDBInstance

type DeleteDBInstance struct {
	DBInstanceIdentifier string `xml:",omitempty"`
	// Don't create an instance final snapshot.
	SkipFinalSnapshot bool `xml:",omitempty"`
	// Name of the final instance snapshot.
	FinalDBSnapshotIdentifier string `xml:",omitempty"`
}

func (*DeleteDBInstance) Execute

func (r *DeleteDBInstance) Execute(client *Client) (*DeleteDBInstanceResponse, error)

type DeleteDBInstanceResponse

type DeleteDBInstanceResponse struct {
	XMLName                xml.Name                `xml:"DeleteDBInstanceResponse"`
	DeleteDBInstanceResult *DeleteDBInstanceResult `xml:"DeleDescribeDBInstancesResult"`
}

type DeleteDBInstanceResult

type DeleteDBInstanceResult struct {
	Instance *DBInstance `xml:"DBInstance"`
}

type DeleteDBSecurityGroup

type DeleteDBSecurityGroup struct {
	DBSecurityGroupName string `xml:"DBSecurityGroupName"`
}

func (*DeleteDBSecurityGroup) Execute

func (action *DeleteDBSecurityGroup) Execute(client *Client) (e error)

type DescribeDBEngineVersions

type DescribeDBEngineVersions struct {
	DBParameterGroupFamily     string
	DefaultOnly                string
	Engine                     string
	EngineVerion               string
	MaxRecords                 int
	Marker                     string
	ListSupportedCharacterSets bool
	Filters                    []*ec2.Filter
}

func (*DescribeDBEngineVersions) Execute

type DescribeDBEngineVersionsResponse

type DescribeDBEngineVersionsResponse struct {
	XMLName          xml.Name           `xml:"DescribeDBEngineVersionsResponse"`
	DBEngineVersions []*DBEngineVersion `xml:"DescribeDBEngineVersionsResult>DBEngineVersions>DBEngineVersion"`
}

type DescribeDBInstances

type DescribeDBInstances struct {
	DBInstanceIdentifier string
	Filters              []*ec2.Filter
	Marker               string
	MaxRecords           int
}

func (*DescribeDBInstances) Execute

type DescribeDBInstancesResponse

type DescribeDBInstancesResponse struct {
	XMLName                   xml.Name                   `xml:"DescribeDBInstancesResponse"`
	DescribeDBInstancesResult *DescribeDBInstancesResult `xml:"DescribeDBInstancesResult"`
}

type DescribeDBInstancesResult

type DescribeDBInstancesResult struct {
	Instances []*DBInstance `xml:"DBInstances>DBInstance"`
}

type DescribeDBSnapshots

type DescribeDBSnapshots struct {
	DBInstanceIdentifier string    `xml:",omitempty"`
	DBSnapshotIdentifier string    `xml:",omitempty"`
	Filters              []*Filter `xml:"Filters>member,omitempty"`
	Marker               string    `xml:",omitempty"`
	MaxRecords           int       `xml:",omitempty"`
	SnapshotType         string    `xml:",omitempty"`
}

func (*DescribeDBSnapshots) Execute

type DescribeDBSnapshotsResponse

type DescribeDBSnapshotsResponse struct {
	XMLName                   xml.Name                   `xml:"DescribeDBSnapshotsResponse"`
	DescribeDBSnapshotsResult *DescribeDBSnapshotsResult `xml:"DescribeDBSnapshotsResult"`
}

type DescribeDBSnapshotsResult

type DescribeDBSnapshotsResult struct {
	Snapshots []*DBSnapshot `xml:"DBSnapshots>DBSnapshot"`
}

type Endpoint

type Endpoint struct {
	Port    int    `xml:"Port"`
	Address string `xml:"Address"`
}

type Error

type Error struct {
	Code    string `xml:"Code"`
	Message string `xml:"Message"`
}

func (Error) Error

func (e Error) Error() string

type ErrorResponse

type ErrorResponse struct {
	XMLName   xml.Name `xml:"ErrorResponse"`
	RequestID string   `xml:"RequestID"`
	Error     Error    `xml:"Error"`
}

type Filter

type Filter struct {
	Name   string   `xml:",omitempty"`
	Values []string `xml:",omitempty"`
}

type ModifyDBInstance

type ModifyDBInstance struct {
	DBInstanceIdentifier string
	DBSecurityGroups     []string `xml:"DBSecurityGroups>member,omitempty"`
	VpcSecurityGroupIds  []string `xml:"VpcSecurityGroupIds>member,omitempty"`
}

func (*ModifyDBInstance) Execute

func (action *ModifyDBInstance) Execute(client *Client) (res *ModifyDBInstanceResponse, e error)

type ModifyDBInstanceResponse

type ModifyDBInstanceResponse struct {
	XMLName                xml.Name                `xml:"ModifyDBInstanceResponse"`
	ModifyDBInstanceResult *ModifyDBInstanceResult `xml:"ModifyDBInstanceResult,omitempty"`
}

type ModifyDBInstanceResult

type ModifyDBInstanceResult struct {
	XMLName    xml.Name    `xml:"ModifyDBInstanceResult"`
	DBInstance *DBInstance `xml:"DBInstance"`
}

type RestoreDBSnapshot

type RestoreDBSnapshot struct {
	DBInstanceClass      string `xml:",omitempty"`
	DBInstanceIdentifier string `xml:",omitempty"`
	DBSnapshotIdentifier string `xml:",omitempty"`
}

func (*RestoreDBSnapshot) Execute

func (r *RestoreDBSnapshot) Execute(client *Client) (*RestoreDBSnapshotResponse, error)

type RestoreDBSnapshotResponse

type RestoreDBSnapshotResponse struct {
	XMLName                 xml.Name                 `xml:"RestoreDBInstanceFromDBSnapshotResponse"`
	RestoreDBSnapshotResult *RestoreDBSnapshotResult `xml:"RestoreDBInstanceFromDBSnapshotResult"`
}

type RestoreDBSnapshotResult

type RestoreDBSnapshotResult struct {
	Instance *DBInstance `xml:"DBInstance"`
}

type VpcSecurityGroupMembership

type VpcSecurityGroupMembership struct {
	Status             string `xml:"Status"`
	VpcSecurityGroupId string `xml:"VpcSecurityGroupId"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL