Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data OtherName = OtherName' {}
- newOtherName :: Text -> Text -> OtherName
- otherName_typeId :: Lens' OtherName Text
- otherName_value :: Lens' OtherName Text
Documentation
Defines a custom ASN.1 X.400 GeneralName
using an object identifier
(OID) and value. The OID must satisfy the regular expression shown
below. For more information, see NIST's definition of
Object Identifier (OID).
See: newOtherName
smart constructor.
Instances
Eq OtherName Source # | |
Read OtherName Source # | |
Show OtherName Source # | |
Generic OtherName Source # | |
NFData OtherName Source # | |
Hashable OtherName Source # | |
ToJSON OtherName Source # | |
FromJSON OtherName Source # | |
type Rep OtherName Source # | |
Defined in Amazonka.CertificateManagerPCA.Types.OtherName type Rep OtherName = D1 ('MetaData "OtherName" "Amazonka.CertificateManagerPCA.Types.OtherName" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "OtherName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "typeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of OtherName
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:typeId:OtherName'
, otherName_typeId
- Specifies an OID.
$sel:value:OtherName'
, otherName_value
- Specifies an OID value.