:doc:`Schemas <../../schemas>` / Client / put_code_binding

****************
put_code_binding
****************



.. py:method:: Schemas.Client.put_code_binding(**kwargs)

  

  Put code binding URI

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutCodeBinding>`_  


  **Request Syntax**
  ::

    response = client.put_code_binding(
        Language='string',
        RegistryName='string',
        SchemaName='string',
        SchemaVersion='string'
    )
    
  :type Language: string
  :param Language: **[REQUIRED]** 

    The language of the code binding.

    

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

    The name of the registry.

    

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

    The name of the schema.

    

  
  :type SchemaVersion: string
  :param SchemaVersion: 

    Specifying this limits the results to only this schema version.

    

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

    
    ::

      {
          'CreationDate': datetime(2015, 1, 1),
          'LastModified': datetime(2015, 1, 1),
          'SchemaVersion': 'string',
          'Status': 'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'CREATE_FAILED'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      202 response

      
      

      - **CreationDate** *(datetime) --* 

        The time and date that the code binding was created.

        
      

      - **LastModified** *(datetime) --* 

        The date and time that code bindings were modified.

        
      

      - **SchemaVersion** *(string) --* 

        The version number of the schema.

        
      

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

        The current status of code binding generation.

        
  
  **Exceptions**
  
  *   :py:class:`Schemas.Client.exceptions.GoneException`

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

  
  *   :py:class:`Schemas.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`Schemas.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Schemas.Client.exceptions.ForbiddenException`

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

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

  