SNS 消息的正文将包含从InitiateJob请求返回的作业 ID。以下是 Glacier 检索请求的示例 SNS JSON 正文:
{
"Action":"ArchiveRetrieval",
"ArchiveId":"ewhHkrpO1sNPI4sFpDK7y0xFVNSR-eHEYrbWR2XKfRSy0Mf6f77T6P_9RhBLBqwn09k9AkcB0h03pyJiKxCfXRCVUDbvvTl7vJHbZO2ozTgunqbJ88p3uY1ytfhTDf_41PysxSmz_Q",
"ArchiveSHA256TreeHash":"34bbe1a578aa9a7ce3ada96e6e291821bd34b1fee403e3653a32d0a4ab0c7194",
"ArchiveSizeInBytes":1100754352,
"Completed":true,
"CompletionDate":"2013-03-12T22:17:29.692Z",
"CreationDate":"2013-03-12T18:17:13.938Z",
"InventorySizeInBytes":null,
"JobDescription":null,
"JobId":"uwa_RxWK39KIY0UGfgL38OWxQw234I8Gpre93LgW8VAl93Ts6VffRZyMbzZqjIh3GqqkiArv9oAXBRNXuUFfFko8bdcF",
"RetrievalByteRange":"0-1100754351",
"SHA256TreeHash":"34bbe1a578aa9a7ce3ada96e6e291821bd34b1fee403e3653a32d0a4ab0c7194",
"SNSTopic":null,
"StatusCode":"Succeeded",
"StatusMessage":"Succeeded",
"VaultARN":"..."
}
您可以将该JobId
字段传递给GetJobOutput请求以下载存档的内容。该值可以InitiateJob
通过标头与原始响应相关联x-amz-job-id
。