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.

update_placement

update_placement(**kwargs)

Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the placement to update.

  • projectName (string) --

    [REQUIRED]

    The name of the project containing the placement to be updated.

  • attributes (dict) --

    The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.

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

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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