

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

# Applications applicationId Dependencies
<a name="applications-applicationid-dependencies"></a>

## URI
<a name="applications-applicationid-dependencies-url"></a>

`/applications/{{applicationId}}/dependencies`

## HTTP 方法
<a name="applications-applicationid-dependencies-http-methods"></a>

### GET
<a name="applications-applicationid-dependenciesget"></a>

**操作 ID：**`ListApplicationDependencies`

检索嵌套在包含应用程序中的应用程序列表。


**路径参数**  

| Name | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| {{applicationId}} | 字符串 | True | 应用程序的 Amazon 资源名称（ARN）。 | 


**查询参数**  

| Name | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| nextToken | 字符串 | False | 指定从何处开始分页的令牌。 | 
| maxItems | 字符串 | False | 要退货的商品总数。 | 
| semanticVersion | 字符串 | False | 要获取的应用程序的语义版本。 | 


**响应**  

| 状态代码 | 响应模型 | 说明 | 
| --- |--- |--- |
| 200 | ApplicationDependencyPage | 成功 | 
| 400 | BadRequestException | 请求中的参数之一无效。 | 
| 403 | ForbiddenException | 客户端未通过身份验证。 | 
| 404 | NotFoundException | 请求中指定的资源（例如访问策略声明）不存在。 | 
| 429 | TooManyRequestsException | 客户端每单位时间发送的请求数超过了允许的请求数。 | 
| 500 | InternalServerErrorException | 该 AWS Serverless Application Repository 服务遇到了内部错误。 | 

### OPTIONS
<a name="applications-applicationid-dependenciesoptions"></a>


**路径参数**  

| Name | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| {{applicationId}} | 字符串 | True | 应用程序的 Amazon 资源名称（ARN）。 | 


**响应**  

| 状态代码 | 响应模型 | 说明 | 
| --- |--- |--- |
| 200 | 无 | 200 条回复 | 

## 架构
<a name="applications-applicationid-dependencies-schemas"></a>

### 响应正文
<a name="applications-applicationid-dependencies-response-examples"></a>

#### ApplicationDependencyPage 架构
<a name="applications-applicationid-dependencies-response-body-applicationdependencypage-example"></a>

```
{
  "dependencies": [
    {
      "applicationId": "string",
      "semanticVersion": "string"
    }
  ],
  "nextToken": "string"
}
```

#### BadRequestException 架构
<a name="applications-applicationid-dependencies-response-body-badrequestexception-example"></a>

```
{
  "message": "string",
  "errorCode": "string"
}
```

#### ForbiddenException 架构
<a name="applications-applicationid-dependencies-response-body-forbiddenexception-example"></a>

```
{
  "message": "string",
  "errorCode": "string"
}
```

#### NotFoundException 架构
<a name="applications-applicationid-dependencies-response-body-notfoundexception-example"></a>

```
{
  "message": "string",
  "errorCode": "string"
}
```

#### TooManyRequestsException 架构
<a name="applications-applicationid-dependencies-response-body-toomanyrequestsexception-example"></a>

```
{
  "message": "string",
  "errorCode": "string"
}
```

#### InternalServerErrorException 架构
<a name="applications-applicationid-dependencies-response-body-internalservererrorexception-example"></a>

```
{
  "message": "string",
  "errorCode": "string"
}
```

## Properties
<a name="applications-applicationid-dependencies-properties"></a>

### ApplicationDependencyPage
<a name="applications-applicationid-dependencies-model-applicationdependencypage"></a>

嵌套在应用程序中的应用程序摘要列表。


| 属性 | Type | 必需 | 说明 | 
| --- |--- |--- |--- |
| dependencies | [ApplicationDependencySummary](#applications-applicationid-dependencies-model-applicationdependencysummary) 类型的数组 | True | 嵌套在应用程序中的应用程序摘要数组。 | 
| nextToken | 字符串 | False | 用于请求下一页结果的令牌。 | 

### ApplicationDependencySummary
<a name="applications-applicationid-dependencies-model-applicationdependencysummary"></a>

嵌套应用程序摘要。


| 属性 | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| applicationId | 字符串 | True | 嵌套应用程序的亚马逊资源名称 (ARN)。 | 
| semanticVersion | 字符串 | True | 嵌套应用程序的语义版本。 | 

### BadRequestException
<a name="applications-applicationid-dependencies-model-badrequestexception"></a>

请求中的参数之一无效。


| 属性 | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| errorCode | 字符串 | False | 400 | 
| message | 字符串 | False | 请求中的参数之一无效。 | 

### ForbiddenException
<a name="applications-applicationid-dependencies-model-forbiddenexception"></a>

客户端未通过身份验证。


| 属性 | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| errorCode | 字符串 | False | 403 | 
| message | 字符串 | False | 客户端未通过身份验证。 | 

### InternalServerErrorException
<a name="applications-applicationid-dependencies-model-internalservererrorexception"></a>

该 AWS Serverless Application Repository 服务遇到了内部错误。


| 属性 | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| errorCode | 字符串 | False | 500 | 
| message | 字符串 | False | 该 AWS Serverless Application Repository 服务遇到了内部错误。 | 

### NotFoundException
<a name="applications-applicationid-dependencies-model-notfoundexception"></a>

请求中指定的资源（例如访问策略声明）不存在。


| 属性 | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| errorCode | 字符串 | False | 404 | 
| message | 字符串 | False | 请求中指定的资源（例如访问策略声明）不存在。 | 

### TooManyRequestsException
<a name="applications-applicationid-dependencies-model-toomanyrequestsexception"></a>

客户端每单位时间发送的请求数超过了允许的请求数。


| 属性 | Type | 必需 | 描述 | 
| --- |--- |--- |--- |
| errorCode | 字符串 | False | 429 | 
| message | 字符串 | False | 客户端每单位时间发送的请求数超过了允许的请求数。 | 

## 另请参阅
<a name="applications-applicationid-dependencies-see-also"></a>

有关在特定语言 AWS SDKs 和参考中使用此 API 的更多信息，请参阅以下内容：

### ListApplicationDependencies
<a name="ListApplicationDependencies-see-also"></a>
+ [AWS 命令行界面 V2](/goto/cli2/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于.NET 的 AWS 开发工具包 V4](/goto/DotNetSDKV4/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 C\+\+ 的 AWS SDK](/goto/SdkForCpp/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 Go 的 AWS SDK v2](/goto/SdkForGoV2/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 Java V2 的 AWS SDK](/goto/SdkForJavaV2/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 JavaScript V3 的 AWS 开发工具包](/goto/SdkForJavaScriptV3/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 Kotlin 的 AWS 开发工具包](/goto/SdkForKotlin/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 PHP 的 Amazon SDK V3](/goto/SdkForPHPV3/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 Python 的 Amazon SDK](/goto/boto3/serverlessrepo-2017-09-08/ListApplicationDependencies)
+ [适用于 Ruby 的 Amazon SDK V3](/goto/SdkForRubyV3/serverlessrepo-2017-09-08/ListApplicationDependencies)