| 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.GetJourney
Description
Retrieves information about the status, configuration, and other settings for a journey.
Synopsis
- data GetJourney = GetJourney' {
- journeyId :: Text
- applicationId :: Text
- newGetJourney :: Text -> Text -> GetJourney
- getJourney_journeyId :: Lens' GetJourney Text
- getJourney_applicationId :: Lens' GetJourney Text
- data GetJourneyResponse = GetJourneyResponse' {}
- newGetJourneyResponse :: Int -> JourneyResponse -> GetJourneyResponse
- getJourneyResponse_httpStatus :: Lens' GetJourneyResponse Int
- getJourneyResponse_journeyResponse :: Lens' GetJourneyResponse JourneyResponse
Creating a Request
data GetJourney Source #
See: newGetJourney smart constructor.
Constructors
| GetJourney' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetJourney |
Create a value of GetJourney 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:
GetJourney, getJourney_journeyId - The unique identifier for the journey.
GetJourney, getJourney_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getJourney_journeyId :: Lens' GetJourney Text Source #
The unique identifier for the journey.
getJourney_applicationId :: Lens' GetJourney 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 GetJourneyResponse Source #
See: newGetJourneyResponse smart constructor.
Constructors
| GetJourneyResponse' | |
Fields
| |
Instances
newGetJourneyResponse Source #
Arguments
| :: Int | |
| -> JourneyResponse | |
| -> GetJourneyResponse |
Create a value of GetJourneyResponse 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:GetJourneyResponse', getJourneyResponse_httpStatus - The response's http status code.
$sel:journeyResponse:GetJourneyResponse', getJourneyResponse_journeyResponse - Undocumented member.
Response Lenses
getJourneyResponse_httpStatus :: Lens' GetJourneyResponse Int Source #
The response's http status code.
getJourneyResponse_journeyResponse :: Lens' GetJourneyResponse JourneyResponse Source #
Undocumented member.