| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Athena::NamedQuery; | ||
| 3 | use Moose; | ||
| 4 | has Database => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has NamedQueryId => (is => 'ro', isa => 'Str'); | ||
| 8 | has QueryString => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has WorkGroup => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::Athena::NamedQuery | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::Athena::NamedQuery object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Database => $value, ..., WorkGroup => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::Athena::NamedQuery object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Database | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | A query, where C<QueryString> is the list of SQL query statements that | ||
| 42 | comprise the query. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> Database => Str | ||
| 48 | |||
| 49 | The database to which the query belongs. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 Description => Str | ||
| 53 | |||
| 54 | The query description. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> Name => Str | ||
| 58 | |||
| 59 | The query name. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 NamedQueryId => Str | ||
| 63 | |||
| 64 | The unique identifier of the query. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> QueryString => Str | ||
| 68 | |||
| 69 | The SQL query statements that comprise the query. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 WorkGroup => Str | ||
| 73 | |||
| 74 | The name of the workgroup that contains the named query. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head1 SEE ALSO | ||
| 79 | |||
| 80 | This class forms part of L<Paws>, describing an object used in L<Paws::Athena> | ||
| 81 | |||
| 82 | =head1 BUGS and CONTRIBUTIONS | ||
| 83 | |||
| 84 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 85 | |||
| 86 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 87 | |||
| 88 | =cut | ||
| 89 |