CreateProject
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.
Request Syntax
{
"ProjectDescription": "string
",
"ProjectName": "string
",
"ServiceCatalogProvisioningDetails": {
"PathId": "string
",
"ProductId": "string
",
"ProvisioningArtifactId": "string
",
"ProvisioningParameters": [
{
"Key": "string
",
"Value": "string
"
}
]
},
"Tags": [
{
"Key": "string
",
"Value": "string
"
}
]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- ProjectDescription
-
A description for the project.
Type: String
Length Constraints: Maximum length of 1024.
Pattern:
[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}]*
Required: No
- ProjectName
-
The name of the project.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,31}
Required: Yes
- ServiceCatalogProvisioningDetails
-
The product ID and provisioning artifact ID to provision a service catalog. For information, see What is AWS Service Catalog.
Type: ServiceCatalogProvisioningDetails object
Required: Yes
- Tags
-
An array of key-value pairs that you want to use to organize and track your AWS resource costs. For more information, see Tagging AWS resources in the AWS General Reference Guide.
Type: Array of Tag objects
Array Members: Minimum number of 0 items. Maximum number of 50 items.
Required: No
Response Syntax
{
"ProjectArn": "string",
"ProjectId": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- ProjectArn
-
The Amazon Resource Name (ARN) of the project.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:project:.*
- ProjectId
-
The ID of the new project.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern:
^[a-zA-Z0-9](-*[a-zA-Z0-9])*
Errors
For information about the errors that are common to all actions, see Common Errors.
- ResourceLimitExceeded
-
You have exceeded an Amazon SageMaker resource limit. For example, you might have too many training jobs created.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: