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 |
Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.
Synopsis
- data DescribeModelVersions = DescribeModelVersions' {}
- newDescribeModelVersions :: DescribeModelVersions
- describeModelVersions_modelType :: Lens' DescribeModelVersions (Maybe ModelTypeEnum)
- describeModelVersions_modelId :: Lens' DescribeModelVersions (Maybe Text)
- describeModelVersions_nextToken :: Lens' DescribeModelVersions (Maybe Text)
- describeModelVersions_modelVersionNumber :: Lens' DescribeModelVersions (Maybe Text)
- describeModelVersions_maxResults :: Lens' DescribeModelVersions (Maybe Natural)
- data DescribeModelVersionsResponse = DescribeModelVersionsResponse' {}
- newDescribeModelVersionsResponse :: Int -> DescribeModelVersionsResponse
- describeModelVersionsResponse_nextToken :: Lens' DescribeModelVersionsResponse (Maybe Text)
- describeModelVersionsResponse_modelVersionDetails :: Lens' DescribeModelVersionsResponse (Maybe [ModelVersionDetail])
- describeModelVersionsResponse_httpStatus :: Lens' DescribeModelVersionsResponse Int
Creating a Request
data DescribeModelVersions Source #
See: newDescribeModelVersions
smart constructor.
DescribeModelVersions' | |
|
Instances
newDescribeModelVersions :: DescribeModelVersions Source #
Create a value of DescribeModelVersions
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:modelType:DescribeModelVersions'
, describeModelVersions_modelType
- The model type.
$sel:modelId:DescribeModelVersions'
, describeModelVersions_modelId
- The model ID.
$sel:nextToken:DescribeModelVersions'
, describeModelVersions_nextToken
- The next token from the previous results.
$sel:modelVersionNumber:DescribeModelVersions'
, describeModelVersions_modelVersionNumber
- The model version number.
$sel:maxResults:DescribeModelVersions'
, describeModelVersions_maxResults
- The maximum number of results to return.
Request Lenses
describeModelVersions_modelType :: Lens' DescribeModelVersions (Maybe ModelTypeEnum) Source #
The model type.
describeModelVersions_modelId :: Lens' DescribeModelVersions (Maybe Text) Source #
The model ID.
describeModelVersions_nextToken :: Lens' DescribeModelVersions (Maybe Text) Source #
The next token from the previous results.
describeModelVersions_modelVersionNumber :: Lens' DescribeModelVersions (Maybe Text) Source #
The model version number.
describeModelVersions_maxResults :: Lens' DescribeModelVersions (Maybe Natural) Source #
The maximum number of results to return.
Destructuring the Response
data DescribeModelVersionsResponse Source #
See: newDescribeModelVersionsResponse
smart constructor.
DescribeModelVersionsResponse' | |
|
Instances
newDescribeModelVersionsResponse Source #
Create a value of DescribeModelVersionsResponse
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:nextToken:DescribeModelVersions'
, describeModelVersionsResponse_nextToken
- The next token.
$sel:modelVersionDetails:DescribeModelVersionsResponse'
, describeModelVersionsResponse_modelVersionDetails
- The model version details.
$sel:httpStatus:DescribeModelVersionsResponse'
, describeModelVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeModelVersionsResponse_nextToken :: Lens' DescribeModelVersionsResponse (Maybe Text) Source #
The next token.
describeModelVersionsResponse_modelVersionDetails :: Lens' DescribeModelVersionsResponse (Maybe [ModelVersionDetail]) Source #
The model version details.
describeModelVersionsResponse_httpStatus :: Lens' DescribeModelVersionsResponse Int Source #
The response's http status code.