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