pub struct CodeStarClient { /* private fields */ }
Expand description
A client for the CodeStar API.
Implementations§
Source§impl CodeStarClient
impl CodeStarClient
Sourcepub fn new(region: Region) -> CodeStarClient
pub fn new(region: Region) -> CodeStarClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region,
) -> CodeStarClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> CodeStarClient
Trait Implementations§
Source§impl Clone for CodeStarClient
impl Clone for CodeStarClient
Source§fn clone(&self) -> CodeStarClient
fn clone(&self) -> CodeStarClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl CodeStar for CodeStarClient
impl CodeStar for CodeStarClient
Source§fn associate_team_member<'life0, 'async_trait>(
&'life0 self,
input: AssociateTeamMemberRequest,
) -> Pin<Box<dyn Future<Output = Result<AssociateTeamMemberResult, RusotoError<AssociateTeamMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn associate_team_member<'life0, 'async_trait>(
&'life0 self,
input: AssociateTeamMemberRequest,
) -> Pin<Box<dyn Future<Output = Result<AssociateTeamMemberResult, RusotoError<AssociateTeamMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Adds an IAM user to the team for an AWS CodeStar project.
Source§fn create_project<'life0, 'async_trait>(
&'life0 self,
input: CreateProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateProjectResult, RusotoError<CreateProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_project<'life0, 'async_trait>(
&'life0 self,
input: CreateProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateProjectResult, RusotoError<CreateProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn create_user_profile<'life0, 'async_trait>(
&'life0 self,
input: CreateUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateUserProfileResult, RusotoError<CreateUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_user_profile<'life0, 'async_trait>(
&'life0 self,
input: CreateUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateUserProfileResult, RusotoError<CreateUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn delete_project<'life0, 'async_trait>(
&'life0 self,
input: DeleteProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteProjectResult, RusotoError<DeleteProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_project<'life0, 'async_trait>(
&'life0 self,
input: DeleteProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteProjectResult, RusotoError<DeleteProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn delete_user_profile<'life0, 'async_trait>(
&'life0 self,
input: DeleteUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteUserProfileResult, RusotoError<DeleteUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_user_profile<'life0, 'async_trait>(
&'life0 self,
input: DeleteUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteUserProfileResult, RusotoError<DeleteUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn describe_project<'life0, 'async_trait>(
&'life0 self,
input: DescribeProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeProjectResult, RusotoError<DescribeProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_project<'life0, 'async_trait>(
&'life0 self,
input: DescribeProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeProjectResult, RusotoError<DescribeProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Describes a project and its resources.
Source§fn describe_user_profile<'life0, 'async_trait>(
&'life0 self,
input: DescribeUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeUserProfileResult, RusotoError<DescribeUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn describe_user_profile<'life0, 'async_trait>(
&'life0 self,
input: DescribeUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<DescribeUserProfileResult, RusotoError<DescribeUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Describes a user in AWS CodeStar and the user attributes across all projects.
Source§fn disassociate_team_member<'life0, 'async_trait>(
&'life0 self,
input: DisassociateTeamMemberRequest,
) -> Pin<Box<dyn Future<Output = Result<DisassociateTeamMemberResult, RusotoError<DisassociateTeamMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn disassociate_team_member<'life0, 'async_trait>(
&'life0 self,
input: DisassociateTeamMemberRequest,
) -> Pin<Box<dyn Future<Output = Result<DisassociateTeamMemberResult, RusotoError<DisassociateTeamMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn list_projects<'life0, 'async_trait>(
&'life0 self,
input: ListProjectsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListProjectsResult, RusotoError<ListProjectsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_projects<'life0, 'async_trait>(
&'life0 self,
input: ListProjectsRequest,
) -> Pin<Box<dyn Future<Output = Result<ListProjectsResult, RusotoError<ListProjectsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Lists all projects in AWS CodeStar associated with your AWS account.
Source§fn list_resources<'life0, 'async_trait>(
&'life0 self,
input: ListResourcesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListResourcesResult, RusotoError<ListResourcesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_resources<'life0, 'async_trait>(
&'life0 self,
input: ListResourcesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListResourcesResult, RusotoError<ListResourcesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Lists resources associated with a project in AWS CodeStar.
Gets the tags for a project.
Source§fn list_team_members<'life0, 'async_trait>(
&'life0 self,
input: ListTeamMembersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListTeamMembersResult, RusotoError<ListTeamMembersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_team_members<'life0, 'async_trait>(
&'life0 self,
input: ListTeamMembersRequest,
) -> Pin<Box<dyn Future<Output = Result<ListTeamMembersResult, RusotoError<ListTeamMembersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Lists all team members associated with a project.
Source§fn list_user_profiles<'life0, 'async_trait>(
&'life0 self,
input: ListUserProfilesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListUserProfilesResult, RusotoError<ListUserProfilesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_user_profiles<'life0, 'async_trait>(
&'life0 self,
input: ListUserProfilesRequest,
) -> Pin<Box<dyn Future<Output = Result<ListUserProfilesResult, RusotoError<ListUserProfilesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Lists all the user profiles configured for your AWS account in AWS CodeStar.
Source§fn tag_project<'life0, 'async_trait>(
&'life0 self,
input: TagProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<TagProjectResult, RusotoError<TagProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn tag_project<'life0, 'async_trait>(
&'life0 self,
input: TagProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<TagProjectResult, RusotoError<TagProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Adds tags to a project.
Source§fn untag_project<'life0, 'async_trait>(
&'life0 self,
input: UntagProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<UntagProjectResult, RusotoError<UntagProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn untag_project<'life0, 'async_trait>(
&'life0 self,
input: UntagProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<UntagProjectResult, RusotoError<UntagProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Removes tags from a project.
Source§fn update_project<'life0, 'async_trait>(
&'life0 self,
input: UpdateProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateProjectResult, RusotoError<UpdateProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_project<'life0, 'async_trait>(
&'life0 self,
input: UpdateProjectRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateProjectResult, RusotoError<UpdateProjectError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates a project in AWS CodeStar.
Source§fn update_team_member<'life0, 'async_trait>(
&'life0 self,
input: UpdateTeamMemberRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateTeamMemberResult, RusotoError<UpdateTeamMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_team_member<'life0, 'async_trait>(
&'life0 self,
input: UpdateTeamMemberRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateTeamMemberResult, RusotoError<UpdateTeamMemberError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.
Source§fn update_user_profile<'life0, 'async_trait>(
&'life0 self,
input: UpdateUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateUserProfileResult, RusotoError<UpdateUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_user_profile<'life0, 'async_trait>(
&'life0 self,
input: UpdateUserProfileRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateUserProfileResult, RusotoError<UpdateUserProfileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
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.