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

Description

Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.

Synopsis

Creating a Request

data CreateResponsePlan Source #

See: newCreateResponsePlan smart constructor.

Constructors

CreateResponsePlan' 

Fields

Instances

Instances details
Eq CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Read CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Show CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Generic CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Associated Types

type Rep CreateResponsePlan :: Type -> Type #

NFData CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Methods

rnf :: CreateResponsePlan -> () #

Hashable CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

ToJSON CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

AWSRequest CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Associated Types

type AWSResponse CreateResponsePlan #

ToHeaders CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

ToPath CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

ToQuery CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

type Rep CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

type AWSResponse CreateResponsePlan Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

newCreateResponsePlan Source #

Create a value of CreateResponsePlan 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:clientToken:CreateResponsePlan', createResponsePlan_clientToken - A token ensuring that the action is called only once with the specified details.

$sel:actions:CreateResponsePlan', createResponsePlan_actions - The actions that the response plan starts at the beginning of an incident.

$sel:displayName:CreateResponsePlan', createResponsePlan_displayName - The long format of the response plan name. This field can contain spaces.

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

$sel:engagements:CreateResponsePlan', createResponsePlan_engagements - The contacts and escalation plans that the response plan engages during an incident.

$sel:tags:CreateResponsePlan', createResponsePlan_tags - A list of tags that you are adding to the response plan.

$sel:incidentTemplate:CreateResponsePlan', createResponsePlan_incidentTemplate - Details used to create an incident when using this response plan.

$sel:name:CreateResponsePlan', createResponsePlan_name - The short format name of the response plan. Can't include spaces.

Request Lenses

createResponsePlan_clientToken :: Lens' CreateResponsePlan (Maybe Text) Source #

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

createResponsePlan_actions :: Lens' CreateResponsePlan (Maybe [Action]) Source #

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

createResponsePlan_displayName :: Lens' CreateResponsePlan (Maybe Text) Source #

The long format of the response plan name. This field can contain spaces.

createResponsePlan_chatChannel :: Lens' CreateResponsePlan (Maybe ChatChannel) Source #

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

createResponsePlan_engagements :: Lens' CreateResponsePlan (Maybe [Text]) Source #

The contacts and escalation plans that the response plan engages during an incident.

createResponsePlan_tags :: Lens' CreateResponsePlan (Maybe (HashMap Text Text)) Source #

A list of tags that you are adding to the response plan.

createResponsePlan_incidentTemplate :: Lens' CreateResponsePlan IncidentTemplate Source #

Details used to create an incident when using this response plan.

createResponsePlan_name :: Lens' CreateResponsePlan Text Source #

The short format name of the response plan. Can't include spaces.

Destructuring the Response

data CreateResponsePlanResponse Source #

See: newCreateResponsePlanResponse smart constructor.

Constructors

CreateResponsePlanResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • arn :: Text

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

Instances

Instances details
Eq CreateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Read CreateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Show CreateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Generic CreateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

Associated Types

type Rep CreateResponsePlanResponse :: Type -> Type #

NFData CreateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

type Rep CreateResponsePlanResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.CreateResponsePlan

type Rep CreateResponsePlanResponse = D1 ('MetaData "CreateResponsePlanResponse" "Amazonka.SSMIncidents.CreateResponsePlan" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "CreateResponsePlanResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateResponsePlanResponse Source #

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

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

Response Lenses

createResponsePlanResponse_arn :: Lens' CreateResponsePlanResponse Text Source #

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