Copyright | (c) 2013-2021 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 |
Synopsis
- data ListWebhookItem = ListWebhookItem' {
- arn :: Maybe Text
- errorCode :: Maybe Text
- lastTriggered :: Maybe POSIX
- errorMessage :: Maybe Text
- tags :: Maybe [Tag]
- definition :: WebhookDefinition
- url :: Text
- newListWebhookItem :: WebhookDefinition -> Text -> ListWebhookItem
- listWebhookItem_arn :: Lens' ListWebhookItem (Maybe Text)
- listWebhookItem_errorCode :: Lens' ListWebhookItem (Maybe Text)
- listWebhookItem_lastTriggered :: Lens' ListWebhookItem (Maybe UTCTime)
- listWebhookItem_errorMessage :: Lens' ListWebhookItem (Maybe Text)
- listWebhookItem_tags :: Lens' ListWebhookItem (Maybe [Tag])
- listWebhookItem_definition :: Lens' ListWebhookItem WebhookDefinition
- listWebhookItem_url :: Lens' ListWebhookItem Text
Documentation
data ListWebhookItem Source #
The detail returned for each webhook after listing webhooks, such as the webhook URL, the webhook name, and the webhook ARN.
See: newListWebhookItem
smart constructor.
ListWebhookItem' | |
|
Instances
:: WebhookDefinition | |
-> Text | |
-> ListWebhookItem |
Create a value of ListWebhookItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:ListWebhookItem'
, listWebhookItem_arn
- The Amazon Resource Name (ARN) of the webhook.
$sel:errorCode:ListWebhookItem'
, listWebhookItem_errorCode
- The number code of the error.
$sel:lastTriggered:ListWebhookItem'
, listWebhookItem_lastTriggered
- The date and time a webhook was last successfully triggered, in
timestamp format.
$sel:errorMessage:ListWebhookItem'
, listWebhookItem_errorMessage
- The text of the error message about the webhook.
$sel:tags:ListWebhookItem'
, listWebhookItem_tags
- Specifies the tags applied to the webhook.
$sel:definition:ListWebhookItem'
, listWebhookItem_definition
- The detail returned for each webhook, such as the webhook authentication
type and filter rules.
$sel:url:ListWebhookItem'
, listWebhookItem_url
- A unique URL generated by CodePipeline. When a POST request is made to
this URL, the defined pipeline is started as long as the body of the
post request satisfies the defined authentication and filtering
conditions. Deleting and re-creating a webhook makes the old URL invalid
and generates a new one.
listWebhookItem_arn :: Lens' ListWebhookItem (Maybe Text) Source #
The Amazon Resource Name (ARN) of the webhook.
listWebhookItem_errorCode :: Lens' ListWebhookItem (Maybe Text) Source #
The number code of the error.
listWebhookItem_lastTriggered :: Lens' ListWebhookItem (Maybe UTCTime) Source #
The date and time a webhook was last successfully triggered, in timestamp format.
listWebhookItem_errorMessage :: Lens' ListWebhookItem (Maybe Text) Source #
The text of the error message about the webhook.
listWebhookItem_tags :: Lens' ListWebhookItem (Maybe [Tag]) Source #
Specifies the tags applied to the webhook.
listWebhookItem_definition :: Lens' ListWebhookItem WebhookDefinition Source #
The detail returned for each webhook, such as the webhook authentication type and filter rules.
listWebhookItem_url :: Lens' ListWebhookItem Text Source #
A unique URL generated by CodePipeline. When a POST request is made to this URL, the defined pipeline is started as long as the body of the post request satisfies the defined authentication and filtering conditions. Deleting and re-creating a webhook makes the old URL invalid and generates a new one.