amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.Types.TopicRuleDestination

Description

 
Synopsis

Documentation

data TopicRuleDestination Source #

A topic rule destination.

See: newTopicRuleDestination smart constructor.

Constructors

TopicRuleDestination' 

Fields

  • arn :: Maybe Text

    The topic rule destination URL.

  • createdAt :: Maybe POSIX

    The date and time when the topic rule destination was created.

  • httpUrlProperties :: Maybe HttpUrlDestinationProperties

    Properties of the HTTP URL.

  • lastUpdatedAt :: Maybe POSIX

    The date and time when the topic rule destination was last updated.

  • status :: Maybe TopicRuleDestinationStatus

    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 status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes 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 status to DISABLED by calling UpdateTopicRuleDestination.
    DISABLED
    Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.
    ERROR
    Confirmation could not be completed, for example if the confirmation timed out. You can call GetTopicRuleDestination for details about the error. You can set status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes a new confirmation challenge to be sent to your confirmation endpoint.
  • statusReason :: Maybe Text

    Additional details or reason why the topic rule destination is in the current status.

  • vpcProperties :: Maybe VpcDestinationProperties

    Properties of the virtual private cloud (VPC) connection.

Instances

Instances details
FromJSON TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

Generic TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

Associated Types

type Rep TopicRuleDestination :: Type -> Type #

Read TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

Show TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

NFData TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

Methods

rnf :: TopicRuleDestination -> () #

Eq TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

Hashable TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

type Rep TopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.Types.TopicRuleDestination

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 status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes 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 status to DISABLED by calling UpdateTopicRuleDestination.
DISABLED
Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.
ERROR
Confirmation could not be completed, for example if the confirmation timed out. You can call GetTopicRuleDestination for details about the error. You can set status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes 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_createdAt :: Lens' TopicRuleDestination (Maybe UTCTime) Source #

The date and time when the topic rule destination was created.

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 status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes 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 status to DISABLED by calling UpdateTopicRuleDestination.
DISABLED
Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.
ERROR
Confirmation could not be completed, for example if the confirmation timed out. You can call GetTopicRuleDestination for details about the error. You can set status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes 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.