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 |
Resolves a support case. This operation takes a caseId
and returns the
initial and final state of the case.
- 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 ResolveCase = ResolveCase' {}
- newResolveCase :: ResolveCase
- resolveCase_caseId :: Lens' ResolveCase (Maybe Text)
- data ResolveCaseResponse = ResolveCaseResponse' {}
- newResolveCaseResponse :: Int -> ResolveCaseResponse
- resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
- resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
- resolveCaseResponse_httpStatus :: Lens' ResolveCaseResponse Int
Creating a Request
data ResolveCase Source #
See: newResolveCase
smart constructor.
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:
$sel:caseId: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.
ResolveCaseResponse' | |
|
Instances
newResolveCaseResponse Source #
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:initialCaseStatus:ResolveCaseResponse'
, resolveCaseResponse_initialCaseStatus
- The status of the case when the ResolveCase request was sent.
$sel:finalCaseStatus:ResolveCaseResponse'
, resolveCaseResponse_finalCaseStatus
- The status of the case after the ResolveCase request was processed.
$sel:httpStatus:ResolveCaseResponse'
, resolveCaseResponse_httpStatus
- The response's http status code.
Response Lenses
resolveCaseResponse_initialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #
The status of the case when the ResolveCase request was sent.
resolveCaseResponse_finalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #
The status of the case after the ResolveCase request was processed.
resolveCaseResponse_httpStatus :: Lens' ResolveCaseResponse Int Source #
The response's http status code.