Struct aws_sdk_proton::types::ServiceInstanceState
source · #[non_exhaustive]pub struct ServiceInstanceState {
pub spec: Option<String>,
pub template_name: Option<String>,
pub template_major_version: Option<String>,
pub template_minor_version: Option<String>,
pub last_successful_component_deployment_ids: Option<Vec<String>>,
pub last_successful_environment_deployment_id: Option<String>,
pub last_successful_service_pipeline_deployment_id: Option<String>,
}Expand description
The detailed data about the current state of this service instance.
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.spec: Option<String>The service spec that was used to create the service instance.
template_name: Option<String>The name of the service template that was used to create the service instance.
template_major_version: Option<String>The major version of the service template that was used to create the service pipeline.
template_minor_version: Option<String>The minor version of the service template that was used to create the service pipeline.
last_successful_component_deployment_ids: Option<Vec<String>>The IDs for the last successful components deployed for this service instance.
last_successful_environment_deployment_id: Option<String>The ID for the last successful environment deployed for this service instance.
last_successful_service_pipeline_deployment_id: Option<String>The ID for the last successful service pipeline deployed for this service instance.
Implementations§
source§impl ServiceInstanceState
impl ServiceInstanceState
sourcepub fn spec(&self) -> Option<&str>
pub fn spec(&self) -> Option<&str>
The service spec that was used to create the service instance.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the service template that was used to create the service instance.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
The major version of the service template that was used to create the service pipeline.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
The minor version of the service template that was used to create the service pipeline.
sourcepub fn last_successful_component_deployment_ids(&self) -> Option<&[String]>
pub fn last_successful_component_deployment_ids(&self) -> Option<&[String]>
The IDs for the last successful components deployed for this service instance.
sourcepub fn last_successful_environment_deployment_id(&self) -> Option<&str>
pub fn last_successful_environment_deployment_id(&self) -> Option<&str>
The ID for the last successful environment deployed for this service instance.
sourcepub fn last_successful_service_pipeline_deployment_id(&self) -> Option<&str>
pub fn last_successful_service_pipeline_deployment_id(&self) -> Option<&str>
The ID for the last successful service pipeline deployed for this service instance.
source§impl ServiceInstanceState
impl ServiceInstanceState
sourcepub fn builder() -> ServiceInstanceStateBuilder
pub fn builder() -> ServiceInstanceStateBuilder
Creates a new builder-style object to manufacture ServiceInstanceState.
Trait Implementations§
source§impl Clone for ServiceInstanceState
impl Clone for ServiceInstanceState
source§fn clone(&self) -> ServiceInstanceState
fn clone(&self) -> ServiceInstanceState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServiceInstanceState
impl Debug for ServiceInstanceState
source§impl PartialEq for ServiceInstanceState
impl PartialEq for ServiceInstanceState
source§fn eq(&self, other: &ServiceInstanceState) -> bool
fn eq(&self, other: &ServiceInstanceState) -> bool
self and other values to be equal, and is used
by ==.