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.DescribeSeverityLevels

Description

Returns the list of severity levels that you can assign to a support case. The severity level for a case is also a field in the CaseDetails data type that you include for a CreateCase request.

  • You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
  • If you call the Amazon Web Services Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.
Synopsis

Creating a Request

data DescribeSeverityLevels Source #

See: newDescribeSeverityLevels smart constructor.

Constructors

DescribeSeverityLevels' 

Fields

  • language :: Maybe Text

    The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

Instances

Instances details
ToJSON DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

ToHeaders DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

ToPath DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

ToQuery DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

AWSRequest DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Associated Types

type AWSResponse DescribeSeverityLevels #

Generic DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Associated Types

type Rep DescribeSeverityLevels :: Type -> Type #

Read DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Show DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

NFData DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Methods

rnf :: DescribeSeverityLevels -> () #

Eq DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Hashable DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

type AWSResponse DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

type Rep DescribeSeverityLevels Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

type Rep DescribeSeverityLevels = D1 ('MetaData "DescribeSeverityLevels" "Amazonka.Support.DescribeSeverityLevels" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" 'False) (C1 ('MetaCons "DescribeSeverityLevels'" 'PrefixI 'True) (S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDescribeSeverityLevels :: DescribeSeverityLevels Source #

Create a value of DescribeSeverityLevels 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:

DescribeSeverityLevels, describeSeverityLevels_language - The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

Request Lenses

describeSeverityLevels_language :: Lens' DescribeSeverityLevels (Maybe Text) Source #

The language in which Amazon Web Services Support handles the case. Amazon Web Services Support currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the language parameter if you want support in that language.

Destructuring the Response

data DescribeSeverityLevelsResponse Source #

The list of severity levels returned by the DescribeSeverityLevels operation.

See: newDescribeSeverityLevelsResponse smart constructor.

Constructors

DescribeSeverityLevelsResponse' 

Fields

  • severityLevels :: Maybe [SeverityLevel]

    The available severity levels for the support case. Available severity levels are defined by your service level agreement with Amazon Web Services.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeSeverityLevelsResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Associated Types

type Rep DescribeSeverityLevelsResponse :: Type -> Type #

Read DescribeSeverityLevelsResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Show DescribeSeverityLevelsResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

NFData DescribeSeverityLevelsResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

Eq DescribeSeverityLevelsResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

type Rep DescribeSeverityLevelsResponse Source # 
Instance details

Defined in Amazonka.Support.DescribeSeverityLevels

type Rep DescribeSeverityLevelsResponse = D1 ('MetaData "DescribeSeverityLevelsResponse" "Amazonka.Support.DescribeSeverityLevels" "amazonka-support-2.0-LbNYGbwzg4MCCJkN4B0nCH" 'False) (C1 ('MetaCons "DescribeSeverityLevelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "severityLevels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SeverityLevel])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeSeverityLevelsResponse Source #

Create a value of DescribeSeverityLevelsResponse 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:severityLevels:DescribeSeverityLevelsResponse', describeSeverityLevelsResponse_severityLevels - The available severity levels for the support case. Available severity levels are defined by your service level agreement with Amazon Web Services.

$sel:httpStatus:DescribeSeverityLevelsResponse', describeSeverityLevelsResponse_httpStatus - The response's http status code.

Response Lenses

describeSeverityLevelsResponse_severityLevels :: Lens' DescribeSeverityLevelsResponse (Maybe [SeverityLevel]) Source #

The available severity levels for the support case. Available severity levels are defined by your service level agreement with Amazon Web Services.