amazonka-connectcases-2.0: Amazon Connect Cases 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.ConnectCases.Types.FieldOption

Description

 
Synopsis

Documentation

data FieldOption Source #

Object for field Options information.

See: newFieldOption smart constructor.

Constructors

FieldOption' 

Fields

  • active :: Bool

    Describes whether the FieldOption is active (displayed) or inactive.

  • name :: Text

    FieldOptionName has max length 100 and disallows trailing spaces.

  • value :: Text

    FieldOptionValue has max length 100 and must be alphanumeric with hyphens and underscores.

Instances

Instances details
FromJSON FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

ToJSON FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

Generic FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

Associated Types

type Rep FieldOption :: Type -> Type #

Read FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

Show FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

NFData FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

Methods

rnf :: FieldOption -> () #

Eq FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

Hashable FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

type Rep FieldOption Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOption

type Rep FieldOption = D1 ('MetaData "FieldOption" "Amazonka.ConnectCases.Types.FieldOption" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "FieldOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "active") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newFieldOption Source #

Create a value of FieldOption 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:active:FieldOption', fieldOption_active - Describes whether the FieldOption is active (displayed) or inactive.

$sel:name:FieldOption', fieldOption_name - FieldOptionName has max length 100 and disallows trailing spaces.

$sel:value:FieldOption', fieldOption_value - FieldOptionValue has max length 100 and must be alphanumeric with hyphens and underscores.

fieldOption_active :: Lens' FieldOption Bool Source #

Describes whether the FieldOption is active (displayed) or inactive.

fieldOption_name :: Lens' FieldOption Text Source #

FieldOptionName has max length 100 and disallows trailing spaces.

fieldOption_value :: Lens' FieldOption Text Source #

FieldOptionValue has max length 100 and must be alphanumeric with hyphens and underscores.