update_chat
async
¶
update_chat(
agent_space_id: AgentSpaceIdentifier,
execution_id: ResourceId,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
summary: Optional[str] = None,
archive_status: Optional[ChatArchiveStatus] = None,
client_token: Optional[str] = None,
) -> UpdateChatResponse
Updates a chat execution. You can use this operation to change the chat execution's summary or to archive or unarchive it.
Archiving a chat execution hides it from the default chat list. Unarchiving a chat execution restores it to the default chat list.
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier of the agent space that contains the chat execution to update.
-
execution_id(ResourceId) –The unique identifier of the chat execution to update.
-
summary(Optional[str], default:None) –The new summary to set for the chat execution.
-
archive_status(Optional[ChatArchiveStatus], default:None) –The archive status to set for the chat execution. Use this parameter to archive the chat execution, hiding it from the default chat list, or to unarchive it, restoring it to the default chat list.
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/async_dev_ops_agent.py
2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 | |