| 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.Pinpoint.UpdateCampaign
Description
Updates the configuration and other settings for a campaign.
Synopsis
- data UpdateCampaign = UpdateCampaign' {}
- newUpdateCampaign :: Text -> Text -> WriteCampaignRequest -> UpdateCampaign
- updateCampaign_campaignId :: Lens' UpdateCampaign Text
- updateCampaign_applicationId :: Lens' UpdateCampaign Text
- updateCampaign_writeCampaignRequest :: Lens' UpdateCampaign WriteCampaignRequest
- data UpdateCampaignResponse = UpdateCampaignResponse' {}
- newUpdateCampaignResponse :: Int -> CampaignResponse -> UpdateCampaignResponse
- updateCampaignResponse_httpStatus :: Lens' UpdateCampaignResponse Int
- updateCampaignResponse_campaignResponse :: Lens' UpdateCampaignResponse CampaignResponse
Creating a Request
data UpdateCampaign Source #
See: newUpdateCampaign smart constructor.
Constructors
| UpdateCampaign' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> WriteCampaignRequest | |
| -> UpdateCampaign |
Create a value of UpdateCampaign 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:
UpdateCampaign, updateCampaign_campaignId - The unique identifier for the campaign.
UpdateCampaign, updateCampaign_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:writeCampaignRequest:UpdateCampaign', updateCampaign_writeCampaignRequest - Undocumented member.
Request Lenses
updateCampaign_campaignId :: Lens' UpdateCampaign Text Source #
The unique identifier for the campaign.
updateCampaign_applicationId :: Lens' UpdateCampaign Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateCampaign_writeCampaignRequest :: Lens' UpdateCampaign WriteCampaignRequest Source #
Undocumented member.
Destructuring the Response
data UpdateCampaignResponse Source #
See: newUpdateCampaignResponse smart constructor.
Constructors
| UpdateCampaignResponse' | |
Fields
| |
Instances
newUpdateCampaignResponse Source #
Arguments
| :: Int | |
| -> CampaignResponse | |
| -> UpdateCampaignResponse |
Create a value of UpdateCampaignResponse 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:UpdateCampaignResponse', updateCampaignResponse_httpStatus - The response's http status code.
$sel:campaignResponse:UpdateCampaignResponse', updateCampaignResponse_campaignResponse - Undocumented member.
Response Lenses
updateCampaignResponse_httpStatus :: Lens' UpdateCampaignResponse Int Source #
The response's http status code.
updateCampaignResponse_campaignResponse :: Lens' UpdateCampaignResponse CampaignResponse Source #
Undocumented member.