Struct aws_sdk_greengrassv2::client::fluent_builders::ListCoreDevices [−][src]
pub struct ListCoreDevices<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListCoreDevices
.
Retrieves a paginated list of Greengrass core devices.
Implementations
impl<C, M, R> ListCoreDevices<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListCoreDevices<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListCoreDevicesOutput, SdkError<ListCoreDevicesError>> where
R::Policy: SmithyRetryPolicy<ListCoreDevicesInputOperationOutputAlias, ListCoreDevicesOutput, ListCoreDevicesError, ListCoreDevicesInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListCoreDevicesOutput, SdkError<ListCoreDevicesError>> where
R::Policy: SmithyRetryPolicy<ListCoreDevicesInputOperationOutputAlias, ListCoreDevicesOutput, ListCoreDevicesError, ListCoreDevicesInputOperationRetryAlias>,
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.
The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.
The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:
-
HEALTHY
– The IoT Greengrass Core software and all components run on the core device without issue. -
UNHEALTHY
– The IoT Greengrass Core software or a component is in a failed state on the core device.
The maximum number of results to be returned per paginated request.
The maximum number of results to be returned per paginated request.
The token to be used for the next set of paginated results.
The token to be used for the next set of paginated results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListCoreDevices<C, M, R>
impl<C, M, R> Send for ListCoreDevices<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListCoreDevices<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListCoreDevices<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListCoreDevices<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