libZSservicesZSamazonka-supportZSamazonka-support
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.Support.Types.Category

Description

 
Synopsis

Documentation

data Category Source #

A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.

See: newCategory smart constructor.

Constructors

Category' 

Fields

Instances

Instances details
Eq Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

Read Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

Show Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

Generic Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

Associated Types

type Rep Category :: Type -> Type #

Methods

from :: Category -> Rep Category x #

to :: Rep Category x -> Category #

NFData Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

Methods

rnf :: Category -> () #

Hashable Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

Methods

hashWithSalt :: Int -> Category -> Int #

hash :: Category -> Int #

FromJSON Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

type Rep Category Source # 
Instance details

Defined in Amazonka.Support.Types.Category

type Rep Category = D1 ('MetaData "Category" "Amazonka.Support.Types.Category" "libZSservicesZSamazonka-supportZSamazonka-support" 'False) (C1 ('MetaCons "Category'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") '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:name:Category', category_name - The category name for the support case.

$sel:code:Category', category_code - The category code for the support case.

category_name :: Lens' Category (Maybe Text) Source #

The category name for the support case.

category_code :: Lens' Category (Maybe Text) Source #

The category code for the support case.