Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 or Enterprise Support plan to use the AWS Support API.
- If you call the AWS Support API from an account that does not have a
Business or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see AWS 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:
$sel:language:DescribeSeverityLevels'
, describeSeverityLevels_language
- The ISO 639-1 code for the language in which AWS provides support. AWS
Support currently supports English ("en") and Japanese ("ja").
Language parameters must be passed explicitly for operations that take
them.
Request Lenses
describeSeverityLevels_language :: Lens' DescribeSeverityLevels (Maybe Text) Source #
The ISO 639-1 code for the language in which AWS provides support. AWS Support currently supports English ("en") and Japanese ("ja"). Language parameters must be passed explicitly for operations that take them.
Destructuring the Response
data DescribeSeverityLevelsResponse Source #
The list of severity levels returned by the DescribeSeverityLevels operation.
See: newDescribeSeverityLevelsResponse
smart constructor.
DescribeSeverityLevelsResponse' | |
|
Instances
Eq DescribeSeverityLevelsResponse Source # | |
Read DescribeSeverityLevelsResponse Source # | |
Show DescribeSeverityLevelsResponse Source # | |
Defined in Amazonka.Support.DescribeSeverityLevels | |
Generic DescribeSeverityLevelsResponse Source # | |
NFData DescribeSeverityLevelsResponse Source # | |
Defined in Amazonka.Support.DescribeSeverityLevels rnf :: DescribeSeverityLevelsResponse -> () # | |
type Rep DescribeSeverityLevelsResponse Source # | |
Defined in Amazonka.Support.DescribeSeverityLevels type Rep DescribeSeverityLevelsResponse = D1 ('MetaData "DescribeSeverityLevelsResponse" "Amazonka.Support.DescribeSeverityLevels" "libZSservicesZSamazonka-supportZSamazonka-support" '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 AWS.
$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 AWS.
describeSeverityLevelsResponse_httpStatus :: Lens' DescribeSeverityLevelsResponse Int Source #
The response's http status code.