:doc:`MediaConnect <../../mediaconnect>` / Client / delete_gateway

**************
delete_gateway
**************



.. py:method:: MediaConnect.Client.delete_gateway(**kwargs)

  

  Deletes a gateway. Before you can delete a gateway, you must deregister its instances and delete its bridges.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteGateway>`_  


  **Request Syntax**
  ::

    response = client.delete_gateway(
        GatewayArn='string'
    )
    
  :type GatewayArn: string
  :param GatewayArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the gateway that you want to delete.

    

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

    
    ::

      {
          'GatewayArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GatewayArn** *(string) --* 

        The ARN of the gateway that was deleted.

        
  
  **Exceptions**
  
  *   :py:class:`MediaConnect.Client.exceptions.BadRequestException`

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

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

  
  *   :py:class:`MediaConnect.Client.exceptions.ForbiddenException`

  
  *   :py:class:`MediaConnect.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`MediaConnect.Client.exceptions.NotFoundException`

  
  *   :py:class:`MediaConnect.Client.exceptions.ServiceUnavailableException`

  