Codecatalyst

This page documents function available when using the Codecatalyst module, created with @service Codecatalyst.

Index

Documentation

Main.Codecatalyst.create_access_tokenMethod
create_access_token(name)
create_access_token(name, params::Dict{String,<:Any})

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.

Arguments

  • name: The friendly name of the personal access token.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "expiresTime": The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
source
Main.Codecatalyst.create_dev_environmentMethod
create_dev_environment(instance_type, persistent_storage, project_name, space_name)
create_dev_environment(instance_type, persistent_storage, project_name, space_name, params::Dict{String,<:Any})

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.

Arguments

  • instance_type: The Amazon EC2 instace type to use for the Dev Environment.
  • persistent_storage: Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "alias": The user-defined alias for a Dev Environment.
  • "clientToken": A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
  • "ides": Information about the integrated development environment (IDE) configured for a Dev Environment. An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.
  • "inactivityTimeoutMinutes": The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
  • "repositories": The source repository that contains the branch to clone into the Dev Environment.
  • "vpcConnectionName": The name of the connection that will be used to connect to Amazon VPC, if any.
source
Main.Codecatalyst.create_projectMethod
create_project(display_name, space_name)
create_project(display_name, space_name, params::Dict{String,<:Any})

Creates a project in a specified space.

Arguments

  • display_name: The friendly name of the project that will be displayed to users.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "description": The description of the project. This description will be displayed to all users of the project. We recommend providing a brief description of the project and its intended purpose.
source
Main.Codecatalyst.create_source_repositoryMethod
create_source_repository(name, project_name, space_name)
create_source_repository(name, project_name, space_name, params::Dict{String,<:Any})

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.

Arguments

  • name: The name of the source repository. For more information about name requirements, see Quotas for source repositories.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "description": The description of the source repository.
source
Main.Codecatalyst.create_source_repository_branchMethod
create_source_repository_branch(name, project_name, source_repository_name, space_name)
create_source_repository_branch(name, project_name, source_repository_name, space_name, params::Dict{String,<:Any})

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.

Arguments

  • name: The name for the branch you're creating.
  • project_name: The name of the project in the space.
  • source_repository_name: The name of the repository where you want to create a branch.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "headCommitId": The commit ID in an existing branch from which you want to create the new branch.
source
Main.Codecatalyst.delete_access_tokenMethod
delete_access_token(id)
delete_access_token(id, params::Dict{String,<:Any})

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

Arguments

  • id: The ID of the personal access token to delete. You can find the IDs of all PATs associated with your Amazon Web Services Builder ID in a space by calling ListAccessTokens.
source
Main.Codecatalyst.delete_dev_environmentMethod
delete_dev_environment(id, project_name, space_name)
delete_dev_environment(id, project_name, space_name, params::Dict{String,<:Any})

Deletes a Dev Environment.

Arguments

  • id: The system-generated unique ID of the Dev Environment you want to delete. To retrieve a list of Dev Environment IDs, use ListDevEnvironments.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.delete_projectMethod
delete_project(name, space_name)
delete_project(name, space_name, params::Dict{String,<:Any})

Deletes a project in a space.

Arguments

  • name: The name of the project in the space. To retrieve a list of project names, use ListProjects.
  • space_name: The name of the space.
source
Main.Codecatalyst.delete_source_repositoryMethod
delete_source_repository(name, project_name, space_name)
delete_source_repository(name, project_name, space_name, params::Dict{String,<:Any})

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.

Arguments

  • name: The name of the source repository.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.delete_spaceMethod
delete_space(name)
delete_space(name, params::Dict{String,<:Any})

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.

Arguments

  • name: The name of the space. To retrieve a list of space names, use ListSpaces.
source
Main.Codecatalyst.get_dev_environmentMethod
get_dev_environment(id, project_name, space_name)
get_dev_environment(id, project_name, space_name, params::Dict{String,<:Any})

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

Arguments

  • id: The system-generated unique ID of the Dev Environment for which you want to view information. To retrieve a list of Dev Environment IDs, use ListDevEnvironments.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.get_projectMethod
get_project(name, space_name)
get_project(name, space_name, params::Dict{String,<:Any})

Returns information about a project.

Arguments

  • name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.get_source_repositoryMethod
