libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.ListTopicRules

Description

Lists the rules for the specific topic.

Requires permission to access the ListTopicRules action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListTopicRules Source #

The input for the ListTopicRules operation.

See: newListTopicRules smart constructor.

Constructors

ListTopicRules' 

Fields

Instances

Instances details
Eq ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Read ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Show ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Generic ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Associated Types

type Rep ListTopicRules :: Type -> Type #

NFData ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Methods

rnf :: ListTopicRules -> () #

Hashable ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

AWSPager ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

AWSRequest ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Associated Types

type AWSResponse ListTopicRules #

ToHeaders ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

ToPath ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

ToQuery ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

type Rep ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

type Rep ListTopicRules = D1 ('MetaData "ListTopicRules" "Amazonka.IoT.ListTopicRules" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListTopicRules'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ruleDisabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "topic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListTopicRules Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

newListTopicRules :: ListTopicRules Source #

Create a value of ListTopicRules 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:ruleDisabled:ListTopicRules', listTopicRules_ruleDisabled - Specifies whether the rule is disabled.

$sel:topic:ListTopicRules', listTopicRules_topic - The topic.

$sel:nextToken:ListTopicRules', listTopicRules_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:ListTopicRules', listTopicRules_maxResults - The maximum number of results to return.

Request Lenses

listTopicRules_ruleDisabled :: Lens' ListTopicRules (Maybe Bool) Source #

Specifies whether the rule is disabled.

listTopicRules_nextToken :: Lens' ListTopicRules (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.

listTopicRules_maxResults :: Lens' ListTopicRules (Maybe Natural) Source #

The maximum number of results to return.

Destructuring the Response

data ListTopicRulesResponse Source #

The output from the ListTopicRules operation.

See: newListTopicRulesResponse smart constructor.

Constructors

ListTopicRulesResponse' 

Fields

Instances

Instances details
Eq ListTopicRulesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Read ListTopicRulesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Show ListTopicRulesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Generic ListTopicRulesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Associated Types

type Rep ListTopicRulesResponse :: Type -> Type #

NFData ListTopicRulesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

Methods

rnf :: ListTopicRulesResponse -> () #

type Rep ListTopicRulesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListTopicRules

type Rep ListTopicRulesResponse = D1 ('MetaData "ListTopicRulesResponse" "Amazonka.IoT.ListTopicRules" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListTopicRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TopicRuleListItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTopicRulesResponse Source #

Create a value of ListTopicRulesResponse 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:rules:ListTopicRulesResponse', listTopicRulesResponse_rules - The rules.

$sel:nextToken:ListTopicRules', listTopicRulesResponse_nextToken - The token to use to get the next set of results, or null if there are no additional results.

$sel:httpStatus:ListTopicRulesResponse', listTopicRulesResponse_httpStatus - The response's http status code.

Response Lenses

listTopicRulesResponse_nextToken :: Lens' ListTopicRulesResponse (Maybe Text) Source #

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