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 all the campaigns that are associated with an application.
Synopsis
- data GetCampaigns = GetCampaigns' {}
- newGetCampaigns :: Text -> GetCampaigns
- getCampaigns_token :: Lens' GetCampaigns (Maybe Text)
- getCampaigns_pageSize :: Lens' GetCampaigns (Maybe Text)
- getCampaigns_applicationId :: Lens' GetCampaigns Text
- data GetCampaignsResponse = GetCampaignsResponse' {}
- newGetCampaignsResponse :: Int -> CampaignsResponse -> GetCampaignsResponse
- getCampaignsResponse_httpStatus :: Lens' GetCampaignsResponse Int
- getCampaignsResponse_campaignsResponse :: Lens' GetCampaignsResponse CampaignsResponse
Creating a Request
data GetCampaigns Source #
See: newGetCampaigns
smart constructor.
GetCampaigns' | |
|
Instances
Create a value of GetCampaigns
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:token:GetCampaigns'
, getCampaigns_token
- The NextToken string that specifies which page of results to return in a
paginated response.
$sel:pageSize:GetCampaigns'
, getCampaigns_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:applicationId:GetCampaigns'
, getCampaigns_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getCampaigns_token :: Lens' GetCampaigns (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
getCampaigns_pageSize :: Lens' GetCampaigns (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.
getCampaigns_applicationId :: Lens' GetCampaigns 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 GetCampaignsResponse Source #
See: newGetCampaignsResponse
smart constructor.
GetCampaignsResponse' | |
|
Instances
newGetCampaignsResponse Source #
Create a value of GetCampaignsResponse
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:GetCampaignsResponse'
, getCampaignsResponse_httpStatus
- The response's http status code.
$sel:campaignsResponse:GetCampaignsResponse'
, getCampaignsResponse_campaignsResponse
- Undocumented member.
Response Lenses
getCampaignsResponse_httpStatus :: Lens' GetCampaignsResponse Int Source #
The response's http status code.
getCampaignsResponse_campaignsResponse :: Lens' GetCampaignsResponse CampaignsResponse Source #
Undocumented member.