Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_devices_in_placement

get_devices_in_placement(**kwargs)

Returns an object enumerating the devices in a placement.

See also: AWS API Documentation

Request Syntax

response = client.get_devices_in_placement(
    projectName='string',
    placementName='string'
)
Parameters
  • projectName (string) --

    [REQUIRED]

    The name of the project containing the placement.

  • placementName (string) --

    [REQUIRED]

    The name of the placement to get the devices from.

Return type

dict

Returns

Response Syntax

{
    'devices': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --

    • devices (dict) --

      An object containing the devices (zero or more) within the placement.

      • (string) --
        • (string) --

Exceptions

  • IoT1ClickProjects.Client.exceptions.InternalFailureException
  • IoT1ClickProjects.Client.exceptions.InvalidRequestException
  • IoT1ClickProjects.Client.exceptions.ResourceNotFoundException