libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless
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.IoTWireless.ListDestinations

Description

Lists the destinations registered to your AWS account.

Synopsis

Creating a Request

data ListDestinations Source #

See: newListDestinations smart constructor.

Constructors

ListDestinations' 

Fields

  • nextToken :: Maybe Text

    To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

  • maxResults :: Maybe Natural

    The maximum number of results to return in this operation.

Instances

Instances details
Eq ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Read ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Show ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Generic ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Associated Types

type Rep ListDestinations :: Type -> Type #

NFData ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Methods

rnf :: ListDestinations -> () #

Hashable ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

AWSRequest ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Associated Types

type AWSResponse ListDestinations #

ToHeaders ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

ToPath ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

ToQuery ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

type Rep ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

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

Defined in Amazonka.IoTWireless.ListDestinations

newListDestinations :: ListDestinations Source #

Create a value of ListDestinations 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:ListDestinations', listDestinations_nextToken - To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

$sel:maxResults:ListDestinations', listDestinations_maxResults - The maximum number of results to return in this operation.

Request Lenses

listDestinations_nextToken :: Lens' ListDestinations (Maybe Text) Source #

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

listDestinations_maxResults :: Lens' ListDestinations (Maybe Natural) Source #

The maximum number of results to return in this operation.

Destructuring the Response

data ListDestinationsResponse Source #

See: newListDestinationsResponse smart constructor.

Constructors

ListDestinationsResponse' 

Fields

Instances

Instances details
Eq ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Read ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Show ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Generic ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Associated Types

type Rep ListDestinationsResponse :: Type -> Type #

NFData ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

type Rep ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

type Rep ListDestinationsResponse = D1 ('MetaData "ListDestinationsResponse" "Amazonka.IoTWireless.ListDestinations" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "ListDestinationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Destinations])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDestinationsResponse Source #

Create a value of ListDestinationsResponse 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:ListDestinations', listDestinationsResponse_nextToken - The token to use to get the next set of results, or null if there are no additional results.

$sel:destinationList:ListDestinationsResponse', listDestinationsResponse_destinationList - The list of destinations.

$sel:httpStatus:ListDestinationsResponse', listDestinationsResponse_httpStatus - The response's http status code.

Response Lenses

listDestinationsResponse_nextToken :: Lens' ListDestinationsResponse (Maybe Text) Source #

The token to use to get the next set of results, or null if there are no additional results.