NAME
Paws::Athena::UpdateDataCatalog - Arguments for method UpdateDataCatalog on Paws::Athena
DESCRIPTION
This class represents the parameters used for calling the method UpdateDataCatalog on the Amazon Athena service. Use the attributes of this class as arguments to method UpdateDataCatalog.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDataCatalog.
SYNOPSIS
my $athena = Paws->service('Athena');
my $UpdateDataCatalogOutput = $athena->UpdateDataCatalog(
Name => 'MyCatalogNameString',
Type => 'LAMBDA',
Description => 'MyDescriptionString', # OPTIONAL
Parameters => {
'MyKeyString' =>
'MyParametersMapValue', # key: min: 1, max: 255, value: max: 51200
}, # OPTIONAL
);
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/athena/UpdateDataCatalog
ATTRIBUTES
Description => Str
New or modified text that describes the data catalog.
REQUIRED Name => Str
The name of the data catalog to update. 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 updating 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
Specifies the type of data catalog to update. Specify LAMBDA
for a federated catalog or HIVE
for an external hive metastore.
Do not use the GLUE
type. This refers to the AwsDataCatalog
that already exists in your account, of which you can have only one. Specifying the GLUE
type will result in an INVALID_INPUT
error.
Valid values are: "LAMBDA"
, "GLUE"
, "HIVE"
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateDataCatalog 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