Class: Aws::ElasticsearchService::Types::CreatePackageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticsearchservice/types.rb

Overview

Note:

When making an API call, you may pass CreatePackageRequest data as a hash:

{
  package_name: "PackageName", # required
  package_type: "TXT-DICTIONARY", # required, accepts TXT-DICTIONARY
  package_description: "PackageDescription",
  package_source: { # required
    s3_bucket_name: "S3BucketName",
    s3_key: "S3Key",
  },
}

Container for request parameters to ‘ CreatePackage ` operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#package_descriptionString

Description of the package.

Returns:

  • (String)


721
722
723
724
725
726
727
728
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 721

class CreatePackageRequest < Struct.new(
  :package_name,
  :package_type,
  :package_description,
  :package_source)
  SENSITIVE = []
  include Aws::Structure
end

#package_nameString

Unique identifier for the package.

Returns:

  • (String)


721
722
723
724
725
726
727
728
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 721

class CreatePackageRequest < Struct.new(
  :package_name,
  :package_type,
  :package_description,
  :package_source)
  SENSITIVE = []
  include Aws::Structure
end

#package_sourceTypes::PackageSource

The customer S3 location ‘PackageSource` for importing the package.



721
722
723
724
725
726
727
728
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 721

class CreatePackageRequest < Struct.new(
  :package_name,
  :package_type,
  :package_description,
  :package_source)
  SENSITIVE = []
  include Aws::Structure
end

#package_typeString

Type of package. Currently supports only TXT-DICTIONARY.

Returns:

  • (String)


721
722
723
724
725
726
727
728
# File 'lib/aws-sdk-elasticsearchservice/types.rb', line 721

class CreatePackageRequest < Struct.new(
  :package_name,
  :package_type,
  :package_description,
  :package_source)
  SENSITIVE = []
  include Aws::Structure
end