/*
* 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 codecatalyst-2022-09-28.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CodeCatalyst.Model;
namespace Amazon.CodeCatalyst
{
///
/// Interface for accessing 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:
///
/// -
///
/// CreateDevEnvironment, which creates a Dev Environment, where you can quickly
/// work on the code stored in the source repositories of your project.
///
///
-
///
/// DeleteDevEnvironment, which deletes a Dev Environment.
///
///
-
///
/// GetDevEnvironment, which returns information about a Dev Environment.
///
///
-
///
/// ListDevEnvironments, which retrieves a list of Dev Environments in a project.
///
///
-
///
/// ListDevEnvironmentSessions, which retrieves a list of active Dev Environment
/// sessions in a project.
///
///
-
///
/// StartDevEnvironment, which starts a specified Dev Environment and puts it
/// into an active state.
///
///
-
///
/// StartDevEnvironmentSession, which starts a session to a specified Dev Environment.
///
///
-
///
/// StopDevEnvironment, which stops a specified Dev Environment and puts it into
/// an stopped state.
///
///
-
///
/// StopDevEnvironmentSession, which stops a session for a specified Dev Environment.
///
///
-
///
/// UpdateDevEnvironment, which changes one or more values for a Dev Environment.
///
///
///
/// 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.
///
///
///
public partial interface IAmazonCodeCatalyst : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ICodeCatalystPaginatorFactory Paginators { get; }
#endif
#region CreateAccessToken
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateAccessToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAccessToken service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for CreateAccessToken Operation
Task CreateAccessTokenAsync(CreateAccessTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateDevEnvironment
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateDevEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDevEnvironment service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for CreateDevEnvironment Operation
Task CreateDevEnvironmentAsync(CreateDevEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateProject
///
/// Creates a project in a specified space.
///
/// Container for the necessary parameters to execute the CreateProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateProject service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for CreateProject Operation
Task CreateProjectAsync(CreateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSourceRepository
///
/// 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
.
///
/// Container for the necessary parameters to execute the CreateSourceRepository service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSourceRepository service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for CreateSourceRepository Operation
Task CreateSourceRepositoryAsync(CreateSourceRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateSourceRepositoryBranch
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the CreateSourceRepositoryBranch service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateSourceRepositoryBranch service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for CreateSourceRepositoryBranch Operation
Task CreateSourceRepositoryBranchAsync(CreateSourceRepositoryBranchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAccessToken
///
/// Deletes a specified personal access token (PAT). A personal access token can only
/// be deleted by the user who created it.
///
/// Container for the necessary parameters to execute the DeleteAccessToken service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAccessToken service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for DeleteAccessToken Operation
Task DeleteAccessTokenAsync(DeleteAccessTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteDevEnvironment
///
/// Deletes a Dev Environment.
///
/// Container for the necessary parameters to execute the DeleteDevEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDevEnvironment service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for DeleteDevEnvironment Operation
Task DeleteDevEnvironmentAsync(DeleteDevEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteProject
///
/// Deletes a project in a space.
///
/// Container for the necessary parameters to execute the DeleteProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteProject service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for DeleteProject Operation
Task DeleteProjectAsync(DeleteProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteSourceRepository
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteSourceRepository service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSourceRepository service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for DeleteSourceRepository Operation
Task DeleteSourceRepositoryAsync(DeleteSourceRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteSpace
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the DeleteSpace service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteSpace service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for DeleteSpace Operation
Task DeleteSpaceAsync(DeleteSpaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDevEnvironment
///
/// Returns information about a Dev Environment for a source repository in a project.
/// Dev Environments are specific to the user who creates them.
///
/// Container for the necessary parameters to execute the GetDevEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetDevEnvironment service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetDevEnvironment Operation
Task GetDevEnvironmentAsync(GetDevEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetProject
///
/// Returns information about a project.
///
/// Container for the necessary parameters to execute the GetProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetProject service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetProject Operation
Task GetProjectAsync(GetProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSourceRepository
///
/// Returns information about a source repository.
///
/// Container for the necessary parameters to execute the GetSourceRepository service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSourceRepository service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetSourceRepository Operation
Task GetSourceRepositoryAsync(GetSourceRepositoryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSourceRepositoryCloneUrls
///
/// Returns information about the URLs that can be used with a Git client to clone a source
/// repository.
///
/// Container for the necessary parameters to execute the GetSourceRepositoryCloneUrls service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSourceRepositoryCloneUrls service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetSourceRepositoryCloneUrls Operation
Task GetSourceRepositoryCloneUrlsAsync(GetSourceRepositoryCloneUrlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSpace
///
/// Returns information about an space.
///
/// Container for the necessary parameters to execute the GetSpace service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSpace service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetSpace Operation
Task GetSpaceAsync(GetSpaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSubscription
///
/// Returns information about the Amazon Web Services account used for billing purposes
/// and the billing plan for the space.
///
/// Container for the necessary parameters to execute the GetSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSubscription service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetSubscription Operation
Task GetSubscriptionAsync(GetSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetUserDetails
///
/// Returns information about a user.
///
/// Container for the necessary parameters to execute the GetUserDetails service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetUserDetails service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for GetUserDetails Operation
Task GetUserDetailsAsync(GetUserDetailsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAccessTokens
///
/// 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.
///
/// Container for the necessary parameters to execute the ListAccessTokens service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAccessTokens service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListAccessTokens Operation
Task ListAccessTokensAsync(ListAccessTokensRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDevEnvironments
///
/// Retrieves a list of Dev Environments in a project.
///
/// Container for the necessary parameters to execute the ListDevEnvironments service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevEnvironments service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListDevEnvironments Operation
Task ListDevEnvironmentsAsync(ListDevEnvironmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListDevEnvironmentSessions
///
/// Retrieves a list of active sessions for a Dev Environment in a project.
///
/// Container for the necessary parameters to execute the ListDevEnvironmentSessions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListDevEnvironmentSessions service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListDevEnvironmentSessions Operation
Task ListDevEnvironmentSessionsAsync(ListDevEnvironmentSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListEventLogs
///
/// 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.
///
/// Container for the necessary parameters to execute the ListEventLogs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEventLogs service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListEventLogs Operation
Task ListEventLogsAsync(ListEventLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListProjects
///
/// Retrieves a list of projects.
///
/// Container for the necessary parameters to execute the ListProjects service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListProjects service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListProjects Operation
Task ListProjectsAsync(ListProjectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSourceRepositories
///
/// Retrieves a list of source repositories in a project.
///
/// Container for the necessary parameters to execute the ListSourceRepositories service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSourceRepositories service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListSourceRepositories Operation
Task ListSourceRepositoriesAsync(ListSourceRepositoriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSourceRepositoryBranches
///
/// Retrieves a list of branches in a specified source repository.
///
/// Container for the necessary parameters to execute the ListSourceRepositoryBranches service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSourceRepositoryBranches service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListSourceRepositoryBranches Operation
Task ListSourceRepositoryBranchesAsync(ListSourceRepositoryBranchesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSpaces
///
/// Retrieves a list of spaces.
///
/// Container for the necessary parameters to execute the ListSpaces service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSpaces service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for ListSpaces Operation
Task ListSpacesAsync(ListSpacesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartDevEnvironment
///
/// Starts a specified Dev Environment and puts it into an active state.
///
/// Container for the necessary parameters to execute the StartDevEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartDevEnvironment service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for StartDevEnvironment Operation
Task StartDevEnvironmentAsync(StartDevEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartDevEnvironmentSession
///
/// Starts a session for a specified Dev Environment.
///
/// Container for the necessary parameters to execute the StartDevEnvironmentSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartDevEnvironmentSession service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for StartDevEnvironmentSession Operation
Task StartDevEnvironmentSessionAsync(StartDevEnvironmentSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopDevEnvironment
///
/// Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev
/// Environments do not consume compute minutes.
///
/// Container for the necessary parameters to execute the StopDevEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopDevEnvironment service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for StopDevEnvironment Operation
Task StopDevEnvironmentAsync(StopDevEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopDevEnvironmentSession
///
/// Stops a session for a specified Dev Environment.
///
/// Container for the necessary parameters to execute the StopDevEnvironmentSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopDevEnvironmentSession service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for StopDevEnvironmentSession Operation
Task StopDevEnvironmentSessionAsync(StopDevEnvironmentSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateDevEnvironment
///
/// Changes one or more values for a Dev Environment. Updating certain values of the Dev
/// Environment will cause a restart.
///
/// Container for the necessary parameters to execute the UpdateDevEnvironment service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDevEnvironment service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for UpdateDevEnvironment Operation
Task UpdateDevEnvironmentAsync(UpdateDevEnvironmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProject
///
/// Changes one or more values for a project.
///
/// Container for the necessary parameters to execute the UpdateProject service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateProject service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for UpdateProject Operation
Task UpdateProjectAsync(UpdateProjectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateSpace
///
/// Changes one or more values for a space.
///
/// Container for the necessary parameters to execute the UpdateSpace service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateSpace service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for UpdateSpace Operation
Task UpdateSpaceAsync(UpdateSpaceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region VerifySession
///
/// 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.
///
/// Container for the necessary parameters to execute the VerifySession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the VerifySession service method, as returned by CodeCatalyst.
///
/// The request was denied because you don't have sufficient access to perform this action.
/// Verify that you are a member of a role that allows this action.
///
///
/// The request was denied because the requested operation would cause a conflict with
/// the current state of a service resource associated with the request. Another user
/// might have updated the resource. Reload, make sure you have the latest data, and then
/// try again.
///
///
/// The request was denied because the specified resource was not found. Verify that the
/// spelling is correct and that you have access to the resource.
///
///
/// The request was denied because one or more resources has reached its limits for the
/// tier the space belongs to. Either reduce the number of resources, or change the tier
/// if applicable.
///
///
/// The request was denied due to request throttling.
///
///
/// The request was denied because an input failed to satisfy the constraints specified
/// by the service. Check the spelling and input requirements, and then try again.
///
/// REST API Reference for VerifySession Operation
Task VerifySessionAsync(VerifySessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}