update_field
¶
update_field(
domain_id: DomainId,
field_id: FieldId,
*,
config_overrides: Optional[ConnectCasesClientConfig] = None,
name: Optional[FieldName] = None,
description: Optional[FieldDescription] = None,
attributes: Optional[FieldAttributes] = None,
) -> UpdateFieldResponse
Updates the properties of an existing field.
Parameters:
-
domain_id(DomainId) –The unique identifier of the Cases domain.
-
field_id(FieldId) –The unique identifier of a field.
-
name(Optional[FieldName], default:None) –The name of the field.
-
description(Optional[FieldDescription], default:None) –The description of a field.
-
attributes(Optional[FieldAttributes], default:None) –Union of field attributes.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.
-
InternalServerException–We couldn't process your request because of an issue with the server. Try again later.
-
ResourceNotFoundException–We couldn't find the requested resource. Check that your resources exists and were created in the same Amazon Web Services Region as your request, and try your request again.
-
ThrottlingException–The rate has been exceeded for this API. Please try again after a few minutes.
-
ValidationException–The request isn't valid. Check the syntax and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connectcases/_services/connect_cases.py
2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 | |