AWS Logs Integration
Check that an AWS Lambda Function exists
Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking.
- Returns a status of 'created' when it's checking if the Lambda exists in the account.
- Returns a status of 'waiting' while checking.
- Returns a status of 'checked and ok' if the Lambda exists.
- Returns a status of 'error' if the Lambda does not exist.
post/api/v1/integration/aws/logs/check_async
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/integration/aws/logs/check_async
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Request body
Example request
{
"account_id": "1234567",
"lambda_arn": "arn:aws:lambda:us-east-1:1234567:function:LogsCollectionAPITest"
}Response
OK
Example response
{
"errors": [
{
"code": "no_such_config",
"message": "AWS account 12345 has no Lambda config to update"
}
],
"status": "created"
}Changes
No recorded changes to this operation across all 1 revision of this API.