Type definitions#
Index > EC2InstanceConnect > Type definitions
Auto-generated documentation for EC2InstanceConnect type annotations stubs module mypy-boto3-ec2-instance-connect.
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
SendSSHPublicKeyRequestRequestTypeDef#
# SendSSHPublicKeyRequestRequestTypeDef definition
class SendSSHPublicKeyRequestRequestTypeDef(TypedDict):
InstanceId: str,
InstanceOSUser: str,
SSHPublicKey: str,
AvailabilityZone: NotRequired[str],
SendSerialConsoleSSHPublicKeyRequestRequestTypeDef#
# SendSerialConsoleSSHPublicKeyRequestRequestTypeDef definition
class SendSerialConsoleSSHPublicKeyRequestRequestTypeDef(TypedDict):
InstanceId: str,
SSHPublicKey: str,
SerialPort: NotRequired[int],
SendSSHPublicKeyResponseTypeDef#
# SendSSHPublicKeyResponseTypeDef definition
class SendSSHPublicKeyResponseTypeDef(TypedDict):
RequestId: str,
Success: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SendSerialConsoleSSHPublicKeyResponseTypeDef#
# SendSerialConsoleSSHPublicKeyResponseTypeDef definition
class SendSerialConsoleSSHPublicKeyResponseTypeDef(TypedDict):
RequestId: str,
Success: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)