Check permissions for log services

POST {{baseUrl}}/api/v1/integration/aws/logs/services_async

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.

Request Body

{"account_id"=>"1234567", "services"=>["s3", "elb", "elbv2", "cloudfront", "redshift", "lambda"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"errors":[{"code":"no_such_config","message":"AWS account 12345 has no lambda config to update"},{"code":"no_such_config","message":"AWS account 12345 has no lambda config to update"}],"status":"created"}