NAME
Paws::ES::CreatePackage - Arguments for method CreatePackage on Paws::ES
DESCRIPTION
This class represents the parameters used for calling the method CreatePackage on the Amazon Elasticsearch Service service. Use the attributes of this class as arguments to method CreatePackage.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePackage.
SYNOPSIS
my $es = Paws->service('ES');
my $CreatePackageResponse = $es->CreatePackage(
PackageName => 'MyPackageName',
PackageSource => {
S3BucketName => 'MyS3BucketName', # min: 3, max: 63; OPTIONAL
S3Key => 'MyS3Key', # OPTIONAL
},
PackageType => 'TXT-DICTIONARY',
PackageDescription => 'MyPackageDescription', # OPTIONAL
);
# Results:
my $PackageDetails = $CreatePackageResponse->PackageDetails;
# Returns a L<Paws::ES::CreatePackageResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/es/CreatePackage
ATTRIBUTES
PackageDescription => Str
Description of the package.
REQUIRED PackageName => Str
Unique identifier for the package.
REQUIRED PackageSource => Paws::ES::PackageSource
The customer S3 location PackageSource
for importing the package.
REQUIRED PackageType => Str
Type of package. Currently supports only TXT-DICTIONARY.
Valid values are: "TXT-DICTIONARY"
SEE ALSO
This class forms part of Paws, documenting arguments for method CreatePackage in Paws::ES
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues