Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Takes a caseId
and returns the initial state of the case along with the state of the case after the call to ResolveCase
completed.
Synopsis
- resolveCase :: ResolveCase
- data ResolveCase
- rcCaseId :: Lens' ResolveCase (Maybe Text)
- resolveCaseResponse :: Int -> ResolveCaseResponse
- data ResolveCaseResponse
- rcrsInitialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
- rcrsFinalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text)
- rcrsResponseStatus :: Lens' ResolveCaseResponse Int
Creating a Request
resolveCase :: ResolveCase Source #
Creates a value of ResolveCase
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcCaseId
- The AWS 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
data ResolveCase Source #
See: resolveCase
smart constructor.
Instances
Request Lenses
rcCaseId :: Lens' ResolveCase (Maybe Text) Source #
The AWS 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
Creates a value of ResolveCaseResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rcrsInitialCaseStatus
- The status of the case when theResolveCase
request was sent.rcrsFinalCaseStatus
- The status of the case after theResolveCase
request was processed.rcrsResponseStatus
- -- | The response status code.
data ResolveCaseResponse Source #
The status of the case returned by the ResolveCase
operation.
See: resolveCaseResponse
smart constructor.
Instances
Response Lenses
rcrsInitialCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #
The status of the case when the ResolveCase
request was sent.
rcrsFinalCaseStatus :: Lens' ResolveCaseResponse (Maybe Text) Source #
The status of the case after the ResolveCase
request was processed.
rcrsResponseStatus :: Lens' ResolveCaseResponse Int Source #
- - | The response status code.