AWS Logs Integration
Check permissions for log services
Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as for EnableAWSLogServices. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes.
- Returns a status of created when it's checking if the permissions exists in the AWS 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/services_async
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v1/integration/aws/logs/services_async
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Request body
Example request
{
"account_id": "1234567",
"services": [
"s3",
"elb",
"elbv2",
"cloudfront",
"redshift",
"lambda"
]
}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.