CodeStarClient

Struct CodeStarClient 

Source
pub struct CodeStarClient { /* private fields */ }
Expand description

A client for the CodeStar API.

Implementations§

Source§

impl CodeStarClient

Source

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.

Source

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,

Source

pub fn new_with_client(client: Client, region: Region) -> CodeStarClient

Trait Implementations§

Source§

impl Clone for CodeStarClient

Source§

fn clone(&self) -> CodeStarClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

Lists resources associated with a project in AWS CodeStar.

Source§

fn list_tags_for_project<'life0, 'async_trait>( &'life0 self, input: ListTagsForProjectRequest, ) -> Pin<Box<dyn Future<Output = Result<ListTagsForProjectResult, RusotoError<ListTagsForProjectError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

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,

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,

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,

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,

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,

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,

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,

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more