update_acl
¶
update_acl(
acl_name: String,
*,
config_overrides: Optional[MemoryDBClientConfig] = None,
user_names_to_add: Optional[UserNameListInput] = None,
user_names_to_remove: Optional[UserNameListInput] = None,
) -> UpdateACLResponse
Changes the list of users that belong to the Access Control List.
Parameters:
-
acl_name(String) –The name of the Access Control List.
-
user_names_to_add(Optional[UserNameListInput], default:None) –The list of users to add to the Access Control List.
-
user_names_to_remove(Optional[UserNameListInput], default:None) –The list of users to remove from the Access Control List.
Raises:
-
ACLNotFoundFault–The specified ACL does not exist.
-
DefaultUserRequired–A default user is required and must be specified.
-
DuplicateUserNameFault–A user with the specified name already exists.
-
InvalidACLStateFault–The ACL is not in a valid state for the requested operation.
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
UserNotFoundFault–The specified user does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/memory_db.py
3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 | |