// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeAgent`](crate::operation::describe_agent::builders::DescribeAgentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`agent_arn(impl Into<String>)`](crate::operation::describe_agent::builders::DescribeAgentFluentBuilder::agent_arn) / [`set_agent_arn(Option<String>)`](crate::operation::describe_agent::builders::DescribeAgentFluentBuilder::set_agent_arn): <p>Specifies the Amazon Resource Name (ARN) of the DataSync agent to describe.</p>
/// - On success, responds with [`DescribeAgentOutput`](crate::operation::describe_agent::DescribeAgentOutput) with field(s):
/// - [`agent_arn(Option<String>)`](crate::operation::describe_agent::DescribeAgentOutput::agent_arn): <p>The ARN of the agent.</p>
/// - [`name(Option<String>)`](crate::operation::describe_agent::DescribeAgentOutput::name): <p>The name of the agent.</p>
/// - [`status(Option<AgentStatus>)`](crate::operation::describe_agent::DescribeAgentOutput::status): <p>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.</p>
/// - [`last_connection_time(Option<DateTime>)`](crate::operation::describe_agent::DescribeAgentOutput::last_connection_time): <p>The time that the agent last connected to DataSync.</p>
/// - [`creation_time(Option<DateTime>)`](crate::operation::describe_agent::DescribeAgentOutput::creation_time): <p>The time that the agent was activated (that is, created in your account).</p>
/// - [`endpoint_type(Option<EndpointType>)`](crate::operation::describe_agent::DescribeAgentOutput::endpoint_type): <p>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. </p>
/// - [`private_link_config(Option<PrivateLinkConfig>)`](crate::operation::describe_agent::DescribeAgentOutput::private_link_config): <p>The subnet and the security group that DataSync used to access a VPC endpoint.</p>
/// - On failure, responds with [`SdkError<DescribeAgentError>`](crate::operation::describe_agent::DescribeAgentError)
pub fn describe_agent(&self) -> crate::operation::describe_agent::builders::DescribeAgentFluentBuilder {
crate::operation::describe_agent::builders::DescribeAgentFluentBuilder::new(self.handle.clone())
}
}