/** * 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 CodeCatalyst { /** *

Welcome to the Amazon CodeCatalyst API reference. This reference provides * descriptions of operations and data types for Amazon CodeCatalyst. You can use * the Amazon CodeCatalyst API to work with the following objects.

Spaces, * by calling the following:

  • DeleteSpace, which deletes a * space.

  • GetSpace, which returns information about a * space.

  • GetSubscription, which returns information * about the Amazon Web Services account used for billing purposes and the billing * plan for the space.

  • ListSpaces, which retrieves a list * of spaces.

  • UpdateSpace, which hanges one or more * values for a space.

Projects, by calling the following:

*
  • CreateProject which creates a project in a specified * space.

  • GetProject, which returns information about a * project.

  • ListProjects, which retrieves a list of * projects in a space.

Users, by calling the following:

*
  • GetUserDetails, which returns information about a user in * Amazon CodeCatalyst.

Source repositories, by calling the * following:

Dev Environments and the Amazon Web * Services Toolkits, by calling the following:

Security, activity, and resource management in * Amazon CodeCatalyst, by calling the following:

  • * CreateAccessToken, which creates a personal access token (PAT) for the * current user.

  • DeleteAccessToken, which deletes a * specified personal access token (PAT).

  • * ListAccessTokens, which lists all personal access tokens (PATs) * associated with a user.

  • ListEventLogs, which retrieves * a list of events that occurred during a specified time period in a space.

    *
  • VerifySession, which verifies whether the calling user has * a valid Amazon CodeCatalyst login and session.

If you * are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must * configure your computer to work with Amazon CodeCatalyst and single sign-on * (SSO). For more information, see Setting * up to use the CLI with Amazon CodeCatalyst and the SSO documentation for * your SDK.

*/ class AWS_CODECATALYST_API CodeCatalystClient : 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 CodeCatalystClientConfiguration ClientConfigurationType; typedef CodeCatalystEndpointProvider EndpointProviderType; /** * Initializes client to use BearerTokenAuthSignerProvider, with default http client factory, and optional client config. */ CodeCatalystClient(const Aws::Auth::BearerTokenAuthSignerProvider& bearerTokenProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::CodeCatalyst::CodeCatalystClientConfiguration& clientConfiguration = Aws::CodeCatalyst::CodeCatalystClientConfiguration()); /* Legacy constructors due deprecation */ /** * Initializes client to use BearerTokenAuthSignerProvider, with default http client factory, and optional client config. */ CodeCatalystClient(const Aws::Auth::BearerTokenAuthSignerProvider& bearerTokenProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~CodeCatalystClient(); /** *

Creates a personal access token (PAT) for the current user. A personal access * token (PAT) is similar to a password. It is associated with your user identity * for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to * access CodeCatalyst from resources that include integrated development * environments (IDEs) and Git-based source repositories. PATs represent you in * Amazon CodeCatalyst and you can manage them in your user settings.For more * information, see Managing * personal access tokens in Amazon CodeCatalyst.

See Also:

AWS * API Reference

*/ virtual Model::CreateAccessTokenOutcome CreateAccessToken(const Model::CreateAccessTokenRequest& request) const; /** * A Callable wrapper for CreateAccessToken that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateAccessTokenOutcomeCallable CreateAccessTokenCallable(const CreateAccessTokenRequestT& request) const { return SubmitCallable(&CodeCatalystClient::CreateAccessToken, request); } /** * An Async wrapper for CreateAccessToken that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateAccessTokenAsync(const CreateAccessTokenRequestT& request, const CreateAccessTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::CreateAccessToken, request, handler, context); } /** *

Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development * environment that you can use to quickly work on the code stored in the source * repositories of your project.

When created in the Amazon * CodeCatalyst console, by default a Dev Environment is configured to have a 2 * core processor, 4GB of RAM, and 16GB of persistent storage. None of these * defaults apply to a Dev Environment created programmatically.

*

See Also:

AWS * API Reference

*/ virtual Model::CreateDevEnvironmentOutcome CreateDevEnvironment(const Model::CreateDevEnvironmentRequest& request) const; /** * A Callable wrapper for CreateDevEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateDevEnvironmentOutcomeCallable CreateDevEnvironmentCallable(const CreateDevEnvironmentRequestT& request) const { return SubmitCallable(&CodeCatalystClient::CreateDevEnvironment, request); } /** * An Async wrapper for CreateDevEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateDevEnvironmentAsync(const CreateDevEnvironmentRequestT& request, const CreateDevEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::CreateDevEnvironment, request, handler, context); } /** *

Creates a project in a specified space.

See Also:

AWS * API Reference

*/ virtual Model::CreateProjectOutcome CreateProject(const Model::CreateProjectRequest& request) const; /** * A Callable wrapper for CreateProject that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateProjectOutcomeCallable CreateProjectCallable(const CreateProjectRequestT& request) const { return SubmitCallable(&CodeCatalystClient::CreateProject, request); } /** * An Async wrapper for CreateProject that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateProjectAsync(const CreateProjectRequestT& request, const CreateProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::CreateProject, request, handler, context); } /** *

Creates an empty Git-based source repository in a specified project. The * repository is created with an initial empty commit with a default branch named * main.

See Also:

AWS * API Reference

*/ virtual Model::CreateSourceRepositoryOutcome CreateSourceRepository(const Model::CreateSourceRepositoryRequest& request) const; /** * A Callable wrapper for CreateSourceRepository that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateSourceRepositoryOutcomeCallable CreateSourceRepositoryCallable(const CreateSourceRepositoryRequestT& request) const { return SubmitCallable(&CodeCatalystClient::CreateSourceRepository, request); } /** * An Async wrapper for CreateSourceRepository that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateSourceRepositoryAsync(const CreateSourceRepositoryRequestT& request, const CreateSourceRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::CreateSourceRepository, request, handler, context); } /** *

Creates a branch in a specified source repository in Amazon CodeCatalyst. *

This API only creates a branch in a source repository hosted in * Amazon CodeCatalyst. You cannot use this API to create a branch in a linked * repository.

See Also:

AWS * API Reference

*/ virtual Model::CreateSourceRepositoryBranchOutcome CreateSourceRepositoryBranch(const Model::CreateSourceRepositoryBranchRequest& request) const; /** * A Callable wrapper for CreateSourceRepositoryBranch that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateSourceRepositoryBranchOutcomeCallable CreateSourceRepositoryBranchCallable(const CreateSourceRepositoryBranchRequestT& request) const { return SubmitCallable(&CodeCatalystClient::CreateSourceRepositoryBranch, request); } /** * An Async wrapper for CreateSourceRepositoryBranch that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateSourceRepositoryBranchAsync(const CreateSourceRepositoryBranchRequestT& request, const CreateSourceRepositoryBranchResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::CreateSourceRepositoryBranch, request, handler, context); } /** *

Deletes a specified personal access token (PAT). A personal access token can * only be deleted by the user who created it.

See Also:

AWS * API Reference

*/ virtual Model::DeleteAccessTokenOutcome DeleteAccessToken(const Model::DeleteAccessTokenRequest& request) const; /** * A Callable wrapper for DeleteAccessToken that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteAccessTokenOutcomeCallable DeleteAccessTokenCallable(const DeleteAccessTokenRequestT& request) const { return SubmitCallable(&CodeCatalystClient::DeleteAccessToken, request); } /** * An Async wrapper for DeleteAccessToken that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteAccessTokenAsync(const DeleteAccessTokenRequestT& request, const DeleteAccessTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::DeleteAccessToken, request, handler, context); } /** *

Deletes a Dev Environment.

See Also:

AWS * API Reference

*/ virtual Model::DeleteDevEnvironmentOutcome DeleteDevEnvironment(const Model::DeleteDevEnvironmentRequest& request) const; /** * A Callable wrapper for DeleteDevEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteDevEnvironmentOutcomeCallable DeleteDevEnvironmentCallable(const DeleteDevEnvironmentRequestT& request) const { return SubmitCallable(&CodeCatalystClient::DeleteDevEnvironment, request); } /** * An Async wrapper for DeleteDevEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteDevEnvironmentAsync(const DeleteDevEnvironmentRequestT& request, const DeleteDevEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::DeleteDevEnvironment, request, handler, context); } /** *

Deletes a project in a space.

See Also:

AWS * API Reference

*/ virtual Model::DeleteProjectOutcome DeleteProject(const Model::DeleteProjectRequest& request) const; /** * A Callable wrapper for DeleteProject that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteProjectOutcomeCallable DeleteProjectCallable(const DeleteProjectRequestT& request) const { return SubmitCallable(&CodeCatalystClient::DeleteProject, request); } /** * An Async wrapper for DeleteProject that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteProjectAsync(const DeleteProjectRequestT& request, const DeleteProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::DeleteProject, request, handler, context); } /** *

Deletes a source repository in Amazon CodeCatalyst. You cannot use this API * to delete a linked repository. It can only be used to delete a Amazon * CodeCatalyst source repository.

See Also:

AWS * API Reference

*/ virtual Model::DeleteSourceRepositoryOutcome DeleteSourceRepository(const Model::DeleteSourceRepositoryRequest& request) const; /** * A Callable wrapper for DeleteSourceRepository that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteSourceRepositoryOutcomeCallable DeleteSourceRepositoryCallable(const DeleteSourceRepositoryRequestT& request) const { return SubmitCallable(&CodeCatalystClient::DeleteSourceRepository, request); } /** * An Async wrapper for DeleteSourceRepository that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteSourceRepositoryAsync(const DeleteSourceRepositoryRequestT& request, const DeleteSourceRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::DeleteSourceRepository, request, handler, context); } /** *

Deletes a space.

Deleting a space cannot be undone. * Additionally, since space names must be unique across Amazon CodeCatalyst, you * cannot reuse names of deleted spaces.

See Also:

AWS * API Reference

*/ virtual Model::DeleteSpaceOutcome DeleteSpace(const Model::DeleteSpaceRequest& request) const; /** * A Callable wrapper for DeleteSpace that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteSpaceOutcomeCallable DeleteSpaceCallable(const DeleteSpaceRequestT& request) const { return SubmitCallable(&CodeCatalystClient::DeleteSpace, request); } /** * An Async wrapper for DeleteSpace that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteSpaceAsync(const DeleteSpaceRequestT& request, const DeleteSpaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::DeleteSpace, request, handler, context); } /** *

Returns information about a Dev Environment for a source repository in a * project. Dev Environments are specific to the user who creates * them.

See Also:

AWS * API Reference

*/ virtual Model::GetDevEnvironmentOutcome GetDevEnvironment(const Model::GetDevEnvironmentRequest& request) const; /** * A Callable wrapper for GetDevEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetDevEnvironmentOutcomeCallable GetDevEnvironmentCallable(const GetDevEnvironmentRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetDevEnvironment, request); } /** * An Async wrapper for GetDevEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetDevEnvironmentAsync(const GetDevEnvironmentRequestT& request, const GetDevEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetDevEnvironment, request, handler, context); } /** *

Returns information about a project.

See Also:

AWS * API Reference

*/ virtual Model::GetProjectOutcome GetProject(const Model::GetProjectRequest& request) const; /** * A Callable wrapper for GetProject that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetProjectOutcomeCallable GetProjectCallable(const GetProjectRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetProject, request); } /** * An Async wrapper for GetProject that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetProjectAsync(const GetProjectRequestT& request, const GetProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetProject, request, handler, context); } /** *

Returns information about a source repository.

See Also:

AWS * API Reference

*/ virtual Model::GetSourceRepositoryOutcome GetSourceRepository(const Model::GetSourceRepositoryRequest& request) const; /** * A Callable wrapper for GetSourceRepository that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetSourceRepositoryOutcomeCallable GetSourceRepositoryCallable(const GetSourceRepositoryRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetSourceRepository, request); } /** * An Async wrapper for GetSourceRepository that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetSourceRepositoryAsync(const GetSourceRepositoryRequestT& request, const GetSourceRepositoryResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetSourceRepository, request, handler, context); } /** *

Returns information about the URLs that can be used with a Git client to * clone a source repository.

See Also:

AWS * API Reference

*/ virtual Model::GetSourceRepositoryCloneUrlsOutcome GetSourceRepositoryCloneUrls(const Model::GetSourceRepositoryCloneUrlsRequest& request) const; /** * A Callable wrapper for GetSourceRepositoryCloneUrls that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetSourceRepositoryCloneUrlsOutcomeCallable GetSourceRepositoryCloneUrlsCallable(const GetSourceRepositoryCloneUrlsRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetSourceRepositoryCloneUrls, request); } /** * An Async wrapper for GetSourceRepositoryCloneUrls that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetSourceRepositoryCloneUrlsAsync(const GetSourceRepositoryCloneUrlsRequestT& request, const GetSourceRepositoryCloneUrlsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetSourceRepositoryCloneUrls, request, handler, context); } /** *

Returns information about an space.

See Also:

AWS * API Reference

*/ virtual Model::GetSpaceOutcome GetSpace(const Model::GetSpaceRequest& request) const; /** * A Callable wrapper for GetSpace that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetSpaceOutcomeCallable GetSpaceCallable(const GetSpaceRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetSpace, request); } /** * An Async wrapper for GetSpace that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetSpaceAsync(const GetSpaceRequestT& request, const GetSpaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetSpace, request, handler, context); } /** *

Returns information about the Amazon Web Services account used for billing * purposes and the billing plan for the space.

See Also:

AWS * API Reference

*/ virtual Model::GetSubscriptionOutcome GetSubscription(const Model::GetSubscriptionRequest& request) const; /** * A Callable wrapper for GetSubscription that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetSubscriptionOutcomeCallable GetSubscriptionCallable(const GetSubscriptionRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetSubscription, request); } /** * An Async wrapper for GetSubscription that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetSubscriptionAsync(const GetSubscriptionRequestT& request, const GetSubscriptionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetSubscription, request, handler, context); } /** *

Returns information about a user.

See Also:

AWS * API Reference

*/ virtual Model::GetUserDetailsOutcome GetUserDetails(const Model::GetUserDetailsRequest& request) const; /** * A Callable wrapper for GetUserDetails that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetUserDetailsOutcomeCallable GetUserDetailsCallable(const GetUserDetailsRequestT& request) const { return SubmitCallable(&CodeCatalystClient::GetUserDetails, request); } /** * An Async wrapper for GetUserDetails that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetUserDetailsAsync(const GetUserDetailsRequestT& request, const GetUserDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::GetUserDetails, request, handler, context); } /** *

Lists all personal access tokens (PATs) associated with the user who calls * the API. You can only list PATs associated with your Amazon Web Services Builder * ID.

See Also:

AWS * API Reference

*/ virtual Model::ListAccessTokensOutcome ListAccessTokens(const Model::ListAccessTokensRequest& request) const; /** * A Callable wrapper for ListAccessTokens that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAccessTokensOutcomeCallable ListAccessTokensCallable(const ListAccessTokensRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListAccessTokens, request); } /** * An Async wrapper for ListAccessTokens that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAccessTokensAsync(const ListAccessTokensRequestT& request, const ListAccessTokensResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListAccessTokens, request, handler, context); } /** *

Retrieves a list of active sessions for a Dev Environment in a * project.

See Also:

AWS * API Reference

*/ virtual Model::ListDevEnvironmentSessionsOutcome ListDevEnvironmentSessions(const Model::ListDevEnvironmentSessionsRequest& request) const; /** * A Callable wrapper for ListDevEnvironmentSessions that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListDevEnvironmentSessionsOutcomeCallable ListDevEnvironmentSessionsCallable(const ListDevEnvironmentSessionsRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListDevEnvironmentSessions, request); } /** * An Async wrapper for ListDevEnvironmentSessions that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListDevEnvironmentSessionsAsync(const ListDevEnvironmentSessionsRequestT& request, const ListDevEnvironmentSessionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListDevEnvironmentSessions, request, handler, context); } /** *

Retrieves a list of Dev Environments in a project.

See Also:

* AWS * API Reference

*/ virtual Model::ListDevEnvironmentsOutcome ListDevEnvironments(const Model::ListDevEnvironmentsRequest& request) const; /** * A Callable wrapper for ListDevEnvironments that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListDevEnvironmentsOutcomeCallable ListDevEnvironmentsCallable(const ListDevEnvironmentsRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListDevEnvironments, request); } /** * An Async wrapper for ListDevEnvironments that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListDevEnvironmentsAsync(const ListDevEnvironmentsRequestT& request, const ListDevEnvironmentsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListDevEnvironments, request, handler, context); } /** *

Retrieves a list of events that occurred during a specified time period in a * space. You can use these events to audit user and system activity in a * space.

See Also:

AWS * API Reference

*/ virtual Model::ListEventLogsOutcome ListEventLogs(const Model::ListEventLogsRequest& request) const; /** * A Callable wrapper for ListEventLogs that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListEventLogsOutcomeCallable ListEventLogsCallable(const ListEventLogsRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListEventLogs, request); } /** * An Async wrapper for ListEventLogs that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListEventLogsAsync(const ListEventLogsRequestT& request, const ListEventLogsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListEventLogs, request, handler, context); } /** *

Retrieves a list of projects.

See Also:

AWS * API Reference

*/ virtual Model::ListProjectsOutcome ListProjects(const Model::ListProjectsRequest& request) const; /** * A Callable wrapper for ListProjects that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListProjectsOutcomeCallable ListProjectsCallable(const ListProjectsRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListProjects, request); } /** * An Async wrapper for ListProjects that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListProjectsAsync(const ListProjectsRequestT& request, const ListProjectsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListProjects, request, handler, context); } /** *

Retrieves a list of source repositories in a project.

See * Also:

AWS * API Reference

*/ virtual Model::ListSourceRepositoriesOutcome ListSourceRepositories(const Model::ListSourceRepositoriesRequest& request) const; /** * A Callable wrapper for ListSourceRepositories that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListSourceRepositoriesOutcomeCallable ListSourceRepositoriesCallable(const ListSourceRepositoriesRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListSourceRepositories, request); } /** * An Async wrapper for ListSourceRepositories that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListSourceRepositoriesAsync(const ListSourceRepositoriesRequestT& request, const ListSourceRepositoriesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListSourceRepositories, request, handler, context); } /** *

Retrieves a list of branches in a specified source repository.

See * Also:

AWS * API Reference

*/ virtual Model::ListSourceRepositoryBranchesOutcome ListSourceRepositoryBranches(const Model::ListSourceRepositoryBranchesRequest& request) const; /** * A Callable wrapper for ListSourceRepositoryBranches that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListSourceRepositoryBranchesOutcomeCallable ListSourceRepositoryBranchesCallable(const ListSourceRepositoryBranchesRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListSourceRepositoryBranches, request); } /** * An Async wrapper for ListSourceRepositoryBranches that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListSourceRepositoryBranchesAsync(const ListSourceRepositoryBranchesRequestT& request, const ListSourceRepositoryBranchesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListSourceRepositoryBranches, request, handler, context); } /** *

Retrieves a list of spaces.

See Also:

AWS * API Reference

*/ virtual Model::ListSpacesOutcome ListSpaces(const Model::ListSpacesRequest& request) const; /** * A Callable wrapper for ListSpaces that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListSpacesOutcomeCallable ListSpacesCallable(const ListSpacesRequestT& request) const { return SubmitCallable(&CodeCatalystClient::ListSpaces, request); } /** * An Async wrapper for ListSpaces that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListSpacesAsync(const ListSpacesRequestT& request, const ListSpacesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::ListSpaces, request, handler, context); } /** *

Starts a specified Dev Environment and puts it into an active state. *

See Also:

AWS * API Reference

*/ virtual Model::StartDevEnvironmentOutcome StartDevEnvironment(const Model::StartDevEnvironmentRequest& request) const; /** * A Callable wrapper for StartDevEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StartDevEnvironmentOutcomeCallable StartDevEnvironmentCallable(const StartDevEnvironmentRequestT& request) const { return SubmitCallable(&CodeCatalystClient::StartDevEnvironment, request); } /** * An Async wrapper for StartDevEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StartDevEnvironmentAsync(const StartDevEnvironmentRequestT& request, const StartDevEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::StartDevEnvironment, request, handler, context); } /** *

Starts a session for a specified Dev Environment.

See Also:

* AWS * API Reference

*/ virtual Model::StartDevEnvironmentSessionOutcome StartDevEnvironmentSession(const Model::StartDevEnvironmentSessionRequest& request) const; /** * A Callable wrapper for StartDevEnvironmentSession that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StartDevEnvironmentSessionOutcomeCallable StartDevEnvironmentSessionCallable(const StartDevEnvironmentSessionRequestT& request) const { return SubmitCallable(&CodeCatalystClient::StartDevEnvironmentSession, request); } /** * An Async wrapper for StartDevEnvironmentSession that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StartDevEnvironmentSessionAsync(const StartDevEnvironmentSessionRequestT& request, const StartDevEnvironmentSessionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::StartDevEnvironmentSession, request, handler, context); } /** *

Pauses a specified Dev Environment and places it in a non-running state. * Stopped Dev Environments do not consume compute minutes.

See * Also:

AWS * API Reference

*/ virtual Model::StopDevEnvironmentOutcome StopDevEnvironment(const Model::StopDevEnvironmentRequest& request) const; /** * A Callable wrapper for StopDevEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StopDevEnvironmentOutcomeCallable StopDevEnvironmentCallable(const StopDevEnvironmentRequestT& request) const { return SubmitCallable(&CodeCatalystClient::StopDevEnvironment, request); } /** * An Async wrapper for StopDevEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StopDevEnvironmentAsync(const StopDevEnvironmentRequestT& request, const StopDevEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::StopDevEnvironment, request, handler, context); } /** *

Stops a session for a specified Dev Environment.

See Also:

* AWS * API Reference

*/ virtual Model::StopDevEnvironmentSessionOutcome StopDevEnvironmentSession(const Model::StopDevEnvironmentSessionRequest& request) const; /** * A Callable wrapper for StopDevEnvironmentSession that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::StopDevEnvironmentSessionOutcomeCallable StopDevEnvironmentSessionCallable(const StopDevEnvironmentSessionRequestT& request) const { return SubmitCallable(&CodeCatalystClient::StopDevEnvironmentSession, request); } /** * An Async wrapper for StopDevEnvironmentSession that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void StopDevEnvironmentSessionAsync(const StopDevEnvironmentSessionRequestT& request, const StopDevEnvironmentSessionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::StopDevEnvironmentSession, request, handler, context); } /** *

Changes one or more values for a Dev Environment. Updating certain values of * the Dev Environment will cause a restart.

See Also:

AWS * API Reference

*/ virtual Model::UpdateDevEnvironmentOutcome UpdateDevEnvironment(const Model::UpdateDevEnvironmentRequest& request) const; /** * A Callable wrapper for UpdateDevEnvironment that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateDevEnvironmentOutcomeCallable UpdateDevEnvironmentCallable(const UpdateDevEnvironmentRequestT& request) const { return SubmitCallable(&CodeCatalystClient::UpdateDevEnvironment, request); } /** * An Async wrapper for UpdateDevEnvironment that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateDevEnvironmentAsync(const UpdateDevEnvironmentRequestT& request, const UpdateDevEnvironmentResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::UpdateDevEnvironment, request, handler, context); } /** *

Changes one or more values for a project.

See Also:

AWS * API Reference

*/ virtual Model::UpdateProjectOutcome UpdateProject(const Model::UpdateProjectRequest& request) const; /** * A Callable wrapper for UpdateProject that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateProjectOutcomeCallable UpdateProjectCallable(const UpdateProjectRequestT& request) const { return SubmitCallable(&CodeCatalystClient::UpdateProject, request); } /** * An Async wrapper for UpdateProject that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateProjectAsync(const UpdateProjectRequestT& request, const UpdateProjectResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::UpdateProject, request, handler, context); } /** *

Changes one or more values for a space.

See Also:

AWS * API Reference

*/ virtual Model::UpdateSpaceOutcome UpdateSpace(const Model::UpdateSpaceRequest& request) const; /** * A Callable wrapper for UpdateSpace that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateSpaceOutcomeCallable UpdateSpaceCallable(const UpdateSpaceRequestT& request) const { return SubmitCallable(&CodeCatalystClient::UpdateSpace, request); } /** * An Async wrapper for UpdateSpace that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateSpaceAsync(const UpdateSpaceRequestT& request, const UpdateSpaceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::UpdateSpace, request, handler, context); } /** *

Verifies whether the calling user has a valid Amazon CodeCatalyst login and * session. If successful, this returns the ID of the user in Amazon * CodeCatalyst.

See Also:

AWS * API Reference

*/ virtual Model::VerifySessionOutcome VerifySession() const; /** * A Callable wrapper for VerifySession that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::VerifySessionOutcomeCallable VerifySessionCallable() const { return SubmitCallable(&CodeCatalystClient::VerifySession); } /** * An Async wrapper for VerifySession that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void VerifySessionAsync(const VerifySessionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&CodeCatalystClient::VerifySession, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const CodeCatalystClientConfiguration& clientConfiguration); CodeCatalystClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace CodeCatalyst } // namespace Aws