libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.UpdateTimelineEvent

Description

Updates a timeline event. You can update events of type Custom Event.

Synopsis

Creating a Request

data UpdateTimelineEvent Source #

See: newUpdateTimelineEvent smart constructor.

Constructors

UpdateTimelineEvent' 

Fields

Instances

Instances details
Eq UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Read UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Show UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Generic UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Associated Types

type Rep UpdateTimelineEvent :: Type -> Type #

NFData UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Methods

rnf :: UpdateTimelineEvent -> () #

Hashable UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

ToJSON UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

AWSRequest UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Associated Types

type AWSResponse UpdateTimelineEvent #

ToHeaders UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

ToPath UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

ToQuery UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

type Rep UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

type Rep UpdateTimelineEvent = D1 ('MetaData "UpdateTimelineEvent" "Amazonka.SSMIncidents.UpdateTimelineEvent" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "UpdateTimelineEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "eventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "incidentRecordArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateTimelineEvent Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

newUpdateTimelineEvent Source #

Create a value of UpdateTimelineEvent 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:eventData:UpdateTimelineEvent', updateTimelineEvent_eventData - A short description of the event.

$sel:clientToken:UpdateTimelineEvent', updateTimelineEvent_clientToken - A token ensuring that the action is called only once with the specified details.

$sel:eventTime:UpdateTimelineEvent', updateTimelineEvent_eventTime - The time that the event occurred.

$sel:eventType:UpdateTimelineEvent', updateTimelineEvent_eventType - The type of the event. You can update events of type Custom Event.

$sel:eventId:UpdateTimelineEvent', updateTimelineEvent_eventId - The ID of the event you are updating. You can find this by using ListTimelineEvents.

$sel:incidentRecordArn:UpdateTimelineEvent', updateTimelineEvent_incidentRecordArn - The Amazon Resource Name (ARN) of the incident that the timeline event is part of.

Request Lenses

updateTimelineEvent_clientToken :: Lens' UpdateTimelineEvent (Maybe Text) Source #

A token ensuring that the action is called only once with the specified details.

updateTimelineEvent_eventType :: Lens' UpdateTimelineEvent (Maybe Text) Source #

The type of the event. You can update events of type Custom Event.

updateTimelineEvent_eventId :: Lens' UpdateTimelineEvent Text Source #

The ID of the event you are updating. You can find this by using ListTimelineEvents.

updateTimelineEvent_incidentRecordArn :: Lens' UpdateTimelineEvent Text Source #

The Amazon Resource Name (ARN) of the incident that the timeline event is part of.

Destructuring the Response

data UpdateTimelineEventResponse Source #

See: newUpdateTimelineEventResponse smart constructor.

Constructors

UpdateTimelineEventResponse' 

Fields

Instances

Instances details
Eq UpdateTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Read UpdateTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Show UpdateTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Generic UpdateTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

Associated Types

type Rep UpdateTimelineEventResponse :: Type -> Type #

NFData UpdateTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

type Rep UpdateTimelineEventResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateTimelineEvent

type Rep UpdateTimelineEventResponse = D1 ('MetaData "UpdateTimelineEventResponse" "Amazonka.SSMIncidents.UpdateTimelineEvent" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "UpdateTimelineEventResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateTimelineEventResponse Source #

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

Response Lenses