Copyright | (c) 2013-2021 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 |
Retrieves information about the status, configuration, and other settings for all versions of a campaign.
Synopsis
- data GetCampaignVersions = GetCampaignVersions' {
- token :: Maybe Text
- pageSize :: Maybe Text
- applicationId :: Text
- campaignId :: Text
- newGetCampaignVersions :: Text -> Text -> GetCampaignVersions
- getCampaignVersions_token :: Lens' GetCampaignVersions (Maybe Text)
- getCampaignVersions_pageSize :: Lens' GetCampaignVersions (Maybe Text)
- getCampaignVersions_applicationId :: Lens' GetCampaignVersions Text
- getCampaignVersions_campaignId :: Lens' GetCampaignVersions Text
- data GetCampaignVersionsResponse = GetCampaignVersionsResponse' {}
- newGetCampaignVersionsResponse :: Int -> CampaignsResponse -> GetCampaignVersionsResponse
- getCampaignVersionsResponse_httpStatus :: Lens' GetCampaignVersionsResponse Int
- getCampaignVersionsResponse_campaignsResponse :: Lens' GetCampaignVersionsResponse CampaignsResponse
Creating a Request
data GetCampaignVersions Source #
See: newGetCampaignVersions
smart constructor.
GetCampaignVersions' | |
|
Instances
newGetCampaignVersions Source #
:: Text | |
-> Text | |
-> GetCampaignVersions |
Create a value of GetCampaignVersions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:token:GetCampaignVersions'
, getCampaignVersions_token
- The NextToken string that specifies which page of results to return in a
paginated response.
$sel:pageSize:GetCampaignVersions'
, getCampaignVersions_pageSize
- The maximum number of items to include in each page of a paginated
response. This parameter is not supported for application, campaign, and
journey metrics.
$sel:applicationId:GetCampaignVersions'
, getCampaignVersions_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:campaignId:GetCampaignVersions'
, getCampaignVersions_campaignId
- The unique identifier for the campaign.
Request Lenses
getCampaignVersions_token :: Lens' GetCampaignVersions (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
getCampaignVersions_pageSize :: Lens' GetCampaignVersions (Maybe Text) Source #
The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
getCampaignVersions_applicationId :: Lens' GetCampaignVersions Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getCampaignVersions_campaignId :: Lens' GetCampaignVersions Text Source #
The unique identifier for the campaign.
Destructuring the Response
data GetCampaignVersionsResponse Source #
See: newGetCampaignVersionsResponse
smart constructor.
GetCampaignVersionsResponse' | |
|
Instances
newGetCampaignVersionsResponse Source #
Create a value of GetCampaignVersionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:GetCampaignVersionsResponse'
, getCampaignVersionsResponse_httpStatus
- The response's http status code.
$sel:campaignsResponse:GetCampaignVersionsResponse'
, getCampaignVersionsResponse_campaignsResponse
- Undocumented member.
Response Lenses
getCampaignVersionsResponse_httpStatus :: Lens' GetCampaignVersionsResponse Int Source #
The response's http status code.
getCampaignVersionsResponse_campaignsResponse :: Lens' GetCampaignVersionsResponse CampaignsResponse Source #
Undocumented member.