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.FieldOptionError

Description

 
Synopsis

Documentation

data FieldOptionError Source #

Object for field Options errors.

See: newFieldOptionError smart constructor.

Constructors

FieldOptionError' 

Fields

  • errorCode :: Text

    Error code from creating or updating field option.

  • message :: Text

    Error message from creating or updating field option.

  • value :: Text

    The field option value that caused the error.

Instances

Instances details
FromJSON FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

Generic FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

Associated Types

type Rep FieldOptionError :: Type -> Type #

Read FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

Show FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

NFData FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

Methods

rnf :: FieldOptionError -> () #

Eq FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

Hashable FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

type Rep FieldOptionError Source # 
Instance details

Defined in Amazonka.ConnectCases.Types.FieldOptionError

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

newFieldOptionError Source #

Create a value of FieldOptionError 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:errorCode:FieldOptionError', fieldOptionError_errorCode - Error code from creating or updating field option.

$sel:message:FieldOptionError', fieldOptionError_message - Error message from creating or updating field option.

$sel:value:FieldOptionError', fieldOptionError_value - The field option value that caused the error.

fieldOptionError_errorCode :: Lens' FieldOptionError Text Source #

Error code from creating or updating field option.

fieldOptionError_message :: Lens' FieldOptionError Text Source #

Error message from creating or updating field option.

fieldOptionError_value :: Lens' FieldOptionError Text Source #

The field option value that caused the error.