/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace AmplifyBackend
{
/**
* AWS Amplify Admin API
*/
class AWS_AMPLIFYBACKEND_API AmplifyBackendClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* SERVICE_NAME;
static const char* ALLOCATION_TAG;
typedef AmplifyBackendClientConfiguration ClientConfigurationType;
typedef AmplifyBackendEndpointProvider EndpointProviderType;
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyBackendClient(const Aws::AmplifyBackend::AmplifyBackendClientConfiguration& clientConfiguration = Aws::AmplifyBackend::AmplifyBackendClientConfiguration(),
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG));
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyBackendClient(const Aws::Auth::AWSCredentials& credentials,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::AmplifyBackend::AmplifyBackendClientConfiguration& clientConfiguration = Aws::AmplifyBackend::AmplifyBackendClientConfiguration());
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
AmplifyBackendClient(const std::shared_ptr& credentialsProvider,
std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG),
const Aws::AmplifyBackend::AmplifyBackendClientConfiguration& clientConfiguration = Aws::AmplifyBackend::AmplifyBackendClientConfiguration());
/* Legacy constructors due deprecation */
/**
* Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyBackendClient(const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
* is not specified, it will be initialized to default values.
*/
AmplifyBackendClient(const Aws::Auth::AWSCredentials& credentials,
const Aws::Client::ClientConfiguration& clientConfiguration);
/**
* Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
* the default http client factory will be used
*/
AmplifyBackendClient(const std::shared_ptr& credentialsProvider,
const Aws::Client::ClientConfiguration& clientConfiguration);
/* End of legacy constructors due deprecation */
virtual ~AmplifyBackendClient();
/**
* This operation clones an existing backend.
See Also:
AWS
* API Reference
*/
virtual Model::CloneBackendOutcome CloneBackend(const Model::CloneBackendRequest& request) const;
/**
* A Callable wrapper for CloneBackend that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CloneBackendOutcomeCallable CloneBackendCallable(const CloneBackendRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CloneBackend, request);
}
/**
* An Async wrapper for CloneBackend that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CloneBackendAsync(const CloneBackendRequestT& request, const CloneBackendResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CloneBackend, request, handler, context);
}
/**
* This operation creates a backend for an Amplify app. Backends are
* automatically created at the time of app creation.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackendOutcome CreateBackend(const Model::CreateBackendRequest& request) const;
/**
* A Callable wrapper for CreateBackend that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackendOutcomeCallable CreateBackendCallable(const CreateBackendRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CreateBackend, request);
}
/**
* An Async wrapper for CreateBackend that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackendAsync(const CreateBackendRequestT& request, const CreateBackendResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CreateBackend, request, handler, context);
}
/**
* Creates a new backend API resource.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackendAPIOutcome CreateBackendAPI(const Model::CreateBackendAPIRequest& request) const;
/**
* A Callable wrapper for CreateBackendAPI that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackendAPIOutcomeCallable CreateBackendAPICallable(const CreateBackendAPIRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CreateBackendAPI, request);
}
/**
* An Async wrapper for CreateBackendAPI that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackendAPIAsync(const CreateBackendAPIRequestT& request, const CreateBackendAPIResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CreateBackendAPI, request, handler, context);
}
/**
* Creates a new backend authentication resource.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackendAuthOutcome CreateBackendAuth(const Model::CreateBackendAuthRequest& request) const;
/**
* A Callable wrapper for CreateBackendAuth that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackendAuthOutcomeCallable CreateBackendAuthCallable(const CreateBackendAuthRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CreateBackendAuth, request);
}
/**
* An Async wrapper for CreateBackendAuth that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackendAuthAsync(const CreateBackendAuthRequestT& request, const CreateBackendAuthResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CreateBackendAuth, request, handler, context);
}
/**
* Creates a config object for a backend.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackendConfigOutcome CreateBackendConfig(const Model::CreateBackendConfigRequest& request) const;
/**
* A Callable wrapper for CreateBackendConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackendConfigOutcomeCallable CreateBackendConfigCallable(const CreateBackendConfigRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CreateBackendConfig, request);
}
/**
* An Async wrapper for CreateBackendConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackendConfigAsync(const CreateBackendConfigRequestT& request, const CreateBackendConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CreateBackendConfig, request, handler, context);
}
/**
* Creates a backend storage resource.
See Also:
AWS
* API Reference
*/
virtual Model::CreateBackendStorageOutcome CreateBackendStorage(const Model::CreateBackendStorageRequest& request) const;
/**
* A Callable wrapper for CreateBackendStorage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateBackendStorageOutcomeCallable CreateBackendStorageCallable(const CreateBackendStorageRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CreateBackendStorage, request);
}
/**
* An Async wrapper for CreateBackendStorage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateBackendStorageAsync(const CreateBackendStorageRequestT& request, const CreateBackendStorageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CreateBackendStorage, request, handler, context);
}
/**
* Generates a one-time challenge code to authenticate a user into your Amplify
* Admin UI.
See Also:
AWS
* API Reference
*/
virtual Model::CreateTokenOutcome CreateToken(const Model::CreateTokenRequest& request) const;
/**
* A Callable wrapper for CreateToken that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::CreateTokenOutcomeCallable CreateTokenCallable(const CreateTokenRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::CreateToken, request);
}
/**
* An Async wrapper for CreateToken that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void CreateTokenAsync(const CreateTokenRequestT& request, const CreateTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::CreateToken, request, handler, context);
}
/**
* Removes an existing environment from your Amplify project.
See
* Also:
AWS
* API Reference
*/
virtual Model::DeleteBackendOutcome DeleteBackend(const Model::DeleteBackendRequest& request) const;
/**
* A Callable wrapper for DeleteBackend that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackendOutcomeCallable DeleteBackendCallable(const DeleteBackendRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::DeleteBackend, request);
}
/**
* An Async wrapper for DeleteBackend that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackendAsync(const DeleteBackendRequestT& request, const DeleteBackendResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::DeleteBackend, request, handler, context);
}
/**
* Deletes an existing backend API resource.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackendAPIOutcome DeleteBackendAPI(const Model::DeleteBackendAPIRequest& request) const;
/**
* A Callable wrapper for DeleteBackendAPI that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackendAPIOutcomeCallable DeleteBackendAPICallable(const DeleteBackendAPIRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::DeleteBackendAPI, request);
}
/**
* An Async wrapper for DeleteBackendAPI that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackendAPIAsync(const DeleteBackendAPIRequestT& request, const DeleteBackendAPIResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::DeleteBackendAPI, request, handler, context);
}
/**
* Deletes an existing backend authentication resource.
See Also:
* AWS
* API Reference
*/
virtual Model::DeleteBackendAuthOutcome DeleteBackendAuth(const Model::DeleteBackendAuthRequest& request) const;
/**
* A Callable wrapper for DeleteBackendAuth that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackendAuthOutcomeCallable DeleteBackendAuthCallable(const DeleteBackendAuthRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::DeleteBackendAuth, request);
}
/**
* An Async wrapper for DeleteBackendAuth that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackendAuthAsync(const DeleteBackendAuthRequestT& request, const DeleteBackendAuthResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::DeleteBackendAuth, request, handler, context);
}
/**
* Removes the specified backend storage resource.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteBackendStorageOutcome DeleteBackendStorage(const Model::DeleteBackendStorageRequest& request) const;
/**
* A Callable wrapper for DeleteBackendStorage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteBackendStorageOutcomeCallable DeleteBackendStorageCallable(const DeleteBackendStorageRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::DeleteBackendStorage, request);
}
/**
* An Async wrapper for DeleteBackendStorage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteBackendStorageAsync(const DeleteBackendStorageRequestT& request, const DeleteBackendStorageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::DeleteBackendStorage, request, handler, context);
}
/**
* Deletes the challenge token based on the given appId and
* sessionId.
See Also:
AWS
* API Reference
*/
virtual Model::DeleteTokenOutcome DeleteToken(const Model::DeleteTokenRequest& request) const;
/**
* A Callable wrapper for DeleteToken that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::DeleteTokenOutcomeCallable DeleteTokenCallable(const DeleteTokenRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::DeleteToken, request);
}
/**
* An Async wrapper for DeleteToken that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void DeleteTokenAsync(const DeleteTokenRequestT& request, const DeleteTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::DeleteToken, request, handler, context);
}
/**
* Generates a model schema for an existing backend API resource.
See
* Also:
AWS
* API Reference
*/
virtual Model::GenerateBackendAPIModelsOutcome GenerateBackendAPIModels(const Model::GenerateBackendAPIModelsRequest& request) const;
/**
* A Callable wrapper for GenerateBackendAPIModels that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GenerateBackendAPIModelsOutcomeCallable GenerateBackendAPIModelsCallable(const GenerateBackendAPIModelsRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GenerateBackendAPIModels, request);
}
/**
* An Async wrapper for GenerateBackendAPIModels that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GenerateBackendAPIModelsAsync(const GenerateBackendAPIModelsRequestT& request, const GenerateBackendAPIModelsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GenerateBackendAPIModels, request, handler, context);
}
/**
* Provides project-level details for your Amplify UI project.
See
* Also:
AWS
* API Reference
*/
virtual Model::GetBackendOutcome GetBackend(const Model::GetBackendRequest& request) const;
/**
* A Callable wrapper for GetBackend that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackendOutcomeCallable GetBackendCallable(const GetBackendRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetBackend, request);
}
/**
* An Async wrapper for GetBackend that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackendAsync(const GetBackendRequestT& request, const GetBackendResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetBackend, request, handler, context);
}
/**
* Gets the details for a backend API.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackendAPIOutcome GetBackendAPI(const Model::GetBackendAPIRequest& request) const;
/**
* A Callable wrapper for GetBackendAPI that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackendAPIOutcomeCallable GetBackendAPICallable(const GetBackendAPIRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetBackendAPI, request);
}
/**
* An Async wrapper for GetBackendAPI that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackendAPIAsync(const GetBackendAPIRequestT& request, const GetBackendAPIResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetBackendAPI, request, handler, context);
}
/**
* Gets a model introspection schema for an existing backend API
* resource.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackendAPIModelsOutcome GetBackendAPIModels(const Model::GetBackendAPIModelsRequest& request) const;
/**
* A Callable wrapper for GetBackendAPIModels that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackendAPIModelsOutcomeCallable GetBackendAPIModelsCallable(const GetBackendAPIModelsRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetBackendAPIModels, request);
}
/**
* An Async wrapper for GetBackendAPIModels that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackendAPIModelsAsync(const GetBackendAPIModelsRequestT& request, const GetBackendAPIModelsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetBackendAPIModels, request, handler, context);
}
/**
* Gets a backend auth details.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackendAuthOutcome GetBackendAuth(const Model::GetBackendAuthRequest& request) const;
/**
* A Callable wrapper for GetBackendAuth that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackendAuthOutcomeCallable GetBackendAuthCallable(const GetBackendAuthRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetBackendAuth, request);
}
/**
* An Async wrapper for GetBackendAuth that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackendAuthAsync(const GetBackendAuthRequestT& request, const GetBackendAuthResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetBackendAuth, request, handler, context);
}
/**
* Returns information about a specific job.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackendJobOutcome GetBackendJob(const Model::GetBackendJobRequest& request) const;
/**
* A Callable wrapper for GetBackendJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackendJobOutcomeCallable GetBackendJobCallable(const GetBackendJobRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetBackendJob, request);
}
/**
* An Async wrapper for GetBackendJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackendJobAsync(const GetBackendJobRequestT& request, const GetBackendJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetBackendJob, request, handler, context);
}
/**
* Gets details for a backend storage resource.
See Also:
AWS
* API Reference
*/
virtual Model::GetBackendStorageOutcome GetBackendStorage(const Model::GetBackendStorageRequest& request) const;
/**
* A Callable wrapper for GetBackendStorage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetBackendStorageOutcomeCallable GetBackendStorageCallable(const GetBackendStorageRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetBackendStorage, request);
}
/**
* An Async wrapper for GetBackendStorage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetBackendStorageAsync(const GetBackendStorageRequestT& request, const GetBackendStorageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetBackendStorage, request, handler, context);
}
/**
* Gets the challenge token based on the given appId and
* sessionId.
See Also:
AWS
* API Reference
*/
virtual Model::GetTokenOutcome GetToken(const Model::GetTokenRequest& request) const;
/**
* A Callable wrapper for GetToken that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::GetTokenOutcomeCallable GetTokenCallable(const GetTokenRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::GetToken, request);
}
/**
* An Async wrapper for GetToken that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void GetTokenAsync(const GetTokenRequestT& request, const GetTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::GetToken, request, handler, context);
}
/**
* Imports an existing backend authentication resource.
See Also:
* AWS
* API Reference
*/
virtual Model::ImportBackendAuthOutcome ImportBackendAuth(const Model::ImportBackendAuthRequest& request) const;
/**
* A Callable wrapper for ImportBackendAuth that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ImportBackendAuthOutcomeCallable ImportBackendAuthCallable(const ImportBackendAuthRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::ImportBackendAuth, request);
}
/**
* An Async wrapper for ImportBackendAuth that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ImportBackendAuthAsync(const ImportBackendAuthRequestT& request, const ImportBackendAuthResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::ImportBackendAuth, request, handler, context);
}
/**
* Imports an existing backend storage resource.
See Also:
AWS
* API Reference
*/
virtual Model::ImportBackendStorageOutcome ImportBackendStorage(const Model::ImportBackendStorageRequest& request) const;
/**
* A Callable wrapper for ImportBackendStorage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ImportBackendStorageOutcomeCallable ImportBackendStorageCallable(const ImportBackendStorageRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::ImportBackendStorage, request);
}
/**
* An Async wrapper for ImportBackendStorage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ImportBackendStorageAsync(const ImportBackendStorageRequestT& request, const ImportBackendStorageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::ImportBackendStorage, request, handler, context);
}
/**
* Lists the jobs for the backend of an Amplify app.
See Also:
* AWS
* API Reference
*/
virtual Model::ListBackendJobsOutcome ListBackendJobs(const Model::ListBackendJobsRequest& request) const;
/**
* A Callable wrapper for ListBackendJobs that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListBackendJobsOutcomeCallable ListBackendJobsCallable(const ListBackendJobsRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::ListBackendJobs, request);
}
/**
* An Async wrapper for ListBackendJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListBackendJobsAsync(const ListBackendJobsRequestT& request, const ListBackendJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::ListBackendJobs, request, handler, context);
}
/**
* The list of S3 buckets in your account.
See Also:
AWS
* API Reference
*/
virtual Model::ListS3BucketsOutcome ListS3Buckets(const Model::ListS3BucketsRequest& request) const;
/**
* A Callable wrapper for ListS3Buckets that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::ListS3BucketsOutcomeCallable ListS3BucketsCallable(const ListS3BucketsRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::ListS3Buckets, request);
}
/**
* An Async wrapper for ListS3Buckets that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void ListS3BucketsAsync(const ListS3BucketsRequestT& request, const ListS3BucketsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::ListS3Buckets, request, handler, context);
}
/**
* Removes all backend environments from your Amplify project.
See
* Also:
AWS
* API Reference
*/
virtual Model::RemoveAllBackendsOutcome RemoveAllBackends(const Model::RemoveAllBackendsRequest& request) const;
/**
* A Callable wrapper for RemoveAllBackends that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::RemoveAllBackendsOutcomeCallable RemoveAllBackendsCallable(const RemoveAllBackendsRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::RemoveAllBackends, request);
}
/**
* An Async wrapper for RemoveAllBackends that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void RemoveAllBackendsAsync(const RemoveAllBackendsRequestT& request, const RemoveAllBackendsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::RemoveAllBackends, request, handler, context);
}
/**
* Removes the AWS resources required to access the Amplify Admin
* UI.
See Also:
AWS
* API Reference
*/
virtual Model::RemoveBackendConfigOutcome RemoveBackendConfig(const Model::RemoveBackendConfigRequest& request) const;
/**
* A Callable wrapper for RemoveBackendConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::RemoveBackendConfigOutcomeCallable RemoveBackendConfigCallable(const RemoveBackendConfigRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::RemoveBackendConfig, request);
}
/**
* An Async wrapper for RemoveBackendConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void RemoveBackendConfigAsync(const RemoveBackendConfigRequestT& request, const RemoveBackendConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::RemoveBackendConfig, request, handler, context);
}
/**
* Updates an existing backend API resource.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateBackendAPIOutcome UpdateBackendAPI(const Model::UpdateBackendAPIRequest& request) const;
/**
* A Callable wrapper for UpdateBackendAPI that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateBackendAPIOutcomeCallable UpdateBackendAPICallable(const UpdateBackendAPIRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::UpdateBackendAPI, request);
}
/**
* An Async wrapper for UpdateBackendAPI that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateBackendAPIAsync(const UpdateBackendAPIRequestT& request, const UpdateBackendAPIResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::UpdateBackendAPI, request, handler, context);
}
/**
* Updates an existing backend authentication resource.
See Also:
* AWS
* API Reference
*/
virtual Model::UpdateBackendAuthOutcome UpdateBackendAuth(const Model::UpdateBackendAuthRequest& request) const;
/**
* A Callable wrapper for UpdateBackendAuth that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateBackendAuthOutcomeCallable UpdateBackendAuthCallable(const UpdateBackendAuthRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::UpdateBackendAuth, request);
}
/**
* An Async wrapper for UpdateBackendAuth that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateBackendAuthAsync(const UpdateBackendAuthRequestT& request, const UpdateBackendAuthResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::UpdateBackendAuth, request, handler, context);
}
/**
* Updates the AWS resources required to access the Amplify Admin
* UI.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateBackendConfigOutcome UpdateBackendConfig(const Model::UpdateBackendConfigRequest& request) const;
/**
* A Callable wrapper for UpdateBackendConfig that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateBackendConfigOutcomeCallable UpdateBackendConfigCallable(const UpdateBackendConfigRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::UpdateBackendConfig, request);
}
/**
* An Async wrapper for UpdateBackendConfig that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateBackendConfigAsync(const UpdateBackendConfigRequestT& request, const UpdateBackendConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::UpdateBackendConfig, request, handler, context);
}
/**
* Updates a specific job.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateBackendJobOutcome UpdateBackendJob(const Model::UpdateBackendJobRequest& request) const;
/**
* A Callable wrapper for UpdateBackendJob that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateBackendJobOutcomeCallable UpdateBackendJobCallable(const UpdateBackendJobRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::UpdateBackendJob, request);
}
/**
* An Async wrapper for UpdateBackendJob that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateBackendJobAsync(const UpdateBackendJobRequestT& request, const UpdateBackendJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::UpdateBackendJob, request, handler, context);
}
/**
* Updates an existing backend storage resource.
See Also:
AWS
* API Reference
*/
virtual Model::UpdateBackendStorageOutcome UpdateBackendStorage(const Model::UpdateBackendStorageRequest& request) const;
/**
* A Callable wrapper for UpdateBackendStorage that returns a future to the operation so that it can be executed in parallel to other requests.
*/
template
Model::UpdateBackendStorageOutcomeCallable UpdateBackendStorageCallable(const UpdateBackendStorageRequestT& request) const
{
return SubmitCallable(&AmplifyBackendClient::UpdateBackendStorage, request);
}
/**
* An Async wrapper for UpdateBackendStorage that queues the request into a thread executor and triggers associated callback when operation has finished.
*/
template
void UpdateBackendStorageAsync(const UpdateBackendStorageRequestT& request, const UpdateBackendStorageResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
{
return SubmitAsync(&AmplifyBackendClient::UpdateBackendStorage, request, handler, context);
}
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods;
void init(const AmplifyBackendClientConfiguration& clientConfiguration);
AmplifyBackendClientConfiguration m_clientConfiguration;
std::shared_ptr m_executor;
std::shared_ptr m_endpointProvider;
};
} // namespace AmplifyBackend
} // namespace Aws