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 |
Amazonka.IoT.GetTopicRuleDestination
Description
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.
Constructors
GetTopicRuleDestination' | |
Instances
newGetTopicRuleDestination Source #
Arguments
:: Text | |
-> GetTopicRuleDestination |
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.
Constructors
GetTopicRuleDestinationResponse' | |
Fields
|
Instances
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.