listResourceSynchronizationStatuses
inline suspend fun NetworkSecurityManagerClient.listResourceSynchronizationStatuses(crossinline block: ListResourceSynchronizationStatusesRequest.Builder.() -> Unit): ListResourceSynchronizationStatusesResponse
Lists the synchronization statuses of the resources covered by the specified deployment. You can filter the results by synchronization status and page through them.
Samples
// Lists the resources tracked by a deployment that are out of sync, including the structured reason.
// Here a CloudFront distribution has no web ACL where the policy requires one.
val resp = networkSecurityManagerClient.listResourceSynchronizationStatuses {
deploymentIdentifier = "arn:aws:network-security-manager:us-east-1:123456789012:deployment:def456"
synchronizationStatus = SynchronizationStatus.fromValue("OUT_OF_SYNC")
maxResults = 10
}Content copied to clipboard