| 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 |
Amazonka.Personalize.DeleteCampaign
Description
Removes a campaign by deleting the solution deployment. The solution that the campaign is based on is not deleted and can be redeployed when needed. A deleted campaign can no longer be specified in a GetRecommendations request. For more information on campaigns, see CreateCampaign.
Creating a Request
data DeleteCampaign Source #
See: newDeleteCampaign smart constructor.
Constructors
| DeleteCampaign' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteCampaign |
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:campaignArn:DeleteCampaign', deleteCampaign_campaignArn - The Amazon Resource Name (ARN) of the campaign to delete.
Request Lenses
deleteCampaign_campaignArn :: Lens' DeleteCampaign Text Source #
The Amazon Resource Name (ARN) of the campaign to delete.
Destructuring the Response
data DeleteCampaignResponse Source #
See: newDeleteCampaignResponse smart constructor.
Constructors
| DeleteCampaignResponse' | |
Instances
newDeleteCampaignResponse :: DeleteCampaignResponse Source #
Create a value of DeleteCampaignResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.