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 |
Describe an Amazon Lookout for Vision dataset.
This operation requires permissions to perform the
lookoutvision:DescribeDataset
operation.
Synopsis
- data DescribeDataset = DescribeDataset' {
- projectName :: Text
- datasetType :: Text
- newDescribeDataset :: Text -> Text -> DescribeDataset
- describeDataset_projectName :: Lens' DescribeDataset Text
- describeDataset_datasetType :: Lens' DescribeDataset Text
- data DescribeDatasetResponse = DescribeDatasetResponse' {}
- newDescribeDatasetResponse :: Int -> DescribeDatasetResponse
- describeDatasetResponse_datasetDescription :: Lens' DescribeDatasetResponse (Maybe DatasetDescription)
- 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:projectName:DescribeDataset'
, describeDataset_projectName
- The name of the project that contains the dataset that you want to
describe.
$sel:datasetType:DescribeDataset'
, describeDataset_datasetType
- The type of the dataset to describe. Specify train
to describe the
training dataset. Specify test
to describe the test dataset. If you
have a single dataset project, specify train
Request Lenses
describeDataset_projectName :: Lens' DescribeDataset Text Source #
The name of the project that contains the dataset that you want to describe.
describeDataset_datasetType :: Lens' DescribeDataset Text Source #
The type of the dataset to describe. Specify train
to describe the
training dataset. Specify test
to describe the test dataset. If you
have a single dataset project, specify train
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:datasetDescription:DescribeDatasetResponse'
, describeDatasetResponse_datasetDescription
- The description of the requested dataset.
$sel:httpStatus:DescribeDatasetResponse'
, describeDatasetResponse_httpStatus
- The response's http status code.
Response Lenses
describeDatasetResponse_datasetDescription :: Lens' DescribeDatasetResponse (Maybe DatasetDescription) Source #
The description of the requested dataset.
describeDatasetResponse_httpStatus :: Lens' DescribeDatasetResponse Int Source #
The response's http status code.