Struct rusoto_iotevents::IotEventsClient
source · [−]pub struct IotEventsClient { /* private fields */ }
Expand description
A client for the AWS IoT Events API.
Implementations
sourceimpl IotEventsClient
impl IotEventsClient
sourcepub fn new(region: Region) -> IotEventsClient
pub fn new(region: Region) -> IotEventsClient
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
) -> IotEventsClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> IotEventsClient
Trait Implementations
sourceimpl Clone for IotEventsClient
impl Clone for IotEventsClient
sourcefn clone(&self) -> IotEventsClient
fn clone(&self) -> IotEventsClient
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 IotEvents for IotEventsClient
impl IotEvents for IotEventsClient
sourcefn create_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: CreateAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAlarmModelResponse, RusotoError<CreateAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: CreateAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateAlarmModelResponse, RusotoError<CreateAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.
sourcefn create_detector_model<'life0, 'async_trait>(
&'life0 self,
input: CreateDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDetectorModelResponse, RusotoError<CreateDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_detector_model<'life0, 'async_trait>(
&'life0 self,
input: CreateDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDetectorModelResponse, RusotoError<CreateDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a detector model.
sourcefn create_input<'life0, 'async_trait>(
&'life0 self,
input: CreateInputRequest
) -> Pin<Box<dyn Future<Output = Result<CreateInputResponse, RusotoError<CreateInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_input<'life0, 'async_trait>(
&'life0 self,
input: CreateInputRequest
) -> Pin<Box<dyn Future<Output = Result<CreateInputResponse, RusotoError<CreateInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an input.
sourcefn delete_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: DeleteAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteAlarmModelResponse, RusotoError<DeleteAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: DeleteAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteAlarmModelResponse, RusotoError<DeleteAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
sourcefn delete_detector_model<'life0, 'async_trait>(
&'life0 self,
input: DeleteDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteDetectorModelResponse, RusotoError<DeleteDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_detector_model<'life0, 'async_trait>(
&'life0 self,
input: DeleteDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteDetectorModelResponse, RusotoError<DeleteDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes a detector model. Any active instances of the detector model are also deleted.
sourcefn delete_input<'life0, 'async_trait>(
&'life0 self,
input: DeleteInputRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteInputResponse, RusotoError<DeleteInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_input<'life0, 'async_trait>(
&'life0 self,
input: DeleteInputRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteInputResponse, RusotoError<DeleteInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes an input.
sourcefn describe_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: DescribeAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAlarmModelResponse, RusotoError<DescribeAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: DescribeAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeAlarmModelResponse, RusotoError<DescribeAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion
parameter, the latest version is returned.
sourcefn describe_detector_model<'life0, 'async_trait>(
&'life0 self,
input: DescribeDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDetectorModelResponse, RusotoError<DescribeDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_detector_model<'life0, 'async_trait>(
&'life0 self,
input: DescribeDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDetectorModelResponse, RusotoError<DescribeDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes a detector model. If the version
parameter is not specified, information about the latest version is returned.
sourcefn describe_detector_model_analysis<'life0, 'async_trait>(
&'life0 self,
input: DescribeDetectorModelAnalysisRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDetectorModelAnalysisResponse, RusotoError<DescribeDetectorModelAnalysisError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_detector_model_analysis<'life0, 'async_trait>(
&'life0 self,
input: DescribeDetectorModelAnalysisRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDetectorModelAnalysisResponse, RusotoError<DescribeDetectorModelAnalysisError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves runtime information about a detector model analysis.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
sourcefn describe_input<'life0, 'async_trait>(
&'life0 self,
input: DescribeInputRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeInputResponse, RusotoError<DescribeInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_input<'life0, 'async_trait>(
&'life0 self,
input: DescribeInputRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeInputResponse, RusotoError<DescribeInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Describes an input.
sourcefn describe_logging_options<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DescribeLoggingOptionsResponse, RusotoError<DescribeLoggingOptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_logging_options<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<DescribeLoggingOptionsResponse, RusotoError<DescribeLoggingOptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the current settings of the AWS IoT Events logging options.
sourcefn get_detector_model_analysis_results<'life0, 'async_trait>(
&'life0 self,
input: GetDetectorModelAnalysisResultsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDetectorModelAnalysisResultsResponse, RusotoError<GetDetectorModelAnalysisResultsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_detector_model_analysis_results<'life0, 'async_trait>(
&'life0 self,
input: GetDetectorModelAnalysisResultsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDetectorModelAnalysisResultsResponse, RusotoError<GetDetectorModelAnalysisResultsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves one or more analysis results of the detector model.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
sourcefn list_alarm_model_versions<'life0, 'async_trait>(
&'life0 self,
input: ListAlarmModelVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAlarmModelVersionsResponse, RusotoError<ListAlarmModelVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_alarm_model_versions<'life0, 'async_trait>(
&'life0 self,
input: ListAlarmModelVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAlarmModelVersionsResponse, RusotoError<ListAlarmModelVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
sourcefn list_alarm_models<'life0, 'async_trait>(
&'life0 self,
input: ListAlarmModelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAlarmModelsResponse, RusotoError<ListAlarmModelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_alarm_models<'life0, 'async_trait>(
&'life0 self,
input: ListAlarmModelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAlarmModelsResponse, RusotoError<ListAlarmModelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
sourcefn list_detector_model_versions<'life0, 'async_trait>(
&'life0 self,
input: ListDetectorModelVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDetectorModelVersionsResponse, RusotoError<ListDetectorModelVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_detector_model_versions<'life0, 'async_trait>(
&'life0 self,
input: ListDetectorModelVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDetectorModelVersionsResponse, RusotoError<ListDetectorModelVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
sourcefn list_detector_models<'life0, 'async_trait>(
&'life0 self,
input: ListDetectorModelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDetectorModelsResponse, RusotoError<ListDetectorModelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_detector_models<'life0, 'async_trait>(
&'life0 self,
input: ListDetectorModelsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDetectorModelsResponse, RusotoError<ListDetectorModelsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
sourcefn list_input_routings<'life0, 'async_trait>(
&'life0 self,
input: ListInputRoutingsRequest
) -> Pin<Box<dyn Future<Output = Result<ListInputRoutingsResponse, RusotoError<ListInputRoutingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_input_routings<'life0, 'async_trait>(
&'life0 self,
input: ListInputRoutingsRequest
) -> Pin<Box<dyn Future<Output = Result<ListInputRoutingsResponse, RusotoError<ListInputRoutingsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists one or more input routings.
sourcefn list_inputs<'life0, 'async_trait>(
&'life0 self,
input: ListInputsRequest
) -> Pin<Box<dyn Future<Output = Result<ListInputsResponse, RusotoError<ListInputsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_inputs<'life0, 'async_trait>(
&'life0 self,
input: ListInputsRequest
) -> Pin<Box<dyn Future<Output = Result<ListInputsResponse, RusotoError<ListInputsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the inputs you have created.
Lists the tags (metadata) you have assigned to the resource.
sourcefn put_logging_options<'life0, 'async_trait>(
&'life0 self,
input: PutLoggingOptionsRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PutLoggingOptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_logging_options<'life0, 'async_trait>(
&'life0 self,
input: PutLoggingOptionsRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PutLoggingOptionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sets or updates the AWS IoT Events logging options.
If you update the value of any loggingOptions
field, it takes up to one minute for the change to take effect. If you change the policy attached to the role you specified in the roleArn
field (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.
sourcefn start_detector_model_analysis<'life0, 'async_trait>(
&'life0 self,
input: StartDetectorModelAnalysisRequest
) -> Pin<Box<dyn Future<Output = Result<StartDetectorModelAnalysisResponse, RusotoError<StartDetectorModelAnalysisError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_detector_model_analysis<'life0, 'async_trait>(
&'life0 self,
input: StartDetectorModelAnalysisRequest
) -> Pin<Box<dyn Future<Output = Result<StartDetectorModelAnalysisResponse, RusotoError<StartDetectorModelAnalysisError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Performs an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes the given tags (metadata) from the resource.
sourcefn update_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: UpdateAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateAlarmModelResponse, RusotoError<UpdateAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_alarm_model<'life0, 'async_trait>(
&'life0 self,
input: UpdateAlarmModelRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateAlarmModelResponse, RusotoError<UpdateAlarmModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
sourcefn update_detector_model<'life0, 'async_trait>(
&'life0 self,
input: UpdateDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDetectorModelResponse, RusotoError<UpdateDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_detector_model<'life0, 'async_trait>(
&'life0 self,
input: UpdateDetectorModelRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDetectorModelResponse, RusotoError<UpdateDetectorModelError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
sourcefn update_input<'life0, 'async_trait>(
&'life0 self,
input: UpdateInputRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateInputResponse, RusotoError<UpdateInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_input<'life0, 'async_trait>(
&'life0 self,
input: UpdateInputRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateInputResponse, RusotoError<UpdateInputError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates an input.
Auto Trait Implementations
impl !RefUnwindSafe for IotEventsClient
impl Send for IotEventsClient
impl Sync for IotEventsClient
impl Unpin for IotEventsClient
impl !UnwindSafe for IotEventsClient
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