Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
Synopsis
- data GetTopicRuleDestination = GetTopicRuleDestination' {}
- newGetTopicRuleDestination :: Text -> GetTopicRuleDestination
- getTopicRuleDestination_arn :: Lens' GetTopicRuleDestination Text
- data GetTopicRuleDestinationResponse = GetTopicRuleDestinationResponse' {}
- newGetTopicRuleDestinationResponse :: Int -> GetTopicRuleDestinationResponse
- getTopicRuleDestinationResponse_topicRuleDestination :: Lens' GetTopicRuleDestinationResponse (Maybe TopicRuleDestination)
- getTopicRuleDestinationResponse_httpStatus :: Lens' GetTopicRuleDestinationResponse Int
Creating a Request
data GetTopicRuleDestination Source #
See: newGetTopicRuleDestination
smart constructor.
Instances
newGetTopicRuleDestination Source #
Create a value of GetTopicRuleDestination
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:arn:GetTopicRuleDestination'
, getTopicRuleDestination_arn
- The ARN of the topic rule destination.
Request Lenses
getTopicRuleDestination_arn :: Lens' GetTopicRuleDestination Text Source #
The ARN of the topic rule destination.
Destructuring the Response
data GetTopicRuleDestinationResponse Source #
See: newGetTopicRuleDestinationResponse
smart constructor.
GetTopicRuleDestinationResponse' | |
|
Instances
Eq GetTopicRuleDestinationResponse Source # | |
Read GetTopicRuleDestinationResponse Source # | |
Show GetTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.GetTopicRuleDestination | |
Generic GetTopicRuleDestinationResponse Source # | |
NFData GetTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.GetTopicRuleDestination rnf :: GetTopicRuleDestinationResponse -> () # | |
type Rep GetTopicRuleDestinationResponse Source # | |
Defined in Amazonka.IoT.GetTopicRuleDestination type Rep GetTopicRuleDestinationResponse = D1 ('MetaData "GetTopicRuleDestinationResponse" "Amazonka.IoT.GetTopicRuleDestination" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetTopicRuleDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicRuleDestination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TopicRuleDestination)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetTopicRuleDestinationResponse Source #
Create a value of GetTopicRuleDestinationResponse
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:topicRuleDestination:GetTopicRuleDestinationResponse'
, getTopicRuleDestinationResponse_topicRuleDestination
- The topic rule destination.
$sel:httpStatus:GetTopicRuleDestinationResponse'
, getTopicRuleDestinationResponse_httpStatus
- The response's http status code.
Response Lenses
getTopicRuleDestinationResponse_topicRuleDestination :: Lens' GetTopicRuleDestinationResponse (Maybe TopicRuleDestination) Source #
The topic rule destination.
getTopicRuleDestinationResponse_httpStatus :: Lens' GetTopicRuleDestinationResponse Int Source #
The response's http status code.