UpdateApplicationVersionRequestMarshaller

We found 10 examples in language CSharp for this search. You will see 16 fragments of code.

        internal static UpdateApplicationVersionRequestMarshaller GetInstance()
        {
            return _instance;
        }


        internal static UpdateApplicationVersionRequestMarshaller GetInstance()
        {
            return _instance;
        }


        internal static UpdateApplicationVersionRequestMarshaller GetInstance()
        {
            return _instance;
        }


        internal static UpdateApplicationVersionRequestMarshaller GetInstance()
        {
            return _instance;
        }


        internal static UpdateApplicationVersionRequestMarshaller GetInstance()
        {
            return _instance;
        }


        internal static UpdateApplicationVersionRequestMarshaller GetInstance()
        {
            return _instance;
        }


        public IRequest<UpdateApplicationVersionRequest> Marshall(UpdateApplicationVersionRequest updateApplicationVersionRequest) 
        {
            IRequest<UpdateApplicationVersionRequest> request = new DefaultRequest<UpdateApplicationVersionRequest>(updateApplicationVersionRequest, "AmazonElasticBeanstalk");
            request.Parameters.Add("Action", "UpdateApplicationVersion");
            request.Parameters.Add("Version", "2010-12-01");
            if (updateApplicationVersionRequest != null && updateApplicationVersionRequest.IsSetApplicationName()) 
            {
                request.Parameters.Add("ApplicationName", StringUtils.FromString(updateApplicationVersionRequest.ApplicationName));
            }
            if (updateApplicationVersionRequest != null && updateApplicationVersionRequest.IsSetVersionLabel()) 
            {
                request.Parameters.Add("VersionLabel", StringUtils.FromString(updateApplicationVersionRequest.VersionLabel));
            }
            if (updateApplicationVersionRequest != null && updateApplicationVersionRequest.IsSetDescription()) 
            {
                request.Parameters.Add("Description", StringUtils.FromString(updateApplicationVersionRequest.Description));
            }


            return request;
        }

        public IRequest Marshall(UpdateApplicationVersionRequest updateApplicationVersionRequest)
        {
            IRequest request = new DefaultRequest(updateApplicationVersionRequest, "AmazonElasticBeanstalk");
            request.Parameters.Add("Action", "UpdateApplicationVersion");
            request.Parameters.Add("Version", "2010-12-01");
            if (updateApplicationVersionRequest != null && updateApplicationVersionRequest.IsSetApplicationName())
            {
                request.Parameters.Add("ApplicationName", StringUtils.FromString(updateApplicationVersionRequest.ApplicationName));
            }
            if (updateApplicationVersionRequest != null && updateApplicationVersionRequest.IsSetVersionLabel())
            {
                request.Parameters.Add("VersionLabel", StringUtils.FromString(updateApplicationVersionRequest.VersionLabel));
            }
            if (updateApplicationVersionRequest != null && updateApplicationVersionRequest.IsSetDescription())
            {
                request.Parameters.Add("Description", StringUtils.FromString(updateApplicationVersionRequest.Description));
            }

            return request;
        }

        /// <summary>
        /// Marshaller the request object to the HTTP request.
        /// </summary>  
        /// <param name="input"></param>
        /// <returns></returns>
        public IRequest Marshall(AmazonWebServiceRequest input)
        {
            return this.Marshall((UpdateApplicationVersionRequest)input);
        }
    
        /// <summary>
        /// Marshaller the request object to the HTTP request.
        /// </summary>  
        /// <param name="publicRequest"></param>
        /// <returns></returns>
        public IRequest Marshall(UpdateApplicationVersionRequest publicRequest)
        {
            IRequest request = new DefaultRequest(publicRequest, "Amazon.ElasticBeanstalk");
            request.Parameters.Add("Action", "UpdateApplicationVersion");
            request.Parameters.Add("Version", "2010-12-01");

            if(publicRequest != null)
            {
                if(publicRequest.IsSetApplicationName())
                {
                    request.Parameters.Add("ApplicationName", StringUtils.FromString(publicRequest.ApplicationName));
                }
                if(publicRequest.IsSetDescription())
                {
                    request.Parameters.Add("Description", StringUtils.FromString(publicRequest.Description));
                }
                if(publicRequest.IsSetVersionLabel())
                {
                    request.Parameters.Add("VersionLabel", StringUtils.FromString(publicRequest.VersionLabel));
                }
            }
            return request;
        }


        #endregion

        #region Overrides

        /// <summary>
        /// Creates the signer for the service.
        /// </summary>
        protected override AbstractAWSSigner CreateSigner()
        {
            return new AWS4Signer();
        } 


        #endregion

        #region Dispose

        /// <summary>
        /// Disposes the service client.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);
        }

        #endregion

        
        #region  AbortEnvironmentUpdate

        internal AbortEnvironmentUpdateResponse AbortEnvironmentUpdate(AbortEnvironmentUpdateRequest request)
        {
            var marshaller = new AbortEnvironmentUpdateRequestMarshaller();
            var unmarshaller = AbortEnvironmentUpdateResponseUnmarshaller.Instance;

            return Invoke<AbortEnvironmentUpdateRequest,AbortEnvironmentUpdateResponse>(request, marshaller, unmarshaller);
        }


        /// <summary>
        /// Initiates the asynchronous execution of the AbortEnvironmentUpdate operation.
        /// </summary>
        /// 
        /// <param name="request">Container for the necessary parameters to execute the AbortEnvironmentUpdate operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public Task<AbortEnvironmentUpdateResponse> AbortEnvironmentUpdateAsync(AbortEnvironmentUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new AbortEnvironmentUpdateRequestMarshaller();
            var unmarshaller = AbortEnvironmentUpdateResponseUnmarshaller.Instance;

            return InvokeAsync<AbortEnvironmentUpdateRequest,AbortEnvironmentUpdateResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

        #endregion
        
        #region  ApplyEnvironmentManagedAction

        internal ApplyEnvironmentManagedActionResponse ApplyEnvironmentManagedAction(ApplyEnvironmentManagedActionRequest request)
        {
            var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
            var unmarshaller = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance;

            return Invoke<ApplyEnvironmentManagedActionRequest,ApplyEnvironmentManagedActionResponse>(request, marshaller, unmarshaller);
        }


        /// <summary>
        /// Initiates the asynchronous execution of the ApplyEnvironmentManagedAction operation.
        /// </summary>
        /// 
        /// <param name="request">Container for the necessary parameters to execute the ApplyEnvironmentManagedAction operation.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        /// <returns>The task object representing the asynchronous operation.</returns>
        public Task<ApplyEnvironmentManagedActionResponse> ApplyEnvironmentManagedActionAsync(ApplyEnvironmentManagedActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
            var unmarshaller = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance;

            return InvokeAsync<ApplyEnvironmentManagedActionRequest,ApplyEnvironmentManagedActionResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Amazon.ElasticBeanstalk.Model.Internal.MarshallTransformations.UpdateApplicationVersionRequestMarshaller : IMarshaller

Constructors :

public UpdateApplicationVersionRequestMarshaller()

Methods :

public IRequest Marshall(AmazonWebServiceRequest input = )
public IRequest Marshall(UpdateApplicationVersionRequest publicRequest = )
public static UpdateApplicationVersionRequestMarshaller get_Instance()
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()

Other methods