:doc:`SageMaker <../../sagemaker>` / Client / update_artifact

***************
update_artifact
***************



.. py:method:: SageMaker.Client.update_artifact(**kwargs)

  

  Updates an artifact.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact>`_  


  **Request Syntax**
  ::

    response = client.update_artifact(
        ArtifactArn='string',
        ArtifactName='string',
        Properties={
            'string': 'string'
        },
        PropertiesToRemove=[
            'string',
        ]
    )
    
  :type ArtifactArn: string
  :param ArtifactArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the artifact to update.

    

  
  :type ArtifactName: string
  :param ArtifactName: 

    The new name for the artifact.

    

  
  :type Properties: dict
  :param Properties: 

    The new list of properties. Overwrites the current property list.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  :type PropertiesToRemove: list
  :param PropertiesToRemove: 

    A list of properties to remove.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ArtifactArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ArtifactArn** *(string) --* 

        The Amazon Resource Name (ARN) of the artifact.

        
  
  **Exceptions**
  
  *   :py:class:`SageMaker.Client.exceptions.ConflictException`

  
  *   :py:class:`SageMaker.Client.exceptions.ResourceNotFound`

  