#[non_exhaustive]pub struct UpdateSecurityProfileInput {
pub description: Option<String>,
pub permissions: Option<Vec<String>>,
pub security_profile_id: Option<String>,
pub instance_id: Option<String>,
pub allowed_access_control_tags: Option<HashMap<String, String>>,
pub tag_restricted_resources: Option<Vec<String>>,
pub applications: Option<Vec<Application>>,
pub hierarchy_restricted_resources: Option<Vec<String>>,
pub allowed_access_control_hierarchy_group_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.description: Option<String>
The description of the security profile.
permissions: Option<Vec<String>>
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
security_profile_id: Option<String>
The identifier for the security profle.
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
tag_restricted_resources: Option<Vec<String>>
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
applications: Option<Vec<Application>>
A list of the third-party application's metadata.
hierarchy_restricted_resources: Option<Vec<String>>
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
allowed_access_control_hierarchy_group_id: Option<String>
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
Implementations§
source§impl UpdateSecurityProfileInput
impl UpdateSecurityProfileInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the security profile.
sourcepub fn permissions(&self) -> &[String]
pub fn permissions(&self) -> &[String]
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .permissions.is_none()
.
sourcepub fn security_profile_id(&self) -> Option<&str>
pub fn security_profile_id(&self) -> Option<&str>
The identifier for the security profle.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
sourcepub fn tag_restricted_resources(&self) -> &[String]
pub fn tag_restricted_resources(&self) -> &[String]
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tag_restricted_resources.is_none()
.
sourcepub fn applications(&self) -> &[Application]
pub fn applications(&self) -> &[Application]
A list of the third-party application's metadata.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .applications.is_none()
.
sourcepub fn hierarchy_restricted_resources(&self) -> &[String]
pub fn hierarchy_restricted_resources(&self) -> &[String]
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .hierarchy_restricted_resources.is_none()
.
sourcepub fn allowed_access_control_hierarchy_group_id(&self) -> Option<&str>
pub fn allowed_access_control_hierarchy_group_id(&self) -> Option<&str>
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
source§impl UpdateSecurityProfileInput
impl UpdateSecurityProfileInput
sourcepub fn builder() -> UpdateSecurityProfileInputBuilder
pub fn builder() -> UpdateSecurityProfileInputBuilder
Creates a new builder-style object to manufacture UpdateSecurityProfileInput
.
Trait Implementations§
source§impl Clone for UpdateSecurityProfileInput
impl Clone for UpdateSecurityProfileInput
source§fn clone(&self) -> UpdateSecurityProfileInput
fn clone(&self) -> UpdateSecurityProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateSecurityProfileInput
impl Debug for UpdateSecurityProfileInput
source§impl PartialEq for UpdateSecurityProfileInput
impl PartialEq for UpdateSecurityProfileInput
source§fn eq(&self, other: &UpdateSecurityProfileInput) -> bool
fn eq(&self, other: &UpdateSecurityProfileInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSecurityProfileInput
Auto Trait Implementations§
impl Freeze for UpdateSecurityProfileInput
impl RefUnwindSafe for UpdateSecurityProfileInput
impl Send for UpdateSecurityProfileInput
impl Sync for UpdateSecurityProfileInput
impl Unpin for UpdateSecurityProfileInput
impl UnwindSafe for UpdateSecurityProfileInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more