

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# ListAccessPreviewFindings
<a name="API_ListAccessPreviewFindings"></a>

擷取指定存取預覽所產生的存取預覽調查結果清單。

## 請求語法
<a name="API_ListAccessPreviewFindings_RequestSyntax"></a>

```
POST /access-preview/accessPreviewId HTTP/1.1
Content-type: application/json

{
   "analyzerArn": "string",
   "filter": { 
      "string" : { 
         "contains": [ "string" ],
         "eq": [ "string" ],
         "exists": boolean,
         "neq": [ "string" ]
      }
   },
   "maxResults": number,
   "nextToken": "string"
}
```

## URI 請求參數
<a name="API_ListAccessPreviewFindings_RequestParameters"></a>

請求會使用下列 URI 參數。

 ** [accessPreviewId](#API_ListAccessPreviewFindings_RequestSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-request-uri-accessPreviewId"></a>
存取預覽的唯一 ID。  
模式：`[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}`  
必要：是

## 請求主體
<a name="API_ListAccessPreviewFindings_RequestBody"></a>

請求接受採用 JSON 格式的下列資料。

 ** [analyzerArn](#API_ListAccessPreviewFindings_RequestSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-request-analyzerArn"></a>
用於產生存取權[的分析器 ARN](https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources)。  
類型：字串  
模式：`[^:]*:[^:]*:[^:]*:[^:]*:[^:]*:analyzer/.{1,255}`  
必要：是

 ** [filter](#API_ListAccessPreviewFindings_RequestSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-request-filter"></a>
篩選傳回問題清單的條件。  
類型：[Criterion](API_Criterion.md)物件映射的字串  
必要：否

 ** [maxResults](#API_ListAccessPreviewFindings_RequestSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-request-maxResults"></a>
在回應中傳回的結果數目上限。  
類型：整數  
必要：否

 ** [nextToken](#API_ListAccessPreviewFindings_RequestSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-request-nextToken"></a>
用於傳回結果分頁的字符。  
類型：字串  
必要：否

## 回應語法
<a name="API_ListAccessPreviewFindings_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "findings": [ 
      { 
         "action": [ "string" ],
         "changeType": "string",
         "condition": { 
            "string" : "string" 
         },
         "createdAt": "string",
         "error": "string",
         "existingFindingId": "string",
         "existingFindingStatus": "string",
         "id": "string",
         "isPublic": boolean,
         "principal": { 
            "string" : "string" 
         },
         "resource": "string",
         "resourceControlPolicyRestriction": "string",
         "resourceOwnerAccount": "string",
         "resourceType": "string",
         "sources": [ 
            { 
               "detail": { 
                  "accessPointAccount": "string",
                  "accessPointArn": "string"
               },
               "type": "string"
            }
         ],
         "status": "string"
      }
   ],
   "nextToken": "string"
}
```

## 回應元素
<a name="API_ListAccessPreviewFindings_ResponseElements"></a>

如果動作成功，則服務傳回 HTTP 200 回應。

服務會傳回下列 JSON 格式的資料。

 ** [findings](#API_ListAccessPreviewFindings_ResponseSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-response-findings"></a>
符合指定篩選條件的存取預覽問題清單。  
類型：[AccessPreviewFinding](API_AccessPreviewFinding.md) 物件陣列

 ** [nextToken](#API_ListAccessPreviewFindings_ResponseSyntax) **   <a name="accessanalyzer-ListAccessPreviewFindings-response-nextToken"></a>
用於傳回結果分頁的字符。  
類型：字串

## 錯誤
<a name="API_ListAccessPreviewFindings_Errors"></a>

如需所有動作常見錯誤的資訊，請參閱[常見錯誤類型](CommonErrors.md)。

 ** AccessDeniedException **   
您沒有足夠存取權可執行此動作。  
HTTP 狀態碼：403

 ** ConflictException **   
衝突例外狀況錯誤。    
 ** resourceId **   
資源的 ID。  
 ** resourceType **   
資源類型。
HTTP 狀態碼：409

 ** InternalServerException **   
內部伺服器錯誤。    
 ** retryAfterSeconds **   
等待重試的秒數。
HTTP 狀態碼：500

 ** ResourceNotFoundException **   
找不到指定的資源。    
 ** resourceId **   
資源的 ID。  
 ** resourceType **   
資源的類型。
HTTP 狀態碼：404

 ** ThrottlingException **   
限流限制超過錯誤。    
 ** retryAfterSeconds **   
等待重試的秒數。
HTTP 狀態碼：429

 ** ValidationException **   
驗證例外狀況錯誤。    
 ** fieldList **   
未驗證的欄位清單。  
 ** reason **   
例外狀況的原因。
HTTP 狀態碼：400

## 另請參閱
<a name="API_ListAccessPreviewFindings_SeeAlso"></a>

如需在其中一種語言特定 AWS SDKs中使用此 API 的詳細資訊，請參閱下列內容：
+  [AWS 命令列界面 V2](https://docs.aws.amazon.com/goto/cli2/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 .NET V4 的 SDK](https://docs.aws.amazon.com/goto/DotNetSDKV4/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 Go 的 SDK v2](https://docs.aws.amazon.com/goto/SdkForGoV2/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 Java V2 的 SDK](https://docs.aws.amazon.com/goto/SdkForJavaV2/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 JavaScript V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 Kotlin 的 SDK](https://docs.aws.amazon.com/goto/SdkForKotlin/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 PHP V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForPHPV3/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 Python 的 SDK](https://docs.aws.amazon.com/goto/boto3/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 
+  [AWS 適用於 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/accessanalyzer-2019-11-01/ListAccessPreviewFindings) 