:doc:`ApiGatewayV2 <../../apigatewayv2>` / Client / update_api_mapping

******************
update_api_mapping
******************



.. py:method:: ApiGatewayV2.Client.update_api_mapping(**kwargs)

  

  The API mapping.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping>`_  


  **Request Syntax**
  ::

    response = client.update_api_mapping(
        ApiId='string',
        ApiMappingId='string',
        ApiMappingKey='string',
        DomainName='string',
        Stage='string'
    )
    
  :type ApiId: string
  :param ApiId: **[REQUIRED]** 

    The API identifier.

    

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

    The API mapping identifier.

    

  
  :type ApiMappingKey: string
  :param ApiMappingKey: 

    The API mapping key.

    

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

    The domain name.

    

  
  :type Stage: string
  :param Stage: 

    The API stage.

    

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

    
    ::

      {
          'ApiId': 'string',
          'ApiMappingId': 'string',
          'ApiMappingKey': 'string',
          'Stage': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Success

      
      

      - **ApiId** *(string) --* 

        The API identifier.

        
      

      - **ApiMappingId** *(string) --* 

        The API mapping identifier.

        
      

      - **ApiMappingKey** *(string) --* 

        The API mapping key.

        
      

      - **Stage** *(string) --* 

        The API stage.

        
  
  **Exceptions**
  
  *   :py:class:`ApiGatewayV2.Client.exceptions.NotFoundException`

  
  *   :py:class:`ApiGatewayV2.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`ApiGatewayV2.Client.exceptions.BadRequestException`

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

  