Applications applicationId Dependencies - Amazon Serverless Application Repository
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

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

Applications applicationId Dependencies

URI

/applications/applicationId/dependencies

HTTP 方法

GET

操作 ID:ListApplicationDependencies

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

路径参数
名称Type必需描述
应用程序 IDStringTrue

应用程序的 Amazon 资源名称(ARN)。

查询参数
名称Type必需描述
nextTokenStringFalse

指定从何处开始分页的令牌。

maxItemsStringFalse

要退货的商品总数。

semanticVersionStringFalse

要获取的应用程序的语义版本。

响应
状态代码响应模型描述
200ApplicationDependencyPage

成功

400BadRequestException

请求中的参数之一无效。

403ForbiddenException

客户端未通过身份验证。

404NotFoundException

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

429TooManyRequestsException

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

500InternalServerErrorException

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

OPTIONS

路径参数
名称Type必需描述
应用程序 IDStringTrue

应用程序的 Amazon 资源名称(ARN)。

响应
状态代码响应模型描述
200

200 条回复

架构

响应正文

{ "dependencies": [ { "applicationId": "string", "semanticVersion": "string" } ], "nextToken": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "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

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