Struct aws_sdk_redshift::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIamOutput
source · #[non_exhaustive]pub struct GetClusterCredentialsWithIamOutput {
pub db_user: Option<String>,
pub db_password: Option<String>,
pub expiration: Option<DateTime>,
pub next_refresh_time: Option<DateTime>,
/* private fields */
}
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 you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
db_password: Option<String>
A temporary password that you provide when you connect to a database.
expiration: Option<DateTime>
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
next_refresh_time: Option<DateTime>
Reserved for future use.
Implementations§
source§impl GetClusterCredentialsWithIamOutput
impl GetClusterCredentialsWithIamOutput
sourcepub fn db_user(&self) -> Option<&str>
pub fn db_user(&self) -> Option<&str>
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
sourcepub fn db_password(&self) -> Option<&str>
pub fn db_password(&self) -> Option<&str>
A temporary password that you provide when you connect to a database.
sourcepub fn expiration(&self) -> Option<&DateTime>
pub fn expiration(&self) -> Option<&DateTime>
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
sourcepub fn next_refresh_time(&self) -> Option<&DateTime>
pub fn next_refresh_time(&self) -> Option<&DateTime>
Reserved for future use.
source§impl GetClusterCredentialsWithIamOutput
impl GetClusterCredentialsWithIamOutput
sourcepub fn builder() -> GetClusterCredentialsWithIamOutputBuilder
pub fn builder() -> GetClusterCredentialsWithIamOutputBuilder
Creates a new builder-style object to manufacture GetClusterCredentialsWithIamOutput
.
Trait Implementations§
source§impl Clone for GetClusterCredentialsWithIamOutput
impl Clone for GetClusterCredentialsWithIamOutput
source§fn clone(&self) -> GetClusterCredentialsWithIamOutput
fn clone(&self) -> GetClusterCredentialsWithIamOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetClusterCredentialsWithIamOutput
impl PartialEq for GetClusterCredentialsWithIamOutput
source§fn eq(&self, other: &GetClusterCredentialsWithIamOutput) -> bool
fn eq(&self, other: &GetClusterCredentialsWithIamOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetClusterCredentialsWithIamOutput
impl RequestId for GetClusterCredentialsWithIamOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.