create_workspace
(**kwargs)¶Creates a workplace.
See also: AWS API Documentation
Request Syntax
response = client.create_workspace(
workspaceId='string',
description='string',
s3Location='string',
role='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The ID of the workspace.
[REQUIRED]
The ARN of the S3 bucket where resources associated with the workspace are stored.
[REQUIRED]
The ARN of the execution role associated with the workspace.
Metadata that you can use to manage the workspace
dict
Response Syntax
{
'arn': 'string',
'creationDateTime': datetime(2015, 1, 1)
}
Response Structure
(dict) --
arn (string) --
The ARN of the workspace.
creationDateTime (datetime) --
The date and time when the workspace was created.
Exceptions
IoTTwinMaker.Client.exceptions.InternalServerException
IoTTwinMaker.Client.exceptions.AccessDeniedException
IoTTwinMaker.Client.exceptions.ThrottlingException
IoTTwinMaker.Client.exceptions.ValidationException
IoTTwinMaker.Client.exceptions.ConflictException
IoTTwinMaker.Client.exceptions.ServiceQuotaExceededException