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.

GetRelationalDatabaseMasterUserPasswordInput

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

type GetRelationalDatabaseMasterUserPasswordInput struct { PasswordVersion *string `locationName:"passwordVersion" type:"string" enum:"RelationalDatabasePasswordVersion"` RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"` }

PasswordVersion

Type: *string

The password version to return.

Specifying CURRENT or PREVIOUS returns the current or previous passwords respectively. Specifying PENDING returns the newest version of the password that will rotate to CURRENT. After the PENDING password rotates to CURRENT, the PENDING password is no longer available.

Default: CURRENT

RelationalDatabaseName

Type: *string

The name of your database for which to get the master user password.

RelationalDatabaseName is a required field

Method

GoString

func (s GetRelationalDatabaseMasterUserPasswordInput) GoString() string

GoString returns the string representation

SetPasswordVersion

func (s *GetRelationalDatabaseMasterUserPasswordInput) SetPasswordVersion(v string) *GetRelationalDatabaseMasterUserPasswordInput

SetPasswordVersion sets the PasswordVersion field's value.

SetRelationalDatabaseName

func (s *GetRelationalDatabaseMasterUserPasswordInput) SetRelationalDatabaseName(v string) *GetRelationalDatabaseMasterUserPasswordInput

SetRelationalDatabaseName sets the RelationalDatabaseName field's value.

String

func (s GetRelationalDatabaseMasterUserPasswordInput) String() string

String returns the string representation

Validate

func (s *GetRelationalDatabaseMasterUserPasswordInput) Validate() error

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

On this page: