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 |
Updates the configuration and other settings for a journey.
Synopsis
- data UpdateJourney = UpdateJourney' {}
- newUpdateJourney :: Text -> Text -> WriteJourneyRequest -> UpdateJourney
- updateJourney_journeyId :: Lens' UpdateJourney Text
- updateJourney_applicationId :: Lens' UpdateJourney Text
- updateJourney_writeJourneyRequest :: Lens' UpdateJourney WriteJourneyRequest
- data UpdateJourneyResponse = UpdateJourneyResponse' {}
- newUpdateJourneyResponse :: Int -> JourneyResponse -> UpdateJourneyResponse
- updateJourneyResponse_httpStatus :: Lens' UpdateJourneyResponse Int
- updateJourneyResponse_journeyResponse :: Lens' UpdateJourneyResponse JourneyResponse
Creating a Request
data UpdateJourney Source #
See: newUpdateJourney
smart constructor.
UpdateJourney' | |
|
Instances
:: Text | |
-> Text | |
-> WriteJourneyRequest | |
-> UpdateJourney |
Create a value of UpdateJourney
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:UpdateJourney'
, updateJourney_journeyId
- The unique identifier for the journey.
$sel:applicationId:UpdateJourney'
, updateJourney_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:writeJourneyRequest:UpdateJourney'
, updateJourney_writeJourneyRequest
- Undocumented member.
Request Lenses
updateJourney_journeyId :: Lens' UpdateJourney Text Source #
The unique identifier for the journey.
updateJourney_applicationId :: Lens' UpdateJourney Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateJourney_writeJourneyRequest :: Lens' UpdateJourney WriteJourneyRequest Source #
Undocumented member.
Destructuring the Response
data UpdateJourneyResponse Source #
See: newUpdateJourneyResponse
smart constructor.
UpdateJourneyResponse' | |
|
Instances
newUpdateJourneyResponse Source #
Create a value of UpdateJourneyResponse
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:UpdateJourneyResponse'
, updateJourneyResponse_httpStatus
- The response's http status code.
$sel:journeyResponse:UpdateJourneyResponse'
, updateJourneyResponse_journeyResponse
- Undocumented member.
Response Lenses
updateJourneyResponse_httpStatus :: Lens' UpdateJourneyResponse Int Source #
The response's http status code.
updateJourneyResponse_journeyResponse :: Lens' UpdateJourneyResponse JourneyResponse Source #
Undocumented member.