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 |
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
- data DescribeSeverityLevels = DescribeSeverityLevels' {}
- newDescribeSeverityLevels :: DescribeSeverityLevels
- describeSeverityLevels_language :: Lens' DescribeSeverityLevels (Maybe Text)
- data DescribeSeverityLevelsResponse = DescribeSeverityLevelsResponse' {}
- newDescribeSeverityLevelsResponse :: Int -> DescribeSeverityLevelsResponse
- describeSeverityLevelsResponse_severityLevels :: Lens' DescribeSeverityLevelsResponse (Maybe [SeverityLevel])
- describeSeverityLevelsResponse_httpStatus :: Lens' DescribeSeverityLevelsResponse Int
Creating a Request
data DescribeSeverityLevels Source #
See: newDescribeSeverityLevels
smart constructor.
Instances
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.
DescribeSeverityLevelsResponse' | |
|
Instances
Generic DescribeSeverityLevelsResponse Source # | |
Read DescribeSeverityLevelsResponse Source # | |
Show DescribeSeverityLevelsResponse Source # | |
Defined in Amazonka.Support.DescribeSeverityLevels | |
NFData DescribeSeverityLevelsResponse Source # | |
Defined in Amazonka.Support.DescribeSeverityLevels rnf :: DescribeSeverityLevelsResponse -> () # | |
Eq DescribeSeverityLevelsResponse Source # | |
type Rep DescribeSeverityLevelsResponse Source # | |
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.
describeSeverityLevelsResponse_httpStatus :: Lens' DescribeSeverityLevelsResponse Int Source #
The response's http status code.