This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@ip-10-91-41-215 elk]# curl -XGET 'http://localhost:9200/_snapshot/es-backups/_all?pretty' | |
{ | |
"snapshots" : [ | |
{ | |
"snapshot" : "mysnapshot", | |
"uuid" : "cGP2-NLtT5e9no7ThRP9jQ", | |
"version_id" : 5050299, | |
"version" : "5.5.2", | |
"indices" : [ | |
"store_zone_pivots1520", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from boto.connection import AWSAuthConnection | |
class ESConnection(AWSAuthConnection): | |
def __init__(self, region, **kwargs): | |
super(ESConnection, self).__init__(**kwargs) | |
self._set_auth_region_name(region) | |
self._set_auth_service_name("es") | |
def _required_auth_capability(self): |
NewerOlder