Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates or updates a campaign.
Synopsis
- createCampaign :: Text -> WriteCampaignRequest -> CreateCampaign
- data CreateCampaign
- ccApplicationId :: Lens' CreateCampaign Text
- ccWriteCampaignRequest :: Lens' CreateCampaign WriteCampaignRequest
- createCampaignResponse :: Int -> CampaignResponse -> CreateCampaignResponse
- data CreateCampaignResponse
- ccrsResponseStatus :: Lens' CreateCampaignResponse Int
- ccrsCampaignResponse :: Lens' CreateCampaignResponse CampaignResponse
Creating a Request
Creates a value of CreateCampaign
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccApplicationId
- Undocumented member.ccWriteCampaignRequest
- Undocumented member.
data CreateCampaign Source #
See: createCampaign
smart constructor.
Instances
Request Lenses
ccApplicationId :: Lens' CreateCampaign Text Source #
Undocumented member.
ccWriteCampaignRequest :: Lens' CreateCampaign WriteCampaignRequest Source #
Undocumented member.
Destructuring the Response
createCampaignResponse Source #
Creates a value of CreateCampaignResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccrsResponseStatus
- -- | The response status code.ccrsCampaignResponse
- Undocumented member.
data CreateCampaignResponse Source #
See: createCampaignResponse
smart constructor.
Instances
Response Lenses
ccrsResponseStatus :: Lens' CreateCampaignResponse Int Source #
- - | The response status code.
ccrsCampaignResponse :: Lens' CreateCampaignResponse CampaignResponse Source #
Undocumented member.