Struct aws_sdk_redshift::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIamInput
source · #[non_exhaustive]pub struct GetClusterCredentialsWithIamInput {
pub db_name: Option<String>,
pub cluster_identifier: Option<String>,
pub duration_seconds: Option<i32>,
pub custom_domain_name: Option<String>,
}
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_name: Option<String>
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname
for the specified database name. If the database name is not specified, access to all databases is allowed.
cluster_identifier: Option<String>
The unique identifier of the cluster that contains the database for which you are requesting credentials.
duration_seconds: Option<i32>
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
custom_domain_name: Option<String>
The custom domain name for the IAM message cluster credentials.
Implementations§
source§impl GetClusterCredentialsWithIamInput
impl GetClusterCredentialsWithIamInput
sourcepub fn db_name(&self) -> Option<&str>
pub fn db_name(&self) -> Option<&str>
The name of the database for which you are requesting credentials. If the database name is specified, the IAM policy must allow access to the resource dbname
for the specified database name. If the database name is not specified, access to all databases is allowed.
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The unique identifier of the cluster that contains the database for which you are requesting credentials.
sourcepub fn duration_seconds(&self) -> Option<i32>
pub fn duration_seconds(&self) -> Option<i32>
The number of seconds until the returned temporary password expires.
Range: 900-3600. Default: 900.
sourcepub fn custom_domain_name(&self) -> Option<&str>
pub fn custom_domain_name(&self) -> Option<&str>
The custom domain name for the IAM message cluster credentials.
source§impl GetClusterCredentialsWithIamInput
impl GetClusterCredentialsWithIamInput
sourcepub fn builder() -> GetClusterCredentialsWithIamInputBuilder
pub fn builder() -> GetClusterCredentialsWithIamInputBuilder
Creates a new builder-style object to manufacture GetClusterCredentialsWithIamInput
.
Trait Implementations§
source§impl Clone for GetClusterCredentialsWithIamInput
impl Clone for GetClusterCredentialsWithIamInput
source§fn clone(&self) -> GetClusterCredentialsWithIamInput
fn clone(&self) -> GetClusterCredentialsWithIamInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetClusterCredentialsWithIamInput
impl PartialEq for GetClusterCredentialsWithIamInput
source§fn eq(&self, other: &GetClusterCredentialsWithIamInput) -> bool
fn eq(&self, other: &GetClusterCredentialsWithIamInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetClusterCredentialsWithIamInput
Auto Trait Implementations§
impl Freeze for GetClusterCredentialsWithIamInput
impl RefUnwindSafe for GetClusterCredentialsWithIamInput
impl Send for GetClusterCredentialsWithIamInput
impl Sync for GetClusterCredentialsWithIamInput
impl Unpin for GetClusterCredentialsWithIamInput
impl UnwindSafe for GetClusterCredentialsWithIamInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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