| 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 |
Network.AWS.Pinpoint.GetCampaign
Description
Returns information about a campaign.
Synopsis
- 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
Arguments
| :: Text | |
| -> Text | |
| -> GetCampaign |
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.
Instances
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.
Instances
Response Lenses
gcrsResponseStatus :: Lens' GetCampaignResponse Int Source #
- - | The response status code.
gcrsCampaignResponse :: Lens' GetCampaignResponse CampaignResponse Source #
Undocumented member.