logo
pub trait CodeStarConnections {
    fn create_connection<'life0, 'async_trait>(
        &'life0 self,
        input: CreateConnectionInput
    ) -> Pin<Box<dyn Future<Output = Result<CreateConnectionOutput, RusotoError<CreateConnectionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn create_host<'life0, 'async_trait>(
        &'life0 self,
        input: CreateHostInput
    ) -> Pin<Box<dyn Future<Output = Result<CreateHostOutput, RusotoError<CreateHostError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delete_connection<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteConnectionInput
    ) -> Pin<Box<dyn Future<Output = Result<DeleteConnectionOutput, RusotoError<DeleteConnectionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delete_host<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteHostInput
    ) -> Pin<Box<dyn Future<Output = Result<DeleteHostOutput, RusotoError<DeleteHostError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn get_connection<'life0, 'async_trait>(
        &'life0 self,
        input: GetConnectionInput
    ) -> Pin<Box<dyn Future<Output = Result<GetConnectionOutput, RusotoError<GetConnectionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn get_host<'life0, 'async_trait>(
        &'life0 self,
        input: GetHostInput
    ) -> Pin<Box<dyn Future<Output = Result<GetHostOutput, RusotoError<GetHostError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_connections<'life0, 'async_trait>(
        &'life0 self,
        input: ListConnectionsInput
    ) -> Pin<Box<dyn Future<Output = Result<ListConnectionsOutput, RusotoError<ListConnectionsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_hosts<'life0, 'async_trait>(
        &'life0 self,
        input: ListHostsInput
    ) -> Pin<Box<dyn Future<Output = Result<ListHostsOutput, RusotoError<ListHostsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn list_tags_for_resource<'life0, 'async_trait>(
        &'life0 self,
        input: ListTagsForResourceInput
    ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceOutput, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn tag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: TagResourceInput
    ) -> Pin<Box<dyn Future<Output = Result<TagResourceOutput, RusotoError<TagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn untag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: UntagResourceInput
    ) -> Pin<Box<dyn Future<Output = Result<UntagResourceOutput, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn update_host<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateHostInput
    ) -> Pin<Box<dyn Future<Output = Result<UpdateHostOutput, RusotoError<UpdateHostError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Trait representing the capabilities of the AWS CodeStar connections API. AWS CodeStar connections clients implement this trait.

Required Methods

Creates a connection that can then be given to other AWS services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.

Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider.

A host created through the CLI or the SDK is in PENDING status by default. You can make its status AVAILABLE by setting up the host in the console.

The connection to be deleted.

The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.

A host cannot be deleted if it is in the VPCCONFIGINITIALIZING or VPCCONFIGDELETING state.

Returns the connection ARN and details such as status, owner, and provider type.

Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.

Lists the connections associated with your account.

Lists the hosts associated with your account.

Gets the set of key-value pairs (metadata) that are used to manage the resource.

Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.

Removes tags from an AWS resource.

Updates a specified host with the provided configurations.

Implementors