libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events
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.CloudWatchEvents.CancelReplay

Description

Cancels the specified replay.

Synopsis

Creating a Request

data CancelReplay Source #

See: newCancelReplay smart constructor.

Constructors

CancelReplay' 

Fields

Instances

Instances details
Eq CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Read CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Show CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Generic CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Associated Types

type Rep CancelReplay :: Type -> Type #

NFData CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Methods

rnf :: CancelReplay -> () #

Hashable CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

ToJSON CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

AWSRequest CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Associated Types

type AWSResponse CancelReplay #

ToHeaders CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

ToPath CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

ToQuery CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

type Rep CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

type Rep CancelReplay = D1 ('MetaData "CancelReplay" "Amazonka.CloudWatchEvents.CancelReplay" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "CancelReplay'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelReplay Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

newCancelReplay Source #

Create a value of CancelReplay 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:replayName:CancelReplay', cancelReplay_replayName - The name of the replay to cancel.

Request Lenses

cancelReplay_replayName :: Lens' CancelReplay Text Source #

The name of the replay to cancel.

Destructuring the Response

data CancelReplayResponse Source #

See: newCancelReplayResponse smart constructor.

Constructors

CancelReplayResponse' 

Fields

Instances

Instances details
Eq CancelReplayResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Read CancelReplayResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Show CancelReplayResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Generic CancelReplayResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Associated Types

type Rep CancelReplayResponse :: Type -> Type #

NFData CancelReplayResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

Methods

rnf :: CancelReplayResponse -> () #

type Rep CancelReplayResponse Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.CancelReplay

type Rep CancelReplayResponse = D1 ('MetaData "CancelReplayResponse" "Amazonka.CloudWatchEvents.CancelReplay" "libZSservicesZSamazonka-cloudwatch-eventsZSamazonka-cloudwatch-events" 'False) (C1 ('MetaCons "CancelReplayResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplayState)) :*: S1 ('MetaSel ('Just "replayArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "stateReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCancelReplayResponse Source #

Create a value of CancelReplayResponse 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:state:CancelReplayResponse', cancelReplayResponse_state - The current state of the replay.

$sel:replayArn:CancelReplayResponse', cancelReplayResponse_replayArn - The ARN of the replay to cancel.

$sel:stateReason:CancelReplayResponse', cancelReplayResponse_stateReason - The reason that the replay is in the current state.

$sel:httpStatus:CancelReplayResponse', cancelReplayResponse_httpStatus - The response's http status code.

Response Lenses

cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text) Source #

The reason that the replay is in the current state.