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

*************
update_schema
*************



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

  

  Updates the schema name with a new name. Only development schema names can be updated.

  

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


  **Request Syntax**
  ::

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

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

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the schema.

    

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

    
    ::

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

    

    - *(dict) --* 
      

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

        The ARN that is associated with the updated schema. 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`

  