aws_sdk_iotwireless/client/get_resource_event_configuration.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 [`GetResourceEventConfiguration`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::set_identifier):<br>required: **true**<br><p>Resource identifier to opt in for event messaging.</p><br>
7 /// - [`identifier_type(IdentifierType)`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::identifier_type) / [`set_identifier_type(Option<IdentifierType>)`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::set_identifier_type):<br>required: **true**<br><p>Identifier type of the particular resource identifier for event configuration.</p><br>
8 /// - [`partner_type(EventNotificationPartnerType)`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::partner_type) / [`set_partner_type(Option<EventNotificationPartnerType>)`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::set_partner_type):<br>required: **false**<br><p>Partner type of the resource if the identifier type is <code>PartnerAccountId</code>.</p><br>
9 /// - On success, responds with [`GetResourceEventConfigurationOutput`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput) with field(s):
10 /// - [`device_registration_state(Option<DeviceRegistrationStateEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::device_registration_state): <p>Event configuration for the device registration state event.</p>
11 /// - [`proximity(Option<ProximityEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::proximity): <p>Event configuration for the proximity event.</p>
12 /// - [`join(Option<JoinEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::join): <p>Event configuration for the join event.</p>
13 /// - [`connection_status(Option<ConnectionStatusEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::connection_status): <p>Event configuration for the connection status event.</p>
14 /// - [`message_delivery_status(Option<MessageDeliveryStatusEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::message_delivery_status): <p>Event configuration for the message delivery status event.</p>
15 /// - On failure, responds with [`SdkError<GetResourceEventConfigurationError>`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationError)
16 pub fn get_resource_event_configuration(
17 &self,
18 ) -> crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder {
19 crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::new(self.handle.clone())
20 }
21}