| 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.DeleteJourney
Description
Deletes a journey from an application.
Synopsis
- data DeleteJourney = DeleteJourney' {
- journeyId :: Text
- applicationId :: Text
- newDeleteJourney :: Text -> Text -> DeleteJourney
- deleteJourney_journeyId :: Lens' DeleteJourney Text
- deleteJourney_applicationId :: Lens' DeleteJourney Text
- data DeleteJourneyResponse = DeleteJourneyResponse' {}
- newDeleteJourneyResponse :: Int -> JourneyResponse -> DeleteJourneyResponse
- deleteJourneyResponse_httpStatus :: Lens' DeleteJourneyResponse Int
- deleteJourneyResponse_journeyResponse :: Lens' DeleteJourneyResponse JourneyResponse
Creating a Request
data DeleteJourney Source #
See: newDeleteJourney smart constructor.
Constructors
| DeleteJourney' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteJourney |
Create a value of DeleteJourney 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:
DeleteJourney, deleteJourney_journeyId - The unique identifier for the journey.
DeleteJourney, deleteJourney_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteJourney_journeyId :: Lens' DeleteJourney Text Source #
The unique identifier for the journey.
deleteJourney_applicationId :: Lens' DeleteJourney 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 DeleteJourneyResponse Source #
See: newDeleteJourneyResponse smart constructor.
Constructors
| DeleteJourneyResponse' | |
Fields
| |
Instances
newDeleteJourneyResponse Source #
Arguments
| :: Int | |
| -> JourneyResponse | |
| -> DeleteJourneyResponse |
Create a value of DeleteJourneyResponse 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:DeleteJourneyResponse', deleteJourneyResponse_httpStatus - The response's http status code.
$sel:journeyResponse:DeleteJourneyResponse', deleteJourneyResponse_journeyResponse - Undocumented member.
Response Lenses
deleteJourneyResponse_httpStatus :: Lens' DeleteJourneyResponse Int Source #
The response's http status code.
deleteJourneyResponse_journeyResponse :: Lens' DeleteJourneyResponse JourneyResponse Source #
Undocumented member.