| 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 |
Amazonka.Support.ResolveCase
Description
Resolves a support case. This operation takes a caseId and returns the
initial and final state of the case.
- 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
SubscriptionRequiredExceptionerror message appears. For information about changing your support plan, see Amazon Web Services Support.
Synopsis
- data ResolveCase = ResolveCase' {}
- newResolveCase :: ResolveCase
- resolveCase_caseId :: Lens' ResolveCase (Maybe Text)
- data ResolveCaseResponse = ResolveCaseResponse' {}
- newResolveCaseResponse :: Int -> ResolveCaseResponse
- resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
- resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
- resolveCaseResponse_httpStatus :: Lens' ResolveCaseResponse Int
Creating a Request
data ResolveCase Source #
See: newResolveCase smart constructor.
Constructors
| ResolveCase' | |
Instances
newResolveCase :: ResolveCase Source #
Create a value of ResolveCase 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:
ResolveCase, resolveCase_caseId - The support case ID requested or returned in the call. The case ID is an
alphanumeric string formatted as shown in this example:
case-12345678910-2013-c4c1d2bf33c5cf47
Request Lenses
resolveCase_caseId :: Lens' ResolveCase (Maybe Text) Source #
The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
Destructuring the Response
data ResolveCaseResponse Source #
The status of the case returned by the ResolveCase operation.
See: newResolveCaseResponse smart constructor.
Constructors
| ResolveCaseResponse' | |
Fields
| |
Instances
newResolveCaseResponse Source #
Arguments
| :: Int | |
| -> ResolveCaseResponse |
Create a value of ResolveCaseResponse 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:finalCaseStatus:ResolveCaseResponse', resolveCaseResponse_finalCaseStatus - The status of the case after the ResolveCase request was processed.
$sel:initialCaseStatus:ResolveCaseResponse', resolveCaseResponse_initialCaseStatus - The status of the case when the ResolveCase request was sent.
$sel:httpStatus:ResolveCaseResponse', resolveCaseResponse_httpStatus - The response's http status code.
Response Lenses
resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #
The status of the case after the ResolveCase request was processed.
resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #
The status of the case when the ResolveCase request was sent.
resolveCaseResponse_httpStatus :: Lens' ResolveCaseResponse Int Source #
The response's http status code.