I would like to import the exception that occurs when a boto3 ssm parameter is not found with get_parameter. I\
import
exception
boto3
ssm
get_parameter
From Botocore Error Handling
import boto3 from botocore.exceptions import ClientError ssm = boto3.client('ssm') try: ssm.get_parameter(Name='not_found') except ClientError as e: print e.response['Error']['Code']