| 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.GetCampaignVersion
Description
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.
Constructors
| GetCampaignVersion' | |
Fields
| |
Instances
newGetCampaignVersion Source #
Arguments
| :: 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:
GetCampaignVersion, getCampaignVersion_version - The unique version number (Version property) for the campaign version.
GetCampaignVersion, getCampaignVersion_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
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.
Constructors
| GetCampaignVersionResponse' | |
Fields
| |
Instances
newGetCampaignVersionResponse Source #
Arguments
| :: Int | |
| -> CampaignResponse | |
| -> GetCampaignVersionResponse |
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.