internal ContinueUpdateRollbackResponse ContinueUpdateRollback(ContinueUpdateRollbackRequest request) { var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var unmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return(Invoke <ContinueUpdateRollbackRequest, ContinueUpdateRollbackResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the ContinueUpdateRollback operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ContinueUpdateRollback 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 <ContinueUpdateRollbackResponse> ContinueUpdateRollbackAsync(ContinueUpdateRollbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var unmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return(InvokeAsync <ContinueUpdateRollbackRequest, ContinueUpdateRollbackResponse>(request, marshaller, unmarshaller, cancellationToken)); }
public void ContinueUpdateRollbackMarshallTest() { var operation = service_model.FindOperation("ContinueUpdateRollback"); var request = InstantiateClassGenerator.Execute<ContinueUpdateRollbackRequest>(); var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = ContinueUpdateRollbackResponseUnmarshaller.Instance.Unmarshall(context) as ContinueUpdateRollbackResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
public void ContinueUpdateRollbackMarshallTest() { var operation = service_model.FindOperation("ContinueUpdateRollback"); var request = InstantiateClassGenerator.Execute <ContinueUpdateRollbackRequest>(); var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation); validator.Validate(); var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(); var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null); var response = ContinueUpdateRollbackResponseUnmarshaller.Instance.Unmarshall(context) as ContinueUpdateRollbackResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
/// <summary> /// Initiates the asynchronous execution of the ContinueUpdateRollback operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ContinueUpdateRollback operation on AmazonCloudFormationClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndContinueUpdateRollback /// operation.</returns> public IAsyncResult BeginContinueUpdateRollback(ContinueUpdateRollbackRequest request, AsyncCallback callback, object state) { var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var unmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return BeginInvoke<ContinueUpdateRollbackRequest>(request, marshaller, unmarshaller, callback, state); }
/// <summary> /// For a specified stack that is in the <code>UPDATE_ROLLBACK_FAILED</code> state, continues /// rolling it back to the <code>UPDATE_ROLLBACK_COMPLETE</code> state. Depending on the /// cause of the failure, you can manually <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed"> /// fix the error</a> and continue the rollback. By continuing the rollback, you can return /// your stack to a working state (the <code>UPDATE_ROLLBACK_COMPLETE</code> state), return /// the stack to its original settings, and then try to update the stack again. /// /// /// <para> /// A stack goes into the <code>UPDATE_ROLLBACK_FAILED</code> state when AWS CloudFormation /// cannot roll back all changes after a failed stack update. For example, you might have /// a stack that is rolling back to an old database instance that was deleted outside /// of AWS CloudFormation. Because AWS CloudFormation doesn't know the database was deleted, /// it assumes that the database instance still exists and attempts to roll back to it, /// causing the update rollback to fail. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ContinueUpdateRollback service method.</param> /// /// <returns>The response from the ContinueUpdateRollback service method, as returned by CloudFormation.</returns> public ContinueUpdateRollbackResponse ContinueUpdateRollback(ContinueUpdateRollbackRequest request) { var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var unmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return Invoke<ContinueUpdateRollbackRequest,ContinueUpdateRollbackResponse>(request, marshaller, unmarshaller); }
/// <summary> /// Initiates the asynchronous execution of the ContinueUpdateRollback operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ContinueUpdateRollback 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<ContinueUpdateRollbackResponse> ContinueUpdateRollbackAsync(ContinueUpdateRollbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new ContinueUpdateRollbackRequestMarshaller(); var unmarshaller = ContinueUpdateRollbackResponseUnmarshaller.Instance; return InvokeAsync<ContinueUpdateRollbackRequest,ContinueUpdateRollbackResponse>(request, marshaller, unmarshaller, cancellationToken); }