create_project
async
¶
create_project(
name: ProjectName,
*,
config_overrides: Optional[AsyncBedrockClientConfig] = 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/async_bedrock.py
7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 | |