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 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.
GetCampaign' | |
|
Instances
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:
$sel:campaignId:GetCampaign'
, getCampaign_campaignId
- The unique identifier for the campaign.
$sel:applicationId: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.
GetCampaignResponse' | |
|
Instances
newGetCampaignResponse Source #
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.