#[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>,
pub platform: Option<Platform>,
/* private fields */
}
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 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
, the agent is configured properly and ready to use. -
If the status is
OFFLINE
, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
last_connection_time: Option<DateTime>
The last time that the agent was communicating with the DataSync service.
creation_time: Option<DateTime>
The time that the agent was activated.
endpoint_type: Option<EndpointType>
The type of service endpoint that your agent is connected to.
private_link_config: Option<PrivateLinkConfig>
The network configuration that the agent uses when connecting to a VPC service endpoint.
platform: Option<Platform>
The platform-related details about the agent, such as the version number.
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
, the agent is configured properly and ready to use. -
If the status is
OFFLINE
, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?
sourcepub fn last_connection_time(&self) -> Option<&DateTime>
pub fn last_connection_time(&self) -> Option<&DateTime>
The last time that the agent was communicating with the DataSync service.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the agent was activated.
sourcepub fn endpoint_type(&self) -> Option<&EndpointType>
pub fn endpoint_type(&self) -> Option<&EndpointType>
The type of service endpoint that your agent is connected to.
sourcepub fn private_link_config(&self) -> Option<&PrivateLinkConfig>
pub fn private_link_config(&self) -> Option<&PrivateLinkConfig>
The network configuration that the agent uses when connecting to a VPC service endpoint.
source§impl DescribeAgentOutput
impl DescribeAgentOutput
sourcepub fn builder() -> DescribeAgentOutputBuilder
pub fn builder() -> DescribeAgentOutputBuilder
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 for DescribeAgentOutput
impl PartialEq 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 ==
.source§impl RequestId for DescribeAgentOutput
impl RequestId for DescribeAgentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeAgentOutput
Auto Trait Implementations§
impl Freeze for DescribeAgentOutput
impl RefUnwindSafe for DescribeAgentOutput
impl Send for DescribeAgentOutput
impl Sync for DescribeAgentOutput
impl Unpin for DescribeAgentOutput
impl UnwindSafe for DescribeAgentOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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