Struct aws_sdk_quicksight::types::CredentialPair
source · #[non_exhaustive]pub struct CredentialPair {
pub username: String,
pub password: String,
pub alternate_data_source_parameters: Option<Vec<DataSourceParameters>>,
}
Expand description
The combination of user name and password that are used as credentials.
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.username: String
User name.
password: String
Password.
alternate_data_source_parameters: Option<Vec<DataSourceParameters>>
A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters
list is null, the DataSourceParameters
originally used with these Credentials
is automatically allowed.
Implementations§
source§impl CredentialPair
impl CredentialPair
sourcepub fn alternate_data_source_parameters(&self) -> &[DataSourceParameters]
pub fn alternate_data_source_parameters(&self) -> &[DataSourceParameters]
A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters
list is null, the DataSourceParameters
originally used with these Credentials
is automatically allowed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .alternate_data_source_parameters.is_none()
.
source§impl CredentialPair
impl CredentialPair
sourcepub fn builder() -> CredentialPairBuilder
pub fn builder() -> CredentialPairBuilder
Creates a new builder-style object to manufacture CredentialPair
.
Trait Implementations§
source§impl Clone for CredentialPair
impl Clone for CredentialPair
source§fn clone(&self) -> CredentialPair
fn clone(&self) -> CredentialPair
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CredentialPair
impl Debug for CredentialPair
source§impl PartialEq for CredentialPair
impl PartialEq for CredentialPair
source§fn eq(&self, other: &CredentialPair) -> bool
fn eq(&self, other: &CredentialPair) -> bool
self
and other
values to be equal, and is used
by ==
.