@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSCodeStarAsyncClient extends AWSCodeStarClient implements AWSCodeStarAsync
AsyncHandler can be used to receive notification when
an asynchronous operation completes.
This is the API reference for AWS CodeStar. This reference provides descriptions of the operations and data types for the AWS CodeStar API along with usage examples.
You can use the AWS CodeStar API to work with:
Projects and their resources, by calling the following:
DeleteProject, which deletes a project.
DescribeProject, which lists the attributes of a project.
ListProjects, which lists all projects associated with your AWS account.
ListResources, which lists the resources associated with a project.
ListTagsForProject, which lists the tags associated with a project.
TagProject, which adds tags to a project.
UntagProject, which removes tags from a project.
UpdateProject, which updates the attributes of a project.
Teams and team members, by calling the following:
AssociateTeamMember, which adds an IAM user to the team for a project.
DisassociateTeamMember, which removes an IAM user from the team for a project.
ListTeamMembers, which lists all the IAM users in the team for a project, including their roles and
attributes.
UpdateTeamMember, which updates a team member's attributes in a project.
Users, by calling the following:
CreateUserProfile, which creates a user profile that contains data associated with the user across all
projects.
DeleteUserProfile, which deletes all user profile information across all projects.
DescribeUserProfile, which describes the profile of a user.
ListUserProfiles, which lists all user profiles.
UpdateUserProfile, which updates the profile for a user.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateTeamMember, builder, createProject, createUserProfile, deleteProject, deleteUserProfile, describeProject, describeUserProfile, disassociateTeamMember, getCachedResponseMetadata, listProjects, listResources, listTagsForProject, listTeamMembers, listUserProfiles, tagProject, untagProject, updateProject, updateTeamMember, updateUserProfileaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateTeamMember, createProject, createUserProfile, deleteProject, deleteUserProfile, describeProject, describeUserProfile, disassociateTeamMember, getCachedResponseMetadata, listProjects, listResources, listTagsForProject, listTeamMembers, listUserProfiles, tagProject, untagProject, updateProject, updateTeamMember, updateUserProfilepublic static AWSCodeStarAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateTeamMemberResult> associateTeamMemberAsync(AssociateTeamMemberRequest request)
AWSCodeStarAsyncAdds an IAM user to the team for an AWS CodeStar project.
associateTeamMemberAsync in interface AWSCodeStarAsyncpublic Future<AssociateTeamMemberResult> associateTeamMemberAsync(AssociateTeamMemberRequest request, AsyncHandler<AssociateTeamMemberRequest,AssociateTeamMemberResult> asyncHandler)
AWSCodeStarAsyncAdds an IAM user to the team for an AWS CodeStar project.
associateTeamMemberAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSCodeStarAsyncCreates 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.
createProjectAsync in interface AWSCodeStarAsyncpublic Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSCodeStarAsyncCreates 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.
createProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest request)
AWSCodeStarAsyncCreates 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.
createUserProfileAsync in interface AWSCodeStarAsyncpublic Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest request, AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler)
AWSCodeStarAsyncCreates 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.
createUserProfileAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AWSCodeStarAsyncDeletes 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.
deleteProjectAsync in interface AWSCodeStarAsyncpublic Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSCodeStarAsyncDeletes 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.
deleteProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteUserProfileResult> deleteUserProfileAsync(DeleteUserProfileRequest request)
AWSCodeStarAsyncDeletes 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.
deleteUserProfileAsync in interface AWSCodeStarAsyncpublic Future<DeleteUserProfileResult> deleteUserProfileAsync(DeleteUserProfileRequest request, AsyncHandler<DeleteUserProfileRequest,DeleteUserProfileResult> asyncHandler)
AWSCodeStarAsyncDeletes 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.
deleteUserProfileAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request)
AWSCodeStarAsyncDescribes a project and its resources.
describeProjectAsync in interface AWSCodeStarAsyncpublic Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request, AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
AWSCodeStarAsyncDescribes a project and its resources.
describeProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeUserProfileResult> describeUserProfileAsync(DescribeUserProfileRequest request)
AWSCodeStarAsyncDescribes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfileAsync in interface AWSCodeStarAsyncpublic Future<DescribeUserProfileResult> describeUserProfileAsync(DescribeUserProfileRequest request, AsyncHandler<DescribeUserProfileRequest,DescribeUserProfileResult> asyncHandler)
AWSCodeStarAsyncDescribes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfileAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateTeamMemberResult> disassociateTeamMemberAsync(DisassociateTeamMemberRequest request)
AWSCodeStarAsyncRemoves 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.
disassociateTeamMemberAsync in interface AWSCodeStarAsyncpublic Future<DisassociateTeamMemberResult> disassociateTeamMemberAsync(DisassociateTeamMemberRequest request, AsyncHandler<DisassociateTeamMemberRequest,DisassociateTeamMemberResult> asyncHandler)
AWSCodeStarAsyncRemoves 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.
disassociateTeamMemberAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSCodeStarAsyncLists all projects in AWS CodeStar associated with your AWS account.
listProjectsAsync in interface AWSCodeStarAsyncpublic Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSCodeStarAsyncLists all projects in AWS CodeStar associated with your AWS account.
listProjectsAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request)
AWSCodeStarAsyncLists resources associated with a project in AWS CodeStar.
listResourcesAsync in interface AWSCodeStarAsyncpublic Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AWSCodeStarAsyncLists resources associated with a project in AWS CodeStar.
listResourcesAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForProjectResult> listTagsForProjectAsync(ListTagsForProjectRequest request)
AWSCodeStarAsyncGets the tags for a project.
listTagsForProjectAsync in interface AWSCodeStarAsyncpublic Future<ListTagsForProjectResult> listTagsForProjectAsync(ListTagsForProjectRequest request, AsyncHandler<ListTagsForProjectRequest,ListTagsForProjectResult> asyncHandler)
AWSCodeStarAsyncGets the tags for a project.
listTagsForProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTeamMembersResult> listTeamMembersAsync(ListTeamMembersRequest request)
AWSCodeStarAsyncLists all team members associated with a project.
listTeamMembersAsync in interface AWSCodeStarAsyncpublic Future<ListTeamMembersResult> listTeamMembersAsync(ListTeamMembersRequest request, AsyncHandler<ListTeamMembersRequest,ListTeamMembersResult> asyncHandler)
AWSCodeStarAsyncLists all team members associated with a project.
listTeamMembersAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListUserProfilesResult> listUserProfilesAsync(ListUserProfilesRequest request)
AWSCodeStarAsyncLists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfilesAsync in interface AWSCodeStarAsyncpublic Future<ListUserProfilesResult> listUserProfilesAsync(ListUserProfilesRequest request, AsyncHandler<ListUserProfilesRequest,ListUserProfilesResult> asyncHandler)
AWSCodeStarAsyncLists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfilesAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagProjectResult> tagProjectAsync(TagProjectRequest request)
AWSCodeStarAsyncAdds tags to a project.
tagProjectAsync in interface AWSCodeStarAsyncpublic Future<TagProjectResult> tagProjectAsync(TagProjectRequest request, AsyncHandler<TagProjectRequest,TagProjectResult> asyncHandler)
AWSCodeStarAsyncAdds tags to a project.
tagProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagProjectResult> untagProjectAsync(UntagProjectRequest request)
AWSCodeStarAsyncRemoves tags from a project.
untagProjectAsync in interface AWSCodeStarAsyncpublic Future<UntagProjectResult> untagProjectAsync(UntagProjectRequest request, AsyncHandler<UntagProjectRequest,UntagProjectResult> asyncHandler)
AWSCodeStarAsyncRemoves tags from a project.
untagProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
AWSCodeStarAsyncUpdates a project in AWS CodeStar.
updateProjectAsync in interface AWSCodeStarAsyncpublic Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSCodeStarAsyncUpdates a project in AWS CodeStar.
updateProjectAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateTeamMemberResult> updateTeamMemberAsync(UpdateTeamMemberRequest request)
AWSCodeStarAsyncUpdates 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.
updateTeamMemberAsync in interface AWSCodeStarAsyncpublic Future<UpdateTeamMemberResult> updateTeamMemberAsync(UpdateTeamMemberRequest request, AsyncHandler<UpdateTeamMemberRequest,UpdateTeamMemberResult> asyncHandler)
AWSCodeStarAsyncUpdates 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.
updateTeamMemberAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateUserProfileResult> updateUserProfileAsync(UpdateUserProfileRequest request)
AWSCodeStarAsyncUpdates 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.
updateUserProfileAsync in interface AWSCodeStarAsyncpublic Future<UpdateUserProfileResult> updateUserProfileAsync(UpdateUserProfileRequest request, AsyncHandler<UpdateUserProfileRequest,UpdateUserProfileResult> asyncHandler)
AWSCodeStarAsyncUpdates 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.
updateUserProfileAsync in interface AWSCodeStarAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSCodeStarshutdown in class AWSCodeStarClient