/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.AmplifyUIBuilder.Model; using Amazon.AmplifyUIBuilder.Model.Internal.MarshallTransformations; using Amazon.AmplifyUIBuilder.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AmplifyUIBuilder { /// /// Implementation for accessing AmplifyUIBuilder /// /// The Amplify UI Builder API provides a programmatic interface for creating and configuring /// user interface (UI) component libraries and themes for use in your Amplify applications. /// You can then connect these UI components to an application's backend Amazon Web Services /// resources. /// /// /// /// You can also use the Amplify Studio visual designer to create UI components and model /// data for an app. For more information, see Introduction /// in the Amplify Docs. /// /// /// /// The Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation /// for client app development. For more information, see the Amplify /// Framework. For more information about deploying an Amplify application to Amazon /// Web Services, see the Amplify /// User Guide. /// /// public partial class AmazonAmplifyUIBuilderClient : AmazonServiceClient, IAmazonAmplifyUIBuilder { private static IServiceMetadata serviceMetadata = new AmazonAmplifyUIBuilderMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IAmplifyUIBuilderPaginatorFactory _paginators; /// /// Paginators for the service /// public IAmplifyUIBuilderPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AmplifyUIBuilderPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonAmplifyUIBuilderClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonAmplifyUIBuilderClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyUIBuilderConfig()) { } /// /// Constructs AmazonAmplifyUIBuilderClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonAmplifyUIBuilderClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyUIBuilderConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAmplifyUIBuilderClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonAmplifyUIBuilderClient Configuration Object public AmazonAmplifyUIBuilderClient(AmazonAmplifyUIBuilderConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Credentials /// /// AWS Credentials public AmazonAmplifyUIBuilderClient(AWSCredentials credentials) : this(credentials, new AmazonAmplifyUIBuilderConfig()) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonAmplifyUIBuilderClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAmplifyUIBuilderConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Credentials and an /// AmazonAmplifyUIBuilderClient Configuration object. /// /// AWS Credentials /// The AmazonAmplifyUIBuilderClient Configuration Object public AmazonAmplifyUIBuilderClient(AWSCredentials credentials, AmazonAmplifyUIBuilderConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonAmplifyUIBuilderClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyUIBuilderConfig()) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonAmplifyUIBuilderClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyUIBuilderConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyUIBuilderClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonAmplifyUIBuilderClient Configuration Object public AmazonAmplifyUIBuilderClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyUIBuilderConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonAmplifyUIBuilderClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyUIBuilderConfig()) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonAmplifyUIBuilderClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyUIBuilderConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAmplifyUIBuilderClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyUIBuilderClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonAmplifyUIBuilderClient Configuration Object public AmazonAmplifyUIBuilderClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyUIBuilderConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonAmplifyUIBuilderEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateComponent /// /// Creates a new component for an Amplify app. /// /// Container for the necessary parameters to execute the CreateComponent service method. /// /// The response from the CreateComponent service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// /// You exceeded your service quota. Service quotas, also referred to as limits, are the /// maximum number of service resources or operations for your Amazon Web Services account. /// /// REST API Reference for CreateComponent Operation public virtual CreateComponentResponse CreateComponent(CreateComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateComponent operation. /// /// /// Container for the necessary parameters to execute the CreateComponent operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateComponent /// operation. /// REST API Reference for CreateComponent Operation public virtual IAsyncResult BeginCreateComponent(CreateComponentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateComponentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateComponent operation. /// /// /// The IAsyncResult returned by the call to BeginCreateComponent. /// /// Returns a CreateComponentResult from AmplifyUIBuilder. /// REST API Reference for CreateComponent Operation public virtual CreateComponentResponse EndCreateComponent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateForm /// /// Creates a new form for an Amplify. /// /// Container for the necessary parameters to execute the CreateForm service method. /// /// The response from the CreateForm service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// /// You exceeded your service quota. Service quotas, also referred to as limits, are the /// maximum number of service resources or operations for your Amazon Web Services account. /// /// REST API Reference for CreateForm Operation public virtual CreateFormResponse CreateForm(CreateFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFormRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateForm operation. /// /// /// Container for the necessary parameters to execute the CreateForm operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateForm /// operation. /// REST API Reference for CreateForm Operation public virtual IAsyncResult BeginCreateForm(CreateFormRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFormRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFormResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateForm operation. /// /// /// The IAsyncResult returned by the call to BeginCreateForm. /// /// Returns a CreateFormResult from AmplifyUIBuilder. /// REST API Reference for CreateForm Operation public virtual CreateFormResponse EndCreateForm(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateTheme /// /// Creates a theme to apply to the components in an Amplify app. /// /// Container for the necessary parameters to execute the CreateTheme service method. /// /// The response from the CreateTheme service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// /// You exceeded your service quota. Service quotas, also referred to as limits, are the /// maximum number of service resources or operations for your Amazon Web Services account. /// /// REST API Reference for CreateTheme Operation public virtual CreateThemeResponse CreateTheme(CreateThemeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThemeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateTheme operation. /// /// /// Container for the necessary parameters to execute the CreateTheme operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTheme /// operation. /// REST API Reference for CreateTheme Operation public virtual IAsyncResult BeginCreateTheme(CreateThemeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThemeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTheme operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTheme. /// /// Returns a CreateThemeResult from AmplifyUIBuilder. /// REST API Reference for CreateTheme Operation public virtual CreateThemeResponse EndCreateTheme(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteComponent /// /// Deletes a component from an Amplify app. /// /// Container for the necessary parameters to execute the DeleteComponent service method. /// /// The response from the DeleteComponent service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// REST API Reference for DeleteComponent Operation public virtual DeleteComponentResponse DeleteComponent(DeleteComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteComponent operation. /// /// /// Container for the necessary parameters to execute the DeleteComponent operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteComponent /// operation. /// REST API Reference for DeleteComponent Operation public virtual IAsyncResult BeginDeleteComponent(DeleteComponentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteComponentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteComponent operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteComponent. /// /// Returns a DeleteComponentResult from AmplifyUIBuilder. /// REST API Reference for DeleteComponent Operation public virtual DeleteComponentResponse EndDeleteComponent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteForm /// /// Deletes a form from an Amplify app. /// /// Container for the necessary parameters to execute the DeleteForm service method. /// /// The response from the DeleteForm service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// REST API Reference for DeleteForm Operation public virtual DeleteFormResponse DeleteForm(DeleteFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteForm operation. /// /// /// Container for the necessary parameters to execute the DeleteForm operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteForm /// operation. /// REST API Reference for DeleteForm Operation public virtual IAsyncResult BeginDeleteForm(DeleteFormRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFormResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteForm operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteForm. /// /// Returns a DeleteFormResult from AmplifyUIBuilder. /// REST API Reference for DeleteForm Operation public virtual DeleteFormResponse EndDeleteForm(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteTheme /// /// Deletes a theme from an Amplify app. /// /// Container for the necessary parameters to execute the DeleteTheme service method. /// /// The response from the DeleteTheme service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// REST API Reference for DeleteTheme Operation public virtual DeleteThemeResponse DeleteTheme(DeleteThemeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThemeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteTheme operation. /// /// /// Container for the necessary parameters to execute the DeleteTheme operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTheme /// operation. /// REST API Reference for DeleteTheme Operation public virtual IAsyncResult BeginDeleteTheme(DeleteThemeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThemeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteTheme operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteTheme. /// /// Returns a DeleteThemeResult from AmplifyUIBuilder. /// REST API Reference for DeleteTheme Operation public virtual DeleteThemeResponse EndDeleteTheme(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExchangeCodeForToken /// /// Exchanges an access code for a token. /// /// Container for the necessary parameters to execute the ExchangeCodeForToken service method. /// /// The response from the ExchangeCodeForToken service method, as returned by AmplifyUIBuilder. /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ExchangeCodeForToken Operation public virtual ExchangeCodeForTokenResponse ExchangeCodeForToken(ExchangeCodeForTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExchangeCodeForTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = ExchangeCodeForTokenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExchangeCodeForToken operation. /// /// /// Container for the necessary parameters to execute the ExchangeCodeForToken operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExchangeCodeForToken /// operation. /// REST API Reference for ExchangeCodeForToken Operation public virtual IAsyncResult BeginExchangeCodeForToken(ExchangeCodeForTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExchangeCodeForTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = ExchangeCodeForTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExchangeCodeForToken operation. /// /// /// The IAsyncResult returned by the call to BeginExchangeCodeForToken. /// /// Returns a ExchangeCodeForTokenResult from AmplifyUIBuilder. /// REST API Reference for ExchangeCodeForToken Operation public virtual ExchangeCodeForTokenResponse EndExchangeCodeForToken(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExportComponents /// /// Exports component configurations to code that is ready to integrate into an Amplify /// app. /// /// Container for the necessary parameters to execute the ExportComponents service method. /// /// The response from the ExportComponents service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ExportComponents Operation public virtual ExportComponentsResponse ExportComponents(ExportComponentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportComponentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExportComponents operation. /// /// /// Container for the necessary parameters to execute the ExportComponents operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExportComponents /// operation. /// REST API Reference for ExportComponents Operation public virtual IAsyncResult BeginExportComponents(ExportComponentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExportComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportComponentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExportComponents operation. /// /// /// The IAsyncResult returned by the call to BeginExportComponents. /// /// Returns a ExportComponentsResult from AmplifyUIBuilder. /// REST API Reference for ExportComponents Operation public virtual ExportComponentsResponse EndExportComponents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExportForms /// /// Exports form configurations to code that is ready to integrate into an Amplify app. /// /// Container for the necessary parameters to execute the ExportForms service method. /// /// The response from the ExportForms service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ExportForms Operation public virtual ExportFormsResponse ExportForms(ExportFormsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportFormsRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportFormsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExportForms operation. /// /// /// Container for the necessary parameters to execute the ExportForms operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExportForms /// operation. /// REST API Reference for ExportForms Operation public virtual IAsyncResult BeginExportForms(ExportFormsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExportFormsRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportFormsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExportForms operation. /// /// /// The IAsyncResult returned by the call to BeginExportForms. /// /// Returns a ExportFormsResult from AmplifyUIBuilder. /// REST API Reference for ExportForms Operation public virtual ExportFormsResponse EndExportForms(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExportThemes /// /// Exports theme configurations to code that is ready to integrate into an Amplify app. /// /// Container for the necessary parameters to execute the ExportThemes service method. /// /// The response from the ExportThemes service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ExportThemes Operation public virtual ExportThemesResponse ExportThemes(ExportThemesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportThemesRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportThemesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExportThemes operation. /// /// /// Container for the necessary parameters to execute the ExportThemes operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExportThemes /// operation. /// REST API Reference for ExportThemes Operation public virtual IAsyncResult BeginExportThemes(ExportThemesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExportThemesRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportThemesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExportThemes operation. /// /// /// The IAsyncResult returned by the call to BeginExportThemes. /// /// Returns a ExportThemesResult from AmplifyUIBuilder. /// REST API Reference for ExportThemes Operation public virtual ExportThemesResponse EndExportThemes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCodegenJob /// /// Returns an existing code generation job. /// /// Container for the necessary parameters to execute the GetCodegenJob service method. /// /// The response from the GetCodegenJob service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// /// The request was denied due to request throttling. /// /// REST API Reference for GetCodegenJob Operation public virtual GetCodegenJobResponse GetCodegenJob(GetCodegenJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCodegenJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCodegenJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCodegenJob operation. /// /// /// Container for the necessary parameters to execute the GetCodegenJob operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCodegenJob /// operation. /// REST API Reference for GetCodegenJob Operation public virtual IAsyncResult BeginGetCodegenJob(GetCodegenJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCodegenJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCodegenJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCodegenJob operation. /// /// /// The IAsyncResult returned by the call to BeginGetCodegenJob. /// /// Returns a GetCodegenJobResult from AmplifyUIBuilder. /// REST API Reference for GetCodegenJob Operation public virtual GetCodegenJobResponse EndGetCodegenJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetComponent /// /// Returns an existing component for an Amplify app. /// /// Container for the necessary parameters to execute the GetComponent service method. /// /// The response from the GetComponent service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// REST API Reference for GetComponent Operation public virtual GetComponentResponse GetComponent(GetComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetComponent operation. /// /// /// Container for the necessary parameters to execute the GetComponent operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetComponent /// operation. /// REST API Reference for GetComponent Operation public virtual IAsyncResult BeginGetComponent(GetComponentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetComponentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetComponent operation. /// /// /// The IAsyncResult returned by the call to BeginGetComponent. /// /// Returns a GetComponentResult from AmplifyUIBuilder. /// REST API Reference for GetComponent Operation public virtual GetComponentResponse EndGetComponent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetForm /// /// Returns an existing form for an Amplify app. /// /// Container for the necessary parameters to execute the GetForm service method. /// /// The response from the GetForm service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// REST API Reference for GetForm Operation public virtual GetFormResponse GetForm(GetFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFormRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetForm operation. /// /// /// Container for the necessary parameters to execute the GetForm operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetForm /// operation. /// REST API Reference for GetForm Operation public virtual IAsyncResult BeginGetForm(GetFormRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFormRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFormResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetForm operation. /// /// /// The IAsyncResult returned by the call to BeginGetForm. /// /// Returns a GetFormResult from AmplifyUIBuilder. /// REST API Reference for GetForm Operation public virtual GetFormResponse EndGetForm(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetMetadata /// /// Returns existing metadata for an Amplify app. /// /// Container for the necessary parameters to execute the GetMetadata service method. /// /// The response from the GetMetadata service method, as returned by AmplifyUIBuilder. /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// You don't have permission to perform this operation. /// /// REST API Reference for GetMetadata Operation public virtual GetMetadataResponse GetMetadata(GetMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetMetadata operation. /// /// /// Container for the necessary parameters to execute the GetMetadata operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMetadata /// operation. /// REST API Reference for GetMetadata Operation public virtual IAsyncResult BeginGetMetadata(GetMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginGetMetadata. /// /// Returns a GetMetadataResult from AmplifyUIBuilder. /// REST API Reference for GetMetadata Operation public virtual GetMetadataResponse EndGetMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTheme /// /// Returns an existing theme for an Amplify app. /// /// Container for the necessary parameters to execute the GetTheme service method. /// /// The response from the GetTheme service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The requested resource does not exist, or access was denied. /// /// REST API Reference for GetTheme Operation public virtual GetThemeResponse GetTheme(GetThemeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThemeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTheme operation. /// /// /// Container for the necessary parameters to execute the GetTheme operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTheme /// operation. /// REST API Reference for GetTheme Operation public virtual IAsyncResult BeginGetTheme(GetThemeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThemeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTheme operation. /// /// /// The IAsyncResult returned by the call to BeginGetTheme. /// /// Returns a GetThemeResult from AmplifyUIBuilder. /// REST API Reference for GetTheme Operation public virtual GetThemeResponse EndGetTheme(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCodegenJobs /// /// Retrieves a list of code generation jobs for a specified Amplify app and backend environment. /// /// Container for the necessary parameters to execute the ListCodegenJobs service method. /// /// The response from the ListCodegenJobs service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The request was denied due to request throttling. /// /// REST API Reference for ListCodegenJobs Operation public virtual ListCodegenJobsResponse ListCodegenJobs(ListCodegenJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCodegenJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCodegenJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCodegenJobs operation. /// /// /// Container for the necessary parameters to execute the ListCodegenJobs operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCodegenJobs /// operation. /// REST API Reference for ListCodegenJobs Operation public virtual IAsyncResult BeginListCodegenJobs(ListCodegenJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCodegenJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCodegenJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCodegenJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListCodegenJobs. /// /// Returns a ListCodegenJobsResult from AmplifyUIBuilder. /// REST API Reference for ListCodegenJobs Operation public virtual ListCodegenJobsResponse EndListCodegenJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListComponents /// /// Retrieves a list of components for a specified Amplify app and backend environment. /// /// Container for the necessary parameters to execute the ListComponents service method. /// /// The response from the ListComponents service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ListComponents Operation public virtual ListComponentsResponse ListComponents(ListComponentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListComponentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListComponents operation. /// /// /// Container for the necessary parameters to execute the ListComponents operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListComponents /// operation. /// REST API Reference for ListComponents Operation public virtual IAsyncResult BeginListComponents(ListComponentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListComponentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListComponentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListComponents operation. /// /// /// The IAsyncResult returned by the call to BeginListComponents. /// /// Returns a ListComponentsResult from AmplifyUIBuilder. /// REST API Reference for ListComponents Operation public virtual ListComponentsResponse EndListComponents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListForms /// /// Retrieves a list of forms for a specified Amplify app and backend environment. /// /// Container for the necessary parameters to execute the ListForms service method. /// /// The response from the ListForms service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ListForms Operation public virtual ListFormsResponse ListForms(ListFormsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFormsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFormsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListForms operation. /// /// /// Container for the necessary parameters to execute the ListForms operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListForms /// operation. /// REST API Reference for ListForms Operation public virtual IAsyncResult BeginListForms(ListFormsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFormsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFormsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListForms operation. /// /// /// The IAsyncResult returned by the call to BeginListForms. /// /// Returns a ListFormsResult from AmplifyUIBuilder. /// REST API Reference for ListForms Operation public virtual ListFormsResponse EndListForms(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThemes /// /// Retrieves a list of themes for a specified Amplify app and backend environment. /// /// Container for the necessary parameters to execute the ListThemes service method. /// /// The response from the ListThemes service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for ListThemes Operation public virtual ListThemesResponse ListThemes(ListThemesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThemesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThemesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThemes operation. /// /// /// Container for the necessary parameters to execute the ListThemes operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListThemes /// operation. /// REST API Reference for ListThemes Operation public virtual IAsyncResult BeginListThemes(ListThemesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThemesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThemesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThemes operation. /// /// /// The IAsyncResult returned by the call to BeginListThemes. /// /// Returns a ListThemesResult from AmplifyUIBuilder. /// REST API Reference for ListThemes Operation public virtual ListThemesResponse EndListThemes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutMetadataFlag /// /// Stores the metadata information about a feature on a form. /// /// Container for the necessary parameters to execute the PutMetadataFlag service method. /// /// The response from the PutMetadataFlag service method, as returned by AmplifyUIBuilder. /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// You don't have permission to perform this operation. /// /// REST API Reference for PutMetadataFlag Operation public virtual PutMetadataFlagResponse PutMetadataFlag(PutMetadataFlagRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutMetadataFlagRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMetadataFlagResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutMetadataFlag operation. /// /// /// Container for the necessary parameters to execute the PutMetadataFlag operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutMetadataFlag /// operation. /// REST API Reference for PutMetadataFlag Operation public virtual IAsyncResult BeginPutMetadataFlag(PutMetadataFlagRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutMetadataFlagRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMetadataFlagResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutMetadataFlag operation. /// /// /// The IAsyncResult returned by the call to BeginPutMetadataFlag. /// /// Returns a PutMetadataFlagResult from AmplifyUIBuilder. /// REST API Reference for PutMetadataFlag Operation public virtual PutMetadataFlagResponse EndPutMetadataFlag(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RefreshToken /// /// Refreshes a previously issued access token that might have expired. /// /// Container for the necessary parameters to execute the RefreshToken service method. /// /// The response from the RefreshToken service method, as returned by AmplifyUIBuilder. /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// REST API Reference for RefreshToken Operation public virtual RefreshTokenResponse RefreshToken(RefreshTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RefreshTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = RefreshTokenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RefreshToken operation. /// /// /// Container for the necessary parameters to execute the RefreshToken operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRefreshToken /// operation. /// REST API Reference for RefreshToken Operation public virtual IAsyncResult BeginRefreshToken(RefreshTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RefreshTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = RefreshTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RefreshToken operation. /// /// /// The IAsyncResult returned by the call to BeginRefreshToken. /// /// Returns a RefreshTokenResult from AmplifyUIBuilder. /// REST API Reference for RefreshToken Operation public virtual RefreshTokenResponse EndRefreshToken(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartCodegenJob /// /// Starts a code generation job for for a specified Amplify app and backend environment. /// /// Container for the necessary parameters to execute the StartCodegenJob service method. /// /// The response from the StartCodegenJob service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The request was denied due to request throttling. /// /// REST API Reference for StartCodegenJob Operation public virtual StartCodegenJobResponse StartCodegenJob(StartCodegenJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartCodegenJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCodegenJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartCodegenJob operation. /// /// /// Container for the necessary parameters to execute the StartCodegenJob operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartCodegenJob /// operation. /// REST API Reference for StartCodegenJob Operation public virtual IAsyncResult BeginStartCodegenJob(StartCodegenJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartCodegenJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCodegenJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartCodegenJob operation. /// /// /// The IAsyncResult returned by the call to BeginStartCodegenJob. /// /// Returns a StartCodegenJobResult from AmplifyUIBuilder. /// REST API Reference for StartCodegenJob Operation public virtual StartCodegenJobResponse EndStartCodegenJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateComponent /// /// Updates an existing component. /// /// Container for the necessary parameters to execute the UpdateComponent service method. /// /// The response from the UpdateComponent service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for UpdateComponent Operation public virtual UpdateComponentResponse UpdateComponent(UpdateComponentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateComponentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateComponent operation. /// /// /// Container for the necessary parameters to execute the UpdateComponent operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateComponent /// operation. /// REST API Reference for UpdateComponent Operation public virtual IAsyncResult BeginUpdateComponent(UpdateComponentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateComponentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateComponentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateComponent operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateComponent. /// /// Returns a UpdateComponentResult from AmplifyUIBuilder. /// REST API Reference for UpdateComponent Operation public virtual UpdateComponentResponse EndUpdateComponent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateForm /// /// Updates an existing form. /// /// Container for the necessary parameters to execute the UpdateForm service method. /// /// The response from the UpdateForm service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for UpdateForm Operation public virtual UpdateFormResponse UpdateForm(UpdateFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFormRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateForm operation. /// /// /// Container for the necessary parameters to execute the UpdateForm operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateForm /// operation. /// REST API Reference for UpdateForm Operation public virtual IAsyncResult BeginUpdateForm(UpdateFormRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFormRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFormResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateForm operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateForm. /// /// Returns a UpdateFormResult from AmplifyUIBuilder. /// REST API Reference for UpdateForm Operation public virtual UpdateFormResponse EndUpdateForm(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateTheme /// /// Updates an existing theme. /// /// Container for the necessary parameters to execute the UpdateTheme service method. /// /// The response from the UpdateTheme service method, as returned by AmplifyUIBuilder. /// /// An internal error has occurred. Please retry your request. /// /// /// An invalid or out-of-range value was supplied for the input parameter. /// /// /// The resource specified in the request conflicts with an existing resource. /// /// REST API Reference for UpdateTheme Operation public virtual UpdateThemeResponse UpdateTheme(UpdateThemeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThemeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateTheme operation. /// /// /// Container for the necessary parameters to execute the UpdateTheme operation on AmazonAmplifyUIBuilderClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateTheme /// operation. /// REST API Reference for UpdateTheme Operation public virtual IAsyncResult BeginUpdateTheme(UpdateThemeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThemeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThemeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateTheme operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateTheme. /// /// Returns a UpdateThemeResult from AmplifyUIBuilder. /// REST API Reference for UpdateTheme Operation public virtual UpdateThemeResponse EndUpdateTheme(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }