ListSynchronizationJobs
Lists the details of synchronization tasks.
Operation description
You can use one of the following methods to view the returned data:
-
Method 1: When using paging in a paged query for the first page, you only need to configure the Settings for MaxResults to limit the number of returned entries. The NextToken in the response is used as the token for querying the next page. When querying subsequent pages, set the NextToken parameter to the NextToken value obtained from the previous response as the query token, and configure the Settings for MaxResults to limit the number of returned entries. If there is no next page, NextToken is not returned. The maximum value of MaxResults is 100.
-
Method 2: Specify the Settings for PageSize to determine the number of entries returned per page during paging, and specify the Settings for PageNumber to determine the page number.
You can use only one of the two methods. When a large number of entries are returned, Method 1 is recommended. If the Settings for MaxResults or NextToken are configured, the PageSize and PageNumber request parameters become invalid.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:ListSynchronizationJobs |
list |
*SynchronizationJob
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| PageNumber |
integer |
No |
The page number. Pages start from 1. |
1 |
| PageSize |
integer |
No |
The page size. Maximum value: 100. |
10 |
| NextToken |
string |
No |
The token used to query the next page. If no next page exists, this parameter is not returned. |
NTxxxxxexample |
| MaxResults |
integer |
No |
The maximum number of entries per page during paging in a paged query. Maximum value: 100. |
20 |
| TargetType |
string |
No |
The synchronization target type. Valid values:
|
identity_provider |
| TargetIds |
array |
No |
The list of synchronization target IDs. Example: [idp_111XXXX,idp_222XXXX]. |
["target_001"] |
|
string |
No |
The synchronization target ID. |
idp_my664lwkhpicbyzirog3xxxxx |
|
| StartTime |
integer |
No |
The start time of the synchronization. The time is a UNIX timestamp in milliseconds. |
1649830226000 |
| EndTime |
integer |
No |
The end time of the synchronization. The time is a UNIX timestamp in milliseconds. |
1649830226000 |
| Direction |
string |
No |
The direction of the synchronization task. Valid values:
|
ingress |
| Status |
string |
No |
The status of the synchronization task. Valid values:
|
running |
| Filters |
array<object> |
No |
The filter parameters. |
|
|
object |
No |
The filter parameters. |
||
| Key |
string |
No |
The name of the dynamic parameter. |
qps |
| Values |
array |
No |
The values of the dynamic parameter. |
|
|
string |
No |
The values of the dynamic parameter. |
[] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
The total number of items. |
100 |
| NextToken |
string |
The pagination token returned by the current request. |
NTxxxexample |
| SynchronizationJobs |
array<object> |
The list of synchronization jobs. |
|
|
array<object> |
The details of the synchronization job. |
||
| SynchronizationJobId |
string |
The ID of the synchronization job. |
sync_0000347vjovtcf41li0fgsd98gn24q9njxxxxx |
| TargetType |
string |
The synchronization target type. Valid values:
|
identity_provider |
| TargetId |
string |
The synchronization target ID. |
idp_my664lwkhpicbyzirog3xxxxx |
| Direction |
string |
The direction of the synchronization task. Valid values:
|
ingress |
| StartTime |
integer |
The start time of the synchronization. The time is a UNIX timestamp in milliseconds. |
1649830226000 |
| EndTime |
integer |
The end time of the synchronization. The time is a UNIX timestamp in milliseconds. |
1649830226000 |
| TriggerType |
string |
The synchronization trigger type. Valid values:
|
auto |
| Status |
string |
The status of the synchronization task. Valid values:
|
success |
| Result |
object |
The task result of the synchronization node. |
|
| UserStatistics |
object |
The user synchronization result statistics. |
|
| Created |
object |
The creation result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Updated |
object |
The update result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Binded |
object |
The binding result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Deleted |
object |
The deletion result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Same |
object |
The unchanged result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Pushed |
object |
The push result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Exported |
object |
The export result statistics. |
|
| Total |
integer |
The total number of items. |
5 |
| Success |
integer |
The number of successful items. |
2 |
| Failed |
integer |
The number of failed items. |
2 |
| Skipped |
integer |
The number of skipped items. |
1 |
| OrganizationalUnitStatistics |
object |
The organizational unit synchronization result statistics. |
|
| Created |
object |
The creation result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Updated |
object |
The update result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Binded |
object |
The binding result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Deleted |
object |
The deletion result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Same |
object |
The unchanged result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Pushed |
object |
The push result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Exported |
object |
The export result statistics. |
|
| Total |
integer |
The total number of items. |
0 |
| Success |
integer |
The number of successful items. |
0 |
| Failed |
integer |
The number of failed items. |
0 |
| Skipped |
integer |
The number of skipped items. |
0 |
| GroupStatistics |
object |
The group synchronization result statistics. |
|
| Created |
object |
The creation result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Updated |
object |
The update result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Binded |
object |
The binding result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Deleted |
object |
The deletion result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Same |
object |
The unchanged result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Pushed |
object |
The push result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| GroupMemberStatistics |
object |
The group member synchronization result statistics. |
|
| Created |
object |
The creation result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Updated |
object |
The update result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Binded |
object |
The binding result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Deleted |
object |
The deletion result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Same |
object |
The unchanged result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| Pushed |
object |
The push result statistics. |
|
| Total |
integer |
The total number of items. |
3 |
| Success |
integer |
The number of successful items. |
1 |
| Failed |
integer |
The number of failed items. |
1 |
| Skipped |
integer |
The number of skipped items. |
1 |
| ErrorMessage |
string |
The error message of the synchronization result. |
The specified parameter Username is required! |
| ErrorCode |
string |
The error code of the synchronization result. |
MissingParameter.Username |
| Description |
string |
The description of the synchronization job. |
Description |
Examples
Success response
JSON format
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"SynchronizationJobs": [
{
"SynchronizationJobId": "sync_0000347vjovtcf41li0fgsd98gn24q9njxxxxx\n",
"TargetType": "identity_provider",
"TargetId": "idp_my664lwkhpicbyzirog3xxxxx\n",
"Direction": "ingress",
"StartTime": 1649830226000,
"EndTime": 1649830226000,
"TriggerType": "auto",
"Status": "success",
"Result": {
"UserStatistics": {
"Created": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Updated": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Binded": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Deleted": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Same": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Pushed": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Exported": {
"Total": 5,
"Success": 2,
"Failed": 2,
"Skipped": 1
}
},
"OrganizationalUnitStatistics": {
"Created": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Updated": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Binded": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Deleted": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Same": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Pushed": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Exported": {
"Total": 0,
"Success": 0,
"Failed": 0,
"Skipped": 0
}
},
"GroupStatistics": {
"Created": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Updated": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Binded": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Deleted": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Same": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Pushed": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
}
},
"GroupMemberStatistics": {
"Created": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Updated": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Binded": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Deleted": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Same": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
},
"Pushed": {
"Total": 3,
"Success": 1,
"Failed": 1,
"Skipped": 1
}
},
"ErrorMessage": "The specified parameter Username is required!",
"ErrorCode": "MissingParameter.Username"
},
"Description": " Description"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.