管理アカウントまたはリソースディレクトリのメンバー内のリソースのタグキーを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcecenter:SearchMultiAccountResources |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Scope |
string |
必須 |
検索範囲。このパラメーターの値は、次のいずれかの項目に設定できます:
|
rd-r4**** |
| MaxResults |
integer |
任意 |
各ページに返すエントリの最大数。 有効値:1~100。 デフォルト値:20。 |
10 |
| NextToken |
string |
任意 |
次のリクエストで新しい結果ページを取得するために使用されるページネーショントークンです。 現在のリクエストで返されるエントリの総数が |
eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** |
| TagKey |
string |
任意 |
タグキー。 |
test_key |
| MatchType |
string |
任意 |
照合モード。有効な値:
|
Equals |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| NextToken |
string |
次のリクエストで新しい結果ページを取得するために使用されるページネーショントークンです。 |
AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P**** |
| RequestId |
string |
リクエストの ID。 |
FA6086F9-6363-51A5-A507-88E3201EBCCB |
| TagKeys |
array |
タグキー。 |
|
|
string |
タグキー。 |
test_key |
例
成功レスポンス
JSONJSON
{
"NextToken": "AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****",
"RequestId": "FA6086F9-6363-51A5-A507-88E3201EBCCB",
"TagKeys": [
"test_key"
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | InvalidParameter.MaxResults | The specified parameter MaxResults is not valid. | |
| 400 | MultiAccountServiceNotEnabled | Multi account ResourceCenter service is not enabled. | |
| 403 | NoPermission.AccountScope | The operator is not permitted for this account scope. | |
| 404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | |
| 404 | NotExists.ResourceDirectory.FolderId | The specified folder does not exist. | |
| 409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. | |
| 409 | InvalidParameter.Scope | The Scope is invalid. | |
| 409 | InvalidParameter.MatchType | The specified parameter MatchType is not valid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。