libZSservicesZSamazonka-kafkaZSamazonka-kafka
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kafka.ListKafkaVersions

Description

Returns a list of Kafka versions.

This operation returns paginated results.

Synopsis

Creating a Request

data ListKafkaVersions Source #

See: newListKafkaVersions smart constructor.

Constructors

ListKafkaVersions' 

Fields

  • nextToken :: Maybe Text

    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.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

Instances

Instances details
Eq ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Read ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Show ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Generic ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Associated Types

type Rep ListKafkaVersions :: Type -> Type #

NFData ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Methods

rnf :: ListKafkaVersions -> () #

Hashable ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

AWSPager ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

AWSRequest ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Associated Types

type AWSResponse ListKafkaVersions #

ToHeaders ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

ToPath ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

ToQuery ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

type Rep ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

type Rep ListKafkaVersions = D1 ('MetaData "ListKafkaVersions" "Amazonka.Kafka.ListKafkaVersions" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "ListKafkaVersions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListKafkaVersions Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

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.

Constructors

ListKafkaVersionsResponse' 

Fields

Instances

Instances details
Eq ListKafkaVersionsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Read ListKafkaVersionsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Show ListKafkaVersionsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Generic ListKafkaVersionsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

Associated Types

type Rep ListKafkaVersionsResponse :: Type -> Type #

NFData ListKafkaVersionsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

type Rep ListKafkaVersionsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListKafkaVersions

type Rep ListKafkaVersionsResponse = D1 ('MetaData "ListKafkaVersionsResponse" "Amazonka.Kafka.ListKafkaVersions" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "ListKafkaVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kafkaVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KafkaVersion])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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