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: String
The name of the service.
description: Option<String>
A description of the service.
arn: String
The Amazon Resource Name (ARN) of the service.
template_name: String
The name of the service template.
created_at: DateTime
The time when the service was created.
last_modified_at: DateTime
The time when the service was last modified.
status: ServiceStatus
The status of the service.
status_message: Option<String>
A service status message.
spec: 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) -> &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.