« blib/lib/Paws/RedshiftData/Field.pm
↑ Summary
blib/lib/Paws/RedshiftData/GetStatementResultResponse.pm »
| 1 | |||
| 2 | package Paws::RedshiftData::GetStatementResult; | ||
| 3 | use Moose; | ||
| 4 | has Id => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has NextToken => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetStatementResult'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::RedshiftData::GetStatementResultResponse'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::RedshiftData::GetStatementResult - Arguments for method GetStatementResult on L<Paws::RedshiftData> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method GetStatementResult on the | ||
| 23 | L<Redshift Data API Service|Paws::RedshiftData> service. Use the attributes of this class | ||
| 24 | as arguments to method GetStatementResult. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetStatementResult. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $redshift-data = Paws->service('RedshiftData'); | ||
| 31 | my $GetStatementResultResponse = $redshift -data->GetStatementResult( | ||
| 32 | Id => 'MyUUID', | ||
| 33 | NextToken => 'MyString', # OPTIONAL | ||
| 34 | ); | ||
| 35 | |||
| 36 | # Results: | ||
| 37 | my $ColumnMetadata = $GetStatementResultResponse->ColumnMetadata; | ||
| 38 | my $NextToken = $GetStatementResultResponse->NextToken; | ||
| 39 | my $Records = $GetStatementResultResponse->Records; | ||
| 40 | my $TotalNumRows = $GetStatementResultResponse->TotalNumRows; | ||
| 41 | |||
| 42 | # Returns a L<Paws::RedshiftData::GetStatementResultResponse> object. | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/redshift-data/GetStatementResult> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> Id => Str | ||
| 51 | |||
| 52 | The identifier of the SQL statement whose results are to be fetched. | ||
| 53 | This value is a universally unique identifier (UUID) generated by | ||
| 54 | Amazon Redshift Data API. This identifier is returned by | ||
| 55 | C<ExecuteStatment> and C<ListStatements>. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 NextToken => Str | ||
| 60 | |||
| 61 | A value that indicates the starting point for the next set of response | ||
| 62 | records in a subsequent request. If a value is returned in a response, | ||
| 63 | you can retrieve the next set of records by providing this returned | ||
| 64 | NextToken value in the next NextToken parameter and retrying the | ||
| 65 | command. If the NextToken field is empty, all response records have | ||
| 66 | been retrieved for the request. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head1 SEE ALSO | ||
| 72 | |||
| 73 | This class forms part of L<Paws>, documenting arguments for method GetStatementResult in L<Paws::RedshiftData> | ||
| 74 | |||
| 75 | =head1 BUGS and CONTRIBUTIONS | ||
| 76 | |||
| 77 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 78 | |||
| 79 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 80 | |||
| 81 | =cut | ||
| 82 |