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 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.
GetJourney' | |
|
Instances
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:
$sel:journeyId:GetJourney'
, getJourney_journeyId
- The unique identifier for the journey.
$sel:applicationId: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.
GetJourneyResponse' | |
|
Instances
newGetJourneyResponse Source #
:: 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.