blib/lib/Paws/Firehose/DestinationDescription.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Firehose::DestinationDescription;
3 use Moose;
4 has DestinationId => (is => 'ro', isa => 'Str', required => 1);
5 has ElasticsearchDestinationDescription => (is => 'ro', isa => 'Paws::Firehose::ElasticsearchDestinationDescription');
6 has ExtendedS3DestinationDescription => (is => 'ro', isa => 'Paws::Firehose::ExtendedS3DestinationDescription');
7 has HttpEndpointDestinationDescription => (is => 'ro', isa => 'Paws::Firehose::HttpEndpointDestinationDescription');
8 has RedshiftDestinationDescription => (is => 'ro', isa => 'Paws::Firehose::RedshiftDestinationDescription');
9 has S3DestinationDescription => (is => 'ro', isa => 'Paws::Firehose::S3DestinationDescription');
10 has SplunkDestinationDescription => (is => 'ro', isa => 'Paws::Firehose::SplunkDestinationDescription');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Firehose::DestinationDescription
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::Firehose::DestinationDescription object:
30  
31 $service_obj->Method(Att1 => { DestinationId => $value, ..., SplunkDestinationDescription => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::Firehose::DestinationDescription object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->DestinationId
39  
40 =head1 DESCRIPTION
41  
42 Describes the destination for a delivery stream.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> DestinationId => Str
48  
49 The ID of the destination.
50  
51  
52 =head2 ElasticsearchDestinationDescription => L<Paws::Firehose::ElasticsearchDestinationDescription>
53  
54 The destination in Amazon ES.
55  
56  
57 =head2 ExtendedS3DestinationDescription => L<Paws::Firehose::ExtendedS3DestinationDescription>
58  
59 The destination in Amazon S3.
60  
61  
62 =head2 HttpEndpointDestinationDescription => L<Paws::Firehose::HttpEndpointDestinationDescription>
63  
64 Describes the specified HTTP endpoint destination.
65  
66  
67 =head2 RedshiftDestinationDescription => L<Paws::Firehose::RedshiftDestinationDescription>
68  
69 The destination in Amazon Redshift.
70  
71  
72 =head2 S3DestinationDescription => L<Paws::Firehose::S3DestinationDescription>
73  
74 [Deprecated] The destination in Amazon S3.
75  
76  
77 =head2 SplunkDestinationDescription => L<Paws::Firehose::SplunkDestinationDescription>
78  
79 The destination in Splunk.
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::Firehose>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94