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 |
Returns information about your campaign versions.
Synopsis
- getCampaignVersions :: Text -> Text -> GetCampaignVersions
- data GetCampaignVersions
- gcvToken :: Lens' GetCampaignVersions (Maybe Text)
- gcvPageSize :: Lens' GetCampaignVersions (Maybe Text)
- gcvApplicationId :: Lens' GetCampaignVersions Text
- gcvCampaignId :: Lens' GetCampaignVersions Text
- getCampaignVersionsResponse :: Int -> CampaignsResponse -> GetCampaignVersionsResponse
- data GetCampaignVersionsResponse
- gcvrsResponseStatus :: Lens' GetCampaignVersionsResponse Int
- gcvrsCampaignsResponse :: Lens' GetCampaignVersionsResponse CampaignsResponse
Creating a Request
Creates a value of GetCampaignVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcvToken
- The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.gcvPageSize
- The number of entries you want on each page in the response.gcvApplicationId
- Undocumented member.gcvCampaignId
- Undocumented member.
data GetCampaignVersions Source #
See: getCampaignVersions
smart constructor.
Instances
Request Lenses
gcvToken :: Lens' GetCampaignVersions (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.
gcvPageSize :: Lens' GetCampaignVersions (Maybe Text) Source #
The number of entries you want on each page in the response.
gcvApplicationId :: Lens' GetCampaignVersions Text Source #
Undocumented member.
gcvCampaignId :: Lens' GetCampaignVersions Text Source #
Undocumented member.
Destructuring the Response
getCampaignVersionsResponse Source #
Creates a value of GetCampaignVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcvrsResponseStatus
- -- | The response status code.gcvrsCampaignsResponse
- Undocumented member.
data GetCampaignVersionsResponse Source #
See: getCampaignVersionsResponse
smart constructor.
Instances
Response Lenses
gcvrsResponseStatus :: Lens' GetCampaignVersionsResponse Int Source #
- - | The response status code.
gcvrsCampaignsResponse :: Lens' GetCampaignVersionsResponse CampaignsResponse Source #
Undocumented member.