Documentation ¶
Index ¶
- type DbInstances
- func (instances *DbInstances) CreateInstance(ctx context.Context, instanceName string, dbName string, dbEngine string, ...) (*types.DBInstance, error)
- func (instances *DbInstances) CreateParameterGroup(ctx context.Context, parameterGroupName string, parameterGroupFamily string, ...) (*types.DBParameterGroup, error)
- func (instances *DbInstances) CreateSnapshot(ctx context.Context, instanceName string, snapshotName string) (*types.DBSnapshot, error)
- func (instances *DbInstances) DeleteInstance(ctx context.Context, instanceName string) error
- func (instances *DbInstances) DeleteParameterGroup(ctx context.Context, parameterGroupName string) error
- func (instances *DbInstances) GetEngineVersions(ctx context.Context, engine string, parameterGroupFamily string) ([]types.DBEngineVersion, error)
- func (instances *DbInstances) GetInstance(ctx context.Context, instanceName string) (*types.DBInstance, error)
- func (instances *DbInstances) GetOrderableInstances(ctx context.Context, engine string, engineVersion string) ([]types.OrderableDBInstanceOption, error)
- func (instances *DbInstances) GetParameterGroup(ctx context.Context, parameterGroupName string) (*types.DBParameterGroup, error)
- func (instances *DbInstances) GetParameters(ctx context.Context, parameterGroupName string, source string) ([]types.Parameter, error)
- func (instances *DbInstances) GetSnapshot(ctx context.Context, snapshotName string) (*types.DBSnapshot, error)
- func (instances *DbInstances) UpdateParameters(ctx context.Context, 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(ctx context.Context, 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( ctx context.Context, 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(ctx context.Context, instanceName string, snapshotName string) ( *types.DBSnapshot, error)
CreateSnapshot creates a snapshot of a DB instance.
func (*DbInstances) DeleteInstance ¶
func (instances *DbInstances) DeleteInstance(ctx context.Context, instanceName string) error
DeleteInstance deletes a DB instance.
func (*DbInstances) DeleteParameterGroup ¶
func (instances *DbInstances) DeleteParameterGroup(ctx context.Context, parameterGroupName string) error
DeleteParameterGroup deletes the named DB parameter group.
func (*DbInstances) GetEngineVersions ¶
func (instances *DbInstances) GetEngineVersions(ctx context.Context, 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(ctx context.Context, instanceName string) ( *types.DBInstance, error)
GetInstance gets data about a DB instance.
func (*DbInstances) GetOrderableInstances ¶
func (instances *DbInstances) GetOrderableInstances(ctx context.Context, 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(ctx context.Context, parameterGroupName string) ( *types.DBParameterGroup, error)
GetParameterGroup gets a DB parameter group by name.
func (*DbInstances) GetParameters ¶
func (instances *DbInstances) GetParameters(ctx context.Context, 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(ctx context.Context, snapshotName string) (*types.DBSnapshot, error)
GetSnapshot gets a DB instance snapshot.
func (*DbInstances) UpdateParameters ¶
func (instances *DbInstances) UpdateParameters(ctx context.Context, parameterGroupName string, params []types.Parameter) error
UpdateParameters updates parameters in a named DB parameter group.