File Coverage

blib/lib/Paws/ES.pm
Criterion Covered Total %
statement 19 49 38.7
branch n/a
condition n/a
subroutine 7 19 36.8
pod 13 17 76.4
total 39 85 45.8


line stmt bran cond sub pod time code
1             package Paws::ES;
2 1     1   9106 use Moose;
  1     1   3  
  1         10  
  1         522  
  1         2  
  1         7  
3 5     5 0 19 sub service { 'es' }
4 0     0 0 0 sub version { '2015-01-01' }
5 0     0 0 0 sub flattened_arrays { 0 }
6             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
7             has retry => (is => 'ro', isa => 'HashRef', default => sub {
8             { base => 'rand', type => 'exponential', growth_factor => 2 }
9             });
10             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
11             ] });
12              
13             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller', 'Paws::Net::RestJsonResponse';
14              
15            
16             sub AddTags {
17 0     0 1 0 my $self = shift;
18 0         0 my $call_object = $self->new_with_coercions('Paws::ES::AddTags', @_);
19 0         0 return $self->caller->do_call($self, $call_object);
20             }
21             sub CreateElasticsearchDomain {
22 0     0 1 0 my $self = shift;
23 0         0 my $call_object = $self->new_with_coercions('Paws::ES::CreateElasticsearchDomain', @_);
24 0         0 return $self->caller->do_call($self, $call_object);
25             }
26             sub DeleteElasticsearchDomain {
27 1     1 1 274 my $self = shift;
28 1         9 my $call_object = $self->new_with_coercions('Paws::ES::DeleteElasticsearchDomain', @_);
29 1         500 return $self->caller->do_call($self, $call_object);
30             }
31             sub DescribeElasticsearchDomain {
32 1     1 1 305 my $self = shift;
33 1         9 my $call_object = $self->new_with_coercions('Paws::ES::DescribeElasticsearchDomain', @_);
34 1         541 return $self->caller->do_call($self, $call_object);
35             }
36             sub DescribeElasticsearchDomainConfig {
37 0     0 1 0 my $self = shift;
38 0         0 my $call_object = $self->new_with_coercions('Paws::ES::DescribeElasticsearchDomainConfig', @_);
39 0         0 return $self->caller->do_call($self, $call_object);
40             }
41             sub DescribeElasticsearchDomains {
42 2     2 1 571 my $self = shift;
43 2         14 my $call_object = $self->new_with_coercions('Paws::ES::DescribeElasticsearchDomains', @_);
44 2         1020 return $self->caller->do_call($self, $call_object);
45             }
46             sub DescribeElasticsearchInstanceTypeLimits {
47 0     0 1 0 my $self = shift;
48 0         0 my $call_object = $self->new_with_coercions('Paws::ES::DescribeElasticsearchInstanceTypeLimits', @_);
49 0         0 return $self->caller->do_call($self, $call_object);
50             }
51             sub ListDomainNames {
52 1     1 1 146 my $self = shift;
53 1         6 my $call_object = $self->new_with_coercions('Paws::ES::ListDomainNames', @_);
54 1         283 return $self->caller->do_call($self, $call_object);
55             }
56             sub ListElasticsearchInstanceTypes {
57 0     0 1   my $self = shift;
58 0           my $call_object = $self->new_with_coercions('Paws::ES::ListElasticsearchInstanceTypes', @_);
59 0           return $self->caller->do_call($self, $call_object);
60             }
61             sub ListElasticsearchVersions {
62 0     0 1   my $self = shift;
63 0           my $call_object = $self->new_with_coercions('Paws::ES::ListElasticsearchVersions', @_);
64 0           return $self->caller->do_call($self, $call_object);
65             }
66             sub ListTags {
67 0     0 1   my $self = shift;
68 0           my $call_object = $self->new_with_coercions('Paws::ES::ListTags', @_);
69 0           return $self->caller->do_call($self, $call_object);
70             }
71             sub RemoveTags {
72 0     0 1   my $self = shift;
73 0           my $call_object = $self->new_with_coercions('Paws::ES::RemoveTags', @_);
74 0           return $self->caller->do_call($self, $call_object);
75             }
76             sub UpdateElasticsearchDomainConfig {
77 0     0 1   my $self = shift;
78 0           my $call_object = $self->new_with_coercions('Paws::ES::UpdateElasticsearchDomainConfig', @_);
79 0           return $self->caller->do_call($self, $call_object);
80             }
81            
82              
83              
84 0     0 0   sub operations { qw/AddTags CreateElasticsearchDomain DeleteElasticsearchDomain DescribeElasticsearchDomain DescribeElasticsearchDomainConfig DescribeElasticsearchDomains DescribeElasticsearchInstanceTypeLimits ListDomainNames ListElasticsearchInstanceTypes ListElasticsearchVersions ListTags RemoveTags UpdateElasticsearchDomainConfig / }
85              
86             1;
87              
88             ### main pod documentation begin ###
89              
90             =head1 NAME
91              
92             Paws::ES - Perl Interface to AWS Amazon Elasticsearch Service
93              
94             =head1 SYNOPSIS
95              
96             use Paws;
97              
98             my $obj = Paws->service('ES');
99             my $res = $obj->Method(
100             Arg1 => $val1,
101             Arg2 => [ 'V1', 'V2' ],
102             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
103             # of the arguments type
104             Arg3 => { Att1 => 'Val1' },
105             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
106             # the constructor of the arguments type
107             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
108             );
109              
110             =head1 DESCRIPTION
111              
112             Amazon Elasticsearch Configuration Service
113              
114             Use the Amazon Elasticsearch configuration API to create, configure,
115             and manage Elasticsearch domains.
116              
117             The endpoint for configuration service requests is region-specific:
118             es.I<region>.amazonaws.com. For example, es.us-east-1.amazonaws.com.
119             For a current list of supported regions and endpoints, see Regions and
120             Endpoints.
121              
122             =head1 METHODS
123              
124             =head2 AddTags(ARN => Str, TagList => ArrayRef[L<Paws::ES::Tag>])
125              
126             Each argument is described in detail in: L<Paws::ES::AddTags>
127              
128             Returns: nothing
129              
130             Attaches tags to an existing Elasticsearch domain. Tags are a set of
131             case-sensitive key value pairs. An Elasticsearch domain may have up to
132             10 tags. See Tagging Amazon Elasticsearch Service Domains for more
133             information.
134              
135              
136             =head2 CreateElasticsearchDomain(DomainName => Str, [AccessPolicies => Str, AdvancedOptions => L<Paws::ES::AdvancedOptions>, EBSOptions => L<Paws::ES::EBSOptions>, ElasticsearchClusterConfig => L<Paws::ES::ElasticsearchClusterConfig>, ElasticsearchVersion => Str, SnapshotOptions => L<Paws::ES::SnapshotOptions>])
137              
138             Each argument is described in detail in: L<Paws::ES::CreateElasticsearchDomain>
139              
140             Returns: a L<Paws::ES::CreateElasticsearchDomainResponse> instance
141              
142             Creates a new Elasticsearch domain. For more information, see Creating
143             Elasticsearch Domains in the I<Amazon Elasticsearch Service Developer
144             Guide>.
145              
146              
147             =head2 DeleteElasticsearchDomain(DomainName => Str)
148              
149             Each argument is described in detail in: L<Paws::ES::DeleteElasticsearchDomain>
150              
151             Returns: a L<Paws::ES::DeleteElasticsearchDomainResponse> instance
152              
153             Permanently deletes the specified Elasticsearch domain and all of its
154             data. Once a domain is deleted, it cannot be recovered.
155              
156              
157             =head2 DescribeElasticsearchDomain(DomainName => Str)
158              
159             Each argument is described in detail in: L<Paws::ES::DescribeElasticsearchDomain>
160              
161             Returns: a L<Paws::ES::DescribeElasticsearchDomainResponse> instance
162              
163             Returns domain configuration information about the specified
164             Elasticsearch domain, including the domain ID, domain endpoint, and
165             domain ARN.
166              
167              
168             =head2 DescribeElasticsearchDomainConfig(DomainName => Str)
169              
170             Each argument is described in detail in: L<Paws::ES::DescribeElasticsearchDomainConfig>
171              
172             Returns: a L<Paws::ES::DescribeElasticsearchDomainConfigResponse> instance
173              
174             Provides cluster configuration information about the specified
175             Elasticsearch domain, such as the state, creation date, update version,
176             and update date for cluster options.
177              
178              
179             =head2 DescribeElasticsearchDomains(DomainNames => ArrayRef[Str|Undef])
180              
181             Each argument is described in detail in: L<Paws::ES::DescribeElasticsearchDomains>
182              
183             Returns: a L<Paws::ES::DescribeElasticsearchDomainsResponse> instance
184              
185             Returns domain configuration information about the specified
186             Elasticsearch domains, including the domain ID, domain endpoint, and
187             domain ARN.
188              
189              
190             =head2 DescribeElasticsearchInstanceTypeLimits(ElasticsearchVersion => Str, InstanceType => Str, [DomainName => Str])
191              
192             Each argument is described in detail in: L<Paws::ES::DescribeElasticsearchInstanceTypeLimits>
193              
194             Returns: a L<Paws::ES::DescribeElasticsearchInstanceTypeLimitsResponse> instance
195              
196             Describe Elasticsearch Limits for a given InstanceType and
197             ElasticsearchVersion. When modifying existing Domain, specify the C<
198             DomainName > to know what Limits are supported for modifying.
199              
200              
201             =head2 ListDomainNames( => )
202              
203             Each argument is described in detail in: L<Paws::ES::ListDomainNames>
204              
205             Returns: a L<Paws::ES::ListDomainNamesResponse> instance
206              
207             Returns the name of all Elasticsearch domains owned by the current
208             user's account.
209              
210              
211             =head2 ListElasticsearchInstanceTypes(ElasticsearchVersion => Str, [DomainName => Str, MaxResults => Int, NextToken => Str])
212              
213             Each argument is described in detail in: L<Paws::ES::ListElasticsearchInstanceTypes>
214              
215             Returns: a L<Paws::ES::ListElasticsearchInstanceTypesResponse> instance
216              
217             List all Elasticsearch instance types that are supported for given
218             ElasticsearchVersion
219              
220              
221             =head2 ListElasticsearchVersions([MaxResults => Int, NextToken => Str])
222              
223             Each argument is described in detail in: L<Paws::ES::ListElasticsearchVersions>
224              
225             Returns: a L<Paws::ES::ListElasticsearchVersionsResponse> instance
226              
227             List all supported Elasticsearch versions
228              
229              
230             =head2 ListTags(ARN => Str)
231              
232             Each argument is described in detail in: L<Paws::ES::ListTags>
233              
234             Returns: a L<Paws::ES::ListTagsResponse> instance
235              
236             Returns all tags for the given Elasticsearch domain.
237              
238              
239             =head2 RemoveTags(ARN => Str, TagKeys => ArrayRef[Str|Undef])
240              
241             Each argument is described in detail in: L<Paws::ES::RemoveTags>
242              
243             Returns: nothing
244              
245             Removes the specified set of tags from the specified Elasticsearch
246             domain.
247              
248              
249             =head2 UpdateElasticsearchDomainConfig(DomainName => Str, [AccessPolicies => Str, AdvancedOptions => L<Paws::ES::AdvancedOptions>, EBSOptions => L<Paws::ES::EBSOptions>, ElasticsearchClusterConfig => L<Paws::ES::ElasticsearchClusterConfig>, SnapshotOptions => L<Paws::ES::SnapshotOptions>])
250              
251             Each argument is described in detail in: L<Paws::ES::UpdateElasticsearchDomainConfig>
252              
253             Returns: a L<Paws::ES::UpdateElasticsearchDomainConfigResponse> instance
254              
255             Modifies the cluster configuration of the specified Elasticsearch
256             domain, setting as setting the instance type and the number of
257             instances.
258              
259              
260              
261              
262             =head1 PAGINATORS
263              
264             Paginator methods are helpers that repetively call methods that return partial results
265              
266              
267              
268              
269             =head1 SEE ALSO
270              
271             This service class forms part of L<Paws>
272              
273             =head1 BUGS and CONTRIBUTIONS
274              
275             The source code is located here: https://github.com/pplu/aws-sdk-perl
276              
277             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
278              
279             =cut
280