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.UpdateResponsePlan

Description

Updates the specified response plan.

Synopsis

Creating a Request

data UpdateResponsePlan Source #

See: newUpdateResponsePlan smart constructor.

Constructors

UpdateResponsePlan' 

Fields

Instances

Instances details
Eq UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Read UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Show UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Generic UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Associated Types

type Rep UpdateResponsePlan :: Type -> Type #

NFData UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Methods

rnf :: UpdateResponsePlan -> () #

Hashable UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

ToJSON UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

AWSRequest UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Associated Types

type AWSResponse UpdateResponsePlan #

ToHeaders UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

ToPath UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

ToQuery UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

type Rep UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

type Rep UpdateResponsePlan = D1 ('MetaData "UpdateResponsePlan" "Amazonka.SSMIncidents.UpdateResponsePlan" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "UpdateResponsePlan'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "incidentTemplateImpact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Action])) :*: (S1 ('MetaSel ('Just "incidentTemplateSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "chatChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChatChannel)) :*: (S1 ('MetaSel ('Just "incidentTemplateDedupeString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "incidentTemplateTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "engagements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "incidentTemplateNotificationTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotificationTargetItem])) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse UpdateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

newUpdateResponsePlan Source #

Create a value of UpdateResponsePlan 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:incidentTemplateImpact:UpdateResponsePlan', updateResponsePlan_incidentTemplateImpact - Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.

Possible impacts:

  • 5 - Severe impact
  • 4 - High impact
  • 3 - Medium impact
  • 2 - Low impact
  • 1 - No impact

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

$sel:actions:UpdateResponsePlan', updateResponsePlan_actions - The actions that this response plan takes at the beginning of an incident.

$sel:incidentTemplateSummary:UpdateResponsePlan', updateResponsePlan_incidentTemplateSummary - A brief summary of the incident. This typically contains what has happened, what's currently happening, and next steps.

$sel:displayName:UpdateResponsePlan', updateResponsePlan_displayName - The long format name of the response plan. Can't contain spaces.

$sel:chatChannel:UpdateResponsePlan', updateResponsePlan_chatChannel - The AWS Chatbot chat channel used for collaboration during an incident.

Use the empty structure to remove the chat channel from the response plan.

$sel:incidentTemplateDedupeString:UpdateResponsePlan', updateResponsePlan_incidentTemplateDedupeString - Used to create only one incident record for an incident.

$sel:incidentTemplateTitle:UpdateResponsePlan', updateResponsePlan_incidentTemplateTitle - The short format name of the incident. Can't contain spaces.

$sel:engagements:UpdateResponsePlan', updateResponsePlan_engagements - The contacts and escalation plans that Incident Manager engages at the start of the incident.

$sel:incidentTemplateNotificationTargets:UpdateResponsePlan', updateResponsePlan_incidentTemplateNotificationTargets - The SNS targets that are notified when updates are made to an incident.

$sel:arn:UpdateResponsePlan', updateResponsePlan_arn - The Amazon Resource Name (ARN) of the response plan.

Request Lenses

updateResponsePlan_incidentTemplateImpact :: Lens' UpdateResponsePlan (Maybe Natural) Source #

Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.

Possible impacts:

  • 5 - Severe impact
  • 4 - High impact
  • 3 - Medium impact
  • 2 - Low impact
  • 1 - No impact

updateResponsePlan_clientToken :: Lens' UpdateResponsePlan (Maybe Text) Source #

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

updateResponsePlan_actions :: Lens' UpdateResponsePlan (Maybe [Action]) Source #

The actions that this response plan takes at the beginning of an incident.

updateResponsePlan_incidentTemplateSummary :: Lens' UpdateResponsePlan (Maybe Text) Source #

A brief summary of the incident. This typically contains what has happened, what's currently happening, and next steps.

updateResponsePlan_displayName :: Lens' UpdateResponsePlan (Maybe Text) Source #

The long format name of the response plan. Can't contain spaces.

updateResponsePlan_chatChannel :: Lens' UpdateResponsePlan (Maybe ChatChannel) Source #

The AWS Chatbot chat channel used for collaboration during an incident.

Use the empty structure to remove the chat channel from the response plan.

updateResponsePlan_incidentTemplateDedupeString :: Lens' UpdateResponsePlan (Maybe Text) Source #

Used to create only one incident record for an incident.

updateResponsePlan_incidentTemplateTitle :: Lens' UpdateResponsePlan (Maybe Text) Source #

The short format name of the incident. Can't contain spaces.

updateResponsePlan_engagements :: Lens' UpdateResponsePlan (Maybe [Text]) Source #

The contacts and escalation plans that Incident Manager engages at the start of the incident.

updateResponsePlan_incidentTemplateNotificationTargets :: Lens' UpdateResponsePlan (Maybe [NotificationTargetItem]) Source #

The SNS targets that are notified when updates are made to an incident.

updateResponsePlan_arn :: Lens' UpdateResponsePlan Text Source #

The Amazon Resource Name (ARN) of the response plan.

Destructuring the Response

data UpdateResponsePlanResponse Source #

See: newUpdateResponsePlanResponse smart constructor.

Constructors

UpdateResponsePlanResponse' 

Fields

Instances

Instances details
Eq UpdateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Read UpdateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Show UpdateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Generic UpdateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

Associated Types

type Rep UpdateResponsePlanResponse :: Type -> Type #

NFData UpdateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

type Rep UpdateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateResponsePlan

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

newUpdateResponsePlanResponse Source #

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

Response Lenses