Skip to content

Associate Package

elasticsearchservice_associate_package R Documentation

Associates a package with an Amazon ES domain

Description

Associates a package with an Amazon ES domain.

Usage

elasticsearchservice_associate_package(PackageID, DomainName)

Arguments

PackageID

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

DomainName

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

Value

A list with the following syntax:

list(
  DomainPackageDetails = list(
    PackageID = "string",
    PackageName = "string",
    PackageType = "TXT-DICTIONARY",
    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"
)