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.impl StructuralPartialEq for GetClusterCredentialsWithIamOutput
Auto Trait Implementations§
impl Freeze for GetClusterCredentialsWithIamOutput
impl RefUnwindSafe for GetClusterCredentialsWithIamOutput
impl Send for GetClusterCredentialsWithIamOutput
impl Sync for GetClusterCredentialsWithIamOutput
impl Unpin for GetClusterCredentialsWithIamOutput
impl UnwindSafe for GetClusterCredentialsWithIamOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more