[7.x] Update API generator for async
This commit is contained in:
committed by
Seth Michael Larson
parent
8ffae94912
commit
bed5ffc740
@@ -0,0 +1,18 @@
|
||||
# Licensed to Elasticsearch B.V under one or more agreements.
|
||||
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
||||
# See the LICENSE file in the project root for more information
|
||||
|
||||
from .utils import NamespacedClient, query_params
|
||||
|
||||
|
||||
class SslClient(NamespacedClient):
|
||||
@query_params()
|
||||
def certificates(self, params=None, headers=None):
|
||||
"""
|
||||
Retrieves information about the X.509 certificates used to encrypt
|
||||
communications in the cluster.
|
||||
`<https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-ssl.html>`_
|
||||
"""
|
||||
return self.transport.perform_request(
|
||||
"GET", "/_ssl/certificates", params=params, headers=headers
|
||||
)
|
||||
Reference in New Issue
Block a user