def __init__(self, access_key_id, secret_access_key, is_secure = True, server = Utils.DEFAULT_HOST, calling_format = RequestFormat.get_subdomainformat()): self.access_key_id = access_key_id self.secret_access_key = secret_access_key self.is_secure = is_secure self.server = server self.port = Utils.SECURE_PORT if is_secure else Utils.INSECURE_PORT self.calling_format = calling_format
def __init__(self, access_key_id, secret_access_key, is_secure = True, server = Utils.DEFAULT_HOST, calling_format = RequestFormat.get_subdomainformat()): self.access_key_id = access_key_id self.secret_access_key = secret_access_key self.is_secure = is_secure self.server = server self.port = Utils.SECURE_PORT if is_secure else Utils.INSECURE_PORT self.calling_format = calling_format self.expiresin = QueryURLGenerator.DEFAULT_EXPIRES_IN self.expires = None
def __init__(self, access_key_id, secret_access_key, is_secure = True, server = Utils.DEFAULT_HOST, calling_format = RequestFormat.get_subdomainformat()): self.access_key_id = access_key_id self.secret_access_key = secret_access_key self.is_secure = is_secure self.server = server self.port = Utils.SECURE_PORT if is_secure else Utils.INSECURE_PORT self.calling_format = calling_format self.expiresin = QueryURLGenerator.DEFAULT_EXPIRES_IN self.expires = None