Get Resource Sync Status
codestarconnections_get_resource_sync_status | R Documentation |
Returns the status of the sync with the Git repository for a specific Amazon Web Services resource¶
Description¶
Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
Usage¶
Arguments¶
ResourceName
[required] The name of the Amazon Web Services resource for the sync status with the Git repository.
SyncType
[required] The sync type for the sync status with the Git repository.
Value¶
A list with the following syntax:
list(
DesiredState = list(
Branch = "string",
Directory = "string",
OwnerId = "string",
RepositoryName = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
Sha = "string"
),
LatestSuccessfulSync = list(
Events = list(
list(
Event = "string",
ExternalId = "string",
Time = as.POSIXct(
"2015-01-01"
),
Type = "string"
)
),
InitialRevision = list(
Branch = "string",
Directory = "string",
OwnerId = "string",
RepositoryName = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
Sha = "string"
),
StartedAt = as.POSIXct(
"2015-01-01"
),
Status = "FAILED"|"INITIATED"|"IN_PROGRESS"|"SUCCEEDED",
TargetRevision = list(
Branch = "string",
Directory = "string",
OwnerId = "string",
RepositoryName = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
Sha = "string"
),
Target = "string"
),
LatestSync = list(
Events = list(
list(
Event = "string",
ExternalId = "string",
Time = as.POSIXct(
"2015-01-01"
),
Type = "string"
)
),
InitialRevision = list(
Branch = "string",
Directory = "string",
OwnerId = "string",
RepositoryName = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
Sha = "string"
),
StartedAt = as.POSIXct(
"2015-01-01"
),
Status = "FAILED"|"INITIATED"|"IN_PROGRESS"|"SUCCEEDED",
TargetRevision = list(
Branch = "string",
Directory = "string",
OwnerId = "string",
RepositoryName = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
Sha = "string"
),
Target = "string"
)
)