Struct aws_sdk_applicationdiscovery::types::DeleteAgent
source · #[non_exhaustive]pub struct DeleteAgent {
pub agent_id: String,
pub force: bool,
}
Expand description
An object representing the agent or data collector to be deleted along with the optional configurations for error handling.
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.agent_id: String
The ID of the agent or data collector to delete.
force: bool
Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.
Implementations§
source§impl DeleteAgent
impl DeleteAgent
sourcepub fn force(&self) -> bool
pub fn force(&self) -> bool
Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.
source§impl DeleteAgent
impl DeleteAgent
sourcepub fn builder() -> DeleteAgentBuilder
pub fn builder() -> DeleteAgentBuilder
Creates a new builder-style object to manufacture DeleteAgent
.
Trait Implementations§
source§impl Clone for DeleteAgent
impl Clone for DeleteAgent
source§fn clone(&self) -> DeleteAgent
fn clone(&self) -> DeleteAgent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteAgent
impl Debug for DeleteAgent
source§impl PartialEq for DeleteAgent
impl PartialEq for DeleteAgent
source§fn eq(&self, other: &DeleteAgent) -> bool
fn eq(&self, other: &DeleteAgent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteAgent
Auto Trait Implementations§
impl Freeze for DeleteAgent
impl RefUnwindSafe for DeleteAgent
impl Send for DeleteAgent
impl Sync for DeleteAgent
impl Unpin for DeleteAgent
impl UnwindSafe for DeleteAgent
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