#[non_exhaustive]pub struct CreateSecurityProfileInput {
pub security_profile_name: Option<String>,
pub description: Option<String>,
pub permissions: Option<Vec<String>>,
pub instance_id: 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 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.security_profile_name: Option<String>
The name of the security profile.
description: Option<String>
The description of the security profile.
permissions: Option<Vec<String>>
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
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 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. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
applications: Option<Vec<Application>>
A list of third-party applications that the security profile will give access to.
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 CreateSecurityProfileInput
impl CreateSecurityProfileInput
sourcepub fn security_profile_name(&self) -> Option<&str>
pub fn security_profile_name(&self) -> Option<&str>
The name of the security profile.
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]
Permissions assigned to the 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 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 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. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
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 third-party applications that the security profile will give access to.
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 CreateSecurityProfileInput
impl CreateSecurityProfileInput
sourcepub fn builder() -> CreateSecurityProfileInputBuilder
pub fn builder() -> CreateSecurityProfileInputBuilder
Creates a new builder-style object to manufacture CreateSecurityProfileInput
.
Trait Implementations§
source§impl Clone for CreateSecurityProfileInput
impl Clone for CreateSecurityProfileInput
source§fn clone(&self) -> CreateSecurityProfileInput
fn clone(&self) -> CreateSecurityProfileInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSecurityProfileInput
impl Debug for CreateSecurityProfileInput
source§impl PartialEq for CreateSecurityProfileInput
impl PartialEq for CreateSecurityProfileInput
source§fn eq(&self, other: &CreateSecurityProfileInput) -> bool
fn eq(&self, other: &CreateSecurityProfileInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSecurityProfileInput
Auto Trait Implementations§
impl Freeze for CreateSecurityProfileInput
impl RefUnwindSafe for CreateSecurityProfileInput
impl Send for CreateSecurityProfileInput
impl Sync for CreateSecurityProfileInput
impl Unpin for CreateSecurityProfileInput
impl UnwindSafe for CreateSecurityProfileInput
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