pub struct IotEventsDataClient { /* private fields */ }
Expand description
A client for the AWS IoT Events Data API.
Implementations
sourceimpl IotEventsDataClient
impl IotEventsDataClient
sourcepub fn new(region: Region) -> IotEventsDataClient
pub fn new(region: Region) -> IotEventsDataClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> IotEventsDataClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> IotEventsDataClient
Trait Implementations
sourceimpl Clone for IotEventsDataClient
impl Clone for IotEventsDataClient
sourcefn clone(&self) -> IotEventsDataClient
fn clone(&self) -> IotEventsDataClient
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 IotEventsData for IotEventsDataClient
impl IotEventsData for IotEventsDataClient
sourcefn batch_acknowledge_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchAcknowledgeAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchAcknowledgeAlarmResponse, RusotoError<BatchAcknowledgeAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_acknowledge_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchAcknowledgeAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchAcknowledgeAlarmResponse, RusotoError<BatchAcknowledgeAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED
state after you acknowledge them.
sourcefn batch_disable_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchDisableAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDisableAlarmResponse, RusotoError<BatchDisableAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_disable_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchDisableAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDisableAlarmResponse, RusotoError<BatchDisableAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disables one or more alarms. The alarms change to the DISABLED
state after you disable them.
sourcefn batch_enable_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchEnableAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchEnableAlarmResponse, RusotoError<BatchEnableAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_enable_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchEnableAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchEnableAlarmResponse, RusotoError<BatchEnableAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Enables one or more alarms. The alarms change to the NORMAL
state after you enable them.
sourcefn batch_put_message<'life0, 'async_trait>(
&'life0 self,
input: BatchPutMessageRequest
) -> Pin<Box<dyn Future<Output = Result<BatchPutMessageResponse, RusotoError<BatchPutMessageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_put_message<'life0, 'async_trait>(
&'life0 self,
input: BatchPutMessageRequest
) -> Pin<Box<dyn Future<Output = Result<BatchPutMessageResponse, RusotoError<BatchPutMessageError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into the input you specify ("inputName"
) and ingested into any detectors that monitor that input. If multiple messages are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send messages one at a time and wait for a successful response.
sourcefn batch_reset_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchResetAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchResetAlarmResponse, RusotoError<BatchResetAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_reset_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchResetAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchResetAlarmResponse, RusotoError<BatchResetAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Resets one or more alarms. The alarms return to the NORMAL
state after you reset them.
sourcefn batch_snooze_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchSnoozeAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchSnoozeAlarmResponse, RusotoError<BatchSnoozeAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_snooze_alarm<'life0, 'async_trait>(
&'life0 self,
input: BatchSnoozeAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<BatchSnoozeAlarmResponse, RusotoError<BatchSnoozeAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED
state after you set them to the snooze mode.
sourcefn batch_update_detector<'life0, 'async_trait>(
&'life0 self,
input: BatchUpdateDetectorRequest
) -> Pin<Box<dyn Future<Output = Result<BatchUpdateDetectorResponse, RusotoError<BatchUpdateDetectorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn batch_update_detector<'life0, 'async_trait>(
&'life0 self,
input: BatchUpdateDetectorRequest
) -> Pin<Box<dyn Future<Output = Result<BatchUpdateDetectorResponse, RusotoError<BatchUpdateDetectorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
sourcefn describe_alarm<'life0, 'async_trait>(
&'life0 self,
input: DescribeAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAlarmResponse, RusotoError<DescribeAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_alarm<'life0, 'async_trait>(
&'life0 self,
input: DescribeAlarmRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAlarmResponse, RusotoError<DescribeAlarmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves information about an alarm.
sourcefn describe_detector<'life0, 'async_trait>(
&'life0 self,
input: DescribeDetectorRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDetectorResponse, RusotoError<DescribeDetectorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_detector<'life0, 'async_trait>(
&'life0 self,
input: DescribeDetectorRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDetectorResponse, RusotoError<DescribeDetectorError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about the specified detector (instance).
sourcefn list_alarms<'life0, 'async_trait>(
&'life0 self,
input: ListAlarmsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAlarmsResponse, RusotoError<ListAlarmsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_alarms<'life0, 'async_trait>(
&'life0 self,
input: ListAlarmsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAlarmsResponse, RusotoError<ListAlarmsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists one or more alarms. The operation returns only the metadata associated with each alarm.
sourcefn list_detectors<'life0, 'async_trait>(
&'life0 self,
input: ListDetectorsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDetectorsResponse, RusotoError<ListDetectorsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_detectors<'life0, 'async_trait>(
&'life0 self,
input: ListDetectorsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDetectorsResponse, RusotoError<ListDetectorsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists detectors (the instances of a detector model).
Auto Trait Implementations
impl !RefUnwindSafe for IotEventsDataClient
impl Send for IotEventsDataClient
impl Sync for IotEventsDataClient
impl Unpin for IotEventsDataClient
impl !UnwindSafe for IotEventsDataClient
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