ManagedintegrationsforIoTDeviceManagement / Client / list_managed_things

list_managed_things#

ManagedintegrationsforIoTDeviceManagement.Client.list_managed_things(**kwargs)#

List all of the associations and statuses for a managed thing by its owner.

See also: AWS API Documentation

Request Syntax

response = client.list_managed_things(
    OwnerFilter='string',
    CredentialLockerFilter='string',
    RoleFilter='CONTROLLER'|'DEVICE',
    ParentControllerIdentifierFilter='string',
    ConnectorPolicyIdFilter='string',
    SerialNumberFilter='string',
    ProvisioningStatusFilter='UNASSOCIATED'|'PRE_ASSOCIATED'|'DISCOVERED'|'ACTIVATED'|'DELETION_FAILED'|'DELETE_IN_PROGRESS'|'ISOLATED'|'DELETED',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • OwnerFilter (string) – Filter on device owners when listing managed things.

  • CredentialLockerFilter (string) – Filter on a credential locker for a managed thing.

  • RoleFilter (string) – Filter on the type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.

  • ParentControllerIdentifierFilter (string) – Filter on a parent controller id for a managed thing.

  • ConnectorPolicyIdFilter (string) – Filter on a connector policy id for a managed thing.

  • SerialNumberFilter (string) – Filter on the serial number of the device.

  • ProvisioningStatusFilter (string) – Filter on the status of the device.

  • NextToken (string) – A token that can be used to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return at one time.

Return type:

dict

Returns:

Response Syntax

{
    'Items': [
        {
            'Id': 'string',
            'Arn': 'string',
            'AdvertisedProductId': 'string',
            'Brand': 'string',
            'Classification': 'string',
            'ConnectorDeviceId': 'string',
            'ConnectorPolicyId': 'string',
            'Model': 'string',
            'Name': 'string',
            'Owner': 'string',
            'CredentialLockerId': 'string',
            'ParentControllerId': 'string',
            'ProvisioningStatus': 'UNASSOCIATED'|'PRE_ASSOCIATED'|'DISCOVERED'|'ACTIVATED'|'DELETION_FAILED'|'DELETE_IN_PROGRESS'|'ISOLATED'|'DELETED',
            'Role': 'CONTROLLER'|'DEVICE',
            'SerialNumber': 'string',
            'CreatedAt': datetime(2015, 1, 1),
            'UpdatedAt': datetime(2015, 1, 1),
            'ActivatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Items (list) –

      The list of managed things.

      • (dict) –

        Structure representing one managed thing.

        • Id (string) –

          The id of the device.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the managed thing.

        • AdvertisedProductId (string) –

          The id of the advertised product.

        • Brand (string) –

          The brand of the device.

        • Classification (string) –

          The classification of the managed thing such as light bulb or thermostat.

        • ConnectorDeviceId (string) –

          The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).

          Note

          This parameter is used for cloud-to-cloud devices only.

        • ConnectorPolicyId (string) –

          The id of the connector policy.

          Note

          This parameter is used for cloud-to-cloud devices only.

        • Model (string) –

          The model of the device.

        • Name (string) –

          The name of the managed thing representing the physical device.

        • Owner (string) –

          Owner of the device, usually an indication of whom the device belongs to. This value should not contain personal identifiable information.

        • CredentialLockerId (string) –

          The identifier of the credential locker for the managed thing.

        • ParentControllerId (string) –

          Id of the controller device used for the discovery job.

        • ProvisioningStatus (string) –

          The provisioning status of the device in the provisioning workflow for onboarding to IoT managed integrations.

        • Role (string) –

          The type of device used. This will be the Amazon Web Services hub controller, cloud device, or IoT device.

        • SerialNumber (string) –

          The serial number of the device.

        • CreatedAt (datetime) –

          The timestamp value of when the device creation request occurred.

        • UpdatedAt (datetime) –

          The timestamp value of when the managed thing was last updated at.

        • ActivatedAt (datetime) –

          The timestampe value of when the managed thing was activated at.

    • NextToken (string) –

      A token that can be used to retrieve the next set of results.

Exceptions