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 Kafka versions.
This operation returns paginated results.
Synopsis
- data ListKafkaVersions = ListKafkaVersions' {}
- newListKafkaVersions :: ListKafkaVersions
- listKafkaVersions_nextToken :: Lens' ListKafkaVersions (Maybe Text)
- listKafkaVersions_maxResults :: Lens' ListKafkaVersions (Maybe Natural)
- data ListKafkaVersionsResponse = ListKafkaVersionsResponse' {
- kafkaVersions :: Maybe [KafkaVersion]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListKafkaVersionsResponse :: Int -> ListKafkaVersionsResponse
- listKafkaVersionsResponse_kafkaVersions :: Lens' ListKafkaVersionsResponse (Maybe [KafkaVersion])
- listKafkaVersionsResponse_nextToken :: Lens' ListKafkaVersionsResponse (Maybe Text)
- listKafkaVersionsResponse_httpStatus :: Lens' ListKafkaVersionsResponse Int
Creating a Request
data ListKafkaVersions Source #
See: newListKafkaVersions
smart constructor.
ListKafkaVersions' | |
|
Instances
newListKafkaVersions :: ListKafkaVersions Source #
Create a value of ListKafkaVersions
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:ListKafkaVersions'
, listKafkaVersions_nextToken
- The paginated results marker. When the result of the operation is
truncated, the call returns NextToken in the response. To get the next
batch, provide this token in your next request.
$sel:maxResults:ListKafkaVersions'
, listKafkaVersions_maxResults
- The maximum number of results to return in the response. If there are
more results, the response includes a NextToken parameter.
Request Lenses
listKafkaVersions_nextToken :: Lens' ListKafkaVersions (Maybe Text) Source #
The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
listKafkaVersions_maxResults :: Lens' ListKafkaVersions (Maybe Natural) Source #
The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
Destructuring the Response
data ListKafkaVersionsResponse Source #
See: newListKafkaVersionsResponse
smart constructor.
ListKafkaVersionsResponse' | |
|
Instances
newListKafkaVersionsResponse Source #
Create a value of ListKafkaVersionsResponse
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:kafkaVersions:ListKafkaVersionsResponse'
, listKafkaVersionsResponse_kafkaVersions
- Undocumented member.
$sel:nextToken:ListKafkaVersions'
, listKafkaVersionsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListKafkaVersionsResponse'
, listKafkaVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listKafkaVersionsResponse_kafkaVersions :: Lens' ListKafkaVersionsResponse (Maybe [KafkaVersion]) Source #
Undocumented member.
listKafkaVersionsResponse_nextToken :: Lens' ListKafkaVersionsResponse (Maybe Text) Source #
Undocumented member.
listKafkaVersionsResponse_httpStatus :: Lens' ListKafkaVersionsResponse Int Source #
The response's http status code.