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.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
Eq AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Read AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Show 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 #

NFData AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Hashable AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

ToJSON AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

AWSRequest 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

type Rep AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

type Rep AcceptCertificateTransfer = D1 ('MetaData "AcceptCertificateTransfer" "Amazonka.IoT.AcceptCertificateTransfer" "libZSservicesZSamazonka-iotZSamazonka-iot" '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)))
type AWSResponse AcceptCertificateTransfer Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

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.

$sel:certificateId: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
Eq AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Read AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Show AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Generic AcceptCertificateTransferResponse Source # 
Instance details

Defined in Amazonka.IoT.AcceptCertificateTransfer

Associated Types

type Rep AcceptCertificateTransferResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" '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.