| 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 |
Network.AWS.Lightsail.GetOperations
Description
Returns information about all operations.
Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.
This operation returns paginated results.
- getOperations :: GetOperations
- data GetOperations
- goPageToken :: Lens' GetOperations (Maybe Text)
- getOperationsResponse :: Int -> GetOperationsResponse
- data GetOperationsResponse
- gosrsNextPageToken :: Lens' GetOperationsResponse (Maybe Text)
- gosrsOperations :: Lens' GetOperationsResponse [Operation]
- gosrsResponseStatus :: Lens' GetOperationsResponse Int
Creating a Request
getOperations :: GetOperations Source #
Creates a value of GetOperations with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goPageToken- A token used for advancing to the next page of results from your get operations request.
data GetOperations Source #
See: getOperations smart constructor.
Instances
Request Lenses
goPageToken :: Lens' GetOperations (Maybe Text) Source #
A token used for advancing to the next page of results from your get operations request.
Destructuring the Response
getOperationsResponse Source #
Arguments
| :: Int | |
| -> GetOperationsResponse |
Creates a value of GetOperationsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gosrsNextPageToken- A token used for advancing to the next page of results from your get operations request.gosrsOperations- An array of key-value pairs containing information about the results of your get operations request.gosrsResponseStatus- -- | The response status code.
data GetOperationsResponse Source #
See: getOperationsResponse smart constructor.
Response Lenses
gosrsNextPageToken :: Lens' GetOperationsResponse (Maybe Text) Source #
A token used for advancing to the next page of results from your get operations request.
gosrsOperations :: Lens' GetOperationsResponse [Operation] Source #
An array of key-value pairs containing information about the results of your get operations request.
gosrsResponseStatus :: Lens' GetOperationsResponse Int Source #
- - | The response status code.