IoTTwinMaker.Client.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.InternalServerExceptionIoTTwinMaker.Client.exceptions.AccessDeniedExceptionIoTTwinMaker.Client.exceptions.ThrottlingExceptionIoTTwinMaker.Client.exceptions.ValidationExceptionIoTTwinMaker.Client.exceptions.ConflictExceptionIoTTwinMaker.Client.exceptions.ServiceQuotaExceededException