amazonka-workspaces-web-2.0: Amazon WorkSpaces Web 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.WorkSpacesWeb.Types.Certificate

Description

 
Synopsis

Documentation

data Certificate Source #

The certificate.

See: newCertificate smart constructor.

Constructors

Certificate' 

Fields

Instances

Instances details
FromJSON Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

Generic Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

Associated Types

type Rep Certificate :: Type -> Type #

Read Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

Show Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

NFData Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

Methods

rnf :: Certificate -> () #

Eq Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

Hashable Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

type Rep Certificate Source # 
Instance details

Defined in Amazonka.WorkSpacesWeb.Types.Certificate

type Rep Certificate = D1 ('MetaData "Certificate" "Amazonka.WorkSpacesWeb.Types.Certificate" "amazonka-workspaces-web-2.0-7elUOg7oNE07CClY3TuUcU" 'False) (C1 ('MetaCons "Certificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: (S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "notValidAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "notValidBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thumbprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:body:Certificate', certificate_body - The body of the certificate.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:issuer:Certificate', certificate_issuer - The entity that issued the certificate.

$sel:notValidAfter:Certificate', certificate_notValidAfter - The certificate is not valid after this date.

$sel:notValidBefore:Certificate', certificate_notValidBefore - The certificate is not valid before this date.

$sel:subject:Certificate', certificate_subject - The entity the certificate belongs to.

$sel:thumbprint:Certificate', certificate_thumbprint - A hexadecimal identifier for the certificate.

certificate_body :: Lens' Certificate (Maybe ByteString) Source #

The body of the certificate.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

certificate_issuer :: Lens' Certificate (Maybe Text) Source #

The entity that issued the certificate.

certificate_notValidAfter :: Lens' Certificate (Maybe UTCTime) Source #

The certificate is not valid after this date.

certificate_notValidBefore :: Lens' Certificate (Maybe UTCTime) Source #

The certificate is not valid before this date.

certificate_subject :: Lens' Certificate (Maybe Text) Source #

The entity the certificate belongs to.

certificate_thumbprint :: Lens' Certificate (Maybe Text) Source #

A hexadecimal identifier for the certificate.