aws_sdk_iotwireless/client/
list_event_configurations.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListEventConfigurations`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_type(EventNotificationResourceType)`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::resource_type) / [`set_resource_type(Option<EventNotificationResourceType>)`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::set_resource_type):<br>required: **true**<br><p>Resource type to filter event configurations.</p><br>
7    ///   - [`max_results(i32)`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in this operation.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::set_next_token):<br>required: **false**<br><p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p><br>
9    /// - On success, responds with [`ListEventConfigurationsOutput`](crate::operation::list_event_configurations::ListEventConfigurationsOutput) with field(s):
10    ///   - [`next_token(Option<String>)`](crate::operation::list_event_configurations::ListEventConfigurationsOutput::next_token): <p>To retrieve the next set of results, the <code>nextToken</code> value from a previous response; otherwise <b>null</b> to receive the first set of results.</p>
11    ///   - [`event_configurations_list(Option<Vec::<EventConfigurationItem>>)`](crate::operation::list_event_configurations::ListEventConfigurationsOutput::event_configurations_list): <p>Event configurations of all events for a single resource.</p>
12    /// - On failure, responds with [`SdkError<ListEventConfigurationsError>`](crate::operation::list_event_configurations::ListEventConfigurationsError)
13    pub fn list_event_configurations(&self) -> crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder {
14        crate::operation::list_event_configurations::builders::ListEventConfigurationsFluentBuilder::new(self.handle.clone())
15    }
16}