« blib/lib/Paws/KinesisAnalytics/AddApplicationInputResponse.pm
↑ Summary
blib/lib/Paws/KinesisAnalytics/AddApplicationOutputResponse.pm »
| 1 | |||
| 2 | package Paws::KinesisAnalytics::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::KinesisAnalytics::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::KinesisAnalytics::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::KinesisAnalytics::AddApplicationOutput - Arguments for method AddApplicationOutput on L<Paws::KinesisAnalytics> | ||
| 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::KinesisAnalytics> 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('KinesisAnalytics'); | ||
| 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 | RoleARN => 'MyRoleARN', # min: 1, max: 2048 | ||
| 44 | |||
| 45 | }, # OPTIONAL | ||
| 46 | KinesisStreamsOutput => { | ||
| 47 | ResourceARN => 'MyResourceARN', # min: 1, max: 2048 | ||
| 48 | RoleARN => 'MyRoleARN', # min: 1, max: 2048 | ||
| 49 | |||
| 50 | }, # OPTIONAL | ||
| 51 | LambdaOutput => { | ||
| 52 | ResourceARN => 'MyResourceARN', # min: 1, max: 2048 | ||
| 53 | RoleARN => 'MyRoleARN', # min: 1, max: 2048 | ||
| 54 | |||
| 55 | }, # OPTIONAL | ||
| 56 | }, | ||
| 57 | |||
| 58 | ); | ||
| 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/AddApplicationOutput> | ||
| 62 | |||
| 63 | =head1 ATTRIBUTES | ||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> ApplicationName => Str | ||
| 67 | |||
| 68 | Name of the application to which you want to add the output | ||
| 69 | configuration. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> CurrentApplicationVersionId => Int | ||
| 74 | |||
| 75 | Version of the application to which you want to add the output | ||
| 76 | configuration. You can use the DescribeApplication | ||
| 77 | (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html) | ||
| 78 | operation to get the current application version. If the version | ||
| 79 | specified is not the current version, the | ||
| 80 | C<ConcurrentModificationException> is returned. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 B<REQUIRED> Output => L<Paws::KinesisAnalytics::Output> | ||
| 85 | |||
| 86 | An array of objects, each describing one output configuration. In the | ||
| 87 | output configuration, you specify the name of an in-application stream, | ||
| 88 | a destination (that is, an Amazon Kinesis stream, an Amazon Kinesis | ||
| 89 | Firehose delivery stream, or an AWS Lambda function), and record the | ||
| 90 | formation to use when writing to the destination. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, documenting arguments for method AddApplicationOutput in L<Paws::KinesisAnalytics> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |