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

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::KinesisAnalyticsV2::AddApplicationOutput;
3 use Moose;
4 has ApplicationName => (is => 'ro', isa => 'Str', required => 1);
5 has CurrentApplicationVersionId => (is => 'ro', isa => 'Int', required => 1);
6 has Output => (is => 'ro', isa => 'Paws::KinesisAnalyticsV2::Output', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddApplicationOutput');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::KinesisAnalyticsV2::AddApplicationOutputResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::KinesisAnalyticsV2::AddApplicationOutput - Arguments for method AddApplicationOutput on L<Paws::KinesisAnalyticsV2>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method AddApplicationOutput on the
24 L<Amazon Kinesis Analytics|Paws::KinesisAnalyticsV2> service. Use the attributes of this class
25 as arguments to method AddApplicationOutput.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddApplicationOutput.
28  
29 =head1 SYNOPSIS
30  
31 my $kinesisanalytics = Paws->service('KinesisAnalyticsV2');
32 my $AddApplicationOutputResponse = $kinesisanalytics->AddApplicationOutput(
33 ApplicationName => 'MyApplicationName',
34 CurrentApplicationVersionId => 1,
35 Output => {
36 DestinationSchema => {
37 RecordFormatType => 'JSON', # values: JSON, CSV
38  
39 },
40 Name => 'MyInAppStreamName', # min: 1, max: 32
41 KinesisFirehoseOutput => {
42 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
43  
44 }, # OPTIONAL
45 KinesisStreamsOutput => {
46 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
47  
48 }, # OPTIONAL
49 LambdaOutput => {
50 ResourceARN => 'MyResourceARN', # min: 1, max: 2048
51  
52 }, # OPTIONAL
53 },
54  
55 );
56  
57 # Results:
58 my $ApplicationARN = $AddApplicationOutputResponse->ApplicationARN;
59 my $ApplicationVersionId =
60 $AddApplicationOutputResponse->ApplicationVersionId;
61 my $OutputDescriptions = $AddApplicationOutputResponse->OutputDescriptions;
62  
63 # Returns a L<Paws::KinesisAnalyticsV2::AddApplicationOutputResponse> object.
64  
65 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.
66 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics/AddApplicationOutput>
67  
68 =head1 ATTRIBUTES
69  
70  
71 =head2 B<REQUIRED> ApplicationName => Str
72  
73 The name of the application to which you want to add the output
74 configuration.
75  
76  
77  
78 =head2 B<REQUIRED> CurrentApplicationVersionId => Int
79  
80 The version of the application to which you want to add the output
81 configuration. You can use the DescribeApplication operation to get the
82 current application version. If the version specified is not the
83 current version, the C<ConcurrentModificationException> is returned.
84  
85  
86  
87 =head2 B<REQUIRED> Output => L<Paws::KinesisAnalyticsV2::Output>
88  
89 An array of objects, each describing one output configuration. In the
90 output configuration, you specify the name of an in-application stream,
91 a destination (that is, a Kinesis data stream, a Kinesis Data Firehose
92 delivery stream, or an AWS Lambda function), and record the formation
93 to use when writing to the destination.
94  
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, documenting arguments for method AddApplicationOutput 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