get_source_repository(name, project_name, space_name)
get_source_repository(name, project_name, space_name, params::Dict{String,<:Any})

Returns information about a source repository.

Arguments

  • name: The name of the source repository.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.get_source_repository_clone_urlsMethod
get_source_repository_clone_urls(project_name, source_repository_name, space_name)
get_source_repository_clone_urls(project_name, source_repository_name, space_name, params::Dict{String,<:Any})

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

Arguments

  • project_name: The name of the project in the space.
  • source_repository_name: The name of the source repository.
  • space_name: The name of the space.
source
Main.Codecatalyst.get_spaceMethod
get_space(name)
get_space(name, params::Dict{String,<:Any})

Returns information about an space.

Arguments

  • name: The name of the space.
source
Main.Codecatalyst.get_subscriptionMethod
get_subscription(space_name)
get_subscription(space_name, params::Dict{String,<:Any})

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

Arguments

  • space_name: The name of the space.
source
Main.Codecatalyst.get_user_detailsMethod
get_user_details()
get_user_details(params::Dict{String,<:Any})

Returns information about a user.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "id": The system-generated unique ID of the user.
  • "userName": The name of the user as displayed in Amazon CodeCatalyst.
source
Main.Codecatalyst.get_workflowMethod
get_workflow(id, project_name, space_name)
get_workflow(id, project_name, space_name, params::Dict{String,<:Any})

Returns information about a workflow.

Arguments

  • id: The ID of the workflow. To rerieve a list of workflow IDs, use ListWorkflows.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.get_workflow_runMethod
get_workflow_run(id, project_name, space_name)
get_workflow_run(id, project_name, space_name, params::Dict{String,<:Any})

Returns information about a specified run of a workflow.

Arguments

  • id: The ID of the workflow run. To retrieve a list of workflow run IDs, use ListWorkflowRuns.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.list_access_tokensMethod
list_access_tokens()
list_access_tokens(params::Dict{String,<:Any})

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.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_dev_environment_sessionsMethod
list_dev_environment_sessions(dev_environment_id, project_name, space_name)
list_dev_environment_sessions(dev_environment_id, project_name, space_name, params::Dict{String,<:Any})

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

Arguments

  • dev_environment_id: The system-generated unique ID of the Dev Environment.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_dev_environmentsMethod
list_dev_environments(space_name)
list_dev_environments(space_name, params::Dict{String,<:Any})

Retrieves a list of Dev Environments in a project.

Arguments

  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "filters": Information about filters to apply to narrow the results returned in the list.
  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
  • "projectName": The name of the project in the space.
source
Main.Codecatalyst.list_event_logsMethod
list_event_logs(end_time, space_name, start_time)
list_event_logs(end_time, space_name, start_time, params::Dict{String,<:Any})

Retrieves a list of events that occurred during a specific time in a space. You can use these events to audit user and system activity in a space. For more information, see Monitoring in the Amazon CodeCatalyst User Guide. ListEventLogs guarantees events for the last 30 days in a given space. You can also view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the CloudTrail console by viewing Event history, or by creating a trail to create and maintain a record of events that extends past 90 days. For more information, see Working with CloudTrail Event History and Working with CloudTrail trails.

Arguments

  • end_time: The time after which you do not want any events retrieved, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
  • space_name: The name of the space.
  • start_time: The date and time when you want to start retrieving events, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "eventName": The name of the event.
  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_projectsMethod
list_projects(space_name)
list_projects(space_name, params::Dict{String,<:Any})

Retrieves a list of projects.

Arguments

  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "filters": Information about filters to apply to narrow the results returned in the list.
  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_source_repositoriesMethod
list_source_repositories(project_name, space_name)
list_source_repositories(project_name, space_name, params::Dict{String,<:Any})

Retrieves a list of source repositories in a project.

Arguments

  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_source_repository_branchesMethod
list_source_repository_branches(project_name, source_repository_name, space_name)
list_source_repository_branches(project_name, source_repository_name, space_name, params::Dict{String,<:Any})

Retrieves a list of branches in a specified source repository.

Arguments

  • project_name: The name of the project in the space.
  • source_repository_name: The name of the source repository.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_spacesMethod
list_spaces()
list_spaces(params::Dict{String,<:Any})

