| 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.GetOperationsForResource
Description
Gets operations for a specific resource (e.g., an instance or a static IP).
- getOperationsForResource :: Text -> GetOperationsForResource
- data GetOperationsForResource
- gofrPageToken :: Lens' GetOperationsForResource (Maybe Text)
- gofrResourceName :: Lens' GetOperationsForResource Text
- getOperationsForResourceResponse :: Int -> GetOperationsForResourceResponse
- data GetOperationsForResourceResponse
- gofrrsNextPageCount :: Lens' GetOperationsForResourceResponse (Maybe Text)
- gofrrsNextPageToken :: Lens' GetOperationsForResourceResponse (Maybe Text)
- gofrrsOperations :: Lens' GetOperationsForResourceResponse [Operation]
- gofrrsResponseStatus :: Lens' GetOperationsForResourceResponse Int
Creating a Request
getOperationsForResource Source #
Arguments
| :: Text | |
| -> GetOperationsForResource |
Creates a value of GetOperationsForResource with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gofrPageToken- A token used for advancing to the next page of results from your get operations for resource request.gofrResourceName- The name of the resource for which you are requesting information.
data GetOperationsForResource Source #
See: getOperationsForResource smart constructor.
Instances
Request Lenses
gofrPageToken :: Lens' GetOperationsForResource (Maybe Text) Source #
A token used for advancing to the next page of results from your get operations for resource request.
gofrResourceName :: Lens' GetOperationsForResource Text Source #
The name of the resource for which you are requesting information.
Destructuring the Response
getOperationsForResourceResponse Source #
Arguments
| :: Int | |
| -> GetOperationsForResourceResponse |
Creates a value of GetOperationsForResourceResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gofrrsNextPageCount- (Deprecated) Returns the number of pages of results that remain.gofrrsNextPageToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.gofrrsOperations- An array of key-value pairs containing information about the results of your get operations for resource request.gofrrsResponseStatus- -- | The response status code.
data GetOperationsForResourceResponse Source #
See: getOperationsForResourceResponse smart constructor.
Instances
Response Lenses
gofrrsNextPageCount :: Lens' GetOperationsForResourceResponse (Maybe Text) Source #
(Deprecated) Returns the number of pages of results that remain.
gofrrsNextPageToken :: Lens' GetOperationsForResourceResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
gofrrsOperations :: Lens' GetOperationsForResourceResponse [Operation] Source #
An array of key-value pairs containing information about the results of your get operations for resource request.
gofrrsResponseStatus :: Lens' GetOperationsForResourceResponse Int Source #
- - | The response status code.