-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
docs-2.json
153 lines (153 loc) · 7.33 KB
/
docs-2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"version": "2.0",
"service": "<p>This is the <i> Amazon EC2 Instance Connect API Reference</i>. It provides descriptions, syntax, and usage examples for each of the actions for Amazon 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.</p> <p>To view the Amazon EC2 Instance Connect content in the <i> Amazon EC2 User Guide</i>, 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>.</p> <p>For Amazon EC2 APIs, see the <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Welcome.html\">Amazon EC2 API Reference</a>.</p>",
"operations": {
"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>",
"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>"
},
"shapes": {
"AuthException": {
"base": "<p>Either your AWS credentials are not valid or you do not have access to the EC2 instance.</p>",
"refs": {
}
},
"AvailabilityZone": {
"base": null,
"refs": {
"SendSSHPublicKeyRequest$AvailabilityZone": "<p>The Availability Zone in which the EC2 instance was launched.</p>"
}
},
"EC2InstanceNotFoundException": {
"base": "<p>The specified instance was not found.</p>",
"refs": {
}
},
"EC2InstanceStateInvalidException": {
"base": "<p>Unable to connect because the instance is not in a valid state. Connecting to a stopped or terminated instance is not supported. If the instance is stopped, start your instance, and try to connect again.</p>",
"refs": {
}
},
"EC2InstanceTypeInvalidException": {
"base": "<p>The instance type is not supported for connecting via the serial console. Only Nitro instance types are currently supported.</p>",
"refs": {
}
},
"EC2InstanceUnavailableException": {
"base": "<p>The instance is currently unavailable. Wait a few minutes and try again.</p>",
"refs": {
}
},
"InstanceId": {
"base": null,
"refs": {
"SendSSHPublicKeyRequest$InstanceId": "<p>The ID of the EC2 instance.</p>",
"SendSerialConsoleSSHPublicKeyRequest$InstanceId": "<p>The ID of the EC2 instance.</p>"
}
},
"InstanceOSUser": {
"base": null,
"refs": {
"SendSSHPublicKeyRequest$InstanceOSUser": "<p>The OS user on the EC2 instance for whom the key can be used to authenticate.</p>"
}
},
"InvalidArgsException": {
"base": "<p>One of the parameters is not valid.</p>",
"refs": {
}
},
"RequestId": {
"base": null,
"refs": {
"SendSSHPublicKeyResponse$RequestId": "<p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>",
"SendSerialConsoleSSHPublicKeyResponse$RequestId": "<p>The ID of the request. Please provide this ID when contacting AWS Support for assistance.</p>"
}
},
"SSHPublicKey": {
"base": null,
"refs": {
"SendSSHPublicKeyRequest$SSHPublicKey": "<p>The public key material. To use the public key, you must have the matching private key.</p>",
"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>"
}
},
"SendSSHPublicKeyRequest": {
"base": null,
"refs": {
}
},
"SendSSHPublicKeyResponse": {
"base": null,
"refs": {
}
},
"SendSerialConsoleSSHPublicKeyRequest": {
"base": null,
"refs": {
}
},
"SendSerialConsoleSSHPublicKeyResponse": {
"base": null,
"refs": {
}
},
"SerialConsoleAccessDisabledException": {
"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>",
"refs": {
}
},
"SerialConsoleSessionLimitExceededException": {
"base": "<p>The instance currently has 1 active serial console session. Only 1 session is supported at a time.</p>",
"refs": {
}
},
"SerialConsoleSessionUnavailableException": {
"base": "<p>Unable to start a serial console session. Please try again.</p>",
"refs": {
}
},
"SerialConsoleSessionUnsupportedException": {
"base": "<p>Your instance's BIOS version is unsupported for serial console connection. Reboot your instance to update its BIOS, and then try again to connect.</p>",
"refs": {
}
},
"SerialPort": {
"base": null,
"refs": {
"SendSerialConsoleSSHPublicKeyRequest$SerialPort": "<p>The serial port of the EC2 instance. Currently only port 0 is supported.</p> <p>Default: 0</p>"
}
},
"ServiceException": {
"base": "<p>The service encountered an error. Follow the instructions in the error message and try again.</p>",
"refs": {
}
},
"String": {
"base": null,
"refs": {
"AuthException$Message": null,
"EC2InstanceNotFoundException$Message": null,
"EC2InstanceStateInvalidException$Message": null,
"EC2InstanceTypeInvalidException$Message": null,
"EC2InstanceUnavailableException$Message": null,
"InvalidArgsException$Message": null,
"SerialConsoleAccessDisabledException$Message": null,
"SerialConsoleSessionLimitExceededException$Message": null,
"SerialConsoleSessionUnavailableException$Message": null,
"SerialConsoleSessionUnsupportedException$Message": null,
"ServiceException$Message": null,
"ThrottlingException$Message": null
}
},
"Success": {
"base": null,
"refs": {
"SendSSHPublicKeyResponse$Success": "<p>Is true if the request succeeds and an error otherwise.</p>",
"SendSerialConsoleSSHPublicKeyResponse$Success": "<p>Is true if the request succeeds and an error otherwise.</p>"
}
},
"ThrottlingException": {
"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>",
"refs": {
}
}
}
}