GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::Athena::CreateDataCatalog(3) User Contributed Perl Documentation Paws::Athena::CreateDataCatalog(3)

Paws::Athena::CreateDataCatalog - Arguments for method CreateDataCatalog on Paws::Athena

This class represents the parameters used for calling the method CreateDataCatalog on the Amazon Athena service. Use the attributes of this class as arguments to method CreateDataCatalog.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataCatalog.

    my $athena = Paws->service('Athena');
    my $CreateDataCatalogOutput = $athena->CreateDataCatalog(
      Name        => 'MyCatalogNameString',
      Type        => 'LAMBDA',
      Description => 'MyDescriptionString',    # OPTIONAL
      Parameters  => {
        'MyKeyString' =>
          'MyParametersMapValue',    # key: min: 1, max: 255, value: max: 51200
      },    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128; OPTIONAL
          Value => 'MyTagValue',    # max: 256; OPTIONAL
        },
        ...
      ],    # 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/CreateDataCatalog>

A description of the data catalog to be created.

REQUIRED Name => Str

The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.

Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.

  • For the "HIVE" data catalog type, use the following syntax. The "metadata-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"

A list of comma separated tags to add to the data catalog that is created.

REQUIRED Type => Str

The type of data catalog to create: "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"

This class forms part of Paws, documenting arguments for method CreateDataCatalog in Paws::Athena

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.