/// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DeleteFlowResponse response = new DeleteFlowResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;

            while (context.ReadAtDepth(targetDepth))
            {
                if (context.TestExpression("flowArn", targetDepth))
                {
                    var unmarshaller = StringUnmarshaller.Instance;
                    response.FlowArn = unmarshaller.Unmarshall(context);
                    continue;
                }
                if (context.TestExpression("status", targetDepth))
                {
                    var unmarshaller = StringUnmarshaller.Instance;
                    response.Status = unmarshaller.Unmarshall(context);
                    continue;
                }
            }

            return(response);
        }
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            DeleteFlowResponse response = new DeleteFlowResponse();


            return(response);
        }
예제 #3
0
        public static DeleteFlowResponse Unmarshall(UnmarshallerContext _ctx)
        {
            DeleteFlowResponse deleteFlowResponse = new DeleteFlowResponse();

            deleteFlowResponse.HttpResponse = _ctx.HttpResponse;
            deleteFlowResponse.RequestId    = _ctx.StringValue("DeleteFlow.RequestId");

            return(deleteFlowResponse);
        }
        public static DeleteFlowResponse Unmarshall(UnmarshallerContext context)
        {
            DeleteFlowResponse deleteFlowResponse = new DeleteFlowResponse();

            deleteFlowResponse.HttpResponse = context.HttpResponse;
            deleteFlowResponse.RequestId    = context.StringValue("DeleteFlow.RequestId");
            deleteFlowResponse.Data         = context.BooleanValue("DeleteFlow.Data");

            return(deleteFlowResponse);
        }
 /// <summary>
 /// Remove a message flow
 /// </summary>
 /// <returns> DeleteFlowResponse object</returns>
 /// <param name="request">DeleteFlowRequest object</param>
 /// <param name='jsonRpcCallId'>
 /// The json rpc call identifier. This is a string generated by the client, which can be used to correlate the response to the request. Max length is 256 characters. A JSON-RPC id must be generated on a per call invocation basis. The Rogerthat platform uses the id of the call to store the call result for a certain amount of time so that if something fails during the communication, the same call (having the same JSON-RPC id) can be resent to the Rogerthat service, allowing to fetch the result, without actually executing the call again. This avoids annoying problems such as duplicate delivery of messages.
 /// 
 /// You should use a different JSON-RPC id for every call you make.
 /// 
 /// In case of an intermittent failure such as a network connectivity problem, you can retry the same call using the same JSON-RPC id, without running the risk of duplicate execution of your call (e.g. duplicate message delivery).
 /// </param>
 public DeleteFlowResponse DeleteFlow(DeleteFlowRequest request, string jsonRpcCallId)
 {
     DeleteFlowResponse result = new DeleteFlowResponse();
     WireRequest(0, jsonRpcCallId, "system.delete_flow", (writer) =>
         {
             request.Write(writer, false);
         }, (reader) =>
         {
             result.Read(reader);
         }
     );
     return result;
 }