| 1 | # Licensed to Elasticsearch B.V under one or more agreements. | ||
| 2 | # Elasticsearch B.V licenses this file to you under the Apache 2.0 License. | ||
| 3 | # See the LICENSE file in the project root for more information | ||
| 4 | |||
| 5 | package Search::Elasticsearch::Client::7_0::Direct::SSL; | ||
| 6 | $Search::Elasticsearch::Client::7_0::Direct::SSL::VERSION = '7.30_1'; # TRIAL | ||
| 7 | |||
| 8 | $Search::Elasticsearch::Client::7_0::Direct::SSL::VERSION = '7.301'; | ||
| 9 | use Moo; | ||
| 10 | with 'Search::Elasticsearch::Client::7_0::Role::API'; | ||
| 11 | with 'Search::Elasticsearch::Role::Client::Direct'; | ||
| 12 | use namespace::clean; | ||
| 13 | |||
| 14 | __PACKAGE__->_install_api('ssl'); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | =pod | ||
| 19 | |||
| 20 | =encoding UTF-8 | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Search::Elasticsearch::Client::7_0::Direct::SSL - Plugin providing SSL for Search::Elasticsearch 7.x | ||
| 25 | |||
| 26 | =head1 VERSION | ||
| 27 | |||
| 28 | version 7.30_1 | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $response = $es->ssl->certificates() | ||
| 33 | |||
| 34 | =head2 DESCRIPTION | ||
| 35 | |||
| 36 | This class extends the L<Search::Elasticsearch> client with an C<ssl> | ||
| 37 | namespace, to support the | ||
| 38 | L<SSL APIs|https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html>. | ||
| 39 | |||
| 40 | =head1 GENERAL METHODS | ||
| 41 | |||
| 42 | =head2 C<certificates()> | ||
| 43 | |||
| 44 | $response = $es->ssl->certificates() | ||
| 45 | |||
| 46 | The C<certificates()> method returns all the certificate information on a single node of Elasticsearch. | ||
| 47 | |||
| 48 | =head1 AUTHOR | ||
| 49 | |||
| 50 | Enrico Zimuel <enrico.zimuel@elastic.co> | ||
| 51 | |||
| 52 | =head1 COPYRIGHT AND LICENSE | ||
| 53 | |||
| 54 | This software is Copyright (c) 2020 by Elasticsearch BV. | ||
| 55 | |||
| 56 | This is free software, licensed under: | ||
| 57 | |||
| 58 | The Apache License, Version 2.0, January 2004 | ||
| 59 | |||
| 60 | =cut | ||
| 61 | |||
| 62 | __END__ |