IoTRoboRunner.Client.
create_site
(**kwargs)¶Grants permission to create a site
See also: AWS API Documentation
Request Syntax
response = client.create_site(
clientToken='string',
name='string',
countryCode='string',
description='string'
)
Token used for detecting replayed requests. Replayed requests will not be performed multiple times.
This field is autopopulated if not provided.
[REQUIRED]
Human friendly name of the resource.
[REQUIRED]
A valid ISO 3166-1 alpha-2 code for the country in which the site resides. e.g., US.
dict
Response Syntax
{
'arn': 'string',
'id': 'string',
'createdAt': datetime(2015, 1, 1),
'updatedAt': datetime(2015, 1, 1)
}
Response Structure
(dict) --
arn (string) --
Site ARN.
id (string) --
Filters access by the site's identifier
createdAt (datetime) --
Timestamp at which the resource was created.
updatedAt (datetime) --
Timestamp at which the resource was last updated.
Exceptions
IoTRoboRunner.Client.exceptions.ConflictException
IoTRoboRunner.Client.exceptions.AccessDeniedException
IoTRoboRunner.Client.exceptions.ValidationException
IoTRoboRunner.Client.exceptions.ThrottlingException
IoTRoboRunner.Client.exceptions.InternalServerException
IoTRoboRunner.Client.exceptions.ServiceQuotaExceededException