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 |
Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.
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
- A GUID used to identify the operation.
data GetOperation Source #
See: getOperation
smart constructor.
Instances
Request Lenses
goOperationId :: Lens' GetOperation Text Source #
A GUID used to identify the operation.
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
- An array of key-value pairs containing information about the results of your get operation request.gorsResponseStatus
- -- | The response status code.
data GetOperationResponse Source #
See: getOperationResponse
smart constructor.
Instances
Response Lenses
gorsOperation :: Lens' GetOperationResponse (Maybe Operation) Source #
An array of key-value pairs containing information about the results of your get operation request.
gorsResponseStatus :: Lens' GetOperationResponse Int Source #
- - | The response status code.