@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_METRIC
ENDPOINT_PREFIX
associateTeamMember, builder, createProject, createUserProfile, deleteProject, deleteUserProfile, describeProject, describeUserProfile, disassociateTeamMember, getCachedResponseMetadata, listProjects, listResources, listTagsForProject, listTeamMembers, listUserProfiles, tagProject, untagProject, updateProject, updateTeamMember, updateUserProfile
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateTeamMember, createProject, createUserProfile, deleteProject, deleteUserProfile, describeProject, describeUserProfile, disassociateTeamMember, getCachedResponseMetadata, listProjects, listResources, listTagsForProject, listTeamMembers, listUserProfiles, tagProject, untagProject, updateProject, updateTeamMember, updateUserProfile
public static AWSCodeStarAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateTeamMemberResult> associateTeamMemberAsync(AssociateTeamMemberRequest request)
AWSCodeStarAsync
Adds an IAM user to the team for an AWS CodeStar project.
associateTeamMemberAsync
in interface AWSCodeStarAsync
public Future<AssociateTeamMemberResult> associateTeamMemberAsync(AssociateTeamMemberRequest request, AsyncHandler<AssociateTeamMemberRequest,AssociateTeamMemberResult> asyncHandler)
AWSCodeStarAsync
Adds an IAM user to the team for an AWS CodeStar project.
associateTeamMemberAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Reserved for future use. To create a project, use the AWS CodeStar console.
createProjectAsync
in interface AWSCodeStarAsync
public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSCodeStarAsync
Reserved for future use. To create a project, use the AWS CodeStar console.
createProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
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.
createUserProfileAsync
in interface AWSCodeStarAsync
public Future<CreateUserProfileResult> createUserProfileAsync(CreateUserProfileRequest request, AsyncHandler<CreateUserProfileRequest,CreateUserProfileResult> asyncHandler)
AWSCodeStarAsync
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.
createUserProfileAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
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.
deleteProjectAsync
in interface AWSCodeStarAsync
public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSCodeStarAsync
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.
deleteProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
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.
deleteUserProfileAsync
in interface AWSCodeStarAsync
public Future<DeleteUserProfileResult> deleteUserProfileAsync(DeleteUserProfileRequest request, AsyncHandler<DeleteUserProfileRequest,DeleteUserProfileResult> asyncHandler)
AWSCodeStarAsync
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.
deleteUserProfileAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Describes a project and its resources.
describeProjectAsync
in interface AWSCodeStarAsync
public Future<DescribeProjectResult> describeProjectAsync(DescribeProjectRequest request, AsyncHandler<DescribeProjectRequest,DescribeProjectResult> asyncHandler)
AWSCodeStarAsync
Describes a project and its resources.
describeProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Describes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfileAsync
in interface AWSCodeStarAsync
public Future<DescribeUserProfileResult> describeUserProfileAsync(DescribeUserProfileRequest request, AsyncHandler<DescribeUserProfileRequest,DescribeUserProfileResult> asyncHandler)
AWSCodeStarAsync
Describes a user in AWS CodeStar and the user attributes across all projects.
describeUserProfileAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
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.
disassociateTeamMemberAsync
in interface AWSCodeStarAsync
public Future<DisassociateTeamMemberResult> disassociateTeamMemberAsync(DisassociateTeamMemberRequest request, AsyncHandler<DisassociateTeamMemberRequest,DisassociateTeamMemberResult> asyncHandler)
AWSCodeStarAsync
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.
disassociateTeamMemberAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Lists all projects in AWS CodeStar associated with your AWS account.
listProjectsAsync
in interface AWSCodeStarAsync
public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSCodeStarAsync
Lists all projects in AWS CodeStar associated with your AWS account.
listProjectsAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Lists resources associated with a project in AWS CodeStar.
listResourcesAsync
in interface AWSCodeStarAsync
public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AWSCodeStarAsync
Lists resources associated with a project in AWS CodeStar.
listResourcesAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Gets the tags for a project.
listTagsForProjectAsync
in interface AWSCodeStarAsync
public Future<ListTagsForProjectResult> listTagsForProjectAsync(ListTagsForProjectRequest request, AsyncHandler<ListTagsForProjectRequest,ListTagsForProjectResult> asyncHandler)
AWSCodeStarAsync
Gets the tags for a project.
listTagsForProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Lists all team members associated with a project.
listTeamMembersAsync
in interface AWSCodeStarAsync
public Future<ListTeamMembersResult> listTeamMembersAsync(ListTeamMembersRequest request, AsyncHandler<ListTeamMembersRequest,ListTeamMembersResult> asyncHandler)
AWSCodeStarAsync
Lists all team members associated with a project.
listTeamMembersAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Lists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfilesAsync
in interface AWSCodeStarAsync
public Future<ListUserProfilesResult> listUserProfilesAsync(ListUserProfilesRequest request, AsyncHandler<ListUserProfilesRequest,ListUserProfilesResult> asyncHandler)
AWSCodeStarAsync
Lists all the user profiles configured for your AWS account in AWS CodeStar.
listUserProfilesAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Adds tags to a project.
tagProjectAsync
in interface AWSCodeStarAsync
public Future<TagProjectResult> tagProjectAsync(TagProjectRequest request, AsyncHandler<TagProjectRequest,TagProjectResult> asyncHandler)
AWSCodeStarAsync
Adds tags to a project.
tagProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Removes tags from a project.
untagProjectAsync
in interface AWSCodeStarAsync
public Future<UntagProjectResult> untagProjectAsync(UntagProjectRequest request, AsyncHandler<UntagProjectRequest,UntagProjectResult> asyncHandler)
AWSCodeStarAsync
Removes tags from a project.
untagProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
Updates a project in AWS CodeStar.
updateProjectAsync
in interface AWSCodeStarAsync
public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSCodeStarAsync
Updates a project in AWS CodeStar.
updateProjectAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
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.
updateTeamMemberAsync
in interface AWSCodeStarAsync
public Future<UpdateTeamMemberResult> updateTeamMemberAsync(UpdateTeamMemberRequest request, AsyncHandler<UpdateTeamMemberRequest,UpdateTeamMemberResult> asyncHandler)
AWSCodeStarAsync
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.
updateTeamMemberAsync
in interface AWSCodeStarAsync
asyncHandler
- 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)
AWSCodeStarAsync
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.
updateUserProfileAsync
in interface AWSCodeStarAsync
public Future<UpdateUserProfileResult> updateUserProfileAsync(UpdateUserProfileRequest request, AsyncHandler<UpdateUserProfileRequest,UpdateUserProfileResult> asyncHandler)
AWSCodeStarAsync
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.
updateUserProfileAsync
in interface AWSCodeStarAsync
asyncHandler
- 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 AWSCodeStar
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.