This one looks promising. To move forward simple debug must work first
> {'root_device_type': 'ebs', 'private_dns_name':
> 'ip-10-0-0-147.ec2internal', 'cpu_options': {'core_count': 1,
> 'threads_per_core': 2}, 'source_dest_check' : True, 'state_reason':
> {'message': 'Client.UserInitiatedShutdown: User initiated shutdown',
> 'code': 'Client.UserInitiatedShutdown'}, 'monitoring': {'state':
> 'disabled'}, 'subnet_id': 'subnet-', 'ebs_optimized': True,
> 'iam_instance_profile': {'id': 'AIPA2VVODOXJDPDZDA6L3', 'arn':
> 'arn:aws:iam:::instance-profile/'}, 'state': {'code': 80, 'name':
> 'stopped' }, 'security_groups': [{'group_id': 'sg-', 'group_name':
> 'EFDEVProject-VPC0API1SecurityGroup-1516O70HNUR1L'}], 'client_token':
> '', 'virtualization_type': 'hvm', 'architecture': 'x86_64',
> 'public_ip_address': '', 'tags': {'Name': 'tmp api1'}, 'key_name':
> '', 'image_id': 'ami-', 'ena_support': True, 'hibernation_options':
> {'configured': False}, 'capacity_reservation_specification':
> {'capacity_reservation_preference': 'open'}, 'public_dns_name':
> 'ec2-52-202-.
compute-1.amazonaws.com', 'block_device_mappings':
> [{'device_name': '/dev/xvda', 'ebs': {'status': 'attached',
> 'delete_on_termination': True, 'attach_time':
> '2020-05-18T23:48:08+00:00', 'volume_id': 'vol-014ccbb674c86e09c'}}],
> 'placement': {'group_name': '', 'tenancy': 'default',
> 'availability_zone': 'us-east-1d'}, 'ami_launch_index': 0,
> 'hypervisor': 'xen', ' network_interfaces': [{'status': 'in-use',
> 'description': 'Primary network interface', 'subnet_id':