

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# ListRecipeVersions
<a name="API_ListRecipeVersions"></a>

列出特定 DataBrew 配方的版本，但以下版本除外`LATEST_WORKING`。

## 请求语法
<a name="API_ListRecipeVersions_RequestSyntax"></a>

```
GET /recipeVersions?maxResults=MaxResults&name=Name&nextToken=NextToken HTTP/1.1
```

## URI 请求参数
<a name="API_ListRecipeVersions_RequestParameters"></a>

请求使用以下 URI 参数。

 ** [MaxResults](#API_ListRecipeVersions_RequestSyntax) **   <a name="databrew-ListRecipeVersions-request-uri-MaxResults"></a>
此请求中要返回的最大结果数。  
有效范围：最小值为 1。最大值为 100。

 ** [Name](#API_ListRecipeVersions_RequestSyntax) **   <a name="databrew-ListRecipeVersions-request-uri-Name"></a>
要返回其版本信息的配方的名称。  
长度约束：最小长度为 1。最大长度为 255。  
是否必需：是

 ** [NextToken](#API_ListRecipeVersions_RequestSyntax) **   <a name="databrew-ListRecipeVersions-request-uri-NextToken"></a>
先前调用返回的用于检索下一组结果的令牌。  
长度限制：最小长度为 1。最大长度为 2000。

## 请求正文
<a name="API_ListRecipeVersions_RequestBody"></a>

该请求没有请求正文。

## 响应语法
<a name="API_ListRecipeVersions_ResponseSyntax"></a>

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

{
   "NextToken": "string",
   "Recipes": [ 
      { 
         "CreateDate": number,
         "CreatedBy": "string",
         "Description": "string",
         "LastModifiedBy": "string",
         "LastModifiedDate": number,
         "Name": "string",
         "ProjectName": "string",
         "PublishedBy": "string",
         "PublishedDate": number,
         "RecipeVersion": "string",
         "ResourceArn": "string",
         "Steps": [ 
            { 
               "Action": { 
                  "Operation": "string",
                  "Parameters": { 
                     "string" : "string" 
                  }
               },
               "ConditionExpressions": [ 
                  { 
                     "Condition": "string",
                     "TargetColumn": "string",
                     "Value": "string"
                  }
               ]
            }
         ],
         "Tags": { 
            "string" : "string" 
         }
      }
   ]
}
```

## 响应元素
<a name="API_ListRecipeVersions_ResponseElements"></a>

如果此操作成功，则该服务将会发送回 HTTP 200 响应。

服务以 JSON 格式返回以下数据。

 ** [Recipes](#API_ListRecipeVersions_ResponseSyntax) **   <a name="databrew-ListRecipeVersions-response-Recipes"></a>
指定配方的版本列表。  
类型：[Recipe](API_Recipe.md) 对象数组

 ** [NextToken](#API_ListRecipeVersions_ResponseSyntax) **   <a name="databrew-ListRecipeVersions-response-NextToken"></a>
可在后续调用中用于检索下一组结果的令牌。  
类型：字符串  
长度限制：最小长度为 1。最大长度为 2000。

## 错误
<a name="API_ListRecipeVersions_Errors"></a>

有关所有操作的常见错误的信息，请参阅[常见错误](CommonErrors.md)。

 ** ValidationException **   
此请求的输入参数验证失败。  
HTTP 状态代码：400

## 另请参阅
<a name="API_ListRecipeVersions_SeeAlso"></a>

有关以特定语言之一使用此 API 的更多信息 AWS SDKs，请参阅以下内容：
+  [AWS 命令行界面 V2](https://docs.aws.amazon.com/goto/cli2/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于.NET 的 SDK V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于 C\$1\$1 的 SDK](https://docs.aws.amazon.com/goto/SdkForCpp/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于 Go v2 的 SDK](https://docs.aws.amazon.com/goto/SdkForGoV2/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于 Java 的 SDK V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS JavaScript V3 版软件开发工具包](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于 Kotlin 的 SDK](https://docs.aws.amazon.com/goto/SdkForKotlin/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于 PHP 的 SDK V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS Python 软件开发工具包](https://docs.aws.amazon.com/goto/boto3/databrew-2017-07-25/ListRecipeVersions) 
+  [AWS 适用于 Ruby V3 的 SDK](https://docs.aws.amazon.com/goto/SdkForRubyV3/databrew-2017-07-25/ListRecipeVersions) 