[][src]Struct rusoto_codestar_connections::CodeStarConnectionsClient

pub struct CodeStarConnectionsClient { /* fields omitted */ }

A client for the AWS CodeStar connections API.

Implementations

impl CodeStarConnectionsClient[src]

pub fn new(region: Region) -> CodeStarConnectionsClient[src]

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
) -> CodeStarConnectionsClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(
    client: Client,
    region: Region
) -> CodeStarConnectionsClient
[src]

Trait Implementations

impl Clone for CodeStarConnectionsClient[src]

impl CodeStarConnections for CodeStarConnectionsClient[src]

pub 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, 
[src]

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.

pub 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, 
[src]

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.

pub 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, 
[src]

The connection to be deleted.

pub 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, 
[src]

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.

pub 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, 
[src]

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

pub 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, 
[src]

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

pub 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, 
[src]

Lists the connections associated with your account.

pub 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, 
[src]

Lists the hosts associated with your account.

pub 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, 
[src]

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

pub 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, 
[src]

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

pub 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, 
[src]

Removes tags from an AWS resource.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.