@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCodeStarClient extends AmazonWebServiceClient implements AWSCodeStar
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:
DeleteProject
, which deletes a project.
DescribeProject
, which lists the attributes of a project.
ListProjects
, which lists all projects associated with your AWS account.
ListResources
, which lists the resources associated with a project.
ListTagsForProject
, which lists the tags associated with a project.
TagProject
, which adds tags to a project.
UntagProject
, which removes tags from a project.
UpdateProject
, which updates the attributes of a project.
Teams and team members, by calling the following:
AssociateTeamMember
, which adds an IAM user to the team for a project.
DisassociateTeamMember
, which removes an IAM user from the team for a project.
ListTeamMembers
, which lists all the IAM users in the team for a project, including their roles and
attributes.
UpdateTeamMember
, which updates a team member's attributes in a project.
Users, by calling the following:
CreateUserProfile
, which creates a user profile that contains data associated with the user across all
projects.
DeleteUserProfile
, which deletes all user profile information across all projects.
DescribeUserProfile
, which describes the profile of a user.
ListUserProfiles
, which lists all user profiles.
UpdateUserProfile
, which updates the profile for a user.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
AssociateTeamMemberResult |
associateTeamMember(AssociateTeamMemberRequest request)
Adds an IAM user to the team for an AWS CodeStar project.
|
static AWSCodeStarClientBuilder |
builder() |
CreateProjectResult |
createProject(CreateProjectRequest request)
Reserved for future use.
|
CreateUserProfileResult |
createUserProfile(CreateUserProfileRequest request)
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.
|
DeleteProjectResult |
deleteProject(DeleteProjectRequest request)
Deletes a project, including project resources.
|
DeleteUserProfileResult |
deleteUserProfile(DeleteUserProfileRequest request)
Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such
as display name and email address.
|
DescribeProjectResult |
describeProject(DescribeProjectRequest request)
Describes a project and its resources.
|
DescribeUserProfileResult |
describeUserProfile(DescribeUserProfileRequest request)
Describes a user in AWS CodeStar and the user attributes across all projects.
|
DisassociateTeamMemberResult |
disassociateTeamMember(DisassociateTeamMemberRequest request)
Removes a user from a project.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListProjectsResult |
listProjects(ListProjectsRequest request)
Lists all projects in AWS CodeStar associated with your AWS account.
|
ListResourcesResult |
listResources(ListResourcesRequest request)
Lists resources associated with a project in AWS CodeStar.
|
ListTagsForProjectResult |
listTagsForProject(ListTagsForProjectRequest request)
Gets the tags for a project.
|
ListTeamMembersResult |
listTeamMembers(ListTeamMembersRequest request)
Lists all team members associated with a project.
|
ListUserProfilesResult |
listUserProfiles(ListUserProfilesRequest request)
Lists all the user profiles configured for your AWS account in AWS CodeStar.
|
TagProjectResult |
tagProject(TagProjectRequest request)
Adds tags to a project.
|
UntagProjectResult |
untagProject(UntagProjectRequest request)
Removes tags from a project.
|
UpdateProjectResult |
updateProject(UpdateProjectRequest request)
Updates a project in AWS CodeStar.
|
UpdateTeamMemberResult |
updateTeamMember(UpdateTeamMemberRequest request)
Updates a team member's attributes in an AWS CodeStar project.
|
UpdateUserProfileResult |
updateUserProfile(UpdateUserProfileRequest request)
Updates a user's profile in AWS CodeStar.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSCodeStarClientBuilder builder()
public AssociateTeamMemberResult associateTeamMember(AssociateTeamMemberRequest request)
Adds an IAM user to the team for an AWS CodeStar project.
associateTeamMember
in interface AWSCodeStar
associateTeamMemberRequest
- LimitExceededException
- A resource limit has been exceeded.ProjectNotFoundException
- The specified AWS CodeStar project was not found.TeamMemberAlreadyAssociatedException
- The team member is already associated with a role in this project.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.public CreateProjectResult createProject(CreateProjectRequest request)
Reserved for future use. To create a project, use the AWS CodeStar console.
createProject
in interface AWSCodeStar
createProjectRequest
- ProjectAlreadyExistsException
- An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar
project IDs must be unique within a region for the AWS account.LimitExceededException
- A resource limit has been exceeded.ValidationException
- The specified input is either not valid, or it could not be validated.ProjectCreationFailedException
- The project creation request was valid, but a nonspecific exception or error occurred during project
creation. The project could not be created in AWS CodeStar.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.public CreateUserProfileResult createUserProfile(CreateUserProfileRequest request)
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.
createUserProfile
in interface AWSCodeStar
createUserProfileRequest
- UserProfileAlreadyExistsException
- A user profile with that name already exists in this region for the AWS account. AWS CodeStar user
profile names must be unique within a region for the AWS account.ValidationException
- The specified input is either not valid, or it could not be validated.public DeleteProjectResult deleteProject(DeleteProjectRequest request)
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.
deleteProject
in interface AWSCodeStar
deleteProjectRequest
- ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.public DeleteUserProfileResult deleteUserProfile(DeleteUserProfileRequest request)
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.
deleteUserProfile
in interface AWSCodeStar
deleteUserProfileRequest
- ValidationException
- The specified input is either not valid, or it could not be validated.public DescribeProjectResult describeProject(DescribeProjectRequest request)
Describes a project and its resources.
describeProject
in interface AWSCodeStar
describeProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.public DescribeUserProfileResult describeUserProfile(DescribeUserProfileRequest request)
Describes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfile
in interface AWSCodeStar
describeUserProfileRequest
- UserProfileNotFoundException
- The user profile was not found.ValidationException
- The specified input is either not valid, or it could not be validated.public DisassociateTeamMemberResult disassociateTeamMember(DisassociateTeamMemberRequest request)
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.
disassociateTeamMember
in interface AWSCodeStar
disassociateTeamMemberRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.public ListProjectsResult listProjects(ListProjectsRequest request)
Lists all projects in AWS CodeStar associated with your AWS account.
listProjects
in interface AWSCodeStar
listProjectsRequest
- InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.public ListResourcesResult listResources(ListResourcesRequest request)
Lists resources associated with a project in AWS CodeStar.
listResources
in interface AWSCodeStar
listResourcesRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.public ListTagsForProjectResult listTagsForProject(ListTagsForProjectRequest request)
Gets the tags for a project.
listTagsForProject
in interface AWSCodeStar
listTagsForProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidNextTokenException
- The next token is not valid.public ListTeamMembersResult listTeamMembers(ListTeamMembersRequest request)
Lists all team members associated with a project.
listTeamMembers
in interface AWSCodeStar
listTeamMembersRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.public ListUserProfilesResult listUserProfiles(ListUserProfilesRequest request)
Lists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfiles
in interface AWSCodeStar
listUserProfilesRequest
- InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.public TagProjectResult tagProject(TagProjectRequest request)
Adds tags to a project.
tagProject
in interface AWSCodeStar
tagProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.LimitExceededException
- A resource limit has been exceeded.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.public UntagProjectResult untagProject(UntagProjectRequest request)
Removes tags from a project.
untagProject
in interface AWSCodeStar
untagProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.LimitExceededException
- A resource limit has been exceeded.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.public UpdateProjectResult updateProject(UpdateProjectRequest request)
Updates a project in AWS CodeStar.
updateProject
in interface AWSCodeStar
updateProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.public UpdateTeamMemberResult updateTeamMember(UpdateTeamMemberRequest request)
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.
updateTeamMember
in interface AWSCodeStar
updateTeamMemberRequest
- LimitExceededException
- A resource limit has been exceeded.ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.TeamMemberNotFoundException
- The specified team member was not found.public UpdateUserProfileResult updateUserProfile(UpdateUserProfileRequest request)
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.
updateUserProfile
in interface AWSCodeStar
updateUserProfileRequest
- UserProfileNotFoundException
- The user profile was not found.ValidationException
- The specified input is either not valid, or it could not be validated.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSCodeStar
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.