NAME
Paws::Athena::DataCatalog
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Athena::DataCatalog object:
$service_obj->Method(Att1 => { Description => $value, ..., Type => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Athena::DataCatalog object:
$result = $service_obj->Method(...);
$result->Att1->Description
DESCRIPTION
Contains information about a data catalog in an AWS account.
ATTRIBUTES
Description => Str
An optional description of the data catalog.
REQUIRED Name => Str
The name of the data catalog. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.
Parameters => Paws::Athena::ParametersMap
Specifies the Lambda function or functions to use for the data catalog. This is a mapping whose values depend on the catalog type.
For the
HIVE
data catalog type, use the following syntax. Themetadata-function
parameter is required.The sdk-version
parameter is optional and defaults to the currently supported version.metadata-function=lambda_arn, sdk-version=version_number
For the
LAMBDA
data catalog type, use one of the following sets of required parameters, but not both.If you have one Lambda function that processes metadata and another for reading the actual data, use the following syntax. Both parameters are required.
metadata-function=lambda_arn, record-function=lambda_arn
If you have a composite Lambda function that processes both metadata and data, use the following syntax to specify your Lambda function.
function=lambda_arn
REQUIRED Type => Str
The type of data catalog: LAMBDA
for a federated catalog or HIVE
for an external hive metastore. GLUE
refers to the AwsDataCatalog
that already exists in your account, of which you can have only one.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Athena
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