amazonka-xray-2.0: Amazon X-Ray 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.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
FromJSON 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 #

Read AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Show AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

NFData AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Methods

rnf :: AnnotationValue -> () #

Eq AnnotationValue Source # 
Instance details

Defined in Amazonka.XRay.Types.AnnotationValue

Hashable 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" "amazonka-xray-2.0-EVMSPoflqtHB9ZqvEIOE4Q" 'False) (C1 ('MetaCons "AnnotationValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "numberValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:booleanValue:AnnotationValue', annotationValue_booleanValue - Value for a Boolean annotation.

$sel:numberValue:AnnotationValue', annotationValue_numberValue - Value for a Number annotation.

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