libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.CloudWatchEvents.ListConnections

Description

Retrieves a list of connections from the account.

Synopsis

Creating a Request

data ListConnections Source #

See: newListConnections smart constructor.

Constructors

ListConnections' 

Fields

Instances

Instances details
Eq ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Read ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Show ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Generic ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Associated Types

type Rep ListConnections :: Type -> Type #

NFData ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Methods

rnf :: ListConnections -> () #

Hashable ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

ToJSON ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

AWSRequest ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Associated Types

type AWSResponse ListConnections #

ToHeaders ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

ToPath ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

ToQuery ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

type Rep ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

type Rep ListConnections = D1 ('MetaData "ListConnections" "Amazonka.CloudWatchEvents.ListConnections" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListConnections'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "namePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "connectionState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectionState)))))
type AWSResponse ListConnections Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

newListConnections :: ListConnections Source #

Create a value of ListConnections 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:ListConnections', listConnections_nextToken - The token returned by a previous call to retrieve the next set of results.

$sel:namePrefix:ListConnections', listConnections_namePrefix - A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.

$sel:limit:ListConnections', listConnections_limit - The maximum number of connections to return.

$sel:connectionState:ListConnections', listConnections_connectionState - The state of the connection.

Request Lenses

listConnections_nextToken :: Lens' ListConnections (Maybe Text) Source #

The token returned by a previous call to retrieve the next set of results.

listConnections_namePrefix :: Lens' ListConnections (Maybe Text) Source #

A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.

listConnections_limit :: Lens' ListConnections (Maybe Natural) Source #

The maximum number of connections to return.

Destructuring the Response

data ListConnectionsResponse Source #

See: newListConnectionsResponse smart constructor.

Constructors

ListConnectionsResponse' 

Fields

Instances

Instances details
Eq ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Read ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Show ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Generic ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Associated Types

type Rep ListConnectionsResponse :: Type -> Type #

NFData ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

Methods

rnf :: ListConnectionsResponse -> () #

type Rep ListConnectionsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.ListConnections

type Rep ListConnectionsResponse = D1 ('MetaData "ListConnectionsResponse" "Amazonka.CloudWatchEvents.ListConnections" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "ListConnectionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "connections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Connection])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListConnectionsResponse Source #

Create a value of ListConnectionsResponse 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:connections:ListConnectionsResponse', listConnectionsResponse_connections - An array of connections objects that include details about the connections.

$sel:nextToken:ListConnections', listConnectionsResponse_nextToken - A token you can use in a subsequent request to retrieve the next set of results.

$sel:httpStatus:ListConnectionsResponse', listConnectionsResponse_httpStatus - The response's http status code.

Response Lenses

listConnectionsResponse_connections :: Lens' ListConnectionsResponse (Maybe [Connection]) Source #

An array of connections objects that include details about the connections.

listConnectionsResponse_nextToken :: Lens' ListConnectionsResponse (Maybe Text) Source #

A token you can use in a subsequent request to retrieve the next set of results.