amazonka-iotwireless-2.0: Amazon IoT Wireless 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.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

  • maxResults :: Maybe Natural

    The maximum number of results to return in this operation.

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

Instances

Instances details
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

AWSRequest ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Associated Types

type AWSResponse ListDestinations #

Generic ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Associated Types

type Rep ListDestinations :: Type -> Type #

Read ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Show ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

NFData ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Methods

rnf :: ListDestinations -> () #

Eq ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Hashable ListDestinations Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

type AWSResponse 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" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "ListDestinations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:maxResults:ListDestinations', listDestinations_maxResults - The maximum number of results to return in this operation.

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.

Request Lenses

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

The maximum number of results to return in this operation.

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.

Destructuring the Response

data ListDestinationsResponse Source #

See: newListDestinationsResponse smart constructor.

Constructors

ListDestinationsResponse' 

Fields

Instances

Instances details
Generic ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Associated Types

type Rep ListDestinationsResponse :: Type -> Type #

Read ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Show ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

NFData ListDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.ListDestinations

Eq 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" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "ListDestinationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Destinations])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:destinationList:ListDestinationsResponse', listDestinationsResponse_destinationList - The list of destinations.

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

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