Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Entitlement = Entitlement' {}
- newEntitlement :: Text -> Text -> AppVisibility -> NonEmpty EntitlementAttribute -> Entitlement
- entitlement_createdTime :: Lens' Entitlement (Maybe UTCTime)
- entitlement_description :: Lens' Entitlement (Maybe Text)
- entitlement_lastModifiedTime :: Lens' Entitlement (Maybe UTCTime)
- entitlement_name :: Lens' Entitlement Text
- entitlement_stackName :: Lens' Entitlement Text
- entitlement_appVisibility :: Lens' Entitlement AppVisibility
- entitlement_attributes :: Lens' Entitlement (NonEmpty EntitlementAttribute)
Documentation
data Entitlement Source #
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.
See: newEntitlement
smart constructor.
Entitlement' | |
|
Instances
:: Text | |
-> Text | |
-> AppVisibility | |
-> NonEmpty EntitlementAttribute | |
-> Entitlement |
Create a value of Entitlement
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:createdTime:Entitlement'
, entitlement_createdTime
- The time when the entitlement was created.
$sel:description:Entitlement'
, entitlement_description
- The description of the entitlement.
$sel:lastModifiedTime:Entitlement'
, entitlement_lastModifiedTime
- The time when the entitlement was last modified.
Entitlement
, entitlement_name
- The name of the entitlement.
$sel:stackName:Entitlement'
, entitlement_stackName
- The name of the stack with which the entitlement is associated.
$sel:appVisibility:Entitlement'
, entitlement_appVisibility
- Specifies whether all or selected apps are entitled.
$sel:attributes:Entitlement'
, entitlement_attributes
- The attributes of the entitlement.
entitlement_createdTime :: Lens' Entitlement (Maybe UTCTime) Source #
The time when the entitlement was created.
entitlement_description :: Lens' Entitlement (Maybe Text) Source #
The description of the entitlement.
entitlement_lastModifiedTime :: Lens' Entitlement (Maybe UTCTime) Source #
The time when the entitlement was last modified.
entitlement_name :: Lens' Entitlement Text Source #
The name of the entitlement.
entitlement_stackName :: Lens' Entitlement Text Source #
The name of the stack with which the entitlement is associated.
entitlement_appVisibility :: Lens' Entitlement AppVisibility Source #
Specifies whether all or selected apps are entitled.
entitlement_attributes :: Lens' Entitlement (NonEmpty EntitlementAttribute) Source #
The attributes of the entitlement.