NAME

Paws::Glue::GetPlan - Arguments for method GetPlan on Paws::Glue

DESCRIPTION

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

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

SYNOPSIS

my $glue = Paws->service('Glue');
my $GetPlanResponse = $glue->GetPlan(
  Mapping => [
    {
      SourcePath  => 'MySchemaPathString',    # OPTIONAL
      SourceTable => 'MyTableName',           # OPTIONAL
      SourceType  => 'MyFieldType',           # OPTIONAL
      TargetPath  => 'MySchemaPathString',    # OPTIONAL
      TargetTable => 'MyTableName',           # OPTIONAL
      TargetType  => 'MyFieldType',           # OPTIONAL
    },
    ...
  ],
  Source => {
    DatabaseName => 'MyNameString',    # min: 1, max: 255
    TableName    => 'MyNameString',    # min: 1, max: 255

  },
  AdditionalPlanOptionsMap => { 'MyGenericString' => 'MyGenericString', }
  ,                                    # OPTIONAL
  Language => 'PYTHON',                # OPTIONAL
  Location => {
    DynamoDB => [
      {
        Name  => 'MyCodeGenArgName',
        Value => 'MyCodeGenArgValue',
        Param => 1,                     # OPTIONAL
      },
      ...
    ],    # max: 50; OPTIONAL
    Jdbc => [
      {
        Name  => 'MyCodeGenArgName',
        Value => 'MyCodeGenArgValue',
        Param => 1,                     # OPTIONAL
      },
      ...
    ],    # max: 50; OPTIONAL
    S3 => [
      {
        Name  => 'MyCodeGenArgName',
        Value => 'MyCodeGenArgValue',
        Param => 1,                     # OPTIONAL
      },
      ...
    ],    # max: 50; OPTIONAL
  },    # OPTIONAL
  Sinks => [
    {
      DatabaseName => 'MyNameString',    # min: 1, max: 255
      TableName    => 'MyNameString',    # min: 1, max: 255

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $PythonScript = $GetPlanResponse->PythonScript;
my $ScalaCode    = $GetPlanResponse->ScalaCode;

# Returns a L<Paws::Glue::GetPlanResponse> 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/glue/GetPlan

ATTRIBUTES

AdditionalPlanOptionsMap => Paws::Glue::AdditionalPlanOptionsMap

A map to hold additional optional key-value parameters.

Currently, these key-value pairs are supported:

  • inferSchema — Specifies whether to set inferSchema to true or false for the default script generated by an Glue job. For example, to set inferSchema to true, pass the following key value pair:

    --additional-plan-options-map '{"inferSchema":"true"}'

Language => Str

The programming language of the code to perform the mapping.

Valid values are: "PYTHON", "SCALA"

Location => Paws::Glue::Location

The parameters for the mapping.

REQUIRED Mapping => ArrayRef[Paws::Glue::MappingEntry]

The list of mappings from a source table to target tables.

Sinks => ArrayRef[Paws::Glue::CatalogEntry]

The target tables.

REQUIRED Source => Paws::Glue::CatalogEntry

The source table.

SEE ALSO

This class forms part of Paws, documenting arguments for method GetPlan in Paws::Glue

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