libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.UpdateJourneyState

Description

Cancels (stops) an active journey.

Synopsis

Creating a Request

data UpdateJourneyState Source #

See: newUpdateJourneyState smart constructor.

Constructors

UpdateJourneyState' 

Fields

Instances

Instances details
Eq UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Read UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Show UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Generic UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Associated Types

type Rep UpdateJourneyState :: Type -> Type #

NFData UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Methods

rnf :: UpdateJourneyState -> () #

Hashable UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

ToJSON UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

AWSRequest UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Associated Types

type AWSResponse UpdateJourneyState #

ToHeaders UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

ToPath UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

ToQuery UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

type Rep UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

type Rep UpdateJourneyState = D1 ('MetaData "UpdateJourneyState" "Amazonka.Pinpoint.UpdateJourneyState" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "UpdateJourneyState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "journeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "journeyStateRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JourneyStateRequest))))
type AWSResponse UpdateJourneyState Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

newUpdateJourneyState Source #

Create a value of UpdateJourneyState 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:UpdateJourneyState', updateJourneyState_journeyId - The unique identifier for the journey.

$sel:applicationId:UpdateJourneyState', updateJourneyState_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

$sel:journeyStateRequest:UpdateJourneyState', updateJourneyState_journeyStateRequest - Undocumented member.

Request Lenses

updateJourneyState_journeyId :: Lens' UpdateJourneyState Text Source #

The unique identifier for the journey.

updateJourneyState_applicationId :: Lens' UpdateJourneyState 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 UpdateJourneyStateResponse Source #

See: newUpdateJourneyStateResponse smart constructor.

Constructors

UpdateJourneyStateResponse' 

Fields

Instances

Instances details
Eq UpdateJourneyStateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Read UpdateJourneyStateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Show UpdateJourneyStateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Generic UpdateJourneyStateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

Associated Types

type Rep UpdateJourneyStateResponse :: Type -> Type #

NFData UpdateJourneyStateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

type Rep UpdateJourneyStateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.UpdateJourneyState

type Rep UpdateJourneyStateResponse = D1 ('MetaData "UpdateJourneyStateResponse" "Amazonka.Pinpoint.UpdateJourneyState" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "UpdateJourneyStateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "journeyResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JourneyResponse)))

newUpdateJourneyStateResponse Source #

Create a value of UpdateJourneyStateResponse 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:UpdateJourneyStateResponse', updateJourneyStateResponse_httpStatus - The response's http status code.

$sel:journeyResponse:UpdateJourneyStateResponse', updateJourneyStateResponse_journeyResponse - Undocumented member.

Response Lenses