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 |
Retrieves information about a dataset.
Synopsis
- data DescribeDataset = DescribeDataset' {
- datasetName :: Text
- newDescribeDataset :: Text -> DescribeDataset
- describeDataset_datasetName :: Lens' DescribeDataset Text
- data DescribeDatasetResponse = DescribeDatasetResponse' {
- dataset :: Maybe Dataset
- httpStatus :: Int
- newDescribeDatasetResponse :: Int -> DescribeDatasetResponse
- describeDatasetResponse_dataset :: Lens' DescribeDatasetResponse (Maybe Dataset)
- describeDatasetResponse_httpStatus :: Lens' DescribeDatasetResponse Int
Creating a Request
data DescribeDataset Source #
See: newDescribeDataset
smart constructor.
DescribeDataset' | |
|
Instances
Create a value of DescribeDataset
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:datasetName:DescribeDataset'
, describeDataset_datasetName
- The name of the dataset whose information is retrieved.
Request Lenses
describeDataset_datasetName :: Lens' DescribeDataset Text Source #
The name of the dataset whose information is retrieved.
Destructuring the Response
data DescribeDatasetResponse Source #
See: newDescribeDatasetResponse
smart constructor.
DescribeDatasetResponse' | |
|
Instances
newDescribeDatasetResponse Source #
Create a value of DescribeDatasetResponse
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:dataset:DescribeDatasetResponse'
, describeDatasetResponse_dataset
- An object that contains information about the dataset.
$sel:httpStatus:DescribeDatasetResponse'
, describeDatasetResponse_httpStatus
- The response's http status code.
Response Lenses
describeDatasetResponse_dataset :: Lens' DescribeDatasetResponse (Maybe Dataset) Source #
An object that contains information about the dataset.
describeDatasetResponse_httpStatus :: Lens' DescribeDatasetResponse Int Source #
The response's http status code.