:doc:`Personalize <../../personalize>` / Client / delete_schema

*************
delete_schema
*************



.. py:method:: Personalize.Client.delete_schema(**kwargs)

  

  Deletes a schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see `CreateSchema <https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSchema.html>`__.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSchema>`_  


  **Request Syntax**
  ::

    response = client.delete_schema(
        schemaArn='string'
    )
    
  :type schemaArn: string
  :param schemaArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the schema to delete.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Personalize.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`Personalize.Client.exceptions.ResourceInUseException`

  