| 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 |
Amazonka.QuickSight.Types.DataSourceCredentials
Description
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
| |
Instances
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.