Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Configures a connection between the webhook that was created and the external tool with events to be detected.
Synopsis
- data RegisterWebhookWithThirdParty = RegisterWebhookWithThirdParty' {
- webhookName :: Maybe Text
- newRegisterWebhookWithThirdParty :: RegisterWebhookWithThirdParty
- registerWebhookWithThirdParty_webhookName :: Lens' RegisterWebhookWithThirdParty (Maybe Text)
- data RegisterWebhookWithThirdPartyResponse = RegisterWebhookWithThirdPartyResponse' {
- httpStatus :: Int
- newRegisterWebhookWithThirdPartyResponse :: Int -> RegisterWebhookWithThirdPartyResponse
- registerWebhookWithThirdPartyResponse_httpStatus :: Lens' RegisterWebhookWithThirdPartyResponse Int
Creating a Request
data RegisterWebhookWithThirdParty Source #
See: newRegisterWebhookWithThirdParty
smart constructor.
RegisterWebhookWithThirdParty' | |
|
Instances
newRegisterWebhookWithThirdParty :: RegisterWebhookWithThirdParty Source #
Create a value of RegisterWebhookWithThirdParty
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:webhookName:RegisterWebhookWithThirdParty'
, registerWebhookWithThirdParty_webhookName
- The name of an existing webhook created with PutWebhook to register with
a supported third party.
Request Lenses
registerWebhookWithThirdParty_webhookName :: Lens' RegisterWebhookWithThirdParty (Maybe Text) Source #
The name of an existing webhook created with PutWebhook to register with a supported third party.
Destructuring the Response
data RegisterWebhookWithThirdPartyResponse Source #
See: newRegisterWebhookWithThirdPartyResponse
smart constructor.
RegisterWebhookWithThirdPartyResponse' | |
|
Instances
newRegisterWebhookWithThirdPartyResponse Source #
Create a value of RegisterWebhookWithThirdPartyResponse
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:RegisterWebhookWithThirdPartyResponse'
, registerWebhookWithThirdPartyResponse_httpStatus
- The response's http status code.
Response Lenses
registerWebhookWithThirdPartyResponse_httpStatus :: Lens' RegisterWebhookWithThirdPartyResponse Int Source #
The response's http status code.