Struct aws_sdk_codestarconnections::model::Connection
source · [−]#[non_exhaustive]pub struct Connection {
pub connection_name: Option<String>,
pub connection_arn: Option<String>,
pub provider_type: Option<ProviderType>,
pub owner_account_id: Option<String>,
pub connection_status: Option<ConnectionStatus>,
pub host_arn: Option<String>,
}
Expand description
A resource that is used to connect third-party source providers with services like AWS CodePipeline.
Note: A connection created through CloudFormation, the CLI, or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by updating the connection in the console.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.connection_name: Option<String>
The name of the connection. Connection names must be unique in an AWS user account.
connection_arn: Option<String>
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
provider_type: Option<ProviderType>
The name of the external provider where your third-party code repository is configured.
owner_account_id: Option<String>
The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
connection_status: Option<ConnectionStatus>
The current status of the connection.
host_arn: Option<String>
The Amazon Resource Name (ARN) of the host associated with the connection.
Implementations
sourceimpl Connection
impl Connection
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The name of the connection. Connection names must be unique in an AWS user account.
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between AWS services.
The ARN is never reused if the connection is deleted.
sourcepub fn provider_type(&self) -> Option<&ProviderType>
pub fn provider_type(&self) -> Option<&ProviderType>
The name of the external provider where your third-party code repository is configured.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
sourcepub fn connection_status(&self) -> Option<&ConnectionStatus>
pub fn connection_status(&self) -> Option<&ConnectionStatus>
The current status of the connection.
sourceimpl Connection
impl Connection
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Connection
Trait Implementations
sourceimpl Clone for Connection
impl Clone for Connection
sourcefn clone(&self) -> Connection
fn clone(&self) -> Connection
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 Debug for Connection
impl Debug for Connection
sourceimpl PartialEq<Connection> for Connection
impl PartialEq<Connection> for Connection
sourcefn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Connection) -> bool
fn ne(&self, other: &Connection) -> bool
This method tests for !=
.
impl StructuralPartialEq for Connection
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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