| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.TopicRuleDestination
Description
Synopsis
- data TopicRuleDestination = TopicRuleDestination' {}
- newTopicRuleDestination :: TopicRuleDestination
- topicRuleDestination_arn :: Lens' TopicRuleDestination (Maybe Text)
- topicRuleDestination_createdAt :: Lens' TopicRuleDestination (Maybe UTCTime)
- topicRuleDestination_httpUrlProperties :: Lens' TopicRuleDestination (Maybe HttpUrlDestinationProperties)
- topicRuleDestination_lastUpdatedAt :: Lens' TopicRuleDestination (Maybe UTCTime)
- topicRuleDestination_status :: Lens' TopicRuleDestination (Maybe TopicRuleDestinationStatus)
- topicRuleDestination_statusReason :: Lens' TopicRuleDestination (Maybe Text)
- topicRuleDestination_vpcProperties :: Lens' TopicRuleDestination (Maybe VpcDestinationProperties)
Documentation
data TopicRuleDestination Source #
A topic rule destination.
See: newTopicRuleDestination smart constructor.
Constructors
| TopicRuleDestination' | |
Fields
| |
Instances
newTopicRuleDestination :: TopicRuleDestination Source #
Create a value of TopicRuleDestination 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:TopicRuleDestination', topicRuleDestination_arn - The topic rule destination URL.
$sel:createdAt:TopicRuleDestination', topicRuleDestination_createdAt - The date and time when the topic rule destination was created.
$sel:httpUrlProperties:TopicRuleDestination', topicRuleDestination_httpUrlProperties - Properties of the HTTP URL.
$sel:lastUpdatedAt:TopicRuleDestination', topicRuleDestination_lastUpdatedAt - The date and time when the topic rule destination was last updated.
$sel:status:TopicRuleDestination', topicRuleDestination_status - The status of the topic rule destination. Valid values are:
- IN_PROGRESS
- A topic rule destination was created but has not been confirmed. You
can set
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
- Confirmation was completed, and traffic to this destination is
allowed. You can set
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
- Confirmation was completed, and traffic to this destination is not
allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
- Confirmation could not be completed, for example if the confirmation
timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint.
$sel:statusReason:TopicRuleDestination', topicRuleDestination_statusReason - Additional details or reason why the topic rule destination is in the
current status.
$sel:vpcProperties:TopicRuleDestination', topicRuleDestination_vpcProperties - Properties of the virtual private cloud (VPC) connection.
topicRuleDestination_arn :: Lens' TopicRuleDestination (Maybe Text) Source #
The topic rule destination URL.
topicRuleDestination_createdAt :: Lens' TopicRuleDestination (Maybe UTCTime) Source #
The date and time when the topic rule destination was created.
topicRuleDestination_httpUrlProperties :: Lens' TopicRuleDestination (Maybe HttpUrlDestinationProperties) Source #
Properties of the HTTP URL.
topicRuleDestination_lastUpdatedAt :: Lens' TopicRuleDestination (Maybe UTCTime) Source #
The date and time when the topic rule destination was last updated.
topicRuleDestination_status :: Lens' TopicRuleDestination (Maybe TopicRuleDestinationStatus) Source #
The status of the topic rule destination. Valid values are:
- IN_PROGRESS
- A topic rule destination was created but has not been confirmed. You
can set
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint. - ENABLED
- Confirmation was completed, and traffic to this destination is
allowed. You can set
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
- Confirmation was completed, and traffic to this destination is not
allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
- Confirmation could not be completed, for example if the confirmation
timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses a new confirmation challenge to be sent to your confirmation endpoint.
topicRuleDestination_statusReason :: Lens' TopicRuleDestination (Maybe Text) Source #
Additional details or reason why the topic rule destination is in the current status.
topicRuleDestination_vpcProperties :: Lens' TopicRuleDestination (Maybe VpcDestinationProperties) Source #
Properties of the virtual private cloud (VPC) connection.