

# UpdateProject
<a name="API_UpdateProject"></a>

Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model.

**Note**  
You must not update a project that is in use. If you update the `ServiceCatalogProvisioningUpdateDetails` of a project that is active or being created, or updated, you may lose resources already created by the project.

## Request Syntax
<a name="API_UpdateProject_RequestSyntax"></a>

```
{
   "ProjectDescription": "string",
   "ProjectName": "string",
   "ServiceCatalogProvisioningUpdateDetails": { 
      "ProvisioningArtifactId": "string",
      "ProvisioningParameters": [ 
         { 
            "Key": "string",
            "Value": "string"
         }
      ]
   },
   "Tags": [ 
      { 
         "Key": "string",
         "Value": "string"
      }
   ],
   "TemplateProvidersToUpdate": [ 
      { 
         "CfnTemplateProvider": { 
            "Parameters": [ 
               { 
                  "Key": "string",
                  "Value": "string"
               }
            ],
            "TemplateName": "string",
            "TemplateURL": "string"
         }
      }
   ]
}
```

## Request Parameters
<a name="API_UpdateProject_RequestParameters"></a>

For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

The request accepts the following data in JSON format.

 ** [ProjectDescription](#API_UpdateProject_RequestSyntax) **   <a name="sagemaker-UpdateProject-request-ProjectDescription"></a>
The description for the project.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Pattern: `[\p{L}\p{M}\p{Z}\p{S}\p{N}\p{P}]*`   
Required: No

 ** [ProjectName](#API_UpdateProject_RequestSyntax) **   <a name="sagemaker-UpdateProject-request-ProjectName"></a>
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

 ** [ServiceCatalogProvisioningUpdateDetails](#API_UpdateProject_RequestSyntax) **   <a name="sagemaker-UpdateProject-request-ServiceCatalogProvisioningUpdateDetails"></a>
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 AWS Service Catalog](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).   
Type: [ServiceCatalogProvisioningUpdateDetails](API_ServiceCatalogProvisioningUpdateDetails.md) object  
Required: No

 ** [Tags](#API_UpdateProject_RequestSyntax) **   <a name="sagemaker-UpdateProject-request-Tags"></a>
An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see [Tagging AWS Resources](https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). In addition, the project must have tag update constraints set in order to include this parameter in the request. For more information, see [AWS Service Catalog Tag Update Constraints](https://docs.aws.amazon.com/servicecatalog/latest/adminguide/constraints-resourceupdate.html).  
Type: Array of [Tag](API_Tag.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 50 items.  
Required: No

 ** [TemplateProvidersToUpdate](#API_UpdateProject_RequestSyntax) **   <a name="sagemaker-UpdateProject-request-TemplateProvidersToUpdate"></a>
 The template providers to update in the project.   
Type: Array of [UpdateTemplateProvider](API_UpdateTemplateProvider.md) objects  
Array Members: Fixed number of 1 item.  
Required: No

## Response Syntax
<a name="API_UpdateProject_ResponseSyntax"></a>

```
{
   "ProjectArn": "string"
}
```

## Response Elements
<a name="API_UpdateProject_ResponseElements"></a>

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](#API_UpdateProject_ResponseSyntax) **   <a name="sagemaker-UpdateProject-response-ProjectArn"></a>
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\-]{9,16}:[0-9]{12}:project/[\S]{1,2048}` 

## Errors
<a name="API_UpdateProject_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ConflictException **   
There was a conflict when you attempted to modify a SageMaker entity such as an `Experiment` or `Artifact`.  
HTTP Status Code: 400

## See Also
<a name="API_UpdateProject_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/sagemaker-2017-07-24/UpdateProject) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/sagemaker-2017-07-24/UpdateProject) 