aws_sdk_workmail/client/update_mobile_device_access_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateMobileDeviceAccessRule`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`organization_id(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_organization_id):<br>required: **true**<br><p>The WorkMail organization under which the rule will be updated.</p><br>
/// - [`mobile_device_access_rule_id(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::mobile_device_access_rule_id) / [`set_mobile_device_access_rule_id(Option<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_mobile_device_access_rule_id):<br>required: **true**<br><p>The identifier of the rule to be updated.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_name):<br>required: **true**<br><p>The updated rule name.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_description):<br>required: **false**<br><p>The updated rule description.</p><br>
/// - [`effect(MobileDeviceAccessRuleEffect)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::effect) / [`set_effect(Option<MobileDeviceAccessRuleEffect>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_effect):<br>required: **true**<br><p>The effect of the rule when it matches. Allowed values are <code>ALLOW</code> or <code>DENY</code>.</p><br>
/// - [`device_types(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::device_types) / [`set_device_types(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_device_types):<br>required: **false**<br><p>Device types that the updated rule will match.</p><br>
/// - [`not_device_types(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::not_device_types) / [`set_not_device_types(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_not_device_types):<br>required: **false**<br><p>Device types that the updated rule <b>will not</b> match. All other device types will match.</p><br>
/// - [`device_models(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::device_models) / [`set_device_models(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_device_models):<br>required: **false**<br><p>Device models that the updated rule will match.</p><br>
/// - [`not_device_models(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::not_device_models) / [`set_not_device_models(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_not_device_models):<br>required: **false**<br><p>Device models that the updated rule <b>will not</b> match. All other device models will match.</p><br>
/// - [`device_operating_systems(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::device_operating_systems) / [`set_device_operating_systems(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_device_operating_systems):<br>required: **false**<br><p>Device operating systems that the updated rule will match.</p><br>
/// - [`not_device_operating_systems(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::not_device_operating_systems) / [`set_not_device_operating_systems(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_not_device_operating_systems):<br>required: **false**<br><p>Device operating systems that the updated rule <b>will not</b> match. All other device operating systems will match.</p><br>
/// - [`device_user_agents(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::device_user_agents) / [`set_device_user_agents(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_device_user_agents):<br>required: **false**<br><p>User agents that the updated rule will match.</p><br>
/// - [`not_device_user_agents(impl Into<String>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::not_device_user_agents) / [`set_not_device_user_agents(Option<Vec::<String>>)`](crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::set_not_device_user_agents):<br>required: **false**<br><p>User agents that the updated rule <b>will not</b> match. All other user agents will match.</p><br>
/// - On success, responds with [`UpdateMobileDeviceAccessRuleOutput`](crate::operation::update_mobile_device_access_rule::UpdateMobileDeviceAccessRuleOutput)
/// - On failure, responds with [`SdkError<UpdateMobileDeviceAccessRuleError>`](crate::operation::update_mobile_device_access_rule::UpdateMobileDeviceAccessRuleError)
pub fn update_mobile_device_access_rule(
&self,
) -> crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder {
crate::operation::update_mobile_device_access_rule::builders::UpdateMobileDeviceAccessRuleFluentBuilder::new(self.handle.clone())
}
}