libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.XMLClassifier

Description

 
Synopsis

Documentation

data XMLClassifier Source #

A classifier for XML content.

See: newXMLClassifier smart constructor.

Constructors

XMLClassifier' 

Fields

  • creationTime :: Maybe POSIX

    The time that this classifier was registered.

  • lastUpdated :: Maybe POSIX

    The time that this classifier was last updated.

  • version :: Maybe Integer

    The version of this classifier.

  • rowTag :: Maybe Text

    The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).

  • name :: Text

    The name of the classifier.

  • classification :: Text

    An identifier of the data format that the classifier matches.

Instances

Instances details
Eq XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

Read XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

Show XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

Generic XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

Associated Types

type Rep XMLClassifier :: Type -> Type #

NFData XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

Methods

rnf :: XMLClassifier -> () #

Hashable XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

FromJSON XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

type Rep XMLClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.XMLClassifier

type Rep XMLClassifier = D1 ('MetaData "XMLClassifier" "Amazonka.Glue.Types.XMLClassifier" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "XMLClassifier'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "lastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "rowTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "classification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newXMLClassifier Source #

Create a value of XMLClassifier 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:creationTime:XMLClassifier', xMLClassifier_creationTime - The time that this classifier was registered.

$sel:lastUpdated:XMLClassifier', xMLClassifier_lastUpdated - The time that this classifier was last updated.

$sel:version:XMLClassifier', xMLClassifier_version - The version of this classifier.

$sel:rowTag:XMLClassifier', xMLClassifier_rowTag - The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).

$sel:name:XMLClassifier', xMLClassifier_name - The name of the classifier.

$sel:classification:XMLClassifier', xMLClassifier_classification - An identifier of the data format that the classifier matches.

xMLClassifier_creationTime :: Lens' XMLClassifier (Maybe UTCTime) Source #

The time that this classifier was registered.

xMLClassifier_lastUpdated :: Lens' XMLClassifier (Maybe UTCTime) Source #

The time that this classifier was last updated.

xMLClassifier_version :: Lens' XMLClassifier (Maybe Integer) Source #

The version of this classifier.

xMLClassifier_rowTag :: Lens' XMLClassifier (Maybe Text) Source #

The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).

xMLClassifier_name :: Lens' XMLClassifier Text Source #

The name of the classifier.

xMLClassifier_classification :: Lens' XMLClassifier Text Source #

An identifier of the data format that the classifier matches.