"documentation":"<p>Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html\">Connect to your Linux instance using EC2 Instance Connect</a> in the <i>Amazon EC2 User Guide</i>.</p>"
"documentation":"<p>Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html\">EC2 Serial Console</a> in the <i>Amazon EC2 User Guide</i>.</p>"
"documentation":"<p>Is true if the request succeeds and an error otherwise.</p>"
}
}
},
"SendSerialConsoleSSHPublicKeyRequest":{
"type":"structure",
"required":[
"InstanceId",
"SSHPublicKey"
],
"members":{
"InstanceId":{
"shape":"InstanceId",
"documentation":"<p>The ID of the EC2 instance.</p>"
},
"SerialPort":{
"shape":"SerialPort",
"documentation":"<p>The serial port of the EC2 instance. Currently only port 0 is supported.</p> <p>Default: 0</p>"
},
"SSHPublicKey":{
"shape":"SSHPublicKey",
"documentation":"<p>The public key material. To use the public key, you must have the matching private key. For information about the supported key formats and lengths, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws\">Requirements for key pairs</a> in the <i>Amazon EC2 User Guide</i>.</p>"
"documentation":"<p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>"
},
"Success":{
"shape":"Success",
"documentation":"<p>Is true if the request succeeds and an error otherwise.</p>"
}
}
},
"SerialConsoleAccessDisabledException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"documentation":"<p>Your account is not authorized to use the EC2 Serial Console. To authorize your account, run the EnableSerialConsoleAccess API. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html\">EnableSerialConsoleAccess</a> in the <i>Amazon EC2 API Reference</i>.</p>",
"exception":true
},
"SerialConsoleSessionLimitExceededException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"documentation":"<p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>",
"exception":true
},
"SerialConsoleSessionUnavailableException":{
"type":"structure",
"members":{
"Message":{"shape":"String"}
},
"documentation":"<p>Unable to start a serial console session. Please try again.</p>",
"documentation":"<p>The requests were made too frequently and have been throttled. Wait a while and try again. To increase the limit on your request frequency, contact AWS Support.</p>",
"documentation":"<p>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.</p>"