list_sync_resources
¶
list_sync_resources(
workspace_id: Id,
sync_source: SyncSource,
*,
config_overrides: Optional[IoTTwinMakerClientConfig] = None,
filters: Optional[SyncResourceFilters] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListSyncResourcesResponse
Lists the sync resources.
Parameters:
-
workspace_id(Id) –The ID of the workspace that contains the sync job.
-
sync_source(SyncSource) –The sync source.
Currently the only supported syncSource is
SITEWISE. -
filters(Optional[SyncResourceFilters], default:None) –A list of objects that filter the request.
The following filter combinations are supported:
-
Filter with state
-
Filter with ResourceType and ResourceId
-
Filter with ResourceType and ExternalId
-
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time. The default is 50.
Valid Range: Minimum value of 0. Maximum value of 200.
-
next_token(Optional[NextToken], default:None) –The string that specifies the next page of results.
Raises:
-
AccessDeniedException–Access is denied.
-
InternalServerException–An unexpected error has occurred.
-
ServiceQuotaExceededException–The service quota was exceeded.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–Failed
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iottwinmaker/_services/io_t_twin_maker.py
2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 | |