Mengkueri daftar node kluster EMR.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
emr:ListNodes |
list |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat kluster berada. |
cn-hangzhou |
| ClusterId |
string |
Yes |
ID kluster. |
c-b933c5aac8fe**** |
| NextToken |
string |
No |
Token paginasi yang digunakan di permintaan berikutnya untuk mengambil halaman hasil baru. Jika parameter ini kosong, Anda dapat memulai dari awal. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
No |
Jumlah maksimum rekaman yang dikembalikan per pengatur waktu. Nilai valid: 1 hingga 100. |
20 |
| NodeGroupIds |
array |
No |
ID kelompok node. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
|
string |
No |
The ID of the node group. |
ng-869471354ecd**** |
|
| NodeIds |
array |
No |
ID node. |
c-b933c5aac8fe**** |
|
string |
No |
The ID of the node. |
i-bp1cudc25w2bfwl5**** |
|
| NodeNames |
array |
No |
Nama node. |
20 |
|
string |
No |
The name of the node. |
core1-1 |
|
| PrivateIps |
array |
No |
Alamat IP privat. |
["172.12.0.91"] |
|
string |
No |
The private IP address. |
10.10.10.8 |
|
| PublicIps |
array |
No |
Alamat IP publik. |
["120.13.14.38"] |
|
string |
No |
The public IP address. |
42.1.1.** |
|
| NodeStates |
array |
No |
Status node. |
["CREATED"] |
|
string |
No |
The status of the node. Valid values:
|
Running |
|
| Tags |
array |
No |
Tag. |
|
| Tag |
No |
The tag. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Nodes |
array |
The node list. |
|
| Node |
The node information. |
||
| RequestId |
string |
The ID of the request. |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| NextToken |
string |
The position at which the next read starts. If null is returned, the data has been read. |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
The maximum number of entries returned. |
20 |
| TotalCount |
integer |
The total number of records in this request. |
200 |
Contoh
Respons sukses
JSONformat
{
"Nodes": [
{
"ZoneId": "cn-beijing-h",
"NodeGroupId": "ng-869471354ecd****",
"NodeGroupType": "CORE",
"NodeId": "i-bp1cudc25w2bfwl5****",
"NodeName": "core1-1",
"PublicIp": "42.1.1.**",
"PrivateIp": "10.10.**.**",
"InstanceType": "ecs.g7.xlarge",
"NodeState": "Running",
"MaintenanceStatus": "",
"ExpireTime": 1603728394857,
"AutoRenew": false,
"AutoRenewDuration": 1,
"AutoRenewDurationUnit": "Month",
"CreateTime": 1603728394857
}
],
"RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"NextToken": "DD6B1B2A-5837-5237-ABE4-FF0C89568980",
"MaxResults": 20,
"TotalCount": 200
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ConflictParameters | Parameters that must not be used together. %s | |
| 400 | IncompleteSignature | The request signature is invalid. | |
| 400 | InvalidAction | The action %s requested is invalid. | |
| 400 | InvalidParameter | The specified parameter %s is not valid. | |
| 400 | InvalidParameterValue | The input parameter %s is invalid or out of range. | |
| 400 | MissingAction | The action %s requested is missing. | |
| 400 | MissingParameter | The input parameter %s that is mandatory for processing this request is not supplied. | |
| 400 | NotAuthorized | You do not have permission to perform this action. %s | |
| 400 | ThrottlingException | The request was denied due to request throttling. %s | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
| 404 | ResourceNotFound | The resource not found by %s. | |
| 503 | ServiceFailure | The request has failed due to a temporary failure of %s service. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.