update_project
¶
update_project(
project_identifier: ProjectIdentifier,
*,
config_overrides: Optional[BedrockClientConfig] = None,
name: Optional[ProjectName] = None,
data_retention: Optional[ProjectDataRetention] = None,
) -> UpdateProjectResponse
Updates one mutable project field per call: exactly one of name or dataRetention must be set. The default project and archived projects cannot be updated.
Parameters:
-
project_identifier(ProjectIdentifier) –The id or ARN of the project to update.
-
name(Optional[ProjectName], default:None) –The project's new display name. Specify this field only when
dataRetentionis omitted. Project names do not have to be unique. -
data_retention(Optional[ProjectDataRetention], default:None) –The project's new data-retention mode. Must be set on its own.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–Error occurred because of a conflict while performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock/_services/bedrock.py
7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 | |