Removed all logs that are assigned to a given rest api id.
(self, project_name)
| 3701 | self.remove_log_group("/aws/lambda/{}".format(lambda_function_name)) |
| 3702 | |
| 3703 | def remove_api_gateway_logs(self, project_name): |
| 3704 | """ |
| 3705 | Removed all logs that are assigned to a given rest api id. |
| 3706 | """ |
| 3707 | for rest_api in self.get_rest_apis(project_name): |
| 3708 | for stage in self.apigateway_client.get_stages(restApiId=rest_api["id"])["item"]: |
| 3709 | self.remove_log_group("API-Gateway-Execution-Logs_{}/{}".format(rest_api["id"], stage["stageName"])) |
| 3710 | |
| 3711 | ## |
| 3712 | # Route53 Domain Name Entries |
no test coverage detected