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: StringThe ID of the agent or data collector to delete.
force: boolOptional 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 ==.