| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LookoutVision.DescribeModel
Description
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.
Constructors
| DescribeModel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribeModel |
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:
DescribeModel, describeModel_projectName - The project that contains the version of a model that you want to
describe.
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.
Constructors
| DescribeModelResponse' | |
Fields
| |
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.