:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / get_schema_version

******************
get_schema_version
******************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.get_schema_version(**kwargs)

  

  Gets a schema version with the provided information.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/GetSchemaVersion>`_  


  **Request Syntax**
  ::

    response = client.get_schema_version(
        Type='capability'|'definition',
        SchemaVersionedId='string',
        Format='AWS'|'ZCL'|'CONNECTOR'
    )
    
  :type Type: string
  :param Type: **[REQUIRED]** 

    The type of schema version.

    

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

    Schema id with a version specified. If the version is missing, it defaults to latest version.

    

  
  :type Format: string
  :param Format: 

    The format of the schema version.

    

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

    
    ::

      {
          'SchemaId': 'string',
          'Type': 'capability'|'definition',
          'Description': 'string',
          'Namespace': 'string',
          'SemanticVersion': 'string',
          'Visibility': 'PUBLIC'|'PRIVATE',
          'Schema': {...}|[...]|123|123.4|'string'|True|None
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **SchemaId** *(string) --* 

        The id of the schema version.

        
      

      - **Type** *(string) --* 

        The type of schema version.

        
      

      - **Description** *(string) --* 

        The description of the schema version.

        
      

      - **Namespace** *(string) --* 

        The name of the schema version.

        
      

      - **SemanticVersion** *(string) --* 

        The schema version. If this is left blank, it defaults to the latest version.

        
      

      - **Visibility** *(string) --* 

        The visibility of the schema version.

        
      

      - **Schema** (:ref:`document<document>`) -- 

        The schema of the schema version.

        
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException`

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

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

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceUnavailableException`

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException`

  