#[non_exhaustive]pub struct GetClusterCredentialsWithIamInput {
pub db_name: Option<String>,
pub cluster_identifier: Option<String>,
pub duration_seconds: Option<i32>,
}
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.
Implementations
sourceimpl GetClusterCredentialsWithIamInput
impl GetClusterCredentialsWithIamInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetClusterCredentialsWithIAM, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetClusterCredentialsWithIAM, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetClusterCredentialsWithIAM
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetClusterCredentialsWithIamInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for GetClusterCredentialsWithIamInput
impl Clone for GetClusterCredentialsWithIamInput
sourcefn clone(&self) -> GetClusterCredentialsWithIamInput
fn clone(&self) -> GetClusterCredentialsWithIamInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<GetClusterCredentialsWithIamInput> for GetClusterCredentialsWithIamInput
impl PartialEq<GetClusterCredentialsWithIamInput> for GetClusterCredentialsWithIamInput
sourcefn eq(&self, other: &GetClusterCredentialsWithIamInput) -> bool
fn eq(&self, other: &GetClusterCredentialsWithIamInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetClusterCredentialsWithIamInput) -> bool
fn ne(&self, other: &GetClusterCredentialsWithIamInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetClusterCredentialsWithIamInput
Auto Trait Implementations
impl RefUnwindSafe for GetClusterCredentialsWithIamInput
impl Send for GetClusterCredentialsWithIamInput
impl Sync for GetClusterCredentialsWithIamInput
impl Unpin for GetClusterCredentialsWithIamInput
impl UnwindSafe for GetClusterCredentialsWithIamInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more