:doc:`Outposts <../../outposts>` / Client / cancel_order

************
cancel_order
************



.. py:method:: Outposts.Client.cancel_order(**kwargs)

  

  Cancels the specified order for an Outpost.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelOrder>`_  


  **Request Syntax**
  ::

    response = client.cancel_order(
        OrderId='string'
    )
    
  :type OrderId: string
  :param OrderId: **[REQUIRED]** 

    The ID of the order.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Outposts.Client.exceptions.ValidationException`

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

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

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

  
  *   :py:class:`Outposts.Client.exceptions.InternalServerException`

  