| 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.GetCampaigns
Description
Returns information about your campaigns.
Synopsis
- getCampaigns :: Text -> GetCampaigns
- data GetCampaigns
- gcsToken :: Lens' GetCampaigns (Maybe Text)
- gcsPageSize :: Lens' GetCampaigns (Maybe Text)
- gcsApplicationId :: Lens' GetCampaigns Text
- getCampaignsResponse :: Int -> CampaignsResponse -> GetCampaignsResponse
- data GetCampaignsResponse
- gcsrsResponseStatus :: Lens' GetCampaignsResponse Int
- gcsrsCampaignsResponse :: Lens' GetCampaignsResponse CampaignsResponse
Creating a Request
Arguments
| :: Text | |
| -> GetCampaigns |
Creates a value of GetCampaigns with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcsToken- The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.gcsPageSize- The number of entries you want on each page in the response.gcsApplicationId- Undocumented member.
data GetCampaigns Source #
See: getCampaigns smart constructor.
Instances
Request Lenses
gcsToken :: Lens' GetCampaigns (Maybe Text) Source #
The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
gcsPageSize :: Lens' GetCampaigns (Maybe Text) Source #
The number of entries you want on each page in the response.
gcsApplicationId :: Lens' GetCampaigns Text Source #
Undocumented member.
Destructuring the Response
Creates a value of GetCampaignsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcsrsResponseStatus- -- | The response status code.gcsrsCampaignsResponse- Undocumented member.
data GetCampaignsResponse Source #
See: getCampaignsResponse smart constructor.
Instances
Response Lenses
gcsrsResponseStatus :: Lens' GetCampaignsResponse Int Source #
- - | The response status code.
gcsrsCampaignsResponse :: Lens' GetCampaignsResponse CampaignsResponse Source #
Undocumented member.