Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
CredentialPair' | |
|
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.