@Generated(value="software.amazon.awssdk:codegen") public interface CodeStarClient extends SdkClient, SdkAutoCloseable
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.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AssociateTeamMemberResponse |
associateTeamMember(AssociateTeamMemberRequest associateTeamMemberRequest)
Adds an IAM user to the team for an AWS CodeStar project.
|
default AssociateTeamMemberResponse |
associateTeamMember(Consumer<AssociateTeamMemberRequest.Builder> 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 a
CodeStarClient . |
static CodeStarClient |
create()
Create a
CodeStarClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from
the DefaultCredentialsProvider . |
default CreateProjectResponse |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Reserved for future use.
|
default CreateProjectResponse |
createProject(CreateProjectRequest createProjectRequest)
Reserved for future use.
|
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 |
listProjects()
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 |
listUserProfiles()
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.
|
static ServiceMetadata |
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.
|
serviceName
close
static final String SERVICE_NAME
static CodeStarClient create()
CodeStarClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from
the DefaultCredentialsProvider
.static CodeStarClientBuilder builder()
CodeStarClient
.default AssociateTeamMemberResponse associateTeamMember(AssociateTeamMemberRequest associateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, TeamMemberAlreadyAssociatedException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Adds an IAM user to the team for an AWS CodeStar project.
associateTeamMemberRequest
- LimitExceededException
- A resource limit has been exceeded.ProjectNotFoundException
- The specified AWS CodeStar project was not found.TeamMemberAlreadyAssociatedException
- The team member is already associated with a role in this project.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default AssociateTeamMemberResponse associateTeamMember(Consumer<AssociateTeamMemberRequest.Builder> associateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, TeamMemberAlreadyAssociatedException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Adds an IAM user to the team for an AWS CodeStar project.
associateTeamMemberRequest
- LimitExceededException
- A resource limit has been exceeded.ProjectNotFoundException
- The specified AWS CodeStar project was not found.TeamMemberAlreadyAssociatedException
- The team member is already associated with a role in this project.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ProjectAlreadyExistsException, LimitExceededException, ValidationException, ProjectCreationFailedException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Reserved for future use. To create a project, use the AWS CodeStar console.
createProjectRequest
- ProjectAlreadyExistsException
- An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar
project IDs must be unique within a region for the AWS account.LimitExceededException
- A resource limit has been exceeded.ValidationException
- The specified input is either not valid, or it could not be validated.ProjectCreationFailedException
- The project creation request was valid, but a nonspecific exception or error occurred during project
creation. The project could not be created in AWS CodeStar.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ProjectAlreadyExistsException, LimitExceededException, ValidationException, ProjectCreationFailedException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Reserved for future use. To create a project, use the AWS CodeStar console.
createProjectRequest
- ProjectAlreadyExistsException
- An AWS CodeStar project with the same ID already exists in this region for the AWS account. AWS CodeStar
project IDs must be unique within a region for the AWS account.LimitExceededException
- A resource limit has been exceeded.ValidationException
- The specified input is either not valid, or it could not be validated.ProjectCreationFailedException
- The project creation request was valid, but a nonspecific exception or error occurred during project
creation. The project could not be created in AWS CodeStar.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default CreateUserProfileResponse createUserProfile(CreateUserProfileRequest createUserProfileRequest) throws UserProfileAlreadyExistsException, ValidationException, SdkServiceException, 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.
createUserProfileRequest
- UserProfileAlreadyExistsException
- A user profile with that name already exists in this region for the AWS account. AWS CodeStar user
profile names must be unique within a region for the AWS account.ValidationException
- The specified input is either not valid, or it could not be validated.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.SdkServiceException
default CreateUserProfileResponse createUserProfile(Consumer<CreateUserProfileRequest.Builder> createUserProfileRequest) throws UserProfileAlreadyExistsException, ValidationException, SdkServiceException, 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.
createUserProfileRequest
- UserProfileAlreadyExistsException
- A user profile with that name already exists in this region for the AWS account. AWS CodeStar user
profile names must be unique within a region for the AWS account.ValidationException
- The specified input is either not valid, or it could not be validated.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.SdkServiceException
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ConcurrentModificationException, ValidationException, InvalidServiceRoleException, SdkServiceException, 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.
deleteProjectRequest
- ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.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.SdkServiceException
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws ConcurrentModificationException, ValidationException, InvalidServiceRoleException, SdkServiceException, 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.
deleteProjectRequest
- ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.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.SdkServiceException
default DeleteUserProfileResponse deleteUserProfile(DeleteUserProfileRequest deleteUserProfileRequest) throws ValidationException, SdkServiceException, 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.
deleteUserProfileRequest
- 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.SdkServiceException
default DeleteUserProfileResponse deleteUserProfile(Consumer<DeleteUserProfileRequest.Builder> deleteUserProfileRequest) throws ValidationException, SdkServiceException, 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.
deleteUserProfileRequest
- 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.SdkServiceException
default DescribeProjectResponse describeProject(DescribeProjectRequest describeProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Describes a project and its resources.
describeProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default DescribeProjectResponse describeProject(Consumer<DescribeProjectRequest.Builder> describeProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Describes a project and its resources.
describeProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default DescribeUserProfileResponse describeUserProfile(DescribeUserProfileRequest describeUserProfileRequest) throws UserProfileNotFoundException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Describes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfileRequest
- 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.SdkServiceException
default DescribeUserProfileResponse describeUserProfile(Consumer<DescribeUserProfileRequest.Builder> describeUserProfileRequest) throws UserProfileNotFoundException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Describes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfileRequest
- 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.SdkServiceException
default DisassociateTeamMemberResponse disassociateTeamMember(DisassociateTeamMemberRequest disassociateTeamMemberRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ConcurrentModificationException, SdkServiceException, 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.
disassociateTeamMemberRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default DisassociateTeamMemberResponse disassociateTeamMember(Consumer<DisassociateTeamMemberRequest.Builder> disassociateTeamMemberRequest) throws ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ConcurrentModificationException, SdkServiceException, 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.
disassociateTeamMemberRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default ListProjectsResponse listProjects() throws InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all projects in AWS CodeStar associated with your AWS account.
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.SdkServiceException
listProjects(ListProjectsRequest)
,
AWS API
Documentationdefault ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all projects in AWS CodeStar associated with your AWS account.
listProjectsRequest
- 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.SdkServiceException
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all projects in AWS CodeStar associated with your AWS account.
listProjectsRequest
- 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.SdkServiceException
default ListResourcesResponse listResources(ListResourcesRequest listResourcesRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists resources associated with a project in AWS CodeStar.
listResourcesRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.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.SdkServiceException
default ListResourcesResponse listResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists resources associated with a project in AWS CodeStar.
listResourcesRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.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.SdkServiceException
default ListTagsForProjectResponse listTagsForProject(ListTagsForProjectRequest listTagsForProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidNextTokenException, SdkServiceException, SdkClientException, CodeStarException
Gets the tags for a project.
listTagsForProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidNextTokenException
- The next token is not valid.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.SdkServiceException
default ListTagsForProjectResponse listTagsForProject(Consumer<ListTagsForProjectRequest.Builder> listTagsForProjectRequest) throws ProjectNotFoundException, ValidationException, InvalidNextTokenException, SdkServiceException, SdkClientException, CodeStarException
Gets the tags for a project.
listTagsForProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidNextTokenException
- The next token is not valid.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.SdkServiceException
default ListTeamMembersResponse listTeamMembers(ListTeamMembersRequest listTeamMembersRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all team members associated with a project.
listTeamMembersRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.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.SdkServiceException
default ListTeamMembersResponse listTeamMembers(Consumer<ListTeamMembersRequest.Builder> listTeamMembersRequest) throws ProjectNotFoundException, InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all team members associated with a project.
listTeamMembersRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.InvalidNextTokenException
- The next token is not valid.ValidationException
- The specified input is either not valid, or it could not be validated.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.SdkServiceException
default ListUserProfilesResponse listUserProfiles() throws InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all the user profiles configured for your AWS account in AWS CodeStar.
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.SdkServiceException
listUserProfiles(ListUserProfilesRequest)
,
AWS API
Documentationdefault ListUserProfilesResponse listUserProfiles(ListUserProfilesRequest listUserProfilesRequest) throws InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfilesRequest
- 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.SdkServiceException
default ListUserProfilesResponse listUserProfiles(Consumer<ListUserProfilesRequest.Builder> listUserProfilesRequest) throws InvalidNextTokenException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Lists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfilesRequest
- 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.SdkServiceException
default TagProjectResponse tagProject(TagProjectRequest tagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Adds tags to a project.
tagProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.LimitExceededException
- A resource limit has been exceeded.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default TagProjectResponse tagProject(Consumer<TagProjectRequest.Builder> tagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Adds tags to a project.
tagProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.LimitExceededException
- A resource limit has been exceeded.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default UntagProjectResponse untagProject(UntagProjectRequest untagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Removes tags from a project.
untagProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.LimitExceededException
- A resource limit has been exceeded.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default UntagProjectResponse untagProject(Consumer<UntagProjectRequest.Builder> untagProjectRequest) throws ProjectNotFoundException, ValidationException, LimitExceededException, ConcurrentModificationException, SdkServiceException, SdkClientException, CodeStarException
Removes tags from a project.
untagProjectRequest
- ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.LimitExceededException
- A resource limit has been exceeded.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.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.SdkServiceException
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ProjectNotFoundException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Updates a project in AWS CodeStar.
updateProjectRequest
- 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.SdkServiceException
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws ProjectNotFoundException, ValidationException, SdkServiceException, SdkClientException, CodeStarException
Updates a project in AWS CodeStar.
updateProjectRequest
- 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.SdkServiceException
default UpdateTeamMemberResponse updateTeamMember(UpdateTeamMemberRequest updateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, TeamMemberNotFoundException, SdkServiceException, 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.
updateTeamMemberRequest
- LimitExceededException
- A resource limit has been exceeded.ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.TeamMemberNotFoundException
- The specified team member was not found.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.SdkServiceException
default UpdateTeamMemberResponse updateTeamMember(Consumer<UpdateTeamMemberRequest.Builder> updateTeamMemberRequest) throws LimitExceededException, ProjectNotFoundException, ValidationException, InvalidServiceRoleException, ProjectConfigurationException, ConcurrentModificationException, TeamMemberNotFoundException, SdkServiceException, 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.
updateTeamMemberRequest
- LimitExceededException
- A resource limit has been exceeded.ProjectNotFoundException
- The specified AWS CodeStar project was not found.ValidationException
- The specified input is either not valid, or it could not be validated.InvalidServiceRoleException
- The service role is not valid.ProjectConfigurationException
- Project configuration information is required but not specified.ConcurrentModificationException
- Another modification is being made. That modification must complete before you can make your change.TeamMemberNotFoundException
- The specified team member was not found.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.SdkServiceException
default UpdateUserProfileResponse updateUserProfile(UpdateUserProfileRequest updateUserProfileRequest) throws UserProfileNotFoundException, ValidationException, SdkServiceException, 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.
updateUserProfileRequest
- 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.SdkServiceException
default UpdateUserProfileResponse updateUserProfile(Consumer<UpdateUserProfileRequest.Builder> updateUserProfileRequest) throws UserProfileNotFoundException, ValidationException, SdkServiceException, 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.
updateUserProfileRequest
- 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.SdkServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.