public void DeleteApplicationInputProcessingConfigurationMarshallTest() { var request = InstantiateClassGenerator.Execute <DeleteApplicationInputProcessingConfigurationRequest>(); var marshaller = new DeleteApplicationInputProcessingConfigurationRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <DeleteApplicationInputProcessingConfigurationRequest>(request, jsonRequest); var webResponse = new WebResponseData { Headers = { { "x-amzn-RequestId", Guid.NewGuid().ToString() }, { "x-amz-crc32", "0" } } }; var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("DeleteApplicationInputProcessingConfiguration").ResponseStructure).Execute(); webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()); UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse); var response = DeleteApplicationInputProcessingConfigurationResponseUnmarshaller.Instance.Unmarshall(context) as DeleteApplicationInputProcessingConfigurationResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
internal DeleteApplicationInputProcessingConfigurationResponse DeleteApplicationInputProcessingConfiguration(DeleteApplicationInputProcessingConfigurationRequest request) { var marshaller = new DeleteApplicationInputProcessingConfigurationRequestMarshaller(); var unmarshaller = DeleteApplicationInputProcessingConfigurationResponseUnmarshaller.Instance; return(Invoke <DeleteApplicationInputProcessingConfigurationRequest, DeleteApplicationInputProcessingConfigurationResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteApplicationInputProcessingConfiguration operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteApplicationInputProcessingConfiguration 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> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfiguration">REST API Reference for DeleteApplicationInputProcessingConfiguration Operation</seealso> public Task <DeleteApplicationInputProcessingConfigurationResponse> DeleteApplicationInputProcessingConfigurationAsync(DeleteApplicationInputProcessingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteApplicationInputProcessingConfigurationRequestMarshaller(); var unmarshaller = DeleteApplicationInputProcessingConfigurationResponseUnmarshaller.Instance; return(InvokeAsync <DeleteApplicationInputProcessingConfigurationRequest, DeleteApplicationInputProcessingConfigurationResponse>(request, marshaller, unmarshaller, cancellationToken)); }