Skip to main content

CodeBuildApi

Trait CodeBuildApi 

Source
pub trait CodeBuildApi:
    Send
    + Sync
    + Debug {
    // Required methods
    fn create_project<'life0, 'async_trait>(
        &'life0 self,
        request: CreateProjectRequest,
    ) -> Pin<Box<dyn Future<Output = Result<CreateProjectResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_project<'life0, 'async_trait>(
        &'life0 self,
        request: DeleteProjectRequest,
    ) -> Pin<Box<dyn Future<Output = Result<DeleteProjectResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_project<'life0, 'async_trait>(
        &'life0 self,
        request: UpdateProjectRequest,
    ) -> Pin<Box<dyn Future<Output = Result<UpdateProjectResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn batch_get_projects<'life0, 'async_trait>(
        &'life0 self,
        request: BatchGetProjectsRequest,
    ) -> Pin<Box<dyn Future<Output = Result<BatchGetProjectsResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn start_build<'life0, 'async_trait>(
        &'life0 self,
        request: StartBuildRequest,
    ) -> Pin<Box<dyn Future<Output = Result<StartBuildResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn stop_build<'life0, 'async_trait>(
        &'life0 self,
        request: StopBuildRequest,
    ) -> Pin<Box<dyn Future<Output = Result<StopBuildResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn batch_get_builds<'life0, 'async_trait>(
        &'life0 self,
        request: BatchGetBuildsRequest,
    ) -> Pin<Box<dyn Future<Output = Result<BatchGetBuildsResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn batch_delete_builds<'life0, 'async_trait>(
        &'life0 self,
        request: BatchDeleteBuildsRequest,
    ) -> Pin<Box<dyn Future<Output = Result<BatchDeleteBuildsResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn retry_build<'life0, 'async_trait>(
        &'life0 self,
        request: RetryBuildRequest,
    ) -> Pin<Box<dyn Future<Output = Result<RetryBuildResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn create_project<'life0, 'async_trait>( &'life0 self, request: CreateProjectRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateProjectResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn delete_project<'life0, 'async_trait>( &'life0 self, request: DeleteProjectRequest, ) -> Pin<Box<dyn Future<Output = Result<DeleteProjectResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn update_project<'life0, 'async_trait>( &'life0 self, request: UpdateProjectRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateProjectResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn batch_get_projects<'life0, 'async_trait>( &'life0 self, request: BatchGetProjectsRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchGetProjectsResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn start_build<'life0, 'async_trait>( &'life0 self, request: StartBuildRequest, ) -> Pin<Box<dyn Future<Output = Result<StartBuildResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn stop_build<'life0, 'async_trait>( &'life0 self, request: StopBuildRequest, ) -> Pin<Box<dyn Future<Output = Result<StopBuildResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn batch_get_builds<'life0, 'async_trait>( &'life0 self, request: BatchGetBuildsRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchGetBuildsResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn batch_delete_builds<'life0, 'async_trait>( &'life0 self, request: BatchDeleteBuildsRequest, ) -> Pin<Box<dyn Future<Output = Result<BatchDeleteBuildsResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn retry_build<'life0, 'async_trait>( &'life0 self, request: RetryBuildRequest, ) -> Pin<Box<dyn Future<Output = Result<RetryBuildResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§