Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Add or remove related items from the related items tab of an incident record.
Synopsis
- data UpdateRelatedItems = UpdateRelatedItems' {}
- newUpdateRelatedItems :: Text -> RelatedItemsUpdate -> UpdateRelatedItems
- updateRelatedItems_clientToken :: Lens' UpdateRelatedItems (Maybe Text)
- updateRelatedItems_incidentRecordArn :: Lens' UpdateRelatedItems Text
- updateRelatedItems_relatedItemsUpdate :: Lens' UpdateRelatedItems RelatedItemsUpdate
- data UpdateRelatedItemsResponse = UpdateRelatedItemsResponse' {
- httpStatus :: Int
- newUpdateRelatedItemsResponse :: Int -> UpdateRelatedItemsResponse
- updateRelatedItemsResponse_httpStatus :: Lens' UpdateRelatedItemsResponse Int
Creating a Request
data UpdateRelatedItems Source #
See: newUpdateRelatedItems
smart constructor.
UpdateRelatedItems' | |
|
Instances
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.
UpdateRelatedItemsResponse' | |
|
Instances
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
updateRelatedItemsResponse_httpStatus :: Lens' UpdateRelatedItemsResponse Int Source #
The response's http status code.