Documentation ¶
Index ¶
- func ModifyDBClusterParameterGroup(c context.Context, api ModifyDBClusterParameterGroupAPI, ...) (*rds.ModifyDBClusterParameterGroupOutput, error)
- func ModifyDBParameterGroup(c context.Context, api ModifyDBParameterGroupAPI, ...) (*rds.ModifyDBParameterGroupOutput, error)
- func RunModifyDBClusterParameterGroup(parameterGroupName string, staticParameters []types.Parameter, ...) (aws.Config, error)
- func RunModifyDBParameterGroup(parameterGroupName string, staticParameters []types.Parameter, ...) (aws.Config, error)
- type ModifyDBClusterParameterGroupAPI
- type ModifyDBParameterGroupAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModifyDBClusterParameterGroup ¶
func ModifyDBClusterParameterGroup(c context.Context, api ModifyDBClusterParameterGroupAPI, input *rds.ModifyDBClusterParameterGroupInput) (*rds.ModifyDBClusterParameterGroupOutput, error)
ModifyDBClusterParameterGroup modifies the DB Cluster Parameter Group. Inputs:
c is the context of the method call, which includes the AWS Region. api is the interface that defines the method call. input defines the input arguments to the service call.
Output:
If success, a ModifyDBClusterParameterGroupOutput object containing the result of the service call and nil. Otherwise, nil and an error from the call to DescribeDBClusterParameterGroup.
func ModifyDBParameterGroup ¶
func ModifyDBParameterGroup(c context.Context, api ModifyDBParameterGroupAPI, input *rds.ModifyDBParameterGroupInput) (*rds.ModifyDBParameterGroupOutput, error)
ModifyDBParameterGroup modifies the DB Parameter Group. Inputs:
c is the context of the method call, which includes the AWS Region. api is the interface that defines the method call. input defines the input arguments to the service call.
Output:
If success, a ModifyDBParameterGroupOutput object containing the result of the service call and nil. Otherwise, nil and an error from the call to DescribeDBParameterGroup.
Types ¶
type ModifyDBClusterParameterGroupAPI ¶
type ModifyDBClusterParameterGroupAPI interface { ModifyDBClusterParameterGroup( ctx context.Context, params *rds.ModifyDBClusterParameterGroupInput, optFns ...func(*rds.Options)) (*rds.ModifyDBClusterParameterGroupOutput, error) }
ModifyDBClusterParameterGroupAPI defines the interface for the ModifyDBClusterParameterGroup function. We use this interface to test the function using a mocked service.
type ModifyDBParameterGroupAPI ¶
type ModifyDBParameterGroupAPI interface { ModifyDBParameterGroup( ctx context.Context, params *rds.ModifyDBParameterGroupInput, optFns ...func(*rds.Options)) (*rds.ModifyDBParameterGroupOutput, error) }
ModifyDBParameterGroupAPI defines the interface for the ModifyDBParameterGroup function. We use this interface to test the function using a mocked service.
Click to show internal directories.
Click to hide internal directories.