| 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.Kafka.GetCompatibleKafkaVersions
Description
Gets the Apache Kafka versions to which you can update the MSK cluster.
Synopsis
- data GetCompatibleKafkaVersions = GetCompatibleKafkaVersions' {
- clusterArn :: Maybe Text
- newGetCompatibleKafkaVersions :: GetCompatibleKafkaVersions
- getCompatibleKafkaVersions_clusterArn :: Lens' GetCompatibleKafkaVersions (Maybe Text)
- data GetCompatibleKafkaVersionsResponse = GetCompatibleKafkaVersionsResponse' {}
- newGetCompatibleKafkaVersionsResponse :: Int -> GetCompatibleKafkaVersionsResponse
- getCompatibleKafkaVersionsResponse_compatibleKafkaVersions :: Lens' GetCompatibleKafkaVersionsResponse (Maybe [CompatibleKafkaVersion])
- getCompatibleKafkaVersionsResponse_httpStatus :: Lens' GetCompatibleKafkaVersionsResponse Int
Creating a Request
data GetCompatibleKafkaVersions Source #
See: newGetCompatibleKafkaVersions smart constructor.
Constructors
| GetCompatibleKafkaVersions' | |
Fields
| |
Instances
newGetCompatibleKafkaVersions :: GetCompatibleKafkaVersions Source #
Create a value of GetCompatibleKafkaVersions 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:
GetCompatibleKafkaVersions, getCompatibleKafkaVersions_clusterArn - The Amazon Resource Name (ARN) of the cluster check.
Request Lenses
getCompatibleKafkaVersions_clusterArn :: Lens' GetCompatibleKafkaVersions (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster check.
Destructuring the Response
data GetCompatibleKafkaVersionsResponse Source #
See: newGetCompatibleKafkaVersionsResponse smart constructor.
Constructors
| GetCompatibleKafkaVersionsResponse' | |
Fields
| |
Instances
newGetCompatibleKafkaVersionsResponse Source #
Arguments
| :: Int | |
| -> GetCompatibleKafkaVersionsResponse |
Create a value of GetCompatibleKafkaVersionsResponse 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:compatibleKafkaVersions:GetCompatibleKafkaVersionsResponse', getCompatibleKafkaVersionsResponse_compatibleKafkaVersions - A list of CompatibleKafkaVersion objects.
$sel:httpStatus:GetCompatibleKafkaVersionsResponse', getCompatibleKafkaVersionsResponse_httpStatus - The response's http status code.
Response Lenses
getCompatibleKafkaVersionsResponse_compatibleKafkaVersions :: Lens' GetCompatibleKafkaVersionsResponse (Maybe [CompatibleKafkaVersion]) Source #
A list of CompatibleKafkaVersion objects.
getCompatibleKafkaVersionsResponse_httpStatus :: Lens' GetCompatibleKafkaVersionsResponse Int Source #
The response's http status code.