権限付与ルールを一覧表示します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eiam:ListAuthorizationRules |
list |
*AuthorizationRule
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
インスタンスの ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
任意 |
次のページの結果の開始を識別するトークン。
|
NTxxxxxexample |
| MaxResults |
integer |
任意 |
各ページで返されるエントリの最大数。
|
20 |
| Filter |
array<object> |
任意 |
フィルター条件。 |
|
|
object |
任意 |
フィルター条件。 |
||
| Name |
string |
任意 |
フィルターするフィールドの名前。有効な値:
|
AuthorizationRuleId |
| Value |
array |
任意 |
フィルターするフィールドの値のリスト。 |
|
|
string |
任意 |
フィルターするフィールドの値。 |
arrule_01kf143ug06fg7m9f43u7vahxxxx |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
リスト内のエントリの合計数。 |
100 |
| NextToken |
string |
この呼び出しによって返されるトークン。次の呼び出しでこれを使用して、次のページの結果を取得します。 |
NTxxxexample |
| MaxResults |
integer |
ページあたりのエントリ数。 |
20 |
| AuthorizationRules |
array<object> |
権限付与ルールのリスト。 |
|
|
object |
権限付与ルールオブジェクト。 |
||
| InstanceId |
string |
インスタンスの ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| AuthorizationRuleId |
string |
権限付与ルールの ID。 |
arrule_01kf143ug06fg7m9f43u7vahxxxx |
| AuthorizationRuleName |
string |
権限付与ルールの名前。 |
test-name |
| Status |
string |
権限付与ルールのステータス。有効な値:
|
enabled |
| ProjectId |
string |
権限付与ルールに関連付けられたプロジェクトの ID です。 |
iprj_system_default |
| AuthorizationResourceScope |
string |
権限付与するリソースの範囲。有効な値:
|
global |
| AuthorizationRuleCreationType |
string |
権限付与ルール作成のタイプ。有効な値:
|
user_custom |
| AuthorizationRuleSubjectScope |
string |
権限付与ルールの主題の範囲。有効な値:
|
shared |
| AuthorizationRuleSubjectType |
string |
権限付与ルールに関連付けられている主題のタイプ。このパラメーターは、AuthorizationRuleSubjectScope が exclusive の場合にのみ有効です。有効な値:
|
user |
| AuthorizationRuleSubjectId |
string |
権限付与ルールに関連付けられている主題の ID。 |
user_d6sbsuumeta4h66ec3il7yxxxx |
| Description |
string |
権限付与ルールの説明。 |
this is a test |
| CreateTime |
integer |
権限付与ルールが作成された時刻 (Unix タイムスタンプ形式)。単位: ミリ秒。 |
1652085686179 |
| UpdateTime |
integer |
権限付与ルールが最後に更新された時刻(UNIX タイムスタンプ形式)。単位:ミリ秒。 |
1652085686179 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"MaxResults": 20,
"AuthorizationRules": [
{
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"AuthorizationRuleId": "arrule_01kf143ug06fg7m9f43u7vahxxxx",
"AuthorizationRuleName": "test-name",
"Status": "enabled",
"ProjectId": "iprj_system_default",
"AuthorizationResourceScope": "global",
"AuthorizationRuleCreationType": "user_custom",
"AuthorizationRuleSubjectScope": "shared",
"AuthorizationRuleSubjectType": "user",
"AuthorizationRuleSubjectId": "user_d6sbsuumeta4h66ec3il7yxxxx",
"Description": "this is a test",
"CreateTime": 1652085686179,
"UpdateTime": 1652085686179
}
]
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。