amazonka-iot-2.0: Amazon IoT 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.IoT.ListTopicRuleDestinations

Description

Lists all the topic rule destinations in your Amazon Web Services account.

Requires permission to access the ListTopicRuleDestinations action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTopicRuleDestinations Source #

See: newListTopicRuleDestinations smart constructor.

Constructors

ListTopicRuleDestinations' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return at one time.

  • 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 ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

ToPath ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

ToQuery ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

AWSPager ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

AWSRequest ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Generic ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Associated Types

type Rep ListTopicRuleDestinations :: Type -> Type #

Read ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Show ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

NFData ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Eq ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Hashable ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

type AWSResponse ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

type Rep ListTopicRuleDestinations Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

type Rep ListTopicRuleDestinations = D1 ('MetaData "ListTopicRuleDestinations" "Amazonka.IoT.ListTopicRuleDestinations" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListTopicRuleDestinations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListTopicRuleDestinations :: ListTopicRuleDestinations Source #

Create a value of ListTopicRuleDestinations 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:ListTopicRuleDestinations', listTopicRuleDestinations_maxResults - The maximum number of results to return at one time.

ListTopicRuleDestinations, listTopicRuleDestinations_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

listTopicRuleDestinations_maxResults :: Lens' ListTopicRuleDestinations (Maybe Natural) Source #

The maximum number of results to return at one time.

listTopicRuleDestinations_nextToken :: Lens' ListTopicRuleDestinations (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 ListTopicRuleDestinationsResponse Source #

See: newListTopicRuleDestinationsResponse smart constructor.

Constructors

ListTopicRuleDestinationsResponse' 

Fields

Instances

Instances details
Generic ListTopicRuleDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Associated Types

type Rep ListTopicRuleDestinationsResponse :: Type -> Type #

Read ListTopicRuleDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Show ListTopicRuleDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

NFData ListTopicRuleDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

Eq ListTopicRuleDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

type Rep ListTopicRuleDestinationsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRuleDestinations

type Rep ListTopicRuleDestinationsResponse = D1 ('MetaData "ListTopicRuleDestinationsResponse" "Amazonka.IoT.ListTopicRuleDestinations" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListTopicRuleDestinationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TopicRuleDestinationSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTopicRuleDestinationsResponse Source #

Create a value of ListTopicRuleDestinationsResponse 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:destinationSummaries:ListTopicRuleDestinationsResponse', listTopicRuleDestinationsResponse_destinationSummaries - Information about a topic rule destination.

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

$sel:httpStatus:ListTopicRuleDestinationsResponse', listTopicRuleDestinationsResponse_httpStatus - The response's http status code.

Response Lenses

listTopicRuleDestinationsResponse_nextToken :: Lens' ListTopicRuleDestinationsResponse (Maybe Text) Source #

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