本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
Applications applicationId Dependencies
URI
/applications/applicationId/dependencies
HTTP 方法
GET
操作 ID:ListApplicationDependencies
检索嵌套在包含应用程序中的应用程序列表。
| 名称 | 类型 | 必需 | 描述 |
|---|---|---|---|
applicationId | 字符串 | True | 应用程序的 Amazon 资源名称(ARN)。 |
| 名称 | 类型 | 必需 | 描述 |
|---|---|---|---|
nextToken | 字符串 | False | 指定从何处开始分页的令牌。 |
maxItems | 字符串 | False | 要退货的商品总数。 |
semanticVersion | 字符串 | False | 要获取的应用程序的语义版本。 |
| 状态代码 | 响应模型 | 说明 |
|---|---|---|
200 | ApplicationDependencyPage | 成功 |
400 | BadRequestException | 请求中的参数之一无效。 |
403 | ForbiddenException | 客户端未通过身份验证。 |
404 | NotFoundException | 请求中指定的资源(例如访问策略声明)不存在。 |
429 | TooManyRequestsException | 客户端每单位时间发送的请求数超过了允许的请求数。 |
500 | InternalServerErrorException | 该 Amazon Serverless Application Repository 服务遇到了内部错误。 |
OPTIONS
| 名称 | 类型 | 必需 | 描述 |
|---|---|---|---|
applicationId | 字符串 | True | 应用程序的 Amazon 资源名称(ARN)。 |
| 状态代码 | 响应模型 | 说明 |
|---|---|---|
200 | 无 | 200 条回复 |
Schema
响应正文
{ "dependencies": [ { "applicationId": "string", "semanticVersion": "string" } ], "nextToken": "string" }
属性
ApplicationDependencyPage
嵌套在应用程序中的应用程序摘要列表。
| 属性 | 类型 | 必需 | 说明 |
|---|---|---|---|
dependencies | ApplicationDependencySummary 类型的数组 | True | 嵌套在应用程序中的应用程序摘要数组。 |
nextToken | 字符串 | False | 用于请求下一页结果的令牌。 |
ApplicationDependencySummary
嵌套应用程序摘要。
| 属性 | 类型 | 必需 | 描述 |
|---|---|---|---|
applicationId | 字符串 | True | 嵌套应用程序的亚马逊资源名称 (ARN)。 |
semanticVersion | 字符串 | True | 嵌套应用程序的语义版本。 |
BadRequestException
请求中的参数之一无效。
| 属性 | 类型 | 必需 | 描述 |
|---|---|---|---|
errorCode | 字符串 | False | 400 |
message | 字符串 | False | 请求中的参数之一无效。 |
ForbiddenException
客户端未通过身份验证。
| 属性 | 类型 | 必需 | 描述 |
|---|---|---|---|
errorCode | 字符串 | False | 403 |
message | 字符串 | False | 客户端未通过身份验证。 |
InternalServerErrorException
该 Amazon Serverless Application Repository 服务遇到了内部错误。
| 属性 | 类型 | 必需 | 描述 |
|---|---|---|---|
errorCode | 字符串 | False | 500 |
message | 字符串 | False | 该 Amazon Serverless Application Repository 服务遇到了内部错误。 |
NotFoundException
请求中指定的资源(例如访问策略声明)不存在。
| 属性 | 类型 | 必需 | 描述 |
|---|---|---|---|
errorCode | 字符串 | False | 404 |
message | 字符串 | False | 请求中指定的资源(例如访问策略声明)不存在。 |
TooManyRequestsException
客户端每单位时间发送的请求数超过了允许的请求数。
| 属性 | 类型 | 必需 | 描述 |
|---|---|---|---|
errorCode | 字符串 | False | 429 |
message | 字符串 | False | 客户端每单位时间发送的请求数超过了允许的请求数。 |