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

Description

Cancels a pending transfer for the specified certificate.

Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.

After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.

Requires permission to access the CancelCertificateTransfer action.

Synopsis

Creating a Request

data CancelCertificateTransfer Source #

The input for the CancelCertificateTransfer operation.

See: newCancelCertificateTransfer smart constructor.

Constructors

CancelCertificateTransfer' 

Fields

  • certificateId :: Text

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

Instances

Instances details
Eq CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Read CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Show CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Generic CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Associated Types

type Rep CancelCertificateTransfer :: Type -> Type #

NFData CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Hashable CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

ToJSON CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

AWSRequest CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

ToHeaders CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

ToPath CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

ToQuery CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

type Rep CancelCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

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

Defined in Amazonka.IoT.CancelCertificateTransfer

newCancelCertificateTransfer Source #

Create a value of CancelCertificateTransfer 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:certificateId:CancelCertificateTransfer', cancelCertificateTransfer_certificateId - The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Request Lenses

cancelCertificateTransfer_certificateId :: Lens' CancelCertificateTransfer Text Source #

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

Destructuring the Response

data CancelCertificateTransferResponse Source #

See: newCancelCertificateTransferResponse smart constructor.

Instances

Instances details
Eq CancelCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Read CancelCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Show CancelCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Generic CancelCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

Associated Types

type Rep CancelCertificateTransferResponse :: Type -> Type #

NFData CancelCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

type Rep CancelCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.CancelCertificateTransfer

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

newCancelCertificateTransferResponse :: CancelCertificateTransferResponse Source #

Create a value of CancelCertificateTransferResponse with all optional fields omitted.

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