amazonka-kafka-2.0: Amazon Managed Streaming for Kafka SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kafka.ListConfigurations

Description

Returns a list of all the MSK configurations in this Region.

This operation returns paginated results.

Synopsis

Creating a Request

data ListConfigurations Source #

See: newListConfigurations smart constructor.

Constructors

ListConfigurations' 

Fields

  • maxResults :: Maybe Natural

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

  • 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.

Instances

Instances details
ToHeaders ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

ToPath ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

ToQuery ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

AWSPager ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

AWSRequest ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Associated Types

type AWSResponse ListConfigurations #

Generic ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Associated Types

type Rep ListConfigurations :: Type -> Type #

Read ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Show ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

NFData ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Methods

rnf :: ListConfigurations -> () #

Eq ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Hashable ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

type AWSResponse ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

type Rep ListConfigurations Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

type Rep ListConfigurations = D1 ('MetaData "ListConfigurations" "Amazonka.Kafka.ListConfigurations" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "ListConfigurations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListConfigurations :: ListConfigurations Source #

Create a value of ListConfigurations 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:maxResults:ListConfigurations', listConfigurations_maxResults - The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

ListConfigurations, listConfigurations_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.

Request Lenses

listConfigurations_maxResults :: Lens' ListConfigurations (Maybe Natural) Source #

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

listConfigurations_nextToken :: Lens' ListConfigurations (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.

Destructuring the Response

data ListConfigurationsResponse Source #

See: newListConfigurationsResponse smart constructor.

Constructors

ListConfigurationsResponse' 

Fields

  • configurations :: Maybe [Configuration]

    An array of MSK configurations.

  • nextToken :: Maybe Text

    The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Associated Types

type Rep ListConfigurationsResponse :: Type -> Type #

Read ListConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Show ListConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

NFData ListConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

Eq ListConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

type Rep ListConfigurationsResponse Source # 
Instance details

Defined in Amazonka.Kafka.ListConfigurations

type Rep ListConfigurationsResponse = D1 ('MetaData "ListConfigurationsResponse" "Amazonka.Kafka.ListConfigurations" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "ListConfigurationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Configuration])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListConfigurationsResponse Source #

Create a value of ListConfigurationsResponse 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:configurations:ListConfigurationsResponse', listConfigurationsResponse_configurations - An array of MSK configurations.

ListConfigurations, listConfigurationsResponse_nextToken - The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.

$sel:httpStatus:ListConfigurationsResponse', listConfigurationsResponse_httpStatus - The response's http status code.

Response Lenses

listConfigurationsResponse_nextToken :: Lens' ListConfigurationsResponse (Maybe Text) Source #

The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.