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

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

GetSupportedResourceTypes

返回支持的 Amazon 资源类型 Amazon Backup。

请求语法

GET /supported-resource-types HTTP/1.1

URI 请求参数

该请求不使用任何 URI 参数。

请求体

该请求没有请求正文。

响应语法

HTTP/1.1 200 Content-type: application/json { "ResourceTypes": [ "string" ] }

响应元素

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

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

ResourceTypes

包含一个包含支持的 Amazon 资源类型的字符串:

  • 适用于 Amazon Aurora 的 Aurora

  • DynamoDB:表示 Amazon DynamoDB

  • EBS:表示 Amazon Elastic Block Store

  • EC2:表示 Amazon Elastic Compute Cloud

  • EFS:表示 Amazon Elastic File System

  • 适用于 Amazon FSx 的 FSX

  • 适用于 Amazon Relational Database Service 的 RDS

  • 适用于 Storage Gateway 的 Storage Gateway

  • 适用于 Amazon DocumentDB(与 MongoDB 兼容)的 DocDB

  • 适用于 Amazon Neptune 的 Neptune

类型:字符串数组

模式:^[a-zA-Z0-9\-\_\.]{1,50}$

错误

有关所有操作返回的常见错误的信息,请参阅常见错误

ServiceUnavailableException

由于服务器发生临时故障而导致请求失败。

HTTP 状态代码:500

另请参阅

有关在特定语言的 Amazon SDK 中使用此 API 的更多信息,请参阅以下内容: