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 |
Gets information about any operation that returns an operation ID in the response, such as a CreateService
request.
Creating a Request
Creates a value of GetOperation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goOperationId
- The ID of the operation that you want to get more information about.
data GetOperation Source #
See: getOperation
smart constructor.
Request Lenses
goOperationId :: Lens' GetOperation Text Source #
The ID of the operation that you want to get more information about.
Destructuring the Response
Creates a value of GetOperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gorsOperation
- A complex type that contains information about the operation.gorsResponseStatus
- -- | The response status code.
data GetOperationResponse Source #
See: getOperationResponse
smart constructor.
Response Lenses
gorsOperation :: Lens' GetOperationResponse (Maybe Operation) Source #
A complex type that contains information about the operation.
gorsResponseStatus :: Lens' GetOperationResponse Int Source #
- - | The response status code.