Paws::Glue::GetPlan - Arguments for method GetPlan on Paws::Glue
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.
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
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:
inferSchema
--additional-plan-options-map '{"inferSchema":"true"}'
The programming language of the code to perform the mapping.
Valid values are: "PYTHON", "SCALA"
"PYTHON"
"SCALA"
The parameters for the mapping.
The list of mappings from a source table to target tables.
The target tables.
The source table.
This class forms part of Paws, documenting arguments for method GetPlan in Paws::Glue
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.