:doc:`ServiceDiscovery <../../servicediscovery>` / Client / delete_service_attributes

*************************
delete_service_attributes
*************************



.. py:method:: ServiceDiscovery.Client.delete_service_attributes(**kwargs)

  

  Deletes specific attributes associated with a service.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteServiceAttributes>`_  


  **Request Syntax**
  ::

    response = client.delete_service_attributes(
        ServiceId='string',
        Attributes=[
            'string',
        ]
    )
    
  :type ServiceId: string
  :param ServiceId: **[REQUIRED]** 

    The ID or Amazon Resource Name (ARN) of the service from which the attributes will be deleted. For services created in a namespace shared with your Amazon Web Services account, specify the service ARN. For more information about shared namespaces, see `Cross-account Cloud Map namespace sharing <https://docs.aws.amazon.com/cloud-map/latest/dg/sharing-namespaces.html>`__ in the *Cloud Map Developer Guide*.

    

  
  :type Attributes: list
  :param Attributes: **[REQUIRED]** 

    A list of keys corresponding to each attribute that you want to delete.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ServiceDiscovery.Client.exceptions.InvalidInput`

  
  *   :py:class:`ServiceDiscovery.Client.exceptions.ServiceNotFound`

  