update_agent_space
¶
update_agent_space(
agent_space_id: AgentSpaceId,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = 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/dev_ops_agent.py
3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 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 | |