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 |
Documentation
A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each Amazon Web Services service.
See: newCategory
smart constructor.
Instances
FromJSON Category Source # | |
Generic Category Source # | |
Read Category Source # | |
Show Category Source # | |
NFData Category Source # | |
Defined in Amazonka.Support.Types.Category | |
Eq Category Source # | |
Hashable Category Source # | |
Defined in Amazonka.Support.Types.Category | |
type Rep Category Source # | |
Defined in Amazonka.Support.Types.Category type Rep Category = D1 ('MetaData "Category" "Amazonka.Support.Types.Category" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" 'False) (C1 ('MetaCons "Category'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newCategory :: Category Source #
Create a value of Category
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:code:Category'
, category_code
- The category code for the support case.
$sel:name:Category'
, category_name
- The category name for the support case.