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 |
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.
CreateJourney' | |
|
Instances
:: 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:
$sel:applicationId: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.
CreateJourneyResponse' | |
|
Instances
newCreateJourneyResponse Source #
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.