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.DataSourceCredentials

Description

 
Synopsis

Documentation

data DataSourceCredentials Source #

Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

See: newDataSourceCredentials smart constructor.

Constructors

DataSourceCredentials' 

Fields

  • copySourceArn :: Maybe Text

    The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

  • credentialPair :: Maybe CredentialPair

    Credential pair. For more information, see CredentialPair.

Instances

Instances details
Eq DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

Show DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

Generic DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

Associated Types

type Rep DataSourceCredentials :: Type -> Type #

NFData DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

Methods

rnf :: DataSourceCredentials -> () #

Hashable DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

ToJSON DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

type Rep DataSourceCredentials Source # 
Instance details

Defined in Amazonka.QuickSight.Types.DataSourceCredentials

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

newDataSourceCredentials :: DataSourceCredentials Source #

Create a value of DataSourceCredentials 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:copySourceArn:DataSourceCredentials', dataSourceCredentials_copySourceArn - The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

$sel:credentialPair:DataSourceCredentials', dataSourceCredentials_credentialPair - Credential pair. For more information, see CredentialPair.

dataSourceCredentials_copySourceArn :: Lens' DataSourceCredentials (Maybe Text) Source #

The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

dataSourceCredentials_credentialPair :: Lens' DataSourceCredentials (Maybe CredentialPair) Source #

Credential pair. For more information, see CredentialPair.