EMR クラスターのノードリストを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:ListNodes |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
インスタンスを作成するリージョン ID。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
クラスター ID。 |
c-b933c5aac8fe**** |
| NextToken |
string |
任意 |
読み取りを開始する現在の位置を示します。 この値を null に設定すると、最初から開始できます。 |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
任意 |
一度に取得するレコードの最大数。 有効値:1~100。 |
20 |
| NodeGroupIds |
array |
任意 |
ノードグループの ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
|
string |
任意 |
ノードグループの ID。 |
ng-869471354ecd**** |
|
| NodeIds |
array |
任意 |
ノード ID に関する情報で構成される配列。 |
c-b933c5aac8fe**** |
|
string |
任意 |
ノード ID。 |
i-bp1cudc25w2bfwl5**** |
|
| NodeNames |
array |
任意 |
ノード名。 |
20 |
|
string |
任意 |
ノード名。 |
core1-1 |
|
| PrivateIps |
array |
任意 |
プライベート IP アドレス。 |
["172.12.0.91"] |
|
string |
任意 |
プライベート IP アドレス。 |
10.10.10.8 |
|
| PublicIps |
array |
任意 |
パブリック IP アドレス。 |
["120.13.14.38"] |
|
string |
任意 |
パブリック IP アドレス。 |
42.1.1.** |
|
| NodeStates |
array |
任意 |
ノードのステータス。 |
["CREATED"] |
|
string |
任意 |
ノードのステータス。 有効値:
|
Running |
|
| Tags |
array |
任意 |
タグ。 |
|
| Tag |
任意 |
タグ。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| Nodes |
array |
ノードリスト。 |
|
| Node |
ノード情報。 |
||
| RequestId |
string |
リクエスト ID。 |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| NextToken |
string |
次の読み取りを開始する位置。 null が返された場合、データはすべて読み取られています。 |
DD6B1B2A-5837-5237-ABE4-FF0C89568980 |
| MaxResults |
integer |
返されるエントリの最大数。 |
20 |
| TotalCount |
integer |
このリクエストのレコード総数。 |
200 |
例
成功レスポンス
JSONJSON
{
"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
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。