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 |
Describes a version of an Amazon Lookout for Vision model.
This operation requires permissions to perform the
lookoutvision:DescribeModel
operation.
Synopsis
- data DescribeModel = DescribeModel' {
- projectName :: Text
- modelVersion :: Text
- newDescribeModel :: Text -> Text -> DescribeModel
- describeModel_projectName :: Lens' DescribeModel Text
- describeModel_modelVersion :: Lens' DescribeModel Text
- data DescribeModelResponse = DescribeModelResponse' {}
- newDescribeModelResponse :: Int -> DescribeModelResponse
- describeModelResponse_modelDescription :: Lens' DescribeModelResponse (Maybe ModelDescription)
- describeModelResponse_httpStatus :: Lens' DescribeModelResponse Int
Creating a Request
data DescribeModel Source #
See: newDescribeModel
smart constructor.
DescribeModel' | |
|
Instances
Create a value of DescribeModel
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:DescribeModel'
, describeModel_projectName
- The project that contains the version of a model that you want to
describe.
$sel:modelVersion:DescribeModel'
, describeModel_modelVersion
- The version of the model that you want to describe.
Request Lenses
describeModel_projectName :: Lens' DescribeModel Text Source #
The project that contains the version of a model that you want to describe.
describeModel_modelVersion :: Lens' DescribeModel Text Source #
The version of the model that you want to describe.
Destructuring the Response
data DescribeModelResponse Source #
See: newDescribeModelResponse
smart constructor.
DescribeModelResponse' | |
|
Instances
newDescribeModelResponse Source #
Create a value of DescribeModelResponse
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:modelDescription:DescribeModelResponse'
, describeModelResponse_modelDescription
- Contains the description of the model.
$sel:httpStatus:DescribeModelResponse'
, describeModelResponse_httpStatus
- The response's http status code.
Response Lenses
describeModelResponse_modelDescription :: Lens' DescribeModelResponse (Maybe ModelDescription) Source #
Contains the description of the model.
describeModelResponse_httpStatus :: Lens' DescribeModelResponse Int Source #
The response's http status code.