Codestar
This page documents function available when using the Codestar
module, created with @service Codestar
.
Index
Main.Codestar.associate_team_member
Main.Codestar.create_project
Main.Codestar.create_user_profile
Main.Codestar.delete_project
Main.Codestar.delete_user_profile
Main.Codestar.describe_project
Main.Codestar.describe_user_profile
Main.Codestar.disassociate_team_member
Main.Codestar.list_projects
Main.Codestar.list_resources
Main.Codestar.list_tags_for_project
Main.Codestar.list_team_members
Main.Codestar.list_user_profiles
Main.Codestar.tag_project
Main.Codestar.untag_project
Main.Codestar.update_project
Main.Codestar.update_team_member
Main.Codestar.update_user_profile
Documentation
Main.Codestar.associate_team_member
— Methodassociate_team_member(project_id, project_role, user_arn)
associate_team_member(project_id, project_role, user_arn, params::Dict{String,<:Any})
Adds an IAM user to the team for an AWS CodeStar project.
Arguments
project_id
: The ID of the project to which you will add the IAM user.project_role
: The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.user_arn
: The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"clientRequestToken"
: A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request."remoteAccessAllowed"
: Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
Main.Codestar.create_project
— Methodcreate_project(id, name)
create_project(id, name, params::Dict{String,<:Any})
Creates a project, including project resources. This action creates a project based on a submitted project request. A set of source code files and a toolchain template file can be included with the project request. If these are not provided, an empty project is created.
Arguments
id
: The ID of the project to be created in AWS CodeStar.name
: The display name for the project to be created in AWS CodeStar.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"clientRequestToken"
: A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request."description"
: The description of the project, if any."sourceCode"
: A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter."tags"
: The tags created for the project."toolchain"
: The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.
Main.Codestar.create_user_profile
— Methodcreate_user_profile(display_name, email_address, user_arn)
create_user_profile(display_name, email_address, user_arn, params::Dict{String,<:Any})
Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.
Arguments
display_name
: The name that will be displayed as the friendly name for the user in AWS CodeStar.email_address
: The email address that will be displayed as part of the user's profile in AWS CodeStar.user_arn
: The Amazon Resource Name (ARN) of the user in IAM.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"sshPublicKey"
: The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
Main.Codestar.delete_project
— Methoddelete_project(id)
delete_project(id, params::Dict{String,<:Any})
Deletes a project, including project resources. Does not delete users associated with the project, but does delete the IAM roles that allowed access to the project.
Arguments
id
: The ID of the project to be deleted in AWS CodeStar.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"clientRequestToken"
: A user- or system-generated token that identifies the entity that requested project deletion. This token can be used to repeat the request."deleteStack"
: Whether to send a delete request for the primary stack in AWS CloudFormation originally used to generate the project and its resources. This option will delete all AWS resources for the project (except for any buckets in Amazon S3) as well as deleting the project itself. Recommended for most use cases.
Main.Codestar.delete_user_profile
— Methoddelete_user_profile(user_arn)
delete_user_profile(user_arn, params::Dict{String,<:Any})
Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address. It does not delete the history of that user, for example the history of commits made by that user.
Arguments
user_arn
: The Amazon Resource Name (ARN) of the user to delete from AWS CodeStar.
Main.Codestar.describe_project
— Methoddescribe_project(id)
describe_project(id, params::Dict{String,<:Any})
Describes a project and its resources.
Arguments
id
: The ID of the project.
Main.Codestar.describe_user_profile
— Methoddescribe_user_profile(user_arn)
describe_user_profile(user_arn, params::Dict{String,<:Any})
Describes a user in AWS CodeStar and the user attributes across all projects.
Arguments
user_arn
: The Amazon Resource Name (ARN) of the user.
Main.Codestar.disassociate_team_member
— Methoddisassociate_team_member(project_id, user_arn)
disassociate_team_member(project_id, user_arn, params::Dict{String,<:Any})
Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user's profile from AWS CodeStar. It does not remove the user from IAM.
Arguments
project_id
: The ID of the AWS CodeStar project from which you want to remove a team member.user_arn
: The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.
Main.Codestar.list_projects
— Methodlist_projects()
list_projects(params::Dict{String,<:Any})
Lists all projects in AWS CodeStar associated with your AWS account.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum amount of data that can be contained in a single set of results."nextToken"
: The continuation token to be used to return the next set of results, if the results cannot be returned in one response.
Main.Codestar.list_resources
— Methodlist_resources(project_id)
list_resources(project_id, params::Dict{String,<:Any})
Lists resources associated with a project in AWS CodeStar.
Arguments
project_id
: The ID of the project.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum amount of data that can be contained in a single set of results."nextToken"
: The continuation token for the next set of results, if the results cannot be returned in one response.
Main.Codestar.list_tags_for_project
— Methodlist_tags_for_project(id)
list_tags_for_project(id, params::Dict{String,<:Any})
Gets the tags for a project.
Arguments
id
: The ID of the project to get tags for.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: Reserved for future use."nextToken"
: Reserved for future use.
Main.Codestar.list_team_members
— Methodlist_team_members(project_id)
list_team_members(project_id, params::Dict{String,<:Any})
Lists all team members associated with a project.
Arguments
project_id
: The ID of the project for which you want to list team members.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum number of team members you want returned in a response."nextToken"
: The continuation token for the next set of results, if the results cannot be returned in one response.
Main.Codestar.list_user_profiles
— Methodlist_user_profiles()
list_user_profiles(params::Dict{String,<:Any})
Lists all the user profiles configured for your AWS account in AWS CodeStar.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum number of results to return in a response."nextToken"
: The continuation token for the next set of results, if the results cannot be returned in one response.
Main.Codestar.tag_project
— Methodtag_project(id, tags)
tag_project(id, tags, params::Dict{String,<:Any})
Adds tags to a project.
Arguments
id
: The ID of the project you want to add a tag to.tags
: The tags you want to add to the project.
Main.Codestar.untag_project
— Methoduntag_project(id, tags)
untag_project(id, tags, params::Dict{String,<:Any})
Removes tags from a project.
Arguments
id
: The ID of the project to remove tags from.tags
: The tags to remove from the project.
Main.Codestar.update_project
— Methodupdate_project(id)
update_project(id, params::Dict{String,<:Any})
Updates a project in AWS CodeStar.
Arguments
id
: The ID of the project you want to update.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"description"
: The description of the project, if any."name"
: The name of the project you want to update.
Main.Codestar.update_team_member
— Methodupdate_team_member(project_id, user_arn)
update_team_member(project_id, user_arn, params::Dict{String,<:Any})
Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources.
Arguments
project_id
: The ID of the project.user_arn
: The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"projectRole"
: The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide."remoteAccessAllowed"
: Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
Main.Codestar.update_user_profile
— Methodupdate_user_profile(user_arn)
update_user_profile(user_arn, params::Dict{String,<:Any})
Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.
Arguments
user_arn
: The name that will be displayed as the friendly name for the user in AWS CodeStar.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"displayName"
: The name that is displayed as the friendly name for the user in AWS CodeStar."emailAddress"
: The email address that is displayed as part of the user's profile in AWS CodeStar."sshPublicKey"
: The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.