:doc:`NetworkManager <../../networkmanager>` / Client / remove_attachment_routing_policy_label

**************************************
remove_attachment_routing_policy_label
**************************************



.. py:method:: NetworkManager.Client.remove_attachment_routing_policy_label(**kwargs)

  

  Removes a routing policy label from an attachment.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RemoveAttachmentRoutingPolicyLabel>`_  


  **Request Syntax**
  ::

    response = client.remove_attachment_routing_policy_label(
        CoreNetworkId='string',
        AttachmentId='string'
    )
    
  :type CoreNetworkId: string
  :param CoreNetworkId: **[REQUIRED]** 

    The ID of the core network containing the attachment.

    

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

    The ID of the attachment to remove the routing policy label from.

    

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

    
    ::

      {
          'CoreNetworkId': 'string',
          'AttachmentId': 'string',
          'RoutingPolicyLabel': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **CoreNetworkId** *(string) --* 

        The ID of the core network containing the attachment.

        
      

      - **AttachmentId** *(string) --* 

        The ID of the attachment from which the routing policy label was removed.

        
      

      - **RoutingPolicyLabel** *(string) --* 

        The routing policy label that was removed from the attachment.

        
  
  **Exceptions**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ConflictException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NetworkManager.Client.exceptions.InternalServerException`

  