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,
aws_source_mode: Optional[AwsSourceMode] = 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.
-
aws_source_mode(Optional[AwsSourceMode], default:None) –Specifies whether the AgentSpace's Amazon Web Services source configuration targets an individual Amazon Web Services account or an Amazon Web Services Organization. Use this parameter to switch an existing AgentSpace between source modes.
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
3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 | |