Struct aws_sdk_connect::types::SecurityProfile
source · #[non_exhaustive]pub struct SecurityProfile {
pub id: Option<String>,
pub organization_resource_id: Option<String>,
pub arn: Option<String>,
pub security_profile_name: Option<String>,
pub description: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub allowed_access_control_tags: Option<HashMap<String, String>>,
pub tag_restricted_resources: Option<Vec<String>>,
pub last_modified_time: Option<DateTime>,
pub last_modified_region: Option<String>,
pub hierarchy_restricted_resources: Option<Vec<String>>,
pub allowed_access_control_hierarchy_group_id: Option<String>,
}
Expand description
Contains information about a security profile.
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.id: Option<String>
The identifier for the security profile.
organization_resource_id: Option<String>
The organization resource identifier for the security profile.
arn: Option<String>
The Amazon Resource Name (ARN) for the secruity profile.
security_profile_name: Option<String>
The name for the security profile.
description: Option<String>
The description of the security profile.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
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.
last_modified_time: Option<DateTime>
The timestamp when this resource was last modified.
last_modified_region: Option<String>
The Amazon Web Services Region where this resource was last modified.
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 SecurityProfile
impl SecurityProfile
sourcepub fn organization_resource_id(&self) -> Option<&str>
pub fn organization_resource_id(&self) -> Option<&str>
The organization resource identifier for the security profile.
sourcepub fn security_profile_name(&self) -> Option<&str>
pub fn security_profile_name(&self) -> Option<&str>
The name for the security profile.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the security profile.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
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 last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when this resource was last modified.
sourcepub fn last_modified_region(&self) -> Option<&str>
pub fn last_modified_region(&self) -> Option<&str>
The Amazon Web Services Region where this resource was last modified.
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 SecurityProfile
impl SecurityProfile
sourcepub fn builder() -> SecurityProfileBuilder
pub fn builder() -> SecurityProfileBuilder
Creates a new builder-style object to manufacture SecurityProfile
.
Trait Implementations§
source§impl Clone for SecurityProfile
impl Clone for SecurityProfile
source§fn clone(&self) -> SecurityProfile
fn clone(&self) -> SecurityProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecurityProfile
impl Debug for SecurityProfile
source§impl PartialEq for SecurityProfile
impl PartialEq for SecurityProfile
source§fn eq(&self, other: &SecurityProfile) -> bool
fn eq(&self, other: &SecurityProfile) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SecurityProfile
Auto Trait Implementations§
impl Freeze for SecurityProfile
impl RefUnwindSafe for SecurityProfile
impl Send for SecurityProfile
impl Sync for SecurityProfile
impl Unpin for SecurityProfile
impl UnwindSafe for SecurityProfile
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