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 |
Returns a list of engine versions that are available to choose from, including the Auto option.
Synopsis
- data ListEngineVersions = ListEngineVersions' {}
- newListEngineVersions :: ListEngineVersions
- listEngineVersions_nextToken :: Lens' ListEngineVersions (Maybe Text)
- listEngineVersions_maxResults :: Lens' ListEngineVersions (Maybe Natural)
- data ListEngineVersionsResponse = ListEngineVersionsResponse' {
- nextToken :: Maybe Text
- engineVersions :: Maybe [EngineVersion]
- httpStatus :: Int
- newListEngineVersionsResponse :: Int -> ListEngineVersionsResponse
- listEngineVersionsResponse_nextToken :: Lens' ListEngineVersionsResponse (Maybe Text)
- listEngineVersionsResponse_engineVersions :: Lens' ListEngineVersionsResponse (Maybe [EngineVersion])
- listEngineVersionsResponse_httpStatus :: Lens' ListEngineVersionsResponse Int
Creating a Request
data ListEngineVersions Source #
See: newListEngineVersions
smart constructor.
ListEngineVersions' | |
|
Instances
newListEngineVersions :: ListEngineVersions Source #
Create a value of ListEngineVersions
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:ListEngineVersions'
, listEngineVersions_nextToken
- A token generated by the Athena service that specifies where to continue
pagination if a previous request was truncated. To obtain the next set
of pages, pass in the NextToken
from the response object of the
previous page call.
$sel:maxResults:ListEngineVersions'
, listEngineVersions_maxResults
- The maximum number of engine versions to return in this request.
Request Lenses
listEngineVersions_nextToken :: Lens' ListEngineVersions (Maybe Text) Source #
A token generated by the Athena service that specifies where to continue
pagination if a previous request was truncated. To obtain the next set
of pages, pass in the NextToken
from the response object of the
previous page call.
listEngineVersions_maxResults :: Lens' ListEngineVersions (Maybe Natural) Source #
The maximum number of engine versions to return in this request.
Destructuring the Response
data ListEngineVersionsResponse Source #
See: newListEngineVersionsResponse
smart constructor.
ListEngineVersionsResponse' | |
|
Instances
newListEngineVersionsResponse Source #
Create a value of ListEngineVersionsResponse
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:ListEngineVersions'
, listEngineVersionsResponse_nextToken
- A token generated by the Athena service that specifies where to continue
pagination if a previous request was truncated. To obtain the next set
of pages, pass in the NextToken
from the response object of the
previous page call.
$sel:engineVersions:ListEngineVersionsResponse'
, listEngineVersionsResponse_engineVersions
- A list of engine versions that are available to choose from.
$sel:httpStatus:ListEngineVersionsResponse'
, listEngineVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listEngineVersionsResponse_nextToken :: Lens' ListEngineVersionsResponse (Maybe Text) Source #
A token generated by the Athena service that specifies where to continue
pagination if a previous request was truncated. To obtain the next set
of pages, pass in the NextToken
from the response object of the
previous page call.
listEngineVersionsResponse_engineVersions :: Lens' ListEngineVersionsResponse (Maybe [EngineVersion]) Source #
A list of engine versions that are available to choose from.
listEngineVersionsResponse_httpStatus :: Lens' ListEngineVersionsResponse Int Source #
The response's http status code.