libZSservicesZSamazonka-amplifyZSamazonka-amplify
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Amplify.Types.Webhook

Description

 
Synopsis

Documentation

data Webhook Source #

Describes a webhook that connects repository events to an Amplify app.

See: newWebhook smart constructor.

Constructors

Webhook' 

Fields

Instances

Instances details
Eq Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

Methods

(==) :: Webhook -> Webhook -> Bool #

(/=) :: Webhook -> Webhook -> Bool #

Read Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

Show Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

Generic Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

Associated Types

type Rep Webhook :: Type -> Type #

Methods

from :: Webhook -> Rep Webhook x #

to :: Rep Webhook x -> Webhook #

NFData Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

Methods

rnf :: Webhook -> () #

Hashable Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

Methods

hashWithSalt :: Int -> Webhook -> Int #

hash :: Webhook -> Int #

FromJSON Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

type Rep Webhook Source # 
Instance details

Defined in Amazonka.Amplify.Types.Webhook

newWebhook Source #

Create a value of Webhook 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:webhookArn:Webhook', webhook_webhookArn - The Amazon Resource Name (ARN) for the webhook.

$sel:webhookId:Webhook', webhook_webhookId - The ID of the webhook.

$sel:webhookUrl:Webhook', webhook_webhookUrl - The URL of the webhook.

$sel:branchName:Webhook', webhook_branchName - The name for a branch that is part of an Amplify app.

$sel:description:Webhook', webhook_description - The description for a webhook.

$sel:createTime:Webhook', webhook_createTime - The create date and time for a webhook.

$sel:updateTime:Webhook', webhook_updateTime - Updates the date and time for a webhook.

webhook_webhookArn :: Lens' Webhook Text Source #

The Amazon Resource Name (ARN) for the webhook.

webhook_webhookId :: Lens' Webhook Text Source #

The ID of the webhook.

webhook_webhookUrl :: Lens' Webhook Text Source #

The URL of the webhook.

webhook_branchName :: Lens' Webhook Text Source #

The name for a branch that is part of an Amplify app.

webhook_description :: Lens' Webhook Text Source #

The description for a webhook.

webhook_createTime :: Lens' Webhook UTCTime Source #

The create date and time for a webhook.

webhook_updateTime :: Lens' Webhook UTCTime Source #

Updates the date and time for a webhook.