Struct aws_sdk_alexaforbusiness::operation::list_device_events::builders::ListDeviceEventsFluentBuilder
source · pub struct ListDeviceEventsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListDeviceEvents
.
Lists the device event history, including device connection status, for up to 30 days.
Implementations§
source§impl ListDeviceEventsFluentBuilder
impl ListDeviceEventsFluentBuilder
sourcepub fn as_input(&self) -> &ListDeviceEventsInputBuilder
pub fn as_input(&self) -> &ListDeviceEventsInputBuilder
Access the ListDeviceEvents as a reference.
sourcepub async fn send(
self
) -> Result<ListDeviceEventsOutput, SdkError<ListDeviceEventsError, HttpResponse>>
pub async fn send( self ) -> Result<ListDeviceEventsOutput, SdkError<ListDeviceEventsError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<ListDeviceEventsOutput, ListDeviceEventsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListDeviceEventsOutput, ListDeviceEventsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListDeviceEventsPaginator
pub fn into_paginator(self) -> ListDeviceEventsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn device_arn(self, input: impl Into<String>) -> Self
pub fn device_arn(self, input: impl Into<String>) -> Self
The ARN of a device.
sourcepub fn set_device_arn(self, input: Option<String>) -> Self
pub fn set_device_arn(self, input: Option<String>) -> Self
The ARN of a device.
sourcepub fn get_device_arn(&self) -> &Option<String>
pub fn get_device_arn(&self) -> &Option<String>
The ARN of a device.
sourcepub fn event_type(self, input: DeviceEventType) -> Self
pub fn event_type(self, input: DeviceEventType) -> Self
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
sourcepub fn set_event_type(self, input: Option<DeviceEventType>) -> Self
pub fn set_event_type(self, input: Option<DeviceEventType>) -> Self
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
sourcepub fn get_event_type(&self) -> &Option<DeviceEventType>
pub fn get_event_type(&self) -> &Option<DeviceEventType>
The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
Trait Implementations§
source§impl Clone for ListDeviceEventsFluentBuilder
impl Clone for ListDeviceEventsFluentBuilder
source§fn clone(&self) -> ListDeviceEventsFluentBuilder
fn clone(&self) -> ListDeviceEventsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for ListDeviceEventsFluentBuilder
impl !RefUnwindSafe for ListDeviceEventsFluentBuilder
impl Send for ListDeviceEventsFluentBuilder
impl Sync for ListDeviceEventsFluentBuilder
impl Unpin for ListDeviceEventsFluentBuilder
impl !UnwindSafe for ListDeviceEventsFluentBuilder
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> 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