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

Description

Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.

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

Requires permission to access the AcceptCertificateTransfer action.

Synopsis

Creating a Request

data AcceptCertificateTransfer Source #

The input for the AcceptCertificateTransfer operation.

See: newAcceptCertificateTransfer smart constructor.

Constructors

AcceptCertificateTransfer' 

Fields

Instances

Instances details
ToJSON AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

ToHeaders AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

ToPath AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

ToQuery AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

AWSRequest AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Generic AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Associated Types

type Rep AcceptCertificateTransfer :: Type -> Type #

Read AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Show AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

NFData AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Eq AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Hashable AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

type AWSResponse AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

type Rep AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

type Rep AcceptCertificateTransfer = D1 ('MetaData "AcceptCertificateTransfer" "Amazonka.IoT.AcceptCertificateTransfer" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "AcceptCertificateTransfer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "setAsActive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "certificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newAcceptCertificateTransfer Source #

Create a value of AcceptCertificateTransfer 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:setAsActive:AcceptCertificateTransfer', acceptCertificateTransfer_setAsActive - Specifies whether the certificate is active.

AcceptCertificateTransfer, acceptCertificateTransfer_certificateId - The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Request Lenses

acceptCertificateTransfer_certificateId :: Lens' AcceptCertificateTransfer Text Source #

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

Destructuring the Response

data AcceptCertificateTransferResponse Source #

See: newAcceptCertificateTransferResponse smart constructor.

Instances

Instances details
Generic AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Associated Types

type Rep AcceptCertificateTransferResponse :: Type -> Type #

Read AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Show AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

NFData AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Eq AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

type Rep AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

type Rep AcceptCertificateTransferResponse = D1 ('MetaData "AcceptCertificateTransferResponse" "Amazonka.IoT.AcceptCertificateTransfer" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "AcceptCertificateTransferResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAcceptCertificateTransferResponse :: AcceptCertificateTransferResponse Source #

Create a value of AcceptCertificateTransferResponse with all optional fields omitted.

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