AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CopyDBParameterGroupInput

import "github.com/aws/aws-sdk-go/service/rds"

type CopyDBParameterGroupInput struct { SourceDBParameterGroupIdentifier *string `type:"string" required:"true"` Tags []*Tag `locationNameList:"Tag" type:"list"` TargetDBParameterGroupDescription *string `type:"string" required:"true"` TargetDBParameterGroupIdentifier *string `type:"string" required:"true"` }

SourceDBParameterGroupIdentifier

Type: *string

The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing) in the Amazon RDS User Guide.

Constraints:

  • Must specify a valid DB parameter group.

  • Must specify a valid DB parameter group identifier, for example my-db-param-group, or a valid ARN.

SourceDBParameterGroupIdentifier is a required field

Tags

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

TargetDBParameterGroupDescription

Type: *string

A description for the copied DB parameter group.

TargetDBParameterGroupDescription is a required field

TargetDBParameterGroupIdentifier

Type: *string

The identifier for the copied DB parameter group.

Constraints:

  • Can't be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Can't end with a hyphen or contain two consecutive hyphens

Example: my-db-parameter-group

TargetDBParameterGroupIdentifier is a required field

Method

GoString

func (s CopyDBParameterGroupInput) GoString() string

GoString returns the string representation

SetSourceDBParameterGroupIdentifier

func (s *CopyDBParameterGroupInput) SetSourceDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput

SetSourceDBParameterGroupIdentifier sets the SourceDBParameterGroupIdentifier field's value.

SetTags

func (s *CopyDBParameterGroupInput) SetTags(v []*Tag) *CopyDBParameterGroupInput

SetTags sets the Tags field's value.

SetTargetDBParameterGroupDescription

func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupDescription(v string) *CopyDBParameterGroupInput

SetTargetDBParameterGroupDescription sets the TargetDBParameterGroupDescription field's value.

SetTargetDBParameterGroupIdentifier

func (s *CopyDBParameterGroupInput) SetTargetDBParameterGroupIdentifier(v string) *CopyDBParameterGroupInput

SetTargetDBParameterGroupIdentifier sets the TargetDBParameterGroupIdentifier field's value.

String

func (s CopyDBParameterGroupInput) String() string

String returns the string representation

Validate

func (s *CopyDBParameterGroupInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: