:doc:`SSM <../../ssm>` / Client / disassociate_ops_item_related_item

**********************************
disassociate_ops_item_related_item
**********************************



.. py:method:: SSM.Client.disassociate_ops_item_related_item(**kwargs)

  

  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 tool in Amazon Web Services Systems Manager.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItem>`_  


  **Request Syntax**
  ::

    response = client.disassociate_ops_item_related_item(
        OpsItemId='string',
        AssociationId='string'
    )
    
  :type OpsItemId: string
  :param OpsItemId: **[REQUIRED]** 

    The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

    

  
  :type AssociationId: string
  :param AssociationId: **[REQUIRED]** 

    The ID of the association for which you want to delete an association between the OpsItem and a related item.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SSM.Client.exceptions.InternalServerError`

  
  *   :py:class:`SSM.Client.exceptions.OpsItemRelatedItemAssociationNotFoundException`

  
  *   :py:class:`SSM.Client.exceptions.OpsItemNotFoundException`

  
  *   :py:class:`SSM.Client.exceptions.OpsItemInvalidParameterException`

  
  *   :py:class:`SSM.Client.exceptions.OpsItemConflictException`

  