Skip to content

Delete Package

opensearchservice_delete_package R Documentation

Deletes an Amazon OpenSearch Service package

Description

Deletes an Amazon OpenSearch Service package. For more information, see Custom packages for Amazon OpenSearch Service.

Usage

opensearchservice_delete_package(PackageID)

Arguments

PackageID

[required] The internal ID of the package you want to delete. Use describe_packages to find this value.

Value

A list with the following syntax:

list(
  PackageDetails = list(
    PackageID = "string",
    PackageName = "string",
    PackageType = "TXT-DICTIONARY"|"ZIP-PLUGIN",
    PackageDescription = "string",
    PackageStatus = "COPYING"|"COPY_FAILED"|"VALIDATING"|"VALIDATION_FAILED"|"AVAILABLE"|"DELETING"|"DELETED"|"DELETE_FAILED",
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    LastUpdatedAt = as.POSIXct(
      "2015-01-01"
    ),
    AvailablePackageVersion = "string",
    ErrorDetails = list(
      ErrorType = "string",
      ErrorMessage = "string"
    ),
    EngineVersion = "string",
    AvailablePluginProperties = list(
      Name = "string",
      Description = "string",
      Version = "string",
      ClassName = "string",
      UncompressedSizeInBytes = 123
    )
  )
)

Request syntax

svc$delete_package(
  PackageID = "string"
)