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 |
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.
UpdateCampaign' | |
|
Instances
:: 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:
$sel:campaignId:UpdateCampaign'
, updateCampaign_campaignId
- The unique identifier for the campaign.
$sel:applicationId: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.
UpdateCampaignResponse' | |
|
Instances
newUpdateCampaignResponse Source #
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.