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

Description

Deletes a webhook.

Synopsis

Creating a Request

data DeleteWebhook Source #

The request structure for the delete webhook request.

See: newDeleteWebhook smart constructor.

Constructors

DeleteWebhook' 

Fields

Instances

Instances details
Eq DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Read DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Show DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Generic DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Associated Types

type Rep DeleteWebhook :: Type -> Type #

NFData DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Methods

rnf :: DeleteWebhook -> () #

Hashable DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

AWSRequest DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Associated Types

type AWSResponse DeleteWebhook #

ToHeaders DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

ToPath DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

ToQuery DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

type Rep DeleteWebhook Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

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

Defined in Amazonka.Amplify.DeleteWebhook

newDeleteWebhook Source #

Create a value of DeleteWebhook 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:webhookId:DeleteWebhook', deleteWebhook_webhookId - The unique ID for a webhook.

Request Lenses

deleteWebhook_webhookId :: Lens' DeleteWebhook Text Source #

The unique ID for a webhook.

Destructuring the Response

data DeleteWebhookResponse Source #

The result structure for the delete webhook request.

See: newDeleteWebhookResponse smart constructor.

Constructors

DeleteWebhookResponse' 

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 DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Read DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Show DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Generic DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Associated Types

type Rep DeleteWebhookResponse :: Type -> Type #

NFData DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

Methods

rnf :: DeleteWebhookResponse -> () #

type Rep DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.DeleteWebhook

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

newDeleteWebhookResponse Source #

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

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

Response Lenses

deleteWebhookResponse_webhook :: Lens' DeleteWebhookResponse Webhook Source #

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