blib/lib/Paws/KinesisAnalytics/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::KinesisAnalytics::DiscoverInputSchema;
3 use Moose;
4 has InputProcessingConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalytics::InputProcessingConfiguration');
5 has InputStartingPositionConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalytics::InputStartingPositionConfiguration');
6 has ResourceARN => (is => 'ro', isa => 'Str');
7 has RoleARN => (is => 'ro', isa => 'Str');
8 has S3Configuration => (is => 'ro', isa => 'Paws::KinesisAnalytics::S3Configuration');
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::KinesisAnalytics::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::KinesisAnalytics::DiscoverInputSchema - Arguments for method DiscoverInputSchema on L<Paws::KinesisAnalytics>
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::KinesisAnalytics> 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('KinesisAnalytics');
34 my $DiscoverInputSchemaResponse = $kinesisanalytics->DiscoverInputSchema(
35 InputProcessingConfiguration => {
36 InputLambdaProcessor => {
37 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
38 RoleARN => 'MyRoleARN', # 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 RoleARN => 'MyRoleARN', # OPTIONAL
49 S3Configuration => {
50 BucketARN => 'MyBucketARN', # min: 1, max: 2048
51 FileKey => 'MyFileKey', # min: 1, max: 1024
52 RoleARN => 'MyRoleARN', # min: 1, max: 2048
53  
54 }, # OPTIONAL
55 );
56  
57 # Results:
58 my $InputSchema = $DiscoverInputSchemaResponse->InputSchema;
59 my $ParsedInputRecords = $DiscoverInputSchemaResponse->ParsedInputRecords;
60 my $ProcessedInputRecords =
61 $DiscoverInputSchemaResponse->ProcessedInputRecords;
62 my $RawInputRecords = $DiscoverInputSchemaResponse->RawInputRecords;
63  
64 # Returns a L<Paws::KinesisAnalytics::DiscoverInputSchemaResponse> object.
65  
66 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.
67 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/DiscoverInputSchema>
68  
69 =head1 ATTRIBUTES
70  
71  
72 =head2 InputProcessingConfiguration => L<Paws::KinesisAnalytics::InputProcessingConfiguration>
73  
74 The InputProcessingConfiguration
75 (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html)
76 to use to preprocess the records before discovering the schema of the
77 records.
78  
79  
80  
81 =head2 InputStartingPositionConfiguration => L<Paws::KinesisAnalytics::InputStartingPositionConfiguration>
82  
83 Point at which you want Amazon Kinesis Analytics to start reading
84 records from the specified streaming source discovery purposes.
85  
86  
87  
88 =head2 ResourceARN => Str
89  
90 Amazon Resource Name (ARN) of the streaming source.
91  
92  
93  
94 =head2 RoleARN => Str
95  
96 ARN of the IAM role that Amazon Kinesis Analytics can assume to access
97 the stream on your behalf.
98  
99  
100  
101 =head2 S3Configuration => L<Paws::KinesisAnalytics::S3Configuration>
102  
103 Specify this parameter to discover a schema from data in an Amazon S3
104 object.
105  
106  
107  
108  
109 =head1 SEE ALSO
110  
111 This class forms part of L<Paws>, documenting arguments for method DiscoverInputSchema in L<Paws::KinesisAnalytics>
112  
113 =head1 BUGS and CONTRIBUTIONS
114  
115 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
116  
117 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
118  
119 =cut
120