アプリケーションの詳細を取得します。
操作説明
アプリケーションの詳細を照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:GetApplication |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
リクエスト ID。 |
c-e6a9d46e92675**** |
| ApplicationName |
string |
必須 |
アプリケーション名。 |
HDFS |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返された結果。 |
||
| Application |
object |
アプリケーション。 |
|
| ApplicationName |
string |
アプリケーション名。 |
HDFS |
| ApplicationVersion |
string |
アプリケーションバージョン。 |
2.8.1 |
| CommunityVersion |
string |
コミュニティバージョン。 |
2.8.1 |
| Actions |
array<object> |
アプリケーションでサポートされている操作のリスト。 |
|
|
array<object> |
ルールに一致するリクエストに対して実行する操作です。 |
||
| RunActionScope |
string |
実行範囲。有効値:
|
COMPONENT_INSTANCE |
| ComponentName |
string |
コンポーネント名。 |
DataNode |
| ActionName |
string |
操作名。 |
decommission |
| Description |
string |
操作の説明。 |
描述 |
| Command |
string |
操作コマンド。 |
decommission |
| ActionParams |
array<object> |
操作パラメーターのリスト。 |
|
|
array<object> |
操作のパラメーター。 |
||
| Key |
string |
パラメーター名。 |
timeout |
| ValueAttribute |
object |
パラメーター値の属性。 |
|
| ValueType |
string |
値の型。 |
int |
| ValueMaximum |
string |
値の最大範囲。 |
100 |
| ValueMinimum |
string |
値の最小範囲。 |
1 |
| ValueUnit |
string |
値の単位。 |
秒 |
| ValueIncrementStep |
string |
値の増分サイズ。 |
1 |
| Description |
string |
値の説明。 |
设置超时时间 |
| Description |
string |
説明 |
decommission下线动作 |
| ApplicationState |
string |
アプリケーションのステータス。 |
RUNNING |
| RequestId |
string |
リクエスト ID。 |
9E3A7161-EB7B-172B-8D18-FFB06BA3**** |
例
成功レスポンス
JSONJSON
{
"Application": {
"ApplicationName": "HDFS",
"ApplicationVersion": "2.8.1",
"CommunityVersion": "2.8.1",
"Actions": [
{
"RunActionScope": "COMPONENT_INSTANCE",
"ComponentName": "DataNode",
"ActionName": "decommission",
"Description": "描述",
"Command": "decommission",
"ActionParams": [
{
"Key": "timeout",
"ValueAttribute": {
"ValueType": "int",
"ValueMaximum": "100",
"ValueMinimum": "1",
"ValueUnit": "秒",
"ValueIncrementStep": "1",
"Description": "设置超时时间"
},
"Description": "decommission下线动作"
}
]
}
],
"ApplicationState": "RUNNING"
},
"RequestId": "9E3A7161-EB7B-172B-8D18-FFB06BA3****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvokeEcmError | An error occurred while invoking ECM service. | |
| 400 | NotFound.Cluster | The cluster is not found. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。