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 |
Deletes the association between an OpsItem and a related item. For example, this API operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of Amazon Web Services Systems Manager.
Synopsis
- data DisassociateOpsItemRelatedItem = DisassociateOpsItemRelatedItem' {
- opsItemId :: Text
- associationId :: Text
- newDisassociateOpsItemRelatedItem :: Text -> Text -> DisassociateOpsItemRelatedItem
- disassociateOpsItemRelatedItem_opsItemId :: Lens' DisassociateOpsItemRelatedItem Text
- disassociateOpsItemRelatedItem_associationId :: Lens' DisassociateOpsItemRelatedItem Text
- data DisassociateOpsItemRelatedItemResponse = DisassociateOpsItemRelatedItemResponse' {
- httpStatus :: Int
- newDisassociateOpsItemRelatedItemResponse :: Int -> DisassociateOpsItemRelatedItemResponse
- disassociateOpsItemRelatedItemResponse_httpStatus :: Lens' DisassociateOpsItemRelatedItemResponse Int
Creating a Request
data DisassociateOpsItemRelatedItem Source #
See: newDisassociateOpsItemRelatedItem
smart constructor.
DisassociateOpsItemRelatedItem' | |
|
Instances
newDisassociateOpsItemRelatedItem Source #
Create a value of DisassociateOpsItemRelatedItem
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:opsItemId:DisassociateOpsItemRelatedItem'
, disassociateOpsItemRelatedItem_opsItemId
- The ID of the OpsItem for which you want to delete an association
between the OpsItem and a related item.
$sel:associationId:DisassociateOpsItemRelatedItem'
, disassociateOpsItemRelatedItem_associationId
- The ID of the association for which you want to delete an association
between the OpsItem and a related item.
Request Lenses
disassociateOpsItemRelatedItem_opsItemId :: Lens' DisassociateOpsItemRelatedItem Text Source #
The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.
disassociateOpsItemRelatedItem_associationId :: Lens' DisassociateOpsItemRelatedItem Text Source #
The ID of the association for which you want to delete an association between the OpsItem and a related item.
Destructuring the Response
data DisassociateOpsItemRelatedItemResponse Source #
See: newDisassociateOpsItemRelatedItemResponse
smart constructor.
DisassociateOpsItemRelatedItemResponse' | |
|
Instances
newDisassociateOpsItemRelatedItemResponse Source #
Create a value of DisassociateOpsItemRelatedItemResponse
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:DisassociateOpsItemRelatedItemResponse'
, disassociateOpsItemRelatedItemResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateOpsItemRelatedItemResponse_httpStatus :: Lens' DisassociateOpsItemRelatedItemResponse Int Source #
The response's http status code.