1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetResourceEventConfiguration`](crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetResourceEventConfigurationOutput`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput) with field(s):
    ///   - [`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>
    ///   - [`proximity(Option<ProximityEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::proximity): <p>Event configuration for the proximity event.</p>
    ///   - [`join(Option<JoinEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::join): <p>Event configuration for the join event.</p>
    ///   - [`connection_status(Option<ConnectionStatusEventConfiguration>)`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationOutput::connection_status): <p>Event configuration for the connection status event.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetResourceEventConfigurationError>`](crate::operation::get_resource_event_configuration::GetResourceEventConfigurationError)
    pub fn get_resource_event_configuration(
        &self,
    ) -> crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder {
        crate::operation::get_resource_event_configuration::builders::GetResourceEventConfigurationFluentBuilder::new(self.handle.clone())
    }
}