amazonka-support-2.0: Amazon Support SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Support.Types.SupportService

Description

 
Synopsis

Documentation

data SupportService Source #

Information about an Amazon Web Services service returned by the DescribeServices operation.

See: newSupportService smart constructor.

Constructors

SupportService' 

Fields

  • categories :: Maybe [Category]

    A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.

  • code :: Maybe Text

    The code for an Amazon Web Services service returned by the DescribeServices response. The name element contains the corresponding friendly name.

  • name :: Maybe Text

    The friendly name for an Amazon Web Services service. The code element contains the corresponding code.

Instances

Instances details
FromJSON SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

Generic SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

Associated Types

type Rep SupportService :: Type -> Type #

Read SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

Show SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

NFData SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

Methods

rnf :: SupportService -> () #

Eq SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

Hashable SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

type Rep SupportService Source # 
Instance details

Defined in Amazonka.Support.Types.SupportService

type Rep SupportService = D1 ('MetaData "SupportService" "Amazonka.Support.Types.SupportService" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" 'False) (C1 ('MetaCons "SupportService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "categories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Category])) :*: (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSupportService :: SupportService Source #

Create a value of SupportService 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:categories:SupportService', supportService_categories - A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.

SupportService, supportService_code - The code for an Amazon Web Services service returned by the DescribeServices response. The name element contains the corresponding friendly name.

SupportService, supportService_name - The friendly name for an Amazon Web Services service. The code element contains the corresponding code.

supportService_categories :: Lens' SupportService (Maybe [Category]) Source #

A list of categories that describe the type of support issue a case describes. Categories consist of a category name and a category code. Category names and codes are passed to Amazon Web Services Support when you call CreateCase.

supportService_code :: Lens' SupportService (Maybe Text) Source #

The code for an Amazon Web Services service returned by the DescribeServices response. The name element contains the corresponding friendly name.

supportService_name :: Lens' SupportService (Maybe Text) Source #

The friendly name for an Amazon Web Services service. The code element contains the corresponding code.