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 |
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.
DeleteJourney' | |
|
Instances
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:
$sel:journeyId:DeleteJourney'
, deleteJourney_journeyId
- The unique identifier for the journey.
$sel:applicationId: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.
DeleteJourneyResponse' | |
|
Instances
newDeleteJourneyResponse Source #
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.