DevOpsAgentService / Client / delete_asset
delete_asset¶
- DevOpsAgentService.Client.delete_asset(**kwargs)¶
Deletes an asset and all its files from the specified agent space
See also: AWS API Documentation
Request Syntax
response = client.delete_asset( agentSpaceId='string', assetId='string' )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
The unique identifier for the agent space containing the asset
assetId (string) –
[REQUIRED]
The unique identifier of the asset to delete
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Response structure for deleting an asset
Exceptions
DevOpsAgentService.Client.exceptions.ContentSizeExceededExceptionDevOpsAgentService.Client.exceptions.ServiceQuotaExceededExceptionDevOpsAgentService.Client.exceptions.InternalServerExceptionDevOpsAgentService.Client.exceptions.ResourceNotFoundExceptionDevOpsAgentService.Client.exceptions.InvalidParameterException