Copyright | (c) 2013-2017 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 |
Returns information about a campaign.
- getCampaign :: Text -> Text -> GetCampaign
- data GetCampaign
- getCampaignId :: Lens' GetCampaign Text
- getApplicationId :: Lens' GetCampaign Text
- getCampaignResponse :: Int -> CampaignResponse -> GetCampaignResponse
- data GetCampaignResponse
- gcrsResponseStatus :: Lens' GetCampaignResponse Int
- gcrsCampaignResponse :: Lens' GetCampaignResponse CampaignResponse
Creating a Request
Creates a value of GetCampaign
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getCampaignId
- Undocumented member.getApplicationId
- Undocumented member.
data GetCampaign Source #
See: getCampaign
smart constructor.
Request Lenses
getCampaignId :: Lens' GetCampaign Text Source #
Undocumented member.
getApplicationId :: Lens' GetCampaign Text Source #
Undocumented member.
Destructuring the Response
Creates a value of GetCampaignResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcrsResponseStatus
- -- | The response status code.gcrsCampaignResponse
- Undocumented member.
data GetCampaignResponse Source #
See: getCampaignResponse
smart constructor.
Response Lenses
gcrsResponseStatus :: Lens' GetCampaignResponse Int Source #
- - | The response status code.
gcrsCampaignResponse :: Lens' GetCampaignResponse CampaignResponse Source #
Undocumented member.