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.Types.CertificateValidity

Description

 
Synopsis

Documentation

data CertificateValidity Source #

When the certificate is valid.

See: newCertificateValidity smart constructor.

Constructors

CertificateValidity' 

Fields

Instances

Instances details
Eq CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

Read CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

Show CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

Generic CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

Associated Types

type Rep CertificateValidity :: Type -> Type #

NFData CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

Methods

rnf :: CertificateValidity -> () #

Hashable CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

FromJSON CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

type Rep CertificateValidity Source # 
Instance details

Defined in Amazonka.IoT.Types.CertificateValidity

type Rep CertificateValidity = D1 ('MetaData "CertificateValidity" "Amazonka.IoT.Types.CertificateValidity" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CertificateValidity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "notAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))

newCertificateValidity :: CertificateValidity Source #

Create a value of CertificateValidity 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:notBefore:CertificateValidity', certificateValidity_notBefore - The certificate is not valid before this date.

$sel:notAfter:CertificateValidity', certificateValidity_notAfter - The certificate is not valid after this date.

certificateValidity_notBefore :: Lens' CertificateValidity (Maybe UTCTime) Source #

The certificate is not valid before this date.

certificateValidity_notAfter :: Lens' CertificateValidity (Maybe UTCTime) Source #

The certificate is not valid after this date.