Struct aws_sdk_proton::types::ServiceSyncBlockerSummary
source · #[non_exhaustive]pub struct ServiceSyncBlockerSummary {
pub service_name: String,
pub service_instance_name: Option<String>,
pub latest_blockers: Option<Vec<SyncBlocker>>,
}
Expand description
If a service instance is manually updated, Proton wants to prevent accidentally overriding a manual change.
A blocker is created because of the manual update or deletion of a service instance. The summary describes the blocker as being active or resolved.
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.service_name: String
The name of the service that you want to get the sync blocker summary for. If given a service instance name and a service name, it will return the blockers only applying to the instance that is blocked.
If given only a service name, it will return the blockers that apply to all of the instances. In order to get the blockers for a single instance, you will need to make two distinct calls, one to get the sync blocker summary for the service and the other to get the sync blocker for the service instance.
service_instance_name: Option<String>
The name of the service instance that you want sync your service configuration with.
latest_blockers: Option<Vec<SyncBlocker>>
The latest active blockers for the synced service.
Implementations§
source§impl ServiceSyncBlockerSummary
impl ServiceSyncBlockerSummary
sourcepub fn service_name(&self) -> &str
pub fn service_name(&self) -> &str
The name of the service that you want to get the sync blocker summary for. If given a service instance name and a service name, it will return the blockers only applying to the instance that is blocked.
If given only a service name, it will return the blockers that apply to all of the instances. In order to get the blockers for a single instance, you will need to make two distinct calls, one to get the sync blocker summary for the service and the other to get the sync blocker for the service instance.
sourcepub fn service_instance_name(&self) -> Option<&str>
pub fn service_instance_name(&self) -> Option<&str>
The name of the service instance that you want sync your service configuration with.
sourcepub fn latest_blockers(&self) -> &[SyncBlocker]
pub fn latest_blockers(&self) -> &[SyncBlocker]
The latest active blockers for the synced service.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .latest_blockers.is_none()
.
source§impl ServiceSyncBlockerSummary
impl ServiceSyncBlockerSummary
sourcepub fn builder() -> ServiceSyncBlockerSummaryBuilder
pub fn builder() -> ServiceSyncBlockerSummaryBuilder
Creates a new builder-style object to manufacture ServiceSyncBlockerSummary
.
Trait Implementations§
source§impl Clone for ServiceSyncBlockerSummary
impl Clone for ServiceSyncBlockerSummary
source§fn clone(&self) -> ServiceSyncBlockerSummary
fn clone(&self) -> ServiceSyncBlockerSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceSyncBlockerSummary
impl Debug for ServiceSyncBlockerSummary
source§impl PartialEq for ServiceSyncBlockerSummary
impl PartialEq for ServiceSyncBlockerSummary
source§fn eq(&self, other: &ServiceSyncBlockerSummary) -> bool
fn eq(&self, other: &ServiceSyncBlockerSummary) -> bool
self
and other
values to be equal, and is used
by ==
.