Interface CodeStarClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface CodeStarClient extends AwsClient
Service client for accessing CodeStar. This can be created using the staticbuilder()method.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:
-
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
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AssociateTeamMemberResponseassociateTeamMember(Consumer<AssociateTeamMemberRequest.Builder> associateTeamMemberRequest)Adds an IAM user to the team for an AWS CodeStar project.default AssociateTeamMemberResponseassociateTeamMember(AssociateTeamMemberRequest associateTeamMemberRequest)Adds an IAM user to the team for an AWS CodeStar project.static CodeStarClientBuilderbuilder()Create a builder that can be used to configure and create aCodeStarClient.static CodeStarClientcreate()Create aCodeStarClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateProjectResponsecreateProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)Creates a project, including project resources.default CreateProjectResponsecreateProject(CreateProjectRequest createProjectRequest)Creates a project, including project resources.default CreateUserProfileResponsecreateUserProfile(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 CreateUserProfileResponsecreateUserProfile(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 DeleteProjectResponsedeleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)Deletes a project, including project resources.default DeleteProjectResponsedeleteProject(DeleteProjectRequest deleteProjectRequest)Deletes a project, including project resources.default DeleteUserProfileResponsedeleteUserProfile(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 DeleteUserProfileResponsedeleteUserProfile(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 DescribeProjectResponsedescribeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest)Describes a project and its resources.default DescribeProjectResponsedescribeProject(DescribeProjectRequest describeProjectRequest)Describes a project and its resources.default DescribeUserProfileResponsedescribeUserProfile(Consumer<DescribeUserProfileRequest.Builder> describeUserProfileRequest)Describes a user in AWS CodeStar and the user attributes across all projects.default DescribeUserProfileResponsedescribeUserProfile(DescribeUserProfileRequest describeUserProfileRequest)Describes a user in AWS CodeStar and the user attributes across all projects.default DisassociateTeamMemberResponsedisassociateTeamMember(Consumer<DisassociateTeamMemberRequest.Builder> disassociateTeamMemberRequest)Removes a user from a project.default DisassociateTeamMemberResponsedisassociateTeamMember(DisassociateTeamMemberRequest disassociateTeamMemberRequest)Removes a user from a project.default ListProjectsResponselistProjects()Lists all projects in AWS CodeStar associated with your AWS account.default ListProjectsResponselistProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)Lists all projects in AWS CodeStar associated with your AWS account.default ListProjectsResponselistProjects(ListProjectsRequest listProjectsRequest)Lists all projects in AWS CodeStar associated with your AWS account.default ListResourcesResponselistResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest)Lists resources associated with a project in AWS CodeStar.default ListResourcesResponselistResources(ListResourcesRequest listResourcesRequest)Lists resources associated with a project in AWS CodeStar.default ListTagsForProjectResponselistTagsForProject(Consumer<ListTagsForProjectRequest.Builder> listTagsForProjectRequest)Gets the tags for a project.default ListTagsForProjectResponselistTagsForProject(ListTagsForProjectRequest listTagsForProjectRequest)Gets the tags for a project.default ListTeamMembersResponselistTeamMembers(Consumer<ListTeamMembersRequest.Builder> listTeamMembersRequest)Lists all team members associated with a project.default ListTeamMembersResponselistTeamMembers(ListTeamMembersRequest listTeamMembersRequest)Lists all team members associated with a project.default ListUserProfilesResponselistUserProfiles()Lists all the user profiles configured for your AWS account in AWS CodeStar.default ListUserProfilesResponselistUserProfiles(Consumer<ListUserProfilesRequest.Builder> listUserProfilesRequest)Lists all the user profiles configured for your AWS account in AWS CodeStar.default ListUserProfilesResponselistUserProfiles(ListUserProfilesRequest listUserProfilesRequest)Lists all the user profiles configured for your AWS account in AWS CodeStar.default CodeStarServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default TagProjectResponsetagProject(Consumer<TagProjectRequest.Builder> tagProjectRequest)Adds tags to a project.default TagProjectResponsetagProject(TagProjectRequest tagProjectRequest)Adds tags to a project.default UntagProjectResponseuntagProject(Consumer<UntagProjectRequest.Builder> untagProjectRequest)Removes tags from a project.default UntagProjectResponseuntagProject(UntagProjectRequest untagProjectRequest)Removes tags from a project.default UpdateProjectResponseupdateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)Updates a project in AWS CodeStar.default UpdateProjectResponseupdateProject(UpdateProjectRequest updateProjectRequest)Updates a project in AWS CodeStar.default UpdateTeamMemberResponseupdateTeamMember(Consumer<UpdateTeamMemberRequest.Builder> updateTeamMemberRequest)Updates a team member's attributes in an AWS CodeStar project.default UpdateTeamMemberResponseupdateTeamMember(UpdateTeamMemberRequest updateTeamMemberRequest)Updates a team member's attributes in an AWS CodeStar project.default UpdateUserProfileResponseupdateUserProfile(Consumer<UpdateUserProfileRequest.Builder> updateUserProfileRequest)Updates a user's profile in AWS CodeStar.default UpdateUserProfileResponseupdateUserProfile(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 Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaAssociateTeamMemberRequest.builder()- Parameters:
associateTeamMemberRequest- AConsumerthat will call methods onAssociateTeamMemberRequest.Builderto create a request.- Returns:
- Result of the AssociateTeamMember operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto create a request.- Returns:
- Result of the CreateProject operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateUserProfileRequest.builder()- Parameters:
createUserProfileRequest- AConsumerthat will call methods onCreateUserProfileRequest.Builderto create a request.- Returns:
- Result of the CreateUserProfile operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto create a request.- Returns:
- Result of the DeleteProject operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteUserProfileRequest.builder()- Parameters:
deleteUserProfileRequest- AConsumerthat will call methods onDeleteUserProfileRequest.Builderto create a request.- Returns:
- Result of the DeleteUserProfile operation returned by the service.
- Throws:
ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeProjectRequest.builder()- Parameters:
describeProjectRequest- AConsumerthat will call methods onDescribeProjectRequest.Builderto create a request.- Returns:
- Result of the DescribeProject operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
UserProfileNotFoundException- The user profile was not found.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDescribeUserProfileRequest.builder()- Parameters:
describeUserProfileRequest- AConsumerthat will call methods onDescribeUserProfileRequest.Builderto create a request.- Returns:
- Result of the DescribeUserProfile operation returned by the service.
- Throws:
UserProfileNotFoundException- The user profile was not found.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDisassociateTeamMemberRequest.builder()- Parameters:
disassociateTeamMemberRequest- AConsumerthat will call methods onDisassociateTeamMemberRequest.Builderto create a request.- Returns:
- Result of the DisassociateTeamMember operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
InvalidNextTokenException- The next token is not valid.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- Result of the ListProjects operation returned by the service.
- Throws:
InvalidNextTokenException- The next token is not valid.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProjects
default ListProjectsResponse listProjects() throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException
Lists all projects in AWS CodeStar associated with your AWS account.
- Returns:
- Result of the ListProjects operation returned by the service.
- Throws:
InvalidNextTokenException- The next token is not valid.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listProjects(ListProjectsRequest), AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListResourcesRequest.builder()- Parameters:
listResourcesRequest- AConsumerthat will call methods onListResourcesRequest.Builderto create a request.- Returns:
- Result of the ListResources operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTagsForProjectRequest.builder()- Parameters:
listTagsForProjectRequest- AConsumerthat will call methods onListTagsForProjectRequest.Builderto create a request.- Returns:
- Result of the ListTagsForProject operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTeamMembersRequest.builder()- Parameters:
listTeamMembersRequest- AConsumerthat will call methods onListTeamMembersRequest.Builderto create a request.- Returns:
- Result of the ListTeamMembers operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
InvalidNextTokenException- The next token is not valid.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListUserProfilesRequest.builder()- Parameters:
listUserProfilesRequest- AConsumerthat will call methods onListUserProfilesRequest.Builderto create a request.- Returns:
- Result of the ListUserProfiles operation returned by the service.
- Throws:
InvalidNextTokenException- The next token is not valid.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUserProfiles
default ListUserProfilesResponse listUserProfiles() throws InvalidNextTokenException, ValidationException, AwsServiceException, SdkClientException, CodeStarException
Lists all the user profiles configured for your AWS account in AWS CodeStar.
- Returns:
- Result of the ListUserProfiles operation returned by the service.
- Throws:
InvalidNextTokenException- The next token is not valid.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listUserProfiles(ListUserProfilesRequest), AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaTagProjectRequest.builder()- Parameters:
tagProjectRequest- AConsumerthat will call methods onTagProjectRequest.Builderto create a request.- Returns:
- Result of the TagProject operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUntagProjectRequest.builder()- Parameters:
untagProjectRequest- AConsumerthat will call methods onUntagProjectRequest.Builderto create a request.- Returns:
- Result of the UntagProject operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ProjectNotFoundException- The specified AWS CodeStar project was not found.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto create a request.- Returns:
- Result of the UpdateProject operation returned by the service.
- Throws:
ProjectNotFoundException- The specified AWS CodeStar project was not found.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateTeamMemberRequest.builder()- Parameters:
updateTeamMemberRequest- AConsumerthat will call methods onUpdateTeamMemberRequest.Builderto create a request.- Returns:
- Result of the UpdateTeamMember operation returned by the service.
- Throws:
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.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
UserProfileNotFoundException- The user profile was not found.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateUserProfileRequest.builder()- Parameters:
updateUserProfileRequest- AConsumerthat will call methods onUpdateUserProfileRequest.Builderto create a request.- Returns:
- Result of the UpdateUserProfile operation returned by the service.
- Throws:
UserProfileNotFoundException- The user profile was not found.ValidationException- The specified input is either not valid, or it could not be validated.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeStarException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static CodeStarClient create()
Create aCodeStarClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static CodeStarClientBuilder builder()
Create a builder that can be used to configure and create aCodeStarClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default CodeStarServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-