Struct aws_sdk_redshift::operation::get_cluster_credentials_with_iam::GetClusterCredentialsWithIamInput
source · #[non_exhaustive]pub struct GetClusterCredentialsWithIamInput { /* private fields */ }
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.
source§impl GetClusterCredentialsWithIamInput
impl GetClusterCredentialsWithIamInput
sourcepub fn builder() -> GetClusterCredentialsWithIamInputBuilder
pub fn builder() -> GetClusterCredentialsWithIamInputBuilder
Creates a new builder-style object to manufacture GetClusterCredentialsWithIamInput
.
source§impl GetClusterCredentialsWithIamInput
impl GetClusterCredentialsWithIamInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetClusterCredentialsWithIAM, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<GetClusterCredentialsWithIAM, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetClusterCredentialsWithIAM
>
Trait Implementations§
source§impl Clone for GetClusterCredentialsWithIamInput
impl Clone for GetClusterCredentialsWithIamInput
source§fn clone(&self) -> GetClusterCredentialsWithIamInput
fn clone(&self) -> GetClusterCredentialsWithIamInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<GetClusterCredentialsWithIamInput> for GetClusterCredentialsWithIamInput
impl PartialEq<GetClusterCredentialsWithIamInput> for GetClusterCredentialsWithIamInput
source§fn 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 ==
.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§
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
Mutably borrows from an owned value. Read more