IoTRoboRunner.Client.
get_worker
(**kwargs)¶Grants permission to get a worker
See also: AWS API Documentation
Request Syntax
response = client.get_worker(
id='string'
)
[REQUIRED]
Full ARN of the worker.
{
'arn': 'string',
'id': 'string',
'fleet': 'string',
'site': 'string',
'createdAt': datetime(2015, 1, 1),
'updatedAt': datetime(2015, 1, 1),
'name': 'string',
'additionalTransientProperties': 'string',
'additionalFixedProperties': 'string',
'vendorProperties': {
'vendorWorkerId': 'string',
'vendorWorkerIpAddress': 'string',
'vendorAdditionalTransientProperties': 'string',
'vendorAdditionalFixedProperties': 'string'
},
'position': {
'cartesianCoordinates': {
'x': 123.0,
'y': 123.0,
'z': 123.0
}
},
'orientation': {
'degrees': 123.0
}
}
Response Structure
Full ARN of the worker.
Filters access by the workers identifier
Full ARN of the worker fleet.
Site ARN.
Timestamp at which the resource was created.
Timestamp at which the resource was last updated.
Human friendly name of the resource.
JSON blob containing unstructured worker properties that are transient and may change during regular operation.
JSON blob containing unstructured worker properties that are fixed and won't change during regular operation.
Properties of the worker that are provided by the vendor FMS.
The worker ID defined by the vendor FMS.
The worker IP address defined by the vendor FMS.
JSON blob containing unstructured vendor properties that are transient and may change during regular operation.
JSON blob containing unstructured vendor properties that are fixed and won't change during regular operation.
Supported coordinates for worker position.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: cartesianCoordinates
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
Cartesian coordinates.
X coordinate.
Y coordinate.
Z coordinate.
Worker orientation measured in units clockwise from north.
Note
This is a Tagged Union structure. Only one of the following top level keys will be set: degrees
. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER
as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER
is as follows:
'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
Degrees, limited on [0, 360)
Exceptions
IoTRoboRunner.Client.exceptions.AccessDeniedException
IoTRoboRunner.Client.exceptions.ValidationException
IoTRoboRunner.Client.exceptions.ResourceNotFoundException
IoTRoboRunner.Client.exceptions.ThrottlingException
IoTRoboRunner.Client.exceptions.InternalServerException