| 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.UpdateJourney
Description
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.
Constructors
| UpdateJourney' | |
Fields
| |
Instances
Arguments
| :: 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:
UpdateJourney, updateJourney_journeyId - The unique identifier for the journey.
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.
Constructors
| UpdateJourneyResponse' | |
Fields
| |
Instances
newUpdateJourneyResponse Source #
Arguments
| :: Int | |
| -> JourneyResponse | |
| -> UpdateJourneyResponse |
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.