Documentation ¶
Index ¶
- type DbInstances
- func (instances *DbInstances) CreateInstance(instanceName string, dbName string, dbEngine string, dbEngineVersion string, ...) (*types.DBInstance, error)
- func (instances *DbInstances) CreateParameterGroup(parameterGroupName string, parameterGroupFamily string, description string) (*types.DBParameterGroup, error)
- func (instances *DbInstances) CreateSnapshot(instanceName string, snapshotName string) (*types.DBSnapshot, error)
- func (instances *DbInstances) DeleteInstance(instanceName string) error
- func (instances *DbInstances) DeleteParameterGroup(parameterGroupName string) error
- func (instances *DbInstances) GetEngineVersions(engine string, parameterGroupFamily string) ([]types.DBEngineVersion, error)
- func (instances *DbInstances) GetInstance(instanceName string) (*types.DBInstance, error)
- func (instances *DbInstances) GetOrderableInstances(engine string, engineVersion string) ([]types.OrderableDBInstanceOption, error)
- func (instances *DbInstances) GetParameterGroup(parameterGroupName string) (*types.DBParameterGroup, error)
- func (instances *DbInstances) GetParameters(parameterGroupName string, source string) ([]types.Parameter, error)
- func (instances *DbInstances) GetSnapshot(snapshotName string) (*types.DBSnapshot, error)
- func (instances *DbInstances) UpdateParameters(parameterGroupName string, params []types.Parameter) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbInstances ¶
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.