blib/lib/Paws/LookoutMetrics/GetSampleData.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::LookoutMetrics::GetSampleData;
3 use Moose;
4 has S3SourceConfig => (is => 'ro', isa => 'Paws::LookoutMetrics::SampleDataS3SourceConfig');
5  
6 use MooseX::ClassAttribute;
7  
8 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetSampleData');
9 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/GetSampleData');
10 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LookoutMetrics::GetSampleDataResponse');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::LookoutMetrics::GetSampleData - Arguments for method GetSampleData on L<Paws::LookoutMetrics>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method GetSampleData on the
23 L<Amazon Lookout for Metrics|Paws::LookoutMetrics> service. Use the attributes of this class
24 as arguments to method GetSampleData.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetSampleData.
27  
28 =head1 SYNOPSIS
29  
30 my $lookoutmetrics = Paws->service('LookoutMetrics');
31 my $GetSampleDataResponse = $lookoutmetrics->GetSampleData(
32 S3SourceConfig => {
33 FileFormatDescriptor => {
34 CsvFormatDescriptor => {
35 Charset => 'MyCharset', # max: 63; OPTIONAL
36 ContainsHeader => 1, # OPTIONAL
37 Delimiter => 'MyDelimiter', # max: 1; OPTIONAL
38 FileCompression => 'NONE', # values: NONE, GZIP; OPTIONAL
39 HeaderList => [
40 'MyColumnName', ... # min: 1, max: 63
41 ], # OPTIONAL
42 QuoteSymbol => 'MyQuoteSymbol', # max: 1; OPTIONAL
43 }, # OPTIONAL
44 JsonFormatDescriptor => {
45 Charset => 'MyCharset', # max: 63; OPTIONAL
46 FileCompression => 'NONE', # values: NONE, GZIP; OPTIONAL
47 }, # OPTIONAL
48 },
49 RoleArn => 'MyArn', # max: 256
50 HistoricalDataPathList => [
51 'MyHistoricalDataPath', ... # max: 1024
52 ], # min: 1, max: 1; OPTIONAL
53 TemplatedPathList => [
54 'MyTemplatedPath', ... # max: 1024
55 ], # min: 1, max: 1; OPTIONAL
56 }, # OPTIONAL
57 );
58  
59 # Results:
60 my $HeaderValues = $GetSampleDataResponse->HeaderValues;
61 my $SampleRows = $GetSampleDataResponse->SampleRows;
62  
63 # Returns a L<Paws::LookoutMetrics::GetSampleDataResponse> 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/lookoutmetrics/GetSampleData>
67  
68 =head1 ATTRIBUTES
69  
70  
71 =head2 S3SourceConfig => L<Paws::LookoutMetrics::SampleDataS3SourceConfig>
72  
73 A datasource bucket in Amazon S3.
74  
75  
76  
77  
78 =head1 SEE ALSO
79  
80 This class forms part of L<Paws>, documenting arguments for method GetSampleData in L<Paws::LookoutMetrics>
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