Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
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.
Instances
Eq UserError Source # | |
Read UserError Source # | |
Show UserError Source # | |
Generic UserError Source # | |
NFData UserError Source # | |
Defined in Amazonka.Chime.Types.UserError | |
Hashable UserError Source # | |
Defined in Amazonka.Chime.Types.UserError | |
FromJSON UserError Source # | |
type Rep UserError Source # | |
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.