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

Description

Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.

Requires permission to access the ConfirmTopicRuleDestination action.

Synopsis

Creating a Request

data ConfirmTopicRuleDestination Source #

See: newConfirmTopicRuleDestination smart constructor.

Constructors

ConfirmTopicRuleDestination' 

Fields

  • confirmationToken :: Text

    The token used to confirm ownership or access to the topic rule confirmation URL.

Instances

Instances details
Eq ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Read ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Show ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Generic ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Associated Types

type Rep ConfirmTopicRuleDestination :: Type -> Type #

NFData ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Hashable ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

AWSRequest ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

ToHeaders ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

ToPath ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

ToQuery ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

type Rep ConfirmTopicRuleDestination Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

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

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

newConfirmTopicRuleDestination Source #

Create a value of ConfirmTopicRuleDestination 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:confirmationToken:ConfirmTopicRuleDestination', confirmTopicRuleDestination_confirmationToken - The token used to confirm ownership or access to the topic rule confirmation URL.

Request Lenses

confirmTopicRuleDestination_confirmationToken :: Lens' ConfirmTopicRuleDestination Text Source #

The token used to confirm ownership or access to the topic rule confirmation URL.

Destructuring the Response

data ConfirmTopicRuleDestinationResponse Source #

Constructors

ConfirmTopicRuleDestinationResponse' 

Fields

Instances

Instances details
Eq ConfirmTopicRuleDestinationResponse Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Read ConfirmTopicRuleDestinationResponse Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Show ConfirmTopicRuleDestinationResponse Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

Generic ConfirmTopicRuleDestinationResponse Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

NFData ConfirmTopicRuleDestinationResponse Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

type Rep ConfirmTopicRuleDestinationResponse Source # 
Instance details

Defined in Amazonka.IoT.ConfirmTopicRuleDestination

type Rep ConfirmTopicRuleDestinationResponse = D1 ('MetaData "ConfirmTopicRuleDestinationResponse" "Amazonka.IoT.ConfirmTopicRuleDestination" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ConfirmTopicRuleDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newConfirmTopicRuleDestinationResponse Source #

Create a value of ConfirmTopicRuleDestinationResponse 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:httpStatus:ConfirmTopicRuleDestinationResponse', confirmTopicRuleDestinationResponse_httpStatus - The response's http status code.

Response Lenses