| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.GetCampaignVersions
Description
Retrieves information about the status, configuration, and other settings for all versions of a campaign.
Synopsis
- data GetCampaignVersions = GetCampaignVersions' {
- pageSize :: Maybe Text
- token :: Maybe Text
- applicationId :: Text
- campaignId :: Text
- newGetCampaignVersions :: Text -> Text -> GetCampaignVersions
- getCampaignVersions_pageSize :: Lens' GetCampaignVersions (Maybe Text)
- getCampaignVersions_token :: 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.
Constructors
| GetCampaignVersions' | |
Fields
| |
Instances
newGetCampaignVersions Source #
Arguments
| :: 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: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:token:GetCampaignVersions', getCampaignVersions_token - The NextToken string that specifies which page of results to return in a
paginated response.
GetCampaignVersions, getCampaignVersions_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
GetCampaignVersions, getCampaignVersions_campaignId - The unique identifier for the campaign.
Request Lenses
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_token :: Lens' GetCampaignVersions (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
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.
Constructors
| GetCampaignVersionsResponse' | |
Fields
| |
Instances
newGetCampaignVersionsResponse Source #
Arguments
| :: Int | |
| -> CampaignsResponse | |
| -> GetCampaignVersionsResponse |
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.