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 a listing of all the webhooks in this region for this account. The output lists all webhooks and includes the webhook URL and ARN, as well the configuration for each webhook.
- listWebhooks :: ListWebhooks
- data ListWebhooks
- lwNextToken :: Lens' ListWebhooks (Maybe Text)
- lwMaxResults :: Lens' ListWebhooks (Maybe Natural)
- listWebhooksResponse :: Int -> ListWebhooksResponse
- data ListWebhooksResponse
- lwrsNextToken :: Lens' ListWebhooksResponse (Maybe Text)
- lwrsWebhooks :: Lens' ListWebhooksResponse [ListWebhookItem]
- lwrsResponseStatus :: Lens' ListWebhooksResponse Int
Creating a Request
listWebhooks :: ListWebhooks Source #
Creates a value of ListWebhooks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lwNextToken
- The token that was returned from the previous ListWebhooks call, which can be used to return the next set of webhooks in the list.lwMaxResults
- The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.
data ListWebhooks Source #
See: listWebhooks
smart constructor.
Request Lenses
lwNextToken :: Lens' ListWebhooks (Maybe Text) Source #
The token that was returned from the previous ListWebhooks call, which can be used to return the next set of webhooks in the list.
lwMaxResults :: Lens' ListWebhooks (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.
Destructuring the Response
Creates a value of ListWebhooksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lwrsNextToken
- If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.lwrsWebhooks
- The JSON detail returned for each webhook in the list output for the ListWebhooks call.lwrsResponseStatus
- -- | The response status code.
data ListWebhooksResponse Source #
See: listWebhooksResponse
smart constructor.
Response Lenses
lwrsNextToken :: Lens' ListWebhooksResponse (Maybe Text) Source #
If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.
lwrsWebhooks :: Lens' ListWebhooksResponse [ListWebhookItem] Source #
The JSON detail returned for each webhook in the list output for the ListWebhooks call.
lwrsResponseStatus :: Lens' ListWebhooksResponse Int Source #
- - | The response status code.