:doc:`CloudDirectory <../../clouddirectory>` / Client / delete_schema

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



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

  

  Deletes a given schema. Schemas in a development and published state can only be deleted.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteSchema>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the development schema. For more information, see  arns.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **SchemaArn** *(string) --* 

        The input ARN that is returned as part of the response. For more information, see  arns.

        
  
  **Exceptions**
  
  *   :py:class:`CloudDirectory.Client.exceptions.InternalServiceException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.InvalidArnException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.RetryableConflictException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.ValidationException`

  
  *   :py:class:`CloudDirectory.Client.exceptions.LimitExceededException`

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

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

  
  *   :py:class:`CloudDirectory.Client.exceptions.StillContainsLinksException`

  