Struct aws_sdk_datasync::output::DescribeAgentOutput
source · [−]#[non_exhaustive]pub struct DescribeAgentOutput {
pub agent_arn: Option<String>,
pub name: Option<String>,
pub status: Option<AgentStatus>,
pub last_connection_time: Option<DateTime>,
pub creation_time: Option<DateTime>,
pub endpoint_type: Option<EndpointType>,
pub private_link_config: Option<PrivateLinkConfig>,
}
Expand description
DescribeAgentResponse
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_arn: Option<String>
The Amazon Resource Name (ARN) of the agent.
name: Option<String>
The name of the agent.
status: 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.
last_connection_time: Option<DateTime>
The time that the agent last connected to DataSync.
creation_time: Option<DateTime>
The time that the agent was activated (that is, created in your account).
endpoint_type: 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.
private_link_config: Option<PrivateLinkConfig>
The subnet and the security group that DataSync used to access a VPC endpoint.
Implementations
sourceimpl 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.
sourceimpl DescribeAgentOutput
impl DescribeAgentOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeAgentOutput
Trait Implementations
sourceimpl Clone for DescribeAgentOutput
impl Clone for DescribeAgentOutput
sourcefn clone(&self) -> DescribeAgentOutput
fn clone(&self) -> DescribeAgentOutput
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 DescribeAgentOutput
impl Debug for DescribeAgentOutput
sourceimpl PartialEq<DescribeAgentOutput> for DescribeAgentOutput
impl PartialEq<DescribeAgentOutput> for DescribeAgentOutput
sourcefn eq(&self, other: &DescribeAgentOutput) -> bool
fn eq(&self, other: &DescribeAgentOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeAgentOutput) -> bool
fn ne(&self, other: &DescribeAgentOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeAgentOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeAgentOutput
impl Send for DescribeAgentOutput
impl Sync for DescribeAgentOutput
impl Unpin for DescribeAgentOutput
impl UnwindSafe for DescribeAgentOutput
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