/// <summary>
        /// <para> Resumes Auto Scaling processes for an Auto Scaling group. For more information, see SuspendProcesses and ProcessType. </para>
        /// </summary>
        ///
        /// <param name="resumeProcessesRequest">Container for the necessary parameters to execute the ResumeProcesses service method on
        ///           AmazonAutoScaling.</param>
        ///
        public ResumeProcessesResponse ResumeProcesses(ResumeProcessesRequest resumeProcessesRequest)
        {
            IRequest <ResumeProcessesRequest> request  = new ResumeProcessesRequestMarshaller().Marshall(resumeProcessesRequest);
            ResumeProcessesResponse           response = Invoke <ResumeProcessesRequest, ResumeProcessesResponse> (request, this.signer, ResumeProcessesResponseUnmarshaller.GetInstance());

            return(response);
        }
Beispiel #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            ResumeProcessesResponse response = new ResumeProcessesResponse();

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

            while (context.ReadAtDepth(targetDepth))
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("ResumeProcessesResult", 2))
                    {
                        UnmarshallResult(context, response);
                        continue;
                    }

                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.Instance.Unmarshall(context);
                    }
                }
            }

            return(response);
        }
        public static ResumeProcessesResponse Unmarshall(UnmarshallerContext context)
        {
            ResumeProcessesResponse resumeProcessesResponse = new ResumeProcessesResponse();

            resumeProcessesResponse.HttpResponse = context.HttpResponse;
            resumeProcessesResponse.RequestId    = context.StringValue("ResumeProcesses.RequestId");

            return(resumeProcessesResponse);
        }
Beispiel #4
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            ResumeProcessesResponse response = new ResumeProcessesResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }
Beispiel #5
0
        private static void UnmarshallResult(XmlUnmarshallerContext context, ResumeProcessesResponse response)
        {
            int originalDepth = context.CurrentDepth;
            int targetDepth   = originalDepth + 1;

            if (context.IsStartOfDocument)
            {
                targetDepth += 2;
            }

            while (context.ReadAtDepth(originalDepth))
            {
                if (context.IsStartElement || context.IsAttribute)
                {
                }
            }

            return;
        }