actions

package
v0.0.0-...-bbbe362 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbInstances

type DbInstances struct {
	RdsClient *rds.Client
}

func (*DbInstances) CreateInstance

func (instances *DbInstances) CreateInstance(instanceName string, dbName string,
	dbEngine string, dbEngineVersion string, parameterGroupName string, dbInstanceClass string,
	storageType string, allocatedStorage int32, adminName string, adminPassword string) (
	*types.DBInstance, error)

CreateInstance creates a DB instance.

func (*DbInstances) CreateParameterGroup

func (instances *DbInstances) CreateParameterGroup(
	parameterGroupName string, parameterGroupFamily string, description string) (
	*types.DBParameterGroup, error)

CreateParameterGroup creates a DB parameter group that is based on the specified parameter group family.

func (*DbInstances) CreateSnapshot

func (instances *DbInstances) CreateSnapshot(instanceName string, snapshotName string) (
	*types.DBSnapshot, error)

CreateSnapshot creates a snapshot of a DB instance.

func (*DbInstances) DeleteInstance

func (instances *DbInstances) DeleteInstance(instanceName string) error

DeleteInstance deletes a DB instance.

func (*DbInstances) DeleteParameterGroup

func (instances *DbInstances) DeleteParameterGroup(parameterGroupName string) error

DeleteParameterGroup deletes the named DB parameter group.

func (*DbInstances) GetEngineVersions

func (instances *DbInstances) GetEngineVersions(engine string, parameterGroupFamily string) (
	[]types.DBEngineVersion, error)

GetEngineVersions gets database engine versions that are available for the specified engine and parameter group family.

func (*DbInstances) GetInstance

func (instances *DbInstances) GetInstance(instanceName string) (
	*types.DBInstance, error)

GetInstance gets data about a DB instance.

func (*DbInstances) GetOrderableInstances

func (instances *DbInstances) GetOrderableInstances(engine string, engineVersion string) (
	[]types.OrderableDBInstanceOption, error)

GetOrderableInstances uses a paginator to get DB instance options that can be used to create DB instances that are compatible with a set of specifications.

func (*DbInstances) GetParameterGroup

func (instances *DbInstances) GetParameterGroup(parameterGroupName string) (
	*types.DBParameterGroup, error)

GetParameterGroup gets a DB parameter group by name.

func (*DbInstances) GetParameters

func (instances *DbInstances) GetParameters(parameterGroupName string, source string) (
	[]types.Parameter, error)

GetParameters gets the parameters that are contained in a DB parameter group.

func (*DbInstances) GetSnapshot

func (instances *DbInstances) GetSnapshot(snapshotName string) (*types.DBSnapshot, error)

GetSnapshot gets a DB instance snapshot.

func (*DbInstances) UpdateParameters

func (instances *DbInstances) UpdateParameters(parameterGroupName string, params []types.Parameter) error

UpdateParameters updates parameters in a named DB parameter group.

Jump to

Keyboard shortcuts

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