Skip to content

Associate Package

opensearchservice_associate_package R Documentation

Associates a package with an Amazon OpenSearch Service domain

Description

Associates a package with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.

Usage

opensearchservice_associate_package(PackageID, DomainName)

Arguments

PackageID

[required] Internal ID of the package to associate with a domain. Use describe_packages to find this value.

DomainName

[required] Name of the domain to associate the package with.

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$associate_package(
  PackageID = "string",
  DomainName = "string"
)