SageMaker / Client / create_project
create_project#
- SageMaker.Client.create_project(**kwargs)#
Creates a machine learning (ML) project that can contain one or more templates that set up an ML pipeline from training to deploying an approved model.
See also: AWS API Documentation
Request Syntax
response = client.create_project( ProjectName='string', ProjectDescription='string', ServiceCatalogProvisioningDetails={ 'ProductId': 'string', 'ProvisioningArtifactId': 'string', 'PathId': 'string', 'ProvisioningParameters': [ { 'Key': 'string', 'Value': 'string' }, ] }, Tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
- Parameters:
ProjectName (string) –
[REQUIRED]
The name of the project.
ProjectDescription (string) – A description for the project.
ServiceCatalogProvisioningDetails (dict) –
[REQUIRED]
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.
ProductId (string) – [REQUIRED]
The ID of the product to provision.
ProvisioningArtifactId (string) –
The ID of the provisioning artifact.
PathId (string) –
The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.
ProvisioningParameters (list) –
A list of key value pairs that you specify when you provision a product.
(dict) –
A key value pair used when you provision a project as a service catalog product. For information, see What is Amazon Web Services Service Catalog.
Key (string) –
The key that identifies a provisioning parameter.
Value (string) –
The value of the provisioning parameter.
Tags (list) –
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.
(dict) –
A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources.
You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see AddTags.
For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources. For advice on best practices for managing Amazon Web Services resources with tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy.
Key (string) – [REQUIRED]
The tag key. Tag keys must be unique per resource.
Value (string) – [REQUIRED]
The tag value.
- Return type:
dict
- Returns:
Response Syntax
{ 'ProjectArn': 'string', 'ProjectId': 'string' }
Response Structure
(dict) –
ProjectArn (string) –
The Amazon Resource Name (ARN) of the project.
ProjectId (string) –
The ID of the new project.
Exceptions