Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Certificate = Certificate' {}
- newCertificate :: Certificate
- certificate_certificateArn :: Lens' Certificate (Maybe Text)
- certificate_certificateId :: Lens' Certificate (Maybe Text)
- certificate_certificateMode :: Lens' Certificate (Maybe CertificateMode)
- certificate_creationDate :: Lens' Certificate (Maybe UTCTime)
- certificate_status :: Lens' Certificate (Maybe CertificateStatus)
Documentation
data Certificate Source #
Information about a certificate.
See: newCertificate
smart constructor.
Certificate' | |
|
Instances
newCertificate :: Certificate Source #
Create a value of Certificate
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:certificateArn:Certificate'
, certificate_certificateArn
- The ARN of the certificate.
$sel:certificateId:Certificate'
, certificate_certificateId
- The ID of the certificate. (The last part of the certificate ARN
contains the certificate ID.)
$sel:certificateMode:Certificate'
, certificate_certificateMode
- The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon
Web Services IoT Core or registered with an issuer certificate authority
(CA) in DEFAULT
mode. Devices with certificates in DEFAULT
mode
aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features
such as custom domains and VPC endpoints, we recommend that you use the
SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an
issuer CA. Devices with certificates in SNI_ONLY
mode must send the
SNI extension when connecting to Amazon Web Services IoT Core.
$sel:creationDate:Certificate'
, certificate_creationDate
- The date and time the certificate was created.
$sel:status:Certificate'
, certificate_status
- The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
certificate_certificateArn :: Lens' Certificate (Maybe Text) Source #
The ARN of the certificate.
certificate_certificateId :: Lens' Certificate (Maybe Text) Source #
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
certificate_certificateMode :: Lens' Certificate (Maybe CertificateMode) Source #
The mode of the certificate.
DEFAULT
: A certificate in DEFAULT
mode is either generated by Amazon
Web Services IoT Core or registered with an issuer certificate authority
(CA) in DEFAULT
mode. Devices with certificates in DEFAULT
mode
aren't required to send the Server Name Indication (SNI) extension when
connecting to Amazon Web Services IoT Core. However, to use features
such as custom domains and VPC endpoints, we recommend that you use the
SNI extension when connecting to Amazon Web Services IoT Core.
SNI_ONLY
: A certificate in SNI_ONLY
mode is registered without an
issuer CA. Devices with certificates in SNI_ONLY
mode must send the
SNI extension when connecting to Amazon Web Services IoT Core.
certificate_creationDate :: Lens' Certificate (Maybe UTCTime) Source #
The date and time the certificate was created.
certificate_status :: Lens' Certificate (Maybe CertificateStatus) Source #
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.