#[non_exhaustive]pub struct GetClusterCredentialsOutput {
pub db_user: Option<String>,
pub db_password: Option<String>,
pub expiration: Option<DateTime>,
}
Expand description
Temporary credentials with authorization to log on to an Amazon Redshift database.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.db_user: Option<String>
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 privileges 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.
db_password: Option<String>
A temporary password that authorizes the user name returned by DbUser
to log on to the database DbName
.
expiration: Option<DateTime>
The date and time the password in DbPassword
expires.
Implementations
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 privileges 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.
A temporary password that authorizes the user name returned by DbUser
to log on to the database DbName
.
The date and time the password in DbPassword
expires.
Creates a new builder-style object to manufacture GetClusterCredentialsOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetClusterCredentialsOutput
impl Send for GetClusterCredentialsOutput
impl Sync for GetClusterCredentialsOutput
impl Unpin for GetClusterCredentialsOutput
impl UnwindSafe for GetClusterCredentialsOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more