ElasticsearchService.Client.delete_package(**kwargs)¶Delete the package.
See also: AWS API Documentation
Request Syntax
response = client.delete_package(
PackageID='string'
)
[REQUIRED]
Internal ID of the package that you want to delete. Use DescribePackages to find this value.
{
'PackageDetails': {
'PackageID': 'string',
'PackageName': 'string',
'PackageType': 'TXT-DICTIONARY',
'PackageDescription': 'string',
'PackageStatus': 'COPYING'|'COPY_FAILED'|'VALIDATING'|'VALIDATION_FAILED'|'AVAILABLE'|'DELETING'|'DELETED'|'DELETE_FAILED',
'CreatedAt': datetime(2015, 1, 1),
'LastUpdatedAt': datetime(2015, 1, 1),
'AvailablePackageVersion': 'string',
'ErrorDetails': {
'ErrorType': 'string',
'ErrorMessage': 'string'
}
}
}
Response Structure
Container for response parameters to DeletePackage operation.
PackageDetails
Internal ID of the package.
User specified name of the package.
Currently supports only TXT-DICTIONARY.
User-specified description of the package.
Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED
Timestamp which tells creation date of the package.
Additional information if the package is in an error state. Null otherwise.
Exceptions
ElasticsearchService.Client.exceptions.BaseExceptionElasticsearchService.Client.exceptions.InternalExceptionElasticsearchService.Client.exceptions.ResourceNotFoundExceptionElasticsearchService.Client.exceptions.AccessDeniedExceptionElasticsearchService.Client.exceptions.ValidationExceptionElasticsearchService.Client.exceptions.ConflictException