| 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.CreateJourney
Description
Creates a journey for an application.
Synopsis
- data CreateJourney = CreateJourney' {}
- newCreateJourney :: Text -> WriteJourneyRequest -> CreateJourney
- createJourney_applicationId :: Lens' CreateJourney Text
- createJourney_writeJourneyRequest :: Lens' CreateJourney WriteJourneyRequest
- data CreateJourneyResponse = CreateJourneyResponse' {}
- newCreateJourneyResponse :: Int -> JourneyResponse -> CreateJourneyResponse
- createJourneyResponse_httpStatus :: Lens' CreateJourneyResponse Int
- createJourneyResponse_journeyResponse :: Lens' CreateJourneyResponse JourneyResponse
Creating a Request
data CreateJourney Source #
See: newCreateJourney smart constructor.
Constructors
| CreateJourney' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> WriteJourneyRequest | |
| -> CreateJourney |
Create a value of CreateJourney 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:
CreateJourney, createJourney_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:writeJourneyRequest:CreateJourney', createJourney_writeJourneyRequest - Undocumented member.
Request Lenses
createJourney_applicationId :: Lens' CreateJourney Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
createJourney_writeJourneyRequest :: Lens' CreateJourney WriteJourneyRequest Source #
Undocumented member.
Destructuring the Response
data CreateJourneyResponse Source #
See: newCreateJourneyResponse smart constructor.
Constructors
| CreateJourneyResponse' | |
Fields
| |
Instances
newCreateJourneyResponse Source #
Arguments
| :: Int | |
| -> JourneyResponse | |
| -> CreateJourneyResponse |
Create a value of CreateJourneyResponse 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:CreateJourneyResponse', createJourneyResponse_httpStatus - The response's http status code.
$sel:journeyResponse:CreateJourneyResponse', createJourneyResponse_journeyResponse - Undocumented member.
Response Lenses
createJourneyResponse_httpStatus :: Lens' CreateJourneyResponse Int Source #
The response's http status code.
createJourneyResponse_journeyResponse :: Lens' CreateJourneyResponse JourneyResponse Source #
Undocumented member.