libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
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.CodePipeline.DeleteWebhook

Description

Deletes a previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API returns successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different URL.

Synopsis

Creating a Request

data DeleteWebhook Source #

See: newDeleteWebhook smart constructor.

Constructors

DeleteWebhook' 

Fields

  • name :: Text

    The name of the webhook you want to delete.

Instances

Instances details
Eq DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Read DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Show DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Generic DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Associated Types

type Rep DeleteWebhook :: Type -> Type #

NFData DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Methods

rnf :: DeleteWebhook -> () #

Hashable DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

ToJSON DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

AWSRequest DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Associated Types

type AWSResponse DeleteWebhook #

ToHeaders DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

ToPath DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

ToQuery DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

type Rep DeleteWebhook Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

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

Defined in Amazonka.CodePipeline.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:name:DeleteWebhook', deleteWebhook_name - The name of the webhook you want to delete.

Request Lenses

deleteWebhook_name :: Lens' DeleteWebhook Text Source #

The name of the webhook you want to delete.

Destructuring the Response

data DeleteWebhookResponse Source #

See: newDeleteWebhookResponse smart constructor.

Constructors

DeleteWebhookResponse' 

Fields

Instances

Instances details
Eq DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Read DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Show DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Generic DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Associated Types

type Rep DeleteWebhookResponse :: Type -> Type #

NFData DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

Methods

rnf :: DeleteWebhookResponse -> () #

type Rep DeleteWebhookResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.DeleteWebhook

type Rep DeleteWebhookResponse = D1 ('MetaData "DeleteWebhookResponse" "Amazonka.CodePipeline.DeleteWebhook" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "DeleteWebhookResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.

Response Lenses