Skip to content

Dissociate Package

opensearchservice_dissociate_package R Documentation

Removes a package from the specified Amazon OpenSearch Service domain

Description

Removes a package from the specified Amazon OpenSearch Service domain. The package can't be in use with any OpenSearch index for the dissociation to succeed. The package is still available in OpenSearch Service for association later. For more information, see Custom packages for Amazon OpenSearch Service.

Usage

opensearchservice_dissociate_package(PackageID, DomainName)

Arguments

PackageID

[required] Internal ID of the package to dissociate from the domain. Use list_packages_for_domain to find this value.

DomainName

[required] Name of the domain to dissociate the package from.

Value

A list with the following syntax:

list(
  DomainPackageDetails = list(
    PackageID = "string",
    PackageName = "string",
    PackageType = "TXT-DICTIONARY"|"ZIP-PLUGIN",
    LastUpdated = as.POSIXct(
      "2015-01-01"
    ),
    DomainName = "string",
    DomainPackageStatus = "ASSOCIATING"|"ASSOCIATION_FAILED"|"ACTIVE"|"DISSOCIATING"|"DISSOCIATION_FAILED",
    PackageVersion = "string",
    ReferencePath = "string",
    ErrorDetails = list(
      ErrorType = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$dissociate_package(
  PackageID = "string",
  DomainName = "string"
)