:doc:`DataZone <../../datazone>` / Client / update_environment_action

*************************
update_environment_action
*************************



.. py:method:: DataZone.Client.update_environment_action(**kwargs)

  

  Updates an environment action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/UpdateEnvironmentAction>`_  


  **Request Syntax**
  ::

    response = client.update_environment_action(
        domainIdentifier='string',
        environmentIdentifier='string',
        identifier='string',
        parameters={
            'awsConsoleLink': {
                'uri': 'string'
            }
        },
        name='string',
        description='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The domain ID of the environment action.

    

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

    The environment ID of the environment action.

    

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

    The ID of the environment action.

    

  
  :type parameters: dict
  :param parameters: 

    The parameters of the environment action.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``awsConsoleLink``. 

  
    - **awsConsoleLink** *(dict) --* 

      The console link specified as part of the environment action.

      

    
      - **uri** *(string) --* 

        The URI of the console link specified as part of the environment action.

        

      
    
  
  :type name: string
  :param name: 

    The name of the environment action.

    

  
  :type description: string
  :param description: 

    The description of the environment action.

    

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

    
    ::

      {
          'domainId': 'string',
          'environmentId': 'string',
          'id': 'string',
          'name': 'string',
          'parameters': {
              'awsConsoleLink': {
                  'uri': 'string'
              }
          },
          'description': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **domainId** *(string) --* 

        The domain ID of the environment action.

        
      

      - **environmentId** *(string) --* 

        The environment ID of the environment action.

        
      

      - **id** *(string) --* 

        The ID of the environment action.

        
      

      - **name** *(string) --* 

        The name of the environment action.

        
      

      - **parameters** *(dict) --* 

        The parameters of the environment action.

        .. note::    This is a Tagged Union structure. Only one of the     following top level keys will be set: ``awsConsoleLink``.     If a client receives an unknown member it will     set ``SDK_UNKNOWN_MEMBER`` as the top level key,     which maps to the name or tag of the unknown     member. The structure of ``SDK_UNKNOWN_MEMBER`` is     as follows::

                'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}


      
        

        - **awsConsoleLink** *(dict) --* 

          The console link specified as part of the environment action.

          
          

          - **uri** *(string) --* 

            The URI of the console link specified as part of the environment action.

            
      
    
      

      - **description** *(string) --* 

        The description of the environment action.

        
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

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

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

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

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

  
  *   :py:class:`DataZone.Client.exceptions.ValidationException`

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  