Class: Aws::Lightsail::Types::GetRelationalDatabaseMasterUserPasswordRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb

Overview

Note:

When making an API call, you may pass GetRelationalDatabaseMasterUserPasswordRequest data as a hash:

{
  relational_database_name: "ResourceName", # required
  password_version: "CURRENT", # accepts CURRENT, PREVIOUS, PENDING
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#password_versionString

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

Returns:

  • (String)


7429
7430
7431
7432
7433
7434
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 7429

class GetRelationalDatabaseMasterUserPasswordRequest < Struct.new(
  :relational_database_name,
  :password_version)
  SENSITIVE = []
  include Aws::Structure
end

#relational_database_nameString

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

Returns:

  • (String)


7429
7430
7431
7432
7433
7434
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 7429

class GetRelationalDatabaseMasterUserPasswordRequest < Struct.new(
  :relational_database_name,
  :password_version)
  SENSITIVE = []
  include Aws::Structure
end