update_entitlement
¶
update_entitlement(
*,
config_overrides: Optional[AppStreamClientConfig] = None,
name: Optional[Name] = None,
stack_name: Optional[Name] = None,
description: Optional[Description] = None,
app_visibility: Optional[AppVisibility] = None,
attributes: Optional[EntitlementAttributeList] = None,
) -> UpdateEntitlementResult
Updates the specified entitlement.
Parameters:
-
name(Optional[Name], default:None) –The name of the entitlement.
-
stack_name(Optional[Name], default:None) –The name of the stack with which the entitlement is associated.
-
description(Optional[Description], default:None) –The description of the entitlement.
-
app_visibility(Optional[AppVisibility], default:None) –Specifies whether all or only selected apps are entitled.
-
attributes(Optional[EntitlementAttributeList], default:None) –The attributes of the entitlement.
Raises:
-
ConcurrentModificationException–An API error occurred. Wait a few minutes and try again.
-
EntitlementNotFoundException–The entitlement can't be found.
-
OperationNotPermittedException–The attempted operation is not permitted.
-
ResourceNotFoundException–The specified resource was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appstream/_services/app_stream.py
5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 | |