Struct aws_sdk_transfer::model::ListedServer
source · [−]#[non_exhaustive]pub struct ListedServer {
pub arn: Option<String>,
pub domain: Option<Domain>,
pub identity_provider_type: Option<IdentityProviderType>,
pub endpoint_type: Option<EndpointType>,
pub logging_role: Option<String>,
pub server_id: Option<String>,
pub state: Option<State>,
pub user_count: Option<i32>,
}
Expand description
Returns properties of a file transfer protocol-enabled server that was specified.
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.arn: Option<String>
Specifies the unique Amazon Resource Name (ARN) for a server to be listed.
domain: Option<Domain>
Specifies the domain of the storage system that is used for file transfers.
identity_provider_type: Option<IdentityProviderType>
Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED
, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.
Use AWS_DIRECTORY_SERVICE
to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails
parameter.
Use the API_GATEWAY
value to integrate with an identity provider of your choosing. The API_GATEWAY
setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails
parameter.
Use the AWS_LAMBDA
value to directly use a Lambda function as your identity provider. If you choose this value, you must specify the ARN for the lambda function in the Function
parameter for the IdentityProviderDetails
data type.
endpoint_type: Option<EndpointType>
Specifies the type of VPC endpoint that your server is connected to. If your server is connected to a VPC endpoint, your server isn't accessible over the public internet.
logging_role: Option<String>
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.
server_id: Option<String>
Specifies the unique system assigned identifier for the servers that were listed.
state: Option<State>
Specifies the condition of a server for the server that was described. A value of ONLINE
indicates that the server can accept jobs and transfer files. A State
value of OFFLINE
means that the server cannot perform file transfer operations.
The states of STARTING
and STOPPING
indicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of START_FAILED
or STOP_FAILED
can indicate an error condition.
user_count: Option<i32>
Specifies the number of users that are assigned to a server you specified with the ServerId
.
Implementations
sourceimpl ListedServer
impl ListedServer
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
Specifies the unique Amazon Resource Name (ARN) for a server to be listed.
sourcepub fn domain(&self) -> Option<&Domain>
pub fn domain(&self) -> Option<&Domain>
Specifies the domain of the storage system that is used for file transfers.
sourcepub fn identity_provider_type(&self) -> Option<&IdentityProviderType>
pub fn identity_provider_type(&self) -> Option<&IdentityProviderType>
Specifies the mode of authentication for a server. The default value is SERVICE_MANAGED
, which allows you to store and access user credentials within the Amazon Web Services Transfer Family service.
Use AWS_DIRECTORY_SERVICE
to provide access to Active Directory groups in Amazon Web Services Managed Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connectors. This option also requires you to provide a Directory ID using the IdentityProviderDetails
parameter.
Use the API_GATEWAY
value to integrate with an identity provider of your choosing. The API_GATEWAY
setting requires you to provide an API Gateway endpoint URL to call for authentication using the IdentityProviderDetails
parameter.
Use the AWS_LAMBDA
value to directly use a Lambda function as your identity provider. If you choose this value, you must specify the ARN for the lambda function in the Function
parameter for the IdentityProviderDetails
data type.
sourcepub fn endpoint_type(&self) -> Option<&EndpointType>
pub fn endpoint_type(&self) -> Option<&EndpointType>
Specifies the type of VPC endpoint that your server is connected to. If your server is connected to a VPC endpoint, your server isn't accessible over the public internet.
sourcepub fn logging_role(&self) -> Option<&str>
pub fn logging_role(&self) -> Option<&str>
Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.
sourcepub fn server_id(&self) -> Option<&str>
pub fn server_id(&self) -> Option<&str>
Specifies the unique system assigned identifier for the servers that were listed.
sourcepub fn state(&self) -> Option<&State>
pub fn state(&self) -> Option<&State>
Specifies the condition of a server for the server that was described. A value of ONLINE
indicates that the server can accept jobs and transfer files. A State
value of OFFLINE
means that the server cannot perform file transfer operations.
The states of STARTING
and STOPPING
indicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of START_FAILED
or STOP_FAILED
can indicate an error condition.
sourcepub fn user_count(&self) -> Option<i32>
pub fn user_count(&self) -> Option<i32>
Specifies the number of users that are assigned to a server you specified with the ServerId
.
sourceimpl ListedServer
impl ListedServer
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListedServer
Trait Implementations
sourceimpl Clone for ListedServer
impl Clone for ListedServer
sourcefn clone(&self) -> ListedServer
fn clone(&self) -> ListedServer
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 ListedServer
impl Debug for ListedServer
sourceimpl PartialEq<ListedServer> for ListedServer
impl PartialEq<ListedServer> for ListedServer
sourcefn eq(&self, other: &ListedServer) -> bool
fn eq(&self, other: &ListedServer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListedServer) -> bool
fn ne(&self, other: &ListedServer) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListedServer
Auto Trait Implementations
impl RefUnwindSafe for ListedServer
impl Send for ListedServer
impl Sync for ListedServer
impl Unpin for ListedServer
impl UnwindSafe for ListedServer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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