Struct aws_sdk_proton::types::ServiceInstanceState
source · #[non_exhaustive]pub struct ServiceInstanceState {
pub spec: String,
pub template_name: String,
pub template_major_version: String,
pub template_minor_version: 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: String
The service spec that was used to create the service instance.
template_name: String
The name of the service template that was used to create the service instance.
template_major_version: String
The major version of the service template that was used to create the service pipeline.
template_minor_version: 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 template_name(&self) -> &str
pub fn template_name(&self) -> &str
The name of the service template that was used to create the service instance.
sourcepub fn template_major_version(&self) -> &str
pub fn template_major_version(&self) -> &str
The major version of the service template that was used to create the service pipeline.
sourcepub fn template_minor_version(&self) -> &str
pub fn template_minor_version(&self) -> &str
The minor version of the service template that was used to create the service pipeline.
sourcepub fn last_successful_component_deployment_ids(&self) -> &[String]
pub fn last_successful_component_deployment_ids(&self) -> &[String]
The IDs for the last successful components deployed for this service instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .last_successful_component_deployment_ids.is_none()
.
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 ==
.