File Coverage

blib/lib/Paws/Firehose/UpdateDestination.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Firehose::UpdateDestination;
3 1     1   339 use Moose;
  1         2  
  1         7  
4             has CurrentDeliveryStreamVersionId => (is => 'ro', isa => 'Str', required => 1);
5             has DeliveryStreamName => (is => 'ro', isa => 'Str', required => 1);
6             has DestinationId => (is => 'ro', isa => 'Str', required => 1);
7             has ElasticsearchDestinationUpdate => (is => 'ro', isa => 'Paws::Firehose::ElasticsearchDestinationUpdate');
8             has ExtendedS3DestinationUpdate => (is => 'ro', isa => 'Paws::Firehose::ExtendedS3DestinationUpdate');
9             has RedshiftDestinationUpdate => (is => 'ro', isa => 'Paws::Firehose::RedshiftDestinationUpdate');
10             has S3DestinationUpdate => (is => 'ro', isa => 'Paws::Firehose::S3DestinationUpdate');
11              
12 1     1   5557 use MooseX::ClassAttribute;
  1         4  
  1         7  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDestination');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Firehose::UpdateDestinationOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Firehose::UpdateDestination - Arguments for method UpdateDestination on Paws::Firehose
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method UpdateDestination on the
28             Amazon Kinesis Firehose service. Use the attributes of this class
29             as arguments to method UpdateDestination.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDestination.
32              
33             As an example:
34              
35             $service_obj->UpdateDestination(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> CurrentDeliveryStreamVersionId => Str
43              
44             Obtain this value from the B<VersionId> result of
45             DeliveryStreamDescription. This value is required, and helps the
46             service to perform conditional operations. For example, if there is an
47             interleaving update and this value is null, then the update destination
48             fails. After the update is successful, the B<VersionId> value is
49             updated. The service then performs a merge of the old configuration
50             with the new configuration.
51              
52              
53              
54             =head2 B<REQUIRED> DeliveryStreamName => Str
55              
56             The name of the delivery stream.
57              
58              
59              
60             =head2 B<REQUIRED> DestinationId => Str
61              
62             The ID of the destination.
63              
64              
65              
66             =head2 ElasticsearchDestinationUpdate => L<Paws::Firehose::ElasticsearchDestinationUpdate>
67              
68             Describes an update for a destination in Amazon ES.
69              
70              
71              
72             =head2 ExtendedS3DestinationUpdate => L<Paws::Firehose::ExtendedS3DestinationUpdate>
73              
74             Describes an update for a destination in Amazon S3.
75              
76              
77              
78             =head2 RedshiftDestinationUpdate => L<Paws::Firehose::RedshiftDestinationUpdate>
79              
80             Describes an update for a destination in Amazon Redshift.
81              
82              
83              
84             =head2 S3DestinationUpdate => L<Paws::Firehose::S3DestinationUpdate>
85              
86             [Deprecated] Describes an update for a destination in Amazon S3.
87              
88              
89              
90              
91             =head1 SEE ALSO
92              
93             This class forms part of L<Paws>, documenting arguments for method UpdateDestination in L<Paws::Firehose>
94              
95             =head1 BUGS and CONTRIBUTIONS
96              
97             The source code is located here: https://github.com/pplu/aws-sdk-perl
98              
99             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
100              
101             =cut
102