Codecatalyst
This page documents function available when using the Codecatalyst
module, created with @service Codecatalyst
.
Index
Main.Codecatalyst.create_access_token
Main.Codecatalyst.create_dev_environment
Main.Codecatalyst.create_project
Main.Codecatalyst.create_source_repository
Main.Codecatalyst.create_source_repository_branch
Main.Codecatalyst.delete_access_token
Main.Codecatalyst.delete_dev_environment
Main.Codecatalyst.delete_project
Main.Codecatalyst.delete_source_repository
Main.Codecatalyst.delete_space
Main.Codecatalyst.get_dev_environment
Main.Codecatalyst.get_project
Main.Codecatalyst.get_source_repository
Main.Codecatalyst.get_source_repository_clone_urls
Main.Codecatalyst.get_space
Main.Codecatalyst.get_subscription
Main.Codecatalyst.get_user_details
Main.Codecatalyst.get_workflow
Main.Codecatalyst.get_workflow_run
Main.Codecatalyst.list_access_tokens
Main.Codecatalyst.list_dev_environment_sessions
Main.Codecatalyst.list_dev_environments
Main.Codecatalyst.list_event_logs
Main.Codecatalyst.list_projects
Main.Codecatalyst.list_source_repositories
Main.Codecatalyst.list_source_repository_branches
Main.Codecatalyst.list_spaces
Main.Codecatalyst.list_workflow_runs
Main.Codecatalyst.list_workflows
Main.Codecatalyst.start_dev_environment
Main.Codecatalyst.start_dev_environment_session
Main.Codecatalyst.start_workflow_run
Main.Codecatalyst.stop_dev_environment
Main.Codecatalyst.stop_dev_environment_session
Main.Codecatalyst.update_dev_environment
Main.Codecatalyst.update_project
Main.Codecatalyst.update_space
Main.Codecatalyst.verify_session
Documentation
Main.Codecatalyst.create_access_token
— Methodcreate_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.
Main.Codecatalyst.create_dev_environment
— Methodcreate_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.
Main.Codecatalyst.create_project
— Methodcreate_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.
Main.Codecatalyst.create_source_repository
— Methodcreate_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.
Main.Codecatalyst.create_source_repository_branch
— Methodcreate_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.
Main.Codecatalyst.delete_access_token
— Methoddelete_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.
Main.Codecatalyst.delete_dev_environment
— Methoddelete_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.
Main.Codecatalyst.delete_project
— Methoddelete_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.
Main.Codecatalyst.delete_source_repository
— Methoddelete_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.
Main.Codecatalyst.delete_space
— Methoddelete_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.
Main.Codecatalyst.get_dev_environment
— Methodget_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.
Main.Codecatalyst.get_project
— Methodget_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.
Main.Codecatalyst.get_source_repository
— Methodget_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.
Main.Codecatalyst.get_source_repository_clone_urls
— Methodget_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.
Main.Codecatalyst.get_space
— Methodget_space(name)
get_space(name, params::Dict{String,<:Any})
Returns information about an space.
Arguments
name
: The name of the space.
Main.Codecatalyst.get_subscription
— Methodget_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.
Main.Codecatalyst.get_user_details
— Methodget_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.
Main.Codecatalyst.get_workflow
— Methodget_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.
Main.Codecatalyst.get_workflow_run
— Methodget_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.
Main.Codecatalyst.list_access_tokens
— Methodlist_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.
Main.Codecatalyst.list_dev_environment_sessions
— Methodlist_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.
Main.Codecatalyst.list_dev_environments
— Methodlist_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.
Main.Codecatalyst.list_event_logs
— Methodlist_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.
Main.Codecatalyst.list_projects
— Methodlist_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.
Main.Codecatalyst.list_source_repositories
— Methodlist_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.
Main.Codecatalyst.list_source_repository_branches
— Methodlist_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.
Main.Codecatalyst.list_spaces
— Methodlist_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.
Main.Codecatalyst.list_workflow_runs
— Methodlist_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.
Main.Codecatalyst.list_workflows
— Methodlist_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.
Main.Codecatalyst.start_dev_environment
— Methodstart_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.
Main.Codecatalyst.start_dev_environment_session
— Methodstart_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.
Main.Codecatalyst.start_workflow_run
— Methodstart_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.
Main.Codecatalyst.stop_dev_environment
— Methodstop_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.
Main.Codecatalyst.stop_dev_environment_session
— Methodstop_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.
Main.Codecatalyst.update_dev_environment
— Methodupdate_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.
Main.Codecatalyst.update_project
— Methodupdate_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.
Main.Codecatalyst.update_space
— Methodupdate_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.
Main.Codecatalyst.verify_session
— Methodverify_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.