create_placement

IoT1ClickProjects.Client.create_placement(**kwargs)

Creates an empty placement.

See also: AWS API Documentation

Request Syntax

response = client.create_placement(
    placementName='string',
    projectName='string',
    attributes={
        'string': 'string'
    }
)
Parameters
  • placementName (string) --

    [REQUIRED]

    The name of the placement to be created.

  • projectName (string) --

    [REQUIRED]

    The name of the project in which to create the placement.

  • attributes (dict) --

    Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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