create_sync_job
(**kwargs)¶This action creates a SyncJob.
See also: AWS API Documentation
Request Syntax
response = client.create_sync_job(
workspaceId='string',
syncSource='string',
syncRole='string',
tags={
'string': 'string'
}
)
[REQUIRED]
The workspace Id.
[REQUIRED]
The sync source.
Note
Currently the only supported syncSoucre is SITEWISE
.
[REQUIRED]
The SyncJob IAM role. This IAM role is used by the sync job to read from the syncSource, and create, update or delete the corresponding resources.
The SyncJob tags.
dict
Response Syntax
{
'arn': 'string',
'creationDateTime': datetime(2015, 1, 1),
'state': 'CREATING'|'INITIALIZING'|'ACTIVE'|'DELETING'|'ERROR'
}
Response Structure
(dict) --
arn (string) --
The SyncJob ARN.
creationDateTime (datetime) --
The date and time for the SyncJob creation.
state (string) --
The SyncJob response state.
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