Struct aws_sdk_appstream::types::Entitlement
source · #[non_exhaustive]pub struct Entitlement {
pub name: Option<String>,
pub stack_name: Option<String>,
pub description: Option<String>,
pub app_visibility: Option<AppVisibility>,
pub attributes: Option<Vec<EntitlementAttribute>>,
pub created_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
}
Expand description
Specifies an entitlement. Entitlements control access to specific applications within a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user pool and streaming URL users are entitled to all applications in a stack. Entitlements don't apply to the desktop stream view application, or to applications managed by a dynamic app provider using the Dynamic Application Framework.
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.name: Option<String>
The name of the entitlement.
stack_name: Option<String>
The name of the stack with which the entitlement is associated.
description: Option<String>
The description of the entitlement.
app_visibility: Option<AppVisibility>
Specifies whether all or selected apps are entitled.
attributes: Option<Vec<EntitlementAttribute>>
The attributes of the entitlement.
created_time: Option<DateTime>
The time when the entitlement was created.
last_modified_time: Option<DateTime>
The time when the entitlement was last modified.
Implementations§
source§impl Entitlement
impl Entitlement
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack with which the entitlement is associated.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the entitlement.
sourcepub fn app_visibility(&self) -> Option<&AppVisibility>
pub fn app_visibility(&self) -> Option<&AppVisibility>
Specifies whether all or selected apps are entitled.
sourcepub fn attributes(&self) -> &[EntitlementAttribute]
pub fn attributes(&self) -> &[EntitlementAttribute]
The attributes of the entitlement.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attributes.is_none()
.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The time when the entitlement was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The time when the entitlement was last modified.
source§impl Entitlement
impl Entitlement
sourcepub fn builder() -> EntitlementBuilder
pub fn builder() -> EntitlementBuilder
Creates a new builder-style object to manufacture Entitlement
.
Trait Implementations§
source§impl Clone for Entitlement
impl Clone for Entitlement
source§fn clone(&self) -> Entitlement
fn clone(&self) -> Entitlement
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Entitlement
impl Debug for Entitlement
source§impl PartialEq for Entitlement
impl PartialEq for Entitlement
source§fn eq(&self, other: &Entitlement) -> bool
fn eq(&self, other: &Entitlement) -> bool
self
and other
values to be equal, and is used
by ==
.