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::GlueDataBrew::CreateDataset(3) User Contributed Perl Documentation Paws::GlueDataBrew::CreateDataset(3)

Paws::GlueDataBrew::CreateDataset - Arguments for method CreateDataset on Paws::GlueDataBrew

This class represents the parameters used for calling the method CreateDataset on the AWS Glue DataBrew service. Use the attributes of this class as arguments to method CreateDataset.

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

    my $databrew = Paws->service('GlueDataBrew');
    my $CreateDatasetResponse = $databrew->CreateDataset(
      Input => {
        DataCatalogInputDefinition => {
          DatabaseName  => 'MyDatabaseName',    # min: 1, max: 255
          TableName     => 'MyTableName',       # min: 1, max: 255
          CatalogId     => 'MyCatalogId',       # min: 1, max: 255; OPTIONAL
          TempDirectory => {
            Bucket => 'MyBucket',               # min: 3, max: 63
            Key    => 'MyKey',                  # min: 1, max: 1280; OPTIONAL
          },    # OPTIONAL
        },    # OPTIONAL
        DatabaseInputDefinition => {
          DatabaseTableName  => 'MyDatabaseTableName',     # min: 1, max: 255
          GlueConnectionName => 'MyGlueConnectionName',    # min: 1, max: 255
          TempDirectory      => {
            Bucket => 'MyBucket',    # min: 3, max: 63
            Key    => 'MyKey',       # min: 1, max: 1280; OPTIONAL
          },    # OPTIONAL
        },    # OPTIONAL
        S3InputDefinition => {
          Bucket => 'MyBucket',    # min: 3, max: 63
          Key    => 'MyKey',       # min: 1, max: 1280; OPTIONAL
        },    # OPTIONAL
      },
      Name          => 'MyDatasetName',
      Format        => 'CSV',             # OPTIONAL
      FormatOptions => {
        Csv => {
          Delimiter => 'MyDelimiter',    # min: 1, max: 1; OPTIONAL
          HeaderRow => 1,                # OPTIONAL
        },    # OPTIONAL
        Excel => {
          HeaderRow    => 1,    # OPTIONAL
          SheetIndexes => [
            1, ...              # max: 200
          ],    # min: 1, max: 1; OPTIONAL
          SheetNames => [
            'MySheetName', ...    # min: 1, max: 31
          ],    # min: 1, max: 1; OPTIONAL
        },    # OPTIONAL
        Json => {
          MultiLine => 1,    # OPTIONAL
        },    # OPTIONAL
      },    # OPTIONAL
      PathOptions => {
        FilesLimit => {
          MaxFiles  => 1,              # min: 1
          Order     => 'DESCENDING',   # values: DESCENDING, ASCENDING; OPTIONAL
          OrderedBy =>
            'LAST_MODIFIED_DATE',      # values: LAST_MODIFIED_DATE; OPTIONAL
        },    # OPTIONAL
        LastModifiedDateCondition => {
          Expression => 'MyExpression',    # min: 4, max: 1024
          ValuesMap  => {
            'MyValueReference' =>
              'MyConditionValue',    # key: min: 2, max: 128, value: max: 1024
          },
        },    # OPTIONAL
        Parameters => {
          'MyPathParameterName' => {
            Name => 'MyPathParameterName',    # min: 1, max: 255
            Type => 'Datetime',               # values: Datetime, Number, String
            CreateColumn    => 1,             # OPTIONAL
            DatetimeOptions => {
              Format         => 'MyDatetimeFormat', # min: 2, max: 100
              LocaleCode     => 'MyLocaleCode',     # min: 2, max: 100; OPTIONAL
              TimezoneOffset => 'MyTimezoneOffset', # min: 1, max: 6; OPTIONAL
            },    # OPTIONAL
            Filter => {
              Expression => 'MyExpression',    # min: 4, max: 1024
              ValuesMap  => {
                'MyValueReference' =>
                  'MyConditionValue',  # key: min: 2, max: 128, value: max: 1024
              },
            },    # OPTIONAL
          },    # key: min: 1, max: 255
        },    # min: 1, max: 10; OPTIONAL
      },    # OPTIONAL
      Tags => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
    );
    # Results:
    my $Name = $CreateDatasetResponse->Name;
    # Returns a L<Paws::GlueDataBrew::CreateDatasetResponse> 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/databrew/CreateDataset>

The file format of a dataset that is created from an Amazon S3 file or folder.

Valid values are: "CSV", "JSON", "PARQUET", "EXCEL"

REQUIRED Input => Paws::GlueDataBrew::Input

REQUIRED Name => Str

The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.

Metadata tags to apply to this dataset.

This class forms part of Paws, documenting arguments for method CreateDataset in Paws::GlueDataBrew

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.