EMR クラスターとその Elastic Compute Service (ECS) インスタンスの自動更新を有効または無効にします。
操作説明
この操作を呼び出す前に、E-MapReduce の課金方法と料金を理解していることを確認してください。注: 自動更新は手動更新とは異なります。インスタンスの有効期限が切れているか、翌日に有効期限が切れる場合は、まず手動更新を実行する必要があります。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
emr:UpdateClusterAutoRenew |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID です。 |
cn-hangzhou |
| ClusterId |
string |
必須 |
クラスター ID です。 |
c-d6661c71139a**** |
| ClusterAutoRenew |
boolean |
任意 |
クラスターの自動更新を有効にするかどうかを指定します。有効な値:
デフォルト値: false。 |
true |
| ClusterAutoRenewDuration |
integer |
任意 |
クラスターの自動更新期間。このパラメーターは、ClusterAutoRenew が true に設定されている場合にのみ有効になります。ClusterAutoRenewDurationUnit が Month に設定されている場合、有効な値は 1、2、3、4、5、6、7、8、9、12、24、および 36 です。ClusterAutoRenewDurationUnit が Year に設定されている場合、有効な値は 1、2、および 3 です。 |
1 |
| ClusterAutoRenewDurationUnit |
string |
任意 |
自動更新期間の単位。有効な値:
デフォルト値: Month。 |
Monthly |
| RenewAllInstances |
boolean |
任意 |
クラスター内のすべての ECS インスタンスの自動更新を有効にするかどうかを指定します。有効な値:
デフォルト値: false。 |
|
| AutoRenewInstances |
array |
任意 |
自動更新を有効にする ECS インスタンスのリスト。このパラメーターは、RenewAllInstances が true に設定されていない場合にのみ有効になります。 |
|
|
AutoRenewInstance |
任意 |
自動更新を有効にする ECS インスタンス。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返されたデータ。 |
||
Success
deprecated
|
boolean |
操作が成功したかどうかを示します。 |
true |
| RequestId |
string |
リクエスト ID です。 |
9E3A7161-EB7B-172B-8D18-FFB06BA3896A |
例
成功レスポンス
JSONJSON
{
"Success": true,
"RequestId": "9E3A7161-EB7B-172B-8D18-FFB06BA3896A"
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。