/* * 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 athena-2017-05-18.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Athena.Model; using Amazon.Athena.Model.Internal.MarshallTransformations; using Amazon.Athena.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Athena { /// /// Implementation for accessing Athena /// /// Amazon Athena is an interactive query service that lets you use standard SQL to analyze /// data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run /// ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure /// to set up or manage. You pay only for the queries you run. Athena scales automatically—executing /// queries in parallel—so results are fast, even with large datasets and complex queries. /// For more information, see What /// is Amazon Athena in the Amazon Athena User Guide. /// /// /// /// If you connect to Athena using the JDBC driver, use version 1.1.0 of the driver or /// later with the Amazon Athena API. Earlier version drivers do not support the API. /// For more information and to download the driver, see Accessing /// Amazon Athena with JDBC. /// /// /// /// For code samples using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// public partial class AmazonAthenaClient : AmazonServiceClient, IAmazonAthena { private static IServiceMetadata serviceMetadata = new AmazonAthenaMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IAthenaPaginatorFactory _paginators; /// /// Paginators for the service /// public IAthenaPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AthenaPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonAthenaClient 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 AmazonAthenaClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAthenaConfig()) { } /// /// Constructs AmazonAthenaClient 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 AmazonAthenaClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAthenaConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAthenaClient 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 AmazonAthenaClient Configuration Object public AmazonAthenaClient(AmazonAthenaConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonAthenaClient with AWS Credentials /// /// AWS Credentials public AmazonAthenaClient(AWSCredentials credentials) : this(credentials, new AmazonAthenaConfig()) { } /// /// Constructs AmazonAthenaClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonAthenaClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAthenaConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAthenaClient with AWS Credentials and an /// AmazonAthenaClient Configuration object. /// /// AWS Credentials /// The AmazonAthenaClient Configuration Object public AmazonAthenaClient(AWSCredentials credentials, AmazonAthenaConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonAthenaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonAthenaClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAthenaConfig()) { } /// /// Constructs AmazonAthenaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonAthenaClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAthenaConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonAthenaClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAthenaClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonAthenaClient Configuration Object public AmazonAthenaClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAthenaConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonAthenaClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonAthenaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAthenaConfig()) { } /// /// Constructs AmazonAthenaClient 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 AmazonAthenaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAthenaConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonAthenaClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAthenaClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonAthenaClient Configuration Object public AmazonAthenaClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAthenaConfig 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 AmazonAthenaEndpointResolver()); } /// /// 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 BatchGetNamedQuery /// /// Returns the details of a single named query or a list of up to 50 queries, which you /// provide as an array of query ID strings. Requires you to have access to the workgroup /// in which the queries were saved. Use ListNamedQueriesInput to get the list /// of named query IDs in the specified workgroup. If information could not be retrieved /// for a submitted query ID, information about the query ID submitted is listed under /// UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput /// to get details about each unique query execution, and ListQueryExecutionsInput /// to get a list of query execution IDs. /// /// Container for the necessary parameters to execute the BatchGetNamedQuery service method. /// /// The response from the BatchGetNamedQuery service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for BatchGetNamedQuery Operation public virtual BatchGetNamedQueryResponse BatchGetNamedQuery(BatchGetNamedQueryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetNamedQueryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetNamedQuery operation. /// /// /// Container for the necessary parameters to execute the BatchGetNamedQuery operation on AmazonAthenaClient. /// 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 EndBatchGetNamedQuery /// operation. /// REST API Reference for BatchGetNamedQuery Operation public virtual IAsyncResult BeginBatchGetNamedQuery(BatchGetNamedQueryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetNamedQueryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetNamedQuery operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetNamedQuery. /// /// Returns a BatchGetNamedQueryResult from Athena. /// REST API Reference for BatchGetNamedQuery Operation public virtual BatchGetNamedQueryResponse EndBatchGetNamedQuery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchGetPreparedStatement /// /// Returns the details of a single prepared statement or a list of up to 256 prepared /// statements for the array of prepared statement names that you provide. Requires you /// to have access to the workgroup to which the prepared statements belong. If a prepared /// statement cannot be retrieved for the name specified, the statement is listed in UnprocessedPreparedStatementNames. /// /// Container for the necessary parameters to execute the BatchGetPreparedStatement service method. /// /// The response from the BatchGetPreparedStatement service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for BatchGetPreparedStatement Operation public virtual BatchGetPreparedStatementResponse BatchGetPreparedStatement(BatchGetPreparedStatementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetPreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetPreparedStatementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetPreparedStatement operation. /// /// /// Container for the necessary parameters to execute the BatchGetPreparedStatement operation on AmazonAthenaClient. /// 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 EndBatchGetPreparedStatement /// operation. /// REST API Reference for BatchGetPreparedStatement Operation public virtual IAsyncResult BeginBatchGetPreparedStatement(BatchGetPreparedStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetPreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetPreparedStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetPreparedStatement operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetPreparedStatement. /// /// Returns a BatchGetPreparedStatementResult from Athena. /// REST API Reference for BatchGetPreparedStatement Operation public virtual BatchGetPreparedStatementResponse EndBatchGetPreparedStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchGetQueryExecution /// /// Returns the details of a single query execution or a list of up to 50 query executions, /// which you provide as an array of query execution ID strings. Requires you to have /// access to the workgroup in which the queries ran. To get a list of query execution /// IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named /// (saved) queries. Use BatchGetNamedQueryInput to get details about named queries. /// /// Container for the necessary parameters to execute the BatchGetQueryExecution service method. /// /// The response from the BatchGetQueryExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for BatchGetQueryExecution Operation public virtual BatchGetQueryExecutionResponse BatchGetQueryExecution(BatchGetQueryExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetQueryExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetQueryExecution operation. /// /// /// Container for the necessary parameters to execute the BatchGetQueryExecution operation on AmazonAthenaClient. /// 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 EndBatchGetQueryExecution /// operation. /// REST API Reference for BatchGetQueryExecution Operation public virtual IAsyncResult BeginBatchGetQueryExecution(BatchGetQueryExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetQueryExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetQueryExecution operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetQueryExecution. /// /// Returns a BatchGetQueryExecutionResult from Athena. /// REST API Reference for BatchGetQueryExecution Operation public virtual BatchGetQueryExecutionResponse EndBatchGetQueryExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelCapacityReservation /// /// Cancels the capacity reservation with the specified name. Cancelled reservations remain /// in your account and will be deleted 45 days after cancellation. During the 45 days, /// you cannot re-purpose or reuse a reservation that has been cancelled, but you can /// refer to its tags and view it for historical reference. /// /// Container for the necessary parameters to execute the CancelCapacityReservation service method. /// /// The response from the CancelCapacityReservation service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for CancelCapacityReservation Operation public virtual CancelCapacityReservationResponse CancelCapacityReservation(CancelCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelCapacityReservation operation. /// /// /// Container for the necessary parameters to execute the CancelCapacityReservation operation on AmazonAthenaClient. /// 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 EndCancelCapacityReservation /// operation. /// REST API Reference for CancelCapacityReservation Operation public virtual IAsyncResult BeginCancelCapacityReservation(CancelCapacityReservationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCapacityReservationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelCapacityReservation operation. /// /// /// The IAsyncResult returned by the call to BeginCancelCapacityReservation. /// /// Returns a CancelCapacityReservationResult from Athena. /// REST API Reference for CancelCapacityReservation Operation public virtual CancelCapacityReservationResponse EndCancelCapacityReservation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCapacityReservation /// /// Creates a capacity reservation with the specified name and number of requested data /// processing units. /// /// Container for the necessary parameters to execute the CreateCapacityReservation service method. /// /// The response from the CreateCapacityReservation service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for CreateCapacityReservation Operation public virtual CreateCapacityReservationResponse CreateCapacityReservation(CreateCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCapacityReservation operation. /// /// /// Container for the necessary parameters to execute the CreateCapacityReservation operation on AmazonAthenaClient. /// 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 EndCreateCapacityReservation /// operation. /// REST API Reference for CreateCapacityReservation Operation public virtual IAsyncResult BeginCreateCapacityReservation(CreateCapacityReservationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCapacityReservationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCapacityReservation operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCapacityReservation. /// /// Returns a CreateCapacityReservationResult from Athena. /// REST API Reference for CreateCapacityReservation Operation public virtual CreateCapacityReservationResponse EndCreateCapacityReservation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDataCatalog /// /// Creates (registers) a data catalog with the specified name and properties. Catalogs /// created are visible to all users of the same Amazon Web Services account. /// /// Container for the necessary parameters to execute the CreateDataCatalog service method. /// /// The response from the CreateDataCatalog service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for CreateDataCatalog Operation public virtual CreateDataCatalogResponse CreateDataCatalog(CreateDataCatalogRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDataCatalogResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDataCatalog operation. /// /// /// Container for the necessary parameters to execute the CreateDataCatalog operation on AmazonAthenaClient. /// 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 EndCreateDataCatalog /// operation. /// REST API Reference for CreateDataCatalog Operation public virtual IAsyncResult BeginCreateDataCatalog(CreateDataCatalogRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDataCatalogResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDataCatalog operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDataCatalog. /// /// Returns a CreateDataCatalogResult from Athena. /// REST API Reference for CreateDataCatalog Operation public virtual CreateDataCatalogResponse EndCreateDataCatalog(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateNamedQuery /// /// Creates a named query in the specified workgroup. Requires that you have access to /// the workgroup. /// /// /// /// For code samples using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// /// Container for the necessary parameters to execute the CreateNamedQuery service method. /// /// The response from the CreateNamedQuery service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for CreateNamedQuery Operation public virtual CreateNamedQueryResponse CreateNamedQuery(CreateNamedQueryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNamedQueryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateNamedQuery operation. /// /// /// Container for the necessary parameters to execute the CreateNamedQuery operation on AmazonAthenaClient. /// 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 EndCreateNamedQuery /// operation. /// REST API Reference for CreateNamedQuery Operation public virtual IAsyncResult BeginCreateNamedQuery(CreateNamedQueryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNamedQueryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateNamedQuery operation. /// /// /// The IAsyncResult returned by the call to BeginCreateNamedQuery. /// /// Returns a CreateNamedQueryResult from Athena. /// REST API Reference for CreateNamedQuery Operation public virtual CreateNamedQueryResponse EndCreateNamedQuery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateNotebook /// /// Creates an empty ipynb file in the specified Apache Spark enabled workgroup. /// Throws an error if a file in the workgroup with the same name already exists. /// /// Container for the necessary parameters to execute the CreateNotebook service method. /// /// The response from the CreateNotebook service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for CreateNotebook Operation public virtual CreateNotebookResponse CreateNotebook(CreateNotebookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNotebookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateNotebook operation. /// /// /// Container for the necessary parameters to execute the CreateNotebook operation on AmazonAthenaClient. /// 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 EndCreateNotebook /// operation. /// REST API Reference for CreateNotebook Operation public virtual IAsyncResult BeginCreateNotebook(CreateNotebookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateNotebookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateNotebook operation. /// /// /// The IAsyncResult returned by the call to BeginCreateNotebook. /// /// Returns a CreateNotebookResult from Athena. /// REST API Reference for CreateNotebook Operation public virtual CreateNotebookResponse EndCreateNotebook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePreparedStatement /// /// Creates a prepared statement for use with SQL queries in Athena. /// /// Container for the necessary parameters to execute the CreatePreparedStatement service method. /// /// The response from the CreatePreparedStatement service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for CreatePreparedStatement Operation public virtual CreatePreparedStatementResponse CreatePreparedStatement(CreatePreparedStatementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePreparedStatementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePreparedStatement operation. /// /// /// Container for the necessary parameters to execute the CreatePreparedStatement operation on AmazonAthenaClient. /// 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 EndCreatePreparedStatement /// operation. /// REST API Reference for CreatePreparedStatement Operation public virtual IAsyncResult BeginCreatePreparedStatement(CreatePreparedStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePreparedStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePreparedStatement operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePreparedStatement. /// /// Returns a CreatePreparedStatementResult from Athena. /// REST API Reference for CreatePreparedStatement Operation public virtual CreatePreparedStatementResponse EndCreatePreparedStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePresignedNotebookUrl /// /// Gets an authentication token and the URL at which the notebook can be accessed. During /// programmatic access, CreatePresignedNotebookUrl must be called every /// 10 minutes to refresh the authentication token. For information about granting programmatic /// access, see Grant /// programmatic access. /// /// Container for the necessary parameters to execute the CreatePresignedNotebookUrl service method. /// /// The response from the CreatePresignedNotebookUrl service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for CreatePresignedNotebookUrl Operation public virtual CreatePresignedNotebookUrlResponse CreatePresignedNotebookUrl(CreatePresignedNotebookUrlRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePresignedNotebookUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePresignedNotebookUrlResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePresignedNotebookUrl operation. /// /// /// Container for the necessary parameters to execute the CreatePresignedNotebookUrl operation on AmazonAthenaClient. /// 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 EndCreatePresignedNotebookUrl /// operation. /// REST API Reference for CreatePresignedNotebookUrl Operation public virtual IAsyncResult BeginCreatePresignedNotebookUrl(CreatePresignedNotebookUrlRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePresignedNotebookUrlRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePresignedNotebookUrlResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePresignedNotebookUrl operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePresignedNotebookUrl. /// /// Returns a CreatePresignedNotebookUrlResult from Athena. /// REST API Reference for CreatePresignedNotebookUrl Operation public virtual CreatePresignedNotebookUrlResponse EndCreatePresignedNotebookUrl(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateWorkGroup /// /// Creates a workgroup with the specified name. A workgroup can be an Apache Spark enabled /// workgroup or an Athena SQL workgroup. /// /// Container for the necessary parameters to execute the CreateWorkGroup service method. /// /// The response from the CreateWorkGroup service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for CreateWorkGroup Operation public virtual CreateWorkGroupResponse CreateWorkGroup(CreateWorkGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateWorkGroup operation. /// /// /// Container for the necessary parameters to execute the CreateWorkGroup operation on AmazonAthenaClient. /// 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 EndCreateWorkGroup /// operation. /// REST API Reference for CreateWorkGroup Operation public virtual IAsyncResult BeginCreateWorkGroup(CreateWorkGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateWorkGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateWorkGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateWorkGroup. /// /// Returns a CreateWorkGroupResult from Athena. /// REST API Reference for CreateWorkGroup Operation public virtual CreateWorkGroupResponse EndCreateWorkGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCapacityReservation /// /// Deletes a cancelled capacity reservation. A reservation must be cancelled before it /// can be deleted. A deleted reservation is immediately removed from your account and /// can no longer be referenced, including by its ARN. A deleted reservation cannot be /// called by GetCapacityReservation, and deleted reservations do not appear /// in the output of ListCapacityReservations. /// /// Container for the necessary parameters to execute the DeleteCapacityReservation service method. /// /// The response from the DeleteCapacityReservation service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for DeleteCapacityReservation Operation public virtual DeleteCapacityReservationResponse DeleteCapacityReservation(DeleteCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCapacityReservation operation. /// /// /// Container for the necessary parameters to execute the DeleteCapacityReservation operation on AmazonAthenaClient. /// 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 EndDeleteCapacityReservation /// operation. /// REST API Reference for DeleteCapacityReservation Operation public virtual IAsyncResult BeginDeleteCapacityReservation(DeleteCapacityReservationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCapacityReservationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCapacityReservation operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCapacityReservation. /// /// Returns a DeleteCapacityReservationResult from Athena. /// REST API Reference for DeleteCapacityReservation Operation public virtual DeleteCapacityReservationResponse EndDeleteCapacityReservation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDataCatalog /// /// Deletes a data catalog. /// /// Container for the necessary parameters to execute the DeleteDataCatalog service method. /// /// The response from the DeleteDataCatalog service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for DeleteDataCatalog Operation public virtual DeleteDataCatalogResponse DeleteDataCatalog(DeleteDataCatalogRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDataCatalogResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDataCatalog operation. /// /// /// Container for the necessary parameters to execute the DeleteDataCatalog operation on AmazonAthenaClient. /// 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 EndDeleteDataCatalog /// operation. /// REST API Reference for DeleteDataCatalog Operation public virtual IAsyncResult BeginDeleteDataCatalog(DeleteDataCatalogRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDataCatalogResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDataCatalog operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDataCatalog. /// /// Returns a DeleteDataCatalogResult from Athena. /// REST API Reference for DeleteDataCatalog Operation public virtual DeleteDataCatalogResponse EndDeleteDataCatalog(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteNamedQuery /// /// Deletes the named query if you have access to the workgroup in which the query was /// saved. /// /// /// /// For code samples using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// /// Container for the necessary parameters to execute the DeleteNamedQuery service method. /// /// The response from the DeleteNamedQuery service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for DeleteNamedQuery Operation public virtual DeleteNamedQueryResponse DeleteNamedQuery(DeleteNamedQueryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNamedQueryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteNamedQuery operation. /// /// /// Container for the necessary parameters to execute the DeleteNamedQuery operation on AmazonAthenaClient. /// 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 EndDeleteNamedQuery /// operation. /// REST API Reference for DeleteNamedQuery Operation public virtual IAsyncResult BeginDeleteNamedQuery(DeleteNamedQueryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNamedQueryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteNamedQuery operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteNamedQuery. /// /// Returns a DeleteNamedQueryResult from Athena. /// REST API Reference for DeleteNamedQuery Operation public virtual DeleteNamedQueryResponse EndDeleteNamedQuery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteNotebook /// /// Deletes the specified notebook. /// /// Container for the necessary parameters to execute the DeleteNotebook service method. /// /// The response from the DeleteNotebook service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for DeleteNotebook Operation public virtual DeleteNotebookResponse DeleteNotebook(DeleteNotebookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNotebookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteNotebook operation. /// /// /// Container for the necessary parameters to execute the DeleteNotebook operation on AmazonAthenaClient. /// 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 EndDeleteNotebook /// operation. /// REST API Reference for DeleteNotebook Operation public virtual IAsyncResult BeginDeleteNotebook(DeleteNotebookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteNotebookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteNotebook operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteNotebook. /// /// Returns a DeleteNotebookResult from Athena. /// REST API Reference for DeleteNotebook Operation public virtual DeleteNotebookResponse EndDeleteNotebook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePreparedStatement /// /// Deletes the prepared statement with the specified name from the specified workgroup. /// /// Container for the necessary parameters to execute the DeletePreparedStatement service method. /// /// The response from the DeletePreparedStatement service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for DeletePreparedStatement Operation public virtual DeletePreparedStatementResponse DeletePreparedStatement(DeletePreparedStatementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePreparedStatementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePreparedStatement operation. /// /// /// Container for the necessary parameters to execute the DeletePreparedStatement operation on AmazonAthenaClient. /// 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 EndDeletePreparedStatement /// operation. /// REST API Reference for DeletePreparedStatement Operation public virtual IAsyncResult BeginDeletePreparedStatement(DeletePreparedStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePreparedStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePreparedStatement operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePreparedStatement. /// /// Returns a DeletePreparedStatementResult from Athena. /// REST API Reference for DeletePreparedStatement Operation public virtual DeletePreparedStatementResponse EndDeletePreparedStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteWorkGroup /// /// Deletes the workgroup with the specified name. The primary workgroup cannot be deleted. /// /// Container for the necessary parameters to execute the DeleteWorkGroup service method. /// /// The response from the DeleteWorkGroup service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for DeleteWorkGroup Operation public virtual DeleteWorkGroupResponse DeleteWorkGroup(DeleteWorkGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteWorkGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteWorkGroup operation on AmazonAthenaClient. /// 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 EndDeleteWorkGroup /// operation. /// REST API Reference for DeleteWorkGroup Operation public virtual IAsyncResult BeginDeleteWorkGroup(DeleteWorkGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteWorkGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteWorkGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteWorkGroup. /// /// Returns a DeleteWorkGroupResult from Athena. /// REST API Reference for DeleteWorkGroup Operation public virtual DeleteWorkGroupResponse EndDeleteWorkGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExportNotebook /// /// Exports the specified notebook and its metadata. /// /// Container for the necessary parameters to execute the ExportNotebook service method. /// /// The response from the ExportNotebook service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for ExportNotebook Operation public virtual ExportNotebookResponse ExportNotebook(ExportNotebookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportNotebookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExportNotebook operation. /// /// /// Container for the necessary parameters to execute the ExportNotebook operation on AmazonAthenaClient. /// 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 EndExportNotebook /// operation. /// REST API Reference for ExportNotebook Operation public virtual IAsyncResult BeginExportNotebook(ExportNotebookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExportNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportNotebookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExportNotebook operation. /// /// /// The IAsyncResult returned by the call to BeginExportNotebook. /// /// Returns a ExportNotebookResult from Athena. /// REST API Reference for ExportNotebook Operation public virtual ExportNotebookResponse EndExportNotebook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCalculationExecution /// /// Describes a previously submitted calculation execution. /// /// Container for the necessary parameters to execute the GetCalculationExecution service method. /// /// The response from the GetCalculationExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for GetCalculationExecution Operation public virtual GetCalculationExecutionResponse GetCalculationExecution(GetCalculationExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCalculationExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCalculationExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCalculationExecution operation. /// /// /// Container for the necessary parameters to execute the GetCalculationExecution operation on AmazonAthenaClient. /// 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 EndGetCalculationExecution /// operation. /// REST API Reference for GetCalculationExecution Operation public virtual IAsyncResult BeginGetCalculationExecution(GetCalculationExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCalculationExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCalculationExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCalculationExecution operation. /// /// /// The IAsyncResult returned by the call to BeginGetCalculationExecution. /// /// Returns a GetCalculationExecutionResult from Athena. /// REST API Reference for GetCalculationExecution Operation public virtual GetCalculationExecutionResponse EndGetCalculationExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCalculationExecutionCode /// /// Retrieves the unencrypted code that was executed for the calculation. /// /// Container for the necessary parameters to execute the GetCalculationExecutionCode service method. /// /// The response from the GetCalculationExecutionCode service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for GetCalculationExecutionCode Operation public virtual GetCalculationExecutionCodeResponse GetCalculationExecutionCode(GetCalculationExecutionCodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCalculationExecutionCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCalculationExecutionCodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCalculationExecutionCode operation. /// /// /// Container for the necessary parameters to execute the GetCalculationExecutionCode operation on AmazonAthenaClient. /// 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 EndGetCalculationExecutionCode /// operation. /// REST API Reference for GetCalculationExecutionCode Operation public virtual IAsyncResult BeginGetCalculationExecutionCode(GetCalculationExecutionCodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCalculationExecutionCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCalculationExecutionCodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCalculationExecutionCode operation. /// /// /// The IAsyncResult returned by the call to BeginGetCalculationExecutionCode. /// /// Returns a GetCalculationExecutionCodeResult from Athena. /// REST API Reference for GetCalculationExecutionCode Operation public virtual GetCalculationExecutionCodeResponse EndGetCalculationExecutionCode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCalculationExecutionStatus /// /// Gets the status of a current calculation. /// /// Container for the necessary parameters to execute the GetCalculationExecutionStatus service method. /// /// The response from the GetCalculationExecutionStatus service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for GetCalculationExecutionStatus Operation public virtual GetCalculationExecutionStatusResponse GetCalculationExecutionStatus(GetCalculationExecutionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCalculationExecutionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCalculationExecutionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCalculationExecutionStatus operation. /// /// /// Container for the necessary parameters to execute the GetCalculationExecutionStatus operation on AmazonAthenaClient. /// 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 EndGetCalculationExecutionStatus /// operation. /// REST API Reference for GetCalculationExecutionStatus Operation public virtual IAsyncResult BeginGetCalculationExecutionStatus(GetCalculationExecutionStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCalculationExecutionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCalculationExecutionStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCalculationExecutionStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetCalculationExecutionStatus. /// /// Returns a GetCalculationExecutionStatusResult from Athena. /// REST API Reference for GetCalculationExecutionStatus Operation public virtual GetCalculationExecutionStatusResponse EndGetCalculationExecutionStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCapacityAssignmentConfiguration /// /// Gets the capacity assignment configuration for a capacity reservation, if one exists. /// /// Container for the necessary parameters to execute the GetCapacityAssignmentConfiguration service method. /// /// The response from the GetCapacityAssignmentConfiguration service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetCapacityAssignmentConfiguration Operation public virtual GetCapacityAssignmentConfigurationResponse GetCapacityAssignmentConfiguration(GetCapacityAssignmentConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCapacityAssignmentConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCapacityAssignmentConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCapacityAssignmentConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetCapacityAssignmentConfiguration operation on AmazonAthenaClient. /// 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 EndGetCapacityAssignmentConfiguration /// operation. /// REST API Reference for GetCapacityAssignmentConfiguration Operation public virtual IAsyncResult BeginGetCapacityAssignmentConfiguration(GetCapacityAssignmentConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCapacityAssignmentConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCapacityAssignmentConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCapacityAssignmentConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetCapacityAssignmentConfiguration. /// /// Returns a GetCapacityAssignmentConfigurationResult from Athena. /// REST API Reference for GetCapacityAssignmentConfiguration Operation public virtual GetCapacityAssignmentConfigurationResponse EndGetCapacityAssignmentConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCapacityReservation /// /// Returns information about the capacity reservation with the specified name. /// /// Container for the necessary parameters to execute the GetCapacityReservation service method. /// /// The response from the GetCapacityReservation service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetCapacityReservation Operation public virtual GetCapacityReservationResponse GetCapacityReservation(GetCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCapacityReservation operation. /// /// /// Container for the necessary parameters to execute the GetCapacityReservation operation on AmazonAthenaClient. /// 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 EndGetCapacityReservation /// operation. /// REST API Reference for GetCapacityReservation Operation public virtual IAsyncResult BeginGetCapacityReservation(GetCapacityReservationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCapacityReservationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCapacityReservation operation. /// /// /// The IAsyncResult returned by the call to BeginGetCapacityReservation. /// /// Returns a GetCapacityReservationResult from Athena. /// REST API Reference for GetCapacityReservation Operation public virtual GetCapacityReservationResponse EndGetCapacityReservation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDatabase /// /// Returns a database object for the specified database and data catalog. /// /// Container for the necessary parameters to execute the GetDatabase service method. /// /// The response from the GetDatabase service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// An exception that Athena received when it called a custom metastore. Occurs if the /// error is not caused by user input (InvalidRequestException) or from the /// Athena platform (InternalServerException). For example, if a user-created /// Lambda function is missing permissions, the Lambda 4XX exception is returned /// in a MetadataException. /// /// REST API Reference for GetDatabase Operation public virtual GetDatabaseResponse GetDatabase(GetDatabaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDatabaseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDatabaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDatabase operation. /// /// /// Container for the necessary parameters to execute the GetDatabase operation on AmazonAthenaClient. /// 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 EndGetDatabase /// operation. /// REST API Reference for GetDatabase Operation public virtual IAsyncResult BeginGetDatabase(GetDatabaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDatabaseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDatabaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDatabase operation. /// /// /// The IAsyncResult returned by the call to BeginGetDatabase. /// /// Returns a GetDatabaseResult from Athena. /// REST API Reference for GetDatabase Operation public virtual GetDatabaseResponse EndGetDatabase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDataCatalog /// /// Returns the specified data catalog. /// /// Container for the necessary parameters to execute the GetDataCatalog service method. /// /// The response from the GetDataCatalog service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetDataCatalog Operation public virtual GetDataCatalogResponse GetDataCatalog(GetDataCatalogRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataCatalogResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDataCatalog operation. /// /// /// Container for the necessary parameters to execute the GetDataCatalog operation on AmazonAthenaClient. /// 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 EndGetDataCatalog /// operation. /// REST API Reference for GetDataCatalog Operation public virtual IAsyncResult BeginGetDataCatalog(GetDataCatalogRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDataCatalogResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDataCatalog operation. /// /// /// The IAsyncResult returned by the call to BeginGetDataCatalog. /// /// Returns a GetDataCatalogResult from Athena. /// REST API Reference for GetDataCatalog Operation public virtual GetDataCatalogResponse EndGetDataCatalog(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetNamedQuery /// /// Returns information about a single query. Requires that you have access to the workgroup /// in which the query was saved. /// /// Container for the necessary parameters to execute the GetNamedQuery service method. /// /// The response from the GetNamedQuery service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetNamedQuery Operation public virtual GetNamedQueryResponse GetNamedQuery(GetNamedQueryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNamedQueryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetNamedQuery operation. /// /// /// Container for the necessary parameters to execute the GetNamedQuery operation on AmazonAthenaClient. /// 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 EndGetNamedQuery /// operation. /// REST API Reference for GetNamedQuery Operation public virtual IAsyncResult BeginGetNamedQuery(GetNamedQueryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNamedQueryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetNamedQuery operation. /// /// /// The IAsyncResult returned by the call to BeginGetNamedQuery. /// /// Returns a GetNamedQueryResult from Athena. /// REST API Reference for GetNamedQuery Operation public virtual GetNamedQueryResponse EndGetNamedQuery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetNotebookMetadata /// /// Retrieves notebook metadata for the specified notebook ID. /// /// Container for the necessary parameters to execute the GetNotebookMetadata service method. /// /// The response from the GetNotebookMetadata service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for GetNotebookMetadata Operation public virtual GetNotebookMetadataResponse GetNotebookMetadata(GetNotebookMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetNotebookMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNotebookMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetNotebookMetadata operation. /// /// /// Container for the necessary parameters to execute the GetNotebookMetadata operation on AmazonAthenaClient. /// 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 EndGetNotebookMetadata /// operation. /// REST API Reference for GetNotebookMetadata Operation public virtual IAsyncResult BeginGetNotebookMetadata(GetNotebookMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetNotebookMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetNotebookMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetNotebookMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginGetNotebookMetadata. /// /// Returns a GetNotebookMetadataResult from Athena. /// REST API Reference for GetNotebookMetadata Operation public virtual GetNotebookMetadataResponse EndGetNotebookMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPreparedStatement /// /// Retrieves the prepared statement with the specified name from the specified workgroup. /// /// Container for the necessary parameters to execute the GetPreparedStatement service method. /// /// The response from the GetPreparedStatement service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for GetPreparedStatement Operation public virtual GetPreparedStatementResponse GetPreparedStatement(GetPreparedStatementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPreparedStatementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPreparedStatement operation. /// /// /// Container for the necessary parameters to execute the GetPreparedStatement operation on AmazonAthenaClient. /// 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 EndGetPreparedStatement /// operation. /// REST API Reference for GetPreparedStatement Operation public virtual IAsyncResult BeginGetPreparedStatement(GetPreparedStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPreparedStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPreparedStatement operation. /// /// /// The IAsyncResult returned by the call to BeginGetPreparedStatement. /// /// Returns a GetPreparedStatementResult from Athena. /// REST API Reference for GetPreparedStatement Operation public virtual GetPreparedStatementResponse EndGetPreparedStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetQueryExecution /// /// Returns information about a single execution of a query if you have access to the /// workgroup in which the query ran. Each time a query executes, information about the /// query execution is saved with a unique ID. /// /// Container for the necessary parameters to execute the GetQueryExecution service method. /// /// The response from the GetQueryExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetQueryExecution Operation public virtual GetQueryExecutionResponse GetQueryExecution(GetQueryExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetQueryExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetQueryExecution operation. /// /// /// Container for the necessary parameters to execute the GetQueryExecution operation on AmazonAthenaClient. /// 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 EndGetQueryExecution /// operation. /// REST API Reference for GetQueryExecution Operation public virtual IAsyncResult BeginGetQueryExecution(GetQueryExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetQueryExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetQueryExecution operation. /// /// /// The IAsyncResult returned by the call to BeginGetQueryExecution. /// /// Returns a GetQueryExecutionResult from Athena. /// REST API Reference for GetQueryExecution Operation public virtual GetQueryExecutionResponse EndGetQueryExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetQueryResults /// /// Streams the results of a single query execution specified by QueryExecutionId /// from the Athena query results location in Amazon S3. For more information, see Working with query /// results, recent queries, and output files in the Amazon Athena User Guide. /// This request does not execute the query but returns results. Use StartQueryExecution /// to run a query. /// /// /// /// To stream query results successfully, the IAM principal with permission to call GetQueryResults /// also must have permissions to the Amazon S3 GetObject action for the /// Athena query results location. /// /// /// /// IAM principals with permission to the Amazon S3 GetObject action for /// the query results location are able to retrieve query results from Amazon S3 even /// if permission to the GetQueryResults action is denied. To restrict user /// or role access, ensure that Amazon S3 permissions to the Athena query location are /// denied. /// /// /// /// Container for the necessary parameters to execute the GetQueryResults service method. /// /// The response from the GetQueryResults service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for GetQueryResults Operation public virtual GetQueryResultsResponse GetQueryResults(GetQueryResultsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetQueryResultsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetQueryResultsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetQueryResults operation. /// /// /// Container for the necessary parameters to execute the GetQueryResults operation on AmazonAthenaClient. /// 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 EndGetQueryResults /// operation. /// REST API Reference for GetQueryResults Operation public virtual IAsyncResult BeginGetQueryResults(GetQueryResultsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetQueryResultsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetQueryResultsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetQueryResults operation. /// /// /// The IAsyncResult returned by the call to BeginGetQueryResults. /// /// Returns a GetQueryResultsResult from Athena. /// REST API Reference for GetQueryResults Operation public virtual GetQueryResultsResponse EndGetQueryResults(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetQueryRuntimeStatistics /// /// Returns query execution runtime statistics related to a single execution of a query /// if you have access to the workgroup in which the query ran. Query execution runtime /// statistics are returned only when QueryExecutionStatus$State is in a SUCCEEDED /// or FAILED state. Stage-level input and output row count and data size statistics are /// not shown when a query has row-level filters defined in Lake Formation. /// /// Container for the necessary parameters to execute the GetQueryRuntimeStatistics service method. /// /// The response from the GetQueryRuntimeStatistics service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetQueryRuntimeStatistics Operation public virtual GetQueryRuntimeStatisticsResponse GetQueryRuntimeStatistics(GetQueryRuntimeStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetQueryRuntimeStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetQueryRuntimeStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetQueryRuntimeStatistics operation. /// /// /// Container for the necessary parameters to execute the GetQueryRuntimeStatistics operation on AmazonAthenaClient. /// 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 EndGetQueryRuntimeStatistics /// operation. /// REST API Reference for GetQueryRuntimeStatistics Operation public virtual IAsyncResult BeginGetQueryRuntimeStatistics(GetQueryRuntimeStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetQueryRuntimeStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetQueryRuntimeStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetQueryRuntimeStatistics operation. /// /// /// The IAsyncResult returned by the call to BeginGetQueryRuntimeStatistics. /// /// Returns a GetQueryRuntimeStatisticsResult from Athena. /// REST API Reference for GetQueryRuntimeStatistics Operation public virtual GetQueryRuntimeStatisticsResponse EndGetQueryRuntimeStatistics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSession /// /// Gets the full details of a previously created session, including the session status /// and configuration. /// /// Container for the necessary parameters to execute the GetSession service method. /// /// The response from the GetSession service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for GetSession Operation public virtual GetSessionResponse GetSession(GetSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSession operation. /// /// /// Container for the necessary parameters to execute the GetSession operation on AmazonAthenaClient. /// 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 EndGetSession /// operation. /// REST API Reference for GetSession Operation public virtual IAsyncResult BeginGetSession(GetSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSession operation. /// /// /// The IAsyncResult returned by the call to BeginGetSession. /// /// Returns a GetSessionResult from Athena. /// REST API Reference for GetSession Operation public virtual GetSessionResponse EndGetSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSessionStatus /// /// Gets the current status of a session. /// /// Container for the necessary parameters to execute the GetSessionStatus service method. /// /// The response from the GetSessionStatus service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for GetSessionStatus Operation public virtual GetSessionStatusResponse GetSessionStatus(GetSessionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSessionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSessionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSessionStatus operation. /// /// /// Container for the necessary parameters to execute the GetSessionStatus operation on AmazonAthenaClient. /// 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 EndGetSessionStatus /// operation. /// REST API Reference for GetSessionStatus Operation public virtual IAsyncResult BeginGetSessionStatus(GetSessionStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSessionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSessionStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSessionStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetSessionStatus. /// /// Returns a GetSessionStatusResult from Athena. /// REST API Reference for GetSessionStatus Operation public virtual GetSessionStatusResponse EndGetSessionStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTableMetadata /// /// Returns table metadata for the specified catalog, database, and table. /// /// Container for the necessary parameters to execute the GetTableMetadata service method. /// /// The response from the GetTableMetadata service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// An exception that Athena received when it called a custom metastore. Occurs if the /// error is not caused by user input (InvalidRequestException) or from the /// Athena platform (InternalServerException). For example, if a user-created /// Lambda function is missing permissions, the Lambda 4XX exception is returned /// in a MetadataException. /// /// REST API Reference for GetTableMetadata Operation public virtual GetTableMetadataResponse GetTableMetadata(GetTableMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTableMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTableMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTableMetadata operation. /// /// /// Container for the necessary parameters to execute the GetTableMetadata operation on AmazonAthenaClient. /// 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 EndGetTableMetadata /// operation. /// REST API Reference for GetTableMetadata Operation public virtual IAsyncResult BeginGetTableMetadata(GetTableMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTableMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTableMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTableMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginGetTableMetadata. /// /// Returns a GetTableMetadataResult from Athena. /// REST API Reference for GetTableMetadata Operation public virtual GetTableMetadataResponse EndGetTableMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetWorkGroup /// /// Returns information about the workgroup with the specified name. /// /// Container for the necessary parameters to execute the GetWorkGroup service method. /// /// The response from the GetWorkGroup service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for GetWorkGroup Operation public virtual GetWorkGroupResponse GetWorkGroup(GetWorkGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetWorkGroup operation. /// /// /// Container for the necessary parameters to execute the GetWorkGroup operation on AmazonAthenaClient. /// 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 EndGetWorkGroup /// operation. /// REST API Reference for GetWorkGroup Operation public virtual IAsyncResult BeginGetWorkGroup(GetWorkGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetWorkGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetWorkGroup operation. /// /// /// The IAsyncResult returned by the call to BeginGetWorkGroup. /// /// Returns a GetWorkGroupResult from Athena. /// REST API Reference for GetWorkGroup Operation public virtual GetWorkGroupResponse EndGetWorkGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ImportNotebook /// /// Imports a single ipynb file to a Spark enabled workgroup. The maximum /// file size that can be imported is 10 megabytes. If an ipynb file with /// the same name already exists in the workgroup, throws an error. /// /// Container for the necessary parameters to execute the ImportNotebook service method. /// /// The response from the ImportNotebook service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for ImportNotebook Operation public virtual ImportNotebookResponse ImportNotebook(ImportNotebookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportNotebookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ImportNotebook operation. /// /// /// Container for the necessary parameters to execute the ImportNotebook operation on AmazonAthenaClient. /// 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 EndImportNotebook /// operation. /// REST API Reference for ImportNotebook Operation public virtual IAsyncResult BeginImportNotebook(ImportNotebookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ImportNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportNotebookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ImportNotebook operation. /// /// /// The IAsyncResult returned by the call to BeginImportNotebook. /// /// Returns a ImportNotebookResult from Athena. /// REST API Reference for ImportNotebook Operation public virtual ImportNotebookResponse EndImportNotebook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListApplicationDPUSizes /// /// Returns the supported DPU sizes for the supported application runtimes (for example, /// Athena notebook version 1). /// /// Container for the necessary parameters to execute the ListApplicationDPUSizes service method. /// /// The response from the ListApplicationDPUSizes service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for ListApplicationDPUSizes Operation public virtual ListApplicationDPUSizesResponse ListApplicationDPUSizes(ListApplicationDPUSizesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationDPUSizesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationDPUSizesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListApplicationDPUSizes operation. /// /// /// Container for the necessary parameters to execute the ListApplicationDPUSizes operation on AmazonAthenaClient. /// 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 EndListApplicationDPUSizes /// operation. /// REST API Reference for ListApplicationDPUSizes Operation public virtual IAsyncResult BeginListApplicationDPUSizes(ListApplicationDPUSizesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListApplicationDPUSizesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApplicationDPUSizesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListApplicationDPUSizes operation. /// /// /// The IAsyncResult returned by the call to BeginListApplicationDPUSizes. /// /// Returns a ListApplicationDPUSizesResult from Athena. /// REST API Reference for ListApplicationDPUSizes Operation public virtual ListApplicationDPUSizesResponse EndListApplicationDPUSizes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCalculationExecutions /// /// Lists the calculations that have been submitted to a session in descending order. /// Newer calculations are listed first; older calculations are listed later. /// /// Container for the necessary parameters to execute the ListCalculationExecutions service method. /// /// The response from the ListCalculationExecutions service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for ListCalculationExecutions Operation public virtual ListCalculationExecutionsResponse ListCalculationExecutions(ListCalculationExecutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCalculationExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCalculationExecutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCalculationExecutions operation. /// /// /// Container for the necessary parameters to execute the ListCalculationExecutions operation on AmazonAthenaClient. /// 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 EndListCalculationExecutions /// operation. /// REST API Reference for ListCalculationExecutions Operation public virtual IAsyncResult BeginListCalculationExecutions(ListCalculationExecutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCalculationExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCalculationExecutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCalculationExecutions operation. /// /// /// The IAsyncResult returned by the call to BeginListCalculationExecutions. /// /// Returns a ListCalculationExecutionsResult from Athena. /// REST API Reference for ListCalculationExecutions Operation public virtual ListCalculationExecutionsResponse EndListCalculationExecutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCapacityReservations /// /// Lists the capacity reservations for the current account. /// /// Container for the necessary parameters to execute the ListCapacityReservations service method. /// /// The response from the ListCapacityReservations service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListCapacityReservations Operation public virtual ListCapacityReservationsResponse ListCapacityReservations(ListCapacityReservationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCapacityReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCapacityReservationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCapacityReservations operation. /// /// /// Container for the necessary parameters to execute the ListCapacityReservations operation on AmazonAthenaClient. /// 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 EndListCapacityReservations /// operation. /// REST API Reference for ListCapacityReservations Operation public virtual IAsyncResult BeginListCapacityReservations(ListCapacityReservationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCapacityReservationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCapacityReservationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCapacityReservations operation. /// /// /// The IAsyncResult returned by the call to BeginListCapacityReservations. /// /// Returns a ListCapacityReservationsResult from Athena. /// REST API Reference for ListCapacityReservations Operation public virtual ListCapacityReservationsResponse EndListCapacityReservations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDatabases /// /// Lists the databases in the specified data catalog. /// /// Container for the necessary parameters to execute the ListDatabases service method. /// /// The response from the ListDatabases service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// An exception that Athena received when it called a custom metastore. Occurs if the /// error is not caused by user input (InvalidRequestException) or from the /// Athena platform (InternalServerException). For example, if a user-created /// Lambda function is missing permissions, the Lambda 4XX exception is returned /// in a MetadataException. /// /// REST API Reference for ListDatabases Operation public virtual ListDatabasesResponse ListDatabases(ListDatabasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatabasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatabasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDatabases operation. /// /// /// Container for the necessary parameters to execute the ListDatabases operation on AmazonAthenaClient. /// 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 EndListDatabases /// operation. /// REST API Reference for ListDatabases Operation public virtual IAsyncResult BeginListDatabases(ListDatabasesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatabasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatabasesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDatabases operation. /// /// /// The IAsyncResult returned by the call to BeginListDatabases. /// /// Returns a ListDatabasesResult from Athena. /// REST API Reference for ListDatabases Operation public virtual ListDatabasesResponse EndListDatabases(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDataCatalogs /// /// Lists the data catalogs in the current Amazon Web Services account. /// /// /// /// In the Athena console, data catalogs are listed as "data sources" on the Data sources /// page under the Data source name column. /// /// /// /// Container for the necessary parameters to execute the ListDataCatalogs service method. /// /// The response from the ListDataCatalogs service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListDataCatalogs Operation public virtual ListDataCatalogsResponse ListDataCatalogs(ListDataCatalogsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataCatalogsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataCatalogsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDataCatalogs operation. /// /// /// Container for the necessary parameters to execute the ListDataCatalogs operation on AmazonAthenaClient. /// 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 EndListDataCatalogs /// operation. /// REST API Reference for ListDataCatalogs Operation public virtual IAsyncResult BeginListDataCatalogs(ListDataCatalogsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDataCatalogsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDataCatalogsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDataCatalogs operation. /// /// /// The IAsyncResult returned by the call to BeginListDataCatalogs. /// /// Returns a ListDataCatalogsResult from Athena. /// REST API Reference for ListDataCatalogs Operation public virtual ListDataCatalogsResponse EndListDataCatalogs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListEngineVersions /// /// Returns a list of engine versions that are available to choose from, including the /// Auto option. /// /// Container for the necessary parameters to execute the ListEngineVersions service method. /// /// The response from the ListEngineVersions service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListEngineVersions Operation public virtual ListEngineVersionsResponse ListEngineVersions(ListEngineVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEngineVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEngineVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListEngineVersions operation. /// /// /// Container for the necessary parameters to execute the ListEngineVersions operation on AmazonAthenaClient. /// 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 EndListEngineVersions /// operation. /// REST API Reference for ListEngineVersions Operation public virtual IAsyncResult BeginListEngineVersions(ListEngineVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEngineVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEngineVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListEngineVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListEngineVersions. /// /// Returns a ListEngineVersionsResult from Athena. /// REST API Reference for ListEngineVersions Operation public virtual ListEngineVersionsResponse EndListEngineVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListExecutors /// /// Lists, in descending order, the executors that joined a session. Newer executors are /// listed first; older executors are listed later. The result can be optionally filtered /// by state. /// /// Container for the necessary parameters to execute the ListExecutors service method. /// /// The response from the ListExecutors service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for ListExecutors Operation public virtual ListExecutorsResponse ListExecutors(ListExecutorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExecutorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExecutorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListExecutors operation. /// /// /// Container for the necessary parameters to execute the ListExecutors operation on AmazonAthenaClient. /// 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 EndListExecutors /// operation. /// REST API Reference for ListExecutors Operation public virtual IAsyncResult BeginListExecutors(ListExecutorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListExecutorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExecutorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListExecutors operation. /// /// /// The IAsyncResult returned by the call to BeginListExecutors. /// /// Returns a ListExecutorsResult from Athena. /// REST API Reference for ListExecutors Operation public virtual ListExecutorsResponse EndListExecutors(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListNamedQueries /// /// Provides a list of available query IDs only for queries saved in the specified workgroup. /// Requires that you have access to the specified workgroup. If a workgroup is not specified, /// lists the saved queries for the primary workgroup. /// /// /// /// For code samples using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// /// Container for the necessary parameters to execute the ListNamedQueries service method. /// /// The response from the ListNamedQueries service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListNamedQueries Operation public virtual ListNamedQueriesResponse ListNamedQueries(ListNamedQueriesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNamedQueriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNamedQueriesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListNamedQueries operation. /// /// /// Container for the necessary parameters to execute the ListNamedQueries operation on AmazonAthenaClient. /// 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 EndListNamedQueries /// operation. /// REST API Reference for ListNamedQueries Operation public virtual IAsyncResult BeginListNamedQueries(ListNamedQueriesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListNamedQueriesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNamedQueriesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListNamedQueries operation. /// /// /// The IAsyncResult returned by the call to BeginListNamedQueries. /// /// Returns a ListNamedQueriesResult from Athena. /// REST API Reference for ListNamedQueries Operation public virtual ListNamedQueriesResponse EndListNamedQueries(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListNotebookMetadata /// /// Displays the notebook files for the specified workgroup in paginated format. /// /// Container for the necessary parameters to execute the ListNotebookMetadata service method. /// /// The response from the ListNotebookMetadata service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for ListNotebookMetadata Operation public virtual ListNotebookMetadataResponse ListNotebookMetadata(ListNotebookMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNotebookMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNotebookMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListNotebookMetadata operation. /// /// /// Container for the necessary parameters to execute the ListNotebookMetadata operation on AmazonAthenaClient. /// 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 EndListNotebookMetadata /// operation. /// REST API Reference for ListNotebookMetadata Operation public virtual IAsyncResult BeginListNotebookMetadata(ListNotebookMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListNotebookMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNotebookMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListNotebookMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginListNotebookMetadata. /// /// Returns a ListNotebookMetadataResult from Athena. /// REST API Reference for ListNotebookMetadata Operation public virtual ListNotebookMetadataResponse EndListNotebookMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListNotebookSessions /// /// Lists, in descending order, the sessions that have been created in a notebook that /// are in an active state like CREATING, CREATED, IDLE /// or BUSY. Newer sessions are listed first; older sessions are listed later. /// /// Container for the necessary parameters to execute the ListNotebookSessions service method. /// /// The response from the ListNotebookSessions service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for ListNotebookSessions Operation public virtual ListNotebookSessionsResponse ListNotebookSessions(ListNotebookSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListNotebookSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNotebookSessionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListNotebookSessions operation. /// /// /// Container for the necessary parameters to execute the ListNotebookSessions operation on AmazonAthenaClient. /// 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 EndListNotebookSessions /// operation. /// REST API Reference for ListNotebookSessions Operation public virtual IAsyncResult BeginListNotebookSessions(ListNotebookSessionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListNotebookSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListNotebookSessionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListNotebookSessions operation. /// /// /// The IAsyncResult returned by the call to BeginListNotebookSessions. /// /// Returns a ListNotebookSessionsResult from Athena. /// REST API Reference for ListNotebookSessions Operation public virtual ListNotebookSessionsResponse EndListNotebookSessions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPreparedStatements /// /// Lists the prepared statements in the specified workgroup. /// /// Container for the necessary parameters to execute the ListPreparedStatements service method. /// /// The response from the ListPreparedStatements service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListPreparedStatements Operation public virtual ListPreparedStatementsResponse ListPreparedStatements(ListPreparedStatementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPreparedStatementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPreparedStatementsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPreparedStatements operation. /// /// /// Container for the necessary parameters to execute the ListPreparedStatements operation on AmazonAthenaClient. /// 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 EndListPreparedStatements /// operation. /// REST API Reference for ListPreparedStatements Operation public virtual IAsyncResult BeginListPreparedStatements(ListPreparedStatementsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPreparedStatementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPreparedStatementsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPreparedStatements operation. /// /// /// The IAsyncResult returned by the call to BeginListPreparedStatements. /// /// Returns a ListPreparedStatementsResult from Athena. /// REST API Reference for ListPreparedStatements Operation public virtual ListPreparedStatementsResponse EndListPreparedStatements(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListQueryExecutions /// /// Provides a list of available query execution IDs for the queries in the specified /// workgroup. If a workgroup is not specified, returns a list of query execution IDs /// for the primary workgroup. Requires you to have access to the workgroup in which the /// queries ran. /// /// /// /// For code samples using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// /// Container for the necessary parameters to execute the ListQueryExecutions service method. /// /// The response from the ListQueryExecutions service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListQueryExecutions Operation public virtual ListQueryExecutionsResponse ListQueryExecutions(ListQueryExecutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListQueryExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQueryExecutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListQueryExecutions operation. /// /// /// Container for the necessary parameters to execute the ListQueryExecutions operation on AmazonAthenaClient. /// 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 EndListQueryExecutions /// operation. /// REST API Reference for ListQueryExecutions Operation public virtual IAsyncResult BeginListQueryExecutions(ListQueryExecutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListQueryExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQueryExecutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListQueryExecutions operation. /// /// /// The IAsyncResult returned by the call to BeginListQueryExecutions. /// /// Returns a ListQueryExecutionsResult from Athena. /// REST API Reference for ListQueryExecutions Operation public virtual ListQueryExecutionsResponse EndListQueryExecutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSessions /// /// Lists the sessions in a workgroup that are in an active state like CREATING, /// CREATED, IDLE, or BUSY. Newer sessions are /// listed first; older sessions are listed later. /// /// Container for the necessary parameters to execute the ListSessions service method. /// /// The response from the ListSessions service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for ListSessions Operation public virtual ListSessionsResponse ListSessions(ListSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSessionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSessions operation. /// /// /// Container for the necessary parameters to execute the ListSessions operation on AmazonAthenaClient. /// 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 EndListSessions /// operation. /// REST API Reference for ListSessions Operation public virtual IAsyncResult BeginListSessions(ListSessionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSessionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSessions operation. /// /// /// The IAsyncResult returned by the call to BeginListSessions. /// /// Returns a ListSessionsResult from Athena. /// REST API Reference for ListSessions Operation public virtual ListSessionsResponse EndListSessions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTableMetadata /// /// Lists the metadata for the tables in the specified data catalog database. /// /// Container for the necessary parameters to execute the ListTableMetadata service method. /// /// The response from the ListTableMetadata service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// An exception that Athena received when it called a custom metastore. Occurs if the /// error is not caused by user input (InvalidRequestException) or from the /// Athena platform (InternalServerException). For example, if a user-created /// Lambda function is missing permissions, the Lambda 4XX exception is returned /// in a MetadataException. /// /// REST API Reference for ListTableMetadata Operation public virtual ListTableMetadataResponse ListTableMetadata(ListTableMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTableMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTableMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTableMetadata operation. /// /// /// Container for the necessary parameters to execute the ListTableMetadata operation on AmazonAthenaClient. /// 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 EndListTableMetadata /// operation. /// REST API Reference for ListTableMetadata Operation public virtual IAsyncResult BeginListTableMetadata(ListTableMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTableMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTableMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTableMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginListTableMetadata. /// /// Returns a ListTableMetadataResult from Athena. /// REST API Reference for ListTableMetadata Operation public virtual ListTableMetadataResponse EndListTableMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists the tags associated with an Athena resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAthenaClient. /// 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 EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from Athena. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListWorkGroups /// /// Lists available workgroups for the account. /// /// Container for the necessary parameters to execute the ListWorkGroups service method. /// /// The response from the ListWorkGroups service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for ListWorkGroups Operation public virtual ListWorkGroupsResponse ListWorkGroups(ListWorkGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListWorkGroups operation. /// /// /// Container for the necessary parameters to execute the ListWorkGroups operation on AmazonAthenaClient. /// 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 EndListWorkGroups /// operation. /// REST API Reference for ListWorkGroups Operation public virtual IAsyncResult BeginListWorkGroups(ListWorkGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListWorkGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListWorkGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListWorkGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListWorkGroups. /// /// Returns a ListWorkGroupsResult from Athena. /// REST API Reference for ListWorkGroups Operation public virtual ListWorkGroupsResponse EndListWorkGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutCapacityAssignmentConfiguration /// /// Puts a new capacity assignment configuration for a specified capacity reservation. /// If a capacity assignment configuration already exists for the capacity reservation, /// replaces the existing capacity assignment configuration. /// /// Container for the necessary parameters to execute the PutCapacityAssignmentConfiguration service method. /// /// The response from the PutCapacityAssignmentConfiguration service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for PutCapacityAssignmentConfiguration Operation public virtual PutCapacityAssignmentConfigurationResponse PutCapacityAssignmentConfiguration(PutCapacityAssignmentConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutCapacityAssignmentConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCapacityAssignmentConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutCapacityAssignmentConfiguration operation. /// /// /// Container for the necessary parameters to execute the PutCapacityAssignmentConfiguration operation on AmazonAthenaClient. /// 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 EndPutCapacityAssignmentConfiguration /// operation. /// REST API Reference for PutCapacityAssignmentConfiguration Operation public virtual IAsyncResult BeginPutCapacityAssignmentConfiguration(PutCapacityAssignmentConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutCapacityAssignmentConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCapacityAssignmentConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutCapacityAssignmentConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginPutCapacityAssignmentConfiguration. /// /// Returns a PutCapacityAssignmentConfigurationResult from Athena. /// REST API Reference for PutCapacityAssignmentConfiguration Operation public virtual PutCapacityAssignmentConfigurationResponse EndPutCapacityAssignmentConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartCalculationExecution /// /// Submits calculations for execution within a session. You can supply the code to run /// as an inline code block within the request. /// /// Container for the necessary parameters to execute the StartCalculationExecution service method. /// /// The response from the StartCalculationExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for StartCalculationExecution Operation public virtual StartCalculationExecutionResponse StartCalculationExecution(StartCalculationExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartCalculationExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCalculationExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartCalculationExecution operation. /// /// /// Container for the necessary parameters to execute the StartCalculationExecution operation on AmazonAthenaClient. /// 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 EndStartCalculationExecution /// operation. /// REST API Reference for StartCalculationExecution Operation public virtual IAsyncResult BeginStartCalculationExecution(StartCalculationExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartCalculationExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCalculationExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartCalculationExecution operation. /// /// /// The IAsyncResult returned by the call to BeginStartCalculationExecution. /// /// Returns a StartCalculationExecutionResult from Athena. /// REST API Reference for StartCalculationExecution Operation public virtual StartCalculationExecutionResponse EndStartCalculationExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartQueryExecution /// /// Runs the SQL query statements contained in the Query. Requires you to /// have access to the workgroup in which the query ran. Running queries against an external /// catalog requires GetDataCatalog permission to the catalog. For code samples /// using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// Container for the necessary parameters to execute the StartQueryExecution service method. /// /// The response from the StartQueryExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for StartQueryExecution Operation public virtual StartQueryExecutionResponse StartQueryExecution(StartQueryExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartQueryExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartQueryExecution operation. /// /// /// Container for the necessary parameters to execute the StartQueryExecution operation on AmazonAthenaClient. /// 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 EndStartQueryExecution /// operation. /// REST API Reference for StartQueryExecution Operation public virtual IAsyncResult BeginStartQueryExecution(StartQueryExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartQueryExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartQueryExecution operation. /// /// /// The IAsyncResult returned by the call to BeginStartQueryExecution. /// /// Returns a StartQueryExecutionResult from Athena. /// REST API Reference for StartQueryExecution Operation public virtual StartQueryExecutionResponse EndStartQueryExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartSession /// /// Creates a session for running calculations within a workgroup. The session is ready /// when it reaches an IDLE state. /// /// Container for the necessary parameters to execute the StartSession service method. /// /// The response from the StartSession service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// /// The specified session already exists. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for StartSession Operation public virtual StartSessionResponse StartSession(StartSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartSession operation. /// /// /// Container for the necessary parameters to execute the StartSession operation on AmazonAthenaClient. /// 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 EndStartSession /// operation. /// REST API Reference for StartSession Operation public virtual IAsyncResult BeginStartSession(StartSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartSession operation. /// /// /// The IAsyncResult returned by the call to BeginStartSession. /// /// Returns a StartSessionResult from Athena. /// REST API Reference for StartSession Operation public virtual StartSessionResponse EndStartSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopCalculationExecution /// /// Requests the cancellation of a calculation. A StopCalculationExecution /// call on a calculation that is already in a terminal state (for example, STOPPED, /// FAILED, or COMPLETED) succeeds but has no effect. /// /// /// /// Cancelling a calculation is done on a best effort basis. If a calculation cannot be /// cancelled, you can be charged for its completion. If you are concerned about being /// charged for a calculation that cannot be cancelled, consider terminating the session /// in which the calculation is running. /// /// /// /// Container for the necessary parameters to execute the StopCalculationExecution service method. /// /// The response from the StopCalculationExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for StopCalculationExecution Operation public virtual StopCalculationExecutionResponse StopCalculationExecution(StopCalculationExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopCalculationExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopCalculationExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopCalculationExecution operation. /// /// /// Container for the necessary parameters to execute the StopCalculationExecution operation on AmazonAthenaClient. /// 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 EndStopCalculationExecution /// operation. /// REST API Reference for StopCalculationExecution Operation public virtual IAsyncResult BeginStopCalculationExecution(StopCalculationExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopCalculationExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopCalculationExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopCalculationExecution operation. /// /// /// The IAsyncResult returned by the call to BeginStopCalculationExecution. /// /// Returns a StopCalculationExecutionResult from Athena. /// REST API Reference for StopCalculationExecution Operation public virtual StopCalculationExecutionResponse EndStopCalculationExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopQueryExecution /// /// Stops a query execution. Requires you to have access to the workgroup in which the /// query ran. /// /// /// /// For code samples using the Amazon Web Services SDK for Java, see Examples /// and Code Samples in the Amazon Athena User Guide. /// /// /// Container for the necessary parameters to execute the StopQueryExecution service method. /// /// The response from the StopQueryExecution service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for StopQueryExecution Operation public virtual StopQueryExecutionResponse StopQueryExecution(StopQueryExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopQueryExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopQueryExecution operation. /// /// /// Container for the necessary parameters to execute the StopQueryExecution operation on AmazonAthenaClient. /// 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 EndStopQueryExecution /// operation. /// REST API Reference for StopQueryExecution Operation public virtual IAsyncResult BeginStopQueryExecution(StopQueryExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopQueryExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = StopQueryExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopQueryExecution operation. /// /// /// The IAsyncResult returned by the call to BeginStopQueryExecution. /// /// Returns a StopQueryExecutionResult from Athena. /// REST API Reference for StopQueryExecution Operation public virtual StopQueryExecutionResponse EndStopQueryExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds one or more tags to an Athena resource. A tag is a label that you assign to a /// resource. Each tag consists of a key and an optional value, both of which you define. /// For example, you can use tags to categorize Athena workgroups, data catalogs, or capacity /// reservations by purpose, owner, or environment. Use a consistent set of tag keys to /// make it easier to search and filter the resources in your account. For best practices, /// see Tagging /// Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag /// values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers /// representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and /// values are case-sensitive. Tag keys must be unique per resource. If you specify more /// than one tag, separate them by commas. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonAthenaClient. /// 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 EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from Athena. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TerminateSession /// /// Terminates an active session. A TerminateSession call on a session that /// is already inactive (for example, in a FAILED, TERMINATED /// or TERMINATING state) succeeds but has no effect. Calculations running /// in the session when TerminateSession is called are forcefully stopped, /// but may display as FAILED instead of STOPPED. /// /// Container for the necessary parameters to execute the TerminateSession service method. /// /// The response from the TerminateSession service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for TerminateSession Operation public virtual TerminateSessionResponse TerminateSession(TerminateSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TerminateSession operation. /// /// /// Container for the necessary parameters to execute the TerminateSession operation on AmazonAthenaClient. /// 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 EndTerminateSession /// operation. /// REST API Reference for TerminateSession Operation public virtual IAsyncResult BeginTerminateSession(TerminateSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TerminateSession operation. /// /// /// The IAsyncResult returned by the call to BeginTerminateSession. /// /// Returns a TerminateSessionResult from Athena. /// REST API Reference for TerminateSession Operation public virtual TerminateSessionResponse EndTerminateSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes one or more tags from an Athena resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonAthenaClient. /// 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 EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from Athena. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCapacityReservation /// /// Updates the number of requested data processing units for the capacity reservation /// with the specified name. /// /// Container for the necessary parameters to execute the UpdateCapacityReservation service method. /// /// The response from the UpdateCapacityReservation service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for UpdateCapacityReservation Operation public virtual UpdateCapacityReservationResponse UpdateCapacityReservation(UpdateCapacityReservationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCapacityReservationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCapacityReservation operation. /// /// /// Container for the necessary parameters to execute the UpdateCapacityReservation operation on AmazonAthenaClient. /// 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 EndUpdateCapacityReservation /// operation. /// REST API Reference for UpdateCapacityReservation Operation public virtual IAsyncResult BeginUpdateCapacityReservation(UpdateCapacityReservationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCapacityReservationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCapacityReservationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCapacityReservation operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCapacityReservation. /// /// Returns a UpdateCapacityReservationResult from Athena. /// REST API Reference for UpdateCapacityReservation Operation public virtual UpdateCapacityReservationResponse EndUpdateCapacityReservation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDataCatalog /// /// Updates the data catalog that has the specified name. /// /// Container for the necessary parameters to execute the UpdateDataCatalog service method. /// /// The response from the UpdateDataCatalog service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for UpdateDataCatalog Operation public virtual UpdateDataCatalogResponse UpdateDataCatalog(UpdateDataCatalogRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDataCatalogResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDataCatalog operation. /// /// /// Container for the necessary parameters to execute the UpdateDataCatalog operation on AmazonAthenaClient. /// 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 EndUpdateDataCatalog /// operation. /// REST API Reference for UpdateDataCatalog Operation public virtual IAsyncResult BeginUpdateDataCatalog(UpdateDataCatalogRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDataCatalogRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDataCatalogResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDataCatalog operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDataCatalog. /// /// Returns a UpdateDataCatalogResult from Athena. /// REST API Reference for UpdateDataCatalog Operation public virtual UpdateDataCatalogResponse EndUpdateDataCatalog(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateNamedQuery /// /// Updates a NamedQuery object. The database or workgroup cannot be updated. /// /// Container for the necessary parameters to execute the UpdateNamedQuery service method. /// /// The response from the UpdateNamedQuery service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for UpdateNamedQuery Operation public virtual UpdateNamedQueryResponse UpdateNamedQuery(UpdateNamedQueryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNamedQueryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateNamedQuery operation. /// /// /// Container for the necessary parameters to execute the UpdateNamedQuery operation on AmazonAthenaClient. /// 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 EndUpdateNamedQuery /// operation. /// REST API Reference for UpdateNamedQuery Operation public virtual IAsyncResult BeginUpdateNamedQuery(UpdateNamedQueryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNamedQueryRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNamedQueryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateNamedQuery operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateNamedQuery. /// /// Returns a UpdateNamedQueryResult from Athena. /// REST API Reference for UpdateNamedQuery Operation public virtual UpdateNamedQueryResponse EndUpdateNamedQuery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateNotebook /// /// Updates the contents of a Spark notebook. /// /// Container for the necessary parameters to execute the UpdateNotebook service method. /// /// The response from the UpdateNotebook service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for UpdateNotebook Operation public virtual UpdateNotebookResponse UpdateNotebook(UpdateNotebookRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNotebookResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateNotebook operation. /// /// /// Container for the necessary parameters to execute the UpdateNotebook operation on AmazonAthenaClient. /// 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 EndUpdateNotebook /// operation. /// REST API Reference for UpdateNotebook Operation public virtual IAsyncResult BeginUpdateNotebook(UpdateNotebookRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNotebookRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNotebookResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateNotebook operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateNotebook. /// /// Returns a UpdateNotebookResult from Athena. /// REST API Reference for UpdateNotebook Operation public virtual UpdateNotebookResponse EndUpdateNotebook(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateNotebookMetadata /// /// Updates the metadata for a notebook. /// /// Container for the necessary parameters to execute the UpdateNotebookMetadata service method. /// /// The response from the UpdateNotebookMetadata service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// Indicates that the request was throttled. /// /// REST API Reference for UpdateNotebookMetadata Operation public virtual UpdateNotebookMetadataResponse UpdateNotebookMetadata(UpdateNotebookMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNotebookMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNotebookMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateNotebookMetadata operation. /// /// /// Container for the necessary parameters to execute the UpdateNotebookMetadata operation on AmazonAthenaClient. /// 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 EndUpdateNotebookMetadata /// operation. /// REST API Reference for UpdateNotebookMetadata Operation public virtual IAsyncResult BeginUpdateNotebookMetadata(UpdateNotebookMetadataRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateNotebookMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateNotebookMetadataResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateNotebookMetadata operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateNotebookMetadata. /// /// Returns a UpdateNotebookMetadataResult from Athena. /// REST API Reference for UpdateNotebookMetadata Operation public virtual UpdateNotebookMetadataResponse EndUpdateNotebookMetadata(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePreparedStatement /// /// Updates a prepared statement. /// /// Container for the necessary parameters to execute the UpdatePreparedStatement service method. /// /// The response from the UpdatePreparedStatement service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// /// A resource, such as a workgroup, was not found. /// /// REST API Reference for UpdatePreparedStatement Operation public virtual UpdatePreparedStatementResponse UpdatePreparedStatement(UpdatePreparedStatementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePreparedStatementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePreparedStatement operation. /// /// /// Container for the necessary parameters to execute the UpdatePreparedStatement operation on AmazonAthenaClient. /// 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 EndUpdatePreparedStatement /// operation. /// REST API Reference for UpdatePreparedStatement Operation public virtual IAsyncResult BeginUpdatePreparedStatement(UpdatePreparedStatementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePreparedStatementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePreparedStatementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePreparedStatement operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePreparedStatement. /// /// Returns a UpdatePreparedStatementResult from Athena. /// REST API Reference for UpdatePreparedStatement Operation public virtual UpdatePreparedStatementResponse EndUpdatePreparedStatement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateWorkGroup /// /// Updates the workgroup with the specified name. The workgroup's name cannot be changed. /// Only ConfigurationUpdates can be specified. /// /// Container for the necessary parameters to execute the UpdateWorkGroup service method. /// /// The response from the UpdateWorkGroup service method, as returned by Athena. /// /// Indicates a platform issue, which may be due to a transient condition or outage. /// /// /// Indicates that something is wrong with the input to the request. For example, a required /// parameter may be missing or out of range. /// /// REST API Reference for UpdateWorkGroup Operation public virtual UpdateWorkGroupResponse UpdateWorkGroup(UpdateWorkGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateWorkGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateWorkGroup operation on AmazonAthenaClient. /// 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 EndUpdateWorkGroup /// operation. /// REST API Reference for UpdateWorkGroup Operation public virtual IAsyncResult BeginUpdateWorkGroup(UpdateWorkGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateWorkGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateWorkGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateWorkGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateWorkGroup. /// /// Returns a UpdateWorkGroupResult from Athena. /// REST API Reference for UpdateWorkGroup Operation public virtual UpdateWorkGroupResponse EndUpdateWorkGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }