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 |
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.
Instances
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:
$sel:name: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.
GetDataCatalogResponse' | |
|
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.