Retrieves a list of spaces.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
source
Main.Codecatalyst.list_workflow_runsMethod
list_workflow_runs(project_name, space_name)
list_workflow_runs(project_name, space_name, params::Dict{String,<:Any})

Retrieves a list of workflow runs of a specified workflow.

Arguments

  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
  • "sortBy": Information used to sort the items in the returned list.
  • "workflowId": The ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows.
source
Main.Codecatalyst.list_workflowsMethod
list_workflows(project_name, space_name)
list_workflows(project_name, space_name, params::Dict{String,<:Any})

Retrieves a list of workflows in a specified project.

Arguments

  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.
  • "nextToken": A token returned from a call to this API to indicate the next batch of results to return, if any.
  • "sortBy": Information used to sort the items in the returned list.
source
Main.Codecatalyst.start_dev_environmentMethod
start_dev_environment(id, project_name, space_name)
start_dev_environment(id, project_name, space_name, params::Dict{String,<:Any})

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

Arguments

  • id: The system-generated unique ID of the Dev Environment.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "ides": Information about the integrated development environment (IDE) configured for a Dev Environment.
  • "inactivityTimeoutMinutes": The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
  • "instanceType": The Amazon EC2 instace type to use for the Dev Environment.
source
Main.Codecatalyst.start_dev_environment_sessionMethod
start_dev_environment_session(id, project_name, session_configuration, space_name)
start_dev_environment_session(id, project_name, session_configuration, space_name, params::Dict{String,<:Any})

Starts a session for a specified Dev Environment.

Arguments

  • id: The system-generated unique ID of the Dev Environment.
  • project_name: The name of the project in the space.
  • session_configuration:
  • space_name: The name of the space.
source
Main.Codecatalyst.start_workflow_runMethod
start_workflow_run(project_name, space_name, workflow_id)
start_workflow_run(project_name, space_name, workflow_id, params::Dict{String,<:Any})

Begins a run of a specified workflow.

Arguments

  • project_name: The name of the project in the space.
  • space_name: The name of the space.
  • workflow_id: The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "clientToken": A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
source
Main.Codecatalyst.stop_dev_environmentMethod
stop_dev_environment(id, project_name, space_name)
stop_dev_environment(id, project_name, space_name, params::Dict{String,<:Any})

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

Arguments

  • id: The system-generated unique ID of the Dev Environment.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.
source
Main.Codecatalyst.stop_dev_environment_sessionMethod
stop_dev_environment_session(id, project_name, session_id, space_name)
stop_dev_environment_session(id, project_name, session_id, space_name, params::Dict{String,<:Any})

Stops a session for a specified Dev Environment.

Arguments

  • id: The system-generated unique ID of the Dev Environment. To obtain this ID, use ListDevEnvironments.
  • project_name: The name of the project in the space.
  • session_id: The system-generated unique ID of the Dev Environment session. This ID is returned by StartDevEnvironmentSession.
  • space_name: The name of the space.
source
Main.Codecatalyst.update_dev_environmentMethod
update_dev_environment(id, project_name, space_name)
update_dev_environment(id, project_name, space_name, params::Dict{String,<:Any})

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

Arguments

  • id: The system-generated unique ID of the Dev Environment.
  • project_name: The name of the project in the space.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "alias": The user-specified alias for the Dev Environment. Changing this value will not cause a restart.
  • "clientToken": A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
  • "ides": Information about the integrated development environment (IDE) configured for a Dev Environment.
  • "inactivityTimeoutMinutes": The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running. Changing this value will cause a restart of the Dev Environment if it is running.
  • "instanceType": The Amazon EC2 instace type to use for the Dev Environment. Changing this value will cause a restart of the Dev Environment if it is running.
source
Main.Codecatalyst.update_projectMethod
update_project(name, space_name)
update_project(name, space_name, params::Dict{String,<:Any})

Changes one or more values for a project.

Arguments

  • name: The name of the project.
  • space_name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "description": The description of the project.
source
Main.Codecatalyst.update_spaceMethod
update_space(name)
update_space(name, params::Dict{String,<:Any})

Changes one or more values for a space.

Arguments

  • name: The name of the space.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "description": The description of the space.
source
Main.Codecatalyst.verify_sessionMethod
verify_session()
verify_session(params::Dict{String,<:Any})

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.

source