create_project
async
¶
create_project(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
project_name: Optional[ProjectEntityName] = None,
project_description: Optional[EntityDescription] = None,
service_catalog_provisioning_details: Optional[
ServiceCatalogProvisioningDetails
] = None,
tags: Optional[TagList] = None,
template_providers: Optional[CreateTemplateProviderList] = None,
project_config: Optional[ProjectConfig] = None,
) -> CreateProjectOutput
Creates a machine learning (ML) project. You can create the following types of projects:
-
CLASSIC- A project that contains one or more templates that set up an ML pipeline from training to deploying an approved model. To create aCLASSICproject, specifyServiceCatalogProvisioningDetailsorTemplateProviders. -
STANDARD- A project that SageMaker sets up with an Amazon Web Services CodeCommit repository and a leaderboard. To create aSTANDARDproject, specifyProjectConfig.
STANDARD projects are available only in the US East (N. Virginia) and US West (Oregon) Regions.
Parameters:
-
project_name(Optional[ProjectEntityName], default:None) –The name of the project.
-
project_description(Optional[EntityDescription], default:None) –A description for the project.
-
service_catalog_provisioning_details(Optional[ServiceCatalogProvisioningDetails], default:None) –The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service Catalog.
-
tags(Optional[TagList], default:None) –An array of key-value pairs that you want to use to organize and track your Amazon Web Services resource costs. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
-
template_providers(Optional[CreateTemplateProviderList], default:None) –An array of template provider configurations for creating infrastructure resources for the project.
-
project_config(Optional[ProjectConfig], default:None) –The configuration for a
STANDARDproject. Specify this to create aSTANDARDproject. You can't specifyProjectConfigtogether withServiceCatalogProvisioningDetailsorTemplateProviders.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 | |