The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::KinesisAnalyticsV2::DiscoverInputSchema - Arguments for method DiscoverInputSchema on Paws::KinesisAnalyticsV2

DESCRIPTION

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

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

SYNOPSIS

my $kinesisanalytics = Paws->service('KinesisAnalyticsV2');
my $DiscoverInputSchemaResponse = $kinesisanalytics->DiscoverInputSchema(
  ServiceExecutionRole         => 'MyRoleARN',
  InputProcessingConfiguration => {
    InputLambdaProcessor => {
      ResourceARN => 'MyResourceARN',    # min: 1, max: 2048

    },

  },    # OPTIONAL
  InputStartingPositionConfiguration => {
    InputStartingPosition =>
      'NOW',    # values: NOW, TRIM_HORIZON, LAST_STOPPED_POINT; OPTIONAL
  },    # OPTIONAL
  ResourceARN     => 'MyResourceARN',    # OPTIONAL
  S3Configuration => {
    BucketARN => 'MyBucketARN',          # min: 1, max: 2048
    FileKey   => 'MyFileKey',            # min: 1, max: 1024

  },    # OPTIONAL
);

# Results:
my $InputSchema        = $DiscoverInputSchemaResponse->InputSchema;
my $ParsedInputRecords = $DiscoverInputSchemaResponse->ParsedInputRecords;
my $ProcessedInputRecords =
  $DiscoverInputSchemaResponse->ProcessedInputRecords;
my $RawInputRecords = $DiscoverInputSchemaResponse->RawInputRecords;

# Returns a L<Paws::KinesisAnalyticsV2::DiscoverInputSchemaResponse> 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/kinesisanalytics/DiscoverInputSchema

ATTRIBUTES

InputProcessingConfiguration => Paws::KinesisAnalyticsV2::InputProcessingConfiguration

The InputProcessingConfiguration to use to preprocess the records before discovering the schema of the records.

InputStartingPositionConfiguration => Paws::KinesisAnalyticsV2::InputStartingPositionConfiguration

The point at which you want Kinesis Data Analytics to start reading records from the specified streaming source discovery purposes.

ResourceARN => Str

The Amazon Resource Name (ARN) of the streaming source.

S3Configuration => Paws::KinesisAnalyticsV2::S3Configuration

Specify this parameter to discover a schema from data in an Amazon S3 object.

REQUIRED ServiceExecutionRole => Str

The ARN of the role that is used to access the streaming source.

SEE ALSO

This class forms part of Paws, documenting arguments for method DiscoverInputSchema in Paws::KinesisAnalyticsV2

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