Struct aws_sdk_proton::model::Service
source · [−]#[non_exhaustive]pub struct Service {Show 13 fields
pub name: Option<String>,
pub description: Option<String>,
pub arn: Option<String>,
pub template_name: Option<String>,
pub created_at: Option<DateTime>,
pub last_modified_at: Option<DateTime>,
pub status: Option<ServiceStatus>,
pub status_message: Option<String>,
pub spec: Option<String>,
pub pipeline: Option<ServicePipeline>,
pub repository_connection_arn: Option<String>,
pub repository_id: Option<String>,
pub branch_name: Option<String>,
}
Expand description
Detailed data of an Proton service resource.
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.name: Option<String>
The name of the service.
description: Option<String>
A description of the service.
arn: Option<String>
The Amazon Resource Name (ARN) of the service.
template_name: Option<String>
The name of the service template.
created_at: Option<DateTime>
The time when the service was created.
last_modified_at: Option<DateTime>
The time when the service was last modified.
status: Option<ServiceStatus>
The status of the service.
status_message: Option<String>
A service status message.
spec: Option<String>
The formatted specification that defines the service.
pipeline: Option<ServicePipeline>
The service pipeline detail data.
repository_connection_arn: Option<String>
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up a repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide.
repository_id: Option<String>
The ID of the source code repository.
branch_name: Option<String>
The name of the code repository branch that holds the code that's deployed in Proton.
Implementations
sourceimpl Service
impl Service
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the service.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the service template.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the service was created.
sourcepub fn last_modified_at(&self) -> Option<&DateTime>
pub fn last_modified_at(&self) -> Option<&DateTime>
The time when the service was last modified.
sourcepub fn status(&self) -> Option<&ServiceStatus>
pub fn status(&self) -> Option<&ServiceStatus>
The status of the service.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A service status message.
sourcepub fn pipeline(&self) -> Option<&ServicePipeline>
pub fn pipeline(&self) -> Option<&ServicePipeline>
The service pipeline detail data.
sourcepub fn repository_connection_arn(&self) -> Option<&str>
pub fn repository_connection_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the repository connection. For more information, see Set up a repository connection in the Proton Administrator Guide and Setting up with Proton in the Proton User Guide.
sourcepub fn repository_id(&self) -> Option<&str>
pub fn repository_id(&self) -> Option<&str>
The ID of the source code repository.
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the code repository branch that holds the code that's deployed in Proton.
Trait Implementations
impl StructuralPartialEq for Service
Auto Trait Implementations
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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