update_field
async
¶
update_field(
domain_id: DomainId,
field_id: FieldId,
*,
config_overrides: Optional[AsyncConnectCasesClientConfig] = 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/async_connect_cases.py
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 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 | |