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

Description

Add or remove related items from the related items tab of an incident record.

Synopsis

Creating a Request

data UpdateRelatedItems Source #

See: newUpdateRelatedItems smart constructor.

Constructors

UpdateRelatedItems' 

Fields

Instances

Instances details
Eq UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Read UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Show UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Generic UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Associated Types

type Rep UpdateRelatedItems :: Type -> Type #

NFData UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Methods

rnf :: UpdateRelatedItems -> () #

Hashable UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

ToJSON UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

AWSRequest UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Associated Types

type AWSResponse UpdateRelatedItems #

ToHeaders UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

ToPath UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

ToQuery UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

type Rep UpdateRelatedItems Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

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

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

newUpdateRelatedItems Source #

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

$sel:incidentRecordArn:UpdateRelatedItems', updateRelatedItems_incidentRecordArn - The Amazon Resource Name (ARN) of the incident record you are updating related items in.

$sel:relatedItemsUpdate:UpdateRelatedItems', updateRelatedItems_relatedItemsUpdate - Details about the item you are adding or deleting.

Request Lenses

updateRelatedItems_clientToken :: Lens' UpdateRelatedItems (Maybe Text) Source #

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

updateRelatedItems_incidentRecordArn :: Lens' UpdateRelatedItems Text Source #

The Amazon Resource Name (ARN) of the incident record you are updating related items in.

updateRelatedItems_relatedItemsUpdate :: Lens' UpdateRelatedItems RelatedItemsUpdate Source #

Details about the item you are adding or deleting.

Destructuring the Response

data UpdateRelatedItemsResponse Source #

See: newUpdateRelatedItemsResponse smart constructor.

Constructors

UpdateRelatedItemsResponse' 

Fields

Instances

Instances details
Eq UpdateRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Read UpdateRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Show UpdateRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Generic UpdateRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

Associated Types

type Rep UpdateRelatedItemsResponse :: Type -> Type #

NFData UpdateRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

type Rep UpdateRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.UpdateRelatedItems

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

newUpdateRelatedItemsResponse Source #

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

Response Lenses