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 |
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.
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: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.
Instances
Eq DeleteCampaignResponse Source # | |
Defined in Amazonka.Personalize.DeleteCampaign | |
Read DeleteCampaignResponse Source # | |
Show DeleteCampaignResponse Source # | |
Defined in Amazonka.Personalize.DeleteCampaign showsPrec :: Int -> DeleteCampaignResponse -> ShowS # show :: DeleteCampaignResponse -> String # showList :: [DeleteCampaignResponse] -> ShowS # | |
Generic DeleteCampaignResponse Source # | |
Defined in Amazonka.Personalize.DeleteCampaign type Rep DeleteCampaignResponse :: Type -> Type # | |
NFData DeleteCampaignResponse Source # | |
Defined in Amazonka.Personalize.DeleteCampaign rnf :: DeleteCampaignResponse -> () # | |
type Rep DeleteCampaignResponse Source # | |
Defined in Amazonka.Personalize.DeleteCampaign |
newDeleteCampaignResponse :: DeleteCampaignResponse Source #
Create a value of DeleteCampaignResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.