blib/lib/Paws/KinesisAnalyticsV2/DiscoverInputSchema.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::KinesisAnalyticsV2::DiscoverInputSchema;
3 use Moose;
4 has InputProcessingConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::InputProcessingConfiguration');
5 has InputStartingPositionConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::InputStartingPositionConfiguration');
6 has ResourceARN => (is => 'ro', isa => 'Str');
7 has S3Configuration => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::S3Configuration');
8 has ServiceExecutionRole => (is => 'ro', isa => 'Str', required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DiscoverInputSchema');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalyticsV2::DiscoverInputSchemaResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::KinesisAnalyticsV2::DiscoverInputSchema - Arguments for method DiscoverInputSchema on L<Paws::KinesisAnalyticsV2>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DiscoverInputSchema on the
26 L<Amazon Kinesis Analytics|Paws::KinesisAnalyticsV2> service. Use the attributes of this class
27 as arguments to method DiscoverInputSchema.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DiscoverInputSchema.
30  
31 =head1 SYNOPSIS
32  
33 my $kinesisanalytics = Paws->service('KinesisAnalyticsV2');
34 my $DiscoverInputSchemaResponse = $kinesisanalytics->DiscoverInputSchema(
35 ServiceExecutionRole => 'MyRoleARN',
36 InputProcessingConfiguration => {
37 InputLambdaProcessor => {
38 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
39  
40 },
41  
42 }, # OPTIONAL
43 InputStartingPositionConfiguration => {
44 InputStartingPosition =>
45 'NOW', # values: NOW, TRIM_HORIZON, LAST_STOPPED_POINT; OPTIONAL
46 }, # OPTIONAL
47 ResourceARN => 'MyResourceARN', # OPTIONAL
48 S3Configuration => {
49 BucketARN => 'MyBucketARN', # min: 1, max: 2048
50 FileKey => 'MyFileKey', # min: 1, max: 1024
51  
52 }, # OPTIONAL
53 );
54  
55 # Results:
56 my $InputSchema = $DiscoverInputSchemaResponse->InputSchema;
57 my $ParsedInputRecords = $DiscoverInputSchemaResponse->ParsedInputRecords;
58 my $ProcessedInputRecords =
59 $DiscoverInputSchemaResponse->ProcessedInputRecords;
60 my $RawInputRecords = $DiscoverInputSchemaResponse->RawInputRecords;
61  
62 # Returns a L<Paws::KinesisAnalyticsV2::DiscoverInputSchemaResponse> object.
63  
64 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.
65 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/DiscoverInputSchema>
66  
67 =head1 ATTRIBUTES
68  
69  
70 =head2 InputProcessingConfiguration => L<Paws::KinesisAnalyticsV2::InputProcessingConfiguration>
71  
72 The InputProcessingConfiguration to use to preprocess the records
73 before discovering the schema of the records.
74  
75  
76  
77 =head2 InputStartingPositionConfiguration => L<Paws::KinesisAnalyticsV2::InputStartingPositionConfiguration>
78  
79 The point at which you want Kinesis Data Analytics to start reading
80 records from the specified streaming source discovery purposes.
81  
82  
83  
84 =head2 ResourceARN => Str
85  
86 The Amazon Resource Name (ARN) of the streaming source.
87  
88  
89  
90 =head2 S3Configuration => L<Paws::KinesisAnalyticsV2::S3Configuration>
91  
92 Specify this parameter to discover a schema from data in an Amazon S3
93 object.
94  
95  
96  
97 =head2 B<REQUIRED> ServiceExecutionRole => Str
98  
99 The ARN of the role that is used to access the streaming source.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method DiscoverInputSchema in L<Paws::KinesisAnalyticsV2>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115