update_goal
async
¶
update_goal(
agent_space_id: AgentSpaceIdentifier,
goal_id: str,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
evaluation_schedule: Optional[GoalScheduleInput] = None,
client_token: Optional[str] = None,
) -> UpdateGoalResponse
Update an existing goal
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space containing the goal
-
goal_id(str) –The unique identifier of the goal to update
-
evaluation_schedule(Optional[GoalScheduleInput], default:None) –Update goal schedule state
-
client_token(Optional[str], default:None) –Client-provided token for idempotent operations
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
2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 | |