libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.Types.UserError

Description

 
Synopsis

Documentation

data UserError Source #

The list of errors returned when errors are encountered during the BatchSuspendUser, BatchUnsuspendUser, or BatchUpdateUser actions. This includes user IDs, error codes, and error messages.

See: newUserError smart constructor.

Constructors

UserError' 

Fields

Instances

Instances details
Eq UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

Read UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

Show UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

Generic UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

Associated Types

type Rep UserError :: Type -> Type #

NFData UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

Methods

rnf :: UserError -> () #

Hashable UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

FromJSON UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

type Rep UserError Source # 
Instance details

Defined in Amazonka.Chime.Types.UserError

type Rep UserError = D1 ('MetaData "UserError" "Amazonka.Chime.Types.UserError" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UserError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUserError :: UserError Source #

Create a value of UserError 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:userId:UserError', userError_userId - The user ID for which the action failed.

$sel:errorCode:UserError', userError_errorCode - The error code.

$sel:errorMessage:UserError', userError_errorMessage - The error message.

userError_userId :: Lens' UserError (Maybe Text) Source #

The user ID for which the action failed.