| 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.GetCampaign
Description
Retrieves information about the status, configuration, and other settings for a campaign.
Synopsis
- data GetCampaign = GetCampaign' {
- campaignId :: Text
- applicationId :: Text
- newGetCampaign :: Text -> Text -> GetCampaign
- getCampaign_campaignId :: Lens' GetCampaign Text
- getCampaign_applicationId :: Lens' GetCampaign Text
- data GetCampaignResponse = GetCampaignResponse' {}
- newGetCampaignResponse :: Int -> CampaignResponse -> GetCampaignResponse
- getCampaignResponse_httpStatus :: Lens' GetCampaignResponse Int
- getCampaignResponse_campaignResponse :: Lens' GetCampaignResponse CampaignResponse
Creating a Request
data GetCampaign Source #
See: newGetCampaign smart constructor.
Constructors
| GetCampaign' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetCampaign |
Create a value of GetCampaign 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:
GetCampaign, getCampaign_campaignId - The unique identifier for the campaign.
GetCampaign, getCampaign_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getCampaign_campaignId :: Lens' GetCampaign Text Source #
The unique identifier for the campaign.
getCampaign_applicationId :: Lens' GetCampaign Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data GetCampaignResponse Source #
See: newGetCampaignResponse smart constructor.
Constructors
| GetCampaignResponse' | |
Fields
| |
Instances
newGetCampaignResponse Source #
Arguments
| :: Int | |
| -> CampaignResponse | |
| -> GetCampaignResponse |
Create a value of GetCampaignResponse 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:GetCampaignResponse', getCampaignResponse_httpStatus - The response's http status code.
$sel:campaignResponse:GetCampaignResponse', getCampaignResponse_campaignResponse - Undocumented member.
Response Lenses
getCampaignResponse_httpStatus :: Lens' GetCampaignResponse Int Source #
The response's http status code.
getCampaignResponse_campaignResponse :: Lens' GetCampaignResponse CampaignResponse Source #
Undocumented member.