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 |
Deletes a campaign from an application.
Synopsis
- data DeleteCampaign = DeleteCampaign' {
- campaignId :: Text
- applicationId :: Text
- newDeleteCampaign :: Text -> Text -> DeleteCampaign
- deleteCampaign_campaignId :: Lens' DeleteCampaign Text
- deleteCampaign_applicationId :: Lens' DeleteCampaign Text
- data DeleteCampaignResponse = DeleteCampaignResponse' {}
- newDeleteCampaignResponse :: Int -> CampaignResponse -> DeleteCampaignResponse
- deleteCampaignResponse_httpStatus :: Lens' DeleteCampaignResponse Int
- deleteCampaignResponse_campaignResponse :: Lens' DeleteCampaignResponse CampaignResponse
Creating a Request
data DeleteCampaign Source #
See: newDeleteCampaign
smart constructor.
DeleteCampaign' | |
|
Instances
Create a value of DeleteCampaign
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:campaignId:DeleteCampaign'
, deleteCampaign_campaignId
- The unique identifier for the campaign.
$sel:applicationId:DeleteCampaign'
, deleteCampaign_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteCampaign_campaignId :: Lens' DeleteCampaign Text Source #
The unique identifier for the campaign.
deleteCampaign_applicationId :: Lens' DeleteCampaign Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data DeleteCampaignResponse Source #
See: newDeleteCampaignResponse
smart constructor.
DeleteCampaignResponse' | |
|
Instances
newDeleteCampaignResponse Source #
Create a value of DeleteCampaignResponse
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:DeleteCampaignResponse'
, deleteCampaignResponse_httpStatus
- The response's http status code.
$sel:campaignResponse:DeleteCampaignResponse'
, deleteCampaignResponse_campaignResponse
- Undocumented member.
Response Lenses
deleteCampaignResponse_httpStatus :: Lens' DeleteCampaignResponse Int Source #
The response's http status code.
deleteCampaignResponse_campaignResponse :: Lens' DeleteCampaignResponse CampaignResponse Source #
Undocumented member.