github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/ec2-instance-connect/2018-04-02/docs-2.json (about) 1 { 2 "version": "2.0", 3 "service": "<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>", 4 "operations": { 5 "SendSSHPublicKey": "<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>", 6 "SendSerialConsoleSSHPublicKey": "<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>" 7 }, 8 "shapes": { 9 "AuthException": { 10 "base": "<p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>", 11 "refs": { 12 } 13 }, 14 "AvailabilityZone": { 15 "base": null, 16 "refs": { 17 "SendSSHPublicKeyRequest$AvailabilityZone": "<p>The Availability Zone in which the EC2 instance was launched.</p>" 18 } 19 }, 20 "EC2InstanceNotFoundException": { 21 "base": "<p>The specified instance was not found.</p>", 22 "refs": { 23 } 24 }, 25 "EC2InstanceTypeInvalidException": { 26 "base": "<p>The instance type is not supported for connecting via the serial console. Only Nitro instance types are currently supported.</p>", 27 "refs": { 28 } 29 }, 30 "InstanceId": { 31 "base": null, 32 "refs": { 33 "SendSSHPublicKeyRequest$InstanceId": "<p>The ID of the EC2 instance.</p>", 34 "SendSerialConsoleSSHPublicKeyRequest$InstanceId": "<p>The ID of the EC2 instance.</p>" 35 } 36 }, 37 "InstanceOSUser": { 38 "base": null, 39 "refs": { 40 "SendSSHPublicKeyRequest$InstanceOSUser": "<p>The OS user on the EC2 instance for whom the key can be used to authenticate.</p>" 41 } 42 }, 43 "InvalidArgsException": { 44 "base": "<p>One of the parameters is not valid.</p>", 45 "refs": { 46 } 47 }, 48 "RequestId": { 49 "base": null, 50 "refs": { 51 "SendSSHPublicKeyResponse$RequestId": "<p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>", 52 "SendSerialConsoleSSHPublicKeyResponse$RequestId": "<p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>" 53 } 54 }, 55 "SSHPublicKey": { 56 "base": null, 57 "refs": { 58 "SendSSHPublicKeyRequest$SSHPublicKey": "<p>The public key material. To use the public key, you must have the matching private key.</p>", 59 "SendSerialConsoleSSHPublicKeyRequest$SSHPublicKey": "<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>" 60 } 61 }, 62 "SendSSHPublicKeyRequest": { 63 "base": null, 64 "refs": { 65 } 66 }, 67 "SendSSHPublicKeyResponse": { 68 "base": null, 69 "refs": { 70 } 71 }, 72 "SendSerialConsoleSSHPublicKeyRequest": { 73 "base": null, 74 "refs": { 75 } 76 }, 77 "SendSerialConsoleSSHPublicKeyResponse": { 78 "base": null, 79 "refs": { 80 } 81 }, 82 "SerialConsoleAccessDisabledException": { 83 "base": "<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>", 84 "refs": { 85 } 86 }, 87 "SerialConsoleSessionLimitExceededException": { 88 "base": "<p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>", 89 "refs": { 90 } 91 }, 92 "SerialConsoleSessionUnavailableException": { 93 "base": "<p>Unable to start a serial console session. Please try again.</p>", 94 "refs": { 95 } 96 }, 97 "SerialPort": { 98 "base": null, 99 "refs": { 100 "SendSerialConsoleSSHPublicKeyRequest$SerialPort": "<p>The serial port of the EC2 instance. Currently only port 0 is supported.</p> <p>Default: 0</p>" 101 } 102 }, 103 "ServiceException": { 104 "base": "<p>The service encountered an error. Follow the instructions in the error message and try again.</p>", 105 "refs": { 106 } 107 }, 108 "String": { 109 "base": null, 110 "refs": { 111 "AuthException$Message": null, 112 "EC2InstanceNotFoundException$Message": null, 113 "EC2InstanceTypeInvalidException$Message": null, 114 "InvalidArgsException$Message": null, 115 "SerialConsoleAccessDisabledException$Message": null, 116 "SerialConsoleSessionLimitExceededException$Message": null, 117 "SerialConsoleSessionUnavailableException$Message": null, 118 "ServiceException$Message": null, 119 "ThrottlingException$Message": null 120 } 121 }, 122 "Success": { 123 "base": null, 124 "refs": { 125 "SendSSHPublicKeyResponse$Success": "<p>Is true if the request succeeds and an error otherwise.</p>", 126 "SendSerialConsoleSSHPublicKeyResponse$Success": "<p>Is true if the request succeeds and an error otherwise.</p>" 127 } 128 }, 129 "ThrottlingException": { 130 "base": "<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>", 131 "refs": { 132 } 133 } 134 } 135 }