libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.Types.AnnotationValue

Description

 
Synopsis

Documentation

data AnnotationValue Source #

Value of a segment annotation. Has one of three value types: Number, Boolean, or String.

See: newAnnotationValue smart constructor.

Constructors

AnnotationValue' 

Fields

Instances

Instances details
Eq AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Read AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Show AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Generic AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Associated Types

type Rep AnnotationValue :: Type -> Type #

NFData AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Methods

rnf :: AnnotationValue -> () #

Hashable AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

FromJSON AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

type Rep AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

type Rep AnnotationValue = D1 ('MetaData "AnnotationValue" "Amazonka.XRay.Types.AnnotationValue" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "AnnotationValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "numberValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newAnnotationValue :: AnnotationValue Source #

Create a value of AnnotationValue 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:numberValue:AnnotationValue', annotationValue_numberValue - Value for a Number annotation.

$sel:stringValue:AnnotationValue', annotationValue_stringValue - Value for a String annotation.

$sel:booleanValue:AnnotationValue', annotationValue_booleanValue - Value for a Boolean annotation.