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 ==
.