« blib/lib/Paws/KinesisAnalytics/OutputUpdate.pm
↑ Summary
blib/lib/Paws/KinesisAnalytics/RecordFormat.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::KinesisAnalytics::RecordColumn; | ||
| 3 | use Moose; | ||
| 4 | has Mapping => (is => 'ro', isa => 'Str'); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has SqlType => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::KinesisAnalytics::RecordColumn | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::KinesisAnalytics::RecordColumn object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Mapping => $value, ..., SqlType => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::KinesisAnalytics::RecordColumn object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Mapping | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Describes the mapping of each data element in the streaming source to | ||
| 39 | the corresponding column in the in-application stream. | ||
| 40 | |||
| 41 | Also used to describe the format of the reference data source. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 Mapping => Str | ||
| 47 | |||
| 48 | Reference to the data element in the streaming input or the reference | ||
| 49 | data source. This element is required if the RecordFormatType | ||
| 50 | (https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel) | ||
| 51 | is C<JSON>. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> Name => Str | ||
| 55 | |||
| 56 | Name of the column created in the in-application input stream or | ||
| 57 | reference table. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> SqlType => Str | ||
| 61 | |||
| 62 | Type of column created in the in-application input stream or reference | ||
| 63 | table. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::KinesisAnalytics> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |