internal DeleteDashboardsResponse DeleteDashboards(DeleteDashboardsRequest request) { var marshaller = new DeleteDashboardsRequestMarshaller(); var unmarshaller = DeleteDashboardsResponseUnmarshaller.Instance; return(Invoke <DeleteDashboardsRequest, DeleteDashboardsResponse>(request, marshaller, unmarshaller)); }
/// <summary> /// Initiates the asynchronous execution of the DeleteDashboards operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteDashboards 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/monitoring-2010-08-01/DeleteDashboards">REST API Reference for DeleteDashboards Operation</seealso> public Task <DeleteDashboardsResponse> DeleteDashboardsAsync(DeleteDashboardsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeleteDashboardsRequestMarshaller(); var unmarshaller = DeleteDashboardsResponseUnmarshaller.Instance; return(InvokeAsync <DeleteDashboardsRequest, DeleteDashboardsResponse>(request, marshaller, unmarshaller, cancellationToken)); }
public void DeleteDashboardsMarshallTest() { var operation = service_model.FindOperation("DeleteDashboards"); var request = InstantiateClassGenerator.Execute <DeleteDashboardsRequest>(); var marshaller = new DeleteDashboardsRequestMarshaller(); 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 = DeleteDashboardsResponseUnmarshaller.Instance.Unmarshall(context) as DeleteDashboardsResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }