File tree 4 files changed +481
-26
lines changed
lib/Search/Elasticsearch/Client/7_0
4 files changed +481
-26
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ has 'dangling_indices' => ( is => 'lazy', init_arg => undef );
22
22
has ' data_frame_transform_deprecated' => ( is => ' lazy' , init_arg => undef );
23
23
has ' enrich' => ( is => ' lazy' , init_arg => undef );
24
24
has ' eql' => ( is => ' lazy' , init_arg => undef );
25
+ has ' features' => ( is => ' lazy' , init_arg => undef );
26
+ has ' fleet' => ( is => ' lazy' , init_arg => undef );
25
27
has ' graph' => ( is => ' lazy' , init_arg => undef );
26
28
has ' ilm' => ( is => ' lazy' , init_arg => undef );
27
29
has ' indices' => ( is => ' lazy' , init_arg => undef );
@@ -91,6 +93,8 @@ sub _build_dangling_indices { shift->_build_namespace('DanglingIndices') }
91
93
sub _build_data_frame_transform_deprecated { shift -> _build_namespace(' DataFrameTransformDeprecated' ) }
92
94
sub _build_enrich { shift -> _build_namespace(' Enrich' ) }
93
95
sub _build_eql { shift -> _build_namespace(' Eql' ) }
96
+ sub _build_features { shift -> _build_namespace(' Features' ) }
97
+ sub _build_fleet { shift -> _build_namespace(' Fleet' ) }
94
98
sub _build_graph { shift -> _build_namespace(' Graph' ) }
95
99
sub _build_ilm { shift -> _build_namespace(' ILM' ) }
96
100
sub _build_indices { shift -> _build_namespace(' Indices' ) }
Original file line number Diff line number Diff line change
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ package Search::Elasticsearch::Client::7_0::Direct::Features ;
19
+
20
+ use Moo;
21
+ with ' Search::Elasticsearch::Client::7_0::Role::API' ;
22
+ with ' Search::Elasticsearch::Role::Client::Direct' ;
23
+ use namespace::clean;
24
+
25
+ __PACKAGE__ -> _install_api(' features' );
26
+
27
+ 1;
28
+
29
+ __END__
30
+
31
+ # ABSTRACT: Features API of Search::Elasticsearch 7.x
32
+
33
+ =head2 DESCRIPTION
34
+
35
+ The full documentation for Features API is available here:
36
+ L<https://www.elastic.co/guide/en/elasticsearch//reference/master/features-apis.html>
37
+
38
+ =head1 FOLLOW METHODS
39
+
40
+ =head2 C<follow() >
41
+
42
+ my $response = $es->features->get_features();
43
+
Original file line number Diff line number Diff line change
1
+ # Licensed to Elasticsearch B.V. under one or more contributor
2
+ # license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright
4
+ # ownership. Elasticsearch B.V. licenses this file to you under
5
+ # the Apache License, Version 2.0 (the "License"); you may
6
+ # not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ package Search::Elasticsearch::Client::7_0::Direct::Fleet ;
19
+
20
+ use Moo;
21
+ with ' Search::Elasticsearch::Client::7_0::Role::API' ;
22
+ with ' Search::Elasticsearch::Role::Client::Direct' ;
23
+ use namespace::clean;
24
+
25
+ __PACKAGE__ -> _install_api(' fleet' );
26
+
27
+ 1;
28
+
29
+ __END__
30
+
31
+ # ABSTRACT: Fleet API of Search::Elasticsearch 7.x
32
+
33
+ =head2 DESCRIPTION
34
+
35
+ The full documentation for Fleet API is available here:
36
+ L<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/fleet-apis.html>
37
+
38
+ =head1 FOLLOW METHODS
39
+
40
+ =head2 C<follow() >
41
+
42
+ my $response = $es->fleet->global_checkpoints(
43
+ index => 'my_index'
44
+ );
45
+
You can’t perform that action at this time.
0 commit comments