update_agent_space
async
¶
update_agent_space(
agent_space_id: AgentSpaceId,
*,
config_overrides: Optional[AsyncDevOpsAgentClientConfig] = None,
name: Optional[AgentSpaceName] = None,
description: Optional[Description] = None,
locale: Optional[Locale] = None,
preferences: Optional[AgentSpacePreferences] = None,
) -> UpdateAgentSpaceOutput
Updates the information of an existing AgentSpace.
Parameters:
-
agent_space_id(AgentSpaceId) –The unique identifier of the AgentSpace
-
name(Optional[AgentSpaceName], default:None) –The updated name of the AgentSpace.
-
description(Optional[Description], default:None) –The updated description of the AgentSpace.
-
locale(Optional[Locale], default:None) –The updated locale for the AgentSpace, which determines the language used in agent responses.
-
preferences(Optional[AgentSpacePreferences], default:None) –The preferences to configure on the agent space. When provided, this replaces the full set of configured preferences; preferences not included revert to their default values. When omitted, the current preferences are left unchanged.
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
3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 | |