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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfiguration;
3 use Moose;
4 has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5 has CurrentApplicationVersionId => (is => 'ro', isa => 'Int', required => 1);
6 has InputId => (is => 'ro', isa => 'Str', required => 1);
7 has InputProcessingConfiguration => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::InputProcessingConfiguration', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddApplicationInputProcessingConfiguration');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfigurationResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfiguration - Arguments for method AddApplicationInputProcessingConfiguration on L<Paws::KinesisAnalyticsV2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method AddApplicationInputProcessingConfiguration on the
25 L<Amazon Kinesis Analytics|Paws::KinesisAnalyticsV2> service. Use the attributes of this class
26 as arguments to method AddApplicationInputProcessingConfiguration.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationInputProcessingConfiguration.
29  
30 =head1 SYNOPSIS
31  
32 my $kinesisanalytics = Paws->service('KinesisAnalyticsV2');
33 my $AddApplicationInputProcessingConfigurationResponse =
34 $kinesisanalytics->AddApplicationInputProcessingConfiguration(
35 ApplicationName => 'MyApplicationName',
36 CurrentApplicationVersionId => 1,
37 InputId => 'MyId',
38 InputProcessingConfiguration => {
39 InputLambdaProcessor => {
40 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
41  
42 },
43  
44 },
45  
46 );
47  
48 # Results:
49 my $ApplicationARN =
50 $AddApplicationInputProcessingConfigurationResponse->ApplicationARN;
51 my $ApplicationVersionId =
52 $AddApplicationInputProcessingConfigurationResponse->ApplicationVersionId;
53 my $InputId = $AddApplicationInputProcessingConfigurationResponse->InputId;
54 my $InputProcessingConfigurationDescription =
55 $AddApplicationInputProcessingConfigurationResponse
56 ->InputProcessingConfigurationDescription;
57  
58 # Returns a L<Paws::KinesisAnalyticsV2::AddApplicationInputProcessingConfigurationResponse> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/AddApplicationInputProcessingConfiguration>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 B<REQUIRED> ApplicationName => Str
67  
68 The name of the application to which you want to add the input
69 processing configuration.
70  
71  
72  
73 =head2 B<REQUIRED> CurrentApplicationVersionId => Int
74  
75 The version of the application to which you want to add the input
76 processing configuration. You can use the DescribeApplication operation
77 to get the current application version. If the version specified is not
78 the current version, the C<ConcurrentModificationException> is
79 returned.
80  
81  
82  
83 =head2 B<REQUIRED> InputId => Str
84  
85 The ID of the input configuration to add the input processing
86 configuration to. You can get a list of the input IDs for an
87 application using the DescribeApplication operation.
88  
89  
90  
91 =head2 B<REQUIRED> InputProcessingConfiguration => L<Paws::KinesisAnalyticsV2::InputProcessingConfiguration>
92  
93 The InputProcessingConfiguration to add to the application.
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, documenting arguments for method AddApplicationInputProcessingConfiguration in L<Paws::KinesisAnalyticsV2>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109