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 a specific version of a campaign.
Synopsis
- data GetCampaignVersion = GetCampaignVersion' {
- version :: Text
- applicationId :: Text
- campaignId :: Text
- newGetCampaignVersion :: Text -> Text -> Text -> GetCampaignVersion
- getCampaignVersion_version :: Lens' GetCampaignVersion Text
- getCampaignVersion_applicationId :: Lens' GetCampaignVersion Text
- getCampaignVersion_campaignId :: Lens' GetCampaignVersion Text
- data GetCampaignVersionResponse = GetCampaignVersionResponse' {}
- newGetCampaignVersionResponse :: Int -> CampaignResponse -> GetCampaignVersionResponse
- getCampaignVersionResponse_httpStatus :: Lens' GetCampaignVersionResponse Int
- getCampaignVersionResponse_campaignResponse :: Lens' GetCampaignVersionResponse CampaignResponse
Creating a Request
data GetCampaignVersion Source #
See: newGetCampaignVersion
smart constructor.
GetCampaignVersion' | |
|
Instances
newGetCampaignVersion Source #
:: Text | |
-> Text | |
-> Text | |
-> GetCampaignVersion |
Create a value of GetCampaignVersion
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:version:GetCampaignVersion'
, getCampaignVersion_version
- The unique version number (Version property) for the campaign version.
$sel:applicationId:GetCampaignVersion'
, getCampaignVersion_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:campaignId:GetCampaignVersion'
, getCampaignVersion_campaignId
- The unique identifier for the campaign.
Request Lenses
getCampaignVersion_version :: Lens' GetCampaignVersion Text Source #
The unique version number (Version property) for the campaign version.
getCampaignVersion_applicationId :: Lens' GetCampaignVersion Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getCampaignVersion_campaignId :: Lens' GetCampaignVersion Text Source #
The unique identifier for the campaign.
Destructuring the Response
data GetCampaignVersionResponse Source #
See: newGetCampaignVersionResponse
smart constructor.
GetCampaignVersionResponse' | |
|
Instances
newGetCampaignVersionResponse Source #
Create a value of GetCampaignVersionResponse
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:GetCampaignVersionResponse'
, getCampaignVersionResponse_httpStatus
- The response's http status code.
$sel:campaignResponse:GetCampaignVersionResponse'
, getCampaignVersionResponse_campaignResponse
- Undocumented member.
Response Lenses
getCampaignVersionResponse_httpStatus :: Lens' GetCampaignVersionResponse Int Source #
The response's http status code.
getCampaignVersionResponse_campaignResponse :: Lens' GetCampaignVersionResponse CampaignResponse Source #
Undocumented member.