| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.Types.UserError
Description
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.
Constructors
| UserError' | |
Instances
| FromJSON UserError Source # | |
| Generic UserError Source # | |
| Read UserError Source # | |
| Show UserError Source # | |
| NFData UserError Source # | |
Defined in Amazonka.Chime.Types.UserError | |
| Eq UserError Source # | |
| Hashable UserError Source # | |
Defined in Amazonka.Chime.Types.UserError | |
| type Rep UserError Source # | |
Defined in Amazonka.Chime.Types.UserError type Rep UserError = D1 ('MetaData "UserError" "Amazonka.Chime.Types.UserError" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "UserError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") '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:errorCode:UserError', userError_errorCode - The error code.
$sel:errorMessage:UserError', userError_errorMessage - The error message.
$sel:userId:UserError', userError_userId - The user ID for which the action failed.