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 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.
GetCompatibleKafkaVersions' | |
|
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:
$sel:clusterArn: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.
GetCompatibleKafkaVersionsResponse' | |
|
Instances
Eq GetCompatibleKafkaVersionsResponse Source # | |
Read GetCompatibleKafkaVersionsResponse Source # | |
Show GetCompatibleKafkaVersionsResponse Source # | |
Generic GetCompatibleKafkaVersionsResponse Source # | |
NFData GetCompatibleKafkaVersionsResponse Source # | |
Defined in Amazonka.Kafka.GetCompatibleKafkaVersions rnf :: GetCompatibleKafkaVersionsResponse -> () # | |
type Rep GetCompatibleKafkaVersionsResponse Source # | |
Defined in Amazonka.Kafka.GetCompatibleKafkaVersions type Rep GetCompatibleKafkaVersionsResponse = D1 ('MetaData "GetCompatibleKafkaVersionsResponse" "Amazonka.Kafka.GetCompatibleKafkaVersions" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "GetCompatibleKafkaVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "compatibleKafkaVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompatibleKafkaVersion])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetCompatibleKafkaVersionsResponse Source #
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.