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

Description

Returns the webhook information that corresponds to a specified webhook ID.

Synopsis

Creating a Request

data GetWebhook Source #

The request structure for the get webhook request.

See: newGetWebhook smart constructor.

Constructors

GetWebhook' 

Fields

Instances

Instances details
Eq GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Read GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Show GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Generic GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Associated Types

type Rep GetWebhook :: Type -> Type #

NFData GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Methods

rnf :: GetWebhook -> () #

Hashable GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

AWSRequest GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Associated Types

type AWSResponse GetWebhook #

ToHeaders GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Methods

toHeaders :: GetWebhook -> [Header] #

ToPath GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

ToQuery GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

type Rep GetWebhook Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

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

Defined in Amazonka.Amplify.GetWebhook

newGetWebhook Source #

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

Request Lenses

getWebhook_webhookId :: Lens' GetWebhook Text Source #

The unique ID for a webhook.

Destructuring the Response

data GetWebhookResponse Source #

The result structure for the get webhook request.

See: newGetWebhookResponse smart constructor.

Constructors

GetWebhookResponse' 

Fields

Instances

Instances details
Eq GetWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Read GetWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Show GetWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Generic GetWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Associated Types

type Rep GetWebhookResponse :: Type -> Type #

NFData GetWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

Methods

rnf :: GetWebhookResponse -> () #

type Rep GetWebhookResponse Source # 
Instance details

Defined in Amazonka.Amplify.GetWebhook

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

newGetWebhookResponse Source #

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

$sel:webhook:GetWebhookResponse', getWebhookResponse_webhook - Describes the structure of a webhook.

Response Lenses

getWebhookResponse_webhook :: Lens' GetWebhookResponse Webhook Source #

Describes the structure of a webhook.