BedrockClient.create_project
rboto-bedrock==0.4.0 · Service index · Types
Model summary (excerpt): Creates a project: a workload boundary within the account that inference requests can be associated with.
Install and imports
from rboto import BedrockClient
from collections.abc import Sequence
from rboto_bedrock.types import (
CreateProjectOutput,
ProjectDataRetention,
Tag,
)
Signature
async def create_project(
*,
name: str,
tags: Sequence[Tag] | None = None,
data_retention: ProjectDataRetention | None = None,
) -> CreateProjectOutput: ...
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) |
|---|---|---|
name |
Yes | The display name for the project. Project names do not have to be unique. |
tags |
No | The tags to associate with the project. |
data_retention |
No | The project's data-retention mode. If you omit this field, Amazon Bedrock sets the mode to inherit . The project then uses the account setting or the model default. |
Output
CreateProjectOutput.
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
CreateProjectOutput, ProjectDataRetention, Tag
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, ServiceQuotaExceededError, ThrottlingError, TooManyTagsError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.