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.UpdateWebhook

Description

Updates a webhook.

Synopsis

Creating a Request

data UpdateWebhook Source #

The request structure for the update webhook request.

See: newUpdateWebhook smart constructor.

Constructors

UpdateWebhook' 

Fields

Instances

Instances details
Eq UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Read UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Show UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Generic UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Associated Types

type Rep UpdateWebhook :: Type -> Type #

NFData UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Methods

rnf :: UpdateWebhook -> () #

Hashable UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

ToJSON UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

AWSRequest UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Associated Types

type AWSResponse UpdateWebhook #

ToHeaders UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

ToPath UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

ToQuery UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

type Rep UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

type Rep UpdateWebhook = D1 ('MetaData "UpdateWebhook" "Amazonka.Amplify.UpdateWebhook" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "UpdateWebhook'" 'PrefixI 'True) (S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "webhookId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateWebhook Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

newUpdateWebhook Source #

Create a value of UpdateWebhook 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:branchName:UpdateWebhook', updateWebhook_branchName - The name for a branch that is part of an Amplify app.

$sel:description:UpdateWebhook', updateWebhook_description - The description for a webhook.

$sel:webhookId:UpdateWebhook', updateWebhook_webhookId - The unique ID for a webhook.

Request Lenses

updateWebhook_branchName :: Lens' UpdateWebhook (Maybe Text) Source #

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

updateWebhook_description :: Lens' UpdateWebhook (Maybe Text) Source #

The description for a webhook.

updateWebhook_webhookId :: Lens' UpdateWebhook Text Source #

The unique ID for a webhook.

Destructuring the Response

data UpdateWebhookResponse Source #

The result structure for the update webhook request.

See: newUpdateWebhookResponse smart constructor.

Constructors

UpdateWebhookResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • webhook :: Webhook

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

Instances

Instances details
Eq UpdateWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Read UpdateWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Show UpdateWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Generic UpdateWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Associated Types

type Rep UpdateWebhookResponse :: Type -> Type #

NFData UpdateWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

Methods

rnf :: UpdateWebhookResponse -> () #

type Rep UpdateWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.UpdateWebhook

type Rep UpdateWebhookResponse = D1 ('MetaData "UpdateWebhookResponse" "Amazonka.Amplify.UpdateWebhook" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "UpdateWebhookResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "webhook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Webhook)))

newUpdateWebhookResponse Source #

Create a value of UpdateWebhookResponse 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:httpStatus:UpdateWebhookResponse', updateWebhookResponse_httpStatus - The response's http status code.

$sel:webhook:UpdateWebhookResponse', updateWebhookResponse_webhook - Describes a webhook that connects repository events to an Amplify app.

Response Lenses

updateWebhookResponse_webhook :: Lens' UpdateWebhookResponse Webhook Source #

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