def __init__(self, context={}): self.__telemetry_table = None self.__context_table = None self.__context = context self.__resource = boto3_util.resource('dynamodb', api_version='2012-08-10') self.__client = boto3_util.client('dynamodb', api_version='2012-08-10') self.update_context()
def __init__(self, context={}): self.__context = context self.__client = boto3_util.client('cloudwatch', api_version='2010-08-01') self.__avg_save_duration = None self.__avg_delete_duration = None self.__sum_save_duration = None self.__sum_delete_duration = None
def __init__(self, context, queue_prefix, type="fifo"): self.__context = context self.__is_all_under_load = False self.__type = type self.__client = boto3_util.client('sqs', api_version='2012-11-05') self.__queue_prefix = queue_prefix self.__queue_url = context[ c.KEY_SQS_QUEUE_URL] if c.KEY_SQS_QUEUE_URL in context and context[ c.KEY_SQS_QUEUE_URL] else None self.__max_message_size = c.MAXIMUM_MESSAGE_SIZE_IN_BYTES self.__queue_urls = [] print("Queue prefix", queue_prefix)
def __init__(self, context={}): self.__context = context self.__client = boto3_util.client('lambda', api_version='2015-03-31')
def __init__(self, db_name, context={}): self.__context = context self.__client = boto3_util.client('athena', api_version='2017-05-18') self.__db_name = db_name self.__bucket = os.environ[c.ENV_S3_STORAGE] self.__s3 = S3(bucket=self.__bucket)
def __init__(self): self.__client = boto3_util.client('glue', api_version='2017-03-31')
def __init__(self, context={}, bucket=""): self.__context = context self.__resource = boto3_util.resource('s3', api_version='2006-03-01') self.__client = boto3_util.client('s3', api_version='2006-03-01') self.__bucket = bucket