Skip to content

Updates a package for use with Amazon ES domains

Description

Updates a package for use with Amazon ES domains.

Usage

elasticsearchservice_update_package(PackageID, PackageSource,
  PackageDescription, CommitMessage)

Arguments

  • PackageID

    [required] Unique identifier for the package.

  • PackageSource

    [required] The S3 location for importing the package specified as S3BucketName and S3Key

  • PackageDescription

    New description of the package.

  • CommitMessage

    An info message for the new version which will be shown as part of GetPackageVersionHistoryResponse.

Value

A list with the following syntax:

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

Request syntax

svc$update_package(
  PackageID = "string",
  PackageSource = list(
    S3BucketName = "string",
    S3Key = "string"
  ),
  PackageDescription = "string",
  CommitMessage = "string"
)