BedrockClient.update_project
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import BedrockClient
from rboto_bedrock.types import (
ProjectDataRetention,
UpdateProjectOutput,
)
Signature
async def update_project(
*,
project_identifier: str,
name: str | None = None,
data_retention: ProjectDataRetention | None = None,
) -> UpdateProjectOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
project_identifier |
Yes | The id or ARN of the project to update. |
name |
No | The project's new display name. Specify this field only when dataRetention is omitted. Project names do not have to be unique. |
data_retention |
No | The project's new data-retention mode. Must be set on its own. |
Output
UpdateProjectOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
id |
str |
Always present | — |
arn |
str |
Always present | — |
name |
str |
Always present | — |
status |
ProjectStatusOutput |
Always present | ProjectStatusOutput |
created_at |
str |
Always present | — |
archived_at |
str | None |
Always present | — |
data_retention |
ProjectDataRetentionOutput | None |
Always present | ProjectDataRetentionOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ProjectDataRetention, UpdateProjectOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.