Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ford-at-aws committed Feb 20, 2024
1 parent 0f08cc8 commit 8a7b8ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def _initiate_query(self, client, date_range, max_logs):
return response["queryId"]
except client.exceptions.ResourceNotFoundException as e:
raise DateOutOfBoundsError(f"Resource not found: {e}")

# snippet-end:[python.example_code.cloudwatch_logs.start_query]

# snippet-start:[python.example_code.cloudwatch_logs.get_query_results]
Expand All @@ -217,4 +218,5 @@ def _wait_for_query_results(self, client, query_id):
"Unknown",
]:
return results.get("results", [])

# snippet-end:[python.example_code.cloudwatch_logs.get_query_results]

0 comments on commit 8a7b8ef

Please sign in to comment.