Struct aws_sdk_quicksight::types::RedshiftParameters
source · #[non_exhaustive]pub struct RedshiftParameters {
pub host: Option<String>,
pub port: i32,
pub database: String,
pub cluster_id: Option<String>,
pub iam_parameters: Option<RedshiftIamParameters>,
pub identity_center_configuration: Option<IdentityCenterConfiguration>,
}
Expand description
The parameters for Amazon Redshift. The ClusterId
field can be blank if Host
and Port
are both set. The Host
and Port
fields can be blank if the ClusterId
field is set.
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.host: Option<String>
Host. This field can be blank if ClusterId
is provided.
port: i32
Port. This field can be blank if the ClusterId
is provided.
database: String
Database.
cluster_id: Option<String>
Cluster ID. This field can be blank if the Host
and Port
are provided.
iam_parameters: Option<RedshiftIamParameters>
An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials.
identity_center_configuration: Option<IdentityCenterConfiguration>
An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster.
This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.
Implementations§
source§impl RedshiftParameters
impl RedshiftParameters
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
Cluster ID. This field can be blank if the Host
and Port
are provided.
sourcepub fn iam_parameters(&self) -> Option<&RedshiftIamParameters>
pub fn iam_parameters(&self) -> Option<&RedshiftIamParameters>
An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials.
sourcepub fn identity_center_configuration(
&self,
) -> Option<&IdentityCenterConfiguration>
pub fn identity_center_configuration( &self, ) -> Option<&IdentityCenterConfiguration>
An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster.
This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center.
source§impl RedshiftParameters
impl RedshiftParameters
sourcepub fn builder() -> RedshiftParametersBuilder
pub fn builder() -> RedshiftParametersBuilder
Creates a new builder-style object to manufacture RedshiftParameters
.
Trait Implementations§
source§impl Clone for RedshiftParameters
impl Clone for RedshiftParameters
source§fn clone(&self) -> RedshiftParameters
fn clone(&self) -> RedshiftParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RedshiftParameters
impl Debug for RedshiftParameters
source§impl PartialEq for RedshiftParameters
impl PartialEq for RedshiftParameters
impl StructuralPartialEq for RedshiftParameters
Auto Trait Implementations§
impl Freeze for RedshiftParameters
impl RefUnwindSafe for RedshiftParameters
impl Send for RedshiftParameters
impl Sync for RedshiftParameters
impl Unpin for RedshiftParameters
impl UnwindSafe for RedshiftParameters
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