Struct aws_sdk_proton::types::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 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) -> 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 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.