delete_artifact
(**kwargs)¶Deletes an artifact. Either ArtifactArn
or Source
must be specified.
See also: AWS API Documentation
Request Syntax
response = client.delete_artifact(
ArtifactArn='string',
Source={
'SourceUri': 'string',
'SourceTypes': [
{
'SourceIdType': 'MD5Hash'|'S3ETag'|'S3Version'|'Custom',
'Value': 'string'
},
]
}
)
The URI of the source.
The URI of the source.
A list of source types.
The ID and ID type of an artifact source.
The type of ID.
The ID.
dict
Response Syntax
{
'ArtifactArn': 'string'
}
Response Structure
(dict) --
ArtifactArn (string) --
The Amazon Resource Name (ARN) of the artifact.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound