EC2InstanceConnect#
Client#
- class EC2InstanceConnect.Client#
A low-level client representing AWS EC2 Instance Connect
Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH public keys to EC2, providing users a simple and secure way to connect to their instances.
client = session.create_client('ec2-instance-connect')
These are the available methods:
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- AuthException
- EC2InstanceNotFoundException
- EC2InstanceStateInvalidException
- EC2InstanceTypeInvalidException
- EC2InstanceUnavailableException
- InvalidArgsException
- SerialConsoleAccessDisabledException
- SerialConsoleSessionLimitExceededException
- SerialConsoleSessionUnavailableException
- ServiceException
- ThrottlingException