amazonka-docdb-2.0: Amazon DocumentDB with MongoDB compatibility 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.DocumentDB.Types.Certificate

Description

 
Synopsis

Documentation

data Certificate Source #

A certificate authority (CA) certificate for an Amazon Web Services account.

See: newCertificate smart constructor.

Constructors

Certificate' 

Fields

Instances

Instances details
FromXML Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

Generic Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

Associated Types

type Rep Certificate :: Type -> Type #

Read Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

Show Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

NFData Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

Methods

rnf :: Certificate -> () #

Eq Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

Hashable Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

type Rep Certificate Source # 
Instance details

Defined in Amazonka.DocumentDB.Types.Certificate

type Rep Certificate = D1 ('MetaData "Certificate" "Amazonka.DocumentDB.Types.Certificate" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "Certificate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "certificateIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "certificateType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "thumbprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "validFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "validTill") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

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 Amazon Resource Name (ARN) for the certificate.

Example: arn:aws:rds:us-east-1::cert:rds-ca-2019

$sel:certificateIdentifier:Certificate', certificate_certificateIdentifier - The unique key that identifies a certificate.

Example: rds-ca-2019

$sel:certificateType:Certificate', certificate_certificateType - The type of the certificate.

Example: CA

$sel:thumbprint:Certificate', certificate_thumbprint - The thumbprint of the certificate.

$sel:validFrom:Certificate', certificate_validFrom - The starting date-time from which the certificate is valid.

Example: 2019-07-31T17:57:09Z

$sel:validTill:Certificate', certificate_validTill - The date-time after which the certificate is no longer valid.

Example: 2024-07-31T17:57:09Z

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

The Amazon Resource Name (ARN) for the certificate.

Example: arn:aws:rds:us-east-1::cert:rds-ca-2019

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

The unique key that identifies a certificate.

Example: rds-ca-2019

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

The type of the certificate.

Example: CA

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

The thumbprint of the certificate.

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

The starting date-time from which the certificate is valid.

Example: 2019-07-31T17:57:09Z

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

The date-time after which the certificate is no longer valid.

Example: 2024-07-31T17:57:09Z