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

******************************
get_managed_thing_capabilities
******************************



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

  

  Get the capabilities for a managed thing using the device ID.

  

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


  **Request Syntax**
  ::

    response = client.get_managed_thing_capabilities(
        Identifier='string'
    )
    
  :type Identifier: string
  :param Identifier: **[REQUIRED]** 

    The id of the device.

    

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

    
    ::

      {
          'ManagedThingId': 'string',
          'Capabilities': 'string',
          'CapabilityReport': {
              'version': 'string',
              'nodeId': 'string',
              'endpoints': [
                  {
                      'id': 'string',
                      'deviceTypes': [
                          'string',
                      ],
                      'capabilities': [
                          {
                              'id': 'string',
                              'name': 'string',
                              'version': 'string',
                              'properties': [
                                  'string',
                              ],
                              'actions': [
                                  'string',
                              ],
                              'events': [
                                  'string',
                              ]
                          },
                      ]
                  },
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ManagedThingId** *(string) --* 

        The id of the device.

        
      

      - **Capabilities** *(string) --* 

        The capabilities of the device such as light bulb.

        
      

      - **CapabilityReport** *(dict) --* 

        A report of the capabilities for the managed thing.

        
        

        - **version** *(string) --* 

          The version of the capability report.

          
        

        - **nodeId** *(string) --* 

          The numeric identifier of the node.

          
        

        - **endpoints** *(list) --* 

          The endpoints used in the capability report.

          
          

          - *(dict) --* 

            The endpoint used in the capability report.

            
            

            - **id** *(string) --* 

              The id of the endpoint used in the capability report.

              
            

            - **deviceTypes** *(list) --* 

              The type of device.

              
              

              - *(string) --* 
          
            

            - **capabilities** *(list) --* 

              The capabilities used in the capability report.

              
              

              - *(dict) --* 

                The capability used in capability report.

                
                

                - **id** *(string) --* 

                  The id of the schema version.

                  
                

                - **name** *(string) --* 

                  The name of the capability.

                  
                

                - **version** *(string) --* 

                  The version of the capability.

                  
                

                - **properties** *(list) --* 

                  The capability properties used in the capability report.

                  
                  

                  - *(string) --* 
              
                

                - **actions** *(list) --* 

                  The capability actions used in the capability report.

                  
                  

                  - *(string) --* 
              
                

                - **events** *(list) --* 

                  The capability events used in the capability report.

                  
                  

                  - *(string) --* 
              
            
          
        
      
    
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException`

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

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

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

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

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

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

  