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 |
Updates the specified entitlement.
Synopsis
- data UpdateEntitlement = UpdateEntitlement' {}
- newUpdateEntitlement :: Text -> Text -> UpdateEntitlement
- updateEntitlement_appVisibility :: Lens' UpdateEntitlement (Maybe AppVisibility)
- updateEntitlement_attributes :: Lens' UpdateEntitlement (Maybe (NonEmpty EntitlementAttribute))
- updateEntitlement_description :: Lens' UpdateEntitlement (Maybe Text)
- updateEntitlement_name :: Lens' UpdateEntitlement Text
- updateEntitlement_stackName :: Lens' UpdateEntitlement Text
- data UpdateEntitlementResponse = UpdateEntitlementResponse' {}
- newUpdateEntitlementResponse :: Int -> UpdateEntitlementResponse
- updateEntitlementResponse_entitlement :: Lens' UpdateEntitlementResponse (Maybe Entitlement)
- updateEntitlementResponse_httpStatus :: Lens' UpdateEntitlementResponse Int
Creating a Request
data UpdateEntitlement Source #
See: newUpdateEntitlement
smart constructor.
UpdateEntitlement' | |
|
Instances
Create a value of UpdateEntitlement
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:
UpdateEntitlement
, updateEntitlement_appVisibility
- Specifies whether all or only selected apps are entitled.
UpdateEntitlement
, updateEntitlement_attributes
- The attributes of the entitlement.
UpdateEntitlement
, updateEntitlement_description
- The description of the entitlement.
UpdateEntitlement
, updateEntitlement_name
- The name of the entitlement.
UpdateEntitlement
, updateEntitlement_stackName
- The name of the stack with which the entitlement is associated.
Request Lenses
updateEntitlement_appVisibility :: Lens' UpdateEntitlement (Maybe AppVisibility) Source #
Specifies whether all or only selected apps are entitled.
updateEntitlement_attributes :: Lens' UpdateEntitlement (Maybe (NonEmpty EntitlementAttribute)) Source #
The attributes of the entitlement.
updateEntitlement_description :: Lens' UpdateEntitlement (Maybe Text) Source #
The description of the entitlement.
updateEntitlement_name :: Lens' UpdateEntitlement Text Source #
The name of the entitlement.
updateEntitlement_stackName :: Lens' UpdateEntitlement Text Source #
The name of the stack with which the entitlement is associated.
Destructuring the Response
data UpdateEntitlementResponse Source #
See: newUpdateEntitlementResponse
smart constructor.
UpdateEntitlementResponse' | |
|
Instances
newUpdateEntitlementResponse Source #
Create a value of UpdateEntitlementResponse
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:entitlement:UpdateEntitlementResponse'
, updateEntitlementResponse_entitlement
- The entitlement.
$sel:httpStatus:UpdateEntitlementResponse'
, updateEntitlementResponse_httpStatus
- The response's http status code.
Response Lenses
updateEntitlementResponse_entitlement :: Lens' UpdateEntitlementResponse (Maybe Entitlement) Source #
The entitlement.
updateEntitlementResponse_httpStatus :: Lens' UpdateEntitlementResponse Int Source #
The response's http status code.