Interface CodeStarClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateTeamMemberResponse
associateTeamMember
(Consumer<AssociateTeamMemberRequest.Builder> associateTeamMemberRequest) Adds an IAM user to the team for an AWS CodeStar project.default AssociateTeamMemberResponse
associateTeamMember
(AssociateTeamMemberRequest associateTeamMemberRequest) Adds an IAM user to the team for an AWS CodeStar project.static CodeStarClientBuilder
builder()
Create a builder that can be used to configure and create aCodeStarClient
.static CodeStarClient
create()
Create aCodeStarClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateProjectResponse
createProject
(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a project, including project resources.default CreateProjectResponse
createProject
(CreateProjectRequest createProjectRequest) Creates a project, including project resources.default CreateUserProfileResponse
createUserProfile
(Consumer<CreateUserProfileRequest.Builder> createUserProfileRequest) 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.default CreateUserProfileResponse
createUserProfile
(CreateUserProfileRequest createUserProfileRequest) 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.default DeleteProjectResponse
deleteProject
(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project, including project resources.default DeleteProjectResponse
deleteProject
(DeleteProjectRequest deleteProjectRequest) Deletes a project, including project resources.default DeleteUserProfileResponse
deleteUserProfile
(Consumer<DeleteUserProfileRequest.Builder> deleteUserProfileRequest) Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address.default DeleteUserProfileResponse
deleteUserProfile
(DeleteUserProfileRequest deleteUserProfileRequest) Deletes a user profile in AWS CodeStar, including all personal preference data associated with that profile, such as display name and email address.default DescribeProjectResponse
describeProject
(Consumer<DescribeProjectRequest.Builder> describeProjectRequest) Describes a project and its resources.default DescribeProjectResponse
describeProject
(DescribeProjectRequest describeProjectRequest) Describes a project and its resources.default DescribeUserProfileResponse
describeUserProfile
(Consumer<DescribeUserProfileRequest.Builder> describeUserProfileRequest) Describes a user in AWS CodeStar and the user attributes across all projects.default DescribeUserProfileResponse
describeUserProfile
(DescribeUserProfileRequest describeUserProfileRequest) Describes a user in AWS CodeStar and the user attributes across all projects.default DisassociateTeamMemberResponse
disassociateTeamMember
(Consumer<DisassociateTeamMemberRequest.Builder> disassociateTeamMemberRequest) Removes a user from a project.default DisassociateTeamMemberResponse
disassociateTeamMember
(DisassociateTeamMemberRequest disassociateTeamMemberRequest) Removes a user from a project.default ListProjectsResponse
Lists all projects in AWS CodeStar associated with your AWS account.default ListProjectsResponse
listProjects
(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Lists all projects in AWS CodeStar associated with your AWS account.default ListProjectsResponse
listProjects
(ListProjectsRequest listProjectsRequest) Lists all projects in AWS CodeStar associated with your AWS account.default ListResourcesResponse
listResources
(Consumer<ListResourcesRequest.Builder> listResourcesRequest) Lists resources associated with a project in AWS CodeStar.default ListResourcesResponse
listResources
(ListResourcesRequest listResourcesRequest) Lists resources associated with a project in AWS CodeStar.default ListTagsForProjectResponse
listTagsForProject
(Consumer<ListTagsForProjectRequest.Builder> listTagsForProjectRequest) Gets the tags for a project.default ListTagsForProjectResponse
listTagsForProject
(ListTagsForProjectRequest listTagsForProjectRequest) Gets the tags for a project.default ListTeamMembersResponse
listTeamMembers
(Consumer<ListTeamMembersRequest.Builder> listTeamMembersRequest) Lists all team members associated with a project.default ListTeamMembersResponse
listTeamMembers
(ListTeamMembersRequest listTeamMembersRequest) Lists all team members associated with a project.default ListUserProfilesResponse
Lists all the user profiles configured for your AWS account in AWS CodeStar.default ListUserProfilesResponse
listUserProfiles
(Consumer<ListUserProfilesRequest.Builder> listUserProfilesRequest) Lists all the user profiles configured for your AWS account in AWS CodeStar.default ListUserProfilesResponse
listUserProfiles
(ListUserProfilesRequest listUserProfilesRequest) Lists all the user profiles configured for your AWS account in AWS CodeStar.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagProjectResponse
tagProject
(Consumer<TagProjectRequest.Builder> tagProjectRequest) Adds tags to a project.default TagProjectResponse
tagProject
(TagProjectRequest tagProjectRequest) Adds tags to a project.default UntagProjectResponse
untagProject
(Consumer<UntagProjectRequest.Builder> untagProjectRequest) Removes tags from a project.default UntagProjectResponse
untagProject
(UntagProjectRequest untagProjectRequest) Removes tags from a project.default UpdateProjectResponse
updateProject
(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates a project in AWS CodeStar.default UpdateProjectResponse
updateProject
(UpdateProjectRequest updateProjectRequest) Updates a project in AWS CodeStar.default UpdateTeamMemberResponse
updateTeamMember
(Consumer<UpdateTeamMemberRequest.Builder> updateTeamMemberRequest) Updates a team member's attributes in an AWS CodeStar project.default UpdateTeamMemberResponse
updateTeamMember
(UpdateTeamMemberRequest updateTeamMemberRequest) Updates a team member's attributes in an AWS CodeStar project.default UpdateUserProfileResponse
updateUserProfile
(Consumer<UpdateUserProfileRequest.Builder> updateUserProfileRequest) Updates a user's profile in AWS CodeStar.default UpdateUserProfileResponse
updateUserProfile
(UpdateUserProfileRequest updateUserProfileRequest) Updates a user's profile in AWS CodeStar.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateTeamMember
default AssociateTeamMemberResponse associateTeamMember(AssociateTeamMemberRequest associateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, TeamMemberAlreadyAssociatedException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Adds an IAM user to the team for an AWS CodeStar project.
- Parameters:
associateTeamMemberRequest
-- Returns:
- Result of the AssociateTeamMember operation returned by the service.
- See Also:
-
associateTeamMember
default AssociateTeamMemberResponse associateTeamMember(Consumer<AssociateTeamMemberRequest.Builder> associateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, TeamMemberAlreadyAssociatedException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Adds an IAM user to the team for an AWS CodeStar project.
This is a convenience which creates an instance of the
AssociateTeamMemberRequest.Builder
avoiding the need to create one manually viaAssociateTeamMemberRequest.builder()
- Parameters:
associateTeamMemberRequest
- AConsumer
that will call methods onAssociateTeamMemberRequest.Builder
to create a request.- Returns:
- Result of the AssociateTeamMember operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ProjectAlreadyExistsException, LimitExceededException, ValidationException, ProjectCreationFailedException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
createProjectRequest
-- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ProjectAlreadyExistsException, LimitExceededException, ValidationException, ProjectCreationFailedException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
CreateProjectRequest.Builder
avoiding the need to create one manually viaCreateProjectRequest.builder()
- Parameters:
createProjectRequest
- AConsumer
that will call methods onCreateProjectRequest.Builder
to create a request.- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createUserProfile
default CreateUserProfileResponse createUserProfile(CreateUserProfileRequest createUserProfileRequest) throws UserProfileAlreadyExistsException, ValidationException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
createUserProfileRequest
-- Returns:
- Result of the CreateUserProfile operation returned by the service.
- See Also:
-
createUserProfile
default CreateUserProfileResponse createUserProfile(Consumer<CreateUserProfileRequest.Builder> createUserProfileRequest) throws UserProfileAlreadyExistsException, ValidationException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
CreateUserProfileRequest.Builder
avoiding the need to create one manually viaCreateUserProfileRequest.builder()
- Parameters:
createUserProfileRequest
- AConsumer
that will call methods onCreateUserProfileRequest.Builder
to create a request.- Returns:
- Result of the CreateUserProfile operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ConcurrentModificationException, ValidationException, InvalidServiceRoleException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
deleteProjectRequest
-- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws ConcurrentModificationException, ValidationException, InvalidServiceRoleException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builder
avoiding the need to create one manually viaDeleteProjectRequest.builder()
- Parameters:
deleteProjectRequest
- AConsumer
that will call methods onDeleteProjectRequest.Builder
to create a request.- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteUserProfile
default DeleteUserProfileResponse deleteUserProfile(DeleteUserProfileRequest deleteUserProfileRequest) throws ValidationException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
deleteUserProfileRequest
-- Returns:
- Result of the DeleteUserProfile operation returned by the service.
- See Also:
-
deleteUserProfile
default DeleteUserProfileResponse deleteUserProfile(Consumer<DeleteUserProfileRequest.Builder> deleteUserProfileRequest) throws ValidationException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
DeleteUserProfileRequest.Builder
avoiding the need to create one manually viaDeleteUserProfileRequest.builder()
- Parameters:
deleteUserProfileRequest
- AConsumer
that will call methods onDeleteUserProfileRequest.Builder
to create a request.- Returns:
- Result of the DeleteUserProfile operation returned by the service.
- See Also:
-
describeProject
default DescribeProjectResponse describeProject(DescribeProjectRequest describeProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Describes a project and its resources.
- Parameters:
describeProjectRequest
-- Returns:
- Result of the DescribeProject operation returned by the service.
- See Also:
-
describeProject
default DescribeProjectResponse describeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Describes a project and its resources.
This is a convenience which creates an instance of the
DescribeProjectRequest.Builder
avoiding the need to create one manually viaDescribeProjectRequest.builder()
- Parameters:
describeProjectRequest
- AConsumer
that will call methods onDescribeProjectRequest.Builder
to create a request.- Returns:
- Result of the DescribeProject operation returned by the service.
- See Also:
-
describeUserProfile
default DescribeUserProfileResponse describeUserProfile(DescribeUserProfileRequest describeUserProfileRequest) throws UserProfileNotFoundException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Describes a user in AWS CodeStar and the user attributes across all projects.
- Parameters:
describeUserProfileRequest
-- Returns:
- Result of the DescribeUserProfile operation returned by the service.
- See Also:
-
describeUserProfile
default DescribeUserProfileResponse describeUserProfile(Consumer<DescribeUserProfileRequest.Builder> describeUserProfileRequest) throws UserProfileNotFoundException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Describes a user in AWS CodeStar and the user attributes across all projects.
This is a convenience which creates an instance of the
DescribeUserProfileRequest.Builder
avoiding the need to create one manually viaDescribeUserProfileRequest.builder()
- Parameters:
describeUserProfileRequest
- AConsumer
that will call methods onDescribeUserProfileRequest.Builder
to create a request.- Returns:
- Result of the DescribeUserProfile operation returned by the service.
- See Also:
-
disassociateTeamMember
default DisassociateTeamMemberResponse disassociateTeamMember(DisassociateTeamMemberRequest disassociateTeamMemberRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
disassociateTeamMemberRequest
-- Returns:
- Result of the DisassociateTeamMember operation returned by the service.
- See Also:
-
disassociateTeamMember
default DisassociateTeamMemberResponse disassociateTeamMember(Consumer<DisassociateTeamMemberRequest.Builder> disassociateTeamMemberRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
DisassociateTeamMemberRequest.Builder
avoiding the need to create one manually viaDisassociateTeamMemberRequest.builder()
- Parameters:
disassociateTeamMemberRequest
- AConsumer
that will call methods onDisassociateTeamMemberRequest.Builder
to create a request.- Returns:
- Result of the DisassociateTeamMember operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists all projects in AWS CodeStar associated with your AWS account.
- Parameters:
listProjectsRequest
-- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists all projects in AWS CodeStar associated with your AWS account.
This is a convenience which creates an instance of the
ListProjectsRequest.Builder
avoiding the need to create one manually viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request.- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects() throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarExceptionLists all projects in AWS CodeStar associated with your AWS account.
- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listResources
default ListResourcesResponse listResources(ListResourcesRequest listResourcesRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists resources associated with a project in AWS CodeStar.
- Parameters:
listResourcesRequest
-- Returns:
- Result of the ListResources operation returned by the service.
- See Also:
-
listResources
default ListResourcesResponse listResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists resources associated with a project in AWS CodeStar.
This is a convenience which creates an instance of the
ListResourcesRequest.Builder
avoiding the need to create one manually viaListResourcesRequest.builder()
- Parameters:
listResourcesRequest
- AConsumer
that will call methods onListResourcesRequest.Builder
to create a request.- Returns:
- Result of the ListResources operation returned by the service.
- See Also:
-
listTagsForProject
default ListTagsForProjectResponse listTagsForProject(ListTagsForProjectRequest listTagsForProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeStarException Gets the tags for a project.
- Parameters:
listTagsForProjectRequest
-- Returns:
- Result of the ListTagsForProject operation returned by the service.
- See Also:
-
listTagsForProject
default ListTagsForProjectResponse listTagsForProject(Consumer<ListTagsForProjectRequest.Builder> listTagsForProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidNextTokenException, AwsServiceException, SdkClientException, CodeStarException Gets the tags for a project.
This is a convenience which creates an instance of the
ListTagsForProjectRequest.Builder
avoiding the need to create one manually viaListTagsForProjectRequest.builder()
- Parameters:
listTagsForProjectRequest
- AConsumer
that will call methods onListTagsForProjectRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForProject operation returned by the service.
- See Also:
-
listTeamMembers
default ListTeamMembersResponse listTeamMembers(ListTeamMembersRequest listTeamMembersRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists all team members associated with a project.
- Parameters:
listTeamMembersRequest
-- Returns:
- Result of the ListTeamMembers operation returned by the service.
- See Also:
-
listTeamMembers
default ListTeamMembersResponse listTeamMembers(Consumer<ListTeamMembersRequest.Builder> listTeamMembersRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists all team members associated with a project.
This is a convenience which creates an instance of the
ListTeamMembersRequest.Builder
avoiding the need to create one manually viaListTeamMembersRequest.builder()
- Parameters:
listTeamMembersRequest
- AConsumer
that will call methods onListTeamMembersRequest.Builder
to create a request.- Returns:
- Result of the ListTeamMembers operation returned by the service.
- See Also:
-
listUserProfiles
default ListUserProfilesResponse listUserProfiles(ListUserProfilesRequest listUserProfilesRequest) throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists all the user profiles configured for your AWS account in AWS CodeStar.
- Parameters:
listUserProfilesRequest
-- Returns:
- Result of the ListUserProfiles operation returned by the service.
- See Also:
-
listUserProfiles
default ListUserProfilesResponse listUserProfiles(Consumer<ListUserProfilesRequest.Builder> listUserProfilesRequest) throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Lists all the user profiles configured for your AWS account in AWS CodeStar.
This is a convenience which creates an instance of the
ListUserProfilesRequest.Builder
avoiding the need to create one manually viaListUserProfilesRequest.builder()
- Parameters:
listUserProfilesRequest
- AConsumer
that will call methods onListUserProfilesRequest.Builder
to create a request.- Returns:
- Result of the ListUserProfiles operation returned by the service.
- See Also:
-
listUserProfiles
default ListUserProfilesResponse listUserProfiles() throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarExceptionLists all the user profiles configured for your AWS account in AWS CodeStar.
- Returns:
- Result of the ListUserProfiles operation returned by the service.
- See Also:
-
tagProject
default TagProjectResponse tagProject(TagProjectRequest tagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Adds tags to a project.
- Parameters:
tagProjectRequest
-- Returns:
- Result of the TagProject operation returned by the service.
- See Also:
-
tagProject
default TagProjectResponse tagProject(Consumer<TagProjectRequest.Builder> tagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Adds tags to a project.
This is a convenience which creates an instance of the
TagProjectRequest.Builder
avoiding the need to create one manually viaTagProjectRequest.builder()
- Parameters:
tagProjectRequest
- AConsumer
that will call methods onTagProjectRequest.Builder
to create a request.- Returns:
- Result of the TagProject operation returned by the service.
- See Also:
-
untagProject
default UntagProjectResponse untagProject(UntagProjectRequest untagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Removes tags from a project.
- Parameters:
untagProjectRequest
-- Returns:
- Result of the UntagProject operation returned by the service.
- See Also:
-
untagProject
default UntagProjectResponse untagProject(Consumer<UntagProjectRequest.Builder> untagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, AwsServiceException, SdkClientException, CodeStarException Removes tags from a project.
This is a convenience which creates an instance of the
UntagProjectRequest.Builder
avoiding the need to create one manually viaUntagProjectRequest.builder()
- Parameters:
untagProjectRequest
- AConsumer
that will call methods onUntagProjectRequest.Builder
to create a request.- Returns:
- Result of the UntagProject operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ProjectNotFoundException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Updates a project in AWS CodeStar.
- Parameters:
updateProjectRequest
-- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws ProjectNotFoundException, ValidationException, AwsServiceException, SdkClientException, CodeStarException Updates a project in AWS CodeStar.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builder
avoiding the need to create one manually viaUpdateProjectRequest.builder()
- Parameters:
updateProjectRequest
- AConsumer
that will call methods onUpdateProjectRequest.Builder
to create a request.- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateTeamMember
default UpdateTeamMemberResponse updateTeamMember(UpdateTeamMemberRequest updateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, TeamMemberNotFoundException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
updateTeamMemberRequest
-- Returns:
- Result of the UpdateTeamMember operation returned by the service.
- See Also:
-
updateTeamMember
default UpdateTeamMemberResponse updateTeamMember(Consumer<UpdateTeamMemberRequest.Builder> updateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, TeamMemberNotFoundException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
UpdateTeamMemberRequest.Builder
avoiding the need to create one manually viaUpdateTeamMemberRequest.builder()
- Parameters:
updateTeamMemberRequest
- AConsumer
that will call methods onUpdateTeamMemberRequest.Builder
to create a request.- Returns:
- Result of the UpdateTeamMember operation returned by the service.
- See Also:
-
updateUserProfile
default UpdateUserProfileResponse updateUserProfile(UpdateUserProfileRequest updateUserProfileRequest) throws UserProfileNotFoundException, ValidationException, AwsServiceException, SdkClientException, CodeStarException 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.
- Parameters:
updateUserProfileRequest
-- Returns:
- Result of the UpdateUserProfile operation returned by the service.
- See Also:
-
updateUserProfile
default UpdateUserProfileResponse updateUserProfile(Consumer<UpdateUserProfileRequest.Builder> updateUserProfileRequest) throws UserProfileNotFoundException, ValidationException, AwsServiceException, SdkClientException, CodeStarException 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.
This is a convenience which creates an instance of the
UpdateUserProfileRequest.Builder
avoiding the need to create one manually viaUpdateUserProfileRequest.builder()
- Parameters:
updateUserProfileRequest
- AConsumer
that will call methods onUpdateUserProfileRequest.Builder
to create a request.- Returns:
- Result of the UpdateUserProfile operation returned by the service.
- See Also:
-
create
Create aCodeStarClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aCodeStarClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-