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

*************************
update_service_attributes
*************************



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

  

  Submits a request to update a specified service to add service-level attributes.

  

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


  **Request Syntax**
  ::

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

    The ID or Amazon Resource Name (ARN) of the service that you want to update. For services created in a namespace shared with your Amazon Web Services account, specify the service ARN.

    

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

    A string map that contains attribute key-value pairs.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

  