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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticsearchservice/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)


1068
1069
1070
1071
1072
1073
1074
1075
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 1068

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)


1068
1069
1070
1071
1072
1073
1074
1075
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 1068

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.



1068
1069
1070
1071
1072
1073
1074
1075
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 1068

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)


1068
1069
1070
1071
1072
1073
1074
1075
# File 'gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/types.rb', line 1068

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