ApsaraMQ for MQTT インスタンスにおいて、デバイスごとの一意の証明書認証モードでアクセス認証情報を申請したクライアントをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mq:MqttInstanceAccess |
list |
*Instance
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
ApsaraMQ for MQTT インスタンスの ID です。クライアントが使用する実際のインスタンス ID と一致している必要があります。この ID は、コンソールの [インスタンスの詳細] ページから取得できます。 |
mqtt-xxxxxxxx |
| GroupId |
string |
必須 |
マイクロメッセージキューの MQTT バージョンのグループ ID です。 |
GID_xxx |
| PageNo |
string |
任意 |
返される結果のページ番号を示します。開始ページは 1 からカウントされます。 |
1 |
| PageSize |
string |
必須 |
1 ページに表示するクエリレコードの最大数です。 有効値:1~100。 |
100 |
| NextToken |
string |
任意 |
次のページのクエリを開始するためのトークンです。 |
FFdXXXXXWa |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
パブリックパラメーターです。各リクエスト ID は一意であり、トラブルシューティングや問題の特定に使用できます。 |
020F6A43-19E6-4B6E-B846-44EB31DF**** |
| DeviceCredentialClientIdList |
object |
情報リストを返します。 |
|
| Total |
string |
クエリ結果の総数です。 |
10 |
| ClientIdList |
array |
クライアントリストです。 |
|
|
string |
クライアント ID です。 |
GID_test@@@pub-1 |
|
| PageNo |
string |
返されたクエリレコードの現在のページ番号です。 |
1 |
| PageSize |
string |
1 ページに表示される結果の最大数です。 |
100 |
| NextToken |
string |
次のクエリのためのトークン (Token) があるかどうかを示します。値:
|
634dxxxxx75b5f |
例
成功レスポンス
JSONJSON
{
"RequestId": "020F6A43-19E6-4B6E-B846-44EB31DF****",
"DeviceCredentialClientIdList": {
"Total": "10",
"ClientIdList": [
"GID_test@@@pub-1"
],
"PageNo": "1",
"PageSize": "100",
"NextToken": "634dxxxxx75b5f"
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ApplyTokenOverFlow | You have applied for tokens too many times. Please try again later. | |
| 400 | CheckAccountInfoFailed | An error occurred while checking the account information by the STS token. | |
| 400 | InstancePermissionCheckFailed | An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. | |
| 400 | ParameterCheckFailed | An error occurred while validating the parameters. The parameters may be missing or invalid. | |
| 400 | PermissionCheckFailed | An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. | |
| 400 | InvalidParameter.%s | An error occurred while validating the parameter. The parameter may be missing or invalid. | |
| 500 | InternalError | An error occurred while processing your request. Try again later. | |
| 500 | SystemOverFlow | An error occurred while processing your request. Please try again. | |
| 404 | ApiNotSupport | The specified API is not supported. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。