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

Description

Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.

To check for pending certificate transfers, call ListCertificates to enumerate your certificates.

This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.

Requires permission to access the RejectCertificateTransfer action.

Synopsis

Creating a Request

data RejectCertificateTransfer Source #

The input for the RejectCertificateTransfer operation.

See: newRejectCertificateTransfer smart constructor.

Constructors

RejectCertificateTransfer' 

Fields

  • rejectReason :: Maybe Text

    The reason the certificate transfer was rejected.

  • certificateId :: Text

    The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Instances

Instances details
Eq RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Read RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Show RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Generic RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Associated Types

type Rep RejectCertificateTransfer :: Type -> Type #

NFData RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Hashable RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

ToJSON RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

AWSRequest RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

ToHeaders RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

ToPath RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

ToQuery RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

type Rep RejectCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

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

Defined in Amazonka.IoT.RejectCertificateTransfer

newRejectCertificateTransfer Source #

Create a value of RejectCertificateTransfer 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:rejectReason:RejectCertificateTransfer', rejectCertificateTransfer_rejectReason - The reason the certificate transfer was rejected.

$sel:certificateId:RejectCertificateTransfer', rejectCertificateTransfer_certificateId - The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Request Lenses

rejectCertificateTransfer_rejectReason :: Lens' RejectCertificateTransfer (Maybe Text) Source #

The reason the certificate transfer was rejected.

rejectCertificateTransfer_certificateId :: Lens' RejectCertificateTransfer Text Source #

The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Destructuring the Response

data RejectCertificateTransferResponse Source #

See: newRejectCertificateTransferResponse smart constructor.

Instances

Instances details
Eq RejectCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Read RejectCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Show RejectCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Generic RejectCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

Associated Types

type Rep RejectCertificateTransferResponse :: Type -> Type #

NFData RejectCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

type Rep RejectCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.RejectCertificateTransfer

type Rep RejectCertificateTransferResponse = D1 ('MetaData "RejectCertificateTransferResponse" "Amazonka.IoT.RejectCertificateTransfer" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "RejectCertificateTransferResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRejectCertificateTransferResponse :: RejectCertificateTransferResponse Source #

Create a value of RejectCertificateTransferResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.