Struct aws_sdk_datasync::output::DescribeAgentOutput
source · #[non_exhaustive]pub struct DescribeAgentOutput { /* private fields */ }
Expand description
DescribeAgentResponse
Implementations§
source§impl DescribeAgentOutput
impl DescribeAgentOutput
sourcepub fn status(&self) -> Option<&AgentStatus>
pub fn status(&self) -> Option<&AgentStatus>
The status of the agent. If the status is ONLINE, then the agent is configured properly and is available to use. The Running status is the normal running status for an agent. If the status is OFFLINE, the agent's VM is turned off or the agent is in an unhealthy state. When the issue that caused the unhealthy state is resolved, the agent returns to ONLINE status.
sourcepub fn last_connection_time(&self) -> Option<&DateTime>
pub fn last_connection_time(&self) -> Option<&DateTime>
The time that the agent last connected to DataSync.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the agent was activated (that is, created in your account).
sourcepub fn endpoint_type(&self) -> Option<&EndpointType>
pub fn endpoint_type(&self) -> Option<&EndpointType>
The type of endpoint that your agent is connected to. If the endpoint is a VPC endpoint, the agent is not accessible over the public internet.
sourcepub fn private_link_config(&self) -> Option<&PrivateLinkConfig>
pub fn private_link_config(&self) -> Option<&PrivateLinkConfig>
The subnet and the security group that DataSync used to access a VPC endpoint.
source§impl DescribeAgentOutput
impl DescribeAgentOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeAgentOutput
.
Trait Implementations§
source§impl Clone for DescribeAgentOutput
impl Clone for DescribeAgentOutput
source§fn clone(&self) -> DescribeAgentOutput
fn clone(&self) -> DescribeAgentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeAgentOutput
impl Debug for DescribeAgentOutput
source§impl PartialEq<DescribeAgentOutput> for DescribeAgentOutput
impl PartialEq<DescribeAgentOutput> for DescribeAgentOutput
source§fn eq(&self, other: &DescribeAgentOutput) -> bool
fn eq(&self, other: &DescribeAgentOutput) -> bool
self
and other
values to be equal, and is used
by ==
.