Skip to content

Create Package

elasticsearchservice_create_package R Documentation

Create a package for use with Amazon ES domains

Description

Create a package for use with Amazon ES domains.

Usage

elasticsearchservice_create_package(PackageName, PackageType,
  PackageDescription, PackageSource)

Arguments

PackageName

[required] Unique identifier for the package.

PackageType

[required] Type of package. Currently supports only TXT-DICTIONARY.

PackageDescription

Description of the package.

PackageSource

[required] The customer S3 location PackageSource for importing the package.

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$create_package(
  PackageName = "string",
  PackageType = "TXT-DICTIONARY",
  PackageDescription = "string",
  PackageSource = list(
    S3BucketName = "string",
    S3Key = "string"
  )
)