libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
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.CertificateManagerPCA.Types.GeneralName

Description

 
Synopsis

Documentation

data GeneralName Source #

Describes an ASN.1 X.400 GeneralName as defined in RFC 5280. Only one of the following naming options should be provided. Providing more than one option results in an InvalidArgsException error.

See: newGeneralName smart constructor.

Constructors

GeneralName' 

Fields

Instances

Instances details
Eq GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

Read GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

Show GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

Generic GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

Associated Types

type Rep GeneralName :: Type -> Type #

NFData GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

Methods

rnf :: GeneralName -> () #

Hashable GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

ToJSON GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

FromJSON GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

type Rep GeneralName Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.Types.GeneralName

type Rep GeneralName = D1 ('MetaData "GeneralName" "Amazonka.CertificateManagerPCA.Types.GeneralName" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "GeneralName'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "uniformResourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "registeredId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ediPartyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EdiPartyName)))) :*: ((S1 ('MetaSel ('Just "rfc822Name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "otherName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OtherName))) :*: (S1 ('MetaSel ('Just "dnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ASN1Subject))))))

newGeneralName :: GeneralName Source #

Create a value of GeneralName 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:ipAddress:GeneralName', generalName_ipAddress - Represents GeneralName as an IPv4 or IPv6 address.

$sel:uniformResourceIdentifier:GeneralName', generalName_uniformResourceIdentifier - Represents GeneralName as a URI.

$sel:registeredId:GeneralName', generalName_registeredId - Represents GeneralName as an object identifier (OID).

$sel:ediPartyName:GeneralName', generalName_ediPartyName - Represents GeneralName as an EdiPartyName object.

$sel:rfc822Name:GeneralName', generalName_rfc822Name - Represents GeneralName as an RFC 822 email address.

$sel:otherName:GeneralName', generalName_otherName - Represents GeneralName using an OtherName object.

$sel:dnsName:GeneralName', generalName_dnsName - Represents GeneralName as a DNS name.

$sel:directoryName:GeneralName', generalName_directoryName - Undocumented member.

generalName_ipAddress :: Lens' GeneralName (Maybe Text) Source #

Represents GeneralName as an IPv4 or IPv6 address.

generalName_registeredId :: Lens' GeneralName (Maybe Text) Source #

Represents GeneralName as an object identifier (OID).

generalName_ediPartyName :: Lens' GeneralName (Maybe EdiPartyName) Source #

Represents GeneralName as an EdiPartyName object.

generalName_rfc822Name :: Lens' GeneralName (Maybe Text) Source #

Represents GeneralName as an RFC 822 email address.

generalName_otherName :: Lens' GeneralName (Maybe OtherName) Source #

Represents GeneralName using an OtherName object.

generalName_dnsName :: Lens' GeneralName (Maybe Text) Source #

Represents GeneralName as a DNS name.