| 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.CustomSql
Description
Synopsis
- data CustomSql = CustomSql' {
- columns :: Maybe (NonEmpty InputColumn)
- dataSourceArn :: Text
- name :: Text
- sqlQuery :: Text
- newCustomSql :: Text -> Text -> Text -> CustomSql
- customSql_columns :: Lens' CustomSql (Maybe (NonEmpty InputColumn))
- customSql_dataSourceArn :: Lens' CustomSql Text
- customSql_name :: Lens' CustomSql Text
- customSql_sqlQuery :: Lens' CustomSql Text
Documentation
A physical table type built from the results of the custom SQL query.
See: newCustomSql smart constructor.
Constructors
| CustomSql' | |
Fields
| |
Instances
Create a value of CustomSql 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:columns:CustomSql', customSql_columns - The column schema from the SQL query result set.
$sel:dataSourceArn:CustomSql', customSql_dataSourceArn - The Amazon Resource Name (ARN) of the data source.
CustomSql, customSql_name - A display name for the SQL query result.
$sel:sqlQuery:CustomSql', customSql_sqlQuery - The SQL query.
customSql_columns :: Lens' CustomSql (Maybe (NonEmpty InputColumn)) Source #
The column schema from the SQL query result set.