libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect
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.KafkaConnect.ListConnectors

Description

Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.

This operation returns paginated results.

Synopsis

Creating a Request

data ListConnectors Source #

See: newListConnectors smart constructor.

Constructors

ListConnectors' 

Fields

  • connectorNamePrefix :: Maybe Text

    The name prefix that you want to use to search for and list connectors.

  • nextToken :: Maybe Text

    If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.

  • maxResults :: Maybe Natural

    The maximum number of connectors to list in one response.

Instances

Instances details
Eq ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Read ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Show ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Generic ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Associated Types

type Rep ListConnectors :: Type -> Type #

NFData ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Methods

rnf :: ListConnectors -> () #

Hashable ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

AWSPager ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

AWSRequest ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Associated Types

type AWSResponse ListConnectors #

ToHeaders ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

ToPath ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

ToQuery ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

type Rep ListConnectors Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

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

Defined in Amazonka.KafkaConnect.ListConnectors

newListConnectors :: ListConnectors Source #

Create a value of ListConnectors 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:connectorNamePrefix:ListConnectors', listConnectors_connectorNamePrefix - The name prefix that you want to use to search for and list connectors.

$sel:nextToken:ListConnectors', listConnectors_nextToken - If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.

$sel:maxResults:ListConnectors', listConnectors_maxResults - The maximum number of connectors to list in one response.

Request Lenses

listConnectors_connectorNamePrefix :: Lens' ListConnectors (Maybe Text) Source #

The name prefix that you want to use to search for and list connectors.

listConnectors_nextToken :: Lens' ListConnectors (Maybe Text) Source #

If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.

listConnectors_maxResults :: Lens' ListConnectors (Maybe Natural) Source #

The maximum number of connectors to list in one response.

Destructuring the Response

data ListConnectorsResponse Source #

See: newListConnectorsResponse smart constructor.

Constructors

ListConnectorsResponse' 

Fields

  • connectors :: Maybe [ConnectorSummary]

    An array of connector descriptions.

  • nextToken :: Maybe Text

    If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListConnectorsResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Read ListConnectorsResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Show ListConnectorsResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Generic ListConnectorsResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Associated Types

type Rep ListConnectorsResponse :: Type -> Type #

NFData ListConnectorsResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

Methods

rnf :: ListConnectorsResponse -> () #

type Rep ListConnectorsResponse Source # 
Instance details

Defined in Amazonka.KafkaConnect.ListConnectors

type Rep ListConnectorsResponse = D1 ('MetaData "ListConnectorsResponse" "Amazonka.KafkaConnect.ListConnectors" "libZSservicesZSamazonka-kafkaconnectZSamazonka-kafkaconnect" 'False) (C1 ('MetaCons "ListConnectorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ConnectorSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListConnectorsResponse Source #

Create a value of ListConnectorsResponse 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:connectors:ListConnectorsResponse', listConnectorsResponse_connectors - An array of connector descriptions.

$sel:nextToken:ListConnectors', listConnectorsResponse_nextToken - If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

$sel:httpStatus:ListConnectorsResponse', listConnectorsResponse_httpStatus - The response's http status code.

Response Lenses

listConnectorsResponse_nextToken :: Lens' ListConnectorsResponse (Maybe Text) Source #

If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.