Struct aws_sdk_inspector::model::AssessmentRunAgent
source · [−]#[non_exhaustive]pub struct AssessmentRunAgent {
pub agent_id: Option<String>,
pub assessment_run_arn: Option<String>,
pub agent_health: Option<AgentHealth>,
pub agent_health_code: Option<AgentHealthCode>,
pub agent_health_details: Option<String>,
pub auto_scaling_group: Option<String>,
pub telemetry_metadata: Option<Vec<TelemetryMetadata>>,
}Expand description
Contains information about an Amazon Inspector agent. This data type is used as a response element in the ListAssessmentRunAgents action.
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: Option<String>The AWS account of the EC2 instance where the agent is installed.
assessment_run_arn: Option<String>The ARN of the assessment run that is associated with the agent.
agent_health: Option<AgentHealth>The current health state of the agent.
agent_health_code: Option<AgentHealthCode>The detailed health state of the agent.
agent_health_details: Option<String>The description for the agent health code.
auto_scaling_group: Option<String>The Auto Scaling group of the EC2 instance that is specified by the agent ID.
telemetry_metadata: Option<Vec<TelemetryMetadata>>The Amazon Inspector application data metrics that are collected by the agent.
Implementations
sourceimpl AssessmentRunAgent
impl AssessmentRunAgent
sourcepub fn agent_id(&self) -> Option<&str>
pub fn agent_id(&self) -> Option<&str>
The AWS account of the EC2 instance where the agent is installed.
sourcepub fn assessment_run_arn(&self) -> Option<&str>
pub fn assessment_run_arn(&self) -> Option<&str>
The ARN of the assessment run that is associated with the agent.
sourcepub fn agent_health(&self) -> Option<&AgentHealth>
pub fn agent_health(&self) -> Option<&AgentHealth>
The current health state of the agent.
sourcepub fn agent_health_code(&self) -> Option<&AgentHealthCode>
pub fn agent_health_code(&self) -> Option<&AgentHealthCode>
The detailed health state of the agent.
sourcepub fn agent_health_details(&self) -> Option<&str>
pub fn agent_health_details(&self) -> Option<&str>
The description for the agent health code.
sourcepub fn auto_scaling_group(&self) -> Option<&str>
pub fn auto_scaling_group(&self) -> Option<&str>
The Auto Scaling group of the EC2 instance that is specified by the agent ID.
sourcepub fn telemetry_metadata(&self) -> Option<&[TelemetryMetadata]>
pub fn telemetry_metadata(&self) -> Option<&[TelemetryMetadata]>
The Amazon Inspector application data metrics that are collected by the agent.
sourceimpl AssessmentRunAgent
impl AssessmentRunAgent
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AssessmentRunAgent
Trait Implementations
sourceimpl Clone for AssessmentRunAgent
impl Clone for AssessmentRunAgent
sourcefn clone(&self) -> AssessmentRunAgent
fn clone(&self) -> AssessmentRunAgent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AssessmentRunAgent
impl Debug for AssessmentRunAgent
sourceimpl PartialEq<AssessmentRunAgent> for AssessmentRunAgent
impl PartialEq<AssessmentRunAgent> for AssessmentRunAgent
sourcefn eq(&self, other: &AssessmentRunAgent) -> bool
fn eq(&self, other: &AssessmentRunAgent) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AssessmentRunAgent) -> bool
fn ne(&self, other: &AssessmentRunAgent) -> bool
This method tests for !=.
impl StructuralPartialEq for AssessmentRunAgent
Auto Trait Implementations
impl RefUnwindSafe for AssessmentRunAgent
impl Send for AssessmentRunAgent
impl Sync for AssessmentRunAgent
impl Unpin for AssessmentRunAgent
impl UnwindSafe for AssessmentRunAgent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more