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 table metadata for the specified catalog, database, and table.
Synopsis
- data GetTableMetadata = GetTableMetadata' {
- catalogName :: Text
- databaseName :: Text
- tableName :: Text
- newGetTableMetadata :: Text -> Text -> Text -> GetTableMetadata
- getTableMetadata_catalogName :: Lens' GetTableMetadata Text
- getTableMetadata_databaseName :: Lens' GetTableMetadata Text
- getTableMetadata_tableName :: Lens' GetTableMetadata Text
- data GetTableMetadataResponse = GetTableMetadataResponse' {}
- newGetTableMetadataResponse :: Int -> GetTableMetadataResponse
- getTableMetadataResponse_tableMetadata :: Lens' GetTableMetadataResponse (Maybe TableMetadata)
- getTableMetadataResponse_httpStatus :: Lens' GetTableMetadataResponse Int
Creating a Request
data GetTableMetadata Source #
See: newGetTableMetadata
smart constructor.
GetTableMetadata' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> GetTableMetadata |
Create a value of GetTableMetadata
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:catalogName:GetTableMetadata'
, getTableMetadata_catalogName
- The name of the data catalog that contains the database and table
metadata to return.
$sel:databaseName:GetTableMetadata'
, getTableMetadata_databaseName
- The name of the database that contains the table metadata to return.
$sel:tableName:GetTableMetadata'
, getTableMetadata_tableName
- The name of the table for which metadata is returned.
Request Lenses
getTableMetadata_catalogName :: Lens' GetTableMetadata Text Source #
The name of the data catalog that contains the database and table metadata to return.
getTableMetadata_databaseName :: Lens' GetTableMetadata Text Source #
The name of the database that contains the table metadata to return.
getTableMetadata_tableName :: Lens' GetTableMetadata Text Source #
The name of the table for which metadata is returned.
Destructuring the Response
data GetTableMetadataResponse Source #
See: newGetTableMetadataResponse
smart constructor.
GetTableMetadataResponse' | |
|
Instances
newGetTableMetadataResponse Source #
Create a value of GetTableMetadataResponse
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:tableMetadata:GetTableMetadataResponse'
, getTableMetadataResponse_tableMetadata
- An object that contains table metadata.
$sel:httpStatus:GetTableMetadataResponse'
, getTableMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
getTableMetadataResponse_tableMetadata :: Lens' GetTableMetadataResponse (Maybe TableMetadata) Source #
An object that contains table metadata.
getTableMetadataResponse_httpStatus :: Lens' GetTableMetadataResponse Int Source #
The response's http status code.