Skip to content

Commit 5c78253

Browse files
author
Justin
committed
linting fixes
1 parent 8cac479 commit 5c78253

File tree

1 file changed

+3
-2
lines changed
  • aws_sra_examples/solutions/shield_advanced/shield_advanced/lambda/src

1 file changed

+3
-2
lines changed

aws_sra_examples/solutions/shield_advanced/shield_advanced/lambda/src/shield.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ def get_buckets_to_protect(account_session: boto3.Session, buckets_in_account: l
244244
list of buckets
245245
246246
Raises:
247-
Error trying to get S3 buckets
247+
s3_client.exceptions.ClientError: Error trying to get S3 buckets
248+
ClientError: Error trying to get S3 buckets
248249
"""
249250
LOGGER.info("Getting all buckets")
250251
buckets: list = []
@@ -712,7 +713,7 @@ def disable_proactive_engagement(shield_client: ShieldClient) -> None:
712713
shield_client: Shield client
713714
714715
Raises:
715-
e: ClientError
716+
e: Client Error
716717
"""
717718
try:
718719
disable_proactive_engagement_response = shield_client.disable_proactive_engagement()

0 commit comments

Comments
 (0)