aws ssm disassociate-ops-item-related-item
Deletes the association between an OpsItem and a related item. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a related item association
The following disassociate-ops-item-related-item example deletes the association between the OpsItem and a related item.
aws ssm disassociate-ops-item-related-item --ops-item-id "oi-f99f2EXAMPLE" --association-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--ops-item-idThe ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.--association-idThe ID of the association for which you want to delete an association between the OpsItem and a related item.This command produces no output.
For more information, see Creating an incident for an OpsItem in the AWS Systems Manager User Guide.
Options
--association-idThe ID of the association for which you want to delete an association between the OpsItem and a related item.--ops-item-idThe ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.