/// <summary> /// Exports component configurations to code that is ready to integrate into an Amplify /// app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExportComponents service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ExportComponents service method, as returned by AmplifyUIBuilder.</returns> /// <exception cref="Amazon.AmplifyUIBuilder.Model.InternalServerException"> /// An internal error has occurred. Please retry your request. /// </exception> /// <exception cref="Amazon.AmplifyUIBuilder.Model.InvalidParameterException"> /// An invalid or out-of-range value was supplied for the input parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExportComponents">REST API Reference for ExportComponents Operation</seealso> public virtual Task <ExportComponentsResponse> ExportComponentsAsync(ExportComponentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExportComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportComponentsResponseUnmarshaller.Instance; return(InvokeAsync <ExportComponentsResponse>(request, options, cancellationToken)); }
internal virtual ExportComponentsResponse ExportComponents(ExportComponentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportComponentsResponseUnmarshaller.Instance; return(Invoke <ExportComponentsResponse>(request, options)); }