Struct rusoto_codestar::CodeStarClient
source · [−]pub struct CodeStarClient { /* private fields */ }
Expand description
A client for the CodeStar API.
Implementations
sourceimpl 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
) -> CodeStarClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> CodeStarClient
Trait Implementations
sourceimpl Clone for CodeStarClient
impl Clone for CodeStarClient
sourcefn clone(&self) -> CodeStarClient
fn clone(&self) -> CodeStarClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl CodeStar for CodeStarClient
impl CodeStar for CodeStarClient
sourcefn associate_team_member<'life0, 'async_trait>(
&'life0 self,
input: AssociateTeamMemberRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateTeamMemberResult, RusotoError<AssociateTeamMemberError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Adds an IAM user to the team for an AWS CodeStar project.
sourcefn create_project<'life0, 'async_trait>(
&'life0 self,
input: CreateProjectRequest
) -> Pin<Box<dyn Future<Output = Result<CreateProjectResult, RusotoError<CreateProjectError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
sourcefn create_user_profile<'life0, 'async_trait>(
&'life0 self,
input: CreateUserProfileRequest
) -> Pin<Box<dyn Future<Output = Result<CreateUserProfileResult, RusotoError<CreateUserProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
sourcefn delete_project<'life0, 'async_trait>(
&'life0 self,
input: DeleteProjectRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteProjectResult, RusotoError<DeleteProjectError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
sourcefn delete_user_profile<'life0, 'async_trait>(
&'life0 self,
input: DeleteUserProfileRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteUserProfileResult, RusotoError<DeleteUserProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
sourcefn describe_project<'life0, 'async_trait>(
&'life0 self,
input: DescribeProjectRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeProjectResult, RusotoError<DescribeProjectError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Describes a project and its resources.
sourcefn describe_user_profile<'life0, 'async_trait>(
&'life0 self,
input: DescribeUserProfileRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeUserProfileResult, RusotoError<DescribeUserProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Describes a user in AWS CodeStar and the user attributes across all projects.
sourcefn disassociate_team_member<'life0, 'async_trait>(
&'life0 self,
input: DisassociateTeamMemberRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateTeamMemberResult, RusotoError<DisassociateTeamMemberError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
sourcefn list_projects<'life0, 'async_trait>(
&'life0 self,
input: ListProjectsRequest
) -> Pin<Box<dyn Future<Output = Result<ListProjectsResult, RusotoError<ListProjectsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Lists all projects in AWS CodeStar associated with your AWS account.
sourcefn list_resources<'life0, 'async_trait>(
&'life0 self,
input: ListResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListResourcesResult, RusotoError<ListResourcesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Lists resources associated with a project in AWS CodeStar.
Gets the tags for a project.
sourcefn list_team_members<'life0, 'async_trait>(
&'life0 self,
input: ListTeamMembersRequest
) -> Pin<Box<dyn Future<Output = Result<ListTeamMembersResult, RusotoError<ListTeamMembersError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Lists all team members associated with a project.
sourcefn list_user_profiles<'life0, 'async_trait>(
&'life0 self,
input: ListUserProfilesRequest
) -> Pin<Box<dyn Future<Output = Result<ListUserProfilesResult, RusotoError<ListUserProfilesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Lists all the user profiles configured for your AWS account in AWS CodeStar.
sourcefn tag_project<'life0, 'async_trait>(
&'life0 self,
input: TagProjectRequest
) -> Pin<Box<dyn Future<Output = Result<TagProjectResult, RusotoError<TagProjectError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Adds tags to a project.
sourcefn untag_project<'life0, 'async_trait>(
&'life0 self,
input: UntagProjectRequest
) -> Pin<Box<dyn Future<Output = Result<UntagProjectResult, RusotoError<UntagProjectError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Removes tags from a project.
sourcefn update_project<'life0, 'async_trait>(
&'life0 self,
input: UpdateProjectRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateProjectResult, RusotoError<UpdateProjectError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: 'async_trait,
Updates a project in AWS CodeStar.
sourcefn update_team_member<'life0, 'async_trait>(
&'life0 self,
input: UpdateTeamMemberRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateTeamMemberResult, RusotoError<UpdateTeamMemberError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
sourcefn update_user_profile<'life0, 'async_trait>(
&'life0 self,
input: UpdateUserProfileRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateUserProfileResult, RusotoError<UpdateUserProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: '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
'life0: 'async_trait,
Self: '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.
Auto Trait Implementations
impl !RefUnwindSafe for CodeStarClient
impl Send for CodeStarClient
impl Sync for CodeStarClient
impl Unpin for CodeStarClient
impl !UnwindSafe for CodeStarClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more