Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CodeCatalyst

import { CodeCatalyst } from "https://aws-api.deno.dev/v0.4/services/codecatalyst.ts?docs=full";
class CodeCatalyst {
constructor(apiFactory: client.ApiFactory);
async createAccessToken(params: CreateAccessTokenRequest, opts?: client.RequestOptions): Promise<CreateAccessTokenResponse>;
async createDevEnvironment(params: CreateDevEnvironmentRequest, opts?: client.RequestOptions): Promise<CreateDevEnvironmentResponse>;
async createProject(params: CreateProjectRequest, opts?: client.RequestOptions): Promise<CreateProjectResponse>;
async createSourceRepositoryBranch(params: CreateSourceRepositoryBranchRequest, opts?: client.RequestOptions): Promise<CreateSourceRepositoryBranchResponse>;
async deleteAccessToken(params: DeleteAccessTokenRequest, opts?: client.RequestOptions): Promise<void>;
async deleteDevEnvironment(params: DeleteDevEnvironmentRequest, opts?: client.RequestOptions): Promise<DeleteDevEnvironmentResponse>;
async getDevEnvironment(params: GetDevEnvironmentRequest, opts?: client.RequestOptions): Promise<GetDevEnvironmentResponse>;
async getProject(params: GetProjectRequest, opts?: client.RequestOptions): Promise<GetProjectResponse>;
async getSourceRepositoryCloneUrls(params: GetSourceRepositoryCloneUrlsRequest, opts?: client.RequestOptions): Promise<GetSourceRepositoryCloneUrlsResponse>;
async getSpace(params: GetSpaceRequest, opts?: client.RequestOptions): Promise<GetSpaceResponse>;
async getSubscription(params: GetSubscriptionRequest, opts?: client.RequestOptions): Promise<GetSubscriptionResponse>;
async getUserDetails(params?: GetUserDetailsRequest, opts?: client.RequestOptions): Promise<GetUserDetailsResponse>;
async listAccessTokens(params?: ListAccessTokensRequest, opts?: client.RequestOptions): Promise<ListAccessTokensResponse>;
async listDevEnvironments(params: ListDevEnvironmentsRequest, opts?: client.RequestOptions): Promise<ListDevEnvironmentsResponse>;
async listEventLogs(params: ListEventLogsRequest, opts?: client.RequestOptions): Promise<ListEventLogsResponse>;
async listProjects(params: ListProjectsRequest, opts?: client.RequestOptions): Promise<ListProjectsResponse>;
async listSourceRepositories(params: ListSourceRepositoriesRequest, opts?: client.RequestOptions): Promise<ListSourceRepositoriesResponse>;
async listSourceRepositoryBranches(params: ListSourceRepositoryBranchesRequest, opts?: client.RequestOptions): Promise<ListSourceRepositoryBranchesResponse>;
async listSpaces(params?: ListSpacesRequest, opts?: client.RequestOptions): Promise<ListSpacesResponse>;
async startDevEnvironment(params: StartDevEnvironmentRequest, opts?: client.RequestOptions): Promise<StartDevEnvironmentResponse>;
async startDevEnvironmentSession(params: StartDevEnvironmentSessionRequest, opts?: client.RequestOptions): Promise<StartDevEnvironmentSessionResponse>;
async stopDevEnvironment(params: StopDevEnvironmentRequest, opts?: client.RequestOptions): Promise<StopDevEnvironmentResponse>;
async updateDevEnvironment(params: UpdateDevEnvironmentRequest, opts?: client.RequestOptions): Promise<UpdateDevEnvironmentResponse>;
async verifySession(opts?: client.RequestOptions): Promise<VerifySessionResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new CodeCatalyst(apiFactory: client.ApiFactory)
[src]

§Methods

§

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 account. You use PATs to access Amazon CodeCatalyst resources such as source repositories from third-party applications like Git and integrated development environments (IDEs). For more information, see Managing personal access tokens in Amazon CodeCatalyst.

§

Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage.

§

Creates a project in a specified space.

§

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

Note: 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.

§
deleteAccessToken(params: DeleteAccessTokenRequest, opts?: client.RequestOptions): Promise<void>
[src]

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

§

Deletes a Dev Environment.

§

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

§

Returns information about a project.

§

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

§
getSpace(params: GetSpaceRequest, opts?: client.RequestOptions): Promise<GetSpaceResponse>
[src]

Returns information about an space.

§

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

§

Returns information about a user.

§

Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.

§

Retrives a list of Dev Environments in a project.

§

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.

§

Retrieves a list of projects.

§

Retrieves a list of source repositories in a project.

§

Retrieves a list of branches in a specified source repository.

§
listSpaces(params?: ListSpacesRequest, opts?: client.RequestOptions): Promise<ListSpacesResponse>
[src]

Retrieves a list of spaces.

§

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

§

Starts a session for a specified Dev Environment.

§

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

§

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

§
verifySession(opts?: client.RequestOptions): Promise<VerifySessionResponse>
[src]

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.

§Static Properties