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
2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 | |