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: StringThe service spec that was used to create the service instance.
template_name: StringThe name of the service template that was used to create the service instance.
template_major_version: StringThe major version of the service template that was used to create the service pipeline.
template_minor_version: StringThe 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 ==.impl StructuralPartialEq for ServiceInstanceState
Auto Trait Implementations§
impl Freeze for ServiceInstanceState
impl RefUnwindSafe for ServiceInstanceState
impl Send for ServiceInstanceState
impl Sync for ServiceInstanceState
impl Unpin for ServiceInstanceState
impl UnwindSafe for ServiceInstanceState
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