| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.QuickSight.Types.CredentialPair
Description
Synopsis
- data CredentialPair = CredentialPair' {}
- newCredentialPair :: Text -> Text -> CredentialPair
- credentialPair_alternateDataSourceParameters :: Lens' CredentialPair (Maybe (NonEmpty DataSourceParameters))
- credentialPair_username :: Lens' CredentialPair Text
- credentialPair_password :: Lens' CredentialPair Text
Documentation
data CredentialPair Source #
The combination of user name and password that are used as credentials.
See: newCredentialPair smart constructor.
Constructors
| CredentialPair' | |
Fields
| |
Instances
Create a value of CredentialPair with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:alternateDataSourceParameters:CredentialPair', credentialPair_alternateDataSourceParameters - 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.
$sel:username:CredentialPair', credentialPair_username - User name.
$sel:password:CredentialPair', credentialPair_password - Password.
credentialPair_alternateDataSourceParameters :: Lens' CredentialPair (Maybe (NonEmpty DataSourceParameters)) Source #
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.
credentialPair_username :: Lens' CredentialPair Text Source #
User name.
credentialPair_password :: Lens' CredentialPair Text Source #
Password.