:doc:`ServiceCatalog <../../servicecatalog>` / Client / update_service_action

*********************
update_service_action
*********************



.. py:method:: ServiceCatalog.Client.update_service_action(**kwargs)

  

  Updates a self-service action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateServiceAction>`_  


  **Request Syntax**
  ::

    response = client.update_service_action(
        Id='string',
        Name='string',
        Definition={
            'string': 'string'
        },
        Description='string',
        AcceptLanguage='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The self-service action identifier.

    

  
  :type Name: string
  :param Name: 

    The self-service action name.

    

  
  :type Definition: dict
  :param Definition: 

    A map that defines the self-service action.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type Description: string
  :param Description: 

    The self-service action description.

    

  
  :type AcceptLanguage: string
  :param AcceptLanguage: 

    The language code.

     

    
    * ``jp`` - Japanese
     
    * ``zh`` - Chinese
    

    

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

    
    ::

      {
          'ServiceActionDetail': {
              'ServiceActionSummary': {
                  'Id': 'string',
                  'Name': 'string',
                  'Description': 'string',
                  'DefinitionType': 'SSM_AUTOMATION'
              },
              'Definition': {
                  'string': 'string'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ServiceActionDetail** *(dict) --* 

        Detailed information about the self-service action.

        
        

        - **ServiceActionSummary** *(dict) --* 

          Summary information about the self-service action.

          
          

          - **Id** *(string) --* 

            The self-service action identifier.

            
          

          - **Name** *(string) --* 

            The self-service action name.

            
          

          - **Description** *(string) --* 

            The self-service action description.

            
          

          - **DefinitionType** *(string) --* 

            The self-service action definition type. For example, ``SSM_AUTOMATION``.

            
      
        

        - **Definition** *(dict) --* 

          A map that defines the self-service action.

          
          

          - *(string) --* 
            

            - *(string) --* 
      
    
    
  
  **Exceptions**
  
  *   :py:class:`ServiceCatalog.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`ServiceCatalog.Client.exceptions.InvalidParametersException`

  