Struct aws_sdk_proton::types::Service
source · #[non_exhaustive]pub struct Service {Show 13 fields
pub name: String,
pub description: Option<String>,
pub arn: String,
pub template_name: String,
pub created_at: DateTime,
pub last_modified_at: DateTime,
pub status: ServiceStatus,
pub status_message: Option<String>,
pub spec: 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: StringThe name of the service.
description: Option<String>A description of the service.
arn: StringThe Amazon Resource Name (ARN) of the service.
template_name: StringThe name of the service template.
created_at: DateTimeThe time when the service was created.
last_modified_at: DateTimeThe time when the service was last modified.
status: ServiceStatusThe status of the service.
status_message: Option<String>A service status message.
spec: StringThe 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 Setting up an AWS CodeStar connection 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§
source§impl 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) -> &str
pub fn template_name(&self) -> &str
The name of the service template.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time when the service was created.
sourcepub fn last_modified_at(&self) -> &DateTime
pub fn last_modified_at(&self) -> &DateTime
The time when the service was last modified.
sourcepub fn status(&self) -> &ServiceStatus
pub fn status(&self) -> &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 Setting up an AWS CodeStar connection 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§
source§impl PartialEq for Service
impl PartialEq for Service
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more