本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
GetSupportedResourceTypes
返回支持的 AWS 資源類型 AWS Backup。
請求語法
GET /supported-resource-types HTTP/1.1
URI 請求參數
請求不會使用任何 URI 參數。
請求主體
請求沒有請求主體。
回應語法
HTTP/1.1 200
Content-type: application/json
{
"ResourceTypes": [ "string" ]
}
回應元素
如果動作成功,則服務傳回 HTTP 200 回應。
服務會傳回下列 JSON 格式的資料。
- ResourceTypes
-
包含具有支援資 AWS 源類型的字串:
-
Aurora
代表 Amazon Aurora -
CloudFormation
為 AWS CloudFormation -
DocumentDB
代表 Amazon DocumentDB (with MongoDB compatibility) -
DynamoDB
代表 Amazon DynamoDB -
EBS
代表 Amazon Elastic Block Store -
EC2
代表 Amazon Elastic Compute Cloud -
EFS
代表 Amazon Elastic File System -
FSx
代表 Amazon FSx -
Neptune
代表 Amazon Neptune -
RDS
代表 Amazon Relational Database Service -
Redshift
代表 Amazon Redshift -
S3
Amazon Simple Storage Service (Amazon S3) -
SAP HANA on Amazon EC2
適用於 Amazon 彈性運算雲實例上的 SAP HANA 數據庫 -
Storage Gateway
為 AWS Storage Gateway -
Timestream
代表 Amazon Timestream -
VirtualMachine
適用於 VMware 虛擬機器
類型:字串陣列
模式:
^[a-zA-Z0-9\-\_\.]{1,50}$
-
錯誤
如需所有動作常見錯誤的資訊,請參閱常見錯誤。
- ServiceUnavailableException
-
由於伺服器發生臨時故障,請求失敗。
HTTP 狀態碼:500
另請參閱
如需在其中一個特定語言 AWS SDK 中使用此 API 的詳細資訊,請參閱下列內容: