Struct aws_sdk_applicationdiscovery::client::fluent_builders::ListServerNeighbors [−][src]
pub struct ListServerNeighbors<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to ListServerNeighbors.
Retrieves a list of servers that are one network hop away from a specified server.
Implementations
impl<C, M, R> ListServerNeighbors<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListServerNeighbors<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListServerNeighborsOutput, SdkError<ListServerNeighborsError>> where
R::Policy: SmithyRetryPolicy<ListServerNeighborsInputOperationOutputAlias, ListServerNeighborsOutput, ListServerNeighborsError, ListServerNeighborsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListServerNeighborsOutput, SdkError<ListServerNeighborsError>> where
R::Policy: SmithyRetryPolicy<ListServerNeighborsInputOperationOutputAlias, ListServerNeighborsOutput, ListServerNeighborsError, ListServerNeighborsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Configuration ID of the server for which neighbors are being listed.
Configuration ID of the server for which neighbors are being listed.
Flag to indicate if port and protocol information is needed as part of the response.
Flag to indicate if port and protocol information is needed as part of the response.
Appends an item to neighborConfigurationIds.
To override the contents of this collection use set_neighbor_configuration_ids.
List of configuration IDs to test for one-hop-away.
List of configuration IDs to test for one-hop-away.
Maximum number of results to return in a single page of output.
Maximum number of results to return in a single page of output.
Token to retrieve the next set of results. For example, if you previously specified 100
IDs for ListServerNeighborsRequest$neighborConfigurationIds but set
ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results
along with a token. Use that token in this query to get the next set of 10.
Token to retrieve the next set of results. For example, if you previously specified 100
IDs for ListServerNeighborsRequest$neighborConfigurationIds but set
ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results
along with a token. Use that token in this query to get the next set of 10.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListServerNeighbors<C, M, R>
impl<C, M, R> Send for ListServerNeighbors<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListServerNeighbors<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListServerNeighbors<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListServerNeighbors<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more