create_project
¶
create_project(
name: ProjectName,
*,
config_overrides: Optional[BedrockClientConfig] = None,
tags: Optional[TagList] = None,
data_retention: Optional[ProjectDataRetention] = None,
) -> CreateProjectResponse
Creates a project: a workload boundary within the account that inference requests can be associated with.
Parameters:
-
name(ProjectName) –The display name for the project. Project names do not have to be unique.
-
tags(Optional[TagList], default:None) –The tags to associate with the project.
-
data_retention(Optional[ProjectDataRetention], default:None) –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.
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.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
TooManyTagsException–The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.
-
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
7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 | |