delete_package
¶
delete_package(
package_id: PackageID,
*,
config_overrides: Optional[ElasticsearchServiceClientConfig] = None,
) -> DeletePackageResponse
Delete the package.
Parameters:
-
package_id(PackageID) –Internal ID of the package that you want to delete. Use
DescribePackagesto find this value.
Raises:
-
AccessDeniedException–An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.
-
BaseException–An error occurred while processing the request.
-
ConflictException–An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
-
InternalException–The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
-
ValidationException–An exception for missing / invalid input fields. Gives http status code of 400.
-
UnknownServiceError–The service returned an error code this client does not model.