update_entitlement
async
¶
update_entitlement(
*,
config_overrides: Optional[AsyncAppStreamClientConfig] = 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/async_app_stream.py
6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 | |