| 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.Athena.GetDataCatalog
Description
Returns the specified data catalog.
Synopsis
- data GetDataCatalog = GetDataCatalog' {}
- newGetDataCatalog :: Text -> GetDataCatalog
- getDataCatalog_name :: Lens' GetDataCatalog Text
- data GetDataCatalogResponse = GetDataCatalogResponse' {}
- newGetDataCatalogResponse :: Int -> GetDataCatalogResponse
- getDataCatalogResponse_dataCatalog :: Lens' GetDataCatalogResponse (Maybe DataCatalog)
- getDataCatalogResponse_httpStatus :: Lens' GetDataCatalogResponse Int
Creating a Request
data GetDataCatalog Source #
See: newGetDataCatalog smart constructor.
Constructors
| GetDataCatalog' | |
Instances
Arguments
| :: Text | |
| -> GetDataCatalog |
Create a value of GetDataCatalog 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:
GetDataCatalog, getDataCatalog_name - The name of the data catalog to return.
Request Lenses
getDataCatalog_name :: Lens' GetDataCatalog Text Source #
The name of the data catalog to return.
Destructuring the Response
data GetDataCatalogResponse Source #
See: newGetDataCatalogResponse smart constructor.
Constructors
| GetDataCatalogResponse' | |
Fields
| |
Instances
newGetDataCatalogResponse Source #
Create a value of GetDataCatalogResponse 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:dataCatalog:GetDataCatalogResponse', getDataCatalogResponse_dataCatalog - The data catalog returned.
$sel:httpStatus:GetDataCatalogResponse', getDataCatalogResponse_httpStatus - The response's http status code.
Response Lenses
getDataCatalogResponse_dataCatalog :: Lens' GetDataCatalogResponse (Maybe DataCatalog) Source #
The data catalog returned.
getDataCatalogResponse_httpStatus :: Lens' GetDataCatalogResponse Int Source #
The response's http status code.