libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling
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.IoTSecureTunneling.ListTunnels

Description

List all tunnels for an AWS account. Tunnels are listed by creation time in descending order, newer tunnels will be listed before older tunnels.

Synopsis

Creating a Request

data ListTunnels Source #

See: newListTunnels smart constructor.

Constructors

ListTunnels' 

Fields

Instances

Instances details
Eq ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Read ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Show ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Generic ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Associated Types

type Rep ListTunnels :: Type -> Type #

NFData ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Methods

rnf :: ListTunnels -> () #

Hashable ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

ToJSON ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

AWSRequest ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Associated Types

type AWSResponse ListTunnels #

ToHeaders ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Methods

toHeaders :: ListTunnels -> [Header] #

ToPath ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

ToQuery ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

type Rep ListTunnels Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

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

Defined in Amazonka.IoTSecureTunneling.ListTunnels

newListTunnels :: ListTunnels Source #

Create a value of ListTunnels 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:ListTunnels', listTunnels_nextToken - A token to retrieve the next set of results.

$sel:thingName:ListTunnels', listTunnels_thingName - The name of the IoT thing associated with the destination device.

$sel:maxResults:ListTunnels', listTunnels_maxResults - The maximum number of results to return at once.

Request Lenses

listTunnels_nextToken :: Lens' ListTunnels (Maybe Text) Source #

A token to retrieve the next set of results.

listTunnels_thingName :: Lens' ListTunnels (Maybe Text) Source #

The name of the IoT thing associated with the destination device.

listTunnels_maxResults :: Lens' ListTunnels (Maybe Natural) Source #

The maximum number of results to return at once.

Destructuring the Response

data ListTunnelsResponse Source #

See: newListTunnelsResponse smart constructor.

Constructors

ListTunnelsResponse' 

Fields

Instances

Instances details
Eq ListTunnelsResponse Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Read ListTunnelsResponse Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Show ListTunnelsResponse Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Generic ListTunnelsResponse Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Associated Types

type Rep ListTunnelsResponse :: Type -> Type #

NFData ListTunnelsResponse Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

Methods

rnf :: ListTunnelsResponse -> () #

type Rep ListTunnelsResponse Source # 
Instance details

Defined in Amazonka.IoTSecureTunneling.ListTunnels

type Rep ListTunnelsResponse = D1 ('MetaData "ListTunnelsResponse" "Amazonka.IoTSecureTunneling.ListTunnels" "libZSservicesZSamazonka-iotsecuretunnelingZSamazonka-iotsecuretunneling" 'False) (C1 ('MetaCons "ListTunnelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tunnelSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TunnelSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTunnelsResponse Source #

Create a value of ListTunnelsResponse 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:ListTunnels', listTunnelsResponse_nextToken - A token to used to retrieve the next set of results.

$sel:tunnelSummaries:ListTunnelsResponse', listTunnelsResponse_tunnelSummaries - A short description of the tunnels in an AWS account.

$sel:httpStatus:ListTunnelsResponse', listTunnelsResponse_httpStatus - The response's http status code.

Response Lenses

listTunnelsResponse_nextToken :: Lens' ListTunnelsResponse (Maybe Text) Source #

A token to used to retrieve the next set of results.

listTunnelsResponse_tunnelSummaries :: Lens' ListTunnelsResponse (Maybe [TunnelSummary]) Source #

A short description of the tunnels in an AWS account.