#[non_exhaustive]pub struct GetClusterCredentialsOutput { /* private fields */ }
Expand description
Temporary credentials with authorization to log on to an Amazon Redshift database.
Implementations§
source§impl GetClusterCredentialsOutput
impl GetClusterCredentialsOutput
sourcepub fn db_user(&self) -> Option<&str>
pub fn db_user(&self) -> Option<&str>
A database user name that is authorized to log on to the database DbName
using the password DbPassword
. If the specified DbUser exists in the database, the new user name has the same database permissions as the the user named in DbUser. By default, the user is added to PUBLIC. If the DbGroups
parameter is specifed, DbUser
is added to the listed groups for any sessions created using these credentials.
sourcepub fn db_password(&self) -> Option<&str>
pub fn db_password(&self) -> Option<&str>
A temporary password that authorizes the user name returned by DbUser
to log on to the database DbName
.
sourcepub fn expiration(&self) -> Option<&DateTime>
pub fn expiration(&self) -> Option<&DateTime>
The date and time the password in DbPassword
expires.
source§impl GetClusterCredentialsOutput
impl GetClusterCredentialsOutput
sourcepub fn builder() -> GetClusterCredentialsOutputBuilder
pub fn builder() -> GetClusterCredentialsOutputBuilder
Creates a new builder-style object to manufacture GetClusterCredentialsOutput
.
Trait Implementations§
source§impl Clone for GetClusterCredentialsOutput
impl Clone for GetClusterCredentialsOutput
source§fn clone(&self) -> GetClusterCredentialsOutput
fn clone(&self) -> GetClusterCredentialsOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetClusterCredentialsOutput
impl Debug for GetClusterCredentialsOutput
source§impl PartialEq<GetClusterCredentialsOutput> for GetClusterCredentialsOutput
impl PartialEq<GetClusterCredentialsOutput> for GetClusterCredentialsOutput
source§fn eq(&self, other: &GetClusterCredentialsOutput) -> bool
fn eq(&self, other: &GetClusterCredentialsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetClusterCredentialsOutput
impl RequestId for GetClusterCredentialsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.