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

Description

Gets information about the rule.

Requires permission to access the GetTopicRule action.

Synopsis

Creating a Request

data GetTopicRule Source #

The input for the GetTopicRule operation.

See: newGetTopicRule smart constructor.

Constructors

GetTopicRule' 

Fields

Instances

Instances details
Eq GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Read GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Show GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Generic GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Associated Types

type Rep GetTopicRule :: Type -> Type #

NFData GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Methods

rnf :: GetTopicRule -> () #

Hashable GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

AWSRequest GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Associated Types

type AWSResponse GetTopicRule #

ToHeaders GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

ToPath GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

ToQuery GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

type Rep GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

type Rep GetTopicRule = D1 ('MetaData "GetTopicRule" "Amazonka.IoT.GetTopicRule" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetTopicRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetTopicRule Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

newGetTopicRule Source #

Create a value of GetTopicRule 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:ruleName:GetTopicRule', getTopicRule_ruleName - The name of the rule.

Request Lenses

Destructuring the Response

data GetTopicRuleResponse Source #

The output from the GetTopicRule operation.

See: newGetTopicRuleResponse smart constructor.

Constructors

GetTopicRuleResponse' 

Fields

Instances

Instances details
Eq GetTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Read GetTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Show GetTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Generic GetTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Associated Types

type Rep GetTopicRuleResponse :: Type -> Type #

NFData GetTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

Methods

rnf :: GetTopicRuleResponse -> () #

type Rep GetTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.GetTopicRule

type Rep GetTopicRuleResponse = D1 ('MetaData "GetTopicRuleResponse" "Amazonka.IoT.GetTopicRule" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetTopicRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TopicRule)) :*: (S1 ('MetaSel ('Just "ruleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetTopicRuleResponse Source #

Create a value of GetTopicRuleResponse 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:rule:GetTopicRuleResponse', getTopicRuleResponse_rule - The rule.

$sel:ruleArn:GetTopicRuleResponse', getTopicRuleResponse_ruleArn - The rule ARN.

$sel:httpStatus:GetTopicRuleResponse', getTopicRuleResponse_httpStatus - The response's http status code.

Response Lenses