Returns information about the UploadArchiveResult response and response metadata.
Inheritance: Amazon.Runtime.AmazonWebServiceResponse
コード例 #1
0
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   UploadArchiveResponse response = new UploadArchiveResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            UploadArchiveResponse response = new UploadArchiveResponse();

              context.Read();

              response.UploadArchiveResult = UploadArchiveResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }
コード例 #3
0
        private static void UnmarshallResult(JsonUnmarshallerContext context,UploadArchiveResponse response)
        {
          

            if (context.ResponseData.GetHeaderValue("Location") != null)
                response.Location = context.ResponseData.GetHeaderValue("Location");
            if (context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash") != null)
                response.Checksum = context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash");
            if (context.ResponseData.GetHeaderValue("x-amz-archive-id") != null)
                response.ArchiveId = context.ResponseData.GetHeaderValue("x-amz-archive-id");           
            return;
        }                        
コード例 #4
0
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            UploadArchiveResponse response = new UploadArchiveResponse();       
          

            if (context.ResponseData.GetHeaderValue("Location") != null)
                response.Location = context.ResponseData.GetHeaderValue("Location");
            if (context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash") != null)
                response.Checksum = context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash");
            if (context.ResponseData.GetHeaderValue("x-amz-archive-id") != null)
                response.ArchiveId = context.ResponseData.GetHeaderValue("x-amz-archive-id");           
            return response;
        }