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
impl StructuralPartialEq for ServiceSyncBlockerSummary
Auto Trait Implementations§
impl Freeze for ServiceSyncBlockerSummary
impl RefUnwindSafe for ServiceSyncBlockerSummary
impl Send for ServiceSyncBlockerSummary
impl Sync for ServiceSyncBlockerSummary
impl Unpin for ServiceSyncBlockerSummary
impl UnwindSafe for ServiceSyncBlockerSummary
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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