aws_sdk_connect/client/update_security_profile.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateSecurityProfile`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`description(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_description):<br>required: **false**<br><p>The description of the security profile.</p><br>
/// - [`permissions(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::permissions) / [`set_permissions(Option<Vec::<String>>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_permissions):<br>required: **false**<br><p>The permissions granted to a security profile. For a list of valid permissions, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-list.html">List of security profile permissions</a>.</p><br>
/// - [`security_profile_id(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::security_profile_id) / [`set_security_profile_id(Option<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_security_profile_id):<br>required: **true**<br><p>The identifier for the security profle.</p><br>
/// - [`instance_id(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
/// - [`allowed_access_control_tags(impl Into<String>, impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::allowed_access_control_tags) / [`set_allowed_access_control_tags(Option<HashMap::<String, String>>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_allowed_access_control_tags):<br>required: **false**<br><p>The list of tags that a security profile uses to restrict access to resources in Amazon Connect.</p><br>
/// - [`tag_restricted_resources(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::tag_restricted_resources) / [`set_tag_restricted_resources(Option<Vec::<String>>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_tag_restricted_resources):<br>required: **false**<br><p>The list of resources that a security profile applies tag restrictions to in Amazon Connect.</p><br>
/// - [`applications(Application)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::applications) / [`set_applications(Option<Vec::<Application>>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_applications):<br>required: **false**<br><p>A list of the third-party application's metadata.</p><br>
/// - [`hierarchy_restricted_resources(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::hierarchy_restricted_resources) / [`set_hierarchy_restricted_resources(Option<Vec::<String>>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_hierarchy_restricted_resources):<br>required: **false**<br><p>The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code>.</p><br>
/// - [`allowed_access_control_hierarchy_group_id(impl Into<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::allowed_access_control_hierarchy_group_id) / [`set_allowed_access_control_hierarchy_group_id(Option<String>)`](crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::set_allowed_access_control_hierarchy_group_id):<br>required: **false**<br><p>The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.</p><br>
/// - On success, responds with [`UpdateSecurityProfileOutput`](crate::operation::update_security_profile::UpdateSecurityProfileOutput)
/// - On failure, responds with [`SdkError<UpdateSecurityProfileError>`](crate::operation::update_security_profile::UpdateSecurityProfileError)
pub fn update_security_profile(&self) -> crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder {
crate::operation::update_security_profile::builders::UpdateSecurityProfileFluentBuilder::new(self.handle.clone())
}
}