View on GitHub

aws-sdk-swift

CodeStarClientProtocol

AWS CodeStar This is the API reference for AWS CodeStar. This reference provides descriptions of the operations and data types for the AWS CodeStar API along with usage examples. You can use the AWS CodeStar API to work with: Projects and their resources, by calling the following:

public protocol CodeStarClientProtocol 

Teams and team members, by calling the following:

Users, by calling the following:

Requirements

associateTeamMember(input:completion:)

Adds an IAM user to the team for an AWS CodeStar project.

func associateTeamMember(input: AssociateTeamMemberInput, completion: @escaping (ClientRuntime.SdkResult<AssociateTeamMemberOutputResponse, AssociateTeamMemberOutputError>) -> Void)

createProject(input:completion:)

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.

func createProject(input: CreateProjectInput, completion: @escaping (ClientRuntime.SdkResult<CreateProjectOutputResponse, CreateProjectOutputError>) -> Void)

createUserProfile(input:completion:)

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.

func createUserProfile(input: CreateUserProfileInput, completion: @escaping (ClientRuntime.SdkResult<CreateUserProfileOutputResponse, CreateUserProfileOutputError>) -> Void)

deleteProject(input:completion:)

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.

func deleteProject(input: DeleteProjectInput, completion: @escaping (ClientRuntime.SdkResult<DeleteProjectOutputResponse, DeleteProjectOutputError>) -> Void)

deleteUserProfile(input:completion:)

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.

func deleteUserProfile(input: DeleteUserProfileInput, completion: @escaping (ClientRuntime.SdkResult<DeleteUserProfileOutputResponse, DeleteUserProfileOutputError>) -> Void)

describeProject(input:completion:)

Describes a project and its resources.

func describeProject(input: DescribeProjectInput, completion: @escaping (ClientRuntime.SdkResult<DescribeProjectOutputResponse, DescribeProjectOutputError>) -> Void)

describeUserProfile(input:completion:)

Describes a user in AWS CodeStar and the user attributes across all projects.

func describeUserProfile(input: DescribeUserProfileInput, completion: @escaping (ClientRuntime.SdkResult<DescribeUserProfileOutputResponse, DescribeUserProfileOutputError>) -> Void)

disassociateTeamMember(input:completion:)

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.

func disassociateTeamMember(input: DisassociateTeamMemberInput, completion: @escaping (ClientRuntime.SdkResult<DisassociateTeamMemberOutputResponse, DisassociateTeamMemberOutputError>) -> Void)

listProjects(input:completion:)

Lists all projects in AWS CodeStar associated with your AWS account.

func listProjects(input: ListProjectsInput, completion: @escaping (ClientRuntime.SdkResult<ListProjectsOutputResponse, ListProjectsOutputError>) -> Void)

listResources(input:completion:)

Lists resources associated with a project in AWS CodeStar.

func listResources(input: ListResourcesInput, completion: @escaping (ClientRuntime.SdkResult<ListResourcesOutputResponse, ListResourcesOutputError>) -> Void)

listTagsForProject(input:completion:)

Gets the tags for a project.

func listTagsForProject(input: ListTagsForProjectInput, completion: @escaping (ClientRuntime.SdkResult<ListTagsForProjectOutputResponse, ListTagsForProjectOutputError>) -> Void)

listTeamMembers(input:completion:)

Lists all team members associated with a project.

func listTeamMembers(input: ListTeamMembersInput, completion: @escaping (ClientRuntime.SdkResult<ListTeamMembersOutputResponse, ListTeamMembersOutputError>) -> Void)

listUserProfiles(input:completion:)

Lists all the user profiles configured for your AWS account in AWS CodeStar.

func listUserProfiles(input: ListUserProfilesInput, completion: @escaping (ClientRuntime.SdkResult<ListUserProfilesOutputResponse, ListUserProfilesOutputError>) -> Void)

tagProject(input:completion:)

Adds tags to a project.

func tagProject(input: TagProjectInput, completion: @escaping (ClientRuntime.SdkResult<TagProjectOutputResponse, TagProjectOutputError>) -> Void)

untagProject(input:completion:)

Removes tags from a project.

func untagProject(input: UntagProjectInput, completion: @escaping (ClientRuntime.SdkResult<UntagProjectOutputResponse, UntagProjectOutputError>) -> Void)

updateProject(input:completion:)

Updates a project in AWS CodeStar.

func updateProject(input: UpdateProjectInput, completion: @escaping (ClientRuntime.SdkResult<UpdateProjectOutputResponse, UpdateProjectOutputError>) -> Void)

updateTeamMember(input:completion:)

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.

func updateTeamMember(input: UpdateTeamMemberInput, completion: @escaping (ClientRuntime.SdkResult<UpdateTeamMemberOutputResponse, UpdateTeamMemberOutputError>) -> Void)

updateUserProfile(input:completion:)

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.

func updateUserProfile(input: UpdateUserProfileInput, completion: @escaping (ClientRuntime.SdkResult<UpdateUserProfileOutputResponse, UpdateUserProfileOutputError>) -> Void)