You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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
}

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)


4431
4432
4433
4434
4435
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4431

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

#relational_database_nameString

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

Returns:

  • (String)


4431
4432
4433
4434
4435
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 4431

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