| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodePipeline.RegisterWebhookWithThirdParty
Description
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.
Constructors
| RegisterWebhookWithThirdParty' | |
Fields
| |
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.
Constructors
| RegisterWebhookWithThirdPartyResponse' | |
Fields
| |
Instances
newRegisterWebhookWithThirdPartyResponse Source #
Arguments
| :: Int | |
| -> RegisterWebhookWithThirdPartyResponse |
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.