| 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.ListJourneys
Description
Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.
Synopsis
- data ListJourneys = ListJourneys' {}
- newListJourneys :: Text -> ListJourneys
- listJourneys_pageSize :: Lens' ListJourneys (Maybe Text)
- listJourneys_token :: Lens' ListJourneys (Maybe Text)
- listJourneys_applicationId :: Lens' ListJourneys Text
- data ListJourneysResponse = ListJourneysResponse' {}
- newListJourneysResponse :: Int -> JourneysResponse -> ListJourneysResponse
- listJourneysResponse_httpStatus :: Lens' ListJourneysResponse Int
- listJourneysResponse_journeysResponse :: Lens' ListJourneysResponse JourneysResponse
Creating a Request
data ListJourneys Source #
See: newListJourneys smart constructor.
Constructors
| ListJourneys' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListJourneys |
Create a value of ListJourneys 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:pageSize:ListJourneys', listJourneys_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:token:ListJourneys', listJourneys_token - The NextToken string that specifies which page of results to return in a
paginated response.
ListJourneys, listJourneys_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
listJourneys_pageSize :: Lens' ListJourneys (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.
listJourneys_token :: Lens' ListJourneys (Maybe Text) Source #
The NextToken string that specifies which page of results to return in a paginated response.
listJourneys_applicationId :: Lens' ListJourneys 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 ListJourneysResponse Source #
See: newListJourneysResponse smart constructor.
Constructors
| ListJourneysResponse' | |
Fields
| |
Instances
newListJourneysResponse Source #
Arguments
| :: Int | |
| -> JourneysResponse | |
| -> ListJourneysResponse |
Create a value of ListJourneysResponse 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:ListJourneysResponse', listJourneysResponse_httpStatus - The response's http status code.
$sel:journeysResponse:ListJourneysResponse', listJourneysResponse_journeysResponse - Undocumented member.
Response Lenses
listJourneysResponse_httpStatus :: Lens' ListJourneysResponse Int Source #
The response's http status code.
listJourneysResponse_journeysResponse :: Lens' ListJourneysResponse JourneysResponse Source #
Undocumented member.