SageMaker / Client / update_artifact

update_artifact#

SageMaker.Client.update_artifact(**kwargs)#

Updates an artifact.

See also: AWS API Documentation

Request Syntax

response = client.update_artifact(
    ArtifactArn='string',
    ArtifactName='string',
    Properties={
        'string': 'string'
    },
    PropertiesToRemove=[
        'string',
    ]
)
Parameters:
  • ArtifactArn (string) –

    [REQUIRED]

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

  • ArtifactName (string) – The new name for the artifact.

  • Properties (dict) –

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

    • (string) –

      • (string) –

  • PropertiesToRemove (list) –

    A list of properties to remove.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ArtifactArn': 'string'
}

Response Structure

  • (dict) –

    • ArtifactArn (string) –

      The Amazon Resource Name (ARN) of the artifact.

Exceptions

  • SageMaker.Client.exceptions.ConflictException

  • SageMaker.Client.exceptions.ResourceNotFound