libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QuickSight.Types.CredentialPair

Description

 
Synopsis

Documentation

data CredentialPair Source #

The combination of user name and password that are used as credentials.

See: newCredentialPair smart constructor.

Constructors

CredentialPair' 

Fields

  • alternateDataSourceParameters :: Maybe (NonEmpty 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.

  • username :: Text

    User name.

  • password :: Text

    Password.

Instances

Instances details
Eq CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

Read CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

Show CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

Generic CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

Associated Types

type Rep CredentialPair :: Type -> Type #

NFData CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

Methods

rnf :: CredentialPair -> () #

Hashable CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

ToJSON CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

type Rep CredentialPair Source # 
Instance details

Defined in Amazonka.QuickSight.Types.CredentialPair

type Rep CredentialPair = D1 ('MetaData "CredentialPair" "Amazonka.QuickSight.Types.CredentialPair" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "CredentialPair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alternateDataSourceParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceParameters))) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCredentialPair Source #

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.