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,
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/async_dev_ops_agent.py
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 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 | |