:doc:`SESV2 <../../sesv2>` / Client / delete_multi_region_endpoint

****************************
delete_multi_region_endpoint
****************************



.. py:method:: SESV2.Client.delete_multi_region_endpoint(**kwargs)

  

  Deletes a multi-region endpoint (global-endpoint).

   

  Only multi-region endpoints (global-endpoints) whose primary region is the AWS-Region where operation is executed can be deleted.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteMultiRegionEndpoint>`_  


  **Request Syntax**
  ::

    response = client.delete_multi_region_endpoint(
        EndpointName='string'
    )
    
  :type EndpointName: string
  :param EndpointName: **[REQUIRED]** 

    The name of the multi-region endpoint (global-endpoint) to be deleted.

    

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

    
    ::

      {
          'Status': 'CREATING'|'READY'|'FAILED'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      An HTTP 200 response if the request succeeds, or an error message if the request fails.

      
      

      - **Status** *(string) --* 

        A status of the multi-region endpoint (global-endpoint) right after the delete request.

         

        
        * ``CREATING`` – The resource is being provisioned.
         
        * ``READY`` – The resource is ready to use.
         
        * ``FAILED`` – The resource failed to be provisioned.
         
        * ``DELETING`` – The resource is being deleted as requested.
        

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

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

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

  
  *   :py:class:`SESV2.Client.exceptions.ConcurrentModificationException`

  