content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Solution: def sumZero(self, n: int) -> List[int]: ans = [] for i in range(n//2): ans.append(i+1) ans.append(-i-1) if n % 2 != 0: ans.append(0) return ans
class Solution: def sum_zero(self, n: int) -> List[int]: ans = [] for i in range(n // 2): ans.append(i + 1) ans.append(-i - 1) if n % 2 != 0: ans.append(0) return ans
INCHES_PER_FOOT = 12.0 # 12 inches in a foot INCHES_PER_YARD = INCHES_PER_FOOT * 3.0 # 3 feet in a yard UNITS = ("in", "ft", "yd") def inches_to_feet(x, reverse=False): """ Terminal command | pyment -w -o numpydoc inches_to_feet.py Flags -w | overwrite -o <style> | styleput in NumPy Documentation style Convert lengths between inches and feet Parameters ---------- x : numpy.ndarray Lengths in feet reverse : bool, optional If true this function converts from feet to inches instead of the default behavior of inches to feet (Default value = False) Returns ------- numpy.ndarray [According documentation style 'numpydoc' at MODULE level] """ if reverse: return x * INCHES_PER_FOOT else: return x / INCHES_PER_FOOT
inches_per_foot = 12.0 inches_per_yard = INCHES_PER_FOOT * 3.0 units = ('in', 'ft', 'yd') def inches_to_feet(x, reverse=False): """ Terminal command | pyment -w -o numpydoc inches_to_feet.py Flags -w | overwrite -o <style> | styleput in NumPy Documentation style Convert lengths between inches and feet Parameters ---------- x : numpy.ndarray Lengths in feet reverse : bool, optional If true this function converts from feet to inches instead of the default behavior of inches to feet (Default value = False) Returns ------- numpy.ndarray [According documentation style 'numpydoc' at MODULE level] """ if reverse: return x * INCHES_PER_FOOT else: return x / INCHES_PER_FOOT
""" Initial settings for Up and Down the River """ class Settings() : def __init__(self) : """Initializes static settings""" #Screen Settings self.screen_width = 1400 self.screen_height = 800 self.bg_color = (34, 139, 34) #Basic settings self.number_of_players_option = [3, 4, 5, 6, 7, 8] self.number_of_players = int() self.game_difficulty_option = ["Easy", "Intermediate", "Hard"] self.game_difficulty = str() self.starting_round = 1 self.max_rounds_available = 9 self.max_rounds = int() #trick card screen settings self.trick_x = self.screen_width * .35 #trick set self.trick_y = (self.screen_height / 2) - (.071875 * self.screen_height) #Set for card to be centered def set_round_array(self): #Sets an array for number of cards to be dealt in a given round self.round_array = [] for round in range(self.starting_round, self.max_rounds+1): self.round_array.append(round) for round in range(self.starting_round, self.max_rounds+1): self.round_array.insert(self.max_rounds, round) #continually adds to countdown from max to 1
""" Initial settings for Up and Down the River """ class Settings: def __init__(self): """Initializes static settings""" self.screen_width = 1400 self.screen_height = 800 self.bg_color = (34, 139, 34) self.number_of_players_option = [3, 4, 5, 6, 7, 8] self.number_of_players = int() self.game_difficulty_option = ['Easy', 'Intermediate', 'Hard'] self.game_difficulty = str() self.starting_round = 1 self.max_rounds_available = 9 self.max_rounds = int() self.trick_x = self.screen_width * 0.35 self.trick_y = self.screen_height / 2 - 0.071875 * self.screen_height def set_round_array(self): self.round_array = [] for round in range(self.starting_round, self.max_rounds + 1): self.round_array.append(round) for round in range(self.starting_round, self.max_rounds + 1): self.round_array.insert(self.max_rounds, round)
test = { 'name': 'Problem 5', 'points': 2, 'suites': [ { 'cases': [ { 'code': r""" >>> expr = read_line('(+ 2 2)') >>> scheme_eval(expr, create_global_frame()) # Type SchemeError if you think this errors 4 >>> expr = read_line('(+ (+ 2 2) (+ 1 3) (* 1 4))') >>> scheme_eval(expr, create_global_frame()) # Type SchemeError if you think this errors 12 >>> expr = read_line('(yolo)') >>> scheme_eval(expr, create_global_frame()) # Type SchemeError if you think this errors SchemeError """, 'hidden': False, 'locked': False } ], 'scored': True, 'setup': r""" >>> from scheme_reader import * >>> from scheme import * """, 'teardown': '', 'type': 'doctest' }, { 'cases': [ { 'code': r""" scm> (+ 2 3) ; Type SchemeError if you think this errors 5 scm> (* (+ 3 2) (+ 1 7)) ; Type SchemeError if you think this errors 40 scm> (1 2) ; Type SchemeError if you think this errors SchemeError scm> (1 (print 0)) ; check_procedure should be called before operands are evaluated SchemeError """, 'hidden': False, 'locked': False }, { 'code': r""" scm> (+) 0 scm> (odd? 13) #t scm> (car (list 1 2 3 4)) 1 scm> (car car) SchemeError scm> (odd? 1 2 3) SchemeError """, 'hidden': False, 'locked': False }, { 'code': r""" scm> (+ (+ 1) (* 2 3) (+ 5) (+ 6 (+ 7))) 25 scm> (*) 1 scm> (-) SchemeError scm> (car (cdr (cdr (list 1 2 3 4)))) 3 scm> (car cdr (list 1)) SchemeError scm> (* (car (cdr (cdr (list 1 2 3 4)))) (car (cdr (list 1 2 3 4)))) 6 scm> (* (car (cdr (cdr (list 1 2 3 4)))) (cdr (cdr (list 1 2 3 4)))) SchemeError scm> (+ (/ 1 0)) SchemeError """, 'hidden': False, 'locked': False }, { 'code': r""" scm> ((/ 1 0) (print 5)) ; operator should be evaluated before operands SchemeError scm> (null? (print 5)) ; operands should only be evaluated once 5 #f """, 'hidden': False, 'locked': False } ], 'scored': True, 'setup': '', 'teardown': '', 'type': 'scheme' } ] }
test = {'name': 'Problem 5', 'points': 2, 'suites': [{'cases': [{'code': "\n >>> expr = read_line('(+ 2 2)')\n >>> scheme_eval(expr, create_global_frame()) # Type SchemeError if you think this errors\n 4\n >>> expr = read_line('(+ (+ 2 2) (+ 1 3) (* 1 4))')\n >>> scheme_eval(expr, create_global_frame()) # Type SchemeError if you think this errors\n 12\n >>> expr = read_line('(yolo)')\n >>> scheme_eval(expr, create_global_frame()) # Type SchemeError if you think this errors\n SchemeError\n ", 'hidden': False, 'locked': False}], 'scored': True, 'setup': '\n >>> from scheme_reader import *\n >>> from scheme import *\n ', 'teardown': '', 'type': 'doctest'}, {'cases': [{'code': '\n scm> (+ 2 3) ; Type SchemeError if you think this errors\n 5\n scm> (* (+ 3 2) (+ 1 7)) ; Type SchemeError if you think this errors\n 40\n scm> (1 2) ; Type SchemeError if you think this errors\n SchemeError\n scm> (1 (print 0)) ; check_procedure should be called before operands are evaluated\n SchemeError\n ', 'hidden': False, 'locked': False}, {'code': '\n scm> (+)\n 0\n scm> (odd? 13)\n #t\n scm> (car (list 1 2 3 4))\n 1\n scm> (car car)\n SchemeError\n scm> (odd? 1 2 3)\n SchemeError\n ', 'hidden': False, 'locked': False}, {'code': '\n scm> (+ (+ 1) (* 2 3) (+ 5) (+ 6 (+ 7)))\n 25\n scm> (*)\n 1\n scm> (-)\n SchemeError\n scm> (car (cdr (cdr (list 1 2 3 4))))\n 3\n scm> (car cdr (list 1))\n SchemeError\n scm> (* (car (cdr (cdr (list 1 2 3 4)))) (car (cdr (list 1 2 3 4))))\n 6\n scm> (* (car (cdr (cdr (list 1 2 3 4)))) (cdr (cdr (list 1 2 3 4))))\n SchemeError\n scm> (+ (/ 1 0))\n SchemeError\n ', 'hidden': False, 'locked': False}, {'code': '\n scm> ((/ 1 0) (print 5)) ; operator should be evaluated before operands\n SchemeError\n scm> (null? (print 5)) ; operands should only be evaluated once\n 5\n #f\n ', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'scheme'}]}
class A: def __init__(self, a): pass class B(A): def __init__(self, a=1): A.__init__(self, a)
class A: def __init__(self, a): pass class B(A): def __init__(self, a=1): A.__init__(self, a)
#!/usr/bin/env python # coding: utf-8 # # section 7: Exceptions : # # ### writer : Faranak Alikhah 1954128 # ### 1.Exceptions : # # # In[ ]: n=int(input()) for i in range(n): try: a,b=map(int,input().split()) print(a//b)# need to be integer except Exception as e: print ("Error Code:",e) #
n = int(input()) for i in range(n): try: (a, b) = map(int, input().split()) print(a // b) except Exception as e: print('Error Code:', e)
class HealthController: """ Manages interactions with the /health endpoints """ def __init__(self, client): self.client = client def check_health(self): """ GET request ot the /health endpoint :return: Requests Response Object """ return self.client.call_api('GET', "/health")
class Healthcontroller: """ Manages interactions with the /health endpoints """ def __init__(self, client): self.client = client def check_health(self): """ GET request ot the /health endpoint :return: Requests Response Object """ return self.client.call_api('GET', '/health')
class ContainerSpec(): REPLACEABLE_ARGS = ['randcon', 'oracle_server', 'bootnodes', 'genesis_time'] def __init__(self, cname, cimage, centry): self.name = cname self.image = cimage self.entrypoint = centry self.args = {} def append_args(self, **kwargs): self.args.update(kwargs) def update_deployment(self, dep): containers = dep['spec']['template']['spec']['containers'] for c in containers: if c['name'] == self.name: #update the container specs if self.image: c['image'] = self.image if self.entrypoint: c['command'] = self.entrypoint c['args'] = self._update_args(c['args'], **(self.args)) break return dep def _update_args(self, args_input_yaml, **kwargs): for k in kwargs: replaced = False if k in ContainerSpec.REPLACEABLE_ARGS: for i, arg in enumerate(args_input_yaml): if arg[2:].replace('-', '_') == k: # replace the value args_input_yaml[i + 1] = kwargs[k] replaced = True break if not replaced: args_input_yaml += (['--{0}'.format(k.replace('_', '-')), kwargs[k]]) return args_input_yaml
class Containerspec: replaceable_args = ['randcon', 'oracle_server', 'bootnodes', 'genesis_time'] def __init__(self, cname, cimage, centry): self.name = cname self.image = cimage self.entrypoint = centry self.args = {} def append_args(self, **kwargs): self.args.update(kwargs) def update_deployment(self, dep): containers = dep['spec']['template']['spec']['containers'] for c in containers: if c['name'] == self.name: if self.image: c['image'] = self.image if self.entrypoint: c['command'] = self.entrypoint c['args'] = self._update_args(c['args'], **self.args) break return dep def _update_args(self, args_input_yaml, **kwargs): for k in kwargs: replaced = False if k in ContainerSpec.REPLACEABLE_ARGS: for (i, arg) in enumerate(args_input_yaml): if arg[2:].replace('-', '_') == k: args_input_yaml[i + 1] = kwargs[k] replaced = True break if not replaced: args_input_yaml += ['--{0}'.format(k.replace('_', '-')), kwargs[k]] return args_input_yaml
# V0 # V1 # https://blog.csdn.net/fuxuemingzhu/article/details/80471495 # IDEA : OPERATION : INVERSE -> Exclusive or (1->0, 0->1) # NOTE : Exclusive or # In [29]: x=1 # In [30]: x # Out[30]: 1 # In [31]: x^=1 # In [32]: x # Out[32]: 0 # In [33]: x=0 # In [34]: x # Out[34]: 0 # In [35]: x^=1 # In [36]: x # Out[36]: 1 class Solution: def flipAndInvertImage(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ rows = len(A) cols = len(A[0]) for row in range(rows): A[row] = A[row][::-1] for col in range(cols): A[row][col] ^= 1 return A # V1' # https://blog.csdn.net/fuxuemingzhu/article/details/80471495 # IDEA : GREEDY class Solution: def flipAndInvertImage(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ M, N = len(A), len(A[0]) res = [[0] * N for _ in range(M)] for i in range(M): for j in range(N): res[i][j] = 1 - A[i][N - 1 - j] return res # V2 # Time: O(n^2) # Space: O(1) class Solution(object): def flipAndInvertImage(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ for row in A: for i in range((len(row)+1) // 2): row[i], row[~i] = row[~i] ^ 1, row[i] ^ 1 return A
class Solution: def flip_and_invert_image(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ rows = len(A) cols = len(A[0]) for row in range(rows): A[row] = A[row][::-1] for col in range(cols): A[row][col] ^= 1 return A class Solution: def flip_and_invert_image(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ (m, n) = (len(A), len(A[0])) res = [[0] * N for _ in range(M)] for i in range(M): for j in range(N): res[i][j] = 1 - A[i][N - 1 - j] return res class Solution(object): def flip_and_invert_image(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ for row in A: for i in range((len(row) + 1) // 2): (row[i], row[~i]) = (row[~i] ^ 1, row[i] ^ 1) return A
# # This file is part of snmpresponder software. # # Copyright (c) 2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/snmpresponder/license.html # class Numbers(object): current = 0 def getId(self): self.current += 1 if self.current > 65535: self.current = 0 return self.current numbers = Numbers() getId = numbers.getId
class Numbers(object): current = 0 def get_id(self): self.current += 1 if self.current > 65535: self.current = 0 return self.current numbers = numbers() get_id = numbers.getId
""" This is the "Rotate Image" problem on Leetcode: https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/770 """ # Out of Place Solution def rotate_out_of_place(matrix): """ Do not return anything, modify matrix in-place instead. """ """ Idea #1: Swaps A: moving the upper left corner over to the right spot [0, len(maxtrix[0]) - 1] B: move the other elements one element up 0,0, 0,1, 0,2 [1,2,3], [1, 0, 0] [4,5,6], -> 0, 0, 0 [7,8,9] 0, 0, 0 """ NUMCOLS = len(matrix[0]) NUMROWS = len(matrix) # initialize the 2d matrix new_matrix = [[0 for i in range(NUMCOLS)] for j in range(NUMROWS)] # populate the cols in the new matrix, with rows from the original for index_row, row in enumerate(matrix): for ( index_col, value, ) in enumerate(row): # calculate the shared column new_col = NUMROWS - (index_row + 1) # calculating the new row new_row = index_col new_matrix[new_row][new_col] = value print(new_matrix) matrix = new_matrix return matrix # In-place solution def rotate_inplace(matrix): """Performs the same task as above, in constant space complexity. :type matrix: List[List[int]] :rtype: None """ # useful constants NUM_ROWS, NUM_COLS = len(matrix), len(matrix[0]) # A: Reverse the rows in the Matrix row_index_start, row_index_end = 0, NUM_ROWS - 1 while row_index_start < row_index_end: # swap rows around the middle row, or until the indicies overlap matrix[row_index_start], matrix[row_index_end] = ( matrix[row_index_end], matrix[row_index_start], ) # move the indices row_index_start += 1 row_index_end -= 1 # B: Swap elements along the left-right, up-down diagonal for diagonal_index in range(NUM_ROWS): # index the elements to swap around the diagonal element for swap_elem in range(diagonal_index + 1): # index the elements to swap next_to_diagonal = matrix[diagonal_index][diagonal_index - swap_elem] above_diagonal = matrix[diagonal_index - swap_elem][diagonal_index] # make the swap matrix[diagonal_index][diagonal_index - swap_elem] = above_diagonal matrix[diagonal_index - swap_elem][diagonal_index] = next_to_diagonal print(matrix) return None if __name__ == "__main__": matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] print(rotate_inplace(matrix))
""" This is the "Rotate Image" problem on Leetcode: https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/770 """ def rotate_out_of_place(matrix): """ Do not return anything, modify matrix in-place instead. """ '\n Idea #1: Swaps\n \n A: moving the upper left corner over to the right spot [0, len(maxtrix[0]) - 1]\n B: move the other elements one element up\n 0,0, 0,1, 0,2\n [1,2,3], [1, 0, 0]\n [4,5,6], -> 0, 0, 0\n [7,8,9] 0, 0, 0\n \n\n \n ' numcols = len(matrix[0]) numrows = len(matrix) new_matrix = [[0 for i in range(NUMCOLS)] for j in range(NUMROWS)] for (index_row, row) in enumerate(matrix): for (index_col, value) in enumerate(row): new_col = NUMROWS - (index_row + 1) new_row = index_col new_matrix[new_row][new_col] = value print(new_matrix) matrix = new_matrix return matrix def rotate_inplace(matrix): """Performs the same task as above, in constant space complexity. :type matrix: List[List[int]] :rtype: None """ (num_rows, num_cols) = (len(matrix), len(matrix[0])) (row_index_start, row_index_end) = (0, NUM_ROWS - 1) while row_index_start < row_index_end: (matrix[row_index_start], matrix[row_index_end]) = (matrix[row_index_end], matrix[row_index_start]) row_index_start += 1 row_index_end -= 1 for diagonal_index in range(NUM_ROWS): for swap_elem in range(diagonal_index + 1): next_to_diagonal = matrix[diagonal_index][diagonal_index - swap_elem] above_diagonal = matrix[diagonal_index - swap_elem][diagonal_index] matrix[diagonal_index][diagonal_index - swap_elem] = above_diagonal matrix[diagonal_index - swap_elem][diagonal_index] = next_to_diagonal print(matrix) return None if __name__ == '__main__': matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] print(rotate_inplace(matrix))
def _get_dart_host(config): elb_params = config['cloudformation_stacks']['elb']['boto_args']['Parameters'] rs_name_param = _get_element(elb_params, 'ParameterKey', 'RecordSetName') dart_host = rs_name_param['ParameterValue'] return dart_host def _get_element(l, k, v): for e in l: if e[k] == v: return e raise Exception('element with %s: %s not found' % (k, v))
def _get_dart_host(config): elb_params = config['cloudformation_stacks']['elb']['boto_args']['Parameters'] rs_name_param = _get_element(elb_params, 'ParameterKey', 'RecordSetName') dart_host = rs_name_param['ParameterValue'] return dart_host def _get_element(l, k, v): for e in l: if e[k] == v: return e raise exception('element with %s: %s not found' % (k, v))
# Calculate the smallest Multiple def smallestMultiple(n): smallestMultiple = 1 while(True): evenMultiple = True for i in range(1, int(n) + 1): if(smallestMultiple % i != 0): evenMultiple = False break if(evenMultiple): return smallestMultiple smallestMultiple += 1 if __name__ == "__main__": # Get user input n = input("Enter an integer n: ") print("Smallest positive number that is evenly divisible by all of the numbers from 1 to", n) # Print results print("{:,}".format(smallestMultiple(n)))
def smallest_multiple(n): smallest_multiple = 1 while True: even_multiple = True for i in range(1, int(n) + 1): if smallestMultiple % i != 0: even_multiple = False break if evenMultiple: return smallestMultiple smallest_multiple += 1 if __name__ == '__main__': n = input('Enter an integer n: ') print('Smallest positive number that is evenly divisible by all of the numbers from 1 to', n) print('{:,}'.format(smallest_multiple(n)))
class User: ''' Class that generates a new instance of a passlocker user __init__method that helps us to define properties for our objects Args: name:New user name password:New user password ''' user_list=[] def __init__(self,name,password): self.name=name self.password=password def save_user(self): ''' save user method that saves user obj into user list ''' User.user_list.append(self) @classmethod def display_users(cls): ''' Method that returns users using the password locker app ''' return cls.user_list @classmethod def user_verified(cls,name,password): ''' Method that takes a user login info & returns a boolean true if the details are correct Args: name:User name to search password:password to match Return: Boolean true if they both match to a user & false if it doesn't ''' for user in cls.user_list: if user.name==name and user.password==password: return True return False
class User: """ Class that generates a new instance of a passlocker user __init__method that helps us to define properties for our objects Args: name:New user name password:New user password """ user_list = [] def __init__(self, name, password): self.name = name self.password = password def save_user(self): """ save user method that saves user obj into user list """ User.user_list.append(self) @classmethod def display_users(cls): """ Method that returns users using the password locker app """ return cls.user_list @classmethod def user_verified(cls, name, password): """ Method that takes a user login info & returns a boolean true if the details are correct Args: name:User name to search password:password to match Return: Boolean true if they both match to a user & false if it doesn't """ for user in cls.user_list: if user.name == name and user.password == password: return True return False
# output: ok def foo(x): yield 1 yield x iter = foo(2) assert next(iter) == 1 assert next(iter) == 2 def bar(array): for x in array: yield 2 * x iter = bar([1, 2, 3]) assert next(iter) == 2 assert next(iter) == 4 assert next(iter) == 6 def collect(iter): result = [] for x in iter: result.append(x) return result r = collect(foo(0)) assert len(r) == 2 assert r[0] == 1 assert r[1] == 0 def noExcept(f): try: yield f() except: yield None def a(): return 1 def b(): raise Exception() assert(collect(noExcept(a)) == [1]) assert(collect(noExcept(b)) == [None]) print('ok')
def foo(x): yield 1 yield x iter = foo(2) assert next(iter) == 1 assert next(iter) == 2 def bar(array): for x in array: yield (2 * x) iter = bar([1, 2, 3]) assert next(iter) == 2 assert next(iter) == 4 assert next(iter) == 6 def collect(iter): result = [] for x in iter: result.append(x) return result r = collect(foo(0)) assert len(r) == 2 assert r[0] == 1 assert r[1] == 0 def no_except(f): try: yield f() except: yield None def a(): return 1 def b(): raise exception() assert collect(no_except(a)) == [1] assert collect(no_except(b)) == [None] print('ok')
RTL_LANGUAGES = { 'he', 'ar', 'arc', 'dv', 'fa', 'ha', 'khw', 'ks', 'ku', 'ps', 'ur', 'yi', } COLORS = { 'primary': '#0d6efd', 'blue': '#0d6efd', 'secondary': '#6c757d', 'success': '#198754', 'green': '#198754', 'danger': '#dc3545', 'red': '#dc3545', 'warning': '#ffc107', 'yellow': '#ffc107', 'info': '#0dcaf0', 'cyan': '#0dcaf0', 'gray': '#adb5bd', 'dark': '#000', 'black': '#000', 'white': '#fff', 'teal': '#20c997', 'orange': '#fd7e14', 'pink': '#d63384', 'purple': '#6f42c1', 'indigo': '#6610f2', 'light': '#f8f9fa', } DEFAULT_ASSESSMENT_BUTTON_COLOR = '#0d6efd' # primary DEFAULT_ASSESSMENT_BUTTON_ACTIVE_COLOR = '#fff' # white
rtl_languages = {'he', 'ar', 'arc', 'dv', 'fa', 'ha', 'khw', 'ks', 'ku', 'ps', 'ur', 'yi'} colors = {'primary': '#0d6efd', 'blue': '#0d6efd', 'secondary': '#6c757d', 'success': '#198754', 'green': '#198754', 'danger': '#dc3545', 'red': '#dc3545', 'warning': '#ffc107', 'yellow': '#ffc107', 'info': '#0dcaf0', 'cyan': '#0dcaf0', 'gray': '#adb5bd', 'dark': '#000', 'black': '#000', 'white': '#fff', 'teal': '#20c997', 'orange': '#fd7e14', 'pink': '#d63384', 'purple': '#6f42c1', 'indigo': '#6610f2', 'light': '#f8f9fa'} default_assessment_button_color = '#0d6efd' default_assessment_button_active_color = '#fff'
COINBASE_MATURITY = 500 INITIAL_BLOCK_REWARD = 20000 INITIAL_HASH_UTXO_ROOT = 0x21b463e3b52f6201c0ad6c991be0485b6ef8c092e64583ffa655cc1b171fe856 INITIAL_HASH_STATE_ROOT = 0x9514771014c9ae803d8cea2731b2063e83de44802b40dce2d06acd02d0ff65e9 MAX_BLOCK_BASE_SIZE = 2000000 BEERCHAIN_MIN_GAS_PRICE = 40 BEERCHAIN_MIN_GAS_PRICE_STR = "0.00000040" NUM_DEFAULT_DGP_CONTRACTS = 5 MPOS_PARTICIPANTS = 10 LAST_POW_BLOCK = 5000 BLOCKS_BEFORE_PROPOSAL_EXPIRATION = 216
coinbase_maturity = 500 initial_block_reward = 20000 initial_hash_utxo_root = 15245045886785142666142131387346645761820096966537625257719794791382855444566 initial_hash_state_root = 67430773121565887155292377391296365627809276935091884798145281674911173010921 max_block_base_size = 2000000 beerchain_min_gas_price = 40 beerchain_min_gas_price_str = '0.00000040' num_default_dgp_contracts = 5 mpos_participants = 10 last_pow_block = 5000 blocks_before_proposal_expiration = 216
# 461. Hamming Distance class Solution: def hammingDistance(self, x: int, y: int) -> int: return bin(x ^ y).count('1')
class Solution: def hamming_distance(self, x: int, y: int) -> int: return bin(x ^ y).count('1')
MATERIALS = [ "gold", "silver", "bronze", "copper", "iron", "titanium", "stone", "lithium", "wood", "glass", "bone", "diamond" ] PLACES = [ "cemetery", "forest", "desert", "cave", "church", "school", "montain", "waterfall", "prison", "garden", "crossroad", "nexus" ] AMULETS = [ "warrior", "thief", "wizard", "barbarian", "scholar", "paladin", "mimic", "blacksmith", "sailor", "priest", "artist", "stargazer" ] POTIONS = [ "stealth", "valor", "rage", "blood", "youth", "fortune", "knowledge", "strife", "secret", "oblivion", "purity", "justice" ] SUMMONINGS = [ "pact", "conjuration", "connection", "calling", "luring", "convincing", "order", "will", "challenge", "binding", "capturing", "offering" ] BANISHMENTS = [ "burning", "burying", "banishing", "cutting", "sealing", "hanging", "drowing", "purifying" ]
materials = ['gold', 'silver', 'bronze', 'copper', 'iron', 'titanium', 'stone', 'lithium', 'wood', 'glass', 'bone', 'diamond'] places = ['cemetery', 'forest', 'desert', 'cave', 'church', 'school', 'montain', 'waterfall', 'prison', 'garden', 'crossroad', 'nexus'] amulets = ['warrior', 'thief', 'wizard', 'barbarian', 'scholar', 'paladin', 'mimic', 'blacksmith', 'sailor', 'priest', 'artist', 'stargazer'] potions = ['stealth', 'valor', 'rage', 'blood', 'youth', 'fortune', 'knowledge', 'strife', 'secret', 'oblivion', 'purity', 'justice'] summonings = ['pact', 'conjuration', 'connection', 'calling', 'luring', 'convincing', 'order', 'will', 'challenge', 'binding', 'capturing', 'offering'] banishments = ['burning', 'burying', 'banishing', 'cutting', 'sealing', 'hanging', 'drowing', 'purifying']
# -*- coding: utf-8 -*- a = ['doge1','doge2','doge3','doge4'] print(a)
a = ['doge1', 'doge2', 'doge3', 'doge4'] print(a)
class Solution: def searchInsert(self, nums: List[int], target: int) -> int: lo, hi = 0, len(nums) while lo < hi: mid = lo + (hi - lo) // 2 if nums[mid] < target: lo = mid + 1 elif nums[mid] > target: hi = mid else: return mid return lo
class Solution: def search_insert(self, nums: List[int], target: int) -> int: (lo, hi) = (0, len(nums)) while lo < hi: mid = lo + (hi - lo) // 2 if nums[mid] < target: lo = mid + 1 elif nums[mid] > target: hi = mid else: return mid return lo
# # PySNMP MIB module DAVID-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DAVID-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:21:39 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection") DisplayString, = mibBuilder.importSymbols("RFC1155-SMI", "DisplayString") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") enterprises, IpAddress, Integer32, iso, ModuleIdentity, Gauge32, Counter32, Bits, ObjectIdentity, MibIdentifier, TimeTicks, Counter64, Unsigned32, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "enterprises", "IpAddress", "Integer32", "iso", "ModuleIdentity", "Gauge32", "Counter32", "Bits", "ObjectIdentity", "MibIdentifier", "TimeTicks", "Counter64", "Unsigned32", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") david = MibIdentifier((1, 3, 6, 1, 4, 1, 66)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1)) davidExpressNet = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3)) exNetChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 1)) exNetEthernet = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2)) exNetConcentrator = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1)) exNetModule = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2)) exNetPort = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3)) exNetMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4)) exNetChassisType = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("m6102", 2), ("m6103", 3), ("m6310tel", 4), ("m6310rj", 5), ("m6318st", 6), ("m6318sma", 7), ("reserved", 8)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetChassisType.setStatus('mandatory') exNetChassisBkplType = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("expressNet", 2), ("reserved", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetChassisBkplType.setStatus('mandatory') exNetChassisBkplRev = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetChassisBkplRev.setStatus('mandatory') exNetChassisPsType = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("standardXfmr", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetChassisPsType.setStatus('mandatory') exNetChassisPsStatus = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("failed", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetChassisPsStatus.setStatus('mandatory') exNetSlotConfigTable = MibTable((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7), ) if mibBuilder.loadTexts: exNetSlotConfigTable.setStatus('mandatory') exNetSlotConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1), ).setIndexNames((0, "DAVID-MIB", "exNetSlotIndex")) if mibBuilder.loadTexts: exNetSlotConfigEntry.setStatus('mandatory') exNetSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetSlotIndex.setStatus('mandatory') exNetBoardId = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetBoardId.setStatus('mandatory') exNetBoardType = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("empty", 1), ("other", 2), ("m6203", 3), ("m6201", 4), ("m6311", 5), ("m6312", 6), ("m6313st", 7), ("m6313sma", 8), ("m6006", 9), ("reserved", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetBoardType.setStatus('mandatory') exNetBoardDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetBoardDescr.setStatus('mandatory') exNetBoardNumOfPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 40), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetBoardNumOfPorts.setStatus('mandatory') exNetChassisCapacity = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetChassisCapacity.setStatus('mandatory') exNetConcRetimingStatus = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("off", 1), ("on", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcRetimingStatus.setStatus('mandatory') exNetConcFrmsRxOk = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcFrmsRxOk.setStatus('mandatory') exNetConcOctetsRxOk = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcOctetsRxOk.setStatus('mandatory') exNetConcMcastFrmsRxOk = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcMcastFrmsRxOk.setStatus('mandatory') exNetConcBcastFrmsRxOk = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcBcastFrmsRxOk.setStatus('mandatory') exNetConcColls = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcColls.setStatus('mandatory') exNetConcTooLongErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcTooLongErrors.setStatus('mandatory') exNetConcRuntErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcRuntErrors.setStatus('mandatory') exNetConcFragErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcFragErrors.setStatus('mandatory') exNetConcAlignErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcAlignErrors.setStatus('mandatory') exNetConcFcsErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcFcsErrors.setStatus('mandatory') exNetConcLateCollErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcLateCollErrors.setStatus('mandatory') exNetConcName = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 40), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetConcName.setStatus('mandatory') exNetConcJabbers = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcJabbers.setStatus('mandatory') exNetConcSfdErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcSfdErrors.setStatus('mandatory') exNetConcAutoPartitions = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcAutoPartitions.setStatus('mandatory') exNetConcOosBitRate = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcOosBitRate.setStatus('mandatory') exNetConcLinkErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcLinkErrors.setStatus('mandatory') exNetConcFrameErrors = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcFrameErrors.setStatus('mandatory') exNetConcNetUtilization = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 47), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcNetUtilization.setStatus('mandatory') exNetConcResetTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 48), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetConcResetTimeStamp.setStatus('mandatory') exNetConcReset = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noReset", 1), ("reset", 2), ("resetToDefault", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetConcReset.setStatus('mandatory') exNetModuleTable = MibTable((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1), ) if mibBuilder.loadTexts: exNetModuleTable.setStatus('mandatory') exNetModuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1), ).setIndexNames((0, "DAVID-MIB", "exNetModuleIndex")) if mibBuilder.loadTexts: exNetModuleEntry.setStatus('mandatory') exNetModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleIndex.setStatus('mandatory') exNetModuleType = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("empty", 1), ("other", 2), ("m6203", 3), ("m6201", 4), ("m6311", 5), ("m6312", 6), ("m6313st", 7), ("m6313sma", 8), ("m6006", 9), ("reserved", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleType.setStatus('mandatory') exNetModuleHwVer = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleHwVer.setStatus('mandatory') exNetModuleStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ok", 1), ("noComms", 2), ("selfTestFail", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleStatus.setStatus('mandatory') exNetModuleReset = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noReset", 1), ("reset", 2), ("resetToDefault", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetModuleReset.setStatus('mandatory') exNetModulePartStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("partition", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetModulePartStatus.setStatus('mandatory') exNetModuleNmCntlStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notNmControl", 1), ("nmControl", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleNmCntlStatus.setStatus('mandatory') exNetModulePsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("fail", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModulePsStatus.setStatus('mandatory') exNetModuleFrmsRxOk = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleFrmsRxOk.setStatus('mandatory') exNetModuleOctetsRxOk = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleOctetsRxOk.setStatus('mandatory') exNetModuleColls = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleColls.setStatus('mandatory') exNetModuleTooLongErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleTooLongErrors.setStatus('mandatory') exNetModuleRuntErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleRuntErrors.setStatus('mandatory') exNetModuleAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleAlignErrors.setStatus('mandatory') exNetModuleFcsErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleFcsErrors.setStatus('mandatory') exNetModuleLateCollErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleLateCollErrors.setStatus('mandatory') exNetModuleName = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 40), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetModuleName.setStatus('mandatory') exNetModuleJabbers = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleJabbers.setStatus('mandatory') exNetModuleSfdErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleSfdErrors.setStatus('mandatory') exNetModuleAutoPartitions = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleAutoPartitions.setStatus('mandatory') exNetModuleOosBitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleOosBitRate.setStatus('mandatory') exNetModuleLinkErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleLinkErrors.setStatus('mandatory') exNetModuleFrameErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleFrameErrors.setStatus('mandatory') exNetModuleFragErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 47), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleFragErrors.setStatus('mandatory') exNetModulePortConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 48), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetModulePortConfig.setStatus('mandatory') exNetModuleLinkStatConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 49), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetModuleLinkStatConfig.setStatus('mandatory') exNetModuleResetTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 50), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleResetTimeStamp.setStatus('mandatory') exNetModuleLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 51), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleLinkStatus.setStatus('mandatory') exNetModuleFwVer = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 52), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleFwVer.setStatus('mandatory') exNetModuleFwFeaturePkg = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 53), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleFwFeaturePkg.setStatus('mandatory') exNetModuleSelfTestResult = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 54), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetModuleSelfTestResult.setStatus('mandatory') exNetPortTable = MibTable((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1), ) if mibBuilder.loadTexts: exNetPortTable.setStatus('mandatory') exNetPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1), ).setIndexNames((0, "DAVID-MIB", "exNetPortModuleIndex"), (0, "DAVID-MIB", "exNetPortIndex")) if mibBuilder.loadTexts: exNetPortEntry.setStatus('mandatory') exNetPortModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortModuleIndex.setStatus('mandatory') exNetPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortIndex.setStatus('mandatory') exNetPortLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("off", 1), ("on", 2), ("other", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortLinkStatus.setStatus('mandatory') exNetPortPartStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enabled", 1), ("partition", 2), ("autoPartition", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetPortPartStatus.setStatus('mandatory') exNetPortJabberStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ok", 1), ("jabbering", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortJabberStatus.setStatus('mandatory') exNetPortFrmsRxOk = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortFrmsRxOk.setStatus('mandatory') exNetPortOctetsRxOk = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortOctetsRxOk.setStatus('mandatory') exNetPortColls = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortColls.setStatus('mandatory') exNetPortTooLongErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortTooLongErrors.setStatus('mandatory') exNetPortRuntErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortRuntErrors.setStatus('mandatory') exNetPortAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortAlignErrors.setStatus('mandatory') exNetPortFcsErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortFcsErrors.setStatus('mandatory') exNetPortLateCollErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortLateCollErrors.setStatus('mandatory') exNetPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 40), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetPortName.setStatus('mandatory') exNetPortJabbers = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortJabbers.setStatus('mandatory') exNetPortSfdErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortSfdErrors.setStatus('mandatory') exNetPortAutoPartitions = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortAutoPartitions.setStatus('mandatory') exNetPortOosBitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortOosBitRate.setStatus('mandatory') exNetPortLinkErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortLinkErrors.setStatus('mandatory') exNetPortFrameErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortFrameErrors.setStatus('mandatory') exNetPortFragErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 47), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortFragErrors.setStatus('mandatory') exNetPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("repeater", 2), ("tenBasefAsync", 3), ("tenBasefSync", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortType.setStatus('mandatory') exNetPortMauType = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("tenBase5", 2), ("tenBaseT", 3), ("fOIRL", 4), ("tenBase2", 5), ("tenBaseFA", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetPortMauType.setStatus('mandatory') exNetPortConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("enabled", 2), ("disabled", 3), ("txDisabled", 4), ("rxDisabled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetPortConfig.setStatus('mandatory') exNetPortLinkStatConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("enabled", 2), ("disabled", 3), ("txDisabled", 4), ("rxDisabled", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetPortLinkStatConfig.setStatus('mandatory') exNetPortPolarity = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("positive", 2), ("negative", 3), ("txNegative", 4), ("rxNegative", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetPortPolarity.setStatus('mandatory') exNetPortTransmitTest = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetPortTransmitTest.setStatus('mandatory') exNetMgmtType = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("tbd", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtType.setStatus('mandatory') exNetMgmtHwVer = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtHwVer.setStatus('mandatory') exNetMgmtFwVer = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtFwVer.setStatus('mandatory') exNetMgmtSwMajorVer = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtSwMajorVer.setStatus('mandatory') exNetMgmtSwMinorVer = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtSwMinorVer.setStatus('mandatory') exNetMgmtStatus = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("offline", 1), ("online", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtStatus.setStatus('mandatory') exNetMgmtMode = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtMode.setStatus('mandatory') exNetMgmtReset = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notReset", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtReset.setStatus('mandatory') exNetMgmtRestart = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notRestart", 1), ("restart", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtRestart.setStatus('mandatory') exNetMgmtIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 10), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtIpAddr.setStatus('mandatory') exNetMgmtNetMask = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtNetMask.setStatus('mandatory') exNetMgmtDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtDefaultGateway.setStatus('mandatory') exNetMgmtBaudRate = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: exNetMgmtBaudRate.setStatus('mandatory') exNetMgmtLocation = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 19), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtLocation.setStatus('mandatory') exNetMgmtTrapReceiverTable = MibTable((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20), ) if mibBuilder.loadTexts: exNetMgmtTrapReceiverTable.setStatus('mandatory') exNetMgmtTrapReceiverEntry = MibTableRow((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1), ).setIndexNames((0, "DAVID-MIB", "exNetMgmtTrapReceiverAddr")) if mibBuilder.loadTexts: exNetMgmtTrapReceiverEntry.setStatus('mandatory') exNetMgmtTrapType = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtTrapType.setStatus('mandatory') exNetMgmtTrapReceiverAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtTrapReceiverAddr.setStatus('mandatory') exNetMgmtTrapReceiverComm = MibTableColumn((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtTrapReceiverComm.setStatus('mandatory') exNetMgmtAuthTrap = MibScalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: exNetMgmtAuthTrap.setStatus('mandatory') mibBuilder.exportSymbols("DAVID-MIB", exNetPortIndex=exNetPortIndex, exNetMgmtAuthTrap=exNetMgmtAuthTrap, exNetModuleOctetsRxOk=exNetModuleOctetsRxOk, exNetPortPartStatus=exNetPortPartStatus, exNetPortSfdErrors=exNetPortSfdErrors, exNetConcAlignErrors=exNetConcAlignErrors, exNetPortLinkErrors=exNetPortLinkErrors, exNetChassisCapacity=exNetChassisCapacity, exNetMgmtHwVer=exNetMgmtHwVer, exNetConcAutoPartitions=exNetConcAutoPartitions, exNetMgmtDefaultGateway=exNetMgmtDefaultGateway, exNetChassisBkplType=exNetChassisBkplType, exNetMgmt=exNetMgmt, exNetModuleRuntErrors=exNetModuleRuntErrors, exNetMgmtTrapReceiverTable=exNetMgmtTrapReceiverTable, exNetConcentrator=exNetConcentrator, exNetConcLinkErrors=exNetConcLinkErrors, exNetModuleSfdErrors=exNetModuleSfdErrors, exNetModuleFwVer=exNetModuleFwVer, exNetModulePortConfig=exNetModulePortConfig, exNetChassisPsStatus=exNetChassisPsStatus, exNetModuleEntry=exNetModuleEntry, exNetPortLateCollErrors=exNetPortLateCollErrors, exNetModuleNmCntlStatus=exNetModuleNmCntlStatus, exNetMgmtFwVer=exNetMgmtFwVer, exNetConcResetTimeStamp=exNetConcResetTimeStamp, exNetModuleSelfTestResult=exNetModuleSelfTestResult, exNetModule=exNetModule, exNetMgmtLocation=exNetMgmtLocation, exNetSlotIndex=exNetSlotIndex, exNetModuleAutoPartitions=exNetModuleAutoPartitions, exNetSlotConfigTable=exNetSlotConfigTable, exNetPortPolarity=exNetPortPolarity, exNetPortJabberStatus=exNetPortJabberStatus, exNetConcJabbers=exNetConcJabbers, exNetPortTable=exNetPortTable, exNetMgmtMode=exNetMgmtMode, exNetMgmtTrapReceiverComm=exNetMgmtTrapReceiverComm, exNetMgmtSwMajorVer=exNetMgmtSwMajorVer, exNetBoardId=exNetBoardId, exNetConcOctetsRxOk=exNetConcOctetsRxOk, exNetModuleStatus=exNetModuleStatus, exNetMgmtStatus=exNetMgmtStatus, exNetMgmtReset=exNetMgmtReset, exNetModuleHwVer=exNetModuleHwVer, exNetModuleIndex=exNetModuleIndex, davidExpressNet=davidExpressNet, exNetConcBcastFrmsRxOk=exNetConcBcastFrmsRxOk, exNetPortLinkStatus=exNetPortLinkStatus, exNetConcMcastFrmsRxOk=exNetConcMcastFrmsRxOk, exNetModuleType=exNetModuleType, exNetConcLateCollErrors=exNetConcLateCollErrors, exNetMgmtSwMinorVer=exNetMgmtSwMinorVer, exNetPortFrmsRxOk=exNetPortFrmsRxOk, exNetModuleFrmsRxOk=exNetModuleFrmsRxOk, exNetPortColls=exNetPortColls, exNetModuleName=exNetModuleName, exNetModuleLinkStatConfig=exNetModuleLinkStatConfig, exNetConcRetimingStatus=exNetConcRetimingStatus, exNetModuleColls=exNetModuleColls, exNetPortTooLongErrors=exNetPortTooLongErrors, exNetConcOosBitRate=exNetConcOosBitRate, exNetMgmtBaudRate=exNetMgmtBaudRate, exNetPortModuleIndex=exNetPortModuleIndex, exNetBoardNumOfPorts=exNetBoardNumOfPorts, exNetPortFrameErrors=exNetPortFrameErrors, exNetConcSfdErrors=exNetConcSfdErrors, exNetMgmtTrapReceiverAddr=exNetMgmtTrapReceiverAddr, exNetModuleFragErrors=exNetModuleFragErrors, exNetChassisPsType=exNetChassisPsType, exNetBoardDescr=exNetBoardDescr, exNetPortEntry=exNetPortEntry, exNetModuleLateCollErrors=exNetModuleLateCollErrors, exNetPortMauType=exNetPortMauType, exNetConcReset=exNetConcReset, exNetModuleTable=exNetModuleTable, david=david, exNetModuleTooLongErrors=exNetModuleTooLongErrors, exNetSlotConfigEntry=exNetSlotConfigEntry, exNetModulePsStatus=exNetModulePsStatus, exNetModuleFwFeaturePkg=exNetModuleFwFeaturePkg, exNetConcFrameErrors=exNetConcFrameErrors, exNetPortOosBitRate=exNetPortOosBitRate, exNetConcFragErrors=exNetConcFragErrors, exNetConcTooLongErrors=exNetConcTooLongErrors, exNetModuleLinkStatus=exNetModuleLinkStatus, exNetChassisType=exNetChassisType, exNetModuleResetTimeStamp=exNetModuleResetTimeStamp, exNetPortAlignErrors=exNetPortAlignErrors, exNetPortFcsErrors=exNetPortFcsErrors, exNetBoardType=exNetBoardType, exNetEthernet=exNetEthernet, exNetPortType=exNetPortType, exNetConcRuntErrors=exNetConcRuntErrors, exNetConcColls=exNetConcColls, exNetConcFrmsRxOk=exNetConcFrmsRxOk, exNetModulePartStatus=exNetModulePartStatus, exNetPortName=exNetPortName, exNetPortTransmitTest=exNetPortTransmitTest, exNetPortJabbers=exNetPortJabbers, exNetMgmtIpAddr=exNetMgmtIpAddr, exNetPortConfig=exNetPortConfig, exNetModuleJabbers=exNetModuleJabbers, exNetPortLinkStatConfig=exNetPortLinkStatConfig, exNetMgmtNetMask=exNetMgmtNetMask, exNetPortOctetsRxOk=exNetPortOctetsRxOk, exNetModuleOosBitRate=exNetModuleOosBitRate, exNetModuleReset=exNetModuleReset, exNetModuleFrameErrors=exNetModuleFrameErrors, exNetPortAutoPartitions=exNetPortAutoPartitions, exNetModuleFcsErrors=exNetModuleFcsErrors, exNetMgmtTrapType=exNetMgmtTrapType, exNetChassis=exNetChassis, exNetConcName=exNetConcName, products=products, exNetModuleLinkErrors=exNetModuleLinkErrors, exNetModuleAlignErrors=exNetModuleAlignErrors, exNetMgmtType=exNetMgmtType, exNetConcFcsErrors=exNetConcFcsErrors, exNetMgmtTrapReceiverEntry=exNetMgmtTrapReceiverEntry, exNetPortFragErrors=exNetPortFragErrors, exNetPort=exNetPort, exNetMgmtRestart=exNetMgmtRestart, exNetConcNetUtilization=exNetConcNetUtilization, exNetChassisBkplRev=exNetChassisBkplRev, exNetPortRuntErrors=exNetPortRuntErrors)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_union, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection') (display_string,) = mibBuilder.importSymbols('RFC1155-SMI', 'DisplayString') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (enterprises, ip_address, integer32, iso, module_identity, gauge32, counter32, bits, object_identity, mib_identifier, time_ticks, counter64, unsigned32, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'enterprises', 'IpAddress', 'Integer32', 'iso', 'ModuleIdentity', 'Gauge32', 'Counter32', 'Bits', 'ObjectIdentity', 'MibIdentifier', 'TimeTicks', 'Counter64', 'Unsigned32', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') david = mib_identifier((1, 3, 6, 1, 4, 1, 66)) products = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1)) david_express_net = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3)) ex_net_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 1)) ex_net_ethernet = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2)) ex_net_concentrator = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1)) ex_net_module = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2)) ex_net_port = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3)) ex_net_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4)) ex_net_chassis_type = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('m6102', 2), ('m6103', 3), ('m6310tel', 4), ('m6310rj', 5), ('m6318st', 6), ('m6318sma', 7), ('reserved', 8)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetChassisType.setStatus('mandatory') ex_net_chassis_bkpl_type = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('expressNet', 2), ('reserved', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetChassisBkplType.setStatus('mandatory') ex_net_chassis_bkpl_rev = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetChassisBkplRev.setStatus('mandatory') ex_net_chassis_ps_type = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('standardXfmr', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetChassisPsType.setStatus('mandatory') ex_net_chassis_ps_status = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('failed', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetChassisPsStatus.setStatus('mandatory') ex_net_slot_config_table = mib_table((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7)) if mibBuilder.loadTexts: exNetSlotConfigTable.setStatus('mandatory') ex_net_slot_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1)).setIndexNames((0, 'DAVID-MIB', 'exNetSlotIndex')) if mibBuilder.loadTexts: exNetSlotConfigEntry.setStatus('mandatory') ex_net_slot_index = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetSlotIndex.setStatus('mandatory') ex_net_board_id = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetBoardId.setStatus('mandatory') ex_net_board_type = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('empty', 1), ('other', 2), ('m6203', 3), ('m6201', 4), ('m6311', 5), ('m6312', 6), ('m6313st', 7), ('m6313sma', 8), ('m6006', 9), ('reserved', 10)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetBoardType.setStatus('mandatory') ex_net_board_descr = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetBoardDescr.setStatus('mandatory') ex_net_board_num_of_ports = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 7, 1, 40), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetBoardNumOfPorts.setStatus('mandatory') ex_net_chassis_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetChassisCapacity.setStatus('mandatory') ex_net_conc_retiming_status = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('off', 1), ('on', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcRetimingStatus.setStatus('mandatory') ex_net_conc_frms_rx_ok = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcFrmsRxOk.setStatus('mandatory') ex_net_conc_octets_rx_ok = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcOctetsRxOk.setStatus('mandatory') ex_net_conc_mcast_frms_rx_ok = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcMcastFrmsRxOk.setStatus('mandatory') ex_net_conc_bcast_frms_rx_ok = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcBcastFrmsRxOk.setStatus('mandatory') ex_net_conc_colls = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcColls.setStatus('mandatory') ex_net_conc_too_long_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcTooLongErrors.setStatus('mandatory') ex_net_conc_runt_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcRuntErrors.setStatus('mandatory') ex_net_conc_frag_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcFragErrors.setStatus('mandatory') ex_net_conc_align_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcAlignErrors.setStatus('mandatory') ex_net_conc_fcs_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcFcsErrors.setStatus('mandatory') ex_net_conc_late_coll_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcLateCollErrors.setStatus('mandatory') ex_net_conc_name = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 40), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetConcName.setStatus('mandatory') ex_net_conc_jabbers = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 41), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcJabbers.setStatus('mandatory') ex_net_conc_sfd_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 42), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcSfdErrors.setStatus('mandatory') ex_net_conc_auto_partitions = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 43), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcAutoPartitions.setStatus('mandatory') ex_net_conc_oos_bit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 44), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcOosBitRate.setStatus('mandatory') ex_net_conc_link_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 45), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcLinkErrors.setStatus('mandatory') ex_net_conc_frame_errors = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 46), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcFrameErrors.setStatus('mandatory') ex_net_conc_net_utilization = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 47), octet_string().subtype(subtypeSpec=value_size_constraint(1, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcNetUtilization.setStatus('mandatory') ex_net_conc_reset_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 48), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetConcResetTimeStamp.setStatus('mandatory') ex_net_conc_reset = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 1, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('noReset', 1), ('reset', 2), ('resetToDefault', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetConcReset.setStatus('mandatory') ex_net_module_table = mib_table((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1)) if mibBuilder.loadTexts: exNetModuleTable.setStatus('mandatory') ex_net_module_entry = mib_table_row((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1)).setIndexNames((0, 'DAVID-MIB', 'exNetModuleIndex')) if mibBuilder.loadTexts: exNetModuleEntry.setStatus('mandatory') ex_net_module_index = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleIndex.setStatus('mandatory') ex_net_module_type = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('empty', 1), ('other', 2), ('m6203', 3), ('m6201', 4), ('m6311', 5), ('m6312', 6), ('m6313st', 7), ('m6313sma', 8), ('m6006', 9), ('reserved', 10)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleType.setStatus('mandatory') ex_net_module_hw_ver = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleHwVer.setStatus('mandatory') ex_net_module_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ok', 1), ('noComms', 2), ('selfTestFail', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleStatus.setStatus('mandatory') ex_net_module_reset = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('noReset', 1), ('reset', 2), ('resetToDefault', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetModuleReset.setStatus('mandatory') ex_net_module_part_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('partition', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetModulePartStatus.setStatus('mandatory') ex_net_module_nm_cntl_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notNmControl', 1), ('nmControl', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleNmCntlStatus.setStatus('mandatory') ex_net_module_ps_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('fail', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModulePsStatus.setStatus('mandatory') ex_net_module_frms_rx_ok = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleFrmsRxOk.setStatus('mandatory') ex_net_module_octets_rx_ok = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleOctetsRxOk.setStatus('mandatory') ex_net_module_colls = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleColls.setStatus('mandatory') ex_net_module_too_long_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleTooLongErrors.setStatus('mandatory') ex_net_module_runt_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleRuntErrors.setStatus('mandatory') ex_net_module_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleAlignErrors.setStatus('mandatory') ex_net_module_fcs_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleFcsErrors.setStatus('mandatory') ex_net_module_late_coll_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleLateCollErrors.setStatus('mandatory') ex_net_module_name = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 40), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetModuleName.setStatus('mandatory') ex_net_module_jabbers = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 41), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleJabbers.setStatus('mandatory') ex_net_module_sfd_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 42), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleSfdErrors.setStatus('mandatory') ex_net_module_auto_partitions = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 43), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleAutoPartitions.setStatus('mandatory') ex_net_module_oos_bit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 44), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleOosBitRate.setStatus('mandatory') ex_net_module_link_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 45), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleLinkErrors.setStatus('mandatory') ex_net_module_frame_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 46), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleFrameErrors.setStatus('mandatory') ex_net_module_frag_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 47), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleFragErrors.setStatus('mandatory') ex_net_module_port_config = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 48), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetModulePortConfig.setStatus('mandatory') ex_net_module_link_stat_config = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 49), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetModuleLinkStatConfig.setStatus('mandatory') ex_net_module_reset_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 50), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleResetTimeStamp.setStatus('mandatory') ex_net_module_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 51), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleLinkStatus.setStatus('mandatory') ex_net_module_fw_ver = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 52), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleFwVer.setStatus('mandatory') ex_net_module_fw_feature_pkg = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 53), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleFwFeaturePkg.setStatus('mandatory') ex_net_module_self_test_result = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 2, 1, 1, 54), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetModuleSelfTestResult.setStatus('mandatory') ex_net_port_table = mib_table((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1)) if mibBuilder.loadTexts: exNetPortTable.setStatus('mandatory') ex_net_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1)).setIndexNames((0, 'DAVID-MIB', 'exNetPortModuleIndex'), (0, 'DAVID-MIB', 'exNetPortIndex')) if mibBuilder.loadTexts: exNetPortEntry.setStatus('mandatory') ex_net_port_module_index = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortModuleIndex.setStatus('mandatory') ex_net_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortIndex.setStatus('mandatory') ex_net_port_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('off', 1), ('on', 2), ('other', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortLinkStatus.setStatus('mandatory') ex_net_port_part_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enabled', 1), ('partition', 2), ('autoPartition', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetPortPartStatus.setStatus('mandatory') ex_net_port_jabber_status = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ok', 1), ('jabbering', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortJabberStatus.setStatus('mandatory') ex_net_port_frms_rx_ok = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortFrmsRxOk.setStatus('mandatory') ex_net_port_octets_rx_ok = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortOctetsRxOk.setStatus('mandatory') ex_net_port_colls = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortColls.setStatus('mandatory') ex_net_port_too_long_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortTooLongErrors.setStatus('mandatory') ex_net_port_runt_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortRuntErrors.setStatus('mandatory') ex_net_port_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortAlignErrors.setStatus('mandatory') ex_net_port_fcs_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortFcsErrors.setStatus('mandatory') ex_net_port_late_coll_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortLateCollErrors.setStatus('mandatory') ex_net_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 40), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetPortName.setStatus('mandatory') ex_net_port_jabbers = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 41), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortJabbers.setStatus('mandatory') ex_net_port_sfd_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 42), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortSfdErrors.setStatus('mandatory') ex_net_port_auto_partitions = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 43), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortAutoPartitions.setStatus('mandatory') ex_net_port_oos_bit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 44), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortOosBitRate.setStatus('mandatory') ex_net_port_link_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 45), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortLinkErrors.setStatus('mandatory') ex_net_port_frame_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 46), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortFrameErrors.setStatus('mandatory') ex_net_port_frag_errors = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 47), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortFragErrors.setStatus('mandatory') ex_net_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('repeater', 2), ('tenBasefAsync', 3), ('tenBasefSync', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortType.setStatus('mandatory') ex_net_port_mau_type = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('tenBase5', 2), ('tenBaseT', 3), ('fOIRL', 4), ('tenBase2', 5), ('tenBaseFA', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetPortMauType.setStatus('mandatory') ex_net_port_config = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('enabled', 2), ('disabled', 3), ('txDisabled', 4), ('rxDisabled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetPortConfig.setStatus('mandatory') ex_net_port_link_stat_config = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('enabled', 2), ('disabled', 3), ('txDisabled', 4), ('rxDisabled', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetPortLinkStatConfig.setStatus('mandatory') ex_net_port_polarity = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('positive', 2), ('negative', 3), ('txNegative', 4), ('rxNegative', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetPortPolarity.setStatus('mandatory') ex_net_port_transmit_test = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 3, 1, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetPortTransmitTest.setStatus('mandatory') ex_net_mgmt_type = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('tbd', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtType.setStatus('mandatory') ex_net_mgmt_hw_ver = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtHwVer.setStatus('mandatory') ex_net_mgmt_fw_ver = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtFwVer.setStatus('mandatory') ex_net_mgmt_sw_major_ver = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtSwMajorVer.setStatus('mandatory') ex_net_mgmt_sw_minor_ver = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtSwMinorVer.setStatus('mandatory') ex_net_mgmt_status = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('offline', 1), ('online', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtStatus.setStatus('mandatory') ex_net_mgmt_mode = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('primary', 1), ('secondary', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtMode.setStatus('mandatory') ex_net_mgmt_reset = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notReset', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtReset.setStatus('mandatory') ex_net_mgmt_restart = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notRestart', 1), ('restart', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtRestart.setStatus('mandatory') ex_net_mgmt_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 10), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtIpAddr.setStatus('mandatory') ex_net_mgmt_net_mask = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 11), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtNetMask.setStatus('mandatory') ex_net_mgmt_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtDefaultGateway.setStatus('mandatory') ex_net_mgmt_baud_rate = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 17), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: exNetMgmtBaudRate.setStatus('mandatory') ex_net_mgmt_location = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 19), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtLocation.setStatus('mandatory') ex_net_mgmt_trap_receiver_table = mib_table((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20)) if mibBuilder.loadTexts: exNetMgmtTrapReceiverTable.setStatus('mandatory') ex_net_mgmt_trap_receiver_entry = mib_table_row((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1)).setIndexNames((0, 'DAVID-MIB', 'exNetMgmtTrapReceiverAddr')) if mibBuilder.loadTexts: exNetMgmtTrapReceiverEntry.setStatus('mandatory') ex_net_mgmt_trap_type = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('invalid', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtTrapType.setStatus('mandatory') ex_net_mgmt_trap_receiver_addr = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtTrapReceiverAddr.setStatus('mandatory') ex_net_mgmt_trap_receiver_comm = mib_table_column((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 20, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtTrapReceiverComm.setStatus('mandatory') ex_net_mgmt_auth_trap = mib_scalar((1, 3, 6, 1, 4, 1, 66, 1, 3, 2, 4, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: exNetMgmtAuthTrap.setStatus('mandatory') mibBuilder.exportSymbols('DAVID-MIB', exNetPortIndex=exNetPortIndex, exNetMgmtAuthTrap=exNetMgmtAuthTrap, exNetModuleOctetsRxOk=exNetModuleOctetsRxOk, exNetPortPartStatus=exNetPortPartStatus, exNetPortSfdErrors=exNetPortSfdErrors, exNetConcAlignErrors=exNetConcAlignErrors, exNetPortLinkErrors=exNetPortLinkErrors, exNetChassisCapacity=exNetChassisCapacity, exNetMgmtHwVer=exNetMgmtHwVer, exNetConcAutoPartitions=exNetConcAutoPartitions, exNetMgmtDefaultGateway=exNetMgmtDefaultGateway, exNetChassisBkplType=exNetChassisBkplType, exNetMgmt=exNetMgmt, exNetModuleRuntErrors=exNetModuleRuntErrors, exNetMgmtTrapReceiverTable=exNetMgmtTrapReceiverTable, exNetConcentrator=exNetConcentrator, exNetConcLinkErrors=exNetConcLinkErrors, exNetModuleSfdErrors=exNetModuleSfdErrors, exNetModuleFwVer=exNetModuleFwVer, exNetModulePortConfig=exNetModulePortConfig, exNetChassisPsStatus=exNetChassisPsStatus, exNetModuleEntry=exNetModuleEntry, exNetPortLateCollErrors=exNetPortLateCollErrors, exNetModuleNmCntlStatus=exNetModuleNmCntlStatus, exNetMgmtFwVer=exNetMgmtFwVer, exNetConcResetTimeStamp=exNetConcResetTimeStamp, exNetModuleSelfTestResult=exNetModuleSelfTestResult, exNetModule=exNetModule, exNetMgmtLocation=exNetMgmtLocation, exNetSlotIndex=exNetSlotIndex, exNetModuleAutoPartitions=exNetModuleAutoPartitions, exNetSlotConfigTable=exNetSlotConfigTable, exNetPortPolarity=exNetPortPolarity, exNetPortJabberStatus=exNetPortJabberStatus, exNetConcJabbers=exNetConcJabbers, exNetPortTable=exNetPortTable, exNetMgmtMode=exNetMgmtMode, exNetMgmtTrapReceiverComm=exNetMgmtTrapReceiverComm, exNetMgmtSwMajorVer=exNetMgmtSwMajorVer, exNetBoardId=exNetBoardId, exNetConcOctetsRxOk=exNetConcOctetsRxOk, exNetModuleStatus=exNetModuleStatus, exNetMgmtStatus=exNetMgmtStatus, exNetMgmtReset=exNetMgmtReset, exNetModuleHwVer=exNetModuleHwVer, exNetModuleIndex=exNetModuleIndex, davidExpressNet=davidExpressNet, exNetConcBcastFrmsRxOk=exNetConcBcastFrmsRxOk, exNetPortLinkStatus=exNetPortLinkStatus, exNetConcMcastFrmsRxOk=exNetConcMcastFrmsRxOk, exNetModuleType=exNetModuleType, exNetConcLateCollErrors=exNetConcLateCollErrors, exNetMgmtSwMinorVer=exNetMgmtSwMinorVer, exNetPortFrmsRxOk=exNetPortFrmsRxOk, exNetModuleFrmsRxOk=exNetModuleFrmsRxOk, exNetPortColls=exNetPortColls, exNetModuleName=exNetModuleName, exNetModuleLinkStatConfig=exNetModuleLinkStatConfig, exNetConcRetimingStatus=exNetConcRetimingStatus, exNetModuleColls=exNetModuleColls, exNetPortTooLongErrors=exNetPortTooLongErrors, exNetConcOosBitRate=exNetConcOosBitRate, exNetMgmtBaudRate=exNetMgmtBaudRate, exNetPortModuleIndex=exNetPortModuleIndex, exNetBoardNumOfPorts=exNetBoardNumOfPorts, exNetPortFrameErrors=exNetPortFrameErrors, exNetConcSfdErrors=exNetConcSfdErrors, exNetMgmtTrapReceiverAddr=exNetMgmtTrapReceiverAddr, exNetModuleFragErrors=exNetModuleFragErrors, exNetChassisPsType=exNetChassisPsType, exNetBoardDescr=exNetBoardDescr, exNetPortEntry=exNetPortEntry, exNetModuleLateCollErrors=exNetModuleLateCollErrors, exNetPortMauType=exNetPortMauType, exNetConcReset=exNetConcReset, exNetModuleTable=exNetModuleTable, david=david, exNetModuleTooLongErrors=exNetModuleTooLongErrors, exNetSlotConfigEntry=exNetSlotConfigEntry, exNetModulePsStatus=exNetModulePsStatus, exNetModuleFwFeaturePkg=exNetModuleFwFeaturePkg, exNetConcFrameErrors=exNetConcFrameErrors, exNetPortOosBitRate=exNetPortOosBitRate, exNetConcFragErrors=exNetConcFragErrors, exNetConcTooLongErrors=exNetConcTooLongErrors, exNetModuleLinkStatus=exNetModuleLinkStatus, exNetChassisType=exNetChassisType, exNetModuleResetTimeStamp=exNetModuleResetTimeStamp, exNetPortAlignErrors=exNetPortAlignErrors, exNetPortFcsErrors=exNetPortFcsErrors, exNetBoardType=exNetBoardType, exNetEthernet=exNetEthernet, exNetPortType=exNetPortType, exNetConcRuntErrors=exNetConcRuntErrors, exNetConcColls=exNetConcColls, exNetConcFrmsRxOk=exNetConcFrmsRxOk, exNetModulePartStatus=exNetModulePartStatus, exNetPortName=exNetPortName, exNetPortTransmitTest=exNetPortTransmitTest, exNetPortJabbers=exNetPortJabbers, exNetMgmtIpAddr=exNetMgmtIpAddr, exNetPortConfig=exNetPortConfig, exNetModuleJabbers=exNetModuleJabbers, exNetPortLinkStatConfig=exNetPortLinkStatConfig, exNetMgmtNetMask=exNetMgmtNetMask, exNetPortOctetsRxOk=exNetPortOctetsRxOk, exNetModuleOosBitRate=exNetModuleOosBitRate, exNetModuleReset=exNetModuleReset, exNetModuleFrameErrors=exNetModuleFrameErrors, exNetPortAutoPartitions=exNetPortAutoPartitions, exNetModuleFcsErrors=exNetModuleFcsErrors, exNetMgmtTrapType=exNetMgmtTrapType, exNetChassis=exNetChassis, exNetConcName=exNetConcName, products=products, exNetModuleLinkErrors=exNetModuleLinkErrors, exNetModuleAlignErrors=exNetModuleAlignErrors, exNetMgmtType=exNetMgmtType, exNetConcFcsErrors=exNetConcFcsErrors, exNetMgmtTrapReceiverEntry=exNetMgmtTrapReceiverEntry, exNetPortFragErrors=exNetPortFragErrors, exNetPort=exNetPort, exNetMgmtRestart=exNetMgmtRestart, exNetConcNetUtilization=exNetConcNetUtilization, exNetChassisBkplRev=exNetChassisBkplRev, exNetPortRuntErrors=exNetPortRuntErrors)
journey_cost = float(input()) months = int(input()) saved_money = 0 for i in range(1, months+1): if i % 2 != 0 and i != 1: saved_money = saved_money * 0.84 if i % 4 == 0: saved_money = saved_money * 1.25 saved_money += journey_cost / 4 diff = abs(journey_cost - saved_money) if saved_money >= journey_cost: print(f"Bravo! You can go to Disneyland and you will have {diff:.2f}lv. for souvenirs.") else: print(f"Sorry. You need {diff:.2f}lv. more.")
journey_cost = float(input()) months = int(input()) saved_money = 0 for i in range(1, months + 1): if i % 2 != 0 and i != 1: saved_money = saved_money * 0.84 if i % 4 == 0: saved_money = saved_money * 1.25 saved_money += journey_cost / 4 diff = abs(journey_cost - saved_money) if saved_money >= journey_cost: print(f'Bravo! You can go to Disneyland and you will have {diff:.2f}lv. for souvenirs.') else: print(f'Sorry. You need {diff:.2f}lv. more.')
subscription_data=\ { "description": "A subscription to get info about Room1", "subject": { "entities": [ { "id": "Room1", "type": "Room", } ], "condition": { "attrs": [ "p3" ] } }, "notification": { "http": { "url": "http://192.168.100.162:8888" }, "attrs": [ "p1", "p2", "p3" ] }, "expires": "2040-01-01T14:00:00.00Z", "throttling": 5 } #data to test the following code for broker.thinBroker.go:946 ''' subReqv2 := SubscriptionRequest{} err := r.DecodeJsonPayload(&subReqv2) if err != nil { rest.Error(w, err.Error(), http.StatusInternalServerError) return } ''' subscriptionWrongPaylaod=\ { "description": "A subscription to get info about Room1", "subject": { "entities": [ { "id": "Room1", "type": "Room", "ispattern":"false" } ], "condition": { "attrs": [ "p3" ] } }, "notification": { "http": { "url": "http://192.168.100.162:8888" }, "attrs": [ "p1", "p2", "p3" ] }, "expires": "2040-01-01T14:00:00.00Z", "throttling": 5 } v1SubData=\ { "entities": [ { "id": "Room1", "type": "Room", } ], "reference": "http://192.168.100.162:8668/ngsi10/updateContext" } updateDataWithupdateaction=\ { "contextElements": [ { "entityId": { "id": "Room1", "type": "Room" }, "attributes": [ { "name": "p1", "type": "float", "value": 60 }, { "name": "p3", "type": "float", "value": 69 }, { "name": "p2", "type": "float", "value": 32 } ], "domainMetadata": [ { "name": "location", "type": "point", "value": { "latitude": 49.406393, "longitude": 8.684208 } } ] } ], "updateAction": "UPDATE" } createDataWithupdateaction=\ { "contextElements": [ { "entityId": { "id": "Room1", "type": "Room" }, "attributes": [ { "name": "p1", "type": "float", "value": 90 }, { "name": "p3", "type": "float", "value": 70 }, { "name": "p2", "type": "float", "value": 12 } ], "domainMetadata": [ { "name": "location", "type": "point", "value": { "latitude": 49.406393, "longitude": 8.684208 } } ] } ], "updateAction": "CRETAE" } deleteDataWithupdateaction=\ { "contextElements": [ { "entityId": { "id": "Room1", "type": "Room" }, "attributes": [ { "name": "p1", "type": "float", "value": 12 }, { "name": "p3", "type": "float", "value": 13 }, { "name": "p2", "type": "float", "value": 14 } ], "domainMetadata": [ { "name": "location", "type": "point", "value": { "latitude": 49.406393, "longitude": 8.684208 } } ] } ], "updateAction": "DELETE" }
subscription_data = {'description': 'A subscription to get info about Room1', 'subject': {'entities': [{'id': 'Room1', 'type': 'Room'}], 'condition': {'attrs': ['p3']}}, 'notification': {'http': {'url': 'http://192.168.100.162:8888'}, 'attrs': ['p1', 'p2', 'p3']}, 'expires': '2040-01-01T14:00:00.00Z', 'throttling': 5} '\n\t subReqv2 := SubscriptionRequest{}\n\n err := r.DecodeJsonPayload(&subReqv2)\n if err != nil {\n rest.Error(w, err.Error(), http.StatusInternalServerError)\n return\n }\n\n' subscription_wrong_paylaod = {'description': 'A subscription to get info about Room1', 'subject': {'entities': [{'id': 'Room1', 'type': 'Room', 'ispattern': 'false'}], 'condition': {'attrs': ['p3']}}, 'notification': {'http': {'url': 'http://192.168.100.162:8888'}, 'attrs': ['p1', 'p2', 'p3']}, 'expires': '2040-01-01T14:00:00.00Z', 'throttling': 5} v1_sub_data = {'entities': [{'id': 'Room1', 'type': 'Room'}], 'reference': 'http://192.168.100.162:8668/ngsi10/updateContext'} update_data_withupdateaction = {'contextElements': [{'entityId': {'id': 'Room1', 'type': 'Room'}, 'attributes': [{'name': 'p1', 'type': 'float', 'value': 60}, {'name': 'p3', 'type': 'float', 'value': 69}, {'name': 'p2', 'type': 'float', 'value': 32}], 'domainMetadata': [{'name': 'location', 'type': 'point', 'value': {'latitude': 49.406393, 'longitude': 8.684208}}]}], 'updateAction': 'UPDATE'} create_data_withupdateaction = {'contextElements': [{'entityId': {'id': 'Room1', 'type': 'Room'}, 'attributes': [{'name': 'p1', 'type': 'float', 'value': 90}, {'name': 'p3', 'type': 'float', 'value': 70}, {'name': 'p2', 'type': 'float', 'value': 12}], 'domainMetadata': [{'name': 'location', 'type': 'point', 'value': {'latitude': 49.406393, 'longitude': 8.684208}}]}], 'updateAction': 'CRETAE'} delete_data_withupdateaction = {'contextElements': [{'entityId': {'id': 'Room1', 'type': 'Room'}, 'attributes': [{'name': 'p1', 'type': 'float', 'value': 12}, {'name': 'p3', 'type': 'float', 'value': 13}, {'name': 'p2', 'type': 'float', 'value': 14}], 'domainMetadata': [{'name': 'location', 'type': 'point', 'value': {'latitude': 49.406393, 'longitude': 8.684208}}]}], 'updateAction': 'DELETE'}
with open('file_example.txt', 'r') as file: contents = file.read() print(contents)
with open('file_example.txt', 'r') as file: contents = file.read() print(contents)
class HistoryStatement: def __init__(self, hashPrev, hashUploaded, username, comment=""): self.hashPrev = hashPrev self.hashUploaded = hashUploaded self.username = username self.comment = comment def to_bytes(self): buf = bytearray() buf.extend(self.hashPrev) buf.extend(self.hashUploaded) buf.extend(self.username.encode('ascii')) for _ in range(0, 50 - len(self.username)): buf.append(0) buf.extend(self.comment.encode('ascii')) return buf def sign(self, key): return key.sign(self.to_bytes()) pass def from_bytes(buf): hashPrev = bytearray(buf[:32]) hashUploaded = bytearray(buf[32:64]) usernameUntrimmed = buf[64:114] username = "" i = 0 while usernameUntrimmed[i] != 0: username += chr(usernameUntrimmed[i]) i += 1 comment = bytes(buf[114:]).decode('ascii') return HistoryStatement(hashPrev, hashUploaded, username, comment) def __str__(self): return "<HistoryStatement %s uploaded %s, previous was %s, comment: %s>" % (self.username, self.hashUploaded, self.hashPrev, self.comment)
class Historystatement: def __init__(self, hashPrev, hashUploaded, username, comment=''): self.hashPrev = hashPrev self.hashUploaded = hashUploaded self.username = username self.comment = comment def to_bytes(self): buf = bytearray() buf.extend(self.hashPrev) buf.extend(self.hashUploaded) buf.extend(self.username.encode('ascii')) for _ in range(0, 50 - len(self.username)): buf.append(0) buf.extend(self.comment.encode('ascii')) return buf def sign(self, key): return key.sign(self.to_bytes()) pass def from_bytes(buf): hash_prev = bytearray(buf[:32]) hash_uploaded = bytearray(buf[32:64]) username_untrimmed = buf[64:114] username = '' i = 0 while usernameUntrimmed[i] != 0: username += chr(usernameUntrimmed[i]) i += 1 comment = bytes(buf[114:]).decode('ascii') return history_statement(hashPrev, hashUploaded, username, comment) def __str__(self): return '<HistoryStatement %s uploaded %s, previous was %s, comment: %s>' % (self.username, self.hashUploaded, self.hashPrev, self.comment)
_base_ = [ '../_base_/models/upernet_swin.py', '../_base_/datasets/uvo_finetune.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_160k.py' ] model = dict( pretrained='PATH/TO/YOUR/swin_large_patch4_window12_384_22k.pth', backbone=dict( pretrain_img_size=384, embed_dims=192, depths=[2, 2, 18, 2], num_heads=[6, 12, 24, 48], drop_path_rate=0.2, window_size=12), decode_head=dict( in_channels=[192, 384, 768, 1536], num_classes=2, loss_decode=dict( type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), auxiliary_head=dict( in_channels=768, num_classes=2, loss_decode=dict( type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)) ) # AdamW optimizer, no weight decay for position embedding & layer norm # in backbone optimizer = dict( _delete_=True, type='AdamW', lr=0.00006 / 10, betas=(0.9, 0.999), weight_decay=0.01, paramwise_cfg=dict( custom_keys={ 'absolute_pos_embed': dict(decay_mult=0.), 'relative_position_bias_table': dict(decay_mult=0.), 'norm': dict(decay_mult=0.) })) lr_config = dict( _delete_=True, policy='poly', warmup='linear', warmup_iters=1500, warmup_ratio=5e-7, power=1.0, min_lr=0.0, by_epoch=False) # By default, models are trained on 8 GPUs with 2 images per GPU data = dict( samples_per_gpu=4, workers_per_gpu=4, ) load_from = '/tmp-network/user/ydu/mmsegmentation/work_dirs/biggest_model_clean_w_jitter/iter_300000.pth' runner = dict(type='IterBasedRunner', max_iters=100000) checkpoint_config = dict(by_epoch=False, interval=5000) evaluation = dict(interval=5000, metric='mIoU', pre_eval=True)
_base_ = ['../_base_/models/upernet_swin.py', '../_base_/datasets/uvo_finetune.py', '../_base_/default_runtime.py', '../_base_/schedules/schedule_160k.py'] model = dict(pretrained='PATH/TO/YOUR/swin_large_patch4_window12_384_22k.pth', backbone=dict(pretrain_img_size=384, embed_dims=192, depths=[2, 2, 18, 2], num_heads=[6, 12, 24, 48], drop_path_rate=0.2, window_size=12), decode_head=dict(in_channels=[192, 384, 768, 1536], num_classes=2, loss_decode=dict(type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0)), auxiliary_head=dict(in_channels=768, num_classes=2, loss_decode=dict(type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0))) optimizer = dict(_delete_=True, type='AdamW', lr=6e-05 / 10, betas=(0.9, 0.999), weight_decay=0.01, paramwise_cfg=dict(custom_keys={'absolute_pos_embed': dict(decay_mult=0.0), 'relative_position_bias_table': dict(decay_mult=0.0), 'norm': dict(decay_mult=0.0)})) lr_config = dict(_delete_=True, policy='poly', warmup='linear', warmup_iters=1500, warmup_ratio=5e-07, power=1.0, min_lr=0.0, by_epoch=False) data = dict(samples_per_gpu=4, workers_per_gpu=4) load_from = '/tmp-network/user/ydu/mmsegmentation/work_dirs/biggest_model_clean_w_jitter/iter_300000.pth' runner = dict(type='IterBasedRunner', max_iters=100000) checkpoint_config = dict(by_epoch=False, interval=5000) evaluation = dict(interval=5000, metric='mIoU', pre_eval=True)
class IDependency: pass class IScoped(IDependency): pass def __del__(self): pass class ISingleton(IDependency): pass
class Idependency: pass class Iscoped(IDependency): pass def __del__(self): pass class Isingleton(IDependency): pass
h = int(input()) x = int(input()) y = int(input()) result = 'Outside' # Base, left vertical, left horizontal, middle left etc. if (3*h >= x >= 0 == y) or (x == 0 <= y <= h) or (0 <= x <= h == y) or (x == h <= y <= 4*h) or \ (h <= x <= 2*h and y == 4*h) or (x == 2*h and h <= y <= 4*h) or (2*h <= x <= 3*h and y == h) or \ (x == 3*h and 0 <= y <= h): result = 'Border' elif (0 < x < 3*h and 0 < y < h) or (h < x < 2*h and 0 < y < 4*h): result = 'Inside' print(result)
h = int(input()) x = int(input()) y = int(input()) result = 'Outside' if 3 * h >= x >= 0 == y or x == 0 <= y <= h or 0 <= x <= h == y or (x == h <= y <= 4 * h) or (h <= x <= 2 * h and y == 4 * h) or (x == 2 * h and h <= y <= 4 * h) or (2 * h <= x <= 3 * h and y == h) or (x == 3 * h and 0 <= y <= h): result = 'Border' elif 0 < x < 3 * h and 0 < y < h or (h < x < 2 * h and 0 < y < 4 * h): result = 'Inside' print(result)
# https://stackoverflow.com/questions/24852345/hsv-to-rgb-color-conversion def hsv_to_rgb(h, s, v): if s == 0.0: return (v, v, v) i = int(h*6.) # XXX assume int() truncates! f = (h*6.)-i; p,q,t = v*(1.-s), v*(1.-s*f), v*(1.-s*(1.-f)); i%=6 if i == 0: return (v, t, p) if i == 1: return (q, v, p) if i == 2: return (p, v, t) if i == 3: return (p, q, v) if i == 4: return (t, p, v) if i == 5: return (v, p, q)
def hsv_to_rgb(h, s, v): if s == 0.0: return (v, v, v) i = int(h * 6.0) f = h * 6.0 - i (p, q, t) = (v * (1.0 - s), v * (1.0 - s * f), v * (1.0 - s * (1.0 - f))) i %= 6 if i == 0: return (v, t, p) if i == 1: return (q, v, p) if i == 2: return (p, v, t) if i == 3: return (p, q, v) if i == 4: return (t, p, v) if i == 5: return (v, p, q)
class Parameter: def __init__(self, name, prior, initial_value, transform=None, fixed=False): self.name = name self.prior = prior self.transform = (lambda x: x) if transform is None else transform self.value = initial_value self.fixed = fixed def propose(self, *args): if self.fixed: return self.value assert self.proposal_dist is not None, 'proposal_dist must not be None if you use propose()' return self.proposal_dist(*args).sample().numpy()
class Parameter: def __init__(self, name, prior, initial_value, transform=None, fixed=False): self.name = name self.prior = prior self.transform = (lambda x: x) if transform is None else transform self.value = initial_value self.fixed = fixed def propose(self, *args): if self.fixed: return self.value assert self.proposal_dist is not None, 'proposal_dist must not be None if you use propose()' return self.proposal_dist(*args).sample().numpy()
class Solution: labs = [] def __init__(self, T): self.z = 0 self.x = [] for i in range(T): self.x.append(0) def calculate_z(self): if len(self.labs) == 0: return 0 self.z = 0 for i in range(len(self.labs)): for j in range(self.x[i]+1): self.z += self.labs[i].P[j] def __str__(self): return "Z = {:.3f}, x = {}".format(self.z, self.x) def __eq__(self, value): if isinstance(value, Solution): if len(self.x) != len(value.x): return False for i in range(len(self.x)): if self.x[i] != value.x[i]: return False return True return NotImplemented def __lt__(self, value): return self.z < value.z def __le__(self, value): return self.z <= value.z def __gt__(self, value): return self.z > value.z def __ge__(self, value): return self.z >= value.z
class Solution: labs = [] def __init__(self, T): self.z = 0 self.x = [] for i in range(T): self.x.append(0) def calculate_z(self): if len(self.labs) == 0: return 0 self.z = 0 for i in range(len(self.labs)): for j in range(self.x[i] + 1): self.z += self.labs[i].P[j] def __str__(self): return 'Z = {:.3f}, x = {}'.format(self.z, self.x) def __eq__(self, value): if isinstance(value, Solution): if len(self.x) != len(value.x): return False for i in range(len(self.x)): if self.x[i] != value.x[i]: return False return True return NotImplemented def __lt__(self, value): return self.z < value.z def __le__(self, value): return self.z <= value.z def __gt__(self, value): return self.z > value.z def __ge__(self, value): return self.z >= value.z
symbol = input() count = int(input()) c = 0 for i in range(count): if input() == symbol: c += 1 print(c)
symbol = input() count = int(input()) c = 0 for i in range(count): if input() == symbol: c += 1 print(c)
#!/usr/bin/python ''' Priority queue with random access updates ----------------------------------------- .. autoclass:: PrioQueue :members: :special-members: ''' #----------------------------------------------------------------------------- class PrioQueue: ''' Priority queue that supports updating priority of arbitrary elements and removing arbitrary elements. Entry with lowest priority value is returned first. Mutation operations (:meth:`set()`, :meth:`pop()`, :meth:`remove()`, and :meth:`update()`) have complexity of ``O(log(n))``. Read operations (:meth:`length()` and :meth:`peek()`) have complexity of ``O(1)``. ''' #------------------------------------------------------- # element container {{{ class _Element: def __init__(self, prio, entry, pos, key): self.prio = prio self.entry = entry self.pos = pos self.key = key def __cmp__(self, other): return cmp(self.prio, other.prio) or \ cmp(id(self.entry), id(other.entry)) # }}} #------------------------------------------------------- def __init__(self, make_key = None): ''' :param make_key: element-to-hashable converter function If :obj:`make_key` is left unspecified, an identity function is used (which means that the queue can only hold hashable objects). ''' # children: (2 * i + 1), (2 * i + 2) # parent: (i - 1) / 2 self._heap = [] self._keys = {} if make_key is not None: self._make_key = make_key else: self._make_key = lambda x: x #------------------------------------------------------- # dict-like operations {{{ def __len__(self): ''' :return: queue length Return length of the queue. ''' return len(self._heap) def __contains__(self, entry): ''' :param entry: entry to check :return: ``True`` if :obj:`entry` is in queue, ``False`` otherwise Check whether the queue contains an entry. ''' return (self._make_key(entry) in self._keys) def __setitem__(self, entry, priority): ''' :param entry: entry to add/update :param priority: entry's priority Set priority for an entry, either by adding a new or updating an existing one. ''' self.set(entry, priority) def __getitem__(self, entry): ''' :param entry: entry to get priority of :return: priority :throws: :exc:`KeyError` if entry is not in the queue Get priority of an entry. ''' key = self._make_key(entry) return self._keys[key].prio # NOTE: allow the KeyError to propagate def __delitem__(self, entry): ''' :param entry: entry to remove Remove an entry from the queue. ''' self.remove(entry) # }}} #------------------------------------------------------- # main operations {{{ def __iter__(self): ''' :return: iterator Iterate over the entries in the queue. Order of the entries is unspecified. ''' for element in self._heap: yield element.entry def iterentries(self): ''' :return: iterator Iterate over the entries in the queue. Order of the entries is unspecified. ''' for element in self._heap: yield element.entry def entries(self): ''' :return: list of entries Retrieve list of entries stored in the queue. Order of the entries is unspecified. ''' return [e.entry for e in self._heap] def length(self): ''' :return: queue length Return length of the queue. ''' return len(self._heap) def set(self, entry, priority): ''' :param entry: entry to add/update :param priority: entry's priority Set priority for an entry, either by adding a new or updating an existing one. ''' key = self._make_key(entry) if key not in self._keys: element = PrioQueue._Element(priority, entry, len(self._heap), key) self._keys[key] = element self._heap.append(element) else: element = self._keys[key] element.prio = priority self._heapify(element.pos) def pop(self): ''' :return: tuple ``(priority, entry)`` :throws: :exc:`IndexError` when the queue is empty Return the entry with lowest priority value. The entry is immediately removed from the queue. ''' if len(self._heap) == 0: raise IndexError("queue is empty") element = self._heap[0] del self._keys[element.key] if len(self._heap) > 1: self._heap[0] = self._heap.pop() self._heap[0].pos = 0 self._heapify_downwards(0) else: # this was the last element in the queue self._heap.pop() return (element.prio, element.entry) def peek(self): ''' :return: tuple ``(priority, entry)`` :throws: :exc:`IndexError` when the queue is empty Return the entry with lowest priority value. The entry is not removed from the queue. ''' if len(self._heap) == 0: raise IndexError("queue is empty") return (self._heap[0].prio, self._heap[0].entry) def remove(self, entry): ''' :return: priority of :obj:`entry` or ``None`` when :obj:`entry` was not found Remove an arbitrary entry from the queue. ''' key = self._make_key(entry) if key not in self._keys: return None element = self._keys.pop(key) if element.pos < len(self._heap) - 1: # somewhere in the middle of the queue self._heap[element.pos] = self._heap.pop() self._heap[element.pos].pos = element.pos self._heapify(element.pos) else: # this was the last element in the queue self._heap.pop() return element.prio def update(self, entry, priority): ''' :param entry: entry to update :param priority: entry's new priority :return: old priority of the entry :throws: :exc:`KeyError` if entry is not in the queue Update priority of an arbitrary entry. ''' key = self._make_key(entry) element = self._keys[key] # NOTE: allow the KeyError to propagate old_priority = element.prio element.prio = priority self._heapify(element.pos) return old_priority # }}} #------------------------------------------------------- # maintain heap property {{{ def _heapify(self, i): if i > 0 and self._heap[i] < self._heap[(i - 1) / 2]: self._heapify_upwards(i) else: self._heapify_downwards(i) def _heapify_upwards(self, i): p = (i - 1) / 2 # parent index while p >= 0 and self._heap[i] < self._heap[p]: # swap element and its parent (self._heap[i], self._heap[p]) = (self._heap[p], self._heap[i]) # update positions of the elements self._heap[i].pos = i self._heap[p].pos = p # now check if the parent node satisfies heap property i = p p = (i - 1) / 2 def _heapify_downwards(self, i): c = 2 * i + 1 # children: (2 * i + 1), (2 * i + 2) while c < len(self._heap): # select the smaller child (if the other child exists) if c + 1 < len(self._heap) and self._heap[c + 1] < self._heap[c]: c += 1 if self._heap[i] < self._heap[c]: # heap property satisfied, nothing left to do return # swap element and its smaller child (self._heap[i], self._heap[c]) = (self._heap[c], self._heap[i]) # update positions of the elements self._heap[i].pos = i self._heap[c].pos = c # now check if the smaller child satisfies heap property i = c c = 2 * i + 1 # }}} #------------------------------------------------------- #----------------------------------------------------------------------------- # vim:ft=python:foldmethod=marker
""" Priority queue with random access updates ----------------------------------------- .. autoclass:: PrioQueue :members: :special-members: """ class Prioqueue: """ Priority queue that supports updating priority of arbitrary elements and removing arbitrary elements. Entry with lowest priority value is returned first. Mutation operations (:meth:`set()`, :meth:`pop()`, :meth:`remove()`, and :meth:`update()`) have complexity of ``O(log(n))``. Read operations (:meth:`length()` and :meth:`peek()`) have complexity of ``O(1)``. """ class _Element: def __init__(self, prio, entry, pos, key): self.prio = prio self.entry = entry self.pos = pos self.key = key def __cmp__(self, other): return cmp(self.prio, other.prio) or cmp(id(self.entry), id(other.entry)) def __init__(self, make_key=None): """ :param make_key: element-to-hashable converter function If :obj:`make_key` is left unspecified, an identity function is used (which means that the queue can only hold hashable objects). """ self._heap = [] self._keys = {} if make_key is not None: self._make_key = make_key else: self._make_key = lambda x: x def __len__(self): """ :return: queue length Return length of the queue. """ return len(self._heap) def __contains__(self, entry): """ :param entry: entry to check :return: ``True`` if :obj:`entry` is in queue, ``False`` otherwise Check whether the queue contains an entry. """ return self._make_key(entry) in self._keys def __setitem__(self, entry, priority): """ :param entry: entry to add/update :param priority: entry's priority Set priority for an entry, either by adding a new or updating an existing one. """ self.set(entry, priority) def __getitem__(self, entry): """ :param entry: entry to get priority of :return: priority :throws: :exc:`KeyError` if entry is not in the queue Get priority of an entry. """ key = self._make_key(entry) return self._keys[key].prio def __delitem__(self, entry): """ :param entry: entry to remove Remove an entry from the queue. """ self.remove(entry) def __iter__(self): """ :return: iterator Iterate over the entries in the queue. Order of the entries is unspecified. """ for element in self._heap: yield element.entry def iterentries(self): """ :return: iterator Iterate over the entries in the queue. Order of the entries is unspecified. """ for element in self._heap: yield element.entry def entries(self): """ :return: list of entries Retrieve list of entries stored in the queue. Order of the entries is unspecified. """ return [e.entry for e in self._heap] def length(self): """ :return: queue length Return length of the queue. """ return len(self._heap) def set(self, entry, priority): """ :param entry: entry to add/update :param priority: entry's priority Set priority for an entry, either by adding a new or updating an existing one. """ key = self._make_key(entry) if key not in self._keys: element = PrioQueue._Element(priority, entry, len(self._heap), key) self._keys[key] = element self._heap.append(element) else: element = self._keys[key] element.prio = priority self._heapify(element.pos) def pop(self): """ :return: tuple ``(priority, entry)`` :throws: :exc:`IndexError` when the queue is empty Return the entry with lowest priority value. The entry is immediately removed from the queue. """ if len(self._heap) == 0: raise index_error('queue is empty') element = self._heap[0] del self._keys[element.key] if len(self._heap) > 1: self._heap[0] = self._heap.pop() self._heap[0].pos = 0 self._heapify_downwards(0) else: self._heap.pop() return (element.prio, element.entry) def peek(self): """ :return: tuple ``(priority, entry)`` :throws: :exc:`IndexError` when the queue is empty Return the entry with lowest priority value. The entry is not removed from the queue. """ if len(self._heap) == 0: raise index_error('queue is empty') return (self._heap[0].prio, self._heap[0].entry) def remove(self, entry): """ :return: priority of :obj:`entry` or ``None`` when :obj:`entry` was not found Remove an arbitrary entry from the queue. """ key = self._make_key(entry) if key not in self._keys: return None element = self._keys.pop(key) if element.pos < len(self._heap) - 1: self._heap[element.pos] = self._heap.pop() self._heap[element.pos].pos = element.pos self._heapify(element.pos) else: self._heap.pop() return element.prio def update(self, entry, priority): """ :param entry: entry to update :param priority: entry's new priority :return: old priority of the entry :throws: :exc:`KeyError` if entry is not in the queue Update priority of an arbitrary entry. """ key = self._make_key(entry) element = self._keys[key] old_priority = element.prio element.prio = priority self._heapify(element.pos) return old_priority def _heapify(self, i): if i > 0 and self._heap[i] < self._heap[(i - 1) / 2]: self._heapify_upwards(i) else: self._heapify_downwards(i) def _heapify_upwards(self, i): p = (i - 1) / 2 while p >= 0 and self._heap[i] < self._heap[p]: (self._heap[i], self._heap[p]) = (self._heap[p], self._heap[i]) self._heap[i].pos = i self._heap[p].pos = p i = p p = (i - 1) / 2 def _heapify_downwards(self, i): c = 2 * i + 1 while c < len(self._heap): if c + 1 < len(self._heap) and self._heap[c + 1] < self._heap[c]: c += 1 if self._heap[i] < self._heap[c]: return (self._heap[i], self._heap[c]) = (self._heap[c], self._heap[i]) self._heap[i].pos = i self._heap[c].pos = c i = c c = 2 * i + 1
SETTINGS_TMPL = '''import os from glueplate import Glue as _ settings = _( blog = _( title = '{blog_title}', base_url = '{base_url}', language = '{language}', ), dir = _( output = os.path.abspath(os.path.join('..', 'out')) ), GLUE_PLATE_PLUS_BEFORE_template_dirs = [os.path.abspath(os.path.join('.', 'templates')),], multiprocess = {multicore}, ) ''' ABOUT_TMPL = '''About {blog_title} ========================================================= :slug: about :date: {year}-{month:02d}-{day:02d} {hour:02d}:{minute:02d} ''' QUESTIONS = [ { 'type': 'input', 'name': 'blog_title', 'message': 'What\'s your blog title', }, { 'type': 'input', 'name': 'base_url', 'message': 'input your blog base url. like https://www.tsuyukimakoto.com', }, { 'type': 'input', 'name': 'language', 'message': 'input your blog language like ja', }, ] BIISAN_DATA_DIR = 'biisan_data'
settings_tmpl = "import os\nfrom glueplate import Glue as _\n\nsettings = _(\n blog = _(\n title = '{blog_title}',\n base_url = '{base_url}',\n language = '{language}',\n ),\n dir = _(\n output = os.path.abspath(os.path.join('..', 'out'))\n ),\n GLUE_PLATE_PLUS_BEFORE_template_dirs = [os.path.abspath(os.path.join('.', 'templates')),],\n multiprocess = {multicore},\n)\n" about_tmpl = 'About {blog_title}\n=========================================================\n\n:slug: about\n:date: {year}-{month:02d}-{day:02d} {hour:02d}:{minute:02d}\n\n' questions = [{'type': 'input', 'name': 'blog_title', 'message': "What's your blog title"}, {'type': 'input', 'name': 'base_url', 'message': 'input your blog base url. like https://www.tsuyukimakoto.com'}, {'type': 'input', 'name': 'language', 'message': 'input your blog language like ja'}] biisan_data_dir = 'biisan_data'
# code to find if given string # is K-Palindrome or not """ Explanation Process all characters one by one staring from either from left or right sides of both strings. Let us traverse from the right corner, there are two possibilities for every pair of character being traversed. If last characters of two strings are same, we ignore last characters and get count for remaining strings. So we recur for lengths m-1 and n-1 where m is length of str1 and n is length of str2. If last characters are not same, we consider remove operation on last character of first string and last character of second string, recursively compute minimum cost for the operations and take minimum of two values. Remove last char from str1: Recur for m-1 and n. Remove last char from str2: Recur for m and n-1. """ # Find if given string # is K-Palindrome or not def isKPalRec(str1, str2, m, n): # If first string is empty, # the only option is to remove # all characters of second string if not m: return n # If second string is empty, # the only option is to remove # all characters of first string if not n: return m # If last characters of two strings # are same, ignore last characters # and get count for remaining strings. if str1[m-1] == str2[n-1]: return isKPalRec(str1, str2, m-1, n-1) # If last characters are not same, # 1. Remove last char from str1 and recur for m-1 and n # 2. Remove last char from str2 and recur for m and n-1 # Take minimum of above two operations res = 1 + min(isKPalRec(str1, str2, m-1, n), # Remove from str1 (isKPalRec(str1, str2, m, n-1))) # Remove from str2 return res # Returns true if str is k palindrome. def isKPal(string, k): revStr = string[::-1] l = len(string) return (isKPalRec(string, revStr, l, l) <= k * 2) # Driver program string = "acdcb" k = 2 print("Yes" if isKPal(string, k) else "No")
""" Explanation Process all characters one by one staring from either from left or right sides of both strings. Let us traverse from the right corner, there are two possibilities for every pair of character being traversed. If last characters of two strings are same, we ignore last characters and get count for remaining strings. So we recur for lengths m-1 and n-1 where m is length of str1 and n is length of str2. If last characters are not same, we consider remove operation on last character of first string and last character of second string, recursively compute minimum cost for the operations and take minimum of two values. Remove last char from str1: Recur for m-1 and n. Remove last char from str2: Recur for m and n-1. """ def is_k_pal_rec(str1, str2, m, n): if not m: return n if not n: return m if str1[m - 1] == str2[n - 1]: return is_k_pal_rec(str1, str2, m - 1, n - 1) res = 1 + min(is_k_pal_rec(str1, str2, m - 1, n), is_k_pal_rec(str1, str2, m, n - 1)) return res def is_k_pal(string, k): rev_str = string[::-1] l = len(string) return is_k_pal_rec(string, revStr, l, l) <= k * 2 string = 'acdcb' k = 2 print('Yes' if is_k_pal(string, k) else 'No')
class Dog: kind = 'canine' tricks = [] #mistaken use def __init__(self, name): self.name = name self.tricksInstance = [] def add_trick(self, trick): self.tricks.append(trick) def add_trick_instance(self, trick): self.tricksInstance.append(trick) d = Dog('Fido') e = Dog('Buddy') print(d.kind, d.name) print(e.kind, e.name) d.add_trick('roll over') e.add_trick('play dead') print(d.tricks) d.add_trick_instance('roll over') e.add_trick_instance('play dead') print(d.tricksInstance) print(e.tricksInstance)
class Dog: kind = 'canine' tricks = [] def __init__(self, name): self.name = name self.tricksInstance = [] def add_trick(self, trick): self.tricks.append(trick) def add_trick_instance(self, trick): self.tricksInstance.append(trick) d = dog('Fido') e = dog('Buddy') print(d.kind, d.name) print(e.kind, e.name) d.add_trick('roll over') e.add_trick('play dead') print(d.tricks) d.add_trick_instance('roll over') e.add_trick_instance('play dead') print(d.tricksInstance) print(e.tricksInstance)
#!/usr/bin/env python3 #----------------------------------------------------------------------------------------------------------------------# # # # Tuplex: Blazing Fast Python Data Science # # # # # # (c) 2017 - 2021, Tuplex team # # Created by Leonhard Spiegelberg first on 8/3/2021 # # License: Apache 2.0 # #----------------------------------------------------------------------------------------------------------------------# # this file contains Framework specific exceptions class TuplexException(Exception): """Base Exception class on which all Tuplex Framework specific exceptions are based""" pass class UDFCodeExtractionError(TuplexException): """thrown when UDF code extraction/reflection failed""" pass
class Tuplexexception(Exception): """Base Exception class on which all Tuplex Framework specific exceptions are based""" pass class Udfcodeextractionerror(TuplexException): """thrown when UDF code extraction/reflection failed""" pass
# The following is the homework 4 for course MIS3500 # This assignment is Home Work 4 def file_read(): add = 0 # variable for adding total counter = 0 # counter to understand how many counts are there prices = [] buy = 0 iterative_profit = 0 total_profit = 0 first_buy = 0 file = open("AAPL.txt", "r") lines = file.readlines() # This line reads the lines in the file for line in lines: price = float(line) prices.append(price) add += price counter += 1 # Getting back to Moving Average i = 0 for price in prices: if i >= 5: current_price = price moving_average = (prices[i-1] + prices[i-2] + prices[i-3] + prices[i-4] + prices[i-5]) / 5 # print("The Moving Average for last 5 days is", moving_average) if (current_price < 0.95*moving_average) and buy == 0: buy = current_price print("Buying the Stock",buy) if first_buy == 0: first_buy = buy print("The first buy is at: ", first_buy) elif (current_price > 1.05*moving_average) and buy!=0: print("Selling stock at: ", current_price) iterative_profit = current_price - buy buy = 0 print("This trade Profit is: ", iterative_profit) total_profit += iterative_profit print("") i += 1 # Iteration changes the loop process # Now processing the profits print("-----------------------We will see the total profits earned from the first buy----------------------") final_profit_percent = (total_profit/first_buy) * 100 print("") print("The total profit percentage is: ", final_profit_percent) print("") # Unrelated but was in the class video so added total_avg = add/counter print("Total Average for price for the whole list is: ", total_avg) # The main function goes here file_read()
def file_read(): add = 0 counter = 0 prices = [] buy = 0 iterative_profit = 0 total_profit = 0 first_buy = 0 file = open('AAPL.txt', 'r') lines = file.readlines() for line in lines: price = float(line) prices.append(price) add += price counter += 1 i = 0 for price in prices: if i >= 5: current_price = price moving_average = (prices[i - 1] + prices[i - 2] + prices[i - 3] + prices[i - 4] + prices[i - 5]) / 5 if current_price < 0.95 * moving_average and buy == 0: buy = current_price print('Buying the Stock', buy) if first_buy == 0: first_buy = buy print('The first buy is at: ', first_buy) elif current_price > 1.05 * moving_average and buy != 0: print('Selling stock at: ', current_price) iterative_profit = current_price - buy buy = 0 print('This trade Profit is: ', iterative_profit) total_profit += iterative_profit print('') i += 1 print('-----------------------We will see the total profits earned from the first buy----------------------') final_profit_percent = total_profit / first_buy * 100 print('') print('The total profit percentage is: ', final_profit_percent) print('') total_avg = add / counter print('Total Average for price for the whole list is: ', total_avg) file_read()
# -*- coding: utf-8 -*- # @Time : 2021-07-31 19:34 # @Author : Ze Yi Sun # @Site : BUAA # @File : question.py # @Software: PyCharm class Question(object): def __init__(self, statement: str): self.statement = statement def show(self): return "None" def check_correctness(self, answer: str) -> bool: return True class ChoiceQuestion(Question): def __init__(self, statement: str, correct_answer: set): super().__init__(statement) self.correct_answer = correct_answer def show(self): return self.statement def check_correctness(self, answer: set) -> bool: if answer == self.correct_answer: return True else: return False def answer(self): return self.correct_answer class JudgmentQuestion(Question): def __init__(self, statement: str, correct_answer: str): super().__init__(statement) self.correct_answer = correct_answer def show(self): return self.statement def check_correctness(self, answer: str) -> bool: if answer == self.correct_answer: return True else: return False def answer(self): if self.correct_answer == "n": return "False" else: return "True" class ShortAnswerQuestion(Question): def __init__(self, statement: str, standard_answer: str): super().__init__(statement) self.correct_answer = standard_answer def show(self): return self.statement def check_correctness(self, answer: str) -> bool: if answer == self.correct_answer: return True else: return False def answer(self): return self.correct_answer
class Question(object): def __init__(self, statement: str): self.statement = statement def show(self): return 'None' def check_correctness(self, answer: str) -> bool: return True class Choicequestion(Question): def __init__(self, statement: str, correct_answer: set): super().__init__(statement) self.correct_answer = correct_answer def show(self): return self.statement def check_correctness(self, answer: set) -> bool: if answer == self.correct_answer: return True else: return False def answer(self): return self.correct_answer class Judgmentquestion(Question): def __init__(self, statement: str, correct_answer: str): super().__init__(statement) self.correct_answer = correct_answer def show(self): return self.statement def check_correctness(self, answer: str) -> bool: if answer == self.correct_answer: return True else: return False def answer(self): if self.correct_answer == 'n': return 'False' else: return 'True' class Shortanswerquestion(Question): def __init__(self, statement: str, standard_answer: str): super().__init__(statement) self.correct_answer = standard_answer def show(self): return self.statement def check_correctness(self, answer: str) -> bool: if answer == self.correct_answer: return True else: return False def answer(self): return self.correct_answer
class Solution(object): def validMountainArray(self, arr): """ :type arr: List[int] :rtype: bool """ i=0 j=len(arr)-1 while i<j and (arr[i] < arr[i+1]): i+=1 while j>0 and (arr[j-1] > arr[j]): j-=1 return i > 0 and j < len(arr)-1 and i==j
class Solution(object): def valid_mountain_array(self, arr): """ :type arr: List[int] :rtype: bool """ i = 0 j = len(arr) - 1 while i < j and arr[i] < arr[i + 1]: i += 1 while j > 0 and arr[j - 1] > arr[j]: j -= 1 return i > 0 and j < len(arr) - 1 and (i == j)
"""Top-level package for BakpdlBot.""" __author__ = """Mick Boekhoff""" __email__ = 'mickboekhoff@hotmail.com' __version__ = '0.1.0'
"""Top-level package for BakpdlBot.""" __author__ = 'Mick Boekhoff' __email__ = 'mickboekhoff@hotmail.com' __version__ = '0.1.0'
class Solution: def countSubstrings(self, s: str) -> int: p = len(s) dp = [[i,i+1] for i in range(len(s))] for i in range(1, len(s)): for j in dp[i-1]: if j-1 >= 0 and s[j-1] == s[i]: p += 1 dp[i].append(j-1) return p
class Solution: def count_substrings(self, s: str) -> int: p = len(s) dp = [[i, i + 1] for i in range(len(s))] for i in range(1, len(s)): for j in dp[i - 1]: if j - 1 >= 0 and s[j - 1] == s[i]: p += 1 dp[i].append(j - 1) return p
''' Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. ''' class Solution: def minPathSum(self, grid: List[List[int]]) -> int: # row = len(grid) col = len(grid[0]) #print(row,col) temp = [[0 for i in range(col)] for j in range(row)] #print(temp) temp[0][0] = grid[0][0] for j in range(1,col): temp[0][j] = grid[0][j] + temp[0][j-1] for i in range(1,row): temp[i][0] = grid[i][0] + temp[i-1][0] for i in range(1,row): for j in range(1,col): temp[i][j] = min(temp[i-1][j],temp[i][j-1]) + grid[i][j] return(temp[row-1][col-1])
""" Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right, which minimizes the sum of all numbers along its path. Note: You can only move either down or right at any point in time. """ class Solution: def min_path_sum(self, grid: List[List[int]]) -> int: row = len(grid) col = len(grid[0]) temp = [[0 for i in range(col)] for j in range(row)] temp[0][0] = grid[0][0] for j in range(1, col): temp[0][j] = grid[0][j] + temp[0][j - 1] for i in range(1, row): temp[i][0] = grid[i][0] + temp[i - 1][0] for i in range(1, row): for j in range(1, col): temp[i][j] = min(temp[i - 1][j], temp[i][j - 1]) + grid[i][j] return temp[row - 1][col - 1]
artifacts = { "io_bazel_rules_scala_scala_library": { "artifact": "org.scala-lang:scala-library:2.11.12", "sha256": "0b3d6fd42958ee98715ba2ec5fe221f4ca1e694d7c981b0ae0cd68e97baf6dce", }, "io_bazel_rules_scala_scala_compiler": { "artifact": "org.scala-lang:scala-compiler:2.11.12", "sha256": "3e892546b72ab547cb77de4d840bcfd05c853e73390fed7370a8f19acb0735a0", }, "io_bazel_rules_scala_scala_reflect": { "artifact": "org.scala-lang:scala-reflect:2.11.12", "sha256": "6ba385b450a6311a15c918cf8688b9af9327c6104f0ecbd35933cfcd3095fe04", }, "io_bazel_rules_scala_scalatest": { "artifact": "org.scalatest:scalatest_2.11:3.2.9", "sha256": "45affb34dd5b567fa943a7e155118ae6ab6c4db2fd34ca6a6c62ea129a1675be", }, "io_bazel_rules_scala_scalatest_compatible": { "artifact": "org.scalatest:scalatest-compatible:jar:3.2.9", "sha256": "7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb", }, "io_bazel_rules_scala_scalatest_core": { "artifact": "org.scalatest:scalatest-core_2.11:3.2.9", "sha256": "003cb40f78cbbffaf38203b09c776d06593974edf1883a933c1bbc0293a2f280", }, "io_bazel_rules_scala_scalatest_featurespec": { "artifact": "org.scalatest:scalatest-featurespec_2.11:3.2.9", "sha256": "41567216bbd338625e77cd74ca669c88f59ff2da8adeb362657671bb43c4e462", }, "io_bazel_rules_scala_scalatest_flatspec": { "artifact": "org.scalatest:scalatest-flatspec_2.11:3.2.9", "sha256": "3e89091214985782ff912559b7eb1ce085f6117db8cff65663e97325dc264b91", }, "io_bazel_rules_scala_scalatest_freespec": { "artifact": "org.scalatest:scalatest-freespec_2.11:3.2.9", "sha256": "7c3e26ac0fa165263e4dac5dd303518660f581f0f8b0c20ba0b8b4a833ac9b9e", }, "io_bazel_rules_scala_scalatest_funsuite": { "artifact": "org.scalatest:scalatest-funsuite_2.11:3.2.9", "sha256": "dc2100fe45b577c464f01933d8e605c3364dbac9ba24cd65222a5a4f3000717c", }, "io_bazel_rules_scala_scalatest_funspec": { "artifact": "org.scalatest:scalatest-funspec_2.11:3.2.9", "sha256": "6ed2de364aacafcb3390144501ed4e0d24b7ff1431e8b9e6503d3af4bc160196", }, "io_bazel_rules_scala_scalatest_matchers_core": { "artifact": "org.scalatest:scalatest-matchers-core_2.11:3.2.9", "sha256": "06eb7b5f3a8e8124c3a92e5c597a75ccdfa3fae022bc037770327d8e9c0759b4", }, "io_bazel_rules_scala_scalatest_shouldmatchers": { "artifact": "org.scalatest:scalatest-shouldmatchers_2.11:3.2.9", "sha256": "444545c33a3af8d7a5166ea4766f376a5f2c209854c7eb630786c8cb3f48a706", }, "io_bazel_rules_scala_scalatest_mustmatchers": { "artifact": "org.scalatest:scalatest-mustmatchers_2.11:3.2.9", "sha256": "b0ba6b9db7a2d1a4f7a3cf45b034b65481e31da8748abc2f2750cf22619d5a45", }, "io_bazel_rules_scala_scalactic": { "artifact": "org.scalactic:scalactic_2.11:3.2.9", "sha256": "97b439fe61d1c655a8b29cdab8182b15b41b2308923786a348fc7b9f8f72b660", }, "io_bazel_rules_scala_scala_xml": { "artifact": "org.scala-lang.modules:scala-xml_2.11:1.2.0", "sha256": "eaddac168ef1e28978af768706490fa4358323a08964c25fa1027c52238e3702", }, "io_bazel_rules_scala_scala_parser_combinators": { "artifact": "org.scala-lang.modules:scala-parser-combinators_2.11:1.1.2", "sha256": "3e0889e95f5324da6420461f7147cb508241ed957ac5cfedc25eef19c5448f26", }, "org_scalameta_common": { "artifact": "org.scalameta:common_2.11:4.3.0", "sha256": "6330798bcbd78d14d371202749f32efda0465c3be5fd057a6055a67e21335ba0", "deps": [ "@com_lihaoyi_sourcecode", "@io_bazel_rules_scala_scala_library", ], }, "org_scalameta_fastparse": { "artifact": "org.scalameta:fastparse_2.11:1.0.1", "sha256": "49ecc30a4b47efc0038099da0c97515cf8f754ea631ea9f9935b36ca7d41b733", "deps": [ "@com_lihaoyi_sourcecode", "@io_bazel_rules_scala_scala_library", "@org_scalameta_fastparse_utils", ], }, "org_scalameta_fastparse_utils": { "artifact": "org.scalameta:fastparse-utils_2.11:1.0.1", "sha256": "93f58db540e53178a686621f7a9c401307a529b68e051e38804394a2a86cea94", "deps": [ "@com_lihaoyi_sourcecode", "@io_bazel_rules_scala_scala_library", ], }, "org_scala_lang_modules_scala_collection_compat": { "artifact": "org.scala-lang.modules:scala-collection-compat_2.11:2.1.2", "sha256": "e9667b8b7276aeb42599f536fe4d7caab06eabc55e9995572267ad60c7a11c8b", "deps": [ "@io_bazel_rules_scala_scala_library", ], }, "org_scalameta_parsers": { "artifact": "org.scalameta:parsers_2.11:4.3.0", "sha256": "724382abfac27b32dec6c21210562bc7e1b09b5268ccb704abe66dcc8844beeb", "deps": [ "@io_bazel_rules_scala_scala_library", "@org_scalameta_trees", ], }, "org_scalameta_scalafmt_core": { "artifact": "org.scalameta:scalafmt-core_2.11:2.3.2", "sha256": "6bf391e0e1d7369fda83ddaf7be4d267bf4cbccdf2cc31ff941999a78c30e67f", "deps": [ "@com_geirsson_metaconfig_core", "@com_geirsson_metaconfig_typesafe_config", "@io_bazel_rules_scala_scala_library", "@io_bazel_rules_scala_scala_reflect", "@org_scalameta_scalameta", "@org_scala_lang_modules_scala_collection_compat", ], }, "org_scalameta_scalameta": { "artifact": "org.scalameta:scalameta_2.11:4.3.0", "sha256": "94fe739295447cd3ae877c279ccde1def06baea02d9c76a504dda23de1d90516", "deps": [ "@io_bazel_rules_scala_scala_library", "@org_scala_lang_scalap", "@org_scalameta_parsers", ], }, "org_scalameta_trees": { "artifact": "org.scalameta:trees_2.11:4.3.0", "sha256": "d24d5d63d8deafe646d455c822593a66adc6fdf17c8373754a3834a6e92a8a72", "deps": [ "@com_thesamet_scalapb_scalapb_runtime", "@io_bazel_rules_scala_scala_library", "@org_scalameta_common", "@org_scalameta_fastparse", ], }, "org_typelevel_paiges_core": { "artifact": "org.typelevel:paiges-core_2.11:0.2.4", "sha256": "aa66fbe0457ca5cb5b9e522d4cb873623bb376a2e1ff58c464b5194c1d87c241", "deps": [ "@io_bazel_rules_scala_scala_library", ], }, "com_typesafe_config": { "artifact": "com.typesafe:config:1.3.3", "sha256": "b5f1d6071f1548d05be82f59f9039c7d37a1787bd8e3c677e31ee275af4a4621", }, "org_scala_lang_scalap": { "artifact": "org.scala-lang:scalap:2.11.12", "sha256": "a6dd7203ce4af9d6185023d5dba9993eb8e80584ff4b1f6dec574a2aba4cd2b7", "deps": [ "@io_bazel_rules_scala_scala_compiler", ], }, "com_thesamet_scalapb_lenses": { "artifact": "com.thesamet.scalapb:lenses_2.11:0.9.0", "sha256": "f4809760edee6abc97a7fe9b7fd6ae5fe1006795b1dc3963ab4e317a72f1a385", "deps": [ "@io_bazel_rules_scala_scala_library", ], }, "com_thesamet_scalapb_scalapb_runtime": { "artifact": "com.thesamet.scalapb:scalapb-runtime_2.11:0.9.0", "sha256": "ab1e449a18a9ce411eb3fec31bdbca5dd5fae4475b1557bb5e235a7b54738757", "deps": [ "@com_google_protobuf_protobuf_java", "@com_lihaoyi_fastparse", "@com_thesamet_scalapb_lenses", "@io_bazel_rules_scala_scala_library", ], }, "com_lihaoyi_fansi": { "artifact": "com.lihaoyi:fansi_2.11:0.2.5", "sha256": "1ff0a8304f322c1442e6bcf28fab07abf3cf560dd24573dbe671249aee5fc488", "deps": [ "@com_lihaoyi_sourcecode", "@io_bazel_rules_scala_scala_library", ], }, "com_lihaoyi_fastparse": { "artifact": "com.lihaoyi:fastparse_2.11:2.1.2", "sha256": "5c5d81f90ada03ac5b21b161864a52558133951031ee5f6bf4d979e8baa03628", "deps": [ "@com_lihaoyi_sourcecode", ], }, "com_lihaoyi_pprint": { "artifact": "com.lihaoyi:pprint_2.11:0.5.3", "sha256": "fb5e4921e7dff734d049e752a482d3a031380d3eea5caa76c991312dee9e6991", "deps": [ "@com_lihaoyi_fansi", "@com_lihaoyi_sourcecode", "@io_bazel_rules_scala_scala_library", ], }, "com_lihaoyi_sourcecode": { "artifact": "com.lihaoyi:sourcecode_2.11:0.1.7", "sha256": "33516d7fd9411f74f05acfd5274e1b1889b7841d1993736118803fc727b2d5fc", "deps": [ "@io_bazel_rules_scala_scala_library", ], }, "com_google_protobuf_protobuf_java": { "artifact": "com.google.protobuf:protobuf-java:3.10.0", "sha256": "161d7d61a8cb3970891c299578702fd079646e032329d6c2cabf998d191437c9", }, "com_geirsson_metaconfig_core": { "artifact": "com.geirsson:metaconfig-core_2.11:0.9.4", "sha256": "5d5704a1f1c4f74aed26248eeb9b577274d570b167cec0bf51d2908609c29118", "deps": [ "@com_lihaoyi_pprint", "@io_bazel_rules_scala_scala_library", "@org_typelevel_paiges_core", "@org_scala_lang_modules_scala_collection_compat", ], }, "com_geirsson_metaconfig_typesafe_config": { "artifact": "com.geirsson:metaconfig-typesafe-config_2.11:0.9.4", "sha256": "52d2913640f4592402aeb2f0cec5004893d02acf26df4aa1cf8d4dcb0d2b21c7", "deps": [ "@com_geirsson_metaconfig_core", "@com_typesafe_config", "@io_bazel_rules_scala_scala_library", "@org_scala_lang_modules_scala_collection_compat", ], }, "io_bazel_rules_scala_org_openjdk_jmh_jmh_core": { "artifact": "org.openjdk.jmh:jmh-core:1.20", "sha256": "1688db5110ea6413bf63662113ed38084106ab1149e020c58c5ac22b91b842ca", }, "io_bazel_rules_scala_org_openjdk_jmh_jmh_generator_asm": { "artifact": "org.openjdk.jmh:jmh-generator-asm:1.20", "sha256": "2dd4798b0c9120326310cda3864cc2e0035b8476346713d54a28d1adab1414a5", }, "io_bazel_rules_scala_org_openjdk_jmh_jmh_generator_reflection": { "artifact": "org.openjdk.jmh:jmh-generator-reflection:1.20", "sha256": "57706f7c8278272594a9afc42753aaf9ba0ba05980bae0673b8195908d21204e", }, "io_bazel_rules_scala_org_ows2_asm_asm": { "artifact": "org.ow2.asm:asm:6.1.1", "sha256": "dd3b546415dd4bade2ebe3b47c7828ab0623ee2336604068e2d81023f9f8d833", }, "io_bazel_rules_scala_net_sf_jopt_simple_jopt_simple": { "artifact": "net.sf.jopt-simple:jopt-simple:4.6", "sha256": "3fcfbe3203c2ea521bf7640484fd35d6303186ea2e08e72f032d640ca067ffda", }, "io_bazel_rules_scala_org_apache_commons_commons_math3": { "artifact": "org.apache.commons:commons-math3:3.6.1", "sha256": "1e56d7b058d28b65abd256b8458e3885b674c1d588fa43cd7d1cbb9c7ef2b308", }, "io_bazel_rules_scala_junit_junit": { "artifact": "junit:junit:4.12", "sha256": "59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a", }, "io_bazel_rules_scala_org_hamcrest_hamcrest_core": { "artifact": "org.hamcrest:hamcrest-core:1.3", "sha256": "66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9", }, "io_bazel_rules_scala_org_specs2_specs2_common": { "artifact": "org.specs2:specs2-common_2.11:4.4.1", "sha256": "52d7c0da58725606e98c6e8c81d2efe632053520a25da9140116d04a4abf9d2c", "deps": [ "@io_bazel_rules_scala_org_specs2_specs2_fp", ], }, "io_bazel_rules_scala_org_specs2_specs2_core": { "artifact": "org.specs2:specs2-core_2.11:4.4.1", "sha256": "8e95cb7e347e7a87e7a80466cbd88419ece1aaacb35c32e8bd7d299a623b31b9", "deps": [ "@io_bazel_rules_scala_org_specs2_specs2_common", "@io_bazel_rules_scala_org_specs2_specs2_matcher", ], }, "io_bazel_rules_scala_org_specs2_specs2_fp": { "artifact": "org.specs2:specs2-fp_2.11:4.4.1", "sha256": "e43006fdd0726ffcd1e04c6c4d795176f5f765cc787cc09baebe1fcb009e4462", }, "io_bazel_rules_scala_org_specs2_specs2_matcher": { "artifact": "org.specs2:specs2-matcher_2.11:4.4.1", "sha256": "448e5ab89d4d650d23030fdbee66a010a07dcac5e4c3e73ef5fe39ca1aace1cd", "deps": [ "@io_bazel_rules_scala_org_specs2_specs2_common", ], }, "io_bazel_rules_scala_org_specs2_specs2_junit": { "artifact": "org.specs2:specs2-junit_2.11:4.4.1", "sha256": "a8549d52e87896624200fe35ef7b841c1c698a8fb5d97d29bf082762aea9bb72", "deps": [ "@io_bazel_rules_scala_org_specs2_specs2_core", ], }, "scala_proto_rules_scalapb_plugin": { "artifact": "com.thesamet.scalapb:compilerplugin_2.11:0.9.7", "sha256": "2d6793fa2565953ef2b5094fc37fae4933f3c42e4cb4048d54e7f358ec104a87", }, "scala_proto_rules_protoc_bridge": { "artifact": "com.thesamet.scalapb:protoc-bridge_2.11:0.7.14", "sha256": "314e34bf331b10758ff7a780560c8b5a5b09e057695a643e33ab548e3d94aa03", }, "scala_proto_rules_scalapb_runtime": { "artifact": "com.thesamet.scalapb:scalapb-runtime_2.11:0.9.7", "sha256": "5131033e9536727891a38004ec707a93af1166cb8283c7db711c2c105fbf289e", }, "scala_proto_rules_scalapb_runtime_grpc": { "artifact": "com.thesamet.scalapb:scalapb-runtime-grpc_2.11:0.9.7", "sha256": "24d19df500ce6450d8f7aa72a9bad675fa4f3650f7736d548aa714058f887e23", }, "scala_proto_rules_scalapb_lenses": { "artifact": "com.thesamet.scalapb:lenses_2.11:0.9.7", "sha256": "f8e3b526ceac998652b296014e9ab4c0ab906a40837dd1dfcf6948b6f5a1a8bf", }, "scala_proto_rules_scalapb_fastparse": { "artifact": "com.lihaoyi:fastparse_2.11:2.1.2", "sha256": "5c5d81f90ada03ac5b21b161864a52558133951031ee5f6bf4d979e8baa03628", }, "scala_proto_rules_grpc_core": { "artifact": "io.grpc:grpc-core:1.24.0", "sha256": "8fc900625a9330b1c155b5423844d21be0a5574fe218a63170a16796c6f7880e", }, "scala_proto_rules_grpc_api": { "artifact": "io.grpc:grpc-api:1.24.0", "sha256": "553978366e04ee8ddba64afde3b3cf2ac021a2f3c2db2831b6491d742b558598", }, "scala_proto_rules_grpc_stub": { "artifact": "io.grpc:grpc-stub:1.24.0", "sha256": "eaa9201896a77a0822e26621b538c7154f00441a51c9b14dc9e1ec1f2acfb815", }, "scala_proto_rules_grpc_protobuf": { "artifact": "io.grpc:grpc-protobuf:1.24.0", "sha256": "88cd0838ea32893d92cb214ea58908351854ed8de7730be07d5f7d19025dd0bc", }, "scala_proto_rules_grpc_netty": { "artifact": "io.grpc:grpc-netty:1.24.0", "sha256": "8478333706ba442a354c2ddb8832d80a5aef71016e8a9cf07e7bf6e8c298f042", }, "scala_proto_rules_grpc_context": { "artifact": "io.grpc:grpc-context:1.24.0", "sha256": "1f0546e18789f7445d1c5a157010a11bc038bbb31544cdb60d9da3848efcfeea", }, "scala_proto_rules_perfmark_api": { "artifact": "io.perfmark:perfmark-api:0.17.0", "sha256": "816c11409b8a0c6c9ce1cda14bed526e7b4da0e772da67c5b7b88eefd41520f9", }, "scala_proto_rules_guava": { "artifact": "com.google.guava:guava:26.0-android", "sha256": "1d044ebb866ef08b7d04e998b4260c9b52fab6e6d6b68d207859486bb3686cd5", }, "scala_proto_rules_google_instrumentation": { "artifact": "com.google.instrumentation:instrumentation-api:0.3.0", "sha256": "671f7147487877f606af2c7e39399c8d178c492982827305d3b1c7f5b04f1145", }, "scala_proto_rules_netty_codec": { "artifact": "io.netty:netty-codec:4.1.32.Final", "sha256": "dbd6cea7d7bf5a2604e87337cb67c9468730d599be56511ed0979aacb309f879", }, "scala_proto_rules_netty_codec_http": { "artifact": "io.netty:netty-codec-http:4.1.32.Final", "sha256": "db2c22744f6a4950d1817e4e1a26692e53052c5d54abe6cceecd7df33f4eaac3", }, "scala_proto_rules_netty_codec_socks": { "artifact": "io.netty:netty-codec-socks:4.1.32.Final", "sha256": "fe2f2e97d6c65dc280623dcfd24337d8a5c7377049c120842f2c59fb83d7408a", }, "scala_proto_rules_netty_codec_http2": { "artifact": "io.netty:netty-codec-http2:4.1.32.Final", "sha256": "4d4c6cfc1f19efb969b9b0ae6cc977462d202867f7dcfee6e9069977e623a2f5", }, "scala_proto_rules_netty_handler": { "artifact": "io.netty:netty-handler:4.1.32.Final", "sha256": "07d9756e48b5f6edc756e33e8b848fb27ff0b1ae087dab5addca6c6bf17cac2d", }, "scala_proto_rules_netty_buffer": { "artifact": "io.netty:netty-buffer:4.1.32.Final", "sha256": "8ac0e30048636bd79ae205c4f9f5d7544290abd3a7ed39d8b6d97dfe3795afc1", }, "scala_proto_rules_netty_transport": { "artifact": "io.netty:netty-transport:4.1.32.Final", "sha256": "175bae0d227d7932c0c965c983efbb3cf01f39abe934f5c4071d0319784715fb", }, "scala_proto_rules_netty_resolver": { "artifact": "io.netty:netty-resolver:4.1.32.Final", "sha256": "9b4a19982047a95ea4791a7ad7ad385c7a08c2ac75f0a3509cc213cb32a726ae", }, "scala_proto_rules_netty_common": { "artifact": "io.netty:netty-common:4.1.32.Final", "sha256": "cc993e660f8f8e3b033f1d25a9e2f70151666bdf878d460a6508cb23daa696dc", }, "scala_proto_rules_netty_handler_proxy": { "artifact": "io.netty:netty-handler-proxy:4.1.32.Final", "sha256": "10d1081ed114bb0e76ebbb5331b66a6c3189cbdefdba232733fc9ca308a6ea34", }, "scala_proto_rules_opencensus_api": { "artifact": "io.opencensus:opencensus-api:0.22.1", "sha256": "62a0503ee81856ba66e3cde65dee3132facb723a4fa5191609c84ce4cad36127", }, "scala_proto_rules_opencensus_impl": { "artifact": "io.opencensus:opencensus-impl:0.22.1", "sha256": "9e8b209da08d1f5db2b355e781b9b969b2e0dab934cc806e33f1ab3baed4f25a", }, "scala_proto_rules_disruptor": { "artifact": "com.lmax:disruptor:3.4.2", "sha256": "f412ecbb235c2460b45e63584109723dea8d94b819c78c9bfc38f50cba8546c0", }, "scala_proto_rules_opencensus_impl_core": { "artifact": "io.opencensus:opencensus-impl-core:0.22.1", "sha256": "04607d100e34bacdb38f93c571c5b7c642a1a6d873191e25d49899668514db68", }, "scala_proto_rules_opencensus_contrib_grpc_metrics": { "artifact": "io.opencensus:opencensus-contrib-grpc-metrics:0.22.1", "sha256": "3f6f4d5bd332c516282583a01a7c940702608a49ed6e62eb87ef3b1d320d144b", }, "io_bazel_rules_scala_mustache": { "artifact": "com.github.spullara.mustache.java:compiler:0.8.18", "sha256": "ddabc1ef897fd72319a761d29525fd61be57dc25d04d825f863f83cc89000e66", }, "io_bazel_rules_scala_guava": { "artifact": "com.google.guava:guava:21.0", "sha256": "972139718abc8a4893fa78cba8cf7b2c903f35c97aaf44fa3031b0669948b480", }, "libthrift": { "artifact": "org.apache.thrift:libthrift:0.10.0", "sha256": "8591718c1884ac8001b4c5ca80f349c0a6deec691de0af720c5e3bc3a581dada", }, "io_bazel_rules_scala_scrooge_core": { "artifact": "com.twitter:scrooge-core_2.11:21.2.0", "sha256": "d6cef1408e34b9989ea8bc4c567dac922db6248baffe2eeaa618a5b354edd2bb", }, "io_bazel_rules_scala_scrooge_generator": { "artifact": "com.twitter:scrooge-generator_2.11:21.2.0", "sha256": "87094f01df2c0670063ab6ebe156bb1a1bcdabeb95bc45552660b030287d6acb", "runtime_deps": [ "@io_bazel_rules_scala_guava", "@io_bazel_rules_scala_mustache", "@io_bazel_rules_scala_scopt", ], }, "io_bazel_rules_scala_util_core": { "artifact": "com.twitter:util-core_2.11:21.2.0", "sha256": "31c33d494ca5a877c1e5b5c1f569341e1d36e7b2c8b3fb0356fb2b6d4a3907ca", }, "io_bazel_rules_scala_util_logging": { "artifact": "com.twitter:util-logging_2.11:21.2.0", "sha256": "f3b62465963fbf0fe9860036e6255337996bb48a1a3f21a29503a2750d34f319", }, "io_bazel_rules_scala_javax_annotation_api": { "artifact": "javax.annotation:javax.annotation-api:1.3.2", "sha256": "e04ba5195bcd555dc95650f7cc614d151e4bcd52d29a10b8aa2197f3ab89ab9b", }, "io_bazel_rules_scala_scopt": { "artifact": "com.github.scopt:scopt_2.11:4.0.0-RC2", "sha256": "956dfc89d3208e4a6d8bbfe0205410c082cee90c4ce08be30f97c044dffc3435", }, # test only "com_twitter__scalding_date": { "testonly": True, "artifact": "com.twitter:scalding-date_2.11:0.17.0", "sha256": "bf743cd6d224a4568d6486a2b794143e23145d2afd7a1d2de412d49e45bdb308", }, "org_typelevel__cats_core": { "testonly": True, "artifact": "org.typelevel:cats-core_2.11:0.9.0", "sha256": "3fda7a27114b0d178107ace5c2cf04e91e9951810690421768e65038999ffca5", }, "com_google_guava_guava_21_0_with_file": { "testonly": True, "artifact": "com.google.guava:guava:21.0", "sha256": "972139718abc8a4893fa78cba8cf7b2c903f35c97aaf44fa3031b0669948b480", }, "com_github_jnr_jffi_native": { "testonly": True, "artifact": "com.github.jnr:jffi:jar:native:1.2.17", "sha256": "4eb582bc99d96c8df92fc6f0f608fd123d278223982555ba16219bf8be9f75a9", }, "org_apache_commons_commons_lang_3_5": { "testonly": True, "artifact": "org.apache.commons:commons-lang3:3.5", "sha256": "8ac96fc686512d777fca85e144f196cd7cfe0c0aec23127229497d1a38ff651c", }, "org_springframework_spring_core": { "testonly": True, "artifact": "org.springframework:spring-core:5.1.5.RELEASE", "sha256": "f771b605019eb9d2cf8f60c25c050233e39487ff54d74c93d687ea8de8b7285a", }, "org_springframework_spring_tx": { "testonly": True, "artifact": "org.springframework:spring-tx:5.1.5.RELEASE", "sha256": "666f72b73c7e6b34e5bb92a0d77a14cdeef491c00fcb07a1e89eb62b08500135", "deps": [ "@org_springframework_spring_core", ], }, "com_google_guava_guava_21_0": { "testonly": True, "artifact": "com.google.guava:guava:21.0", "sha256": "972139718abc8a4893fa78cba8cf7b2c903f35c97aaf44fa3031b0669948b480", "deps": [ "@org_springframework_spring_core", ], }, "org_spire_math_kind_projector": { "testonly": True, "artifact": "org.spire-math:kind-projector_2.11:0.9.10", "sha256": "897460d4488b7dd6ac9198937d6417b36cc6ec8ab3693fdf2c532652f26c4373", }, }
artifacts = {'io_bazel_rules_scala_scala_library': {'artifact': 'org.scala-lang:scala-library:2.11.12', 'sha256': '0b3d6fd42958ee98715ba2ec5fe221f4ca1e694d7c981b0ae0cd68e97baf6dce'}, 'io_bazel_rules_scala_scala_compiler': {'artifact': 'org.scala-lang:scala-compiler:2.11.12', 'sha256': '3e892546b72ab547cb77de4d840bcfd05c853e73390fed7370a8f19acb0735a0'}, 'io_bazel_rules_scala_scala_reflect': {'artifact': 'org.scala-lang:scala-reflect:2.11.12', 'sha256': '6ba385b450a6311a15c918cf8688b9af9327c6104f0ecbd35933cfcd3095fe04'}, 'io_bazel_rules_scala_scalatest': {'artifact': 'org.scalatest:scalatest_2.11:3.2.9', 'sha256': '45affb34dd5b567fa943a7e155118ae6ab6c4db2fd34ca6a6c62ea129a1675be'}, 'io_bazel_rules_scala_scalatest_compatible': {'artifact': 'org.scalatest:scalatest-compatible:jar:3.2.9', 'sha256': '7e5f1193af2fd88c432c4b80ce3641e4b1d062f421d8a0fcc43af9a19bb7c2eb'}, 'io_bazel_rules_scala_scalatest_core': {'artifact': 'org.scalatest:scalatest-core_2.11:3.2.9', 'sha256': '003cb40f78cbbffaf38203b09c776d06593974edf1883a933c1bbc0293a2f280'}, 'io_bazel_rules_scala_scalatest_featurespec': {'artifact': 'org.scalatest:scalatest-featurespec_2.11:3.2.9', 'sha256': '41567216bbd338625e77cd74ca669c88f59ff2da8adeb362657671bb43c4e462'}, 'io_bazel_rules_scala_scalatest_flatspec': {'artifact': 'org.scalatest:scalatest-flatspec_2.11:3.2.9', 'sha256': '3e89091214985782ff912559b7eb1ce085f6117db8cff65663e97325dc264b91'}, 'io_bazel_rules_scala_scalatest_freespec': {'artifact': 'org.scalatest:scalatest-freespec_2.11:3.2.9', 'sha256': '7c3e26ac0fa165263e4dac5dd303518660f581f0f8b0c20ba0b8b4a833ac9b9e'}, 'io_bazel_rules_scala_scalatest_funsuite': {'artifact': 'org.scalatest:scalatest-funsuite_2.11:3.2.9', 'sha256': 'dc2100fe45b577c464f01933d8e605c3364dbac9ba24cd65222a5a4f3000717c'}, 'io_bazel_rules_scala_scalatest_funspec': {'artifact': 'org.scalatest:scalatest-funspec_2.11:3.2.9', 'sha256': '6ed2de364aacafcb3390144501ed4e0d24b7ff1431e8b9e6503d3af4bc160196'}, 'io_bazel_rules_scala_scalatest_matchers_core': {'artifact': 'org.scalatest:scalatest-matchers-core_2.11:3.2.9', 'sha256': '06eb7b5f3a8e8124c3a92e5c597a75ccdfa3fae022bc037770327d8e9c0759b4'}, 'io_bazel_rules_scala_scalatest_shouldmatchers': {'artifact': 'org.scalatest:scalatest-shouldmatchers_2.11:3.2.9', 'sha256': '444545c33a3af8d7a5166ea4766f376a5f2c209854c7eb630786c8cb3f48a706'}, 'io_bazel_rules_scala_scalatest_mustmatchers': {'artifact': 'org.scalatest:scalatest-mustmatchers_2.11:3.2.9', 'sha256': 'b0ba6b9db7a2d1a4f7a3cf45b034b65481e31da8748abc2f2750cf22619d5a45'}, 'io_bazel_rules_scala_scalactic': {'artifact': 'org.scalactic:scalactic_2.11:3.2.9', 'sha256': '97b439fe61d1c655a8b29cdab8182b15b41b2308923786a348fc7b9f8f72b660'}, 'io_bazel_rules_scala_scala_xml': {'artifact': 'org.scala-lang.modules:scala-xml_2.11:1.2.0', 'sha256': 'eaddac168ef1e28978af768706490fa4358323a08964c25fa1027c52238e3702'}, 'io_bazel_rules_scala_scala_parser_combinators': {'artifact': 'org.scala-lang.modules:scala-parser-combinators_2.11:1.1.2', 'sha256': '3e0889e95f5324da6420461f7147cb508241ed957ac5cfedc25eef19c5448f26'}, 'org_scalameta_common': {'artifact': 'org.scalameta:common_2.11:4.3.0', 'sha256': '6330798bcbd78d14d371202749f32efda0465c3be5fd057a6055a67e21335ba0', 'deps': ['@com_lihaoyi_sourcecode', '@io_bazel_rules_scala_scala_library']}, 'org_scalameta_fastparse': {'artifact': 'org.scalameta:fastparse_2.11:1.0.1', 'sha256': '49ecc30a4b47efc0038099da0c97515cf8f754ea631ea9f9935b36ca7d41b733', 'deps': ['@com_lihaoyi_sourcecode', '@io_bazel_rules_scala_scala_library', '@org_scalameta_fastparse_utils']}, 'org_scalameta_fastparse_utils': {'artifact': 'org.scalameta:fastparse-utils_2.11:1.0.1', 'sha256': '93f58db540e53178a686621f7a9c401307a529b68e051e38804394a2a86cea94', 'deps': ['@com_lihaoyi_sourcecode', '@io_bazel_rules_scala_scala_library']}, 'org_scala_lang_modules_scala_collection_compat': {'artifact': 'org.scala-lang.modules:scala-collection-compat_2.11:2.1.2', 'sha256': 'e9667b8b7276aeb42599f536fe4d7caab06eabc55e9995572267ad60c7a11c8b', 'deps': ['@io_bazel_rules_scala_scala_library']}, 'org_scalameta_parsers': {'artifact': 'org.scalameta:parsers_2.11:4.3.0', 'sha256': '724382abfac27b32dec6c21210562bc7e1b09b5268ccb704abe66dcc8844beeb', 'deps': ['@io_bazel_rules_scala_scala_library', '@org_scalameta_trees']}, 'org_scalameta_scalafmt_core': {'artifact': 'org.scalameta:scalafmt-core_2.11:2.3.2', 'sha256': '6bf391e0e1d7369fda83ddaf7be4d267bf4cbccdf2cc31ff941999a78c30e67f', 'deps': ['@com_geirsson_metaconfig_core', '@com_geirsson_metaconfig_typesafe_config', '@io_bazel_rules_scala_scala_library', '@io_bazel_rules_scala_scala_reflect', '@org_scalameta_scalameta', '@org_scala_lang_modules_scala_collection_compat']}, 'org_scalameta_scalameta': {'artifact': 'org.scalameta:scalameta_2.11:4.3.0', 'sha256': '94fe739295447cd3ae877c279ccde1def06baea02d9c76a504dda23de1d90516', 'deps': ['@io_bazel_rules_scala_scala_library', '@org_scala_lang_scalap', '@org_scalameta_parsers']}, 'org_scalameta_trees': {'artifact': 'org.scalameta:trees_2.11:4.3.0', 'sha256': 'd24d5d63d8deafe646d455c822593a66adc6fdf17c8373754a3834a6e92a8a72', 'deps': ['@com_thesamet_scalapb_scalapb_runtime', '@io_bazel_rules_scala_scala_library', '@org_scalameta_common', '@org_scalameta_fastparse']}, 'org_typelevel_paiges_core': {'artifact': 'org.typelevel:paiges-core_2.11:0.2.4', 'sha256': 'aa66fbe0457ca5cb5b9e522d4cb873623bb376a2e1ff58c464b5194c1d87c241', 'deps': ['@io_bazel_rules_scala_scala_library']}, 'com_typesafe_config': {'artifact': 'com.typesafe:config:1.3.3', 'sha256': 'b5f1d6071f1548d05be82f59f9039c7d37a1787bd8e3c677e31ee275af4a4621'}, 'org_scala_lang_scalap': {'artifact': 'org.scala-lang:scalap:2.11.12', 'sha256': 'a6dd7203ce4af9d6185023d5dba9993eb8e80584ff4b1f6dec574a2aba4cd2b7', 'deps': ['@io_bazel_rules_scala_scala_compiler']}, 'com_thesamet_scalapb_lenses': {'artifact': 'com.thesamet.scalapb:lenses_2.11:0.9.0', 'sha256': 'f4809760edee6abc97a7fe9b7fd6ae5fe1006795b1dc3963ab4e317a72f1a385', 'deps': ['@io_bazel_rules_scala_scala_library']}, 'com_thesamet_scalapb_scalapb_runtime': {'artifact': 'com.thesamet.scalapb:scalapb-runtime_2.11:0.9.0', 'sha256': 'ab1e449a18a9ce411eb3fec31bdbca5dd5fae4475b1557bb5e235a7b54738757', 'deps': ['@com_google_protobuf_protobuf_java', '@com_lihaoyi_fastparse', '@com_thesamet_scalapb_lenses', '@io_bazel_rules_scala_scala_library']}, 'com_lihaoyi_fansi': {'artifact': 'com.lihaoyi:fansi_2.11:0.2.5', 'sha256': '1ff0a8304f322c1442e6bcf28fab07abf3cf560dd24573dbe671249aee5fc488', 'deps': ['@com_lihaoyi_sourcecode', '@io_bazel_rules_scala_scala_library']}, 'com_lihaoyi_fastparse': {'artifact': 'com.lihaoyi:fastparse_2.11:2.1.2', 'sha256': '5c5d81f90ada03ac5b21b161864a52558133951031ee5f6bf4d979e8baa03628', 'deps': ['@com_lihaoyi_sourcecode']}, 'com_lihaoyi_pprint': {'artifact': 'com.lihaoyi:pprint_2.11:0.5.3', 'sha256': 'fb5e4921e7dff734d049e752a482d3a031380d3eea5caa76c991312dee9e6991', 'deps': ['@com_lihaoyi_fansi', '@com_lihaoyi_sourcecode', '@io_bazel_rules_scala_scala_library']}, 'com_lihaoyi_sourcecode': {'artifact': 'com.lihaoyi:sourcecode_2.11:0.1.7', 'sha256': '33516d7fd9411f74f05acfd5274e1b1889b7841d1993736118803fc727b2d5fc', 'deps': ['@io_bazel_rules_scala_scala_library']}, 'com_google_protobuf_protobuf_java': {'artifact': 'com.google.protobuf:protobuf-java:3.10.0', 'sha256': '161d7d61a8cb3970891c299578702fd079646e032329d6c2cabf998d191437c9'}, 'com_geirsson_metaconfig_core': {'artifact': 'com.geirsson:metaconfig-core_2.11:0.9.4', 'sha256': '5d5704a1f1c4f74aed26248eeb9b577274d570b167cec0bf51d2908609c29118', 'deps': ['@com_lihaoyi_pprint', '@io_bazel_rules_scala_scala_library', '@org_typelevel_paiges_core', '@org_scala_lang_modules_scala_collection_compat']}, 'com_geirsson_metaconfig_typesafe_config': {'artifact': 'com.geirsson:metaconfig-typesafe-config_2.11:0.9.4', 'sha256': '52d2913640f4592402aeb2f0cec5004893d02acf26df4aa1cf8d4dcb0d2b21c7', 'deps': ['@com_geirsson_metaconfig_core', '@com_typesafe_config', '@io_bazel_rules_scala_scala_library', '@org_scala_lang_modules_scala_collection_compat']}, 'io_bazel_rules_scala_org_openjdk_jmh_jmh_core': {'artifact': 'org.openjdk.jmh:jmh-core:1.20', 'sha256': '1688db5110ea6413bf63662113ed38084106ab1149e020c58c5ac22b91b842ca'}, 'io_bazel_rules_scala_org_openjdk_jmh_jmh_generator_asm': {'artifact': 'org.openjdk.jmh:jmh-generator-asm:1.20', 'sha256': '2dd4798b0c9120326310cda3864cc2e0035b8476346713d54a28d1adab1414a5'}, 'io_bazel_rules_scala_org_openjdk_jmh_jmh_generator_reflection': {'artifact': 'org.openjdk.jmh:jmh-generator-reflection:1.20', 'sha256': '57706f7c8278272594a9afc42753aaf9ba0ba05980bae0673b8195908d21204e'}, 'io_bazel_rules_scala_org_ows2_asm_asm': {'artifact': 'org.ow2.asm:asm:6.1.1', 'sha256': 'dd3b546415dd4bade2ebe3b47c7828ab0623ee2336604068e2d81023f9f8d833'}, 'io_bazel_rules_scala_net_sf_jopt_simple_jopt_simple': {'artifact': 'net.sf.jopt-simple:jopt-simple:4.6', 'sha256': '3fcfbe3203c2ea521bf7640484fd35d6303186ea2e08e72f032d640ca067ffda'}, 'io_bazel_rules_scala_org_apache_commons_commons_math3': {'artifact': 'org.apache.commons:commons-math3:3.6.1', 'sha256': '1e56d7b058d28b65abd256b8458e3885b674c1d588fa43cd7d1cbb9c7ef2b308'}, 'io_bazel_rules_scala_junit_junit': {'artifact': 'junit:junit:4.12', 'sha256': '59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a'}, 'io_bazel_rules_scala_org_hamcrest_hamcrest_core': {'artifact': 'org.hamcrest:hamcrest-core:1.3', 'sha256': '66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9'}, 'io_bazel_rules_scala_org_specs2_specs2_common': {'artifact': 'org.specs2:specs2-common_2.11:4.4.1', 'sha256': '52d7c0da58725606e98c6e8c81d2efe632053520a25da9140116d04a4abf9d2c', 'deps': ['@io_bazel_rules_scala_org_specs2_specs2_fp']}, 'io_bazel_rules_scala_org_specs2_specs2_core': {'artifact': 'org.specs2:specs2-core_2.11:4.4.1', 'sha256': '8e95cb7e347e7a87e7a80466cbd88419ece1aaacb35c32e8bd7d299a623b31b9', 'deps': ['@io_bazel_rules_scala_org_specs2_specs2_common', '@io_bazel_rules_scala_org_specs2_specs2_matcher']}, 'io_bazel_rules_scala_org_specs2_specs2_fp': {'artifact': 'org.specs2:specs2-fp_2.11:4.4.1', 'sha256': 'e43006fdd0726ffcd1e04c6c4d795176f5f765cc787cc09baebe1fcb009e4462'}, 'io_bazel_rules_scala_org_specs2_specs2_matcher': {'artifact': 'org.specs2:specs2-matcher_2.11:4.4.1', 'sha256': '448e5ab89d4d650d23030fdbee66a010a07dcac5e4c3e73ef5fe39ca1aace1cd', 'deps': ['@io_bazel_rules_scala_org_specs2_specs2_common']}, 'io_bazel_rules_scala_org_specs2_specs2_junit': {'artifact': 'org.specs2:specs2-junit_2.11:4.4.1', 'sha256': 'a8549d52e87896624200fe35ef7b841c1c698a8fb5d97d29bf082762aea9bb72', 'deps': ['@io_bazel_rules_scala_org_specs2_specs2_core']}, 'scala_proto_rules_scalapb_plugin': {'artifact': 'com.thesamet.scalapb:compilerplugin_2.11:0.9.7', 'sha256': '2d6793fa2565953ef2b5094fc37fae4933f3c42e4cb4048d54e7f358ec104a87'}, 'scala_proto_rules_protoc_bridge': {'artifact': 'com.thesamet.scalapb:protoc-bridge_2.11:0.7.14', 'sha256': '314e34bf331b10758ff7a780560c8b5a5b09e057695a643e33ab548e3d94aa03'}, 'scala_proto_rules_scalapb_runtime': {'artifact': 'com.thesamet.scalapb:scalapb-runtime_2.11:0.9.7', 'sha256': '5131033e9536727891a38004ec707a93af1166cb8283c7db711c2c105fbf289e'}, 'scala_proto_rules_scalapb_runtime_grpc': {'artifact': 'com.thesamet.scalapb:scalapb-runtime-grpc_2.11:0.9.7', 'sha256': '24d19df500ce6450d8f7aa72a9bad675fa4f3650f7736d548aa714058f887e23'}, 'scala_proto_rules_scalapb_lenses': {'artifact': 'com.thesamet.scalapb:lenses_2.11:0.9.7', 'sha256': 'f8e3b526ceac998652b296014e9ab4c0ab906a40837dd1dfcf6948b6f5a1a8bf'}, 'scala_proto_rules_scalapb_fastparse': {'artifact': 'com.lihaoyi:fastparse_2.11:2.1.2', 'sha256': '5c5d81f90ada03ac5b21b161864a52558133951031ee5f6bf4d979e8baa03628'}, 'scala_proto_rules_grpc_core': {'artifact': 'io.grpc:grpc-core:1.24.0', 'sha256': '8fc900625a9330b1c155b5423844d21be0a5574fe218a63170a16796c6f7880e'}, 'scala_proto_rules_grpc_api': {'artifact': 'io.grpc:grpc-api:1.24.0', 'sha256': '553978366e04ee8ddba64afde3b3cf2ac021a2f3c2db2831b6491d742b558598'}, 'scala_proto_rules_grpc_stub': {'artifact': 'io.grpc:grpc-stub:1.24.0', 'sha256': 'eaa9201896a77a0822e26621b538c7154f00441a51c9b14dc9e1ec1f2acfb815'}, 'scala_proto_rules_grpc_protobuf': {'artifact': 'io.grpc:grpc-protobuf:1.24.0', 'sha256': '88cd0838ea32893d92cb214ea58908351854ed8de7730be07d5f7d19025dd0bc'}, 'scala_proto_rules_grpc_netty': {'artifact': 'io.grpc:grpc-netty:1.24.0', 'sha256': '8478333706ba442a354c2ddb8832d80a5aef71016e8a9cf07e7bf6e8c298f042'}, 'scala_proto_rules_grpc_context': {'artifact': 'io.grpc:grpc-context:1.24.0', 'sha256': '1f0546e18789f7445d1c5a157010a11bc038bbb31544cdb60d9da3848efcfeea'}, 'scala_proto_rules_perfmark_api': {'artifact': 'io.perfmark:perfmark-api:0.17.0', 'sha256': '816c11409b8a0c6c9ce1cda14bed526e7b4da0e772da67c5b7b88eefd41520f9'}, 'scala_proto_rules_guava': {'artifact': 'com.google.guava:guava:26.0-android', 'sha256': '1d044ebb866ef08b7d04e998b4260c9b52fab6e6d6b68d207859486bb3686cd5'}, 'scala_proto_rules_google_instrumentation': {'artifact': 'com.google.instrumentation:instrumentation-api:0.3.0', 'sha256': '671f7147487877f606af2c7e39399c8d178c492982827305d3b1c7f5b04f1145'}, 'scala_proto_rules_netty_codec': {'artifact': 'io.netty:netty-codec:4.1.32.Final', 'sha256': 'dbd6cea7d7bf5a2604e87337cb67c9468730d599be56511ed0979aacb309f879'}, 'scala_proto_rules_netty_codec_http': {'artifact': 'io.netty:netty-codec-http:4.1.32.Final', 'sha256': 'db2c22744f6a4950d1817e4e1a26692e53052c5d54abe6cceecd7df33f4eaac3'}, 'scala_proto_rules_netty_codec_socks': {'artifact': 'io.netty:netty-codec-socks:4.1.32.Final', 'sha256': 'fe2f2e97d6c65dc280623dcfd24337d8a5c7377049c120842f2c59fb83d7408a'}, 'scala_proto_rules_netty_codec_http2': {'artifact': 'io.netty:netty-codec-http2:4.1.32.Final', 'sha256': '4d4c6cfc1f19efb969b9b0ae6cc977462d202867f7dcfee6e9069977e623a2f5'}, 'scala_proto_rules_netty_handler': {'artifact': 'io.netty:netty-handler:4.1.32.Final', 'sha256': '07d9756e48b5f6edc756e33e8b848fb27ff0b1ae087dab5addca6c6bf17cac2d'}, 'scala_proto_rules_netty_buffer': {'artifact': 'io.netty:netty-buffer:4.1.32.Final', 'sha256': '8ac0e30048636bd79ae205c4f9f5d7544290abd3a7ed39d8b6d97dfe3795afc1'}, 'scala_proto_rules_netty_transport': {'artifact': 'io.netty:netty-transport:4.1.32.Final', 'sha256': '175bae0d227d7932c0c965c983efbb3cf01f39abe934f5c4071d0319784715fb'}, 'scala_proto_rules_netty_resolver': {'artifact': 'io.netty:netty-resolver:4.1.32.Final', 'sha256': '9b4a19982047a95ea4791a7ad7ad385c7a08c2ac75f0a3509cc213cb32a726ae'}, 'scala_proto_rules_netty_common': {'artifact': 'io.netty:netty-common:4.1.32.Final', 'sha256': 'cc993e660f8f8e3b033f1d25a9e2f70151666bdf878d460a6508cb23daa696dc'}, 'scala_proto_rules_netty_handler_proxy': {'artifact': 'io.netty:netty-handler-proxy:4.1.32.Final', 'sha256': '10d1081ed114bb0e76ebbb5331b66a6c3189cbdefdba232733fc9ca308a6ea34'}, 'scala_proto_rules_opencensus_api': {'artifact': 'io.opencensus:opencensus-api:0.22.1', 'sha256': '62a0503ee81856ba66e3cde65dee3132facb723a4fa5191609c84ce4cad36127'}, 'scala_proto_rules_opencensus_impl': {'artifact': 'io.opencensus:opencensus-impl:0.22.1', 'sha256': '9e8b209da08d1f5db2b355e781b9b969b2e0dab934cc806e33f1ab3baed4f25a'}, 'scala_proto_rules_disruptor': {'artifact': 'com.lmax:disruptor:3.4.2', 'sha256': 'f412ecbb235c2460b45e63584109723dea8d94b819c78c9bfc38f50cba8546c0'}, 'scala_proto_rules_opencensus_impl_core': {'artifact': 'io.opencensus:opencensus-impl-core:0.22.1', 'sha256': '04607d100e34bacdb38f93c571c5b7c642a1a6d873191e25d49899668514db68'}, 'scala_proto_rules_opencensus_contrib_grpc_metrics': {'artifact': 'io.opencensus:opencensus-contrib-grpc-metrics:0.22.1', 'sha256': '3f6f4d5bd332c516282583a01a7c940702608a49ed6e62eb87ef3b1d320d144b'}, 'io_bazel_rules_scala_mustache': {'artifact': 'com.github.spullara.mustache.java:compiler:0.8.18', 'sha256': 'ddabc1ef897fd72319a761d29525fd61be57dc25d04d825f863f83cc89000e66'}, 'io_bazel_rules_scala_guava': {'artifact': 'com.google.guava:guava:21.0', 'sha256': '972139718abc8a4893fa78cba8cf7b2c903f35c97aaf44fa3031b0669948b480'}, 'libthrift': {'artifact': 'org.apache.thrift:libthrift:0.10.0', 'sha256': '8591718c1884ac8001b4c5ca80f349c0a6deec691de0af720c5e3bc3a581dada'}, 'io_bazel_rules_scala_scrooge_core': {'artifact': 'com.twitter:scrooge-core_2.11:21.2.0', 'sha256': 'd6cef1408e34b9989ea8bc4c567dac922db6248baffe2eeaa618a5b354edd2bb'}, 'io_bazel_rules_scala_scrooge_generator': {'artifact': 'com.twitter:scrooge-generator_2.11:21.2.0', 'sha256': '87094f01df2c0670063ab6ebe156bb1a1bcdabeb95bc45552660b030287d6acb', 'runtime_deps': ['@io_bazel_rules_scala_guava', '@io_bazel_rules_scala_mustache', '@io_bazel_rules_scala_scopt']}, 'io_bazel_rules_scala_util_core': {'artifact': 'com.twitter:util-core_2.11:21.2.0', 'sha256': '31c33d494ca5a877c1e5b5c1f569341e1d36e7b2c8b3fb0356fb2b6d4a3907ca'}, 'io_bazel_rules_scala_util_logging': {'artifact': 'com.twitter:util-logging_2.11:21.2.0', 'sha256': 'f3b62465963fbf0fe9860036e6255337996bb48a1a3f21a29503a2750d34f319'}, 'io_bazel_rules_scala_javax_annotation_api': {'artifact': 'javax.annotation:javax.annotation-api:1.3.2', 'sha256': 'e04ba5195bcd555dc95650f7cc614d151e4bcd52d29a10b8aa2197f3ab89ab9b'}, 'io_bazel_rules_scala_scopt': {'artifact': 'com.github.scopt:scopt_2.11:4.0.0-RC2', 'sha256': '956dfc89d3208e4a6d8bbfe0205410c082cee90c4ce08be30f97c044dffc3435'}, 'com_twitter__scalding_date': {'testonly': True, 'artifact': 'com.twitter:scalding-date_2.11:0.17.0', 'sha256': 'bf743cd6d224a4568d6486a2b794143e23145d2afd7a1d2de412d49e45bdb308'}, 'org_typelevel__cats_core': {'testonly': True, 'artifact': 'org.typelevel:cats-core_2.11:0.9.0', 'sha256': '3fda7a27114b0d178107ace5c2cf04e91e9951810690421768e65038999ffca5'}, 'com_google_guava_guava_21_0_with_file': {'testonly': True, 'artifact': 'com.google.guava:guava:21.0', 'sha256': '972139718abc8a4893fa78cba8cf7b2c903f35c97aaf44fa3031b0669948b480'}, 'com_github_jnr_jffi_native': {'testonly': True, 'artifact': 'com.github.jnr:jffi:jar:native:1.2.17', 'sha256': '4eb582bc99d96c8df92fc6f0f608fd123d278223982555ba16219bf8be9f75a9'}, 'org_apache_commons_commons_lang_3_5': {'testonly': True, 'artifact': 'org.apache.commons:commons-lang3:3.5', 'sha256': '8ac96fc686512d777fca85e144f196cd7cfe0c0aec23127229497d1a38ff651c'}, 'org_springframework_spring_core': {'testonly': True, 'artifact': 'org.springframework:spring-core:5.1.5.RELEASE', 'sha256': 'f771b605019eb9d2cf8f60c25c050233e39487ff54d74c93d687ea8de8b7285a'}, 'org_springframework_spring_tx': {'testonly': True, 'artifact': 'org.springframework:spring-tx:5.1.5.RELEASE', 'sha256': '666f72b73c7e6b34e5bb92a0d77a14cdeef491c00fcb07a1e89eb62b08500135', 'deps': ['@org_springframework_spring_core']}, 'com_google_guava_guava_21_0': {'testonly': True, 'artifact': 'com.google.guava:guava:21.0', 'sha256': '972139718abc8a4893fa78cba8cf7b2c903f35c97aaf44fa3031b0669948b480', 'deps': ['@org_springframework_spring_core']}, 'org_spire_math_kind_projector': {'testonly': True, 'artifact': 'org.spire-math:kind-projector_2.11:0.9.10', 'sha256': '897460d4488b7dd6ac9198937d6417b36cc6ec8ab3693fdf2c532652f26c4373'}}
alien_0 = {'color': 'green', 'points': 5} alien_1 = {'color': 'yellow', 'points': 10} alien_2 = {'color': 'red', 'points': 15} aliens = [alien_0, alien_1, alien_2] for alien in aliens: print(alien)
alien_0 = {'color': 'green', 'points': 5} alien_1 = {'color': 'yellow', 'points': 10} alien_2 = {'color': 'red', 'points': 15} aliens = [alien_0, alien_1, alien_2] for alien in aliens: print(alien)
# The opcode tables were taken from Mammon_'s Guide to Writing Disassemblers in Perl, You Morons!" # and the bastard project. http://www.eccentrix.com/members/mammon/ INSTR_PREFIX = 0xF0000000 ADDRMETH_MASK = 0x00FF0000 ADDRMETH_A = 0x00010000 # Direct address with segment prefix ADDRMETH_B = 0x00020000 # VEX.vvvv field selects general purpose register ADDRMETH_C = 0x00030000 # MODRM reg field defines control register ADDRMETH_D = 0x00040000 # MODRM reg field defines debug register ADDRMETH_E = 0x00050000 # MODRM byte defines reg/memory address ADDRMETH_F = 0x00060000 # EFLAGS/RFLAGS register ADDRMETH_G = 0x00070000 # MODRM byte defines general-purpose reg ADDRMETH_H = 0x00080000 # VEX.vvvv field selects 128bit XMM or 256bit YMM register ADDRMETH_I = 0x00090000 # Immediate data follows ADDRMETH_J = 0x000A0000 # Immediate value is relative to EIP ADDRMETH_L = 0x000B0000 # An immediate value follows, but bits[7:4] signifies an xmm register ADDRMETH_M = 0x000C0000 # MODRM mod field can refer only to memory ADDRMETH_N = 0x000D0000 # R/M field of MODRM selects a packed-quadword, MMX register ADDRMETH_O = 0x000E0000 # Displacement follows (without modrm/sib) ADDRMETH_P = 0x000F0000 # MODRM reg field defines MMX register ADDRMETH_Q = 0x00100000 # MODRM defines MMX register or memory ADDRMETH_R = 0x00110000 # MODRM mod field can only refer to register ADDRMETH_S = 0x00120000 # MODRM reg field defines segment register ADDRMETH_U = 0x00130000 # MODRM R/M field defines XMM register ADDRMETH_V = 0x00140000 # MODRM reg field defines XMM register ADDRMETH_W = 0x00150000 # MODRM defines XMM register or memory ADDRMETH_X = 0x00160000 # Memory addressed by DS:rSI ADDRMETH_Y = 0x00170000 # Memory addressd by ES:rDI ADDRMETH_VEXH = 0x00180000 # Maybe Ignore the VEX.vvvv field based on what the ModRM bytes are ADDRMETH_LAST = ADDRMETH_VEXH ADDRMETH_VEXSKIP = 0x00800000 # This operand should be skipped if we're not in VEX mode OPTYPE_a = 0x01000000 # 2/4 two one-word operands in memory or two double-word operands in memory (operand-size attribute) OPTYPE_b = 0x02000000 # 1 always 1 byte OPTYPE_c = 0x03000000 # 1/2 byte or word, depending on operand OPTYPE_d = 0x04000000 # 4 double-word OPTYPE_ds = 0x04000000 # 4 double-word OPTYPE_dq = 0x05000000 # 16 double quad-word OPTYPE_p = 0x06000000 # 4/6 32-bit or 48-bit pointer OPTYPE_pi = 0x07000000 # 8 quadword MMX register OPTYPE_ps = 0x08000000 # 16 128-bit single-precision float (packed?) OPTYPE_pd = 0x08000000 # ?? should be a double-precision float? OPTYPE_q = 0x09000000 # 8 quad-word OPTYPE_qp = 0x09000000 # 8 quad-word OPTYPE_qq = 0x0A000000 # 8 quad-word OPTYPE_s = 0x0B000000 # 6 6-byte pseudo descriptor OPTYPE_ss = 0x0C000000 # ?? Scalar of 128-bit single-precision float OPTYPE_si = 0x0D000000 # 4 Doubleword integer register OPTYPE_sd = 0x0E000000 # Scalar double precision float OPTYPE_v = 0x0F000000 # 2/4 word or double-word, depending on operand OPTYPE_w = 0x10000000 # 2 always word OPTYPE_x = 0x11000000 # 2 double-quadword or quad-quadword OPTYPE_y = 0x12000000 # 4/8 dword or qword OPTYPE_z = 0x13000000 # 2/4 is this OPTYPE_z? word for 16-bit operand size or doubleword for 32 or 64-bit operand-size OPTYPE_fs = 0x14000000 OPTYPE_fd = 0x15000000 OPTYPE_fe = 0x16000000 OPTYPE_fb = 0x17000000 OPTYPE_fv = 0x18000000 # FIXME this should probably be a list rather than a dictionary OPERSIZE = { 0: (2, 4, 8), # We will only end up here on regs embedded in opcodes OPTYPE_a: (2, 4, 4), OPTYPE_b: (1, 1, 1), OPTYPE_c: (1, 2, 2), # 1/2 byte or word, depending on operand OPTYPE_d: (4, 4, 4), # 4 double-word OPTYPE_dq: (16, 16, 16), # 16 double quad-word OPTYPE_p: (4, 6, 6), # 4/6 32-bit or 48-bit pointer OPTYPE_pi: (8, 8, 8), # 8 quadword MMX register OPTYPE_ps: (16, 16, 16), # 16 128-bit single-precision float OPTYPE_pd: (16, 16, 16), # ?? should be a double-precision float? OPTYPE_q: (8, 8, 8), # 8 quad-word OPTYPE_qq: (32, 32, 32), # 32 quad-quad-word OPTYPE_s: (6, 10, 10), # 6 6-byte pseudo descriptor OPTYPE_ss: (16, 16, 16), # ?? Scalar of 128-bit single-precision float OPTYPE_si: (4, 4, 4), # 4 Doubleword integer register OPTYPE_sd: (16, 16, 16), # ??? Scalar of 128-bit double-precision float OPTYPE_v: (2, 4, 8), # 2/4 word or double-word, depending on operand OPTYPE_w: (2, 2, 2), # 2 always word OPTYPE_x: (16, 16, 32), # 16/32 double-quadword or quad-quadword OPTYPE_y: (4, 4, 8), # 4/8 dword or qword in 64-bit mode OPTYPE_z: (2, 4, 4), # word for 16-bit operand size or doubleword for 32 or 64-bit operand-size # Floating point crazyness FIXME these are mostly wrong OPTYPE_fs: (4, 4, 4), OPTYPE_fd: (8, 8, 8), OPTYPE_fe: (10, 10, 10), OPTYPE_fb: (10, 10, 10), OPTYPE_fv: (14, 14, 28), } INS_NOPREF = 0x10000 # This instruction diallows prefixes, and if it does, it's a different insttruction INS_VEXREQ = 0x20000 # This instructions requires VEX INS_VEXNOPREF = 0x40000 # This instruction doesn't get the "v" prefix common to VEX instructions INS_EXEC = 0x1000 INS_ARITH = 0x2000 INS_LOGIC = 0x3000 INS_STACK = 0x4000 INS_COND = 0x5000 INS_LOAD = 0x6000 INS_ARRAY = 0x7000 INS_BIT = 0x8000 INS_FLAG = 0x9000 INS_FPU = 0xA000 INS_TRAPS = 0xD000 INS_SYSTEM = 0xE000 INS_OTHER = 0xF000 INS_BRANCH = INS_EXEC | 0x01 INS_BRANCHCC = INS_EXEC | 0x02 INS_CALL = INS_EXEC | 0x03 INS_CALLCC = INS_EXEC | 0x04 INS_RET = INS_EXEC | 0x05 INS_LOOP = INS_EXEC | 0x06 INS_ADD = INS_ARITH | 0x01 INS_SUB = INS_ARITH | 0x02 INS_MUL = INS_ARITH | 0x03 INS_DIV = INS_ARITH | 0x04 INS_INC = INS_ARITH | 0x05 INS_DEC = INS_ARITH | 0x06 INS_SHL = INS_ARITH | 0x07 INS_SHR = INS_ARITH | 0x08 INS_ROL = INS_ARITH | 0x09 INS_ROR = INS_ARITH | 0x0A INS_ABS = INS_ARITH | 0x0B INS_AND = INS_LOGIC | 0x01 INS_OR = INS_LOGIC | 0x02 INS_XOR = INS_LOGIC | 0x03 INS_NOT = INS_LOGIC | 0x04 INS_NEG = INS_LOGIC | 0x05 INS_PUSH = INS_STACK | 0x01 INS_POP = INS_STACK | 0x02 INS_PUSHREGS = INS_STACK | 0x03 INS_POPREGS = INS_STACK | 0x04 INS_PUSHFLAGS = INS_STACK | 0x05 INS_POPFLAGS = INS_STACK | 0x06 INS_ENTER = INS_STACK | 0x07 INS_LEAVE = INS_STACK | 0x08 INS_TEST = INS_COND | 0x01 INS_CMP = INS_COND | 0x02 INS_MOV = INS_LOAD | 0x01 INS_MOVCC = INS_LOAD | 0x02 INS_XCHG = INS_LOAD | 0x03 INS_XCHGCC = INS_LOAD | 0x04 INS_LEA = INS_LOAD | 0x05 INS_STRCMP = INS_ARRAY | 0x01 INS_STRLOAD = INS_ARRAY | 0x02 INS_STRMOV = INS_ARRAY | 0x03 INS_STRSTOR = INS_ARRAY | 0x04 INS_XLAT = INS_ARRAY | 0x05 INS_BITTEST = INS_BIT | 0x01 INS_BITSET = INS_BIT | 0x02 INS_BITCLR = INS_BIT | 0x03 INS_CLEARCF = INS_FLAG | 0x01 INS_CLEARZF = INS_FLAG | 0x02 INS_CLEAROF = INS_FLAG | 0x03 INS_CLEARDF = INS_FLAG | 0x04 INS_CLEARSF = INS_FLAG | 0x05 INS_CLEARPF = INS_FLAG | 0x06 INS_SETCF = INS_FLAG | 0x07 INS_SETZF = INS_FLAG | 0x08 INS_SETOF = INS_FLAG | 0x09 INS_SETDF = INS_FLAG | 0x0A INS_SETSF = INS_FLAG | 0x0B INS_SETPF = INS_FLAG | 0x0C INS_CLEARAF = INS_FLAG | 0x0D INS_SETAF = INS_FLAG | 0x0E INS_TOGCF = INS_FLAG | 0x10 # /* toggle */ INS_TOGZF = INS_FLAG | 0x20 INS_TOGOF = INS_FLAG | 0x30 INS_TOGDF = INS_FLAG | 0x40 INS_TOGSF = INS_FLAG | 0x50 INS_TOGPF = INS_FLAG | 0x60 INS_TRAP = INS_TRAPS | 0x01 # generate trap INS_TRAPCC = INS_TRAPS | 0x02 # conditional trap gen INS_TRET = INS_TRAPS | 0x03 # return from trap INS_BOUNDS = INS_TRAPS | 0x04 # gen bounds trap INS_DEBUG = INS_TRAPS | 0x05 # gen breakpoint trap INS_TRACE = INS_TRAPS | 0x06 # gen single step trap INS_INVALIDOP = INS_TRAPS | 0x07 # gen invalid instruction INS_OFLOW = INS_TRAPS | 0x08 # gen overflow trap #/* INS_SYSTEM */ INS_HALT = INS_SYSTEM | 0x01 # halt machine INS_IN = INS_SYSTEM | 0x02 # input form port INS_OUT = INS_SYSTEM | 0x03 # output to port INS_CPUID = INS_SYSTEM | 0x04 # iden INS_NOP = INS_OTHER | 0x01 INS_BCDCONV = INS_OTHER | 0x02 # convert to/from BCD INS_SZCONV = INS_OTHER | 0x03 # convert size of operand INS_CRYPT = INS_OTHER | 0x4 # AES-NI instruction support OP_R = 0x001 OP_W = 0x002 OP_X = 0x004 OP_64AUTO = 0x008 # operand is in 64bit mode with amd64! # So these this exists is because in the opcode mappings intel puts out, they very # *specifically* call out things like pmovsx* using U/M for their operand mappings, # but *not* W. The reason for this being there # is a size difference between the U and M portions, whereas W uses a uniform size for both OP_MEM_B = 0x010 # force only *memory* to be 8 bit. OP_MEM_W = 0x020 # force only *memory* to be 16 bit. OP_MEM_D = 0x030 # force only *memory* to be 32 bit. OP_MEM_Q = 0x040 # force only *memory* to be 64 bit. OP_MEM_DQ = 0x050 # force only *memory* to be 128 bit. OP_MEM_QQ = 0x060 # force only *memory* to be 256 bit. OP_MEMMASK = 0x070 # this forces the memory to be a different size than the register. Reaches into OP_EXTRA_MEMSIZES OP_NOVEXL = 0x080 # don't apply VEX.L here (even though it's set). TLDR: always 128/xmm reg OP_EXTRA_MEMSIZES = [None, 1, 2, 4, 8, 16, 32] OP_UNK = 0x000 OP_REG = 0x100 OP_IMM = 0x200 OP_REL = 0x300 OP_ADDR = 0x400 OP_EXPR = 0x500 OP_PTR = 0x600 OP_OFF = 0x700 OP_SIGNED = 0x001000 OP_STRING = 0x002000 OP_CONST = 0x004000 OP_NOREX = 0x008000 ARG_NONE = 0 cpu_8086 = 0x00001000 cpu_80286 = 0x00002000 cpu_80386 = 0x00003000 cpu_80387 = 0x00004000 cpu_80486 = 0x00005000 cpu_PENTIUM = 0x00006000 cpu_PENTPRO = 0x00007000 cpu_PENTMMX = 0x00008000 cpu_PENTIUM2 = 0x00009000 cpu_AMD64 = 0x0000a000 cpu_AESNI = 0x0000b000 cpu_AVX = 0x0000c000 cpu_BMI = 0x0000d000 #eventually, change this for your own codes #ADDEXP_SCALE_OFFSET= 0 #ADDEXP_INDEX_OFFSET= 8 #ADDEXP_BASE_OFFSET = 16 #ADDEXP_DISP_OFFSET = 24 #MODRM_EA = 1 #MODRM_reg= 0 ADDRMETH_MASK = 0x00FF0000 OPTYPE_MASK = 0xFF000000 OPFLAGS_MASK = 0x0000FFFF # NOTE: some notes from the intel manual... # REX.W overrides 66, but alternate registers (via REX.B etc..) can have 66 to be 16 bit.. # REX.R only modifies reg for GPR/SSE(SIMD)/ctrl/debug addressing modes. # REX.X only modifies the SIB index value # REX.B modifies modrm r/m field, or SIB base (if SIB present), or opcode reg. # We inherit all the regular intel prefixes... # VEX replaces REX, and mixing them is invalid PREFIX_REX = 0x100000 # Shows that the rex prefix is present PREFIX_REX_B = 0x010000 # Bit 0 in REX prefix (0x41) means ModR/M r/m field, SIB base, or opcode reg PREFIX_REX_X = 0x020000 # Bit 1 in REX prefix (0x42) means SIB index extension PREFIX_REX_R = 0x040000 # Bit 2 in REX prefix (0x44) means ModR/M reg extention PREFIX_REX_W = 0x080000 # Bit 3 in REX prefix (0x48) means 64 bit operand PREFIX_REX_MASK = PREFIX_REX_B | PREFIX_REX_X | PREFIX_REX_W | PREFIX_REX_R PREFIX_REX_RXB = PREFIX_REX_B | PREFIX_REX_X | PREFIX_REX_R
instr_prefix = 4026531840 addrmeth_mask = 16711680 addrmeth_a = 65536 addrmeth_b = 131072 addrmeth_c = 196608 addrmeth_d = 262144 addrmeth_e = 327680 addrmeth_f = 393216 addrmeth_g = 458752 addrmeth_h = 524288 addrmeth_i = 589824 addrmeth_j = 655360 addrmeth_l = 720896 addrmeth_m = 786432 addrmeth_n = 851968 addrmeth_o = 917504 addrmeth_p = 983040 addrmeth_q = 1048576 addrmeth_r = 1114112 addrmeth_s = 1179648 addrmeth_u = 1245184 addrmeth_v = 1310720 addrmeth_w = 1376256 addrmeth_x = 1441792 addrmeth_y = 1507328 addrmeth_vexh = 1572864 addrmeth_last = ADDRMETH_VEXH addrmeth_vexskip = 8388608 optype_a = 16777216 optype_b = 33554432 optype_c = 50331648 optype_d = 67108864 optype_ds = 67108864 optype_dq = 83886080 optype_p = 100663296 optype_pi = 117440512 optype_ps = 134217728 optype_pd = 134217728 optype_q = 150994944 optype_qp = 150994944 optype_qq = 167772160 optype_s = 184549376 optype_ss = 201326592 optype_si = 218103808 optype_sd = 234881024 optype_v = 251658240 optype_w = 268435456 optype_x = 285212672 optype_y = 301989888 optype_z = 318767104 optype_fs = 335544320 optype_fd = 352321536 optype_fe = 369098752 optype_fb = 385875968 optype_fv = 402653184 opersize = {0: (2, 4, 8), OPTYPE_a: (2, 4, 4), OPTYPE_b: (1, 1, 1), OPTYPE_c: (1, 2, 2), OPTYPE_d: (4, 4, 4), OPTYPE_dq: (16, 16, 16), OPTYPE_p: (4, 6, 6), OPTYPE_pi: (8, 8, 8), OPTYPE_ps: (16, 16, 16), OPTYPE_pd: (16, 16, 16), OPTYPE_q: (8, 8, 8), OPTYPE_qq: (32, 32, 32), OPTYPE_s: (6, 10, 10), OPTYPE_ss: (16, 16, 16), OPTYPE_si: (4, 4, 4), OPTYPE_sd: (16, 16, 16), OPTYPE_v: (2, 4, 8), OPTYPE_w: (2, 2, 2), OPTYPE_x: (16, 16, 32), OPTYPE_y: (4, 4, 8), OPTYPE_z: (2, 4, 4), OPTYPE_fs: (4, 4, 4), OPTYPE_fd: (8, 8, 8), OPTYPE_fe: (10, 10, 10), OPTYPE_fb: (10, 10, 10), OPTYPE_fv: (14, 14, 28)} ins_nopref = 65536 ins_vexreq = 131072 ins_vexnopref = 262144 ins_exec = 4096 ins_arith = 8192 ins_logic = 12288 ins_stack = 16384 ins_cond = 20480 ins_load = 24576 ins_array = 28672 ins_bit = 32768 ins_flag = 36864 ins_fpu = 40960 ins_traps = 53248 ins_system = 57344 ins_other = 61440 ins_branch = INS_EXEC | 1 ins_branchcc = INS_EXEC | 2 ins_call = INS_EXEC | 3 ins_callcc = INS_EXEC | 4 ins_ret = INS_EXEC | 5 ins_loop = INS_EXEC | 6 ins_add = INS_ARITH | 1 ins_sub = INS_ARITH | 2 ins_mul = INS_ARITH | 3 ins_div = INS_ARITH | 4 ins_inc = INS_ARITH | 5 ins_dec = INS_ARITH | 6 ins_shl = INS_ARITH | 7 ins_shr = INS_ARITH | 8 ins_rol = INS_ARITH | 9 ins_ror = INS_ARITH | 10 ins_abs = INS_ARITH | 11 ins_and = INS_LOGIC | 1 ins_or = INS_LOGIC | 2 ins_xor = INS_LOGIC | 3 ins_not = INS_LOGIC | 4 ins_neg = INS_LOGIC | 5 ins_push = INS_STACK | 1 ins_pop = INS_STACK | 2 ins_pushregs = INS_STACK | 3 ins_popregs = INS_STACK | 4 ins_pushflags = INS_STACK | 5 ins_popflags = INS_STACK | 6 ins_enter = INS_STACK | 7 ins_leave = INS_STACK | 8 ins_test = INS_COND | 1 ins_cmp = INS_COND | 2 ins_mov = INS_LOAD | 1 ins_movcc = INS_LOAD | 2 ins_xchg = INS_LOAD | 3 ins_xchgcc = INS_LOAD | 4 ins_lea = INS_LOAD | 5 ins_strcmp = INS_ARRAY | 1 ins_strload = INS_ARRAY | 2 ins_strmov = INS_ARRAY | 3 ins_strstor = INS_ARRAY | 4 ins_xlat = INS_ARRAY | 5 ins_bittest = INS_BIT | 1 ins_bitset = INS_BIT | 2 ins_bitclr = INS_BIT | 3 ins_clearcf = INS_FLAG | 1 ins_clearzf = INS_FLAG | 2 ins_clearof = INS_FLAG | 3 ins_cleardf = INS_FLAG | 4 ins_clearsf = INS_FLAG | 5 ins_clearpf = INS_FLAG | 6 ins_setcf = INS_FLAG | 7 ins_setzf = INS_FLAG | 8 ins_setof = INS_FLAG | 9 ins_setdf = INS_FLAG | 10 ins_setsf = INS_FLAG | 11 ins_setpf = INS_FLAG | 12 ins_clearaf = INS_FLAG | 13 ins_setaf = INS_FLAG | 14 ins_togcf = INS_FLAG | 16 ins_togzf = INS_FLAG | 32 ins_togof = INS_FLAG | 48 ins_togdf = INS_FLAG | 64 ins_togsf = INS_FLAG | 80 ins_togpf = INS_FLAG | 96 ins_trap = INS_TRAPS | 1 ins_trapcc = INS_TRAPS | 2 ins_tret = INS_TRAPS | 3 ins_bounds = INS_TRAPS | 4 ins_debug = INS_TRAPS | 5 ins_trace = INS_TRAPS | 6 ins_invalidop = INS_TRAPS | 7 ins_oflow = INS_TRAPS | 8 ins_halt = INS_SYSTEM | 1 ins_in = INS_SYSTEM | 2 ins_out = INS_SYSTEM | 3 ins_cpuid = INS_SYSTEM | 4 ins_nop = INS_OTHER | 1 ins_bcdconv = INS_OTHER | 2 ins_szconv = INS_OTHER | 3 ins_crypt = INS_OTHER | 4 op_r = 1 op_w = 2 op_x = 4 op_64_auto = 8 op_mem_b = 16 op_mem_w = 32 op_mem_d = 48 op_mem_q = 64 op_mem_dq = 80 op_mem_qq = 96 op_memmask = 112 op_novexl = 128 op_extra_memsizes = [None, 1, 2, 4, 8, 16, 32] op_unk = 0 op_reg = 256 op_imm = 512 op_rel = 768 op_addr = 1024 op_expr = 1280 op_ptr = 1536 op_off = 1792 op_signed = 4096 op_string = 8192 op_const = 16384 op_norex = 32768 arg_none = 0 cpu_8086 = 4096 cpu_80286 = 8192 cpu_80386 = 12288 cpu_80387 = 16384 cpu_80486 = 20480 cpu_pentium = 24576 cpu_pentpro = 28672 cpu_pentmmx = 32768 cpu_pentium2 = 36864 cpu_amd64 = 40960 cpu_aesni = 45056 cpu_avx = 49152 cpu_bmi = 53248 addrmeth_mask = 16711680 optype_mask = 4278190080 opflags_mask = 65535 prefix_rex = 1048576 prefix_rex_b = 65536 prefix_rex_x = 131072 prefix_rex_r = 262144 prefix_rex_w = 524288 prefix_rex_mask = PREFIX_REX_B | PREFIX_REX_X | PREFIX_REX_W | PREFIX_REX_R prefix_rex_rxb = PREFIX_REX_B | PREFIX_REX_X | PREFIX_REX_R
class StubCursor(object): column = 0 row = 0 def __iter__(self): return iter([self.row, self.column]) @property def coords(self): return self.row, self.column @coords.setter def coords(self, coords): self.row, self.column = coords
class Stubcursor(object): column = 0 row = 0 def __iter__(self): return iter([self.row, self.column]) @property def coords(self): return (self.row, self.column) @coords.setter def coords(self, coords): (self.row, self.column) = coords
class Calculator: def __init__(self, a, b): self.a = a self.b = b def add(self): return self.a + self.b def mul(self): return self.a * self.b def div(self): return self.a / self.b def sub(self): return self.a - self.b def add2(self, a, b): return a + b if __name__ == '__main__': a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) obj = Calculator(a, b) choice = 1 while choice != 0: print("1. Add") print("2. Subtract") print("3. Multiply") print("4. Divide") print("0. Exit") choice = int(input("Enter your choice: ")) if choice == 1: print("Result: ", obj.add()) elif choice == 2: print("Result: ", obj.sub()) elif choice == 3: print("Result: ", obj.mul()) elif choice == 4: print("Result: ", round(obj.div(), 2)) elif choice == 0: print("Exiting!") else: print("Invalid choice!!")
class Calculator: def __init__(self, a, b): self.a = a self.b = b def add(self): return self.a + self.b def mul(self): return self.a * self.b def div(self): return self.a / self.b def sub(self): return self.a - self.b def add2(self, a, b): return a + b if __name__ == '__main__': a = int(input('Enter first number: ')) b = int(input('Enter second number: ')) obj = calculator(a, b) choice = 1 while choice != 0: print('1. Add') print('2. Subtract') print('3. Multiply') print('4. Divide') print('0. Exit') choice = int(input('Enter your choice: ')) if choice == 1: print('Result: ', obj.add()) elif choice == 2: print('Result: ', obj.sub()) elif choice == 3: print('Result: ', obj.mul()) elif choice == 4: print('Result: ', round(obj.div(), 2)) elif choice == 0: print('Exiting!') else: print('Invalid choice!!')
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'verbose_libraries_build%': 0, 'instrumented_libraries_jobs%': 1, 'instrumented_libraries_cc%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', 'instrumented_libraries_cxx%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++', }, 'libdir': 'lib', 'ubuntu_release': '<!(lsb_release -cs)', 'conditions': [ ['asan==1', { 'sanitizer_type': 'asan', }], ['msan==1', { 'sanitizer_type': 'msan', }], ['tsan==1', { 'sanitizer_type': 'tsan', }], ['use_goma==1', { 'cc': '<(gomadir)/gomacc <(instrumented_libraries_cc)', 'cxx': '<(gomadir)/gomacc <(instrumented_libraries_cxx)', }, { 'cc': '<(instrumented_libraries_cc)', 'cxx': '<(instrumented_libraries_cxx)', }], ], 'target_defaults': { 'build_method': 'destdir', # Every package must have --disable-static in configure flags to avoid # building unnecessary static libs. Ideally we should add it here. # Unfortunately, zlib1g doesn't support that flag and for some reason it # can't be removed with a GYP exclusion list. So instead we add that flag # manually to every package but zlib1g. 'extra_configure_flags': [], 'jobs': '<(instrumented_libraries_jobs)', 'package_cflags': [ '-O2', '-gline-tables-only', '-fPIC', '-w', '-U_FORITFY_SOURCE', '-fno-omit-frame-pointer' ], 'package_ldflags': [ '-Wl,-z,origin', # We set RPATH=XORIGIN when building the package and replace it with # $ORIGIN later. The reason is that this flag goes through configure/make # differently for different packages. Because of this, we can't escape the # $ character in a way that would work for every package. '-Wl,-R,XORIGIN/.' ], 'patch': '', 'pre_build': '', 'asan_blacklist': '', 'msan_blacklist': '', 'tsan_blacklist': '', 'conditions': [ ['asan==1', { 'package_cflags': ['-fsanitize=address'], 'package_ldflags': ['-fsanitize=address'], }], ['msan==1', { 'package_cflags': [ '-fsanitize=memory', '-fsanitize-memory-track-origins=<(msan_track_origins)' ], 'package_ldflags': ['-fsanitize=memory'], }], ['tsan==1', { 'package_cflags': ['-fsanitize=thread'], 'package_ldflags': ['-fsanitize=thread'], }], ], }, 'targets': [ { 'target_name': 'prebuilt_instrumented_libraries', 'type': 'none', 'variables': { 'prune_self_dependency': 1, # Don't add this target to the dependencies of targets with type=none. 'link_dependency': 1, 'conditions': [ ['msan==1', { 'conditions': [ ['msan_track_origins==2', { 'archive_prefix': 'msan-chained-origins', }, { 'conditions': [ ['msan_track_origins==0', { 'archive_prefix': 'msan-no-origins', }, { 'archive_prefix': 'UNSUPPORTED_CONFIGURATION' }], ]}], ]}, { 'archive_prefix': 'UNSUPPORTED_CONFIGURATION' }], ], }, 'actions': [ { 'action_name': 'unpack_<(archive_prefix)-<(_ubuntu_release).tgz', 'inputs': [ 'binaries/<(archive_prefix)-<(_ubuntu_release).tgz', ], 'outputs': [ '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_prefix).txt', ], 'action': [ 'scripts/unpack_binaries.py', '<(archive_prefix)', 'binaries', '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/', ], }, ], 'direct_dependent_settings': { 'target_conditions': [ ['_toolset=="target"', { 'ldflags': [ # Add a relative RPATH entry to Chromium binaries. This puts # instrumented DSOs before system-installed versions in library # search path. '-Wl,-R,\$$ORIGIN/instrumented_libraries_prebuilt/<(_sanitizer_type)/<(_libdir)/', '-Wl,-z,origin', ], }], ], }, }, { 'target_name': 'instrumented_libraries', 'type': 'none', 'variables': { 'prune_self_dependency': 1, # Don't add this target to the dependencies of targets with type=none. 'link_dependency': 1, }, # NOTE: Please keep install-build-deps.sh in sync with this list. 'dependencies': [ '<(_sanitizer_type)-freetype', '<(_sanitizer_type)-libcairo2', '<(_sanitizer_type)-libexpat1', '<(_sanitizer_type)-libffi6', '<(_sanitizer_type)-libgcrypt11', '<(_sanitizer_type)-libgpg-error0', '<(_sanitizer_type)-libnspr4', '<(_sanitizer_type)-libp11-kit0', '<(_sanitizer_type)-libpcre3', '<(_sanitizer_type)-libpng12-0', '<(_sanitizer_type)-libx11-6', '<(_sanitizer_type)-libxau6', '<(_sanitizer_type)-libxcb1', '<(_sanitizer_type)-libxcomposite1', '<(_sanitizer_type)-libxcursor1', '<(_sanitizer_type)-libxdamage1', '<(_sanitizer_type)-libxdmcp6', '<(_sanitizer_type)-libxext6', '<(_sanitizer_type)-libxfixes3', '<(_sanitizer_type)-libxi6', '<(_sanitizer_type)-libxinerama1', '<(_sanitizer_type)-libxrandr2', '<(_sanitizer_type)-libxrender1', '<(_sanitizer_type)-libxss1', '<(_sanitizer_type)-libxtst6', '<(_sanitizer_type)-zlib1g', '<(_sanitizer_type)-libglib2.0-0', '<(_sanitizer_type)-libdbus-1-3', '<(_sanitizer_type)-libdbus-glib-1-2', '<(_sanitizer_type)-nss', '<(_sanitizer_type)-libfontconfig1', '<(_sanitizer_type)-pulseaudio', '<(_sanitizer_type)-libasound2', '<(_sanitizer_type)-pango1.0', '<(_sanitizer_type)-libcap2', '<(_sanitizer_type)-udev', '<(_sanitizer_type)-libgnome-keyring0', '<(_sanitizer_type)-libgtk2.0-0', '<(_sanitizer_type)-libgdk-pixbuf2.0-0', '<(_sanitizer_type)-libpci3', '<(_sanitizer_type)-libdbusmenu-glib4', '<(_sanitizer_type)-libgconf-2-4', '<(_sanitizer_type)-libappindicator1', '<(_sanitizer_type)-libdbusmenu', '<(_sanitizer_type)-atk1.0', '<(_sanitizer_type)-libunity9', '<(_sanitizer_type)-dee', '<(_sanitizer_type)-libpixman-1-0', '<(_sanitizer_type)-brltty', '<(_sanitizer_type)-libva1', '<(_sanitizer_type)-libcredentialkit_pkcs11-stub', ], 'conditions': [ ['"<(_ubuntu_release)"=="precise"', { 'dependencies': [ '<(_sanitizer_type)-libtasn1-3', ], }, { 'dependencies': [ # Trusty and above. '<(_sanitizer_type)-libtasn1-6', '<(_sanitizer_type)-harfbuzz', '<(_sanitizer_type)-libsecret', ], }], ['msan==1', { 'dependencies': [ '<(_sanitizer_type)-libcups2', ], }], ['tsan==1', { 'dependencies!': [ '<(_sanitizer_type)-libpng12-0', ], }], ], 'direct_dependent_settings': { 'target_conditions': [ ['_toolset=="target"', { 'ldflags': [ # Add a relative RPATH entry to Chromium binaries. This puts # instrumented DSOs before system-installed versions in library # search path. '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/<(_libdir)/', '-Wl,-z,origin', ], }], ], }, }, { 'package_name': 'freetype', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/freetype.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libcairo2', 'dependencies=': [], 'extra_configure_flags': [ '--disable-gtk-doc', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libdbus-1-3', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--disable-libaudit', '--enable-apparmor', '--enable-systemd', '--libexecdir=/lib/dbus-1.0', '--with-systemdsystemunitdir=/lib/systemd/system', '--disable-tests', '--exec-prefix=/', # From dh_auto_configure. '--prefix=/usr', '--localstatedir=/var', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libdbus-glib-1-2', 'dependencies=': [], 'extra_configure_flags': [ # Use system dbus-binding-tool. The just-built one is instrumented but # doesn't have the correct RPATH, and will crash. '--with-dbus-binding-tool=dbus-binding-tool', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libexpat1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libffi6', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libfontconfig1', 'dependencies=': [], 'extra_configure_flags': [ '--disable-docs', '--sysconfdir=/etc/', '--disable-static', # From debian/rules. '--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts', ], 'conditions': [ ['"<(_ubuntu_release)"=="precise"', { 'patch': 'patches/libfontconfig.precise.diff', }, { 'patch': 'patches/libfontconfig.trusty.diff', }], ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libgcrypt11', 'dependencies=': [], 'package_ldflags': ['-Wl,-z,muldefs'], 'extra_configure_flags': [ # From debian/rules. '--enable-noexecstack', '--enable-ld-version-script', '--disable-static', # http://crbug.com/344505 '--disable-asm' ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libglib2.0-0', 'dependencies=': [], 'extra_configure_flags': [ '--disable-gtk-doc', '--disable-gtk-doc-html', '--disable-gtk-doc-pdf', '--disable-static', ], 'asan_blacklist': 'blacklists/asan/libglib2.0-0.txt', 'msan_blacklist': 'blacklists/msan/libglib2.0-0.txt', 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libgpg-error0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libnspr4', 'dependencies=': [], 'extra_configure_flags': [ '--enable-64bit', '--disable-static', # TSan reports data races on debug variables. '--disable-debug', ], 'pre_build': 'scripts/pre-build/libnspr4.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libp11-kit0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], # Required on Trusty due to autoconf version mismatch. 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libpcre3', 'dependencies=': [], 'extra_configure_flags': [ '--enable-utf8', '--enable-unicode-properties', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libpixman-1-0', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--disable-gtk', '--disable-silent-rules', # Avoid a clang issue. http://crbug.com/449183 '--disable-mmx', ], 'patch': 'patches/libpixman-1-0.diff', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libpng12-0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libx11-6', 'dependencies=': [], 'extra_configure_flags': [ '--disable-specs', '--disable-static', ], 'msan_blacklist': 'blacklists/msan/libx11-6.txt', # Required on Trusty due to autoconf version mismatch. 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxau6', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxcb1', 'dependencies=': [], 'extra_configure_flags': [ '--disable-build-docs', '--disable-static', ], 'conditions': [ ['"<(_ubuntu_release)"=="precise"', { # Backport fix for https://bugs.freedesktop.org/show_bug.cgi?id=54671 'patch': 'patches/libxcb1.precise.diff', }], ], # Required on Trusty due to autoconf version mismatch. 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxcomposite1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxcursor1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxdamage1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxdmcp6', 'dependencies=': [], 'extra_configure_flags': [ '--disable-docs', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxext6', 'dependencies=': [], 'extra_configure_flags': [ '--disable-specs', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxfixes3', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxi6', 'dependencies=': [], 'extra_configure_flags': [ '--disable-specs', '--disable-docs', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxinerama1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxrandr2', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxrender1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxss1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libxtst6', 'dependencies=': [], 'extra_configure_flags': [ '--disable-specs', '--disable-static', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'zlib1g', 'dependencies=': [], # --disable-static is not supported 'patch': 'patches/zlib1g.diff', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'nss', 'dependencies=': [ # TODO(eugenis): get rid of this dependency '<(_sanitizer_type)-libnspr4', ], 'patch': 'patches/nss.diff', 'build_method': 'custom_nss', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'pulseaudio', 'dependencies=': [], 'conditions': [ ['"<(_ubuntu_release)"=="precise"', { 'patch': 'patches/pulseaudio.precise.diff', 'jobs': 1, }, { # New location of libpulsecommon. 'package_ldflags': [ '-Wl,-R,XORIGIN/pulseaudio/.' ], }], ], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--enable-x11', '--disable-hal-compat', # Disable some ARM-related code that fails compilation. No idea why # this even impacts x86-64 builds. '--disable-neon-opt' ], 'pre_build': 'scripts/pre-build/pulseaudio.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libasound2', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/libasound2.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libcups2', 'dependencies=': [], 'patch': 'patches/libcups2.diff', 'jobs': 1, 'extra_configure_flags': [ '--disable-static', # All from debian/rules. '--localedir=/usr/share/cups/locale', '--enable-slp', '--enable-libpaper', '--enable-ssl', '--enable-gnutls', '--disable-openssl', '--enable-threads', '--enable-debug', '--enable-dbus', '--with-dbusdir=/etc/dbus-1', '--enable-gssapi', '--enable-avahi', '--with-pdftops=/usr/bin/gs', '--disable-launchd', '--with-cups-group=lp', '--with-system-groups=lpadmin', '--with-printcap=/var/run/cups/printcap', '--with-log-file-perm=0640', '--with-local_protocols="CUPS dnssd"', '--with-remote_protocols="CUPS dnssd"', '--enable-libusb', ], 'pre_build': 'scripts/pre-build/libcups2.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'pango1.0', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # Avoid https://bugs.gentoo.org/show_bug.cgi?id=425620 '--enable-introspection=no', # Pango is normally used with dynamically loaded modules. However, # ensuring pango is able to find instrumented versions of those modules # is a huge pain in the neck. Let's link them statically instead, and # hope for the best. '--with-included-modules=yes' ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libcap2', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'build_method': 'custom_libcap', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'udev', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # Without this flag there's a linking step that doesn't honor LDFLAGS # and fails. # TODO(eugenis): find a better fix. '--disable-gudev' ], 'pre_build': 'scripts/pre-build/udev.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libtasn1-3', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--enable-ld-version-script', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libtasn1-6', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--enable-ld-version-script', ], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libgnome-keyring0', 'extra_configure_flags': [ '--disable-static', '--enable-tests=no', # Make the build less problematic. '--disable-introspection', ], 'package_ldflags': ['-Wl,--as-needed'], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libgtk2.0-0', 'package_cflags': ['-Wno-return-type'], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--prefix=/usr', '--sysconfdir=/etc', '--enable-test-print-backend', '--enable-introspection=no', '--with-xinput=yes', ], 'dependencies=': [], 'conditions': [ ['"<(_ubuntu_release)"=="precise"', { 'patch': 'patches/libgtk2.0-0.precise.diff', }, { 'patch': 'patches/libgtk2.0-0.trusty.diff', }], ], 'pre_build': 'scripts/pre-build/libgtk2.0-0.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libgdk-pixbuf2.0-0', 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--with-libjasper', '--with-x11', # Make the build less problematic. '--disable-introspection', # Do not use loadable modules. Same as with Pango, there's no easy way # to make gdk-pixbuf pick instrumented versions over system-installed # ones. '--disable-modules', ], 'dependencies=': [], 'pre_build': 'scripts/pre-build/libgdk-pixbuf2.0-0.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libpci3', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'build_method': 'custom_libpci3', 'jobs': 1, 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libdbusmenu-glib4', 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--disable-scrollkeeper', '--enable-gtk-doc', # --enable-introspection introduces a build step that attempts to run # a just-built binary and crashes. Vala requires introspection. # TODO(eugenis): find a better fix. '--disable-introspection', '--disable-vala', ], 'dependencies=': [], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libgconf-2-4', 'extra_configure_flags': [ '--disable-static', # From debian/rules. (Even though --with-gtk=3.0 doesn't make sense.) '--with-gtk=3.0', '--disable-orbit', # See above. '--disable-introspection', ], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libappindicator1', 'extra_configure_flags': [ '--disable-static', # See above. '--disable-introspection', ], 'dependencies=': [], 'jobs': 1, 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libdbusmenu', 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--disable-scrollkeeper', '--with-gtk=2', # See above. '--disable-introspection', '--disable-vala', ], 'dependencies=': [], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'atk1.0', 'extra_configure_flags': [ '--disable-static', # See above. '--disable-introspection', ], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libunity9', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'dee', 'extra_configure_flags': [ '--disable-static', # See above. '--disable-introspection', ], 'dependencies=': [], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'harfbuzz', 'package_cflags': ['-Wno-c++11-narrowing'], 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--with-graphite2=yes', '--with-gobject', # See above. '--disable-introspection', ], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'brltty', 'extra_configure_flags': [ '--disable-static', # From debian/rules. '--without-viavoice', '--without-theta', '--without-swift', '--bindir=/sbin', '--with-curses=ncursesw', '--disable-stripping', # We don't need any of those. '--disable-java-bindings', '--disable-lisp-bindings', '--disable-ocaml-bindings', '--disable-python-bindings', '--disable-tcl-bindings' ], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libva1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], # Backport a use-after-free fix: # http://cgit.freedesktop.org/libva/diff/va/va.c?h=staging&id=d4988142a3f2256e38c5c5cdcdfc1b4f5f3c1ea9 'patch': 'patches/libva1.diff', 'pre_build': 'scripts/pre-build/libva1.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { 'package_name': 'libsecret', 'dependencies=': [], 'extra_configure_flags': [ '--disable-static', # See above. '--disable-introspection', ], 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi'], }, { # Creates a stub to convince NSS to not load the system-wide uninstrumented library. # It appears that just an empty file is enough. 'package_name': 'libcredentialkit_pkcs11-stub', 'target_name': '<(_sanitizer_type)-<(_package_name)', 'type': 'none', 'actions': [ { 'action_name': '<(_package_name)', 'inputs': [], 'outputs': [ '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_name).txt', ], 'action': [ 'touch', '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/lib/libcredentialkit_pkcs11.so.0', '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_name).txt', ], }, ], }, ], }
{'variables': {'verbose_libraries_build%': 0, 'instrumented_libraries_jobs%': 1, 'instrumented_libraries_cc%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang', 'instrumented_libraries_cxx%': '<!(cd <(DEPTH) && pwd -P)/<(make_clang_dir)/bin/clang++'}, 'libdir': 'lib', 'ubuntu_release': '<!(lsb_release -cs)', 'conditions': [['asan==1', {'sanitizer_type': 'asan'}], ['msan==1', {'sanitizer_type': 'msan'}], ['tsan==1', {'sanitizer_type': 'tsan'}], ['use_goma==1', {'cc': '<(gomadir)/gomacc <(instrumented_libraries_cc)', 'cxx': '<(gomadir)/gomacc <(instrumented_libraries_cxx)'}, {'cc': '<(instrumented_libraries_cc)', 'cxx': '<(instrumented_libraries_cxx)'}]], 'target_defaults': {'build_method': 'destdir', 'extra_configure_flags': [], 'jobs': '<(instrumented_libraries_jobs)', 'package_cflags': ['-O2', '-gline-tables-only', '-fPIC', '-w', '-U_FORITFY_SOURCE', '-fno-omit-frame-pointer'], 'package_ldflags': ['-Wl,-z,origin', '-Wl,-R,XORIGIN/.'], 'patch': '', 'pre_build': '', 'asan_blacklist': '', 'msan_blacklist': '', 'tsan_blacklist': '', 'conditions': [['asan==1', {'package_cflags': ['-fsanitize=address'], 'package_ldflags': ['-fsanitize=address']}], ['msan==1', {'package_cflags': ['-fsanitize=memory', '-fsanitize-memory-track-origins=<(msan_track_origins)'], 'package_ldflags': ['-fsanitize=memory']}], ['tsan==1', {'package_cflags': ['-fsanitize=thread'], 'package_ldflags': ['-fsanitize=thread']}]]}, 'targets': [{'target_name': 'prebuilt_instrumented_libraries', 'type': 'none', 'variables': {'prune_self_dependency': 1, 'link_dependency': 1, 'conditions': [['msan==1', {'conditions': [['msan_track_origins==2', {'archive_prefix': 'msan-chained-origins'}, {'conditions': [['msan_track_origins==0', {'archive_prefix': 'msan-no-origins'}, {'archive_prefix': 'UNSUPPORTED_CONFIGURATION'}]]}]]}, {'archive_prefix': 'UNSUPPORTED_CONFIGURATION'}]]}, 'actions': [{'action_name': 'unpack_<(archive_prefix)-<(_ubuntu_release).tgz', 'inputs': ['binaries/<(archive_prefix)-<(_ubuntu_release).tgz'], 'outputs': ['<(PRODUCT_DIR)/instrumented_libraries_prebuilt/<(archive_prefix).txt'], 'action': ['scripts/unpack_binaries.py', '<(archive_prefix)', 'binaries', '<(PRODUCT_DIR)/instrumented_libraries_prebuilt/']}], 'direct_dependent_settings': {'target_conditions': [['_toolset=="target"', {'ldflags': ['-Wl,-R,\\$$ORIGIN/instrumented_libraries_prebuilt/<(_sanitizer_type)/<(_libdir)/', '-Wl,-z,origin']}]]}}, {'target_name': 'instrumented_libraries', 'type': 'none', 'variables': {'prune_self_dependency': 1, 'link_dependency': 1}, 'dependencies': ['<(_sanitizer_type)-freetype', '<(_sanitizer_type)-libcairo2', '<(_sanitizer_type)-libexpat1', '<(_sanitizer_type)-libffi6', '<(_sanitizer_type)-libgcrypt11', '<(_sanitizer_type)-libgpg-error0', '<(_sanitizer_type)-libnspr4', '<(_sanitizer_type)-libp11-kit0', '<(_sanitizer_type)-libpcre3', '<(_sanitizer_type)-libpng12-0', '<(_sanitizer_type)-libx11-6', '<(_sanitizer_type)-libxau6', '<(_sanitizer_type)-libxcb1', '<(_sanitizer_type)-libxcomposite1', '<(_sanitizer_type)-libxcursor1', '<(_sanitizer_type)-libxdamage1', '<(_sanitizer_type)-libxdmcp6', '<(_sanitizer_type)-libxext6', '<(_sanitizer_type)-libxfixes3', '<(_sanitizer_type)-libxi6', '<(_sanitizer_type)-libxinerama1', '<(_sanitizer_type)-libxrandr2', '<(_sanitizer_type)-libxrender1', '<(_sanitizer_type)-libxss1', '<(_sanitizer_type)-libxtst6', '<(_sanitizer_type)-zlib1g', '<(_sanitizer_type)-libglib2.0-0', '<(_sanitizer_type)-libdbus-1-3', '<(_sanitizer_type)-libdbus-glib-1-2', '<(_sanitizer_type)-nss', '<(_sanitizer_type)-libfontconfig1', '<(_sanitizer_type)-pulseaudio', '<(_sanitizer_type)-libasound2', '<(_sanitizer_type)-pango1.0', '<(_sanitizer_type)-libcap2', '<(_sanitizer_type)-udev', '<(_sanitizer_type)-libgnome-keyring0', '<(_sanitizer_type)-libgtk2.0-0', '<(_sanitizer_type)-libgdk-pixbuf2.0-0', '<(_sanitizer_type)-libpci3', '<(_sanitizer_type)-libdbusmenu-glib4', '<(_sanitizer_type)-libgconf-2-4', '<(_sanitizer_type)-libappindicator1', '<(_sanitizer_type)-libdbusmenu', '<(_sanitizer_type)-atk1.0', '<(_sanitizer_type)-libunity9', '<(_sanitizer_type)-dee', '<(_sanitizer_type)-libpixman-1-0', '<(_sanitizer_type)-brltty', '<(_sanitizer_type)-libva1', '<(_sanitizer_type)-libcredentialkit_pkcs11-stub'], 'conditions': [['"<(_ubuntu_release)"=="precise"', {'dependencies': ['<(_sanitizer_type)-libtasn1-3']}, {'dependencies': ['<(_sanitizer_type)-libtasn1-6', '<(_sanitizer_type)-harfbuzz', '<(_sanitizer_type)-libsecret']}], ['msan==1', {'dependencies': ['<(_sanitizer_type)-libcups2']}], ['tsan==1', {'dependencies!': ['<(_sanitizer_type)-libpng12-0']}]], 'direct_dependent_settings': {'target_conditions': [['_toolset=="target"', {'ldflags': ['-Wl,-R,\\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/<(_libdir)/', '-Wl,-z,origin']}]]}}, {'package_name': 'freetype', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/freetype.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libcairo2', 'dependencies=': [], 'extra_configure_flags': ['--disable-gtk-doc', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libdbus-1-3', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--disable-libaudit', '--enable-apparmor', '--enable-systemd', '--libexecdir=/lib/dbus-1.0', '--with-systemdsystemunitdir=/lib/systemd/system', '--disable-tests', '--exec-prefix=/', '--prefix=/usr', '--localstatedir=/var'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libdbus-glib-1-2', 'dependencies=': [], 'extra_configure_flags': ['--with-dbus-binding-tool=dbus-binding-tool', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libexpat1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libffi6', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libfontconfig1', 'dependencies=': [], 'extra_configure_flags': ['--disable-docs', '--sysconfdir=/etc/', '--disable-static', '--with-add-fonts=/usr/X11R6/lib/X11/fonts,/usr/local/share/fonts'], 'conditions': [['"<(_ubuntu_release)"=="precise"', {'patch': 'patches/libfontconfig.precise.diff'}, {'patch': 'patches/libfontconfig.trusty.diff'}]], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libgcrypt11', 'dependencies=': [], 'package_ldflags': ['-Wl,-z,muldefs'], 'extra_configure_flags': ['--enable-noexecstack', '--enable-ld-version-script', '--disable-static', '--disable-asm'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libglib2.0-0', 'dependencies=': [], 'extra_configure_flags': ['--disable-gtk-doc', '--disable-gtk-doc-html', '--disable-gtk-doc-pdf', '--disable-static'], 'asan_blacklist': 'blacklists/asan/libglib2.0-0.txt', 'msan_blacklist': 'blacklists/msan/libglib2.0-0.txt', 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libgpg-error0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libnspr4', 'dependencies=': [], 'extra_configure_flags': ['--enable-64bit', '--disable-static', '--disable-debug'], 'pre_build': 'scripts/pre-build/libnspr4.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libp11-kit0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libpcre3', 'dependencies=': [], 'extra_configure_flags': ['--enable-utf8', '--enable-unicode-properties', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libpixman-1-0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--disable-gtk', '--disable-silent-rules', '--disable-mmx'], 'patch': 'patches/libpixman-1-0.diff', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libpng12-0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libx11-6', 'dependencies=': [], 'extra_configure_flags': ['--disable-specs', '--disable-static'], 'msan_blacklist': 'blacklists/msan/libx11-6.txt', 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxau6', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxcb1', 'dependencies=': [], 'extra_configure_flags': ['--disable-build-docs', '--disable-static'], 'conditions': [['"<(_ubuntu_release)"=="precise"', {'patch': 'patches/libxcb1.precise.diff'}]], 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxcomposite1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxcursor1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxdamage1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxdmcp6', 'dependencies=': [], 'extra_configure_flags': ['--disable-docs', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxext6', 'dependencies=': [], 'extra_configure_flags': ['--disable-specs', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxfixes3', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxi6', 'dependencies=': [], 'extra_configure_flags': ['--disable-specs', '--disable-docs', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxinerama1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxrandr2', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxrender1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxss1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libxtst6', 'dependencies=': [], 'extra_configure_flags': ['--disable-specs', '--disable-static'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'zlib1g', 'dependencies=': [], 'patch': 'patches/zlib1g.diff', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'nss', 'dependencies=': ['<(_sanitizer_type)-libnspr4'], 'patch': 'patches/nss.diff', 'build_method': 'custom_nss', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'pulseaudio', 'dependencies=': [], 'conditions': [['"<(_ubuntu_release)"=="precise"', {'patch': 'patches/pulseaudio.precise.diff', 'jobs': 1}, {'package_ldflags': ['-Wl,-R,XORIGIN/pulseaudio/.']}]], 'extra_configure_flags': ['--disable-static', '--enable-x11', '--disable-hal-compat', '--disable-neon-opt'], 'pre_build': 'scripts/pre-build/pulseaudio.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libasound2', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/libasound2.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libcups2', 'dependencies=': [], 'patch': 'patches/libcups2.diff', 'jobs': 1, 'extra_configure_flags': ['--disable-static', '--localedir=/usr/share/cups/locale', '--enable-slp', '--enable-libpaper', '--enable-ssl', '--enable-gnutls', '--disable-openssl', '--enable-threads', '--enable-debug', '--enable-dbus', '--with-dbusdir=/etc/dbus-1', '--enable-gssapi', '--enable-avahi', '--with-pdftops=/usr/bin/gs', '--disable-launchd', '--with-cups-group=lp', '--with-system-groups=lpadmin', '--with-printcap=/var/run/cups/printcap', '--with-log-file-perm=0640', '--with-local_protocols="CUPS dnssd"', '--with-remote_protocols="CUPS dnssd"', '--enable-libusb'], 'pre_build': 'scripts/pre-build/libcups2.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'pango1.0', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--enable-introspection=no', '--with-included-modules=yes'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libcap2', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'build_method': 'custom_libcap', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'udev', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--disable-gudev'], 'pre_build': 'scripts/pre-build/udev.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libtasn1-3', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--enable-ld-version-script'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libtasn1-6', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--enable-ld-version-script'], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libgnome-keyring0', 'extra_configure_flags': ['--disable-static', '--enable-tests=no', '--disable-introspection'], 'package_ldflags': ['-Wl,--as-needed'], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libgtk2.0-0', 'package_cflags': ['-Wno-return-type'], 'extra_configure_flags': ['--disable-static', '--prefix=/usr', '--sysconfdir=/etc', '--enable-test-print-backend', '--enable-introspection=no', '--with-xinput=yes'], 'dependencies=': [], 'conditions': [['"<(_ubuntu_release)"=="precise"', {'patch': 'patches/libgtk2.0-0.precise.diff'}, {'patch': 'patches/libgtk2.0-0.trusty.diff'}]], 'pre_build': 'scripts/pre-build/libgtk2.0-0.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libgdk-pixbuf2.0-0', 'extra_configure_flags': ['--disable-static', '--with-libjasper', '--with-x11', '--disable-introspection', '--disable-modules'], 'dependencies=': [], 'pre_build': 'scripts/pre-build/libgdk-pixbuf2.0-0.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libpci3', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'build_method': 'custom_libpci3', 'jobs': 1, 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libdbusmenu-glib4', 'extra_configure_flags': ['--disable-static', '--disable-scrollkeeper', '--enable-gtk-doc', '--disable-introspection', '--disable-vala'], 'dependencies=': [], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libgconf-2-4', 'extra_configure_flags': ['--disable-static', '--with-gtk=3.0', '--disable-orbit', '--disable-introspection'], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libappindicator1', 'extra_configure_flags': ['--disable-static', '--disable-introspection'], 'dependencies=': [], 'jobs': 1, 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libdbusmenu', 'extra_configure_flags': ['--disable-static', '--disable-scrollkeeper', '--with-gtk=2', '--disable-introspection', '--disable-vala'], 'dependencies=': [], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'atk1.0', 'extra_configure_flags': ['--disable-static', '--disable-introspection'], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libunity9', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'dee', 'extra_configure_flags': ['--disable-static', '--disable-introspection'], 'dependencies=': [], 'pre_build': 'scripts/pre-build/autogen.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'harfbuzz', 'package_cflags': ['-Wno-c++11-narrowing'], 'extra_configure_flags': ['--disable-static', '--with-graphite2=yes', '--with-gobject', '--disable-introspection'], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'brltty', 'extra_configure_flags': ['--disable-static', '--without-viavoice', '--without-theta', '--without-swift', '--bindir=/sbin', '--with-curses=ncursesw', '--disable-stripping', '--disable-java-bindings', '--disable-lisp-bindings', '--disable-ocaml-bindings', '--disable-python-bindings', '--disable-tcl-bindings'], 'dependencies=': [], 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libva1', 'dependencies=': [], 'extra_configure_flags': ['--disable-static'], 'patch': 'patches/libva1.diff', 'pre_build': 'scripts/pre-build/libva1.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libsecret', 'dependencies=': [], 'extra_configure_flags': ['--disable-static', '--disable-introspection'], 'pre_build': 'scripts/pre-build/autoreconf.sh', 'includes': ['standard_instrumented_package_target.gypi']}, {'package_name': 'libcredentialkit_pkcs11-stub', 'target_name': '<(_sanitizer_type)-<(_package_name)', 'type': 'none', 'actions': [{'action_name': '<(_package_name)', 'inputs': [], 'outputs': ['<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_name).txt'], 'action': ['touch', '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/lib/libcredentialkit_pkcs11.so.0', '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/<(_package_name).txt']}]}]}
''' Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your function should return length = 5, with the first five elements of nums being 1, 1, 2, 2 and 3. It doesn't matter what you leave beyond the new length. ''' class Solution(object): def removeDuplicates(self, nums): """ :type nums: List[int] :rtype: int """ count = 0 for i in range(len(nums)): if count < 2 or nums[count - 2] != nums[i]: nums[count] = nums[i] count += 1 return count if __name__ == "__main__": l = [1, 1, 1, 2, 2, 3] r = Solution().removeDuplicates(l) assert l == [1, 1, 2, 2, 3, 3] assert r == 5
""" Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your function should return length = 5, with the first five elements of nums being 1, 1, 2, 2 and 3. It doesn't matter what you leave beyond the new length. """ class Solution(object): def remove_duplicates(self, nums): """ :type nums: List[int] :rtype: int """ count = 0 for i in range(len(nums)): if count < 2 or nums[count - 2] != nums[i]: nums[count] = nums[i] count += 1 return count if __name__ == '__main__': l = [1, 1, 1, 2, 2, 3] r = solution().removeDuplicates(l) assert l == [1, 1, 2, 2, 3, 3] assert r == 5
# Write a Python program to add an item in a tuple tuplex = ('physics', 'chemistry', 1997, 2000) tuple = tuplex + (5,) print(tuple) #2nd method tuple = tuplex[:3] + (23,56,7) print(tuple) #3rd method listx = list(tuplex) listx.append(30) tuplex = tuple(listx) print(tuplex)
tuplex = ('physics', 'chemistry', 1997, 2000) tuple = tuplex + (5,) print(tuple) tuple = tuplex[:3] + (23, 56, 7) print(tuple) listx = list(tuplex) listx.append(30) tuplex = tuple(listx) print(tuplex)
class ActionBatchAppliance(object): def __init__(self): super(ActionBatchAppliance, self).__init__() def updateNetworkApplianceConnectivityMonitoringDestinations(self, networkId: str, **kwargs): """ **Update the connectivity testing destinations for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-connectivity-monitoring-destinations - networkId (string): (required) - destinations (array): The list of connectivity monitoring destinations """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'connectivityMonitoringDestinations'], 'operation': 'updateNetworkApplianceConnectivityMonitoringDestinations' } resource = f'/networks/{networkId}/appliance/connectivityMonitoringDestinations' body_params = ['destinations', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceFirewallL7FirewallRules(self, networkId: str, **kwargs): """ **Update the MX L7 firewall rules for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-firewall-l-7-firewall-rules - networkId (string): (required) - rules (array): An ordered array of the MX L7 firewall rules """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'firewall', 'l7FirewallRules'], 'operation': 'updateNetworkApplianceFirewallL7FirewallRules' } resource = f'/networks/{networkId}/appliance/firewall/l7FirewallRules' body_params = ['rules', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkAppliancePort(self, networkId: str, portId: str, **kwargs): """ **Update the per-port VLAN settings for a single MX port.** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-port - networkId (string): (required) - portId (string): (required) - enabled (boolean): The status of the port - dropUntaggedTraffic (boolean): Trunk port can Drop all Untagged traffic. When true, no VLAN is required. Access ports cannot have dropUntaggedTraffic set to true. - type (string): The type of the port: 'access' or 'trunk'. - vlan (integer): Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode. - allowedVlans (string): Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port. - accessPolicy (string): The name of the policy. Only applicable to Access ports. Valid values are: 'open', '8021x-radius', 'mac-radius', 'hybris-radius' for MX64 or Z3 or any MX supporting the per port authentication feature. Otherwise, 'open' is the only valid value and 'open' is the default value if the field is missing. """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'ports'], 'operation': 'updateNetworkAppliancePort' } resource = f'/networks/{networkId}/appliance/ports/{portId}' body_params = ['enabled', 'dropUntaggedTraffic', 'type', 'vlan', 'allowedVlans', 'accessPolicy', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceSingleLan(self, networkId: str, **kwargs): """ **Update single LAN configuration** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-single-lan - networkId (string): (required) - subnet (string): The subnet of the single LAN configuration - applianceIp (string): The appliance IP address of the single LAN """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'singleLan'], 'operation': 'updateNetworkApplianceSingleLan' } resource = f'/networks/{networkId}/appliance/singleLan' body_params = ['subnet', 'applianceIp', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def createNetworkApplianceTrafficShapingCustomPerformanceClass(self, networkId: str, name: str, **kwargs): """ **Add a custom performance class for an MX network** https://developer.cisco.com/meraki/api-v1/#!create-network-appliance-traffic-shaping-custom-performance-class - networkId (string): (required) - name (string): Name of the custom performance class - maxLatency (integer): Maximum latency in milliseconds - maxJitter (integer): Maximum jitter in milliseconds - maxLossPercentage (integer): Maximum percentage of packet loss """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'trafficShaping', 'customPerformanceClasses'], 'operation': 'createNetworkApplianceTrafficShapingCustomPerformanceClass' } resource = f'/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses' body_params = ['name', 'maxLatency', 'maxJitter', 'maxLossPercentage', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "create", "body": payload } return action def updateNetworkApplianceTrafficShapingCustomPerformanceClass(self, networkId: str, customPerformanceClassId: str, **kwargs): """ **Update a custom performance class for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-custom-performance-class - networkId (string): (required) - customPerformanceClassId (string): (required) - name (string): Name of the custom performance class - maxLatency (integer): Maximum latency in milliseconds - maxJitter (integer): Maximum jitter in milliseconds - maxLossPercentage (integer): Maximum percentage of packet loss """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'trafficShaping', 'customPerformanceClasses'], 'operation': 'updateNetworkApplianceTrafficShapingCustomPerformanceClass' } resource = f'/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}' body_params = ['name', 'maxLatency', 'maxJitter', 'maxLossPercentage', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def deleteNetworkApplianceTrafficShapingCustomPerformanceClass(self, networkId: str, customPerformanceClassId: str): """ **Delete a custom performance class from an MX network** https://developer.cisco.com/meraki/api-v1/#!delete-network-appliance-traffic-shaping-custom-performance-class - networkId (string): (required) - customPerformanceClassId (string): (required) """ metadata = { 'tags': ['appliance', 'configure', 'trafficShaping', 'customPerformanceClasses'], 'operation': 'deleteNetworkApplianceTrafficShapingCustomPerformanceClass' } resource = f'/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}' action = { "resource": resource, "operation": "destroy", "body": payload } return action def updateNetworkApplianceTrafficShapingRules(self, networkId: str, **kwargs): """ **Update the traffic shaping settings rules for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-rules - networkId (string): (required) - defaultRulesEnabled (boolean): Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8. - rules (array): An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules. """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'trafficShaping', 'rules'], 'operation': 'updateNetworkApplianceTrafficShapingRules' } resource = f'/networks/{networkId}/appliance/trafficShaping/rules' body_params = ['defaultRulesEnabled', 'rules', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceTrafficShapingUplinkBandwidth(self, networkId: str, **kwargs): """ **Updates the uplink bandwidth settings for your MX network.** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-uplink-bandwidth - networkId (string): (required) - bandwidthLimits (object): A mapping of uplinks to their bandwidth settings (be sure to check which uplinks are supported for your network) """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'trafficShaping', 'uplinkBandwidth'], 'operation': 'updateNetworkApplianceTrafficShapingUplinkBandwidth' } resource = f'/networks/{networkId}/appliance/trafficShaping/uplinkBandwidth' body_params = ['bandwidthLimits', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceTrafficShapingUplinkSelection(self, networkId: str, **kwargs): """ **Update uplink selection settings for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-uplink-selection - networkId (string): (required) - activeActiveAutoVpnEnabled (boolean): Toggle for enabling or disabling active-active AutoVPN - defaultUplink (string): The default uplink. Must be one of: 'wan1' or 'wan2' - loadBalancingEnabled (boolean): Toggle for enabling or disabling load balancing - wanTrafficUplinkPreferences (array): Array of uplink preference rules for WAN traffic - vpnTrafficUplinkPreferences (array): Array of uplink preference rules for VPN traffic """ kwargs.update(locals()) if 'defaultUplink' in kwargs: options = ['wan1', 'wan2'] assert kwargs['defaultUplink'] in options, f'''"defaultUplink" cannot be "{kwargs['defaultUplink']}", & must be set to one of: {options}''' metadata = { 'tags': ['appliance', 'configure', 'trafficShaping', 'uplinkSelection'], 'operation': 'updateNetworkApplianceTrafficShapingUplinkSelection' } resource = f'/networks/{networkId}/appliance/trafficShaping/uplinkSelection' body_params = ['activeActiveAutoVpnEnabled', 'defaultUplink', 'loadBalancingEnabled', 'wanTrafficUplinkPreferences', 'vpnTrafficUplinkPreferences', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def createNetworkApplianceVlan(self, networkId: str, id: str, name: str, **kwargs): """ **Add a VLAN** https://developer.cisco.com/meraki/api-v1/#!create-network-appliance-vlan - networkId (string): (required) - id (string): The VLAN ID of the new VLAN (must be between 1 and 4094) - name (string): The name of the new VLAN - subnet (string): The subnet of the VLAN - applianceIp (string): The local IP of the appliance on the VLAN - groupPolicyId (string): The id of the desired group policy to apply to the VLAN """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'vlans'], 'operation': 'createNetworkApplianceVlan' } resource = f'/networks/{networkId}/appliance/vlans' body_params = ['id', 'name', 'subnet', 'applianceIp', 'groupPolicyId', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "create", "body": payload } return action def updateNetworkApplianceVlansSettings(self, networkId: str, **kwargs): """ **Enable/Disable VLANs for the given network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vlans-settings - networkId (string): (required) - vlansEnabled (boolean): Boolean indicating whether to enable (true) or disable (false) VLANs for the network """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'vlans', 'settings'], 'operation': 'updateNetworkApplianceVlansSettings' } resource = f'/networks/{networkId}/appliance/vlans/settings' body_params = ['vlansEnabled', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceVlan(self, networkId: str, vlanId: str, **kwargs): """ **Update a VLAN** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vlan - networkId (string): (required) - vlanId (string): (required) - name (string): The name of the VLAN - subnet (string): The subnet of the VLAN - applianceIp (string): The local IP of the appliance on the VLAN - groupPolicyId (string): The id of the desired group policy to apply to the VLAN - vpnNatSubnet (string): The translated VPN subnet if VPN and VPN subnet translation are enabled on the VLAN - dhcpHandling (string): The appliance's handling of DHCP requests on this VLAN. One of: 'Run a DHCP server', 'Relay DHCP to another server' or 'Do not respond to DHCP requests' - dhcpRelayServerIps (array): The IPs of the DHCP servers that DHCP requests should be relayed to - dhcpLeaseTime (string): The term of DHCP leases if the appliance is running a DHCP server on this VLAN. One of: '30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week' - dhcpBootOptionsEnabled (boolean): Use DHCP boot options specified in other properties - dhcpBootNextServer (string): DHCP boot option to direct boot clients to the server to load the boot file from - dhcpBootFilename (string): DHCP boot option for boot filename - fixedIpAssignments (object): The DHCP fixed IP assignments on the VLAN. This should be an object that contains mappings from MAC addresses to objects that themselves each contain "ip" and "name" string fields. See the sample request/response for more details. - reservedIpRanges (array): The DHCP reserved IP ranges on the VLAN - dnsNameservers (string): The DNS nameservers used for DHCP responses, either "upstream_dns", "google_dns", "opendns", or a newline seperated string of IP addresses or domain names - dhcpOptions (array): The list of DHCP options that will be included in DHCP responses. Each object in the list should have "code", "type", and "value" properties. """ kwargs.update(locals()) if 'dhcpHandling' in kwargs: options = ['Run a DHCP server', 'Relay DHCP to another server', 'Do not respond to DHCP requests'] assert kwargs['dhcpHandling'] in options, f'''"dhcpHandling" cannot be "{kwargs['dhcpHandling']}", & must be set to one of: {options}''' if 'dhcpLeaseTime' in kwargs: options = ['30 minutes', '1 hour', '4 hours', '12 hours', '1 day', '1 week'] assert kwargs['dhcpLeaseTime'] in options, f'''"dhcpLeaseTime" cannot be "{kwargs['dhcpLeaseTime']}", & must be set to one of: {options}''' metadata = { 'tags': ['appliance', 'configure', 'vlans'], 'operation': 'updateNetworkApplianceVlan' } resource = f'/networks/{networkId}/appliance/vlans/{vlanId}' body_params = ['name', 'subnet', 'applianceIp', 'groupPolicyId', 'vpnNatSubnet', 'dhcpHandling', 'dhcpRelayServerIps', 'dhcpLeaseTime', 'dhcpBootOptionsEnabled', 'dhcpBootNextServer', 'dhcpBootFilename', 'fixedIpAssignments', 'reservedIpRanges', 'dnsNameservers', 'dhcpOptions', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def deleteNetworkApplianceVlan(self, networkId: str, vlanId: str): """ **Delete a VLAN from a network** https://developer.cisco.com/meraki/api-v1/#!delete-network-appliance-vlan - networkId (string): (required) - vlanId (string): (required) """ metadata = { 'tags': ['appliance', 'configure', 'vlans'], 'operation': 'deleteNetworkApplianceVlan' } resource = f'/networks/{networkId}/appliance/vlans/{vlanId}' action = { "resource": resource, "operation": "destroy", "body": payload } return action def updateNetworkApplianceVpnBgp(self, networkId: str, enabled: bool, **kwargs): """ **Update a Hub BGP Configuration** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vpn-bgp - networkId (string): (required) - enabled (boolean): Boolean value to enable or disable the BGP configuration. When BGP is enabled, the asNumber (ASN) will be autopopulated with the preconfigured ASN at other Hubs or a default value if there is no ASN configured. - asNumber (integer): An Autonomous System Number (ASN) is required if you are to run BGP and peer with another BGP Speaker outside of the Auto VPN domain. This ASN will be applied to the entire Auto VPN domain. The entire 4-byte ASN range is supported. So, the ASN must be an integer between 1 and 4294967295. When absent, this field is not updated. If no value exists then it defaults to 64512. - ibgpHoldTimer (integer): The IBGP holdtimer in seconds. The IBGP holdtimer must be an integer between 12 and 240. When absent, this field is not updated. If no value exists then it defaults to 240. - neighbors (array): List of BGP neighbors. This list replaces the existing set of neighbors. When absent, this field is not updated. """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'vpn', 'bgp'], 'operation': 'updateNetworkApplianceVpnBgp' } resource = f'/networks/{networkId}/appliance/vpn/bgp' body_params = ['enabled', 'asNumber', 'ibgpHoldTimer', 'neighbors', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceVpnSiteToSiteVpn(self, networkId: str, mode: str, **kwargs): """ **Update the site-to-site VPN settings of a network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vpn-site-to-site-vpn - networkId (string): (required) - mode (string): The site-to-site VPN mode. Can be one of 'none', 'spoke' or 'hub' - hubs (array): The list of VPN hubs, in order of preference. In spoke mode, at least 1 hub is required. - subnets (array): The list of subnets and their VPN presence. """ kwargs.update(locals()) if 'mode' in kwargs: options = ['none', 'spoke', 'hub'] assert kwargs['mode'] in options, f'''"mode" cannot be "{kwargs['mode']}", & must be set to one of: {options}''' metadata = { 'tags': ['appliance', 'configure', 'vpn', 'siteToSiteVpn'], 'operation': 'updateNetworkApplianceVpnSiteToSiteVpn' } resource = f'/networks/{networkId}/appliance/vpn/siteToSiteVpn' body_params = ['mode', 'hubs', 'subnets', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def updateNetworkApplianceWarmSpare(self, networkId: str, enabled: bool, **kwargs): """ **Update MX warm spare settings** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-warm-spare - networkId (string): (required) - enabled (boolean): Enable warm spare - spareSerial (string): Serial number of the warm spare appliance - uplinkMode (string): Uplink mode, either virtual or public - virtualIp1 (string): The WAN 1 shared IP - virtualIp2 (string): The WAN 2 shared IP """ kwargs.update(locals()) metadata = { 'tags': ['appliance', 'configure', 'warmSpare'], 'operation': 'updateNetworkApplianceWarmSpare' } resource = f'/networks/{networkId}/appliance/warmSpare' body_params = ['enabled', 'spareSerial', 'uplinkMode', 'virtualIp1', 'virtualIp2', ] payload = {k.strip(): v for k, v in kwargs.items() if k.strip() in body_params} action = { "resource": resource, "operation": "update", "body": payload } return action def swapNetworkApplianceWarmSpare(self, networkId: str): """ **Swap MX primary and warm spare appliances** https://developer.cisco.com/meraki/api-v1/#!swap-network-appliance-warm-spare - networkId (string): (required) """ metadata = { 'tags': ['appliance', 'configure', 'warmSpare'], 'operation': 'swapNetworkApplianceWarmSpare' } resource = f'/networks/{networkId}/appliance/warmSpare/swap' action = { "resource": resource, "operation": "create", "body": payload } return action
class Actionbatchappliance(object): def __init__(self): super(ActionBatchAppliance, self).__init__() def update_network_appliance_connectivity_monitoring_destinations(self, networkId: str, **kwargs): """ **Update the connectivity testing destinations for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-connectivity-monitoring-destinations - networkId (string): (required) - destinations (array): The list of connectivity monitoring destinations """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'connectivityMonitoringDestinations'], 'operation': 'updateNetworkApplianceConnectivityMonitoringDestinations'} resource = f'/networks/{networkId}/appliance/connectivityMonitoringDestinations' body_params = ['destinations'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_firewall_l7_firewall_rules(self, networkId: str, **kwargs): """ **Update the MX L7 firewall rules for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-firewall-l-7-firewall-rules - networkId (string): (required) - rules (array): An ordered array of the MX L7 firewall rules """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'firewall', 'l7FirewallRules'], 'operation': 'updateNetworkApplianceFirewallL7FirewallRules'} resource = f'/networks/{networkId}/appliance/firewall/l7FirewallRules' body_params = ['rules'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_port(self, networkId: str, portId: str, **kwargs): """ **Update the per-port VLAN settings for a single MX port.** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-port - networkId (string): (required) - portId (string): (required) - enabled (boolean): The status of the port - dropUntaggedTraffic (boolean): Trunk port can Drop all Untagged traffic. When true, no VLAN is required. Access ports cannot have dropUntaggedTraffic set to true. - type (string): The type of the port: 'access' or 'trunk'. - vlan (integer): Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode. - allowedVlans (string): Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port. - accessPolicy (string): The name of the policy. Only applicable to Access ports. Valid values are: 'open', '8021x-radius', 'mac-radius', 'hybris-radius' for MX64 or Z3 or any MX supporting the per port authentication feature. Otherwise, 'open' is the only valid value and 'open' is the default value if the field is missing. """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'ports'], 'operation': 'updateNetworkAppliancePort'} resource = f'/networks/{networkId}/appliance/ports/{portId}' body_params = ['enabled', 'dropUntaggedTraffic', 'type', 'vlan', 'allowedVlans', 'accessPolicy'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_single_lan(self, networkId: str, **kwargs): """ **Update single LAN configuration** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-single-lan - networkId (string): (required) - subnet (string): The subnet of the single LAN configuration - applianceIp (string): The appliance IP address of the single LAN """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'singleLan'], 'operation': 'updateNetworkApplianceSingleLan'} resource = f'/networks/{networkId}/appliance/singleLan' body_params = ['subnet', 'applianceIp'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def create_network_appliance_traffic_shaping_custom_performance_class(self, networkId: str, name: str, **kwargs): """ **Add a custom performance class for an MX network** https://developer.cisco.com/meraki/api-v1/#!create-network-appliance-traffic-shaping-custom-performance-class - networkId (string): (required) - name (string): Name of the custom performance class - maxLatency (integer): Maximum latency in milliseconds - maxJitter (integer): Maximum jitter in milliseconds - maxLossPercentage (integer): Maximum percentage of packet loss """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'trafficShaping', 'customPerformanceClasses'], 'operation': 'createNetworkApplianceTrafficShapingCustomPerformanceClass'} resource = f'/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses' body_params = ['name', 'maxLatency', 'maxJitter', 'maxLossPercentage'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'create', 'body': payload} return action def update_network_appliance_traffic_shaping_custom_performance_class(self, networkId: str, customPerformanceClassId: str, **kwargs): """ **Update a custom performance class for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-custom-performance-class - networkId (string): (required) - customPerformanceClassId (string): (required) - name (string): Name of the custom performance class - maxLatency (integer): Maximum latency in milliseconds - maxJitter (integer): Maximum jitter in milliseconds - maxLossPercentage (integer): Maximum percentage of packet loss """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'trafficShaping', 'customPerformanceClasses'], 'operation': 'updateNetworkApplianceTrafficShapingCustomPerformanceClass'} resource = f'/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}' body_params = ['name', 'maxLatency', 'maxJitter', 'maxLossPercentage'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def delete_network_appliance_traffic_shaping_custom_performance_class(self, networkId: str, customPerformanceClassId: str): """ **Delete a custom performance class from an MX network** https://developer.cisco.com/meraki/api-v1/#!delete-network-appliance-traffic-shaping-custom-performance-class - networkId (string): (required) - customPerformanceClassId (string): (required) """ metadata = {'tags': ['appliance', 'configure', 'trafficShaping', 'customPerformanceClasses'], 'operation': 'deleteNetworkApplianceTrafficShapingCustomPerformanceClass'} resource = f'/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}' action = {'resource': resource, 'operation': 'destroy', 'body': payload} return action def update_network_appliance_traffic_shaping_rules(self, networkId: str, **kwargs): """ **Update the traffic shaping settings rules for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-rules - networkId (string): (required) - defaultRulesEnabled (boolean): Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8. - rules (array): An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules. """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'trafficShaping', 'rules'], 'operation': 'updateNetworkApplianceTrafficShapingRules'} resource = f'/networks/{networkId}/appliance/trafficShaping/rules' body_params = ['defaultRulesEnabled', 'rules'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_traffic_shaping_uplink_bandwidth(self, networkId: str, **kwargs): """ **Updates the uplink bandwidth settings for your MX network.** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-uplink-bandwidth - networkId (string): (required) - bandwidthLimits (object): A mapping of uplinks to their bandwidth settings (be sure to check which uplinks are supported for your network) """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'trafficShaping', 'uplinkBandwidth'], 'operation': 'updateNetworkApplianceTrafficShapingUplinkBandwidth'} resource = f'/networks/{networkId}/appliance/trafficShaping/uplinkBandwidth' body_params = ['bandwidthLimits'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_traffic_shaping_uplink_selection(self, networkId: str, **kwargs): """ **Update uplink selection settings for an MX network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-traffic-shaping-uplink-selection - networkId (string): (required) - activeActiveAutoVpnEnabled (boolean): Toggle for enabling or disabling active-active AutoVPN - defaultUplink (string): The default uplink. Must be one of: 'wan1' or 'wan2' - loadBalancingEnabled (boolean): Toggle for enabling or disabling load balancing - wanTrafficUplinkPreferences (array): Array of uplink preference rules for WAN traffic - vpnTrafficUplinkPreferences (array): Array of uplink preference rules for VPN traffic """ kwargs.update(locals()) if 'defaultUplink' in kwargs: options = ['wan1', 'wan2'] assert kwargs['defaultUplink'] in options, f'''"defaultUplink" cannot be "{kwargs['defaultUplink']}", & must be set to one of: {options}''' metadata = {'tags': ['appliance', 'configure', 'trafficShaping', 'uplinkSelection'], 'operation': 'updateNetworkApplianceTrafficShapingUplinkSelection'} resource = f'/networks/{networkId}/appliance/trafficShaping/uplinkSelection' body_params = ['activeActiveAutoVpnEnabled', 'defaultUplink', 'loadBalancingEnabled', 'wanTrafficUplinkPreferences', 'vpnTrafficUplinkPreferences'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def create_network_appliance_vlan(self, networkId: str, id: str, name: str, **kwargs): """ **Add a VLAN** https://developer.cisco.com/meraki/api-v1/#!create-network-appliance-vlan - networkId (string): (required) - id (string): The VLAN ID of the new VLAN (must be between 1 and 4094) - name (string): The name of the new VLAN - subnet (string): The subnet of the VLAN - applianceIp (string): The local IP of the appliance on the VLAN - groupPolicyId (string): The id of the desired group policy to apply to the VLAN """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'vlans'], 'operation': 'createNetworkApplianceVlan'} resource = f'/networks/{networkId}/appliance/vlans' body_params = ['id', 'name', 'subnet', 'applianceIp', 'groupPolicyId'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'create', 'body': payload} return action def update_network_appliance_vlans_settings(self, networkId: str, **kwargs): """ **Enable/Disable VLANs for the given network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vlans-settings - networkId (string): (required) - vlansEnabled (boolean): Boolean indicating whether to enable (true) or disable (false) VLANs for the network """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'vlans', 'settings'], 'operation': 'updateNetworkApplianceVlansSettings'} resource = f'/networks/{networkId}/appliance/vlans/settings' body_params = ['vlansEnabled'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_vlan(self, networkId: str, vlanId: str, **kwargs): """ **Update a VLAN** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vlan - networkId (string): (required) - vlanId (string): (required) - name (string): The name of the VLAN - subnet (string): The subnet of the VLAN - applianceIp (string): The local IP of the appliance on the VLAN - groupPolicyId (string): The id of the desired group policy to apply to the VLAN - vpnNatSubnet (string): The translated VPN subnet if VPN and VPN subnet translation are enabled on the VLAN - dhcpHandling (string): The appliance's handling of DHCP requests on this VLAN. One of: 'Run a DHCP server', 'Relay DHCP to another server' or 'Do not respond to DHCP requests' - dhcpRelayServerIps (array): The IPs of the DHCP servers that DHCP requests should be relayed to - dhcpLeaseTime (string): The term of DHCP leases if the appliance is running a DHCP server on this VLAN. One of: '30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week' - dhcpBootOptionsEnabled (boolean): Use DHCP boot options specified in other properties - dhcpBootNextServer (string): DHCP boot option to direct boot clients to the server to load the boot file from - dhcpBootFilename (string): DHCP boot option for boot filename - fixedIpAssignments (object): The DHCP fixed IP assignments on the VLAN. This should be an object that contains mappings from MAC addresses to objects that themselves each contain "ip" and "name" string fields. See the sample request/response for more details. - reservedIpRanges (array): The DHCP reserved IP ranges on the VLAN - dnsNameservers (string): The DNS nameservers used for DHCP responses, either "upstream_dns", "google_dns", "opendns", or a newline seperated string of IP addresses or domain names - dhcpOptions (array): The list of DHCP options that will be included in DHCP responses. Each object in the list should have "code", "type", and "value" properties. """ kwargs.update(locals()) if 'dhcpHandling' in kwargs: options = ['Run a DHCP server', 'Relay DHCP to another server', 'Do not respond to DHCP requests'] assert kwargs['dhcpHandling'] in options, f'''"dhcpHandling" cannot be "{kwargs['dhcpHandling']}", & must be set to one of: {options}''' if 'dhcpLeaseTime' in kwargs: options = ['30 minutes', '1 hour', '4 hours', '12 hours', '1 day', '1 week'] assert kwargs['dhcpLeaseTime'] in options, f'''"dhcpLeaseTime" cannot be "{kwargs['dhcpLeaseTime']}", & must be set to one of: {options}''' metadata = {'tags': ['appliance', 'configure', 'vlans'], 'operation': 'updateNetworkApplianceVlan'} resource = f'/networks/{networkId}/appliance/vlans/{vlanId}' body_params = ['name', 'subnet', 'applianceIp', 'groupPolicyId', 'vpnNatSubnet', 'dhcpHandling', 'dhcpRelayServerIps', 'dhcpLeaseTime', 'dhcpBootOptionsEnabled', 'dhcpBootNextServer', 'dhcpBootFilename', 'fixedIpAssignments', 'reservedIpRanges', 'dnsNameservers', 'dhcpOptions'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def delete_network_appliance_vlan(self, networkId: str, vlanId: str): """ **Delete a VLAN from a network** https://developer.cisco.com/meraki/api-v1/#!delete-network-appliance-vlan - networkId (string): (required) - vlanId (string): (required) """ metadata = {'tags': ['appliance', 'configure', 'vlans'], 'operation': 'deleteNetworkApplianceVlan'} resource = f'/networks/{networkId}/appliance/vlans/{vlanId}' action = {'resource': resource, 'operation': 'destroy', 'body': payload} return action def update_network_appliance_vpn_bgp(self, networkId: str, enabled: bool, **kwargs): """ **Update a Hub BGP Configuration** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vpn-bgp - networkId (string): (required) - enabled (boolean): Boolean value to enable or disable the BGP configuration. When BGP is enabled, the asNumber (ASN) will be autopopulated with the preconfigured ASN at other Hubs or a default value if there is no ASN configured. - asNumber (integer): An Autonomous System Number (ASN) is required if you are to run BGP and peer with another BGP Speaker outside of the Auto VPN domain. This ASN will be applied to the entire Auto VPN domain. The entire 4-byte ASN range is supported. So, the ASN must be an integer between 1 and 4294967295. When absent, this field is not updated. If no value exists then it defaults to 64512. - ibgpHoldTimer (integer): The IBGP holdtimer in seconds. The IBGP holdtimer must be an integer between 12 and 240. When absent, this field is not updated. If no value exists then it defaults to 240. - neighbors (array): List of BGP neighbors. This list replaces the existing set of neighbors. When absent, this field is not updated. """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'vpn', 'bgp'], 'operation': 'updateNetworkApplianceVpnBgp'} resource = f'/networks/{networkId}/appliance/vpn/bgp' body_params = ['enabled', 'asNumber', 'ibgpHoldTimer', 'neighbors'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_vpn_site_to_site_vpn(self, networkId: str, mode: str, **kwargs): """ **Update the site-to-site VPN settings of a network** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-vpn-site-to-site-vpn - networkId (string): (required) - mode (string): The site-to-site VPN mode. Can be one of 'none', 'spoke' or 'hub' - hubs (array): The list of VPN hubs, in order of preference. In spoke mode, at least 1 hub is required. - subnets (array): The list of subnets and their VPN presence. """ kwargs.update(locals()) if 'mode' in kwargs: options = ['none', 'spoke', 'hub'] assert kwargs['mode'] in options, f'''"mode" cannot be "{kwargs['mode']}", & must be set to one of: {options}''' metadata = {'tags': ['appliance', 'configure', 'vpn', 'siteToSiteVpn'], 'operation': 'updateNetworkApplianceVpnSiteToSiteVpn'} resource = f'/networks/{networkId}/appliance/vpn/siteToSiteVpn' body_params = ['mode', 'hubs', 'subnets'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def update_network_appliance_warm_spare(self, networkId: str, enabled: bool, **kwargs): """ **Update MX warm spare settings** https://developer.cisco.com/meraki/api-v1/#!update-network-appliance-warm-spare - networkId (string): (required) - enabled (boolean): Enable warm spare - spareSerial (string): Serial number of the warm spare appliance - uplinkMode (string): Uplink mode, either virtual or public - virtualIp1 (string): The WAN 1 shared IP - virtualIp2 (string): The WAN 2 shared IP """ kwargs.update(locals()) metadata = {'tags': ['appliance', 'configure', 'warmSpare'], 'operation': 'updateNetworkApplianceWarmSpare'} resource = f'/networks/{networkId}/appliance/warmSpare' body_params = ['enabled', 'spareSerial', 'uplinkMode', 'virtualIp1', 'virtualIp2'] payload = {k.strip(): v for (k, v) in kwargs.items() if k.strip() in body_params} action = {'resource': resource, 'operation': 'update', 'body': payload} return action def swap_network_appliance_warm_spare(self, networkId: str): """ **Swap MX primary and warm spare appliances** https://developer.cisco.com/meraki/api-v1/#!swap-network-appliance-warm-spare - networkId (string): (required) """ metadata = {'tags': ['appliance', 'configure', 'warmSpare'], 'operation': 'swapNetworkApplianceWarmSpare'} resource = f'/networks/{networkId}/appliance/warmSpare/swap' action = {'resource': resource, 'operation': 'create', 'body': payload} return action
contador = 0 file = open("funciones_matematicas.py","w") funcs = {} def print_contador(): print(contador) def aumentar_contador(): global contador contador += 1 def crear_funcion(): ecuacion = input("Ingrese ecuacion: ") def agregar_funcion(): f = open("funciones_matematicas.py","w") ecuacion = input("Ingrese ecuacion: ") f.write("funcs = \{}\n") f.write("def f1(x):\n") f.write("\treturn "+ecuacion) f.close() def test_func(): f = open("funciones_matematicas.py","w") f.write("def f():\n") f.write("\tprint(\"hola\")") f.close()
contador = 0 file = open('funciones_matematicas.py', 'w') funcs = {} def print_contador(): print(contador) def aumentar_contador(): global contador contador += 1 def crear_funcion(): ecuacion = input('Ingrese ecuacion: ') def agregar_funcion(): f = open('funciones_matematicas.py', 'w') ecuacion = input('Ingrese ecuacion: ') f.write('funcs = \\{}\n') f.write('def f1(x):\n') f.write('\treturn ' + ecuacion) f.close() def test_func(): f = open('funciones_matematicas.py', 'w') f.write('def f():\n') f.write('\tprint("hola")') f.close()
class SlotPickleMixin(object): """ This mixin makes it possible to pickle/unpickle objects with __slots__ defined. Origin: http://code.activestate.com/recipes/578433-mixin-for-pickling-objects-with-__slots__/ """ def __getstate__(self): return dict( (slot, getattr(self, slot)) for slot in self.__slots__ if hasattr(self, slot) ) def __setstate__(self, state): for slot, value in state.items(): setattr(self, slot, value)
class Slotpicklemixin(object): """ This mixin makes it possible to pickle/unpickle objects with __slots__ defined. Origin: http://code.activestate.com/recipes/578433-mixin-for-pickling-objects-with-__slots__/ """ def __getstate__(self): return dict(((slot, getattr(self, slot)) for slot in self.__slots__ if hasattr(self, slot))) def __setstate__(self, state): for (slot, value) in state.items(): setattr(self, slot, value)
N = int(input()) a = sorted(map(int, input().split()), reverse=True) print(sum([a[n] for n in range(1, N * 2, 2)]))
n = int(input()) a = sorted(map(int, input().split()), reverse=True) print(sum([a[n] for n in range(1, N * 2, 2)]))
def solution(lottos, win_nums): answer = [] zeros=0 for i in lottos: if(i==0) : zeros+=1 correct = list(set(lottos).intersection(set(win_nums))) _dict = {6:1,5:2,4:3,3:4,2:5,1:6,0:6} answer.append(_dict[len(correct)+zeros]) answer.append(_dict[len(correct)]) return answer
def solution(lottos, win_nums): answer = [] zeros = 0 for i in lottos: if i == 0: zeros += 1 correct = list(set(lottos).intersection(set(win_nums))) _dict = {6: 1, 5: 2, 4: 3, 3: 4, 2: 5, 1: 6, 0: 6} answer.append(_dict[len(correct) + zeros]) answer.append(_dict[len(correct)]) return answer
class Solution: def solve(self, path): ans = [] for part in path: if part == "..": if ans: ans.pop() elif part != ".": ans.append(part) return ans
class Solution: def solve(self, path): ans = [] for part in path: if part == '..': if ans: ans.pop() elif part != '.': ans.append(part) return ans
# https://www.codewars.com/kata/523a86aa4230ebb5420001e1 def letterCounter(word): letters = {} for letter in word: if letter in letters: letters[letter] += 1 else: letters[letter] = 1 return letters def anagrams(word, words): anag = [] wordMap = letterCounter(word) for w in words: if wordMap == letterCounter(w): anag.append(w) return anag
def letter_counter(word): letters = {} for letter in word: if letter in letters: letters[letter] += 1 else: letters[letter] = 1 return letters def anagrams(word, words): anag = [] word_map = letter_counter(word) for w in words: if wordMap == letter_counter(w): anag.append(w) return anag
# %% def Naive(N): is_prime = True if N <= 1 : is_prime = False else: for i in range(2, N, 1): if N % i == 0: is_prime = False return(is_prime) def main(): N = 139 print(f"{N} prime ? : {Naive(N)}") if __name__=="__main__": main() # %%
def naive(N): is_prime = True if N <= 1: is_prime = False else: for i in range(2, N, 1): if N % i == 0: is_prime = False return is_prime def main(): n = 139 print(f'{N} prime ? : {naive(N)}') if __name__ == '__main__': main()
''' 313B. Ilya and Queries dp, 1300, https://codeforces.com/contest/313/problem/B ''' sequence = input() length = len(sequence) m = int(input()) dp = [0] * length if sequence[0] == sequence[1]: dp[1] = 1 for i in range(1, length-1): if sequence[i] == sequence[i+1]: dp[i+1] = dp[i] + 1 else: dp[i+1] = dp[i] # print(dp) ans = [] for fake_i in range(m): l, r = [int(x) for x in input().split()] ans.append(dp[r-1]-dp[l-1]) print('\n'.join(map(str,ans)))
""" 313B. Ilya and Queries dp, 1300, https://codeforces.com/contest/313/problem/B """ sequence = input() length = len(sequence) m = int(input()) dp = [0] * length if sequence[0] == sequence[1]: dp[1] = 1 for i in range(1, length - 1): if sequence[i] == sequence[i + 1]: dp[i + 1] = dp[i] + 1 else: dp[i + 1] = dp[i] ans = [] for fake_i in range(m): (l, r) = [int(x) for x in input().split()] ans.append(dp[r - 1] - dp[l - 1]) print('\n'.join(map(str, ans)))
def has_adjacent_digits(password): digit = password % 10 while password != 0: password = password // 10 if digit == password % 10: return True else: digit = password % 10 return False def has_two_adjacent_digits(password): adjacent_digits = {} digit = password % 10 while password != 0: password = password // 10 if digit == password % 10: if digit in adjacent_digits.keys(): adjacent_digits[digit] += 1 else: adjacent_digits[digit] = 2 else: digit = password % 10 if 2 in adjacent_digits.values(): return True else: return False def has_decreasing_digits(password): digit = password % 10 while password != 0: password = password // 10 if digit < password % 10: return True else: digit = password % 10 return False def part_one(passwords): count = 0 for password in passwords: if has_adjacent_digits(password) and \ not has_decreasing_digits(password): count += 1 print("Number of passwords meeting the criteria: {}".format(count)) def part_two(passwords): count = 0 for password in passwords: if has_two_adjacent_digits(password) and \ not has_decreasing_digits(password): count += 1 print("Number of passwords meeting the criteria: {}".format(count)) if __name__ == "__main__": passwords = range(152085, 670283) part_one(passwords) part_two(passwords)
def has_adjacent_digits(password): digit = password % 10 while password != 0: password = password // 10 if digit == password % 10: return True else: digit = password % 10 return False def has_two_adjacent_digits(password): adjacent_digits = {} digit = password % 10 while password != 0: password = password // 10 if digit == password % 10: if digit in adjacent_digits.keys(): adjacent_digits[digit] += 1 else: adjacent_digits[digit] = 2 else: digit = password % 10 if 2 in adjacent_digits.values(): return True else: return False def has_decreasing_digits(password): digit = password % 10 while password != 0: password = password // 10 if digit < password % 10: return True else: digit = password % 10 return False def part_one(passwords): count = 0 for password in passwords: if has_adjacent_digits(password) and (not has_decreasing_digits(password)): count += 1 print('Number of passwords meeting the criteria: {}'.format(count)) def part_two(passwords): count = 0 for password in passwords: if has_two_adjacent_digits(password) and (not has_decreasing_digits(password)): count += 1 print('Number of passwords meeting the criteria: {}'.format(count)) if __name__ == '__main__': passwords = range(152085, 670283) part_one(passwords) part_two(passwords)
def all_perms(str): if len(str) <=1: yield str else: for perm in all_perms(str[1:]): for i in range(len(perm)+1): #nb str[0:1] works in both string and list contexts yield perm[:i] + str[0:1] + perm[i:]
def all_perms(str): if len(str) <= 1: yield str else: for perm in all_perms(str[1:]): for i in range(len(perm) + 1): yield (perm[:i] + str[0:1] + perm[i:])
#!/usr/bin/env python2 #-*- coding:utf-8 -*- """ Author: Wang, Jun Email: wangjun41@baidu.com Date: 2018-11-16 """ class BaseException(Exception): "base exception" def __init__(self, msg): self.msg = msg class UnsupportedError(BaseException): """Not support""" def __init__(self, msg): self.msg = msg class RequestMethodNotImplemented(UnsupportedError): """Request method not implemented""" def __init__(self, msg): self.msg = msg class ParameterNotFound(BaseException): """Parameter not Found""" def __init__(self, msg): self.msg = msg class ExcelFormError(BaseException): """Excel form is invalid""" def __init__(self, msg): self.msg = msg
""" Author: Wang, Jun Email: wangjun41@baidu.com Date: 2018-11-16 """ class Baseexception(Exception): """base exception""" def __init__(self, msg): self.msg = msg class Unsupportederror(BaseException): """Not support""" def __init__(self, msg): self.msg = msg class Requestmethodnotimplemented(UnsupportedError): """Request method not implemented""" def __init__(self, msg): self.msg = msg class Parameternotfound(BaseException): """Parameter not Found""" def __init__(self, msg): self.msg = msg class Excelformerror(BaseException): """Excel form is invalid""" def __init__(self, msg): self.msg = msg
# Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. def RIFF_WAVE_Checks(WAVE_block): fmt_chunk = None; fact_chunk = None; data_chunk = None; # format_description = 'WAVE - Unknown format'; if 'fmt ' not in WAVE_block._named_chunks: WAVE_block.warnings.append('expected one "fmt " block, found none'); else: fmt_chunk = WAVE_block._named_chunks['fmt '][0]; # format_description = 'WAVE - %s' % fmt_chunk._data.format_description; if 'fact' not in WAVE_block._named_chunks: if not fmt_chunk._data.is_PCM: WAVE_block.warnings.append('expected one "fact" block, found none'); else: fact_chunk = WAVE_block._named_chunks['fact'][0]; if 'data' not in WAVE_block._named_chunks: WAVE_block.warnings.append('expected one "data" block, found none'); else: data_chunk = WAVE_block._named_chunks['data'][0]; # d_chunks = set(); # d_blocks = set(); # for chunk_name in WAVE_block._named_chunks.keys(): # if chunk_name == 'LIST': # for chunk in WAVE_block._named_chunks[chunk_name]: # for block_name in chunk._named_blocks.keys(): # d_blocks.add(block_name.strip()); # elif chunk_name not in ['fmt ', 'data']: # d_chunks.add(chunk_name.strip()); # if d_chunks: # format_description += ' + chunks=' + ','.join(d_chunks); # if d_blocks: # format_description += ' + blocks=' + ','.join(d_blocks); for name, chunks in WAVE_block._named_chunks.items(): if name == 'fmt ': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append( \ 'expected only one "fmt " chunk, found %d' % len(chunks)); RIFF_WAVE_fmt_Checks(WAVE_block, chunk); if name == 'fact': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append( \ 'expected only one "fact" chunk, found %d' % len(chunks)); RIFF_WAVE_fact_Checks(WAVE_block, chunk); if name == 'cue ': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append( \ 'expected only one "cue " chunk, found %d' % len(chunks)); RIFF_WAVE_cue_Checks(WAVE_block, chunk); if name == 'PEAK': for chunk in chunks: RIFF_WAVE_PEAK_Checks(WAVE_block, chunk); if name == 'data': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append( \ 'expected only one "data" chunk, found %d' % len(chunks)); RIFF_WAVE_data_Checks(WAVE_block, chunk); # WAVE_block.notes.append(format_description); def RIFF_WAVE_fmt_Checks(WAVE_block, fmt_chunk): pass; def RIFF_WAVE_fact_Checks(WAVE_block, fact_chunk): pass; def RIFF_WAVE_cue_Checks(WAVE_block, cue_chunk): pass; def RIFF_WAVE_PEAK_Checks(WAVE_block, PEAK_chunk): # Check if peak positions are valid? pass; def RIFF_WAVE_data_Checks(WAVE_block, data_chunk): pass;
def riff_wave__checks(WAVE_block): fmt_chunk = None fact_chunk = None data_chunk = None if 'fmt ' not in WAVE_block._named_chunks: WAVE_block.warnings.append('expected one "fmt " block, found none') else: fmt_chunk = WAVE_block._named_chunks['fmt '][0] if 'fact' not in WAVE_block._named_chunks: if not fmt_chunk._data.is_PCM: WAVE_block.warnings.append('expected one "fact" block, found none') else: fact_chunk = WAVE_block._named_chunks['fact'][0] if 'data' not in WAVE_block._named_chunks: WAVE_block.warnings.append('expected one "data" block, found none') else: data_chunk = WAVE_block._named_chunks['data'][0] for (name, chunks) in WAVE_block._named_chunks.items(): if name == 'fmt ': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append('expected only one "fmt " chunk, found %d' % len(chunks)) riff_wave_fmt__checks(WAVE_block, chunk) if name == 'fact': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append('expected only one "fact" chunk, found %d' % len(chunks)) riff_wave_fact__checks(WAVE_block, chunk) if name == 'cue ': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append('expected only one "cue " chunk, found %d' % len(chunks)) riff_wave_cue__checks(WAVE_block, chunk) if name == 'PEAK': for chunk in chunks: riff_wave_peak__checks(WAVE_block, chunk) if name == 'data': for chunk in chunks: if len(chunks) > 1: chunk._name.warnings.append('expected only one "data" chunk, found %d' % len(chunks)) riff_wave_data__checks(WAVE_block, chunk) def riff_wave_fmt__checks(WAVE_block, fmt_chunk): pass def riff_wave_fact__checks(WAVE_block, fact_chunk): pass def riff_wave_cue__checks(WAVE_block, cue_chunk): pass def riff_wave_peak__checks(WAVE_block, PEAK_chunk): pass def riff_wave_data__checks(WAVE_block, data_chunk): pass
# Problem 1- Summation of primes # https://projecteuler.net/problem=10 # Answer = def question(): print("""The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million.""") def is_prime(num): if num < 2: return False for i in range(2, num): if num % i == 0: return False return True def prime_lister(bound): prime_list = [] for num in range(bound): if is_prime(num): prime_list.append(num) return prime_list def solve(bound): prime_list = prime_lister(bound) return sum(prime_list) def main(): question() print(f"The answer is {solve(2000000)}") main()
def question(): print('The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.\n\nFind the sum of all the primes below two million.') def is_prime(num): if num < 2: return False for i in range(2, num): if num % i == 0: return False return True def prime_lister(bound): prime_list = [] for num in range(bound): if is_prime(num): prime_list.append(num) return prime_list def solve(bound): prime_list = prime_lister(bound) return sum(prime_list) def main(): question() print(f'The answer is {solve(2000000)}') main()
#!/usr/bin/env python # coding: utf-8 # # 7: Dictionaries Solutions # # 1. Below are two lists, `keys` and `values`. Combine these into a single dictionary. # # ```python # keys = ['Ben', 'Ethan', 'Stefani'] # values = [1, 29, 28] # ``` # Expected output: # ```python # {'Ben': 1, 'Ethan': 29, 'Stefani': 28} # ``` # _Hint: look up the `zip()` function..._ # In[1]: keys = ['Ben', 'Ethan', 'Stefani'] values = [1, 29, 28] # Cheat way of doing it - if you thought of a clever way, good on you! my_dict = dict(zip(keys, values)) print(my_dict) # 2. Below are two dictionaries. Merge them into a single dictionary. # # ```python # dict1 = {'Ben': 1, 'Ethan': 29} # dict2 = {'Stefani': 28, 'Madonna': 16, "RuPaul": 17} # ``` # Expected output: # ```python # {'Ben': 1, 'Ethan': 29, 'Stefani': 28, 'Madonna': 16, 'RuPaul': 17} # ``` # In[6]: dict1 = {'Ben': 1, 'Ethan': 29} dict2 = {'Stefani': 28, 'Madonna': 16, "RuPaul": 17} ''' In Python 3.9+, we can use `dict3 = dict1 | dict2` In Python 3.5+ we can use `dict3 = {**dict1, **dict2}` But I'll show you the long, non-cheat way anyway ''' def merge_two_dicts(x, y) : z = x.copy() # Start with all entries in x z.update(y) # Then, add in the entries of y return z # Return dict3 = merge_two_dicts(dict1, dict2) print(dict3) # 3. From the dictionary given below, extract the keys `name` and `salary` and add them to a new dictionary. # # Dictionary: # ```python # sample_dict = { # "name": "Ethan", # "age": 21, # "salary": 1000000, # "city": "Glasgow" # } # ``` # Expected output: # ```python # {'name': 'Ethan', 'salary': 1000000} # ``` # In[14]: sampleDict = { "name": "Ethan", "age": 21, "salary": 1000000, "city": "Glasgow" } keys = ["name", "salary"] newDict = {k: sampleDict[k] for k in keys} print(newDict) # In[ ]:
keys = ['Ben', 'Ethan', 'Stefani'] values = [1, 29, 28] my_dict = dict(zip(keys, values)) print(my_dict) dict1 = {'Ben': 1, 'Ethan': 29} dict2 = {'Stefani': 28, 'Madonna': 16, 'RuPaul': 17} "\nIn Python 3.9+, we can use `dict3 = dict1 | dict2`\nIn Python 3.5+ we can use `dict3 = {**dict1, **dict2}`\nBut I'll show you the long, non-cheat way anyway\n" def merge_two_dicts(x, y): z = x.copy() z.update(y) return z dict3 = merge_two_dicts(dict1, dict2) print(dict3) sample_dict = {'name': 'Ethan', 'age': 21, 'salary': 1000000, 'city': 'Glasgow'} keys = ['name', 'salary'] new_dict = {k: sampleDict[k] for k in keys} print(newDict)
np = int(input('Say a number: ')) som = 0 for i in range(1,np): if np%i == 0: print (i), som += i if som == np: print('It is a perfect number!') else: print ('It is not a perfect number')
np = int(input('Say a number: ')) som = 0 for i in range(1, np): if np % i == 0: (print(i),) som += i if som == np: print('It is a perfect number!') else: print('It is not a perfect number')
"""The ofx parser package. A package to parse OpenFlow messages. This package is a library that parses and creates OpenFlow Messages. It contains all implemented versions of OpenFlow protocol """ __version__ = '2020.2b3'
"""The ofx parser package. A package to parse OpenFlow messages. This package is a library that parses and creates OpenFlow Messages. It contains all implemented versions of OpenFlow protocol """ __version__ = '2020.2b3'
stormtrooper = r''' ,ooo888888888888888oooo, o8888YYYYYY77iiiiooo8888888o 8888YYYY77iiYY8888888888888888 [88YYY77iiY88888888888888888888] 88YY7iYY888888888888888888888888 [88YYi 88888888888888888888888888] i88Yo8888888888888888888888888888i i] ^^^88888888^^^ o [i oi8 i o8o i 8io ,77788o ^^ ,oooo8888888ooo, ^ o88777, 7777788888888888888888888888888888877777 77777888888888888888888888888888877777 77777788888888^7777777^8888888777777 ,oooo888 ooo 88888778888^7777ooooo7777^8887788888 ,o88^^^^888oo o8888777788[];78 88888888888888888888888888888888888887 7;8^ 888888888oo^88 o888888iii788 ]; o 78888887788788888^;;^888878877888887 o7;[]88888888888888o 88888877 ii78[]8;7o 7888878^ ^8788^;;;;;;^878^ ^878877 o7;8 ]878888888888888 [88888888887888 87;7oo 777888o8888^;ii;;ii;^888o87777 oo7;7[]8778888888888888 88888888888888[]87;777oooooooooooooo888888oooooooooooo77;78]88877i78888888888 o88888888888888 877;7877788777iiiiiii;;;;;iiiiiiiii77877i;78] 88877i;788888888 88^;iiii^88888 o87;78888888888888888888888888888888888887;778] 88877ii;7788888 ;;;iiiii7iiii^ 87;;888888888888888888888888888888888888887;778] 888777ii;78888 ;iiiii7iiiii7iiii77;i88888888888888888888i7888888888888888877;77i 888877777ii78 iiiiiiiiiii7iiii7iii;;;i7778888888888888ii7788888888888777i;;;;iiii 88888888888 i;iiiiiiiiiiii7iiiiiiiiiiiiiiiiiiiiiiiiii8877iiiiiiiiiiiiiiiiiii877 88888 ii;;iiiiiiiiiiiiii;;;ii^^^;;;ii77777788888888888887777iii;; 77777 78 77iii;;iiiiiiiiii;;;ii;;;;;;;;;^^^^8888888888888888888777ii;; ii7 ;i78 ^ii;8iiiiiiii ';;;;ii;;;;;;;;;;;;;;;;;;^^oo ooooo^^^88888888;;i7 7;788 o ^;;^^88888^ 'i;;;;;;;;;;;;;;;;;;;;;;;;;;;^^^88oo^^^^888ii7 7;i788 88ooooooooo ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 788oo^;; 7;i888 887ii8788888 ;;;;;;;ii;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;^87 7;788 887i8788888^ ;;;;;;;ii;;;;;;;oo;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,, ;;888 87787888888 ;;;;;;;ii;;;;;;;888888oo;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,;i788 87i8788888^ ';;;ii;;;;;;;8888878777ii8ooo;;;;;;;;;;;;;;;;;;;;;;;;;;i788 7 77i8788888 ioo;;;;;;oo^^ooooo ^7i88^ooooo;;;;;;;;;;;;;;;;;;;;i7888 78 7i87788888o 7;ii788887i7;7;788888ooooo7888888ooo;;;;;;;;;;;;;;oo ^^^ 78 i; 7888888^ 8888^o;ii778877;7;7888887;;7;7788878;878;; ;;;;;;;i78888o ^ i8 788888 [88888^^ ooo ^^^^^;;77888^^^^;;7787^^^^ ^^;;;; iiii;i78888888 ^8 7888^ [87888 87 ^877i;i8ooooooo8778oooooo888877ii; iiiiiiii788888888 ^^^ [7i888 87;; ^8i;;i7888888888888888887888888 i7iiiiiii88888^^ 87;88 o87;;;;o 87i;;;78888788888888888888^^ o 8ii7iiiiii;; 87;i8 877;77888o ^877;;;i7888888888888^^ 7888 78iii7iii7iiii ^87; 877;778888887o 877;;88888888888^ 7ii7888 788oiiiiiiiii ^ 877;7 7888888887 877i;;8888887ii 87i78888 7888888888 [87;;7 78888888887 87i;;888887i 87ii78888 7888888888] 877;7 7788888888887 887i;887i^ 87ii788888 78888888888 87;i8 788888888888887 887ii;;^ 87ii7888888 78888888888 [87;i8 7888888888888887 ^^^^ 87ii77888888 78888888888 87;;78 7888888888888887ii 87i78888888 778888888888 87;788 7888888888888887i] 87i78888888 788888888888 [87;88 778888888888888887 7ii78888888 788888888888 87;;88 78888888888888887] ii778888888 78888888888] 7;;788 7888888888888888] i7888888888 78888888888' 7;;788 7888888888888888 'i788888888 78888888888 7;i788 788888888888888] 788888888 77888888888] '7;788 778888888888888] [788888888 78888888888' ';77888 78888888888888 8888888888 7888888888] 778888 78888888888888 8888888888 7888888888] 78888 7888888888888] [8888888888 7888888888 7888 788888888888] 88888888888 788888888] 778 78888888888] ]888888888 778888888] oooooo ^88888^ ^88888^^^^^^^^8888] 87;78888ooooooo8o ,oooooo oo888oooooo [877;i77888888888] [;78887i8888878i7888; ^877;;ii7888ii788 ;i777;7788887787;778; ^87777;;;iiii777 ;77^^^^^^^^^^^^^^^^;; ^^^^^^^^^ii7] ^ o88888888877iiioo 77777o [88777777iiiiii;;778 77777iii 8877iiiii;;;77888888] 77iiii;8 [77ii;778 788888888888 7iii;;88 iii;78888 778888888888 77i;78888] ;;;;i88888 78888888888 ,7;78888888 [;;i788888 7888888888] i;788888888 ;i7888888 7888888888 ;788888888] i77888888 788888888] ';88888888' [77888888 788888888] [[8ooo88] 78888888 788888888 [88888] 78888888 788888888 ^^^ [7888888 77888888] 88888888 7888887 77888888 7888887 ;i88888 788888i ,;;78888 788877i7 ,7;;i;777777i7i;;7 87778^^^ ^^^^87778 ^^^^ o777777o ^^^ o77777iiiiii7777o 7777iiii88888iii777 ;;;i7778888888877ii;; Imperial Stormtrooper [i77888888^^^^8888877i] (Standard Shock Trooper) 77888^oooo8888oooo^8887] [788888888888888888888888] 88888888888888888888888888 ]8888888^iiiiiiiii^888888] Bob VanderClay iiiiiiiiiiiiiiiiiiiiii ^^^^^^^^^^^^^ ------------------------------------------------ Thank you for visiting https://asciiart.website/ This ASCII pic can be found at https://asciiart.website/index.php?art=movies/star%20wars '''
stormtrooper = "\n ,ooo888888888888888oooo,\n o8888YYYYYY77iiiiooo8888888o\n 8888YYYY77iiYY8888888888888888\n [88YYY77iiY88888888888888888888]\n 88YY7iYY888888888888888888888888\n [88YYi 88888888888888888888888888]\n i88Yo8888888888888888888888888888i\n i] ^^^88888888^^^ o [i\n oi8 i o8o i 8io\n ,77788o ^^ ,oooo8888888ooo, ^ o88777,\n 7777788888888888888888888888888888877777\n 77777888888888888888888888888888877777\n 77777788888888^7777777^8888888777777\n ,oooo888 ooo 88888778888^7777ooooo7777^8887788888 ,o88^^^^888oo\n o8888777788[];78 88888888888888888888888888888888888887 7;8^ 888888888oo^88\n o888888iii788 ]; o 78888887788788888^;;^888878877888887 o7;[]88888888888888o\n 88888877 ii78[]8;7o 7888878^ ^8788^;;;;;;^878^ ^878877 o7;8 ]878888888888888\n [88888888887888 87;7oo 777888o8888^;ii;;ii;^888o87777 oo7;7[]8778888888888888\n 88888888888888[]87;777oooooooooooooo888888oooooooooooo77;78]88877i78888888888\n o88888888888888 877;7877788777iiiiiii;;;;;iiiiiiiii77877i;78] 88877i;788888888\n 88^;iiii^88888 o87;78888888888888888888888888888888888887;778] 88877ii;7788888\n;;;iiiii7iiii^ 87;;888888888888888888888888888888888888887;778] 888777ii;78888\n;iiiii7iiiii7iiii77;i88888888888888888888i7888888888888888877;77i 888877777ii78\niiiiiiiiiii7iiii7iii;;;i7778888888888888ii7788888888888777i;;;;iiii 88888888888\ni;iiiiiiiiiiii7iiiiiiiiiiiiiiiiiiiiiiiiii8877iiiiiiiiiiiiiiiiiii877 88888\nii;;iiiiiiiiiiiiii;;;ii^^^;;;ii77777788888888888887777iii;; 77777 78\n77iii;;iiiiiiiiii;;;ii;;;;;;;;;^^^^8888888888888888888777ii;; ii7 ;i78\n^ii;8iiiiiiii ';;;;ii;;;;;;;;;;;;;;;;;;^^oo ooooo^^^88888888;;i7 7;788\no ^;;^^88888^ 'i;;;;;;;;;;;;;;;;;;;;;;;;;;;^^^88oo^^^^888ii7 7;i788\n88ooooooooo ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 788oo^;; 7;i888\n887ii8788888 ;;;;;;;ii;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;^87 7;788\n887i8788888^ ;;;;;;;ii;;;;;;;oo;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,, ;;888\n87787888888 ;;;;;;;ii;;;;;;;888888oo;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;,,;i788\n87i8788888^ ';;;ii;;;;;;;8888878777ii8ooo;;;;;;;;;;;;;;;;;;;;;;;;;;i788 7\n77i8788888 ioo;;;;;;oo^^ooooo ^7i88^ooooo;;;;;;;;;;;;;;;;;;;;i7888 78\n7i87788888o 7;ii788887i7;7;788888ooooo7888888ooo;;;;;;;;;;;;;;oo ^^^ 78\ni; 7888888^ 8888^o;ii778877;7;7888887;;7;7788878;878;; ;;;;;;;i78888o ^\ni8 788888 [88888^^ ooo ^^^^^;;77888^^^^;;7787^^^^ ^^;;;; iiii;i78888888\n^8 7888^ [87888 87 ^877i;i8ooooooo8778oooooo888877ii; iiiiiiii788888888\n ^^^ [7i888 87;; ^8i;;i7888888888888888887888888 i7iiiiiii88888^^\n 87;88 o87;;;;o 87i;;;78888788888888888888^^ o 8ii7iiiiii;;\n 87;i8 877;77888o ^877;;;i7888888888888^^ 7888 78iii7iii7iiii\n ^87; 877;778888887o 877;;88888888888^ 7ii7888 788oiiiiiiiii\n ^ 877;7 7888888887 877i;;8888887ii 87i78888 7888888888\n [87;;7 78888888887 87i;;888887i 87ii78888 7888888888]\n 877;7 7788888888887 887i;887i^ 87ii788888 78888888888\n 87;i8 788888888888887 887ii;;^ 87ii7888888 78888888888\n [87;i8 7888888888888887 ^^^^ 87ii77888888 78888888888\n 87;;78 7888888888888887ii 87i78888888 778888888888\n 87;788 7888888888888887i] 87i78888888 788888888888\n [87;88 778888888888888887 7ii78888888 788888888888\n 87;;88 78888888888888887] ii778888888 78888888888]\n 7;;788 7888888888888888] i7888888888 78888888888'\n 7;;788 7888888888888888 'i788888888 78888888888\n 7;i788 788888888888888] 788888888 77888888888]\n '7;788 778888888888888] [788888888 78888888888'\n ';77888 78888888888888 8888888888 7888888888]\n 778888 78888888888888 8888888888 7888888888]\n 78888 7888888888888] [8888888888 7888888888\n 7888 788888888888] 88888888888 788888888]\n 778 78888888888] ]888888888 778888888]\n oooooo ^88888^ ^88888^^^^^^^^8888]\n 87;78888ooooooo8o ,oooooo oo888oooooo\n [877;i77888888888] [;78887i8888878i7888;\n ^877;;ii7888ii788 ;i777;7788887787;778;\n ^87777;;;iiii777 ;77^^^^^^^^^^^^^^^^;;\n ^^^^^^^^^ii7] ^ o88888888877iiioo\n 77777o [88777777iiiiii;;778\n 77777iii 8877iiiii;;;77888888]\n 77iiii;8 [77ii;778 788888888888\n 7iii;;88 iii;78888 778888888888\n 77i;78888] ;;;;i88888 78888888888\n ,7;78888888 [;;i788888 7888888888]\n i;788888888 ;i7888888 7888888888\n ;788888888] i77888888 788888888]\n ';88888888' [77888888 788888888]\n [[8ooo88] 78888888 788888888\n [88888] 78888888 788888888\n ^^^ [7888888 77888888]\n 88888888 7888887\n 77888888 7888887\n ;i88888 788888i\n ,;;78888 788877i7\n ,7;;i;777777i7i;;7\n 87778^^^ ^^^^87778\n ^^^^ o777777o ^^^\n o77777iiiiii7777o\n 7777iiii88888iii777\n ;;;i7778888888877ii;;\n Imperial Stormtrooper [i77888888^^^^8888877i]\n (Standard Shock Trooper) 77888^oooo8888oooo^8887]\n [788888888888888888888888]\n 88888888888888888888888888\n ]8888888^iiiiiiiii^888888]\n Bob VanderClay iiiiiiiiiiiiiiiiiiiiii\n ^^^^^^^^^^^^^\n\n------------------------------------------------\nThank you for visiting https://asciiart.website/\nThis ASCII pic can be found at\nhttps://asciiart.website/index.php?art=movies/star%20wars\n"
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def removeZeroSumSublists(self, head: ListNode) -> ListNode: stack = [] cur = head while cur: stack.append(cur) s = 0 for i in range(len(stack) - 1, -1, -1): s += stack[i].val if s == 0: for _ in range(len(stack) - 1, i - 1, -1): stack.pop(-1) break cur = cur.next dummy = cur = ListNode() for n in stack: n.next = None cur.next = n cur = cur.next return dummy.next
class Solution: def remove_zero_sum_sublists(self, head: ListNode) -> ListNode: stack = [] cur = head while cur: stack.append(cur) s = 0 for i in range(len(stack) - 1, -1, -1): s += stack[i].val if s == 0: for _ in range(len(stack) - 1, i - 1, -1): stack.pop(-1) break cur = cur.next dummy = cur = list_node() for n in stack: n.next = None cur.next = n cur = cur.next return dummy.next
# -*- coding: utf-8 -*- """ bandwidth This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). """ class ConferenceEventMethodEnum(object): """Implementation of the 'ConferenceEventMethod' enum. TODO: type enum description here. Attributes: POST: TODO: type description here. GET: TODO: type description here. """ POST = 'POST' GET = 'GET'
""" bandwidth This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). """ class Conferenceeventmethodenum(object): """Implementation of the 'ConferenceEventMethod' enum. TODO: type enum description here. Attributes: POST: TODO: type description here. GET: TODO: type description here. """ post = 'POST' get = 'GET'
# -*- coding: utf-8 -*- """" Author: Jean Pierre Last Edited: """
"""" Author: Jean Pierre Last Edited: """
# add your QUIC implementation here IMPLEMENTATIONS = { # name => [ docker image, role ]; role: 0 == 'client', 1 == 'server', 2 == both "quicgo": {"url": "martenseemann/quic-go-interop:latest", "role": 2}, "quicly": {"url": "janaiyengar/quicly:interop", "role": 2}, "ngtcp2": {"url": "ngtcp2/ngtcp2-interop:latest", "role": 2}, "quant": {"url": "ntap/quant:interop", "role": 2}, "mvfst": {"url": "lnicco/mvfst-qns:latest", "role": 2}, "quiche": {"url": "cloudflare/quiche-qns:latest", "role": 2}, "kwik": {"url": "peterdoornbosch/kwik_n_flupke-interop", "role": 0}, "picoquic": {"url": "privateoctopus/picoquic:latest", "role": 2}, "aioquic": {"url": "aiortc/aioquic-qns:latest", "role": 2}, }
implementations = {'quicgo': {'url': 'martenseemann/quic-go-interop:latest', 'role': 2}, 'quicly': {'url': 'janaiyengar/quicly:interop', 'role': 2}, 'ngtcp2': {'url': 'ngtcp2/ngtcp2-interop:latest', 'role': 2}, 'quant': {'url': 'ntap/quant:interop', 'role': 2}, 'mvfst': {'url': 'lnicco/mvfst-qns:latest', 'role': 2}, 'quiche': {'url': 'cloudflare/quiche-qns:latest', 'role': 2}, 'kwik': {'url': 'peterdoornbosch/kwik_n_flupke-interop', 'role': 0}, 'picoquic': {'url': 'privateoctopus/picoquic:latest', 'role': 2}, 'aioquic': {'url': 'aiortc/aioquic-qns:latest', 'role': 2}}
class WorksharingDisplayMode(Enum,IComparable,IFormattable,IConvertible): """ Indicates which worksharing display mode a view is in. enum WorksharingDisplayMode,values: CheckoutStatus (1),ModelUpdates (3),Off (0),Owners (2),Worksets (4) """ def __eq__(self,*args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """ pass def __format__(self,*args): """ __format__(formattable: IFormattable,format: str) -> str """ pass def __ge__(self,*args): pass def __gt__(self,*args): pass def __init__(self,*args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def __le__(self,*args): pass def __lt__(self,*args): pass def __ne__(self,*args): pass def __reduce_ex__(self,*args): pass def __str__(self,*args): pass CheckoutStatus=None ModelUpdates=None Off=None Owners=None value__=None Worksets=None
class Worksharingdisplaymode(Enum, IComparable, IFormattable, IConvertible): """ Indicates which worksharing display mode a view is in. enum WorksharingDisplayMode,values: CheckoutStatus (1),ModelUpdates (3),Off (0),Owners (2),Worksets (4) """ def __eq__(self, *args): """ x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """ pass def __format__(self, *args): """ __format__(formattable: IFormattable,format: str) -> str """ pass def __ge__(self, *args): pass def __gt__(self, *args): pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def __le__(self, *args): pass def __lt__(self, *args): pass def __ne__(self, *args): pass def __reduce_ex__(self, *args): pass def __str__(self, *args): pass checkout_status = None model_updates = None off = None owners = None value__ = None worksets = None
class Solution: def arrayNesting(self, nums): """ :type nums: List[int] :rtype: int """ dic={} for i in range(len(nums)): if i in dic: continue j=i dic[j]=1 while nums[i]!=j: dic[j]+=1 i=nums[i] dic[i]=1 return max(dic.values())
class Solution: def array_nesting(self, nums): """ :type nums: List[int] :rtype: int """ dic = {} for i in range(len(nums)): if i in dic: continue j = i dic[j] = 1 while nums[i] != j: dic[j] += 1 i = nums[i] dic[i] = 1 return max(dic.values())
class Solution: def eraseOverlapIntervals(self, intervals: List[List[int]]) -> int: """ [1,2],[2,3],[3,4],[1,3] [(1,s), (1,s), (2,e), (2, s), (3, e), (3, e), (3, s), (4,e)] """ events = [] for start, end in intervals: events.append((start, 0)) events.append((end, 1)) events.sort(key=lambda x: (x[1], x[0])) processed_events = [] skipped_events = 0 balance = 0 start = 0 for time, e_type in events: if balance > 0 and e_type == 0: skipped_events += 1 balance += 1 if e_type.START else -1 return skipped_events def eraseOverlapIntervals(self, intervals: List[List[int]]) -> int: """ [1,2],[1,5],[2,3],[3,4] [1,2],[2,3],[3,4] """ events = sorted(intervals, key=lambda x: x[1]) processed_events = [] skipped_events = 0 for start, end in events: if processed_events and processed_events[-1][1] > start: skipped_events += 1 else: processed_events.append([start, end]) return skipped_events
class Solution: def erase_overlap_intervals(self, intervals: List[List[int]]) -> int: """ [1,2],[2,3],[3,4],[1,3] [(1,s), (1,s), (2,e), (2, s), (3, e), (3, e), (3, s), (4,e)] """ events = [] for (start, end) in intervals: events.append((start, 0)) events.append((end, 1)) events.sort(key=lambda x: (x[1], x[0])) processed_events = [] skipped_events = 0 balance = 0 start = 0 for (time, e_type) in events: if balance > 0 and e_type == 0: skipped_events += 1 balance += 1 if e_type.START else -1 return skipped_events def erase_overlap_intervals(self, intervals: List[List[int]]) -> int: """ [1,2],[1,5],[2,3],[3,4] [1,2],[2,3],[3,4] """ events = sorted(intervals, key=lambda x: x[1]) processed_events = [] skipped_events = 0 for (start, end) in events: if processed_events and processed_events[-1][1] > start: skipped_events += 1 else: processed_events.append([start, end]) return skipped_events
# https://stackoverflow.com/questions/16017397/injecting-function-call-after-init-with-decorator # define a new metaclass which overrides the "__call__" function class InitModifier(type): def __call__(cls, *args, **kwargs): """Called when you call MyNewClass() """ obj = type.__call__(cls, *args, **kwargs) # Each time init() is called, so is freeze() obj._freeze() return obj # https://stackoverflow.com/questions/3603502/prevent-creating-new-attributes-outside-init class FrozenClassTemplate(object): __isfrozen = False def __setattr__(self, key, value): if self.__isfrozen and not hasattr(self, key): raise TypeError( "\"" + self.__class__.__name__ + "\" is a frozen class. " "Adding of attributes after init() is forbidden. " "Attribute \"" + str(key) + "\" is not defined. " "Did you misspelled the attribute?" ) object.__setattr__(self, key, value) def _freeze(self): self.__isfrozen = True class FrozenClass(FrozenClassTemplate): # Note: named tuples are immutable, -> can't use them for this purpose __metaclass__ = InitModifier
class Initmodifier(type): def __call__(cls, *args, **kwargs): """Called when you call MyNewClass() """ obj = type.__call__(cls, *args, **kwargs) obj._freeze() return obj class Frozenclasstemplate(object): __isfrozen = False def __setattr__(self, key, value): if self.__isfrozen and (not hasattr(self, key)): raise type_error('"' + self.__class__.__name__ + '" is a frozen class. Adding of attributes after init() is forbidden. Attribute "' + str(key) + '" is not defined. Did you misspelled the attribute?') object.__setattr__(self, key, value) def _freeze(self): self.__isfrozen = True class Frozenclass(FrozenClassTemplate): __metaclass__ = InitModifier
# # PySNMP MIB module ADTRAN-AOS (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ADTRAN-AOS # Produced by pysmi-0.3.4 at Mon Apr 29 16:58:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # adShared, adIdentityShared = mibBuilder.importSymbols("ADTRAN-MIB", "adShared", "adIdentityShared") OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, ModuleIdentity, Counter32, Bits, Counter64, Gauge32, MibIdentifier, iso, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Unsigned32, TimeTicks, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "ModuleIdentity", "Counter32", "Bits", "Counter64", "Gauge32", "MibIdentifier", "iso", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Unsigned32", "TimeTicks", "ObjectIdentity") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") adGenAOSMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 664, 6, 10000, 53)) adGenAOSMib.setRevisions(('2014-09-10 00:00', '2012-04-27 00:00', '2010-07-05 00:00', '2004-10-20 00:00',)) if mibBuilder.loadTexts: adGenAOSMib.setLastUpdated('201409100000Z') if mibBuilder.loadTexts: adGenAOSMib.setOrganization('ADTRAN, Inc.') adGenAOS = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53)) adGenAOSCommon = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 1)) adGenAOSRouter = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 2)) adGenAOSSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 3)) adGenAOSSwitch = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 4)) adGenAOSVoice = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 5)) adGenAOSWan = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 6)) adGenAOSPower = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 7)) adGenAOSConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 99)) adGenAOSApplications = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 8)) adGenAOSMef = MibIdentifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 9)) mibBuilder.exportSymbols("ADTRAN-AOS", adGenAOSSwitch=adGenAOSSwitch, adGenAOSPower=adGenAOSPower, adGenAOSMef=adGenAOSMef, adGenAOSWan=adGenAOSWan, adGenAOSVoice=adGenAOSVoice, adGenAOSConformance=adGenAOSConformance, adGenAOS=adGenAOS, PYSNMP_MODULE_ID=adGenAOSMib, adGenAOSSecurity=adGenAOSSecurity, adGenAOSMib=adGenAOSMib, adGenAOSRouter=adGenAOSRouter, adGenAOSApplications=adGenAOSApplications, adGenAOSCommon=adGenAOSCommon)
(ad_shared, ad_identity_shared) = mibBuilder.importSymbols('ADTRAN-MIB', 'adShared', 'adIdentityShared') (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, value_size_constraint, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, module_identity, counter32, bits, counter64, gauge32, mib_identifier, iso, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, unsigned32, time_ticks, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'ModuleIdentity', 'Counter32', 'Bits', 'Counter64', 'Gauge32', 'MibIdentifier', 'iso', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'Unsigned32', 'TimeTicks', 'ObjectIdentity') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') ad_gen_aos_mib = module_identity((1, 3, 6, 1, 4, 1, 664, 6, 10000, 53)) adGenAOSMib.setRevisions(('2014-09-10 00:00', '2012-04-27 00:00', '2010-07-05 00:00', '2004-10-20 00:00')) if mibBuilder.loadTexts: adGenAOSMib.setLastUpdated('201409100000Z') if mibBuilder.loadTexts: adGenAOSMib.setOrganization('ADTRAN, Inc.') ad_gen_aos = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53)) ad_gen_aos_common = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 1)) ad_gen_aos_router = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 2)) ad_gen_aos_security = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 3)) ad_gen_aos_switch = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 4)) ad_gen_aos_voice = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 5)) ad_gen_aos_wan = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 6)) ad_gen_aos_power = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 7)) ad_gen_aos_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 99)) ad_gen_aos_applications = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 8)) ad_gen_aos_mef = mib_identifier((1, 3, 6, 1, 4, 1, 664, 5, 53, 9)) mibBuilder.exportSymbols('ADTRAN-AOS', adGenAOSSwitch=adGenAOSSwitch, adGenAOSPower=adGenAOSPower, adGenAOSMef=adGenAOSMef, adGenAOSWan=adGenAOSWan, adGenAOSVoice=adGenAOSVoice, adGenAOSConformance=adGenAOSConformance, adGenAOS=adGenAOS, PYSNMP_MODULE_ID=adGenAOSMib, adGenAOSSecurity=adGenAOSSecurity, adGenAOSMib=adGenAOSMib, adGenAOSRouter=adGenAOSRouter, adGenAOSApplications=adGenAOSApplications, adGenAOSCommon=adGenAOSCommon)
chars_to_remove = ["-", ",", ".", "!", "?"] with open('text.txt') as text_file: for i, line in enumerate(text_file): if i % 2 == 0: for char in line: if char in chars_to_remove: line = line.replace(char, '@') print(' '.join(reversed(line.split())))
chars_to_remove = ['-', ',', '.', '!', '?'] with open('text.txt') as text_file: for (i, line) in enumerate(text_file): if i % 2 == 0: for char in line: if char in chars_to_remove: line = line.replace(char, '@') print(' '.join(reversed(line.split())))
def hvplot_with_buffer(gdf, buffer_size, *args, **kwargs): """ Convenience function for plotting a GeoPandas point GeoDataFrame using point markers plus buffer polygons Parameters ---------- gdf : geopandas.GeoDataFrame point GeoDataFrame to plot buffer_size : numeric size of the buffer in meters (measured in EPSG:31287) """ buffered = gdf.to_crs('epsg:31287').buffer(buffer_size) buffered = gdf.copy().set_geometry(buffered).to_crs('epsg:4326') plot = ( buffered.hvplot(geo=True, tiles='OSM', alpha=0.5, line_width=0, *args, **kwargs) * gdf.hvplot(geo=True, hover_cols=['DESIGNATION']) ).opts(active_tools=['wheel_zoom']) return plot
def hvplot_with_buffer(gdf, buffer_size, *args, **kwargs): """ Convenience function for plotting a GeoPandas point GeoDataFrame using point markers plus buffer polygons Parameters ---------- gdf : geopandas.GeoDataFrame point GeoDataFrame to plot buffer_size : numeric size of the buffer in meters (measured in EPSG:31287) """ buffered = gdf.to_crs('epsg:31287').buffer(buffer_size) buffered = gdf.copy().set_geometry(buffered).to_crs('epsg:4326') plot = (buffered.hvplot(*args, geo=True, tiles='OSM', alpha=0.5, line_width=0, **kwargs) * gdf.hvplot(geo=True, hover_cols=['DESIGNATION'])).opts(active_tools=['wheel_zoom']) return plot
# (C) Datadog, Inc. 2019 # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) STANDARD = [ 'sap_hana.backup.latest', 'sap_hana.connection.idle', 'sap_hana.connection.open', 'sap_hana.connection.running', 'sap_hana.cpu.service.utilized', 'sap_hana.disk.free', 'sap_hana.disk.size', 'sap_hana.disk.used', 'sap_hana.disk.utilized', 'sap_hana.file.service.open', 'sap_hana.memory.row_store.free', 'sap_hana.memory.row_store.total', 'sap_hana.memory.row_store.used', 'sap_hana.memory.row_store.utilized', 'sap_hana.memory.service.component.used', 'sap_hana.memory.service.compactor.free', 'sap_hana.memory.service.compactor.total', 'sap_hana.memory.service.compactor.used', 'sap_hana.memory.service.compactor.utilized', 'sap_hana.memory.service.heap.free', 'sap_hana.memory.service.heap.total', 'sap_hana.memory.service.heap.used', 'sap_hana.memory.service.heap.utilized', 'sap_hana.memory.service.overall.physical.total', 'sap_hana.memory.service.overall.free', 'sap_hana.memory.service.overall.total', 'sap_hana.memory.service.overall.used', 'sap_hana.memory.service.overall.utilized', 'sap_hana.memory.service.overall.virtual.total', 'sap_hana.memory.service.shared.free', 'sap_hana.memory.service.shared.total', 'sap_hana.memory.service.shared.used', 'sap_hana.memory.service.shared.utilized', 'sap_hana.network.service.request.active', 'sap_hana.network.service.request.external.total_finished', 'sap_hana.network.service.request.internal.total_finished', 'sap_hana.network.service.request.pending', 'sap_hana.network.service.request.per_second', 'sap_hana.network.service.request.response_time', 'sap_hana.network.service.request.total_finished', 'sap_hana.thread.service.active', 'sap_hana.thread.service.inactive', 'sap_hana.thread.service.total', 'sap_hana.uptime', 'sap_hana.volume.io.read.count', 'sap_hana.volume.io.read.size.count', 'sap_hana.volume.io.read.size.total', 'sap_hana.volume.io.read.total', 'sap_hana.volume.io.read.utilized', 'sap_hana.volume.io.throughput', 'sap_hana.volume.io.utilized', 'sap_hana.volume.io.write.count', 'sap_hana.volume.io.write.size.count', 'sap_hana.volume.io.write.size.total', 'sap_hana.volume.io.write.total', 'sap_hana.volume.io.write.utilized', ]
standard = ['sap_hana.backup.latest', 'sap_hana.connection.idle', 'sap_hana.connection.open', 'sap_hana.connection.running', 'sap_hana.cpu.service.utilized', 'sap_hana.disk.free', 'sap_hana.disk.size', 'sap_hana.disk.used', 'sap_hana.disk.utilized', 'sap_hana.file.service.open', 'sap_hana.memory.row_store.free', 'sap_hana.memory.row_store.total', 'sap_hana.memory.row_store.used', 'sap_hana.memory.row_store.utilized', 'sap_hana.memory.service.component.used', 'sap_hana.memory.service.compactor.free', 'sap_hana.memory.service.compactor.total', 'sap_hana.memory.service.compactor.used', 'sap_hana.memory.service.compactor.utilized', 'sap_hana.memory.service.heap.free', 'sap_hana.memory.service.heap.total', 'sap_hana.memory.service.heap.used', 'sap_hana.memory.service.heap.utilized', 'sap_hana.memory.service.overall.physical.total', 'sap_hana.memory.service.overall.free', 'sap_hana.memory.service.overall.total', 'sap_hana.memory.service.overall.used', 'sap_hana.memory.service.overall.utilized', 'sap_hana.memory.service.overall.virtual.total', 'sap_hana.memory.service.shared.free', 'sap_hana.memory.service.shared.total', 'sap_hana.memory.service.shared.used', 'sap_hana.memory.service.shared.utilized', 'sap_hana.network.service.request.active', 'sap_hana.network.service.request.external.total_finished', 'sap_hana.network.service.request.internal.total_finished', 'sap_hana.network.service.request.pending', 'sap_hana.network.service.request.per_second', 'sap_hana.network.service.request.response_time', 'sap_hana.network.service.request.total_finished', 'sap_hana.thread.service.active', 'sap_hana.thread.service.inactive', 'sap_hana.thread.service.total', 'sap_hana.uptime', 'sap_hana.volume.io.read.count', 'sap_hana.volume.io.read.size.count', 'sap_hana.volume.io.read.size.total', 'sap_hana.volume.io.read.total', 'sap_hana.volume.io.read.utilized', 'sap_hana.volume.io.throughput', 'sap_hana.volume.io.utilized', 'sap_hana.volume.io.write.count', 'sap_hana.volume.io.write.size.count', 'sap_hana.volume.io.write.size.total', 'sap_hana.volume.io.write.total', 'sap_hana.volume.io.write.utilized']
def boxes_packing(length, width, height): total=[sorted((i,j,k)) for i,j,k in zip(length, width, height)] res=sorted(total, key=lambda x: -min(x)) for i,j in enumerate(res[1:]): if any((k-l)<=0 for k,l in zip(res[i], j)): return False return True
def boxes_packing(length, width, height): total = [sorted((i, j, k)) for (i, j, k) in zip(length, width, height)] res = sorted(total, key=lambda x: -min(x)) for (i, j) in enumerate(res[1:]): if any((k - l <= 0 for (k, l) in zip(res[i], j))): return False return True
{ 'includes': [ '../common.gyp' ], 'targets': [ { 'target_name': 'libjpeg', 'type': 'static_library', 'include_dirs': [ '.', ], 'sources': [ 'ckconfig.c', 'jcapimin.c', 'jcapistd.c', 'jccoefct.c', 'jccolor.c', 'jcdctmgr.c', 'jchuff.c', 'jcinit.c', 'jcmainct.c', 'jcmarker.c', 'jcmaster.c', 'jcomapi.c', 'jcparam.c', 'jcphuff.c', 'jcprepct.c', 'jcsample.c', 'jctrans.c', 'jdapimin.c', 'jdapistd.c', 'jdatadst.c', 'jdatasrc.c', 'jdcoefct.c', 'jdcolor.c', 'jddctmgr.c', 'jdhuff.c', 'jdinput.c', 'jdmainct.c', 'jdmarker.c', 'jdmaster.c', 'jdmerge.c', 'jdphuff.c', 'jdpostct.c', 'jdsample.c', 'jdtrans.c', 'jerror.c', 'jfdctflt.c', 'jfdctfst.c', 'jfdctint.c', 'jidctflt.c', 'jidctfst.c', 'jidctint.c', 'jidctred.c', 'jmemansi.c', #'jmemdos.c', #'jmemmac.c', 'jmemmgr.c', #'jmemname.c', #'jmemnobs.c', 'jquant1.c', 'jquant2.c', 'jutils.c', ], }, ] }
{'includes': ['../common.gyp'], 'targets': [{'target_name': 'libjpeg', 'type': 'static_library', 'include_dirs': ['.'], 'sources': ['ckconfig.c', 'jcapimin.c', 'jcapistd.c', 'jccoefct.c', 'jccolor.c', 'jcdctmgr.c', 'jchuff.c', 'jcinit.c', 'jcmainct.c', 'jcmarker.c', 'jcmaster.c', 'jcomapi.c', 'jcparam.c', 'jcphuff.c', 'jcprepct.c', 'jcsample.c', 'jctrans.c', 'jdapimin.c', 'jdapistd.c', 'jdatadst.c', 'jdatasrc.c', 'jdcoefct.c', 'jdcolor.c', 'jddctmgr.c', 'jdhuff.c', 'jdinput.c', 'jdmainct.c', 'jdmarker.c', 'jdmaster.c', 'jdmerge.c', 'jdphuff.c', 'jdpostct.c', 'jdsample.c', 'jdtrans.c', 'jerror.c', 'jfdctflt.c', 'jfdctfst.c', 'jfdctint.c', 'jidctflt.c', 'jidctfst.c', 'jidctint.c', 'jidctred.c', 'jmemansi.c', 'jmemmgr.c', 'jquant1.c', 'jquant2.c', 'jutils.c']}]}
# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'target_defaults': { 'defines': [ '_LIB', 'XML_STATIC', # Compile for static linkage. ], 'include_dirs': [ 'files/lib', ], 'dependencies': [ ] }, 'conditions': [ ['OS=="linux" or OS=="freebsd"', { # On Linux, we implicitly already depend on expat via fontconfig; # let's not pull it in twice. 'targets': [ { 'target_name': 'expat', 'type': 'settings', 'link_settings': { 'libraries': [ '-lexpat', ], }, }, ], }, { # OS != linux 'targets': [ { 'target_name': 'expat', 'type': '<(library)', 'sources': [ 'files/lib/expat.h', 'files/lib/xmlparse.c', 'files/lib/xmlrole.c', 'files/lib/xmltok.c', ], # Prefer adding a dependency to expat and relying on the following # direct_dependent_settings rule over manually adding the include # path. This is because you'll want any translation units that # #include these files to pick up the #defines as well. 'direct_dependent_settings': { 'include_dirs': [ 'files/lib' ], 'defines': [ 'XML_STATIC', # Tell dependants to expect static linkage. ], }, 'conditions': [ ['OS=="win"', { 'defines': [ 'COMPILED_FROM_DSP', ], }], ['OS=="mac" or OS=="freebsd"', { 'defines': [ 'HAVE_EXPAT_CONFIG_H', ], }], ], }, ], }], ], } # Local Variables: # tab-width:2 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=2 shiftwidth=2:
{'target_defaults': {'defines': ['_LIB', 'XML_STATIC'], 'include_dirs': ['files/lib'], 'dependencies': []}, 'conditions': [['OS=="linux" or OS=="freebsd"', {'targets': [{'target_name': 'expat', 'type': 'settings', 'link_settings': {'libraries': ['-lexpat']}}]}, {'targets': [{'target_name': 'expat', 'type': '<(library)', 'sources': ['files/lib/expat.h', 'files/lib/xmlparse.c', 'files/lib/xmlrole.c', 'files/lib/xmltok.c'], 'direct_dependent_settings': {'include_dirs': ['files/lib'], 'defines': ['XML_STATIC']}, 'conditions': [['OS=="win"', {'defines': ['COMPILED_FROM_DSP']}], ['OS=="mac" or OS=="freebsd"', {'defines': ['HAVE_EXPAT_CONFIG_H']}]]}]}]]}
""" BSD 3-Clause License Copyright (c) 2018, Jerrad Genson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Inspired by code in "Machine Learning: An Algorithmic Perspective" by Dr. Stephen Marsland. """ def normalize(data): """ Normalize data set to have zero mean and unit variance. Args data: A numpy array of arrays containing input or target data. Returns A normalized numpy array of arrays. """ return (data - data.mean(axis=0)) / data.var(axis=0)
""" BSD 3-Clause License Copyright (c) 2018, Jerrad Genson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Inspired by code in "Machine Learning: An Algorithmic Perspective" by Dr. Stephen Marsland. """ def normalize(data): """ Normalize data set to have zero mean and unit variance. Args data: A numpy array of arrays containing input or target data. Returns A normalized numpy array of arrays. """ return (data - data.mean(axis=0)) / data.var(axis=0)
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** _SNAKE_TO_CAMEL_CASE_TABLE = { "acceleration_status": "accelerationStatus", "accelerator_arn": "acceleratorArn", "accept_status": "acceptStatus", "acceptance_required": "acceptanceRequired", "access_log_settings": "accessLogSettings", "access_logs": "accessLogs", "access_policies": "accessPolicies", "access_policy": "accessPolicy", "access_url": "accessUrl", "account_aggregation_source": "accountAggregationSource", "account_alias": "accountAlias", "account_id": "accountId", "actions_enabled": "actionsEnabled", "activated_rules": "activatedRules", "activation_code": "activationCode", "activation_key": "activationKey", "active_directory_id": "activeDirectoryId", "active_trusted_signers": "activeTrustedSigners", "add_header_actions": "addHeaderActions", "additional_artifacts": "additionalArtifacts", "additional_authentication_providers": "additionalAuthenticationProviders", "additional_info": "additionalInfo", "additional_schema_elements": "additionalSchemaElements", "address_family": "addressFamily", "adjustment_type": "adjustmentType", "admin_account_id": "adminAccountId", "admin_create_user_config": "adminCreateUserConfig", "administration_role_arn": "administrationRoleArn", "advanced_options": "advancedOptions", "agent_arns": "agentArns", "agent_version": "agentVersion", "alarm_actions": "alarmActions", "alarm_configuration": "alarmConfiguration", "alarm_description": "alarmDescription", "alb_target_group_arn": "albTargetGroupArn", "alias_attributes": "aliasAttributes", "all_settings": "allSettings", "allocated_capacity": "allocatedCapacity", "allocated_memory": "allocatedMemory", "allocated_storage": "allocatedStorage", "allocation_id": "allocationId", "allocation_strategy": "allocationStrategy", "allow_external_principals": "allowExternalPrincipals", "allow_major_version_upgrade": "allowMajorVersionUpgrade", "allow_overwrite": "allowOverwrite", "allow_reassociation": "allowReassociation", "allow_self_management": "allowSelfManagement", "allow_ssh": "allowSsh", "allow_sudo": "allowSudo", "allow_unassociated_targets": "allowUnassociatedTargets", "allow_unauthenticated_identities": "allowUnauthenticatedIdentities", "allow_users_to_change_password": "allowUsersToChangePassword", "allow_version_upgrade": "allowVersionUpgrade", "allowed_oauth_flows": "allowedOauthFlows", "allowed_oauth_flows_user_pool_client": "allowedOauthFlowsUserPoolClient", "allowed_oauth_scopes": "allowedOauthScopes", "allowed_pattern": "allowedPattern", "allowed_prefixes": "allowedPrefixes", "allowed_principals": "allowedPrincipals", "amazon_address": "amazonAddress", "amazon_side_asn": "amazonSideAsn", "ami_id": "amiId", "ami_type": "amiType", "analytics_configuration": "analyticsConfiguration", "analyzer_name": "analyzerName", "api_endpoint": "apiEndpoint", "api_id": "apiId", "api_key": "apiKey", "api_key_required": "apiKeyRequired", "api_key_selection_expression": "apiKeySelectionExpression", "api_key_source": "apiKeySource", "api_mapping_key": "apiMappingKey", "api_mapping_selection_expression": "apiMappingSelectionExpression", "api_stages": "apiStages", "app_name": "appName", "app_server": "appServer", "app_server_version": "appServerVersion", "app_sources": "appSources", "application_failure_feedback_role_arn": "applicationFailureFeedbackRoleArn", "application_id": "applicationId", "application_success_feedback_role_arn": "applicationSuccessFeedbackRoleArn", "application_success_feedback_sample_rate": "applicationSuccessFeedbackSampleRate", "apply_immediately": "applyImmediately", "approval_rules": "approvalRules", "approved_patches": "approvedPatches", "approved_patches_compliance_level": "approvedPatchesComplianceLevel", "appversion_lifecycle": "appversionLifecycle", "arn_suffix": "arnSuffix", "artifact_store": "artifactStore", "assign_generated_ipv6_cidr_block": "assignGeneratedIpv6CidrBlock", "assign_ipv6_address_on_creation": "assignIpv6AddressOnCreation", "associate_public_ip_address": "associatePublicIpAddress", "associate_with_private_ip": "associateWithPrivateIp", "associated_gateway_id": "associatedGatewayId", "associated_gateway_owner_account_id": "associatedGatewayOwnerAccountId", "associated_gateway_type": "associatedGatewayType", "association_default_route_table_id": "associationDefaultRouteTableId", "association_id": "associationId", "association_name": "associationName", "assume_role_policy": "assumeRolePolicy", "at_rest_encryption_enabled": "atRestEncryptionEnabled", "attachment_id": "attachmentId", "attachments_sources": "attachmentsSources", "attribute_mapping": "attributeMapping", "audio_codec_options": "audioCodecOptions", "audit_stream_arn": "auditStreamArn", "auth_token": "authToken", "auth_type": "authType", "authentication_configuration": "authenticationConfiguration", "authentication_options": "authenticationOptions", "authentication_type": "authenticationType", "authorization_scopes": "authorizationScopes", "authorization_type": "authorizationType", "authorizer_credentials": "authorizerCredentials", "authorizer_credentials_arn": "authorizerCredentialsArn", "authorizer_id": "authorizerId", "authorizer_result_ttl_in_seconds": "authorizerResultTtlInSeconds", "authorizer_type": "authorizerType", "authorizer_uri": "authorizerUri", "auto_accept": "autoAccept", "auto_accept_shared_attachments": "autoAcceptSharedAttachments", "auto_assign_elastic_ips": "autoAssignElasticIps", "auto_assign_public_ips": "autoAssignPublicIps", "auto_bundle_on_deploy": "autoBundleOnDeploy", "auto_deploy": "autoDeploy", "auto_deployed": "autoDeployed", "auto_enable": "autoEnable", "auto_healing": "autoHealing", "auto_minor_version_upgrade": "autoMinorVersionUpgrade", "auto_rollback_configuration": "autoRollbackConfiguration", "auto_scaling_group_provider": "autoScalingGroupProvider", "auto_scaling_type": "autoScalingType", "auto_verified_attributes": "autoVerifiedAttributes", "automated_snapshot_retention_period": "automatedSnapshotRetentionPeriod", "automatic_backup_retention_days": "automaticBackupRetentionDays", "automatic_failover_enabled": "automaticFailoverEnabled", "automatic_stop_time_minutes": "automaticStopTimeMinutes", "automation_target_parameter_name": "automationTargetParameterName", "autoscaling_group_name": "autoscalingGroupName", "autoscaling_groups": "autoscalingGroups", "autoscaling_policy": "autoscalingPolicy", "autoscaling_role": "autoscalingRole", "availability_zone": "availabilityZone", "availability_zone_id": "availabilityZoneId", "availability_zone_name": "availabilityZoneName", "availability_zones": "availabilityZones", "aws_account_id": "awsAccountId", "aws_device": "awsDevice", "aws_flow_ruby_settings": "awsFlowRubySettings", "aws_kms_key_arn": "awsKmsKeyArn", "aws_service_access_principals": "awsServiceAccessPrincipals", "aws_service_name": "awsServiceName", "az_mode": "azMode", "backtrack_window": "backtrackWindow", "backup_retention_period": "backupRetentionPeriod", "backup_window": "backupWindow", "badge_enabled": "badgeEnabled", "badge_url": "badgeUrl", "base_endpoint_dns_names": "baseEndpointDnsNames", "base_path": "basePath", "baseline_id": "baselineId", "batch_size": "batchSize", "batch_target": "batchTarget", "behavior_on_mx_failure": "behaviorOnMxFailure", "berkshelf_version": "berkshelfVersion", "bgp_asn": "bgpAsn", "bgp_auth_key": "bgpAuthKey", "bgp_peer_id": "bgpPeerId", "bgp_status": "bgpStatus", "bid_price": "bidPrice", "billing_mode": "billingMode", "binary_media_types": "binaryMediaTypes", "bisect_batch_on_function_error": "bisectBatchOnFunctionError", "block_device_mappings": "blockDeviceMappings", "block_duration_minutes": "blockDurationMinutes", "block_public_acls": "blockPublicAcls", "block_public_policy": "blockPublicPolicy", "blue_green_deployment_config": "blueGreenDeploymentConfig", "blueprint_id": "blueprintId", "bootstrap_actions": "bootstrapActions", "bootstrap_brokers": "bootstrapBrokers", "bootstrap_brokers_tls": "bootstrapBrokersTls", "bounce_actions": "bounceActions", "branch_filter": "branchFilter", "broker_name": "brokerName", "broker_node_group_info": "brokerNodeGroupInfo", "bucket_domain_name": "bucketDomainName", "bucket_name": "bucketName", "bucket_prefix": "bucketPrefix", "bucket_regional_domain_name": "bucketRegionalDomainName", "budget_type": "budgetType", "build_id": "buildId", "build_timeout": "buildTimeout", "bundle_id": "bundleId", "bundler_version": "bundlerVersion", "byte_match_tuples": "byteMatchTuples", "ca_cert_identifier": "caCertIdentifier", "cache_cluster_enabled": "cacheClusterEnabled", "cache_cluster_size": "cacheClusterSize", "cache_control": "cacheControl", "cache_key_parameters": "cacheKeyParameters", "cache_namespace": "cacheNamespace", "cache_nodes": "cacheNodes", "caching_config": "cachingConfig", "callback_urls": "callbackUrls", "caller_reference": "callerReference", "campaign_hook": "campaignHook", "capacity_provider_strategies": "capacityProviderStrategies", "capacity_providers": "capacityProviders", "capacity_reservation_specification": "capacityReservationSpecification", "catalog_id": "catalogId", "catalog_targets": "catalogTargets", "cdc_start_time": "cdcStartTime", "certificate_arn": "certificateArn", "certificate_authority": "certificateAuthority", "certificate_authority_arn": "certificateAuthorityArn", "certificate_authority_configuration": "certificateAuthorityConfiguration", "certificate_body": "certificateBody", "certificate_chain": "certificateChain", "certificate_id": "certificateId", "certificate_name": "certificateName", "certificate_pem": "certificatePem", "certificate_private_key": "certificatePrivateKey", "certificate_signing_request": "certificateSigningRequest", "certificate_upload_date": "certificateUploadDate", "certificate_wallet": "certificateWallet", "channel_id": "channelId", "chap_enabled": "chapEnabled", "character_set_name": "characterSetName", "child_health_threshold": "childHealthThreshold", "child_healthchecks": "childHealthchecks", "cidr_block": "cidrBlock", "cidr_blocks": "cidrBlocks", "ciphertext_blob": "ciphertextBlob", "classification_type": "classificationType", "client_affinity": "clientAffinity", "client_authentication": "clientAuthentication", "client_certificate_id": "clientCertificateId", "client_cidr_block": "clientCidrBlock", "client_id": "clientId", "client_id_lists": "clientIdLists", "client_lists": "clientLists", "client_secret": "clientSecret", "client_token": "clientToken", "client_vpn_endpoint_id": "clientVpnEndpointId", "clone_url_http": "cloneUrlHttp", "clone_url_ssh": "cloneUrlSsh", "cloud_watch_logs_group_arn": "cloudWatchLogsGroupArn", "cloud_watch_logs_role_arn": "cloudWatchLogsRoleArn", "cloudfront_access_identity_path": "cloudfrontAccessIdentityPath", "cloudfront_distribution_arn": "cloudfrontDistributionArn", "cloudfront_domain_name": "cloudfrontDomainName", "cloudfront_zone_id": "cloudfrontZoneId", "cloudwatch_alarm": "cloudwatchAlarm", "cloudwatch_alarm_name": "cloudwatchAlarmName", "cloudwatch_alarm_region": "cloudwatchAlarmRegion", "cloudwatch_destinations": "cloudwatchDestinations", "cloudwatch_log_group_arn": "cloudwatchLogGroupArn", "cloudwatch_logging_options": "cloudwatchLoggingOptions", "cloudwatch_metric": "cloudwatchMetric", "cloudwatch_role_arn": "cloudwatchRoleArn", "cluster_address": "clusterAddress", "cluster_certificates": "clusterCertificates", "cluster_config": "clusterConfig", "cluster_endpoint_identifier": "clusterEndpointIdentifier", "cluster_id": "clusterId", "cluster_identifier": "clusterIdentifier", "cluster_identifier_prefix": "clusterIdentifierPrefix", "cluster_members": "clusterMembers", "cluster_mode": "clusterMode", "cluster_name": "clusterName", "cluster_parameter_group_name": "clusterParameterGroupName", "cluster_public_key": "clusterPublicKey", "cluster_resource_id": "clusterResourceId", "cluster_revision_number": "clusterRevisionNumber", "cluster_security_groups": "clusterSecurityGroups", "cluster_state": "clusterState", "cluster_subnet_group_name": "clusterSubnetGroupName", "cluster_type": "clusterType", "cluster_version": "clusterVersion", "cname_prefix": "cnamePrefix", "cognito_identity_providers": "cognitoIdentityProviders", "cognito_options": "cognitoOptions", "company_code": "companyCode", "comparison_operator": "comparisonOperator", "compatible_runtimes": "compatibleRuntimes", "complete_lock": "completeLock", "compliance_severity": "complianceSeverity", "compute_environment_name": "computeEnvironmentName", "compute_environment_name_prefix": "computeEnvironmentNamePrefix", "compute_environments": "computeEnvironments", "compute_platform": "computePlatform", "compute_resources": "computeResources", "computer_name": "computerName", "configuration_endpoint": "configurationEndpoint", "configuration_endpoint_address": "configurationEndpointAddress", "configuration_id": "configurationId", "configuration_info": "configurationInfo", "configuration_manager_name": "configurationManagerName", "configuration_manager_version": "configurationManagerVersion", "configuration_set_name": "configurationSetName", "configurations_json": "configurationsJson", "confirmation_timeout_in_minutes": "confirmationTimeoutInMinutes", "connect_settings": "connectSettings", "connection_draining": "connectionDraining", "connection_draining_timeout": "connectionDrainingTimeout", "connection_events": "connectionEvents", "connection_id": "connectionId", "connection_log_options": "connectionLogOptions", "connection_notification_arn": "connectionNotificationArn", "connection_properties": "connectionProperties", "connection_type": "connectionType", "connections_bandwidth": "connectionsBandwidth", "container_definitions": "containerDefinitions", "container_name": "containerName", "container_properties": "containerProperties", "content_base64": "contentBase64", "content_based_deduplication": "contentBasedDeduplication", "content_config": "contentConfig", "content_config_permissions": "contentConfigPermissions", "content_disposition": "contentDisposition", "content_encoding": "contentEncoding", "content_handling": "contentHandling", "content_handling_strategy": "contentHandlingStrategy", "content_language": "contentLanguage", "content_type": "contentType", "cookie_expiration_period": "cookieExpirationPeriod", "cookie_name": "cookieName", "copy_tags_to_backups": "copyTagsToBackups", "copy_tags_to_snapshot": "copyTagsToSnapshot", "core_instance_count": "coreInstanceCount", "core_instance_group": "coreInstanceGroup", "core_instance_type": "coreInstanceType", "cors_configuration": "corsConfiguration", "cors_rules": "corsRules", "cost_filters": "costFilters", "cost_types": "costTypes", "cpu_core_count": "cpuCoreCount", "cpu_count": "cpuCount", "cpu_options": "cpuOptions", "cpu_threads_per_core": "cpuThreadsPerCore", "create_date": "createDate", "create_timestamp": "createTimestamp", "created_at": "createdAt", "created_date": "createdDate", "created_time": "createdTime", "creation_date": "creationDate", "creation_time": "creationTime", "creation_token": "creationToken", "credential_duration": "credentialDuration", "credentials_arn": "credentialsArn", "credit_specification": "creditSpecification", "cross_zone_load_balancing": "crossZoneLoadBalancing", "csv_classifier": "csvClassifier", "current_version": "currentVersion", "custom_ami_id": "customAmiId", "custom_configure_recipes": "customConfigureRecipes", "custom_cookbooks_sources": "customCookbooksSources", "custom_deploy_recipes": "customDeployRecipes", "custom_endpoint_type": "customEndpointType", "custom_error_responses": "customErrorResponses", "custom_instance_profile_arn": "customInstanceProfileArn", "custom_json": "customJson", "custom_security_group_ids": "customSecurityGroupIds", "custom_setup_recipes": "customSetupRecipes", "custom_shutdown_recipes": "customShutdownRecipes", "custom_suffix": "customSuffix", "custom_undeploy_recipes": "customUndeployRecipes", "customer_address": "customerAddress", "customer_aws_id": "customerAwsId", "customer_gateway_configuration": "customerGatewayConfiguration", "customer_gateway_id": "customerGatewayId", "customer_master_key_spec": "customerMasterKeySpec", "customer_owned_ip": "customerOwnedIp", "customer_owned_ipv4_pool": "customerOwnedIpv4Pool", "customer_user_name": "customerUserName", "daily_automatic_backup_start_time": "dailyAutomaticBackupStartTime", "dashboard_arn": "dashboardArn", "dashboard_body": "dashboardBody", "dashboard_name": "dashboardName", "data_encryption_key_id": "dataEncryptionKeyId", "data_retention_in_hours": "dataRetentionInHours", "data_source": "dataSource", "data_source_arn": "dataSourceArn", "data_source_database_name": "dataSourceDatabaseName", "data_source_type": "dataSourceType", "database_name": "databaseName", "datapoints_to_alarm": "datapointsToAlarm", "db_cluster_identifier": "dbClusterIdentifier", "db_cluster_parameter_group_name": "dbClusterParameterGroupName", "db_cluster_snapshot_arn": "dbClusterSnapshotArn", "db_cluster_snapshot_identifier": "dbClusterSnapshotIdentifier", "db_instance_identifier": "dbInstanceIdentifier", "db_parameter_group_name": "dbParameterGroupName", "db_password": "dbPassword", "db_snapshot_arn": "dbSnapshotArn", "db_snapshot_identifier": "dbSnapshotIdentifier", "db_subnet_group_name": "dbSubnetGroupName", "db_user": "dbUser", "dbi_resource_id": "dbiResourceId", "dead_letter_config": "deadLetterConfig", "default_action": "defaultAction", "default_actions": "defaultActions", "default_arguments": "defaultArguments", "default_association_route_table": "defaultAssociationRouteTable", "default_authentication_method": "defaultAuthenticationMethod", "default_availability_zone": "defaultAvailabilityZone", "default_branch": "defaultBranch", "default_cache_behavior": "defaultCacheBehavior", "default_capacity_provider_strategies": "defaultCapacityProviderStrategies", "default_client_id": "defaultClientId", "default_cooldown": "defaultCooldown", "default_instance_profile_arn": "defaultInstanceProfileArn", "default_network_acl_id": "defaultNetworkAclId", "default_os": "defaultOs", "default_propagation_route_table": "defaultPropagationRouteTable", "default_redirect_uri": "defaultRedirectUri", "default_result": "defaultResult", "default_root_device_type": "defaultRootDeviceType", "default_root_object": "defaultRootObject", "default_route_settings": "defaultRouteSettings", "default_route_table_association": "defaultRouteTableAssociation", "default_route_table_id": "defaultRouteTableId", "default_route_table_propagation": "defaultRouteTablePropagation", "default_run_properties": "defaultRunProperties", "default_security_group_id": "defaultSecurityGroupId", "default_sender_id": "defaultSenderId", "default_sms_type": "defaultSmsType", "default_ssh_key_name": "defaultSshKeyName", "default_storage_class": "defaultStorageClass", "default_subnet_id": "defaultSubnetId", "default_value": "defaultValue", "default_version": "defaultVersion", "default_version_id": "defaultVersionId", "delay_seconds": "delaySeconds", "delegation_set_id": "delegationSetId", "delete_automated_backups": "deleteAutomatedBackups", "delete_ebs": "deleteEbs", "delete_eip": "deleteEip", "deletion_protection": "deletionProtection", "deletion_window_in_days": "deletionWindowInDays", "delivery_policy": "deliveryPolicy", "delivery_status_iam_role_arn": "deliveryStatusIamRoleArn", "delivery_status_success_sampling_rate": "deliveryStatusSuccessSamplingRate", "deployment_config_id": "deploymentConfigId", "deployment_config_name": "deploymentConfigName", "deployment_controller": "deploymentController", "deployment_group_name": "deploymentGroupName", "deployment_id": "deploymentId", "deployment_maximum_percent": "deploymentMaximumPercent", "deployment_minimum_healthy_percent": "deploymentMinimumHealthyPercent", "deployment_mode": "deploymentMode", "deployment_style": "deploymentStyle", "deregistration_delay": "deregistrationDelay", "desired_capacity": "desiredCapacity", "desired_count": "desiredCount", "destination_arn": "destinationArn", "destination_cidr_block": "destinationCidrBlock", "destination_config": "destinationConfig", "destination_id": "destinationId", "destination_ipv6_cidr_block": "destinationIpv6CidrBlock", "destination_location_arn": "destinationLocationArn", "destination_name": "destinationName", "destination_port_range": "destinationPortRange", "destination_prefix_list_id": "destinationPrefixListId", "destination_stream_arn": "destinationStreamArn", "detail_type": "detailType", "detector_id": "detectorId", "developer_provider_name": "developerProviderName", "device_ca_certificate": "deviceCaCertificate", "device_configuration": "deviceConfiguration", "device_index": "deviceIndex", "device_name": "deviceName", "dhcp_options_id": "dhcpOptionsId", "direct_internet_access": "directInternetAccess", "directory_id": "directoryId", "directory_name": "directoryName", "directory_type": "directoryType", "disable_api_termination": "disableApiTermination", "disable_email_notification": "disableEmailNotification", "disable_rollback": "disableRollback", "disk_id": "diskId", "disk_size": "diskSize", "display_name": "displayName", "dkim_tokens": "dkimTokens", "dns_config": "dnsConfig", "dns_entries": "dnsEntries", "dns_ip_addresses": "dnsIpAddresses", "dns_ips": "dnsIps", "dns_name": "dnsName", "dns_servers": "dnsServers", "dns_support": "dnsSupport", "document_format": "documentFormat", "document_root": "documentRoot", "document_type": "documentType", "document_version": "documentVersion", "documentation_version": "documentationVersion", "domain_endpoint_options": "domainEndpointOptions", "domain_iam_role_name": "domainIamRoleName", "domain_id": "domainId", "domain_name": "domainName", "domain_name_configuration": "domainNameConfiguration", "domain_name_servers": "domainNameServers", "domain_validation_options": "domainValidationOptions", "drain_elb_on_shutdown": "drainElbOnShutdown", "drop_invalid_header_fields": "dropInvalidHeaderFields", "dx_gateway_association_id": "dxGatewayAssociationId", "dx_gateway_id": "dxGatewayId", "dx_gateway_owner_account_id": "dxGatewayOwnerAccountId", "dynamodb_config": "dynamodbConfig", "dynamodb_targets": "dynamodbTargets", "ebs_block_devices": "ebsBlockDevices", "ebs_configs": "ebsConfigs", "ebs_optimized": "ebsOptimized", "ebs_options": "ebsOptions", "ebs_root_volume_size": "ebsRootVolumeSize", "ebs_volumes": "ebsVolumes", "ec2_attributes": "ec2Attributes", "ec2_config": "ec2Config", "ec2_inbound_permissions": "ec2InboundPermissions", "ec2_instance_id": "ec2InstanceId", "ec2_instance_type": "ec2InstanceType", "ec2_tag_filters": "ec2TagFilters", "ec2_tag_sets": "ec2TagSets", "ecs_cluster_arn": "ecsClusterArn", "ecs_service": "ecsService", "ecs_target": "ecsTarget", "efs_file_system_arn": "efsFileSystemArn", "egress_only_gateway_id": "egressOnlyGatewayId", "elastic_gpu_specifications": "elasticGpuSpecifications", "elastic_inference_accelerator": "elasticInferenceAccelerator", "elastic_ip": "elasticIp", "elastic_load_balancer": "elasticLoadBalancer", "elasticsearch_config": "elasticsearchConfig", "elasticsearch_configuration": "elasticsearchConfiguration", "elasticsearch_settings": "elasticsearchSettings", "elasticsearch_version": "elasticsearchVersion", "email_configuration": "emailConfiguration", "email_verification_message": "emailVerificationMessage", "email_verification_subject": "emailVerificationSubject", "ena_support": "enaSupport", "enable_classiclink": "enableClassiclink", "enable_classiclink_dns_support": "enableClassiclinkDnsSupport", "enable_cloudwatch_logs_exports": "enableCloudwatchLogsExports", "enable_cross_zone_load_balancing": "enableCrossZoneLoadBalancing", "enable_deletion_protection": "enableDeletionProtection", "enable_dns_hostnames": "enableDnsHostnames", "enable_dns_support": "enableDnsSupport", "enable_ecs_managed_tags": "enableEcsManagedTags", "enable_http2": "enableHttp2", "enable_http_endpoint": "enableHttpEndpoint", "enable_key_rotation": "enableKeyRotation", "enable_log_file_validation": "enableLogFileValidation", "enable_logging": "enableLogging", "enable_monitoring": "enableMonitoring", "enable_network_isolation": "enableNetworkIsolation", "enable_sni": "enableSni", "enable_ssl": "enableSsl", "enable_sso": "enableSso", "enabled_cloudwatch_logs_exports": "enabledCloudwatchLogsExports", "enabled_cluster_log_types": "enabledClusterLogTypes", "enabled_metrics": "enabledMetrics", "enabled_policy_types": "enabledPolicyTypes", "encoded_key": "encodedKey", "encrypt_at_rest": "encryptAtRest", "encrypted_fingerprint": "encryptedFingerprint", "encrypted_password": "encryptedPassword", "encrypted_private_key": "encryptedPrivateKey", "encrypted_secret": "encryptedSecret", "encryption_config": "encryptionConfig", "encryption_configuration": "encryptionConfiguration", "encryption_info": "encryptionInfo", "encryption_key": "encryptionKey", "encryption_options": "encryptionOptions", "encryption_type": "encryptionType", "end_date": "endDate", "end_date_type": "endDateType", "end_time": "endTime", "endpoint_arn": "endpointArn", "endpoint_auto_confirms": "endpointAutoConfirms", "endpoint_config_name": "endpointConfigName", "endpoint_configuration": "endpointConfiguration", "endpoint_configurations": "endpointConfigurations", "endpoint_details": "endpointDetails", "endpoint_group_region": "endpointGroupRegion", "endpoint_id": "endpointId", "endpoint_type": "endpointType", "endpoint_url": "endpointUrl", "enforce_consumer_deletion": "enforceConsumerDeletion", "engine_mode": "engineMode", "engine_name": "engineName", "engine_type": "engineType", "engine_version": "engineVersion", "enhanced_monitoring": "enhancedMonitoring", "enhanced_vpc_routing": "enhancedVpcRouting", "eni_id": "eniId", "environment_id": "environmentId", "ephemeral_block_devices": "ephemeralBlockDevices", "ephemeral_storage": "ephemeralStorage", "estimated_instance_warmup": "estimatedInstanceWarmup", "evaluate_low_sample_count_percentiles": "evaluateLowSampleCountPercentiles", "evaluation_periods": "evaluationPeriods", "event_categories": "eventCategories", "event_delivery_failure_topic_arn": "eventDeliveryFailureTopicArn", "event_endpoint_created_topic_arn": "eventEndpointCreatedTopicArn", "event_endpoint_deleted_topic_arn": "eventEndpointDeletedTopicArn", "event_endpoint_updated_topic_arn": "eventEndpointUpdatedTopicArn", "event_pattern": "eventPattern", "event_selectors": "eventSelectors", "event_source_arn": "eventSourceArn", "event_source_token": "eventSourceToken", "event_type_ids": "eventTypeIds", "excess_capacity_termination_policy": "excessCapacityTerminationPolicy", "excluded_accounts": "excludedAccounts", "excluded_members": "excludedMembers", "execution_arn": "executionArn", "execution_property": "executionProperty", "execution_role_arn": "executionRoleArn", "execution_role_name": "executionRoleName", "expiration_date": "expirationDate", "expiration_model": "expirationModel", "expire_passwords": "expirePasswords", "explicit_auth_flows": "explicitAuthFlows", "export_path": "exportPath", "extended_s3_configuration": "extendedS3Configuration", "extended_statistic": "extendedStatistic", "extra_connection_attributes": "extraConnectionAttributes", "failover_routing_policies": "failoverRoutingPolicies", "failure_feedback_role_arn": "failureFeedbackRoleArn", "failure_threshold": "failureThreshold", "fargate_profile_name": "fargateProfileName", "feature_name": "featureName", "feature_set": "featureSet", "fifo_queue": "fifoQueue", "file_system_arn": "fileSystemArn", "file_system_config": "fileSystemConfig", "file_system_id": "fileSystemId", "fileshare_id": "fileshareId", "filter_groups": "filterGroups", "filter_pattern": "filterPattern", "filter_policy": "filterPolicy", "final_snapshot_identifier": "finalSnapshotIdentifier", "finding_publishing_frequency": "findingPublishingFrequency", "fixed_rate": "fixedRate", "fleet_arn": "fleetArn", "fleet_type": "fleetType", "force_delete": "forceDelete", "force_destroy": "forceDestroy", "force_detach": "forceDetach", "force_detach_policies": "forceDetachPolicies", "force_new_deployment": "forceNewDeployment", "force_update_version": "forceUpdateVersion", "from_address": "fromAddress", "from_port": "fromPort", "function_arn": "functionArn", "function_id": "functionId", "function_name": "functionName", "function_version": "functionVersion", "gateway_arn": "gatewayArn", "gateway_id": "gatewayId", "gateway_ip_address": "gatewayIpAddress", "gateway_name": "gatewayName", "gateway_timezone": "gatewayTimezone", "gateway_type": "gatewayType", "gateway_vpc_endpoint": "gatewayVpcEndpoint", "generate_secret": "generateSecret", "geo_match_constraints": "geoMatchConstraints", "geolocation_routing_policies": "geolocationRoutingPolicies", "get_password_data": "getPasswordData", "global_cluster_identifier": "globalClusterIdentifier", "global_cluster_resource_id": "globalClusterResourceId", "global_filters": "globalFilters", "global_secondary_indexes": "globalSecondaryIndexes", "glue_version": "glueVersion", "grant_creation_tokens": "grantCreationTokens", "grant_id": "grantId", "grant_token": "grantToken", "grantee_principal": "granteePrincipal", "grok_classifier": "grokClassifier", "group_name": "groupName", "group_names": "groupNames", "guess_mime_type_enabled": "guessMimeTypeEnabled", "hard_expiry": "hardExpiry", "has_logical_redundancy": "hasLogicalRedundancy", "has_public_access_policy": "hasPublicAccessPolicy", "hash_key": "hashKey", "hash_type": "hashType", "health_check": "healthCheck", "health_check_config": "healthCheckConfig", "health_check_custom_config": "healthCheckCustomConfig", "health_check_grace_period": "healthCheckGracePeriod", "health_check_grace_period_seconds": "healthCheckGracePeriodSeconds", "health_check_id": "healthCheckId", "health_check_interval_seconds": "healthCheckIntervalSeconds", "health_check_path": "healthCheckPath", "health_check_port": "healthCheckPort", "health_check_protocol": "healthCheckProtocol", "health_check_type": "healthCheckType", "healthcheck_method": "healthcheckMethod", "healthcheck_url": "healthcheckUrl", "heartbeat_timeout": "heartbeatTimeout", "hibernation_options": "hibernationOptions", "hls_ingests": "hlsIngests", "home_directory": "homeDirectory", "home_region": "homeRegion", "host_id": "hostId", "host_instance_type": "hostInstanceType", "host_key": "hostKey", "host_key_fingerprint": "hostKeyFingerprint", "host_vpc_id": "hostVpcId", "hosted_zone": "hostedZone", "hosted_zone_id": "hostedZoneId", "hostname_theme": "hostnameTheme", "hsm_eni_id": "hsmEniId", "hsm_id": "hsmId", "hsm_state": "hsmState", "hsm_type": "hsmType", "http_config": "httpConfig", "http_failure_feedback_role_arn": "httpFailureFeedbackRoleArn", "http_method": "httpMethod", "http_success_feedback_role_arn": "httpSuccessFeedbackRoleArn", "http_success_feedback_sample_rate": "httpSuccessFeedbackSampleRate", "http_version": "httpVersion", "iam_arn": "iamArn", "iam_database_authentication_enabled": "iamDatabaseAuthenticationEnabled", "iam_fleet_role": "iamFleetRole", "iam_instance_profile": "iamInstanceProfile", "iam_role": "iamRole", "iam_role_arn": "iamRoleArn", "iam_role_id": "iamRoleId", "iam_roles": "iamRoles", "iam_user_access_to_billing": "iamUserAccessToBilling", "icmp_code": "icmpCode", "icmp_type": "icmpType", "identifier_prefix": "identifierPrefix", "identity_pool_id": "identityPoolId", "identity_pool_name": "identityPoolName", "identity_provider": "identityProvider", "identity_provider_type": "identityProviderType", "identity_source": "identitySource", "identity_sources": "identitySources", "identity_type": "identityType", "identity_validation_expression": "identityValidationExpression", "idle_timeout": "idleTimeout", "idp_identifiers": "idpIdentifiers", "ignore_deletion_error": "ignoreDeletionError", "ignore_public_acls": "ignorePublicAcls", "image_id": "imageId", "image_location": "imageLocation", "image_scanning_configuration": "imageScanningConfiguration", "image_tag_mutability": "imageTagMutability", "import_path": "importPath", "imported_file_chunk_size": "importedFileChunkSize", "in_progress_validation_batches": "inProgressValidationBatches", "include_global_service_events": "includeGlobalServiceEvents", "include_original_headers": "includeOriginalHeaders", "included_object_versions": "includedObjectVersions", "inference_accelerators": "inferenceAccelerators", "infrastructure_class": "infrastructureClass", "initial_lifecycle_hooks": "initialLifecycleHooks", "input_bucket": "inputBucket", "input_parameters": "inputParameters", "input_path": "inputPath", "input_transformer": "inputTransformer", "install_updates_on_boot": "installUpdatesOnBoot", "instance_class": "instanceClass", "instance_count": "instanceCount", "instance_groups": "instanceGroups", "instance_id": "instanceId", "instance_initiated_shutdown_behavior": "instanceInitiatedShutdownBehavior", "instance_interruption_behaviour": "instanceInterruptionBehaviour", "instance_market_options": "instanceMarketOptions", "instance_match_criteria": "instanceMatchCriteria", "instance_name": "instanceName", "instance_owner_id": "instanceOwnerId", "instance_platform": "instancePlatform", "instance_pools_to_use_count": "instancePoolsToUseCount", "instance_port": "instancePort", "instance_ports": "instancePorts", "instance_profile_arn": "instanceProfileArn", "instance_role_arn": "instanceRoleArn", "instance_shutdown_timeout": "instanceShutdownTimeout", "instance_state": "instanceState", "instance_tenancy": "instanceTenancy", "instance_type": "instanceType", "instance_types": "instanceTypes", "insufficient_data_actions": "insufficientDataActions", "insufficient_data_health_status": "insufficientDataHealthStatus", "integration_http_method": "integrationHttpMethod", "integration_id": "integrationId", "integration_method": "integrationMethod", "integration_response_key": "integrationResponseKey", "integration_response_selection_expression": "integrationResponseSelectionExpression", "integration_type": "integrationType", "integration_uri": "integrationUri", "invalid_user_lists": "invalidUserLists", "invert_healthcheck": "invertHealthcheck", "invitation_arn": "invitationArn", "invitation_message": "invitationMessage", "invocation_role": "invocationRole", "invoke_arn": "invokeArn", "invoke_url": "invokeUrl", "iot_analytics": "iotAnalytics", "iot_events": "iotEvents", "ip_address": "ipAddress", "ip_address_type": "ipAddressType", "ip_address_version": "ipAddressVersion", "ip_addresses": "ipAddresses", "ip_group_ids": "ipGroupIds", "ip_set_descriptors": "ipSetDescriptors", "ip_sets": "ipSets", "ipc_mode": "ipcMode", "ipv6_address": "ipv6Address", "ipv6_address_count": "ipv6AddressCount", "ipv6_addresses": "ipv6Addresses", "ipv6_association_id": "ipv6AssociationId", "ipv6_cidr_block": "ipv6CidrBlock", "ipv6_cidr_block_association_id": "ipv6CidrBlockAssociationId", "ipv6_cidr_blocks": "ipv6CidrBlocks", "ipv6_support": "ipv6Support", "is_enabled": "isEnabled", "is_ipv6_enabled": "isIpv6Enabled", "is_multi_region_trail": "isMultiRegionTrail", "is_organization_trail": "isOrganizationTrail", "is_static_ip": "isStaticIp", "jdbc_targets": "jdbcTargets", "joined_method": "joinedMethod", "joined_timestamp": "joinedTimestamp", "json_classifier": "jsonClassifier", "jumbo_frame_capable": "jumboFrameCapable", "jvm_options": "jvmOptions", "jvm_type": "jvmType", "jvm_version": "jvmVersion", "jwt_configuration": "jwtConfiguration", "kafka_settings": "kafkaSettings", "kafka_version": "kafkaVersion", "kafka_versions": "kafkaVersions", "keep_job_flow_alive_when_no_steps": "keepJobFlowAliveWhenNoSteps", "kerberos_attributes": "kerberosAttributes", "kernel_id": "kernelId", "key_arn": "keyArn", "key_fingerprint": "keyFingerprint", "key_id": "keyId", "key_material_base64": "keyMaterialBase64", "key_name": "keyName", "key_name_prefix": "keyNamePrefix", "key_pair_id": "keyPairId", "key_pair_name": "keyPairName", "key_state": "keyState", "key_type": "keyType", "key_usage": "keyUsage", "kibana_endpoint": "kibanaEndpoint", "kinesis_destination": "kinesisDestination", "kinesis_settings": "kinesisSettings", "kinesis_source_configuration": "kinesisSourceConfiguration", "kinesis_target": "kinesisTarget", "kms_data_key_reuse_period_seconds": "kmsDataKeyReusePeriodSeconds", "kms_encrypted": "kmsEncrypted", "kms_key_arn": "kmsKeyArn", "kms_key_id": "kmsKeyId", "kms_master_key_id": "kmsMasterKeyId", "lag_id": "lagId", "lambda_": "lambda", "lambda_actions": "lambdaActions", "lambda_config": "lambdaConfig", "lambda_failure_feedback_role_arn": "lambdaFailureFeedbackRoleArn", "lambda_function_arn": "lambdaFunctionArn", "lambda_functions": "lambdaFunctions", "lambda_multi_value_headers_enabled": "lambdaMultiValueHeadersEnabled", "lambda_success_feedback_role_arn": "lambdaSuccessFeedbackRoleArn", "lambda_success_feedback_sample_rate": "lambdaSuccessFeedbackSampleRate", "last_modified": "lastModified", "last_modified_date": "lastModifiedDate", "last_modified_time": "lastModifiedTime", "last_processing_result": "lastProcessingResult", "last_service_error_id": "lastServiceErrorId", "last_update_timestamp": "lastUpdateTimestamp", "last_updated_date": "lastUpdatedDate", "last_updated_time": "lastUpdatedTime", "latency_routing_policies": "latencyRoutingPolicies", "latest_revision": "latestRevision", "latest_version": "latestVersion", "launch_configuration": "launchConfiguration", "launch_configurations": "launchConfigurations", "launch_group": "launchGroup", "launch_specifications": "launchSpecifications", "launch_template": "launchTemplate", "launch_template_config": "launchTemplateConfig", "launch_template_configs": "launchTemplateConfigs", "launch_type": "launchType", "layer_arn": "layerArn", "layer_ids": "layerIds", "layer_name": "layerName", "lb_port": "lbPort", "license_configuration_arn": "licenseConfigurationArn", "license_count": "licenseCount", "license_count_hard_limit": "licenseCountHardLimit", "license_counting_type": "licenseCountingType", "license_info": "licenseInfo", "license_model": "licenseModel", "license_rules": "licenseRules", "license_specifications": "licenseSpecifications", "lifecycle_config_name": "lifecycleConfigName", "lifecycle_policy": "lifecyclePolicy", "lifecycle_rules": "lifecycleRules", "lifecycle_transition": "lifecycleTransition", "limit_amount": "limitAmount", "limit_unit": "limitUnit", "listener_arn": "listenerArn", "load_balancer": "loadBalancer", "load_balancer_arn": "loadBalancerArn", "load_balancer_info": "loadBalancerInfo", "load_balancer_name": "loadBalancerName", "load_balancer_port": "loadBalancerPort", "load_balancer_type": "loadBalancerType", "load_balancers": "loadBalancers", "load_balancing_algorithm_type": "loadBalancingAlgorithmType", "local_gateway_id": "localGatewayId", "local_gateway_route_table_id": "localGatewayRouteTableId", "local_gateway_virtual_interface_group_id": "localGatewayVirtualInterfaceGroupId", "local_secondary_indexes": "localSecondaryIndexes", "location_arn": "locationArn", "location_uri": "locationUri", "lock_token": "lockToken", "log_config": "logConfig", "log_destination": "logDestination", "log_destination_type": "logDestinationType", "log_format": "logFormat", "log_group": "logGroup", "log_group_name": "logGroupName", "log_paths": "logPaths", "log_publishing_options": "logPublishingOptions", "log_uri": "logUri", "logging_config": "loggingConfig", "logging_configuration": "loggingConfiguration", "logging_info": "loggingInfo", "logging_role": "loggingRole", "logout_urls": "logoutUrls", "logs_config": "logsConfig", "lun_number": "lunNumber", "mac_address": "macAddress", "mail_from_domain": "mailFromDomain", "main_route_table_id": "mainRouteTableId", "maintenance_window": "maintenanceWindow", "maintenance_window_start_time": "maintenanceWindowStartTime", "major_engine_version": "majorEngineVersion", "manage_berkshelf": "manageBerkshelf", "manage_bundler": "manageBundler", "manage_ebs_snapshots": "manageEbsSnapshots", "manages_vpc_endpoints": "managesVpcEndpoints", "map_public_ip_on_launch": "mapPublicIpOnLaunch", "master_account_arn": "masterAccountArn", "master_account_email": "masterAccountEmail", "master_account_id": "masterAccountId", "master_id": "masterId", "master_instance_group": "masterInstanceGroup", "master_instance_type": "masterInstanceType", "master_password": "masterPassword", "master_public_dns": "masterPublicDns", "master_username": "masterUsername", "match_criterias": "matchCriterias", "matching_types": "matchingTypes", "max_aggregation_interval": "maxAggregationInterval", "max_allocated_storage": "maxAllocatedStorage", "max_capacity": "maxCapacity", "max_concurrency": "maxConcurrency", "max_errors": "maxErrors", "max_instance_lifetime": "maxInstanceLifetime", "max_message_size": "maxMessageSize", "max_password_age": "maxPasswordAge", "max_retries": "maxRetries", "max_session_duration": "maxSessionDuration", "max_size": "maxSize", "maximum_batching_window_in_seconds": "maximumBatchingWindowInSeconds", "maximum_event_age_in_seconds": "maximumEventAgeInSeconds", "maximum_execution_frequency": "maximumExecutionFrequency", "maximum_record_age_in_seconds": "maximumRecordAgeInSeconds", "maximum_retry_attempts": "maximumRetryAttempts", "measure_latency": "measureLatency", "media_type": "mediaType", "medium_changer_type": "mediumChangerType", "member_account_id": "memberAccountId", "member_clusters": "memberClusters", "member_status": "memberStatus", "memory_size": "memorySize", "mesh_name": "meshName", "message_retention_seconds": "messageRetentionSeconds", "messages_per_second": "messagesPerSecond", "metadata_options": "metadataOptions", "method_path": "methodPath", "metric_aggregation_type": "metricAggregationType", "metric_groups": "metricGroups", "metric_name": "metricName", "metric_queries": "metricQueries", "metric_transformation": "metricTransformation", "metrics_granularity": "metricsGranularity", "mfa_configuration": "mfaConfiguration", "migration_type": "migrationType", "min_adjustment_magnitude": "minAdjustmentMagnitude", "min_capacity": "minCapacity", "min_elb_capacity": "minElbCapacity", "min_size": "minSize", "minimum_compression_size": "minimumCompressionSize", "minimum_healthy_hosts": "minimumHealthyHosts", "minimum_password_length": "minimumPasswordLength", "mixed_instances_policy": "mixedInstancesPolicy", "model_selection_expression": "modelSelectionExpression", "mongodb_settings": "mongodbSettings", "monitoring_interval": "monitoringInterval", "monitoring_role_arn": "monitoringRoleArn", "monthly_spend_limit": "monthlySpendLimit", "mount_options": "mountOptions", "mount_target_dns_name": "mountTargetDnsName", "multi_attach_enabled": "multiAttachEnabled", "multi_az": "multiAz", "multivalue_answer_routing_policy": "multivalueAnswerRoutingPolicy", "name_prefix": "namePrefix", "name_servers": "nameServers", "namespace_id": "namespaceId", "nat_gateway_id": "natGatewayId", "neptune_cluster_parameter_group_name": "neptuneClusterParameterGroupName", "neptune_parameter_group_name": "neptuneParameterGroupName", "neptune_subnet_group_name": "neptuneSubnetGroupName", "netbios_name_servers": "netbiosNameServers", "netbios_node_type": "netbiosNodeType", "network_acl_id": "networkAclId", "network_configuration": "networkConfiguration", "network_interface": "networkInterface", "network_interface_id": "networkInterfaceId", "network_interface_ids": "networkInterfaceIds", "network_interface_port": "networkInterfacePort", "network_interfaces": "networkInterfaces", "network_load_balancer_arn": "networkLoadBalancerArn", "network_load_balancer_arns": "networkLoadBalancerArns", "network_mode": "networkMode", "network_origin": "networkOrigin", "network_services": "networkServices", "new_game_session_protection_policy": "newGameSessionProtectionPolicy", "nfs_file_share_defaults": "nfsFileShareDefaults", "node_group_name": "nodeGroupName", "node_role_arn": "nodeRoleArn", "node_to_node_encryption": "nodeToNodeEncryption", "node_type": "nodeType", "nodejs_version": "nodejsVersion", "non_master_accounts": "nonMasterAccounts", "not_after": "notAfter", "not_before": "notBefore", "notification_arns": "notificationArns", "notification_metadata": "notificationMetadata", "notification_property": "notificationProperty", "notification_target_arn": "notificationTargetArn", "notification_topic_arn": "notificationTopicArn", "notification_type": "notificationType", "ntp_servers": "ntpServers", "num_cache_nodes": "numCacheNodes", "number_cache_clusters": "numberCacheClusters", "number_of_broker_nodes": "numberOfBrokerNodes", "number_of_nodes": "numberOfNodes", "number_of_workers": "numberOfWorkers", "object_acl": "objectAcl", "object_lock_configuration": "objectLockConfiguration", "object_lock_legal_hold_status": "objectLockLegalHoldStatus", "object_lock_mode": "objectLockMode", "object_lock_retain_until_date": "objectLockRetainUntilDate", "ok_actions": "okActions", "on_create": "onCreate", "on_demand_options": "onDemandOptions", "on_failure": "onFailure", "on_prem_config": "onPremConfig", "on_premises_instance_tag_filters": "onPremisesInstanceTagFilters", "on_start": "onStart", "open_monitoring": "openMonitoring", "openid_connect_config": "openidConnectConfig", "openid_connect_provider_arns": "openidConnectProviderArns", "operating_system": "operatingSystem", "operation_name": "operationName", "opt_in_status": "optInStatus", "optimize_for_end_user_location": "optimizeForEndUserLocation", "option_group_description": "optionGroupDescription", "option_group_name": "optionGroupName", "optional_fields": "optionalFields", "ordered_cache_behaviors": "orderedCacheBehaviors", "ordered_placement_strategies": "orderedPlacementStrategies", "organization_aggregation_source": "organizationAggregationSource", "origin_groups": "originGroups", "original_route_table_id": "originalRouteTableId", "outpost_arn": "outpostArn", "output_bucket": "outputBucket", "output_location": "outputLocation", "owner_account": "ownerAccount", "owner_account_id": "ownerAccountId", "owner_alias": "ownerAlias", "owner_arn": "ownerArn", "owner_id": "ownerId", "owner_information": "ownerInformation", "packet_length": "packetLength", "parallelization_factor": "parallelizationFactor", "parameter_group_name": "parameterGroupName", "parameter_overrides": "parameterOverrides", "parent_id": "parentId", "partition_keys": "partitionKeys", "passenger_version": "passengerVersion", "passthrough_behavior": "passthroughBehavior", "password_data": "passwordData", "password_length": "passwordLength", "password_policy": "passwordPolicy", "password_reset_required": "passwordResetRequired", "password_reuse_prevention": "passwordReusePrevention", "patch_group": "patchGroup", "path_part": "pathPart", "payload_format_version": "payloadFormatVersion", "payload_url": "payloadUrl", "peer_account_id": "peerAccountId", "peer_owner_id": "peerOwnerId", "peer_region": "peerRegion", "peer_transit_gateway_id": "peerTransitGatewayId", "peer_vpc_id": "peerVpcId", "pem_encoded_certificate": "pemEncodedCertificate", "performance_insights_enabled": "performanceInsightsEnabled", "performance_insights_kms_key_id": "performanceInsightsKmsKeyId", "performance_insights_retention_period": "performanceInsightsRetentionPeriod", "performance_mode": "performanceMode", "permanent_deletion_time_in_days": "permanentDeletionTimeInDays", "permissions_boundary": "permissionsBoundary", "pgp_key": "pgpKey", "physical_connection_requirements": "physicalConnectionRequirements", "pid_mode": "pidMode", "pipeline_config": "pipelineConfig", "placement_constraints": "placementConstraints", "placement_group": "placementGroup", "placement_group_id": "placementGroupId", "placement_tenancy": "placementTenancy", "plan_id": "planId", "platform_arn": "platformArn", "platform_credential": "platformCredential", "platform_principal": "platformPrincipal", "platform_types": "platformTypes", "platform_version": "platformVersion", "player_latency_policies": "playerLatencyPolicies", "pod_execution_role_arn": "podExecutionRoleArn", "point_in_time_recovery": "pointInTimeRecovery", "policy_arn": "policyArn", "policy_attributes": "policyAttributes", "policy_body": "policyBody", "policy_details": "policyDetails", "policy_document": "policyDocument", "policy_id": "policyId", "policy_name": "policyName", "policy_names": "policyNames", "policy_type": "policyType", "policy_type_name": "policyTypeName", "policy_url": "policyUrl", "poll_interval": "pollInterval", "port_ranges": "portRanges", "posix_user": "posixUser", "preferred_availability_zones": "preferredAvailabilityZones", "preferred_backup_window": "preferredBackupWindow", "preferred_maintenance_window": "preferredMaintenanceWindow", "prefix_list_id": "prefixListId", "prefix_list_ids": "prefixListIds", "prevent_user_existence_errors": "preventUserExistenceErrors", "price_class": "priceClass", "pricing_plan": "pricingPlan", "primary_container": "primaryContainer", "primary_endpoint_address": "primaryEndpointAddress", "primary_network_interface_id": "primaryNetworkInterfaceId", "principal_arn": "principalArn", "private_dns": "privateDns", "private_dns_enabled": "privateDnsEnabled", "private_dns_name": "privateDnsName", "private_ip": "privateIp", "private_ip_address": "privateIpAddress", "private_ips": "privateIps", "private_ips_count": "privateIpsCount", "private_key": "privateKey", "product_arn": "productArn", "product_code": "productCode", "production_variants": "productionVariants", "project_name": "projectName", "promotion_tier": "promotionTier", "promotional_messages_per_second": "promotionalMessagesPerSecond", "propagate_tags": "propagateTags", "propagating_vgws": "propagatingVgws", "propagation_default_route_table_id": "propagationDefaultRouteTableId", "proposal_id": "proposalId", "protect_from_scale_in": "protectFromScaleIn", "protocol_type": "protocolType", "provider_arns": "providerArns", "provider_details": "providerDetails", "provider_name": "providerName", "provider_type": "providerType", "provisioned_concurrent_executions": "provisionedConcurrentExecutions", "provisioned_throughput_in_mibps": "provisionedThroughputInMibps", "proxy_configuration": "proxyConfiguration", "proxy_protocol_v2": "proxyProtocolV2", "public_access_block_configuration": "publicAccessBlockConfiguration", "public_dns": "publicDns", "public_ip": "publicIp", "public_ip_address": "publicIpAddress", "public_ipv4_pool": "publicIpv4Pool", "public_key": "publicKey", "publicly_accessible": "publiclyAccessible", "qualified_arn": "qualifiedArn", "queue_url": "queueUrl", "queued_timeout": "queuedTimeout", "quiet_time": "quietTime", "quota_code": "quotaCode", "quota_name": "quotaName", "quota_settings": "quotaSettings", "rails_env": "railsEnv", "ram_disk_id": "ramDiskId", "ram_size": "ramSize", "ramdisk_id": "ramdiskId", "range_key": "rangeKey", "rate_key": "rateKey", "rate_limit": "rateLimit", "raw_message_delivery": "rawMessageDelivery", "rds_db_instance_arn": "rdsDbInstanceArn", "read_attributes": "readAttributes", "read_capacity": "readCapacity", "read_only": "readOnly", "reader_endpoint": "readerEndpoint", "receive_wait_time_seconds": "receiveWaitTimeSeconds", "receiver_account_id": "receiverAccountId", "recording_group": "recordingGroup", "recovery_points": "recoveryPoints", "recovery_window_in_days": "recoveryWindowInDays", "redrive_policy": "redrivePolicy", "redshift_configuration": "redshiftConfiguration", "reference_data_sources": "referenceDataSources", "reference_name": "referenceName", "refresh_token_validity": "refreshTokenValidity", "regex_match_tuples": "regexMatchTuples", "regex_pattern_strings": "regexPatternStrings", "regional_certificate_arn": "regionalCertificateArn", "regional_certificate_name": "regionalCertificateName", "regional_domain_name": "regionalDomainName", "regional_zone_id": "regionalZoneId", "registered_by": "registeredBy", "registration_code": "registrationCode", "registration_count": "registrationCount", "registration_limit": "registrationLimit", "registry_id": "registryId", "regular_expressions": "regularExpressions", "rejected_patches": "rejectedPatches", "relationship_status": "relationshipStatus", "release_label": "releaseLabel", "release_version": "releaseVersion", "remote_access": "remoteAccess", "remote_domain_name": "remoteDomainName", "replace_unhealthy_instances": "replaceUnhealthyInstances", "replicate_source_db": "replicateSourceDb", "replication_configuration": "replicationConfiguration", "replication_factor": "replicationFactor", "replication_group_description": "replicationGroupDescription", "replication_group_id": "replicationGroupId", "replication_instance_arn": "replicationInstanceArn", "replication_instance_class": "replicationInstanceClass", "replication_instance_id": "replicationInstanceId", "replication_instance_private_ips": "replicationInstancePrivateIps", "replication_instance_public_ips": "replicationInstancePublicIps", "replication_source_identifier": "replicationSourceIdentifier", "replication_subnet_group_arn": "replicationSubnetGroupArn", "replication_subnet_group_description": "replicationSubnetGroupDescription", "replication_subnet_group_id": "replicationSubnetGroupId", "replication_task_arn": "replicationTaskArn", "replication_task_id": "replicationTaskId", "replication_task_settings": "replicationTaskSettings", "report_name": "reportName", "reported_agent_version": "reportedAgentVersion", "reported_os_family": "reportedOsFamily", "reported_os_name": "reportedOsName", "reported_os_version": "reportedOsVersion", "repository_id": "repositoryId", "repository_name": "repositoryName", "repository_url": "repositoryUrl", "request_id": "requestId", "request_interval": "requestInterval", "request_mapping_template": "requestMappingTemplate", "request_models": "requestModels", "request_parameters": "requestParameters", "request_payer": "requestPayer", "request_status": "requestStatus", "request_template": "requestTemplate", "request_templates": "requestTemplates", "request_validator_id": "requestValidatorId", "requester_managed": "requesterManaged", "requester_pays": "requesterPays", "require_lowercase_characters": "requireLowercaseCharacters", "require_numbers": "requireNumbers", "require_symbols": "requireSymbols", "require_uppercase_characters": "requireUppercaseCharacters", "requires_compatibilities": "requiresCompatibilities", "reservation_plan_settings": "reservationPlanSettings", "reserved_concurrent_executions": "reservedConcurrentExecutions", "reservoir_size": "reservoirSize", "resolver_endpoint_id": "resolverEndpointId", "resolver_rule_id": "resolverRuleId", "resource_arn": "resourceArn", "resource_creation_limit_policy": "resourceCreationLimitPolicy", "resource_group_arn": "resourceGroupArn", "resource_id": "resourceId", "resource_id_scope": "resourceIdScope", "resource_path": "resourcePath", "resource_query": "resourceQuery", "resource_share_arn": "resourceShareArn", "resource_type": "resourceType", "resource_types_scopes": "resourceTypesScopes", "response_mapping_template": "responseMappingTemplate", "response_models": "responseModels", "response_parameters": "responseParameters", "response_template": "responseTemplate", "response_templates": "responseTemplates", "response_type": "responseType", "rest_api": "restApi", "rest_api_id": "restApiId", "restrict_public_buckets": "restrictPublicBuckets", "retain_on_delete": "retainOnDelete", "retain_stack": "retainStack", "retention_in_days": "retentionInDays", "retention_period": "retentionPeriod", "retire_on_delete": "retireOnDelete", "retiring_principal": "retiringPrincipal", "retry_strategy": "retryStrategy", "revocation_configuration": "revocationConfiguration", "revoke_rules_on_delete": "revokeRulesOnDelete", "role_arn": "roleArn", "role_mappings": "roleMappings", "role_name": "roleName", "root_block_device": "rootBlockDevice", "root_block_devices": "rootBlockDevices", "root_device_name": "rootDeviceName", "root_device_type": "rootDeviceType", "root_device_volume_id": "rootDeviceVolumeId", "root_directory": "rootDirectory", "root_password": "rootPassword", "root_password_on_all_instances": "rootPasswordOnAllInstances", "root_resource_id": "rootResourceId", "root_snapshot_id": "rootSnapshotId", "root_volume_encryption_enabled": "rootVolumeEncryptionEnabled", "rotation_enabled": "rotationEnabled", "rotation_lambda_arn": "rotationLambdaArn", "rotation_rules": "rotationRules", "route_filter_prefixes": "routeFilterPrefixes", "route_id": "routeId", "route_key": "routeKey", "route_response_key": "routeResponseKey", "route_response_selection_expression": "routeResponseSelectionExpression", "route_selection_expression": "routeSelectionExpression", "route_settings": "routeSettings", "route_table_id": "routeTableId", "route_table_ids": "routeTableIds", "routing_config": "routingConfig", "routing_strategy": "routingStrategy", "ruby_version": "rubyVersion", "rubygems_version": "rubygemsVersion", "rule_action": "ruleAction", "rule_id": "ruleId", "rule_identifier": "ruleIdentifier", "rule_name": "ruleName", "rule_number": "ruleNumber", "rule_set_name": "ruleSetName", "rule_type": "ruleType", "rules_package_arns": "rulesPackageArns", "run_command_targets": "runCommandTargets", "running_instance_count": "runningInstanceCount", "runtime_configuration": "runtimeConfiguration", "s3_actions": "s3Actions", "s3_bucket": "s3Bucket", "s3_bucket_arn": "s3BucketArn", "s3_bucket_name": "s3BucketName", "s3_canonical_user_id": "s3CanonicalUserId", "s3_config": "s3Config", "s3_configuration": "s3Configuration", "s3_destination": "s3Destination", "s3_import": "s3Import", "s3_key": "s3Key", "s3_key_prefix": "s3KeyPrefix", "s3_object_version": "s3ObjectVersion", "s3_prefix": "s3Prefix", "s3_region": "s3Region", "s3_settings": "s3Settings", "s3_targets": "s3Targets", "saml_metadata_document": "samlMetadataDocument", "saml_provider_arns": "samlProviderArns", "scalable_dimension": "scalableDimension", "scalable_target_action": "scalableTargetAction", "scale_down_behavior": "scaleDownBehavior", "scaling_adjustment": "scalingAdjustment", "scaling_config": "scalingConfig", "scaling_configuration": "scalingConfiguration", "scan_enabled": "scanEnabled", "schedule_expression": "scheduleExpression", "schedule_identifier": "scheduleIdentifier", "schedule_timezone": "scheduleTimezone", "scheduled_action_name": "scheduledActionName", "scheduling_strategy": "schedulingStrategy", "schema_change_policy": "schemaChangePolicy", "schema_version": "schemaVersion", "scope_identifiers": "scopeIdentifiers", "search_string": "searchString", "secondary_artifacts": "secondaryArtifacts", "secondary_sources": "secondarySources", "secret_binary": "secretBinary", "secret_id": "secretId", "secret_key": "secretKey", "secret_string": "secretString", "security_configuration": "securityConfiguration", "security_group_id": "securityGroupId", "security_group_ids": "securityGroupIds", "security_group_names": "securityGroupNames", "security_groups": "securityGroups", "security_policy": "securityPolicy", "selection_pattern": "selectionPattern", "selection_tags": "selectionTags", "self_managed_active_directory": "selfManagedActiveDirectory", "self_service_permissions": "selfServicePermissions", "sender_account_id": "senderAccountId", "sender_id": "senderId", "server_certificate_arn": "serverCertificateArn", "server_hostname": "serverHostname", "server_id": "serverId", "server_name": "serverName", "server_properties": "serverProperties", "server_side_encryption": "serverSideEncryption", "server_side_encryption_configuration": "serverSideEncryptionConfiguration", "server_type": "serverType", "service_access_role": "serviceAccessRole", "service_code": "serviceCode", "service_linked_role_arn": "serviceLinkedRoleArn", "service_name": "serviceName", "service_namespace": "serviceNamespace", "service_registries": "serviceRegistries", "service_role": "serviceRole", "service_role_arn": "serviceRoleArn", "service_type": "serviceType", "ses_smtp_password": "sesSmtpPassword", "ses_smtp_password_v4": "sesSmtpPasswordV4", "session_name": "sessionName", "session_number": "sessionNumber", "set_identifier": "setIdentifier", "shard_count": "shardCount", "shard_level_metrics": "shardLevelMetrics", "share_arn": "shareArn", "share_id": "shareId", "share_name": "shareName", "share_status": "shareStatus", "short_code": "shortCode", "short_name": "shortName", "size_constraints": "sizeConstraints", "skip_destroy": "skipDestroy", "skip_final_backup": "skipFinalBackup", "skip_final_snapshot": "skipFinalSnapshot", "slow_start": "slowStart", "smb_active_directory_settings": "smbActiveDirectorySettings", "smb_guest_password": "smbGuestPassword", "sms_authentication_message": "smsAuthenticationMessage", "sms_configuration": "smsConfiguration", "sms_verification_message": "smsVerificationMessage", "snapshot_arns": "snapshotArns", "snapshot_cluster_identifier": "snapshotClusterIdentifier", "snapshot_copy": "snapshotCopy", "snapshot_copy_grant_name": "snapshotCopyGrantName", "snapshot_delivery_properties": "snapshotDeliveryProperties", "snapshot_id": "snapshotId", "snapshot_identifier": "snapshotIdentifier", "snapshot_name": "snapshotName", "snapshot_options": "snapshotOptions", "snapshot_retention_limit": "snapshotRetentionLimit", "snapshot_type": "snapshotType", "snapshot_window": "snapshotWindow", "snapshot_without_reboot": "snapshotWithoutReboot", "sns_actions": "snsActions", "sns_destination": "snsDestination", "sns_topic": "snsTopic", "sns_topic_arn": "snsTopicArn", "sns_topic_name": "snsTopicName", "software_token_mfa_configuration": "softwareTokenMfaConfiguration", "solution_stack_name": "solutionStackName", "source_account": "sourceAccount", "source_ami_id": "sourceAmiId", "source_ami_region": "sourceAmiRegion", "source_arn": "sourceArn", "source_backup_identifier": "sourceBackupIdentifier", "source_cidr_block": "sourceCidrBlock", "source_code_hash": "sourceCodeHash", "source_code_size": "sourceCodeSize", "source_db_cluster_snapshot_arn": "sourceDbClusterSnapshotArn", "source_db_snapshot_identifier": "sourceDbSnapshotIdentifier", "source_dest_check": "sourceDestCheck", "source_endpoint_arn": "sourceEndpointArn", "source_ids": "sourceIds", "source_instance_id": "sourceInstanceId", "source_location_arn": "sourceLocationArn", "source_port_range": "sourcePortRange", "source_region": "sourceRegion", "source_security_group": "sourceSecurityGroup", "source_security_group_id": "sourceSecurityGroupId", "source_snapshot_id": "sourceSnapshotId", "source_type": "sourceType", "source_version": "sourceVersion", "source_volume_arn": "sourceVolumeArn", "split_tunnel": "splitTunnel", "splunk_configuration": "splunkConfiguration", "spot_bid_status": "spotBidStatus", "spot_instance_id": "spotInstanceId", "spot_options": "spotOptions", "spot_price": "spotPrice", "spot_request_state": "spotRequestState", "spot_type": "spotType", "sql_injection_match_tuples": "sqlInjectionMatchTuples", "sql_version": "sqlVersion", "sqs_failure_feedback_role_arn": "sqsFailureFeedbackRoleArn", "sqs_success_feedback_role_arn": "sqsSuccessFeedbackRoleArn", "sqs_success_feedback_sample_rate": "sqsSuccessFeedbackSampleRate", "sqs_target": "sqsTarget", "sriov_net_support": "sriovNetSupport", "ssh_host_dsa_key_fingerprint": "sshHostDsaKeyFingerprint", "ssh_host_rsa_key_fingerprint": "sshHostRsaKeyFingerprint", "ssh_key_name": "sshKeyName", "ssh_public_key": "sshPublicKey", "ssh_public_key_id": "sshPublicKeyId", "ssh_username": "sshUsername", "ssl_configurations": "sslConfigurations", "ssl_mode": "sslMode", "ssl_policy": "sslPolicy", "stack_endpoint": "stackEndpoint", "stack_id": "stackId", "stack_set_id": "stackSetId", "stack_set_name": "stackSetName", "stage_description": "stageDescription", "stage_name": "stageName", "stage_variables": "stageVariables", "standards_arn": "standardsArn", "start_date": "startDate", "start_time": "startTime", "starting_position": "startingPosition", "starting_position_timestamp": "startingPositionTimestamp", "state_transition_reason": "stateTransitionReason", "statement_id": "statementId", "statement_id_prefix": "statementIdPrefix", "static_ip_name": "staticIpName", "static_members": "staticMembers", "static_routes_only": "staticRoutesOnly", "stats_enabled": "statsEnabled", "stats_password": "statsPassword", "stats_url": "statsUrl", "stats_user": "statsUser", "status_code": "statusCode", "status_reason": "statusReason", "step_adjustments": "stepAdjustments", "step_concurrency_level": "stepConcurrencyLevel", "step_functions": "stepFunctions", "step_scaling_policy_configuration": "stepScalingPolicyConfiguration", "stop_actions": "stopActions", "storage_capacity": "storageCapacity", "storage_class": "storageClass", "storage_class_analysis": "storageClassAnalysis", "storage_descriptor": "storageDescriptor", "storage_encrypted": "storageEncrypted", "storage_location": "storageLocation", "storage_type": "storageType", "stream_arn": "streamArn", "stream_enabled": "streamEnabled", "stream_label": "streamLabel", "stream_view_type": "streamViewType", "subject_alternative_names": "subjectAlternativeNames", "subnet_group_name": "subnetGroupName", "subnet_id": "subnetId", "subnet_ids": "subnetIds", "subnet_mappings": "subnetMappings", "success_feedback_role_arn": "successFeedbackRoleArn", "success_feedback_sample_rate": "successFeedbackSampleRate", "support_code": "supportCode", "supported_identity_providers": "supportedIdentityProviders", "supported_login_providers": "supportedLoginProviders", "suspended_processes": "suspendedProcesses", "system_packages": "systemPackages", "table_mappings": "tableMappings", "table_name": "tableName", "table_prefix": "tablePrefix", "table_type": "tableType", "tag_key_scope": "tagKeyScope", "tag_specifications": "tagSpecifications", "tag_value_scope": "tagValueScope", "tags_collection": "tagsCollection", "tape_drive_type": "tapeDriveType", "target_action": "targetAction", "target_arn": "targetArn", "target_capacity": "targetCapacity", "target_capacity_specification": "targetCapacitySpecification", "target_endpoint_arn": "targetEndpointArn", "target_group_arn": "targetGroupArn", "target_group_arns": "targetGroupArns", "target_id": "targetId", "target_ips": "targetIps", "target_key_arn": "targetKeyArn", "target_key_id": "targetKeyId", "target_name": "targetName", "target_pipeline": "targetPipeline", "target_tracking_configuration": "targetTrackingConfiguration", "target_tracking_scaling_policy_configuration": "targetTrackingScalingPolicyConfiguration", "target_type": "targetType", "task_arn": "taskArn", "task_definition": "taskDefinition", "task_invocation_parameters": "taskInvocationParameters", "task_parameters": "taskParameters", "task_role_arn": "taskRoleArn", "task_type": "taskType", "team_id": "teamId", "template_body": "templateBody", "template_name": "templateName", "template_selection_expression": "templateSelectionExpression", "template_url": "templateUrl", "terminate_instances": "terminateInstances", "terminate_instances_with_expiration": "terminateInstancesWithExpiration", "termination_policies": "terminationPolicies", "termination_protection": "terminationProtection", "thing_type_name": "thingTypeName", "threshold_count": "thresholdCount", "threshold_metric_id": "thresholdMetricId", "throttle_settings": "throttleSettings", "throughput_capacity": "throughputCapacity", "throughput_mode": "throughputMode", "thumbnail_config": "thumbnailConfig", "thumbnail_config_permissions": "thumbnailConfigPermissions", "thumbprint_lists": "thumbprintLists", "time_period_end": "timePeriodEnd", "time_period_start": "timePeriodStart", "time_unit": "timeUnit", "timeout_in_minutes": "timeoutInMinutes", "timeout_in_seconds": "timeoutInSeconds", "timeout_milliseconds": "timeoutMilliseconds", "tls_policy": "tlsPolicy", "to_port": "toPort", "token_key": "tokenKey", "token_key_id": "tokenKeyId", "topic_arn": "topicArn", "tracing_config": "tracingConfig", "traffic_dial_percentage": "trafficDialPercentage", "traffic_direction": "trafficDirection", "traffic_mirror_filter_id": "trafficMirrorFilterId", "traffic_mirror_target_id": "trafficMirrorTargetId", "traffic_routing_config": "trafficRoutingConfig", "traffic_type": "trafficType", "transactional_messages_per_second": "transactionalMessagesPerSecond", "transit_encryption_enabled": "transitEncryptionEnabled", "transit_gateway_attachment_id": "transitGatewayAttachmentId", "transit_gateway_default_route_table_association": "transitGatewayDefaultRouteTableAssociation", "transit_gateway_default_route_table_propagation": "transitGatewayDefaultRouteTablePropagation", "transit_gateway_id": "transitGatewayId", "transit_gateway_route_table_id": "transitGatewayRouteTableId", "transport_protocol": "transportProtocol", "treat_missing_data": "treatMissingData", "trigger_configurations": "triggerConfigurations", "trigger_types": "triggerTypes", "tunnel1_address": "tunnel1Address", "tunnel1_bgp_asn": "tunnel1BgpAsn", "tunnel1_bgp_holdtime": "tunnel1BgpHoldtime", "tunnel1_cgw_inside_address": "tunnel1CgwInsideAddress", "tunnel1_inside_cidr": "tunnel1InsideCidr", "tunnel1_preshared_key": "tunnel1PresharedKey", "tunnel1_vgw_inside_address": "tunnel1VgwInsideAddress", "tunnel2_address": "tunnel2Address", "tunnel2_bgp_asn": "tunnel2BgpAsn", "tunnel2_bgp_holdtime": "tunnel2BgpHoldtime", "tunnel2_cgw_inside_address": "tunnel2CgwInsideAddress", "tunnel2_inside_cidr": "tunnel2InsideCidr", "tunnel2_preshared_key": "tunnel2PresharedKey", "tunnel2_vgw_inside_address": "tunnel2VgwInsideAddress", "unique_id": "uniqueId", "url_path": "urlPath", "usage_plan_id": "usagePlanId", "usage_report_s3_bucket": "usageReportS3Bucket", "use_custom_cookbooks": "useCustomCookbooks", "use_ebs_optimized_instances": "useEbsOptimizedInstances", "use_opsworks_security_groups": "useOpsworksSecurityGroups", "user_arn": "userArn", "user_data": "userData", "user_data_base64": "userDataBase64", "user_name": "userName", "user_pool_add_ons": "userPoolAddOns", "user_pool_config": "userPoolConfig", "user_pool_id": "userPoolId", "user_role": "userRole", "user_volume_encryption_enabled": "userVolumeEncryptionEnabled", "username_attributes": "usernameAttributes", "username_configuration": "usernameConfiguration", "valid_from": "validFrom", "valid_to": "validTo", "valid_until": "validUntil", "valid_user_lists": "validUserLists", "validate_request_body": "validateRequestBody", "validate_request_parameters": "validateRequestParameters", "validation_emails": "validationEmails", "validation_method": "validationMethod", "validation_record_fqdns": "validationRecordFqdns", "vault_name": "vaultName", "verification_message_template": "verificationMessageTemplate", "verification_token": "verificationToken", "version_id": "versionId", "version_stages": "versionStages", "vgw_telemetries": "vgwTelemetries", "video_codec_options": "videoCodecOptions", "video_watermarks": "videoWatermarks", "view_expanded_text": "viewExpandedText", "view_original_text": "viewOriginalText", "viewer_certificate": "viewerCertificate", "virtual_interface_id": "virtualInterfaceId", "virtual_network_id": "virtualNetworkId", "virtual_router_name": "virtualRouterName", "virtualization_type": "virtualizationType", "visibility_timeout_seconds": "visibilityTimeoutSeconds", "visible_to_all_users": "visibleToAllUsers", "volume_arn": "volumeArn", "volume_encryption_key": "volumeEncryptionKey", "volume_id": "volumeId", "volume_size": "volumeSize", "volume_size_in_bytes": "volumeSizeInBytes", "volume_tags": "volumeTags", "vpc_classic_link_id": "vpcClassicLinkId", "vpc_classic_link_security_groups": "vpcClassicLinkSecurityGroups", "vpc_config": "vpcConfig", "vpc_configuration": "vpcConfiguration", "vpc_endpoint_id": "vpcEndpointId", "vpc_endpoint_service_id": "vpcEndpointServiceId", "vpc_endpoint_type": "vpcEndpointType", "vpc_id": "vpcId", "vpc_options": "vpcOptions", "vpc_owner_id": "vpcOwnerId", "vpc_peering_connection_id": "vpcPeeringConnectionId", "vpc_region": "vpcRegion", "vpc_security_group_ids": "vpcSecurityGroupIds", "vpc_settings": "vpcSettings", "vpc_zone_identifiers": "vpcZoneIdentifiers", "vpn_connection_id": "vpnConnectionId", "vpn_ecmp_support": "vpnEcmpSupport", "vpn_gateway_id": "vpnGatewayId", "wait_for_capacity_timeout": "waitForCapacityTimeout", "wait_for_deployment": "waitForDeployment", "wait_for_elb_capacity": "waitForElbCapacity", "wait_for_fulfillment": "waitForFulfillment", "wait_for_ready_timeout": "waitForReadyTimeout", "wait_for_steady_state": "waitForSteadyState", "web_acl_arn": "webAclArn", "web_acl_id": "webAclId", "website_ca_id": "websiteCaId", "website_domain": "websiteDomain", "website_endpoint": "websiteEndpoint", "website_redirect": "websiteRedirect", "weekly_maintenance_start_time": "weeklyMaintenanceStartTime", "weighted_routing_policies": "weightedRoutingPolicies", "window_id": "windowId", "worker_type": "workerType", "workflow_execution_retention_period_in_days": "workflowExecutionRetentionPeriodInDays", "workflow_name": "workflowName", "workmail_actions": "workmailActions", "workspace_properties": "workspaceProperties", "workspace_security_group_id": "workspaceSecurityGroupId", "write_attributes": "writeAttributes", "write_capacity": "writeCapacity", "xml_classifier": "xmlClassifier", "xray_enabled": "xrayEnabled", "xray_tracing_enabled": "xrayTracingEnabled", "xss_match_tuples": "xssMatchTuples", "zone_id": "zoneId", "zookeeper_connect_string": "zookeeperConnectString", } _CAMEL_TO_SNAKE_CASE_TABLE = { "accelerationStatus": "acceleration_status", "acceleratorArn": "accelerator_arn", "acceptStatus": "accept_status", "acceptanceRequired": "acceptance_required", "accessLogSettings": "access_log_settings", "accessLogs": "access_logs", "accessPolicies": "access_policies", "accessPolicy": "access_policy", "accessUrl": "access_url", "accountAggregationSource": "account_aggregation_source", "accountAlias": "account_alias", "accountId": "account_id", "actionsEnabled": "actions_enabled", "activatedRules": "activated_rules", "activationCode": "activation_code", "activationKey": "activation_key", "activeDirectoryId": "active_directory_id", "activeTrustedSigners": "active_trusted_signers", "addHeaderActions": "add_header_actions", "additionalArtifacts": "additional_artifacts", "additionalAuthenticationProviders": "additional_authentication_providers", "additionalInfo": "additional_info", "additionalSchemaElements": "additional_schema_elements", "addressFamily": "address_family", "adjustmentType": "adjustment_type", "adminAccountId": "admin_account_id", "adminCreateUserConfig": "admin_create_user_config", "administrationRoleArn": "administration_role_arn", "advancedOptions": "advanced_options", "agentArns": "agent_arns", "agentVersion": "agent_version", "alarmActions": "alarm_actions", "alarmConfiguration": "alarm_configuration", "alarmDescription": "alarm_description", "albTargetGroupArn": "alb_target_group_arn", "aliasAttributes": "alias_attributes", "allSettings": "all_settings", "allocatedCapacity": "allocated_capacity", "allocatedMemory": "allocated_memory", "allocatedStorage": "allocated_storage", "allocationId": "allocation_id", "allocationStrategy": "allocation_strategy", "allowExternalPrincipals": "allow_external_principals", "allowMajorVersionUpgrade": "allow_major_version_upgrade", "allowOverwrite": "allow_overwrite", "allowReassociation": "allow_reassociation", "allowSelfManagement": "allow_self_management", "allowSsh": "allow_ssh", "allowSudo": "allow_sudo", "allowUnassociatedTargets": "allow_unassociated_targets", "allowUnauthenticatedIdentities": "allow_unauthenticated_identities", "allowUsersToChangePassword": "allow_users_to_change_password", "allowVersionUpgrade": "allow_version_upgrade", "allowedOauthFlows": "allowed_oauth_flows", "allowedOauthFlowsUserPoolClient": "allowed_oauth_flows_user_pool_client", "allowedOauthScopes": "allowed_oauth_scopes", "allowedPattern": "allowed_pattern", "allowedPrefixes": "allowed_prefixes", "allowedPrincipals": "allowed_principals", "amazonAddress": "amazon_address", "amazonSideAsn": "amazon_side_asn", "amiId": "ami_id", "amiType": "ami_type", "analyticsConfiguration": "analytics_configuration", "analyzerName": "analyzer_name", "apiEndpoint": "api_endpoint", "apiId": "api_id", "apiKey": "api_key", "apiKeyRequired": "api_key_required", "apiKeySelectionExpression": "api_key_selection_expression", "apiKeySource": "api_key_source", "apiMappingKey": "api_mapping_key", "apiMappingSelectionExpression": "api_mapping_selection_expression", "apiStages": "api_stages", "appName": "app_name", "appServer": "app_server", "appServerVersion": "app_server_version", "appSources": "app_sources", "applicationFailureFeedbackRoleArn": "application_failure_feedback_role_arn", "applicationId": "application_id", "applicationSuccessFeedbackRoleArn": "application_success_feedback_role_arn", "applicationSuccessFeedbackSampleRate": "application_success_feedback_sample_rate", "applyImmediately": "apply_immediately", "approvalRules": "approval_rules", "approvedPatches": "approved_patches", "approvedPatchesComplianceLevel": "approved_patches_compliance_level", "appversionLifecycle": "appversion_lifecycle", "arnSuffix": "arn_suffix", "artifactStore": "artifact_store", "assignGeneratedIpv6CidrBlock": "assign_generated_ipv6_cidr_block", "assignIpv6AddressOnCreation": "assign_ipv6_address_on_creation", "associatePublicIpAddress": "associate_public_ip_address", "associateWithPrivateIp": "associate_with_private_ip", "associatedGatewayId": "associated_gateway_id", "associatedGatewayOwnerAccountId": "associated_gateway_owner_account_id", "associatedGatewayType": "associated_gateway_type", "associationDefaultRouteTableId": "association_default_route_table_id", "associationId": "association_id", "associationName": "association_name", "assumeRolePolicy": "assume_role_policy", "atRestEncryptionEnabled": "at_rest_encryption_enabled", "attachmentId": "attachment_id", "attachmentsSources": "attachments_sources", "attributeMapping": "attribute_mapping", "audioCodecOptions": "audio_codec_options", "auditStreamArn": "audit_stream_arn", "authToken": "auth_token", "authType": "auth_type", "authenticationConfiguration": "authentication_configuration", "authenticationOptions": "authentication_options", "authenticationType": "authentication_type", "authorizationScopes": "authorization_scopes", "authorizationType": "authorization_type", "authorizerCredentials": "authorizer_credentials", "authorizerCredentialsArn": "authorizer_credentials_arn", "authorizerId": "authorizer_id", "authorizerResultTtlInSeconds": "authorizer_result_ttl_in_seconds", "authorizerType": "authorizer_type", "authorizerUri": "authorizer_uri", "autoAccept": "auto_accept", "autoAcceptSharedAttachments": "auto_accept_shared_attachments", "autoAssignElasticIps": "auto_assign_elastic_ips", "autoAssignPublicIps": "auto_assign_public_ips", "autoBundleOnDeploy": "auto_bundle_on_deploy", "autoDeploy": "auto_deploy", "autoDeployed": "auto_deployed", "autoEnable": "auto_enable", "autoHealing": "auto_healing", "autoMinorVersionUpgrade": "auto_minor_version_upgrade", "autoRollbackConfiguration": "auto_rollback_configuration", "autoScalingGroupProvider": "auto_scaling_group_provider", "autoScalingType": "auto_scaling_type", "autoVerifiedAttributes": "auto_verified_attributes", "automatedSnapshotRetentionPeriod": "automated_snapshot_retention_period", "automaticBackupRetentionDays": "automatic_backup_retention_days", "automaticFailoverEnabled": "automatic_failover_enabled", "automaticStopTimeMinutes": "automatic_stop_time_minutes", "automationTargetParameterName": "automation_target_parameter_name", "autoscalingGroupName": "autoscaling_group_name", "autoscalingGroups": "autoscaling_groups", "autoscalingPolicy": "autoscaling_policy", "autoscalingRole": "autoscaling_role", "availabilityZone": "availability_zone", "availabilityZoneId": "availability_zone_id", "availabilityZoneName": "availability_zone_name", "availabilityZones": "availability_zones", "awsAccountId": "aws_account_id", "awsDevice": "aws_device", "awsFlowRubySettings": "aws_flow_ruby_settings", "awsKmsKeyArn": "aws_kms_key_arn", "awsServiceAccessPrincipals": "aws_service_access_principals", "awsServiceName": "aws_service_name", "azMode": "az_mode", "backtrackWindow": "backtrack_window", "backupRetentionPeriod": "backup_retention_period", "backupWindow": "backup_window", "badgeEnabled": "badge_enabled", "badgeUrl": "badge_url", "baseEndpointDnsNames": "base_endpoint_dns_names", "basePath": "base_path", "baselineId": "baseline_id", "batchSize": "batch_size", "batchTarget": "batch_target", "behaviorOnMxFailure": "behavior_on_mx_failure", "berkshelfVersion": "berkshelf_version", "bgpAsn": "bgp_asn", "bgpAuthKey": "bgp_auth_key", "bgpPeerId": "bgp_peer_id", "bgpStatus": "bgp_status", "bidPrice": "bid_price", "billingMode": "billing_mode", "binaryMediaTypes": "binary_media_types", "bisectBatchOnFunctionError": "bisect_batch_on_function_error", "blockDeviceMappings": "block_device_mappings", "blockDurationMinutes": "block_duration_minutes", "blockPublicAcls": "block_public_acls", "blockPublicPolicy": "block_public_policy", "blueGreenDeploymentConfig": "blue_green_deployment_config", "blueprintId": "blueprint_id", "bootstrapActions": "bootstrap_actions", "bootstrapBrokers": "bootstrap_brokers", "bootstrapBrokersTls": "bootstrap_brokers_tls", "bounceActions": "bounce_actions", "branchFilter": "branch_filter", "brokerName": "broker_name", "brokerNodeGroupInfo": "broker_node_group_info", "bucketDomainName": "bucket_domain_name", "bucketName": "bucket_name", "bucketPrefix": "bucket_prefix", "bucketRegionalDomainName": "bucket_regional_domain_name", "budgetType": "budget_type", "buildId": "build_id", "buildTimeout": "build_timeout", "bundleId": "bundle_id", "bundlerVersion": "bundler_version", "byteMatchTuples": "byte_match_tuples", "caCertIdentifier": "ca_cert_identifier", "cacheClusterEnabled": "cache_cluster_enabled", "cacheClusterSize": "cache_cluster_size", "cacheControl": "cache_control", "cacheKeyParameters": "cache_key_parameters", "cacheNamespace": "cache_namespace", "cacheNodes": "cache_nodes", "cachingConfig": "caching_config", "callbackUrls": "callback_urls", "callerReference": "caller_reference", "campaignHook": "campaign_hook", "capacityProviderStrategies": "capacity_provider_strategies", "capacityProviders": "capacity_providers", "capacityReservationSpecification": "capacity_reservation_specification", "catalogId": "catalog_id", "catalogTargets": "catalog_targets", "cdcStartTime": "cdc_start_time", "certificateArn": "certificate_arn", "certificateAuthority": "certificate_authority", "certificateAuthorityArn": "certificate_authority_arn", "certificateAuthorityConfiguration": "certificate_authority_configuration", "certificateBody": "certificate_body", "certificateChain": "certificate_chain", "certificateId": "certificate_id", "certificateName": "certificate_name", "certificatePem": "certificate_pem", "certificatePrivateKey": "certificate_private_key", "certificateSigningRequest": "certificate_signing_request", "certificateUploadDate": "certificate_upload_date", "certificateWallet": "certificate_wallet", "channelId": "channel_id", "chapEnabled": "chap_enabled", "characterSetName": "character_set_name", "childHealthThreshold": "child_health_threshold", "childHealthchecks": "child_healthchecks", "cidrBlock": "cidr_block", "cidrBlocks": "cidr_blocks", "ciphertextBlob": "ciphertext_blob", "classificationType": "classification_type", "clientAffinity": "client_affinity", "clientAuthentication": "client_authentication", "clientCertificateId": "client_certificate_id", "clientCidrBlock": "client_cidr_block", "clientId": "client_id", "clientIdLists": "client_id_lists", "clientLists": "client_lists", "clientSecret": "client_secret", "clientToken": "client_token", "clientVpnEndpointId": "client_vpn_endpoint_id", "cloneUrlHttp": "clone_url_http", "cloneUrlSsh": "clone_url_ssh", "cloudWatchLogsGroupArn": "cloud_watch_logs_group_arn", "cloudWatchLogsRoleArn": "cloud_watch_logs_role_arn", "cloudfrontAccessIdentityPath": "cloudfront_access_identity_path", "cloudfrontDistributionArn": "cloudfront_distribution_arn", "cloudfrontDomainName": "cloudfront_domain_name", "cloudfrontZoneId": "cloudfront_zone_id", "cloudwatchAlarm": "cloudwatch_alarm", "cloudwatchAlarmName": "cloudwatch_alarm_name", "cloudwatchAlarmRegion": "cloudwatch_alarm_region", "cloudwatchDestinations": "cloudwatch_destinations", "cloudwatchLogGroupArn": "cloudwatch_log_group_arn", "cloudwatchLoggingOptions": "cloudwatch_logging_options", "cloudwatchMetric": "cloudwatch_metric", "cloudwatchRoleArn": "cloudwatch_role_arn", "clusterAddress": "cluster_address", "clusterCertificates": "cluster_certificates", "clusterConfig": "cluster_config", "clusterEndpointIdentifier": "cluster_endpoint_identifier", "clusterId": "cluster_id", "clusterIdentifier": "cluster_identifier", "clusterIdentifierPrefix": "cluster_identifier_prefix", "clusterMembers": "cluster_members", "clusterMode": "cluster_mode", "clusterName": "cluster_name", "clusterParameterGroupName": "cluster_parameter_group_name", "clusterPublicKey": "cluster_public_key", "clusterResourceId": "cluster_resource_id", "clusterRevisionNumber": "cluster_revision_number", "clusterSecurityGroups": "cluster_security_groups", "clusterState": "cluster_state", "clusterSubnetGroupName": "cluster_subnet_group_name", "clusterType": "cluster_type", "clusterVersion": "cluster_version", "cnamePrefix": "cname_prefix", "cognitoIdentityProviders": "cognito_identity_providers", "cognitoOptions": "cognito_options", "companyCode": "company_code", "comparisonOperator": "comparison_operator", "compatibleRuntimes": "compatible_runtimes", "completeLock": "complete_lock", "complianceSeverity": "compliance_severity", "computeEnvironmentName": "compute_environment_name", "computeEnvironmentNamePrefix": "compute_environment_name_prefix", "computeEnvironments": "compute_environments", "computePlatform": "compute_platform", "computeResources": "compute_resources", "computerName": "computer_name", "configurationEndpoint": "configuration_endpoint", "configurationEndpointAddress": "configuration_endpoint_address", "configurationId": "configuration_id", "configurationInfo": "configuration_info", "configurationManagerName": "configuration_manager_name", "configurationManagerVersion": "configuration_manager_version", "configurationSetName": "configuration_set_name", "configurationsJson": "configurations_json", "confirmationTimeoutInMinutes": "confirmation_timeout_in_minutes", "connectSettings": "connect_settings", "connectionDraining": "connection_draining", "connectionDrainingTimeout": "connection_draining_timeout", "connectionEvents": "connection_events", "connectionId": "connection_id", "connectionLogOptions": "connection_log_options", "connectionNotificationArn": "connection_notification_arn", "connectionProperties": "connection_properties", "connectionType": "connection_type", "connectionsBandwidth": "connections_bandwidth", "containerDefinitions": "container_definitions", "containerName": "container_name", "containerProperties": "container_properties", "contentBase64": "content_base64", "contentBasedDeduplication": "content_based_deduplication", "contentConfig": "content_config", "contentConfigPermissions": "content_config_permissions", "contentDisposition": "content_disposition", "contentEncoding": "content_encoding", "contentHandling": "content_handling", "contentHandlingStrategy": "content_handling_strategy", "contentLanguage": "content_language", "contentType": "content_type", "cookieExpirationPeriod": "cookie_expiration_period", "cookieName": "cookie_name", "copyTagsToBackups": "copy_tags_to_backups", "copyTagsToSnapshot": "copy_tags_to_snapshot", "coreInstanceCount": "core_instance_count", "coreInstanceGroup": "core_instance_group", "coreInstanceType": "core_instance_type", "corsConfiguration": "cors_configuration", "corsRules": "cors_rules", "costFilters": "cost_filters", "costTypes": "cost_types", "cpuCoreCount": "cpu_core_count", "cpuCount": "cpu_count", "cpuOptions": "cpu_options", "cpuThreadsPerCore": "cpu_threads_per_core", "createDate": "create_date", "createTimestamp": "create_timestamp", "createdAt": "created_at", "createdDate": "created_date", "createdTime": "created_time", "creationDate": "creation_date", "creationTime": "creation_time", "creationToken": "creation_token", "credentialDuration": "credential_duration", "credentialsArn": "credentials_arn", "creditSpecification": "credit_specification", "crossZoneLoadBalancing": "cross_zone_load_balancing", "csvClassifier": "csv_classifier", "currentVersion": "current_version", "customAmiId": "custom_ami_id", "customConfigureRecipes": "custom_configure_recipes", "customCookbooksSources": "custom_cookbooks_sources", "customDeployRecipes": "custom_deploy_recipes", "customEndpointType": "custom_endpoint_type", "customErrorResponses": "custom_error_responses", "customInstanceProfileArn": "custom_instance_profile_arn", "customJson": "custom_json", "customSecurityGroupIds": "custom_security_group_ids", "customSetupRecipes": "custom_setup_recipes", "customShutdownRecipes": "custom_shutdown_recipes", "customSuffix": "custom_suffix", "customUndeployRecipes": "custom_undeploy_recipes", "customerAddress": "customer_address", "customerAwsId": "customer_aws_id", "customerGatewayConfiguration": "customer_gateway_configuration", "customerGatewayId": "customer_gateway_id", "customerMasterKeySpec": "customer_master_key_spec", "customerOwnedIp": "customer_owned_ip", "customerOwnedIpv4Pool": "customer_owned_ipv4_pool", "customerUserName": "customer_user_name", "dailyAutomaticBackupStartTime": "daily_automatic_backup_start_time", "dashboardArn": "dashboard_arn", "dashboardBody": "dashboard_body", "dashboardName": "dashboard_name", "dataEncryptionKeyId": "data_encryption_key_id", "dataRetentionInHours": "data_retention_in_hours", "dataSource": "data_source", "dataSourceArn": "data_source_arn", "dataSourceDatabaseName": "data_source_database_name", "dataSourceType": "data_source_type", "databaseName": "database_name", "datapointsToAlarm": "datapoints_to_alarm", "dbClusterIdentifier": "db_cluster_identifier", "dbClusterParameterGroupName": "db_cluster_parameter_group_name", "dbClusterSnapshotArn": "db_cluster_snapshot_arn", "dbClusterSnapshotIdentifier": "db_cluster_snapshot_identifier", "dbInstanceIdentifier": "db_instance_identifier", "dbParameterGroupName": "db_parameter_group_name", "dbPassword": "db_password", "dbSnapshotArn": "db_snapshot_arn", "dbSnapshotIdentifier": "db_snapshot_identifier", "dbSubnetGroupName": "db_subnet_group_name", "dbUser": "db_user", "dbiResourceId": "dbi_resource_id", "deadLetterConfig": "dead_letter_config", "defaultAction": "default_action", "defaultActions": "default_actions", "defaultArguments": "default_arguments", "defaultAssociationRouteTable": "default_association_route_table", "defaultAuthenticationMethod": "default_authentication_method", "defaultAvailabilityZone": "default_availability_zone", "defaultBranch": "default_branch", "defaultCacheBehavior": "default_cache_behavior", "defaultCapacityProviderStrategies": "default_capacity_provider_strategies", "defaultClientId": "default_client_id", "defaultCooldown": "default_cooldown", "defaultInstanceProfileArn": "default_instance_profile_arn", "defaultNetworkAclId": "default_network_acl_id", "defaultOs": "default_os", "defaultPropagationRouteTable": "default_propagation_route_table", "defaultRedirectUri": "default_redirect_uri", "defaultResult": "default_result", "defaultRootDeviceType": "default_root_device_type", "defaultRootObject": "default_root_object", "defaultRouteSettings": "default_route_settings", "defaultRouteTableAssociation": "default_route_table_association", "defaultRouteTableId": "default_route_table_id", "defaultRouteTablePropagation": "default_route_table_propagation", "defaultRunProperties": "default_run_properties", "defaultSecurityGroupId": "default_security_group_id", "defaultSenderId": "default_sender_id", "defaultSmsType": "default_sms_type", "defaultSshKeyName": "default_ssh_key_name", "defaultStorageClass": "default_storage_class", "defaultSubnetId": "default_subnet_id", "defaultValue": "default_value", "defaultVersion": "default_version", "defaultVersionId": "default_version_id", "delaySeconds": "delay_seconds", "delegationSetId": "delegation_set_id", "deleteAutomatedBackups": "delete_automated_backups", "deleteEbs": "delete_ebs", "deleteEip": "delete_eip", "deletionProtection": "deletion_protection", "deletionWindowInDays": "deletion_window_in_days", "deliveryPolicy": "delivery_policy", "deliveryStatusIamRoleArn": "delivery_status_iam_role_arn", "deliveryStatusSuccessSamplingRate": "delivery_status_success_sampling_rate", "deploymentConfigId": "deployment_config_id", "deploymentConfigName": "deployment_config_name", "deploymentController": "deployment_controller", "deploymentGroupName": "deployment_group_name", "deploymentId": "deployment_id", "deploymentMaximumPercent": "deployment_maximum_percent", "deploymentMinimumHealthyPercent": "deployment_minimum_healthy_percent", "deploymentMode": "deployment_mode", "deploymentStyle": "deployment_style", "deregistrationDelay": "deregistration_delay", "desiredCapacity": "desired_capacity", "desiredCount": "desired_count", "destinationArn": "destination_arn", "destinationCidrBlock": "destination_cidr_block", "destinationConfig": "destination_config", "destinationId": "destination_id", "destinationIpv6CidrBlock": "destination_ipv6_cidr_block", "destinationLocationArn": "destination_location_arn", "destinationName": "destination_name", "destinationPortRange": "destination_port_range", "destinationPrefixListId": "destination_prefix_list_id", "destinationStreamArn": "destination_stream_arn", "detailType": "detail_type", "detectorId": "detector_id", "developerProviderName": "developer_provider_name", "deviceCaCertificate": "device_ca_certificate", "deviceConfiguration": "device_configuration", "deviceIndex": "device_index", "deviceName": "device_name", "dhcpOptionsId": "dhcp_options_id", "directInternetAccess": "direct_internet_access", "directoryId": "directory_id", "directoryName": "directory_name", "directoryType": "directory_type", "disableApiTermination": "disable_api_termination", "disableEmailNotification": "disable_email_notification", "disableRollback": "disable_rollback", "diskId": "disk_id", "diskSize": "disk_size", "displayName": "display_name", "dkimTokens": "dkim_tokens", "dnsConfig": "dns_config", "dnsEntries": "dns_entries", "dnsIpAddresses": "dns_ip_addresses", "dnsIps": "dns_ips", "dnsName": "dns_name", "dnsServers": "dns_servers", "dnsSupport": "dns_support", "documentFormat": "document_format", "documentRoot": "document_root", "documentType": "document_type", "documentVersion": "document_version", "documentationVersion": "documentation_version", "domainEndpointOptions": "domain_endpoint_options", "domainIamRoleName": "domain_iam_role_name", "domainId": "domain_id", "domainName": "domain_name", "domainNameConfiguration": "domain_name_configuration", "domainNameServers": "domain_name_servers", "domainValidationOptions": "domain_validation_options", "drainElbOnShutdown": "drain_elb_on_shutdown", "dropInvalidHeaderFields": "drop_invalid_header_fields", "dxGatewayAssociationId": "dx_gateway_association_id", "dxGatewayId": "dx_gateway_id", "dxGatewayOwnerAccountId": "dx_gateway_owner_account_id", "dynamodbConfig": "dynamodb_config", "dynamodbTargets": "dynamodb_targets", "ebsBlockDevices": "ebs_block_devices", "ebsConfigs": "ebs_configs", "ebsOptimized": "ebs_optimized", "ebsOptions": "ebs_options", "ebsRootVolumeSize": "ebs_root_volume_size", "ebsVolumes": "ebs_volumes", "ec2Attributes": "ec2_attributes", "ec2Config": "ec2_config", "ec2InboundPermissions": "ec2_inbound_permissions", "ec2InstanceId": "ec2_instance_id", "ec2InstanceType": "ec2_instance_type", "ec2TagFilters": "ec2_tag_filters", "ec2TagSets": "ec2_tag_sets", "ecsClusterArn": "ecs_cluster_arn", "ecsService": "ecs_service", "ecsTarget": "ecs_target", "efsFileSystemArn": "efs_file_system_arn", "egressOnlyGatewayId": "egress_only_gateway_id", "elasticGpuSpecifications": "elastic_gpu_specifications", "elasticInferenceAccelerator": "elastic_inference_accelerator", "elasticIp": "elastic_ip", "elasticLoadBalancer": "elastic_load_balancer", "elasticsearchConfig": "elasticsearch_config", "elasticsearchConfiguration": "elasticsearch_configuration", "elasticsearchSettings": "elasticsearch_settings", "elasticsearchVersion": "elasticsearch_version", "emailConfiguration": "email_configuration", "emailVerificationMessage": "email_verification_message", "emailVerificationSubject": "email_verification_subject", "enaSupport": "ena_support", "enableClassiclink": "enable_classiclink", "enableClassiclinkDnsSupport": "enable_classiclink_dns_support", "enableCloudwatchLogsExports": "enable_cloudwatch_logs_exports", "enableCrossZoneLoadBalancing": "enable_cross_zone_load_balancing", "enableDeletionProtection": "enable_deletion_protection", "enableDnsHostnames": "enable_dns_hostnames", "enableDnsSupport": "enable_dns_support", "enableEcsManagedTags": "enable_ecs_managed_tags", "enableHttp2": "enable_http2", "enableHttpEndpoint": "enable_http_endpoint", "enableKeyRotation": "enable_key_rotation", "enableLogFileValidation": "enable_log_file_validation", "enableLogging": "enable_logging", "enableMonitoring": "enable_monitoring", "enableNetworkIsolation": "enable_network_isolation", "enableSni": "enable_sni", "enableSsl": "enable_ssl", "enableSso": "enable_sso", "enabledCloudwatchLogsExports": "enabled_cloudwatch_logs_exports", "enabledClusterLogTypes": "enabled_cluster_log_types", "enabledMetrics": "enabled_metrics", "enabledPolicyTypes": "enabled_policy_types", "encodedKey": "encoded_key", "encryptAtRest": "encrypt_at_rest", "encryptedFingerprint": "encrypted_fingerprint", "encryptedPassword": "encrypted_password", "encryptedPrivateKey": "encrypted_private_key", "encryptedSecret": "encrypted_secret", "encryptionConfig": "encryption_config", "encryptionConfiguration": "encryption_configuration", "encryptionInfo": "encryption_info", "encryptionKey": "encryption_key", "encryptionOptions": "encryption_options", "encryptionType": "encryption_type", "endDate": "end_date", "endDateType": "end_date_type", "endTime": "end_time", "endpointArn": "endpoint_arn", "endpointAutoConfirms": "endpoint_auto_confirms", "endpointConfigName": "endpoint_config_name", "endpointConfiguration": "endpoint_configuration", "endpointConfigurations": "endpoint_configurations", "endpointDetails": "endpoint_details", "endpointGroupRegion": "endpoint_group_region", "endpointId": "endpoint_id", "endpointType": "endpoint_type", "endpointUrl": "endpoint_url", "enforceConsumerDeletion": "enforce_consumer_deletion", "engineMode": "engine_mode", "engineName": "engine_name", "engineType": "engine_type", "engineVersion": "engine_version", "enhancedMonitoring": "enhanced_monitoring", "enhancedVpcRouting": "enhanced_vpc_routing", "eniId": "eni_id", "environmentId": "environment_id", "ephemeralBlockDevices": "ephemeral_block_devices", "ephemeralStorage": "ephemeral_storage", "estimatedInstanceWarmup": "estimated_instance_warmup", "evaluateLowSampleCountPercentiles": "evaluate_low_sample_count_percentiles", "evaluationPeriods": "evaluation_periods", "eventCategories": "event_categories", "eventDeliveryFailureTopicArn": "event_delivery_failure_topic_arn", "eventEndpointCreatedTopicArn": "event_endpoint_created_topic_arn", "eventEndpointDeletedTopicArn": "event_endpoint_deleted_topic_arn", "eventEndpointUpdatedTopicArn": "event_endpoint_updated_topic_arn", "eventPattern": "event_pattern", "eventSelectors": "event_selectors", "eventSourceArn": "event_source_arn", "eventSourceToken": "event_source_token", "eventTypeIds": "event_type_ids", "excessCapacityTerminationPolicy": "excess_capacity_termination_policy", "excludedAccounts": "excluded_accounts", "excludedMembers": "excluded_members", "executionArn": "execution_arn", "executionProperty": "execution_property", "executionRoleArn": "execution_role_arn", "executionRoleName": "execution_role_name", "expirationDate": "expiration_date", "expirationModel": "expiration_model", "expirePasswords": "expire_passwords", "explicitAuthFlows": "explicit_auth_flows", "exportPath": "export_path", "extendedS3Configuration": "extended_s3_configuration", "extendedStatistic": "extended_statistic", "extraConnectionAttributes": "extra_connection_attributes", "failoverRoutingPolicies": "failover_routing_policies", "failureFeedbackRoleArn": "failure_feedback_role_arn", "failureThreshold": "failure_threshold", "fargateProfileName": "fargate_profile_name", "featureName": "feature_name", "featureSet": "feature_set", "fifoQueue": "fifo_queue", "fileSystemArn": "file_system_arn", "fileSystemConfig": "file_system_config", "fileSystemId": "file_system_id", "fileshareId": "fileshare_id", "filterGroups": "filter_groups", "filterPattern": "filter_pattern", "filterPolicy": "filter_policy", "finalSnapshotIdentifier": "final_snapshot_identifier", "findingPublishingFrequency": "finding_publishing_frequency", "fixedRate": "fixed_rate", "fleetArn": "fleet_arn", "fleetType": "fleet_type", "forceDelete": "force_delete", "forceDestroy": "force_destroy", "forceDetach": "force_detach", "forceDetachPolicies": "force_detach_policies", "forceNewDeployment": "force_new_deployment", "forceUpdateVersion": "force_update_version", "fromAddress": "from_address", "fromPort": "from_port", "functionArn": "function_arn", "functionId": "function_id", "functionName": "function_name", "functionVersion": "function_version", "gatewayArn": "gateway_arn", "gatewayId": "gateway_id", "gatewayIpAddress": "gateway_ip_address", "gatewayName": "gateway_name", "gatewayTimezone": "gateway_timezone", "gatewayType": "gateway_type", "gatewayVpcEndpoint": "gateway_vpc_endpoint", "generateSecret": "generate_secret", "geoMatchConstraints": "geo_match_constraints", "geolocationRoutingPolicies": "geolocation_routing_policies", "getPasswordData": "get_password_data", "globalClusterIdentifier": "global_cluster_identifier", "globalClusterResourceId": "global_cluster_resource_id", "globalFilters": "global_filters", "globalSecondaryIndexes": "global_secondary_indexes", "glueVersion": "glue_version", "grantCreationTokens": "grant_creation_tokens", "grantId": "grant_id", "grantToken": "grant_token", "granteePrincipal": "grantee_principal", "grokClassifier": "grok_classifier", "groupName": "group_name", "groupNames": "group_names", "guessMimeTypeEnabled": "guess_mime_type_enabled", "hardExpiry": "hard_expiry", "hasLogicalRedundancy": "has_logical_redundancy", "hasPublicAccessPolicy": "has_public_access_policy", "hashKey": "hash_key", "hashType": "hash_type", "healthCheck": "health_check", "healthCheckConfig": "health_check_config", "healthCheckCustomConfig": "health_check_custom_config", "healthCheckGracePeriod": "health_check_grace_period", "healthCheckGracePeriodSeconds": "health_check_grace_period_seconds", "healthCheckId": "health_check_id", "healthCheckIntervalSeconds": "health_check_interval_seconds", "healthCheckPath": "health_check_path", "healthCheckPort": "health_check_port", "healthCheckProtocol": "health_check_protocol", "healthCheckType": "health_check_type", "healthcheckMethod": "healthcheck_method", "healthcheckUrl": "healthcheck_url", "heartbeatTimeout": "heartbeat_timeout", "hibernationOptions": "hibernation_options", "hlsIngests": "hls_ingests", "homeDirectory": "home_directory", "homeRegion": "home_region", "hostId": "host_id", "hostInstanceType": "host_instance_type", "hostKey": "host_key", "hostKeyFingerprint": "host_key_fingerprint", "hostVpcId": "host_vpc_id", "hostedZone": "hosted_zone", "hostedZoneId": "hosted_zone_id", "hostnameTheme": "hostname_theme", "hsmEniId": "hsm_eni_id", "hsmId": "hsm_id", "hsmState": "hsm_state", "hsmType": "hsm_type", "httpConfig": "http_config", "httpFailureFeedbackRoleArn": "http_failure_feedback_role_arn", "httpMethod": "http_method", "httpSuccessFeedbackRoleArn": "http_success_feedback_role_arn", "httpSuccessFeedbackSampleRate": "http_success_feedback_sample_rate", "httpVersion": "http_version", "iamArn": "iam_arn", "iamDatabaseAuthenticationEnabled": "iam_database_authentication_enabled", "iamFleetRole": "iam_fleet_role", "iamInstanceProfile": "iam_instance_profile", "iamRole": "iam_role", "iamRoleArn": "iam_role_arn", "iamRoleId": "iam_role_id", "iamRoles": "iam_roles", "iamUserAccessToBilling": "iam_user_access_to_billing", "icmpCode": "icmp_code", "icmpType": "icmp_type", "identifierPrefix": "identifier_prefix", "identityPoolId": "identity_pool_id", "identityPoolName": "identity_pool_name", "identityProvider": "identity_provider", "identityProviderType": "identity_provider_type", "identitySource": "identity_source", "identitySources": "identity_sources", "identityType": "identity_type", "identityValidationExpression": "identity_validation_expression", "idleTimeout": "idle_timeout", "idpIdentifiers": "idp_identifiers", "ignoreDeletionError": "ignore_deletion_error", "ignorePublicAcls": "ignore_public_acls", "imageId": "image_id", "imageLocation": "image_location", "imageScanningConfiguration": "image_scanning_configuration", "imageTagMutability": "image_tag_mutability", "importPath": "import_path", "importedFileChunkSize": "imported_file_chunk_size", "inProgressValidationBatches": "in_progress_validation_batches", "includeGlobalServiceEvents": "include_global_service_events", "includeOriginalHeaders": "include_original_headers", "includedObjectVersions": "included_object_versions", "inferenceAccelerators": "inference_accelerators", "infrastructureClass": "infrastructure_class", "initialLifecycleHooks": "initial_lifecycle_hooks", "inputBucket": "input_bucket", "inputParameters": "input_parameters", "inputPath": "input_path", "inputTransformer": "input_transformer", "installUpdatesOnBoot": "install_updates_on_boot", "instanceClass": "instance_class", "instanceCount": "instance_count", "instanceGroups": "instance_groups", "instanceId": "instance_id", "instanceInitiatedShutdownBehavior": "instance_initiated_shutdown_behavior", "instanceInterruptionBehaviour": "instance_interruption_behaviour", "instanceMarketOptions": "instance_market_options", "instanceMatchCriteria": "instance_match_criteria", "instanceName": "instance_name", "instanceOwnerId": "instance_owner_id", "instancePlatform": "instance_platform", "instancePoolsToUseCount": "instance_pools_to_use_count", "instancePort": "instance_port", "instancePorts": "instance_ports", "instanceProfileArn": "instance_profile_arn", "instanceRoleArn": "instance_role_arn", "instanceShutdownTimeout": "instance_shutdown_timeout", "instanceState": "instance_state", "instanceTenancy": "instance_tenancy", "instanceType": "instance_type", "instanceTypes": "instance_types", "insufficientDataActions": "insufficient_data_actions", "insufficientDataHealthStatus": "insufficient_data_health_status", "integrationHttpMethod": "integration_http_method", "integrationId": "integration_id", "integrationMethod": "integration_method", "integrationResponseKey": "integration_response_key", "integrationResponseSelectionExpression": "integration_response_selection_expression", "integrationType": "integration_type", "integrationUri": "integration_uri", "invalidUserLists": "invalid_user_lists", "invertHealthcheck": "invert_healthcheck", "invitationArn": "invitation_arn", "invitationMessage": "invitation_message", "invocationRole": "invocation_role", "invokeArn": "invoke_arn", "invokeUrl": "invoke_url", "iotAnalytics": "iot_analytics", "iotEvents": "iot_events", "ipAddress": "ip_address", "ipAddressType": "ip_address_type", "ipAddressVersion": "ip_address_version", "ipAddresses": "ip_addresses", "ipGroupIds": "ip_group_ids", "ipSetDescriptors": "ip_set_descriptors", "ipSets": "ip_sets", "ipcMode": "ipc_mode", "ipv6Address": "ipv6_address", "ipv6AddressCount": "ipv6_address_count", "ipv6Addresses": "ipv6_addresses", "ipv6AssociationId": "ipv6_association_id", "ipv6CidrBlock": "ipv6_cidr_block", "ipv6CidrBlockAssociationId": "ipv6_cidr_block_association_id", "ipv6CidrBlocks": "ipv6_cidr_blocks", "ipv6Support": "ipv6_support", "isEnabled": "is_enabled", "isIpv6Enabled": "is_ipv6_enabled", "isMultiRegionTrail": "is_multi_region_trail", "isOrganizationTrail": "is_organization_trail", "isStaticIp": "is_static_ip", "jdbcTargets": "jdbc_targets", "joinedMethod": "joined_method", "joinedTimestamp": "joined_timestamp", "jsonClassifier": "json_classifier", "jumboFrameCapable": "jumbo_frame_capable", "jvmOptions": "jvm_options", "jvmType": "jvm_type", "jvmVersion": "jvm_version", "jwtConfiguration": "jwt_configuration", "kafkaSettings": "kafka_settings", "kafkaVersion": "kafka_version", "kafkaVersions": "kafka_versions", "keepJobFlowAliveWhenNoSteps": "keep_job_flow_alive_when_no_steps", "kerberosAttributes": "kerberos_attributes", "kernelId": "kernel_id", "keyArn": "key_arn", "keyFingerprint": "key_fingerprint", "keyId": "key_id", "keyMaterialBase64": "key_material_base64", "keyName": "key_name", "keyNamePrefix": "key_name_prefix", "keyPairId": "key_pair_id", "keyPairName": "key_pair_name", "keyState": "key_state", "keyType": "key_type", "keyUsage": "key_usage", "kibanaEndpoint": "kibana_endpoint", "kinesisDestination": "kinesis_destination", "kinesisSettings": "kinesis_settings", "kinesisSourceConfiguration": "kinesis_source_configuration", "kinesisTarget": "kinesis_target", "kmsDataKeyReusePeriodSeconds": "kms_data_key_reuse_period_seconds", "kmsEncrypted": "kms_encrypted", "kmsKeyArn": "kms_key_arn", "kmsKeyId": "kms_key_id", "kmsMasterKeyId": "kms_master_key_id", "lagId": "lag_id", "lambda": "lambda_", "lambdaActions": "lambda_actions", "lambdaConfig": "lambda_config", "lambdaFailureFeedbackRoleArn": "lambda_failure_feedback_role_arn", "lambdaFunctionArn": "lambda_function_arn", "lambdaFunctions": "lambda_functions", "lambdaMultiValueHeadersEnabled": "lambda_multi_value_headers_enabled", "lambdaSuccessFeedbackRoleArn": "lambda_success_feedback_role_arn", "lambdaSuccessFeedbackSampleRate": "lambda_success_feedback_sample_rate", "lastModified": "last_modified", "lastModifiedDate": "last_modified_date", "lastModifiedTime": "last_modified_time", "lastProcessingResult": "last_processing_result", "lastServiceErrorId": "last_service_error_id", "lastUpdateTimestamp": "last_update_timestamp", "lastUpdatedDate": "last_updated_date", "lastUpdatedTime": "last_updated_time", "latencyRoutingPolicies": "latency_routing_policies", "latestRevision": "latest_revision", "latestVersion": "latest_version", "launchConfiguration": "launch_configuration", "launchConfigurations": "launch_configurations", "launchGroup": "launch_group", "launchSpecifications": "launch_specifications", "launchTemplate": "launch_template", "launchTemplateConfig": "launch_template_config", "launchTemplateConfigs": "launch_template_configs", "launchType": "launch_type", "layerArn": "layer_arn", "layerIds": "layer_ids", "layerName": "layer_name", "lbPort": "lb_port", "licenseConfigurationArn": "license_configuration_arn", "licenseCount": "license_count", "licenseCountHardLimit": "license_count_hard_limit", "licenseCountingType": "license_counting_type", "licenseInfo": "license_info", "licenseModel": "license_model", "licenseRules": "license_rules", "licenseSpecifications": "license_specifications", "lifecycleConfigName": "lifecycle_config_name", "lifecyclePolicy": "lifecycle_policy", "lifecycleRules": "lifecycle_rules", "lifecycleTransition": "lifecycle_transition", "limitAmount": "limit_amount", "limitUnit": "limit_unit", "listenerArn": "listener_arn", "loadBalancer": "load_balancer", "loadBalancerArn": "load_balancer_arn", "loadBalancerInfo": "load_balancer_info", "loadBalancerName": "load_balancer_name", "loadBalancerPort": "load_balancer_port", "loadBalancerType": "load_balancer_type", "loadBalancers": "load_balancers", "loadBalancingAlgorithmType": "load_balancing_algorithm_type", "localGatewayId": "local_gateway_id", "localGatewayRouteTableId": "local_gateway_route_table_id", "localGatewayVirtualInterfaceGroupId": "local_gateway_virtual_interface_group_id", "localSecondaryIndexes": "local_secondary_indexes", "locationArn": "location_arn", "locationUri": "location_uri", "lockToken": "lock_token", "logConfig": "log_config", "logDestination": "log_destination", "logDestinationType": "log_destination_type", "logFormat": "log_format", "logGroup": "log_group", "logGroupName": "log_group_name", "logPaths": "log_paths", "logPublishingOptions": "log_publishing_options", "logUri": "log_uri", "loggingConfig": "logging_config", "loggingConfiguration": "logging_configuration", "loggingInfo": "logging_info", "loggingRole": "logging_role", "logoutUrls": "logout_urls", "logsConfig": "logs_config", "lunNumber": "lun_number", "macAddress": "mac_address", "mailFromDomain": "mail_from_domain", "mainRouteTableId": "main_route_table_id", "maintenanceWindow": "maintenance_window", "maintenanceWindowStartTime": "maintenance_window_start_time", "majorEngineVersion": "major_engine_version", "manageBerkshelf": "manage_berkshelf", "manageBundler": "manage_bundler", "manageEbsSnapshots": "manage_ebs_snapshots", "managesVpcEndpoints": "manages_vpc_endpoints", "mapPublicIpOnLaunch": "map_public_ip_on_launch", "masterAccountArn": "master_account_arn", "masterAccountEmail": "master_account_email", "masterAccountId": "master_account_id", "masterId": "master_id", "masterInstanceGroup": "master_instance_group", "masterInstanceType": "master_instance_type", "masterPassword": "master_password", "masterPublicDns": "master_public_dns", "masterUsername": "master_username", "matchCriterias": "match_criterias", "matchingTypes": "matching_types", "maxAggregationInterval": "max_aggregation_interval", "maxAllocatedStorage": "max_allocated_storage", "maxCapacity": "max_capacity", "maxConcurrency": "max_concurrency", "maxErrors": "max_errors", "maxInstanceLifetime": "max_instance_lifetime", "maxMessageSize": "max_message_size", "maxPasswordAge": "max_password_age", "maxRetries": "max_retries", "maxSessionDuration": "max_session_duration", "maxSize": "max_size", "maximumBatchingWindowInSeconds": "maximum_batching_window_in_seconds", "maximumEventAgeInSeconds": "maximum_event_age_in_seconds", "maximumExecutionFrequency": "maximum_execution_frequency", "maximumRecordAgeInSeconds": "maximum_record_age_in_seconds", "maximumRetryAttempts": "maximum_retry_attempts", "measureLatency": "measure_latency", "mediaType": "media_type", "mediumChangerType": "medium_changer_type", "memberAccountId": "member_account_id", "memberClusters": "member_clusters", "memberStatus": "member_status", "memorySize": "memory_size", "meshName": "mesh_name", "messageRetentionSeconds": "message_retention_seconds", "messagesPerSecond": "messages_per_second", "metadataOptions": "metadata_options", "methodPath": "method_path", "metricAggregationType": "metric_aggregation_type", "metricGroups": "metric_groups", "metricName": "metric_name", "metricQueries": "metric_queries", "metricTransformation": "metric_transformation", "metricsGranularity": "metrics_granularity", "mfaConfiguration": "mfa_configuration", "migrationType": "migration_type", "minAdjustmentMagnitude": "min_adjustment_magnitude", "minCapacity": "min_capacity", "minElbCapacity": "min_elb_capacity", "minSize": "min_size", "minimumCompressionSize": "minimum_compression_size", "minimumHealthyHosts": "minimum_healthy_hosts", "minimumPasswordLength": "minimum_password_length", "mixedInstancesPolicy": "mixed_instances_policy", "modelSelectionExpression": "model_selection_expression", "mongodbSettings": "mongodb_settings", "monitoringInterval": "monitoring_interval", "monitoringRoleArn": "monitoring_role_arn", "monthlySpendLimit": "monthly_spend_limit", "mountOptions": "mount_options", "mountTargetDnsName": "mount_target_dns_name", "multiAttachEnabled": "multi_attach_enabled", "multiAz": "multi_az", "multivalueAnswerRoutingPolicy": "multivalue_answer_routing_policy", "namePrefix": "name_prefix", "nameServers": "name_servers", "namespaceId": "namespace_id", "natGatewayId": "nat_gateway_id", "neptuneClusterParameterGroupName": "neptune_cluster_parameter_group_name", "neptuneParameterGroupName": "neptune_parameter_group_name", "neptuneSubnetGroupName": "neptune_subnet_group_name", "netbiosNameServers": "netbios_name_servers", "netbiosNodeType": "netbios_node_type", "networkAclId": "network_acl_id", "networkConfiguration": "network_configuration", "networkInterface": "network_interface", "networkInterfaceId": "network_interface_id", "networkInterfaceIds": "network_interface_ids", "networkInterfacePort": "network_interface_port", "networkInterfaces": "network_interfaces", "networkLoadBalancerArn": "network_load_balancer_arn", "networkLoadBalancerArns": "network_load_balancer_arns", "networkMode": "network_mode", "networkOrigin": "network_origin", "networkServices": "network_services", "newGameSessionProtectionPolicy": "new_game_session_protection_policy", "nfsFileShareDefaults": "nfs_file_share_defaults", "nodeGroupName": "node_group_name", "nodeRoleArn": "node_role_arn", "nodeToNodeEncryption": "node_to_node_encryption", "nodeType": "node_type", "nodejsVersion": "nodejs_version", "nonMasterAccounts": "non_master_accounts", "notAfter": "not_after", "notBefore": "not_before", "notificationArns": "notification_arns", "notificationMetadata": "notification_metadata", "notificationProperty": "notification_property", "notificationTargetArn": "notification_target_arn", "notificationTopicArn": "notification_topic_arn", "notificationType": "notification_type", "ntpServers": "ntp_servers", "numCacheNodes": "num_cache_nodes", "numberCacheClusters": "number_cache_clusters", "numberOfBrokerNodes": "number_of_broker_nodes", "numberOfNodes": "number_of_nodes", "numberOfWorkers": "number_of_workers", "objectAcl": "object_acl", "objectLockConfiguration": "object_lock_configuration", "objectLockLegalHoldStatus": "object_lock_legal_hold_status", "objectLockMode": "object_lock_mode", "objectLockRetainUntilDate": "object_lock_retain_until_date", "okActions": "ok_actions", "onCreate": "on_create", "onDemandOptions": "on_demand_options", "onFailure": "on_failure", "onPremConfig": "on_prem_config", "onPremisesInstanceTagFilters": "on_premises_instance_tag_filters", "onStart": "on_start", "openMonitoring": "open_monitoring", "openidConnectConfig": "openid_connect_config", "openidConnectProviderArns": "openid_connect_provider_arns", "operatingSystem": "operating_system", "operationName": "operation_name", "optInStatus": "opt_in_status", "optimizeForEndUserLocation": "optimize_for_end_user_location", "optionGroupDescription": "option_group_description", "optionGroupName": "option_group_name", "optionalFields": "optional_fields", "orderedCacheBehaviors": "ordered_cache_behaviors", "orderedPlacementStrategies": "ordered_placement_strategies", "organizationAggregationSource": "organization_aggregation_source", "originGroups": "origin_groups", "originalRouteTableId": "original_route_table_id", "outpostArn": "outpost_arn", "outputBucket": "output_bucket", "outputLocation": "output_location", "ownerAccount": "owner_account", "ownerAccountId": "owner_account_id", "ownerAlias": "owner_alias", "ownerArn": "owner_arn", "ownerId": "owner_id", "ownerInformation": "owner_information", "packetLength": "packet_length", "parallelizationFactor": "parallelization_factor", "parameterGroupName": "parameter_group_name", "parameterOverrides": "parameter_overrides", "parentId": "parent_id", "partitionKeys": "partition_keys", "passengerVersion": "passenger_version", "passthroughBehavior": "passthrough_behavior", "passwordData": "password_data", "passwordLength": "password_length", "passwordPolicy": "password_policy", "passwordResetRequired": "password_reset_required", "passwordReusePrevention": "password_reuse_prevention", "patchGroup": "patch_group", "pathPart": "path_part", "payloadFormatVersion": "payload_format_version", "payloadUrl": "payload_url", "peerAccountId": "peer_account_id", "peerOwnerId": "peer_owner_id", "peerRegion": "peer_region", "peerTransitGatewayId": "peer_transit_gateway_id", "peerVpcId": "peer_vpc_id", "pemEncodedCertificate": "pem_encoded_certificate", "performanceInsightsEnabled": "performance_insights_enabled", "performanceInsightsKmsKeyId": "performance_insights_kms_key_id", "performanceInsightsRetentionPeriod": "performance_insights_retention_period", "performanceMode": "performance_mode", "permanentDeletionTimeInDays": "permanent_deletion_time_in_days", "permissionsBoundary": "permissions_boundary", "pgpKey": "pgp_key", "physicalConnectionRequirements": "physical_connection_requirements", "pidMode": "pid_mode", "pipelineConfig": "pipeline_config", "placementConstraints": "placement_constraints", "placementGroup": "placement_group", "placementGroupId": "placement_group_id", "placementTenancy": "placement_tenancy", "planId": "plan_id", "platformArn": "platform_arn", "platformCredential": "platform_credential", "platformPrincipal": "platform_principal", "platformTypes": "platform_types", "platformVersion": "platform_version", "playerLatencyPolicies": "player_latency_policies", "podExecutionRoleArn": "pod_execution_role_arn", "pointInTimeRecovery": "point_in_time_recovery", "policyArn": "policy_arn", "policyAttributes": "policy_attributes", "policyBody": "policy_body", "policyDetails": "policy_details", "policyDocument": "policy_document", "policyId": "policy_id", "policyName": "policy_name", "policyNames": "policy_names", "policyType": "policy_type", "policyTypeName": "policy_type_name", "policyUrl": "policy_url", "pollInterval": "poll_interval", "portRanges": "port_ranges", "posixUser": "posix_user", "preferredAvailabilityZones": "preferred_availability_zones", "preferredBackupWindow": "preferred_backup_window", "preferredMaintenanceWindow": "preferred_maintenance_window", "prefixListId": "prefix_list_id", "prefixListIds": "prefix_list_ids", "preventUserExistenceErrors": "prevent_user_existence_errors", "priceClass": "price_class", "pricingPlan": "pricing_plan", "primaryContainer": "primary_container", "primaryEndpointAddress": "primary_endpoint_address", "primaryNetworkInterfaceId": "primary_network_interface_id", "principalArn": "principal_arn", "privateDns": "private_dns", "privateDnsEnabled": "private_dns_enabled", "privateDnsName": "private_dns_name", "privateIp": "private_ip", "privateIpAddress": "private_ip_address", "privateIps": "private_ips", "privateIpsCount": "private_ips_count", "privateKey": "private_key", "productArn": "product_arn", "productCode": "product_code", "productionVariants": "production_variants", "projectName": "project_name", "promotionTier": "promotion_tier", "promotionalMessagesPerSecond": "promotional_messages_per_second", "propagateTags": "propagate_tags", "propagatingVgws": "propagating_vgws", "propagationDefaultRouteTableId": "propagation_default_route_table_id", "proposalId": "proposal_id", "protectFromScaleIn": "protect_from_scale_in", "protocolType": "protocol_type", "providerArns": "provider_arns", "providerDetails": "provider_details", "providerName": "provider_name", "providerType": "provider_type", "provisionedConcurrentExecutions": "provisioned_concurrent_executions", "provisionedThroughputInMibps": "provisioned_throughput_in_mibps", "proxyConfiguration": "proxy_configuration", "proxyProtocolV2": "proxy_protocol_v2", "publicAccessBlockConfiguration": "public_access_block_configuration", "publicDns": "public_dns", "publicIp": "public_ip", "publicIpAddress": "public_ip_address", "publicIpv4Pool": "public_ipv4_pool", "publicKey": "public_key", "publiclyAccessible": "publicly_accessible", "qualifiedArn": "qualified_arn", "queueUrl": "queue_url", "queuedTimeout": "queued_timeout", "quietTime": "quiet_time", "quotaCode": "quota_code", "quotaName": "quota_name", "quotaSettings": "quota_settings", "railsEnv": "rails_env", "ramDiskId": "ram_disk_id", "ramSize": "ram_size", "ramdiskId": "ramdisk_id", "rangeKey": "range_key", "rateKey": "rate_key", "rateLimit": "rate_limit", "rawMessageDelivery": "raw_message_delivery", "rdsDbInstanceArn": "rds_db_instance_arn", "readAttributes": "read_attributes", "readCapacity": "read_capacity", "readOnly": "read_only", "readerEndpoint": "reader_endpoint", "receiveWaitTimeSeconds": "receive_wait_time_seconds", "receiverAccountId": "receiver_account_id", "recordingGroup": "recording_group", "recoveryPoints": "recovery_points", "recoveryWindowInDays": "recovery_window_in_days", "redrivePolicy": "redrive_policy", "redshiftConfiguration": "redshift_configuration", "referenceDataSources": "reference_data_sources", "referenceName": "reference_name", "refreshTokenValidity": "refresh_token_validity", "regexMatchTuples": "regex_match_tuples", "regexPatternStrings": "regex_pattern_strings", "regionalCertificateArn": "regional_certificate_arn", "regionalCertificateName": "regional_certificate_name", "regionalDomainName": "regional_domain_name", "regionalZoneId": "regional_zone_id", "registeredBy": "registered_by", "registrationCode": "registration_code", "registrationCount": "registration_count", "registrationLimit": "registration_limit", "registryId": "registry_id", "regularExpressions": "regular_expressions", "rejectedPatches": "rejected_patches", "relationshipStatus": "relationship_status", "releaseLabel": "release_label", "releaseVersion": "release_version", "remoteAccess": "remote_access", "remoteDomainName": "remote_domain_name", "replaceUnhealthyInstances": "replace_unhealthy_instances", "replicateSourceDb": "replicate_source_db", "replicationConfiguration": "replication_configuration", "replicationFactor": "replication_factor", "replicationGroupDescription": "replication_group_description", "replicationGroupId": "replication_group_id", "replicationInstanceArn": "replication_instance_arn", "replicationInstanceClass": "replication_instance_class", "replicationInstanceId": "replication_instance_id", "replicationInstancePrivateIps": "replication_instance_private_ips", "replicationInstancePublicIps": "replication_instance_public_ips", "replicationSourceIdentifier": "replication_source_identifier", "replicationSubnetGroupArn": "replication_subnet_group_arn", "replicationSubnetGroupDescription": "replication_subnet_group_description", "replicationSubnetGroupId": "replication_subnet_group_id", "replicationTaskArn": "replication_task_arn", "replicationTaskId": "replication_task_id", "replicationTaskSettings": "replication_task_settings", "reportName": "report_name", "reportedAgentVersion": "reported_agent_version", "reportedOsFamily": "reported_os_family", "reportedOsName": "reported_os_name", "reportedOsVersion": "reported_os_version", "repositoryId": "repository_id", "repositoryName": "repository_name", "repositoryUrl": "repository_url", "requestId": "request_id", "requestInterval": "request_interval", "requestMappingTemplate": "request_mapping_template", "requestModels": "request_models", "requestParameters": "request_parameters", "requestPayer": "request_payer", "requestStatus": "request_status", "requestTemplate": "request_template", "requestTemplates": "request_templates", "requestValidatorId": "request_validator_id", "requesterManaged": "requester_managed", "requesterPays": "requester_pays", "requireLowercaseCharacters": "require_lowercase_characters", "requireNumbers": "require_numbers", "requireSymbols": "require_symbols", "requireUppercaseCharacters": "require_uppercase_characters", "requiresCompatibilities": "requires_compatibilities", "reservationPlanSettings": "reservation_plan_settings", "reservedConcurrentExecutions": "reserved_concurrent_executions", "reservoirSize": "reservoir_size", "resolverEndpointId": "resolver_endpoint_id", "resolverRuleId": "resolver_rule_id", "resourceArn": "resource_arn", "resourceCreationLimitPolicy": "resource_creation_limit_policy", "resourceGroupArn": "resource_group_arn", "resourceId": "resource_id", "resourceIdScope": "resource_id_scope", "resourcePath": "resource_path", "resourceQuery": "resource_query", "resourceShareArn": "resource_share_arn", "resourceType": "resource_type", "resourceTypesScopes": "resource_types_scopes", "responseMappingTemplate": "response_mapping_template", "responseModels": "response_models", "responseParameters": "response_parameters", "responseTemplate": "response_template", "responseTemplates": "response_templates", "responseType": "response_type", "restApi": "rest_api", "restApiId": "rest_api_id", "restrictPublicBuckets": "restrict_public_buckets", "retainOnDelete": "retain_on_delete", "retainStack": "retain_stack", "retentionInDays": "retention_in_days", "retentionPeriod": "retention_period", "retireOnDelete": "retire_on_delete", "retiringPrincipal": "retiring_principal", "retryStrategy": "retry_strategy", "revocationConfiguration": "revocation_configuration", "revokeRulesOnDelete": "revoke_rules_on_delete", "roleArn": "role_arn", "roleMappings": "role_mappings", "roleName": "role_name", "rootBlockDevice": "root_block_device", "rootBlockDevices": "root_block_devices", "rootDeviceName": "root_device_name", "rootDeviceType": "root_device_type", "rootDeviceVolumeId": "root_device_volume_id", "rootDirectory": "root_directory", "rootPassword": "root_password", "rootPasswordOnAllInstances": "root_password_on_all_instances", "rootResourceId": "root_resource_id", "rootSnapshotId": "root_snapshot_id", "rootVolumeEncryptionEnabled": "root_volume_encryption_enabled", "rotationEnabled": "rotation_enabled", "rotationLambdaArn": "rotation_lambda_arn", "rotationRules": "rotation_rules", "routeFilterPrefixes": "route_filter_prefixes", "routeId": "route_id", "routeKey": "route_key", "routeResponseKey": "route_response_key", "routeResponseSelectionExpression": "route_response_selection_expression", "routeSelectionExpression": "route_selection_expression", "routeSettings": "route_settings", "routeTableId": "route_table_id", "routeTableIds": "route_table_ids", "routingConfig": "routing_config", "routingStrategy": "routing_strategy", "rubyVersion": "ruby_version", "rubygemsVersion": "rubygems_version", "ruleAction": "rule_action", "ruleId": "rule_id", "ruleIdentifier": "rule_identifier", "ruleName": "rule_name", "ruleNumber": "rule_number", "ruleSetName": "rule_set_name", "ruleType": "rule_type", "rulesPackageArns": "rules_package_arns", "runCommandTargets": "run_command_targets", "runningInstanceCount": "running_instance_count", "runtimeConfiguration": "runtime_configuration", "s3Actions": "s3_actions", "s3Bucket": "s3_bucket", "s3BucketArn": "s3_bucket_arn", "s3BucketName": "s3_bucket_name", "s3CanonicalUserId": "s3_canonical_user_id", "s3Config": "s3_config", "s3Configuration": "s3_configuration", "s3Destination": "s3_destination", "s3Import": "s3_import", "s3Key": "s3_key", "s3KeyPrefix": "s3_key_prefix", "s3ObjectVersion": "s3_object_version", "s3Prefix": "s3_prefix", "s3Region": "s3_region", "s3Settings": "s3_settings", "s3Targets": "s3_targets", "samlMetadataDocument": "saml_metadata_document", "samlProviderArns": "saml_provider_arns", "scalableDimension": "scalable_dimension", "scalableTargetAction": "scalable_target_action", "scaleDownBehavior": "scale_down_behavior", "scalingAdjustment": "scaling_adjustment", "scalingConfig": "scaling_config", "scalingConfiguration": "scaling_configuration", "scanEnabled": "scan_enabled", "scheduleExpression": "schedule_expression", "scheduleIdentifier": "schedule_identifier", "scheduleTimezone": "schedule_timezone", "scheduledActionName": "scheduled_action_name", "schedulingStrategy": "scheduling_strategy", "schemaChangePolicy": "schema_change_policy", "schemaVersion": "schema_version", "scopeIdentifiers": "scope_identifiers", "searchString": "search_string", "secondaryArtifacts": "secondary_artifacts", "secondarySources": "secondary_sources", "secretBinary": "secret_binary", "secretId": "secret_id", "secretKey": "secret_key", "secretString": "secret_string", "securityConfiguration": "security_configuration", "securityGroupId": "security_group_id", "securityGroupIds": "security_group_ids", "securityGroupNames": "security_group_names", "securityGroups": "security_groups", "securityPolicy": "security_policy", "selectionPattern": "selection_pattern", "selectionTags": "selection_tags", "selfManagedActiveDirectory": "self_managed_active_directory", "selfServicePermissions": "self_service_permissions", "senderAccountId": "sender_account_id", "senderId": "sender_id", "serverCertificateArn": "server_certificate_arn", "serverHostname": "server_hostname", "serverId": "server_id", "serverName": "server_name", "serverProperties": "server_properties", "serverSideEncryption": "server_side_encryption", "serverSideEncryptionConfiguration": "server_side_encryption_configuration", "serverType": "server_type", "serviceAccessRole": "service_access_role", "serviceCode": "service_code", "serviceLinkedRoleArn": "service_linked_role_arn", "serviceName": "service_name", "serviceNamespace": "service_namespace", "serviceRegistries": "service_registries", "serviceRole": "service_role", "serviceRoleArn": "service_role_arn", "serviceType": "service_type", "sesSmtpPassword": "ses_smtp_password", "sesSmtpPasswordV4": "ses_smtp_password_v4", "sessionName": "session_name", "sessionNumber": "session_number", "setIdentifier": "set_identifier", "shardCount": "shard_count", "shardLevelMetrics": "shard_level_metrics", "shareArn": "share_arn", "shareId": "share_id", "shareName": "share_name", "shareStatus": "share_status", "shortCode": "short_code", "shortName": "short_name", "sizeConstraints": "size_constraints", "skipDestroy": "skip_destroy", "skipFinalBackup": "skip_final_backup", "skipFinalSnapshot": "skip_final_snapshot", "slowStart": "slow_start", "smbActiveDirectorySettings": "smb_active_directory_settings", "smbGuestPassword": "smb_guest_password", "smsAuthenticationMessage": "sms_authentication_message", "smsConfiguration": "sms_configuration", "smsVerificationMessage": "sms_verification_message", "snapshotArns": "snapshot_arns", "snapshotClusterIdentifier": "snapshot_cluster_identifier", "snapshotCopy": "snapshot_copy", "snapshotCopyGrantName": "snapshot_copy_grant_name", "snapshotDeliveryProperties": "snapshot_delivery_properties", "snapshotId": "snapshot_id", "snapshotIdentifier": "snapshot_identifier", "snapshotName": "snapshot_name", "snapshotOptions": "snapshot_options", "snapshotRetentionLimit": "snapshot_retention_limit", "snapshotType": "snapshot_type", "snapshotWindow": "snapshot_window", "snapshotWithoutReboot": "snapshot_without_reboot", "snsActions": "sns_actions", "snsDestination": "sns_destination", "snsTopic": "sns_topic", "snsTopicArn": "sns_topic_arn", "snsTopicName": "sns_topic_name", "softwareTokenMfaConfiguration": "software_token_mfa_configuration", "solutionStackName": "solution_stack_name", "sourceAccount": "source_account", "sourceAmiId": "source_ami_id", "sourceAmiRegion": "source_ami_region", "sourceArn": "source_arn", "sourceBackupIdentifier": "source_backup_identifier", "sourceCidrBlock": "source_cidr_block", "sourceCodeHash": "source_code_hash", "sourceCodeSize": "source_code_size", "sourceDbClusterSnapshotArn": "source_db_cluster_snapshot_arn", "sourceDbSnapshotIdentifier": "source_db_snapshot_identifier", "sourceDestCheck": "source_dest_check", "sourceEndpointArn": "source_endpoint_arn", "sourceIds": "source_ids", "sourceInstanceId": "source_instance_id", "sourceLocationArn": "source_location_arn", "sourcePortRange": "source_port_range", "sourceRegion": "source_region", "sourceSecurityGroup": "source_security_group", "sourceSecurityGroupId": "source_security_group_id", "sourceSnapshotId": "source_snapshot_id", "sourceType": "source_type", "sourceVersion": "source_version", "sourceVolumeArn": "source_volume_arn", "splitTunnel": "split_tunnel", "splunkConfiguration": "splunk_configuration", "spotBidStatus": "spot_bid_status", "spotInstanceId": "spot_instance_id", "spotOptions": "spot_options", "spotPrice": "spot_price", "spotRequestState": "spot_request_state", "spotType": "spot_type", "sqlInjectionMatchTuples": "sql_injection_match_tuples", "sqlVersion": "sql_version", "sqsFailureFeedbackRoleArn": "sqs_failure_feedback_role_arn", "sqsSuccessFeedbackRoleArn": "sqs_success_feedback_role_arn", "sqsSuccessFeedbackSampleRate": "sqs_success_feedback_sample_rate", "sqsTarget": "sqs_target", "sriovNetSupport": "sriov_net_support", "sshHostDsaKeyFingerprint": "ssh_host_dsa_key_fingerprint", "sshHostRsaKeyFingerprint": "ssh_host_rsa_key_fingerprint", "sshKeyName": "ssh_key_name", "sshPublicKey": "ssh_public_key", "sshPublicKeyId": "ssh_public_key_id", "sshUsername": "ssh_username", "sslConfigurations": "ssl_configurations", "sslMode": "ssl_mode", "sslPolicy": "ssl_policy", "stackEndpoint": "stack_endpoint", "stackId": "stack_id", "stackSetId": "stack_set_id", "stackSetName": "stack_set_name", "stageDescription": "stage_description", "stageName": "stage_name", "stageVariables": "stage_variables", "standardsArn": "standards_arn", "startDate": "start_date", "startTime": "start_time", "startingPosition": "starting_position", "startingPositionTimestamp": "starting_position_timestamp", "stateTransitionReason": "state_transition_reason", "statementId": "statement_id", "statementIdPrefix": "statement_id_prefix", "staticIpName": "static_ip_name", "staticMembers": "static_members", "staticRoutesOnly": "static_routes_only", "statsEnabled": "stats_enabled", "statsPassword": "stats_password", "statsUrl": "stats_url", "statsUser": "stats_user", "statusCode": "status_code", "statusReason": "status_reason", "stepAdjustments": "step_adjustments", "stepConcurrencyLevel": "step_concurrency_level", "stepFunctions": "step_functions", "stepScalingPolicyConfiguration": "step_scaling_policy_configuration", "stopActions": "stop_actions", "storageCapacity": "storage_capacity", "storageClass": "storage_class", "storageClassAnalysis": "storage_class_analysis", "storageDescriptor": "storage_descriptor", "storageEncrypted": "storage_encrypted", "storageLocation": "storage_location", "storageType": "storage_type", "streamArn": "stream_arn", "streamEnabled": "stream_enabled", "streamLabel": "stream_label", "streamViewType": "stream_view_type", "subjectAlternativeNames": "subject_alternative_names", "subnetGroupName": "subnet_group_name", "subnetId": "subnet_id", "subnetIds": "subnet_ids", "subnetMappings": "subnet_mappings", "successFeedbackRoleArn": "success_feedback_role_arn", "successFeedbackSampleRate": "success_feedback_sample_rate", "supportCode": "support_code", "supportedIdentityProviders": "supported_identity_providers", "supportedLoginProviders": "supported_login_providers", "suspendedProcesses": "suspended_processes", "systemPackages": "system_packages", "tableMappings": "table_mappings", "tableName": "table_name", "tablePrefix": "table_prefix", "tableType": "table_type", "tagKeyScope": "tag_key_scope", "tagSpecifications": "tag_specifications", "tagValueScope": "tag_value_scope", "tagsCollection": "tags_collection", "tapeDriveType": "tape_drive_type", "targetAction": "target_action", "targetArn": "target_arn", "targetCapacity": "target_capacity", "targetCapacitySpecification": "target_capacity_specification", "targetEndpointArn": "target_endpoint_arn", "targetGroupArn": "target_group_arn", "targetGroupArns": "target_group_arns", "targetId": "target_id", "targetIps": "target_ips", "targetKeyArn": "target_key_arn", "targetKeyId": "target_key_id", "targetName": "target_name", "targetPipeline": "target_pipeline", "targetTrackingConfiguration": "target_tracking_configuration", "targetTrackingScalingPolicyConfiguration": "target_tracking_scaling_policy_configuration", "targetType": "target_type", "taskArn": "task_arn", "taskDefinition": "task_definition", "taskInvocationParameters": "task_invocation_parameters", "taskParameters": "task_parameters", "taskRoleArn": "task_role_arn", "taskType": "task_type", "teamId": "team_id", "templateBody": "template_body", "templateName": "template_name", "templateSelectionExpression": "template_selection_expression", "templateUrl": "template_url", "terminateInstances": "terminate_instances", "terminateInstancesWithExpiration": "terminate_instances_with_expiration", "terminationPolicies": "termination_policies", "terminationProtection": "termination_protection", "thingTypeName": "thing_type_name", "thresholdCount": "threshold_count", "thresholdMetricId": "threshold_metric_id", "throttleSettings": "throttle_settings", "throughputCapacity": "throughput_capacity", "throughputMode": "throughput_mode", "thumbnailConfig": "thumbnail_config", "thumbnailConfigPermissions": "thumbnail_config_permissions", "thumbprintLists": "thumbprint_lists", "timePeriodEnd": "time_period_end", "timePeriodStart": "time_period_start", "timeUnit": "time_unit", "timeoutInMinutes": "timeout_in_minutes", "timeoutInSeconds": "timeout_in_seconds", "timeoutMilliseconds": "timeout_milliseconds", "tlsPolicy": "tls_policy", "toPort": "to_port", "tokenKey": "token_key", "tokenKeyId": "token_key_id", "topicArn": "topic_arn", "tracingConfig": "tracing_config", "trafficDialPercentage": "traffic_dial_percentage", "trafficDirection": "traffic_direction", "trafficMirrorFilterId": "traffic_mirror_filter_id", "trafficMirrorTargetId": "traffic_mirror_target_id", "trafficRoutingConfig": "traffic_routing_config", "trafficType": "traffic_type", "transactionalMessagesPerSecond": "transactional_messages_per_second", "transitEncryptionEnabled": "transit_encryption_enabled", "transitGatewayAttachmentId": "transit_gateway_attachment_id", "transitGatewayDefaultRouteTableAssociation": "transit_gateway_default_route_table_association", "transitGatewayDefaultRouteTablePropagation": "transit_gateway_default_route_table_propagation", "transitGatewayId": "transit_gateway_id", "transitGatewayRouteTableId": "transit_gateway_route_table_id", "transportProtocol": "transport_protocol", "treatMissingData": "treat_missing_data", "triggerConfigurations": "trigger_configurations", "triggerTypes": "trigger_types", "tunnel1Address": "tunnel1_address", "tunnel1BgpAsn": "tunnel1_bgp_asn", "tunnel1BgpHoldtime": "tunnel1_bgp_holdtime", "tunnel1CgwInsideAddress": "tunnel1_cgw_inside_address", "tunnel1InsideCidr": "tunnel1_inside_cidr", "tunnel1PresharedKey": "tunnel1_preshared_key", "tunnel1VgwInsideAddress": "tunnel1_vgw_inside_address", "tunnel2Address": "tunnel2_address", "tunnel2BgpAsn": "tunnel2_bgp_asn", "tunnel2BgpHoldtime": "tunnel2_bgp_holdtime", "tunnel2CgwInsideAddress": "tunnel2_cgw_inside_address", "tunnel2InsideCidr": "tunnel2_inside_cidr", "tunnel2PresharedKey": "tunnel2_preshared_key", "tunnel2VgwInsideAddress": "tunnel2_vgw_inside_address", "uniqueId": "unique_id", "urlPath": "url_path", "usagePlanId": "usage_plan_id", "usageReportS3Bucket": "usage_report_s3_bucket", "useCustomCookbooks": "use_custom_cookbooks", "useEbsOptimizedInstances": "use_ebs_optimized_instances", "useOpsworksSecurityGroups": "use_opsworks_security_groups", "userArn": "user_arn", "userData": "user_data", "userDataBase64": "user_data_base64", "userName": "user_name", "userPoolAddOns": "user_pool_add_ons", "userPoolConfig": "user_pool_config", "userPoolId": "user_pool_id", "userRole": "user_role", "userVolumeEncryptionEnabled": "user_volume_encryption_enabled", "usernameAttributes": "username_attributes", "usernameConfiguration": "username_configuration", "validFrom": "valid_from", "validTo": "valid_to", "validUntil": "valid_until", "validUserLists": "valid_user_lists", "validateRequestBody": "validate_request_body", "validateRequestParameters": "validate_request_parameters", "validationEmails": "validation_emails", "validationMethod": "validation_method", "validationRecordFqdns": "validation_record_fqdns", "vaultName": "vault_name", "verificationMessageTemplate": "verification_message_template", "verificationToken": "verification_token", "versionId": "version_id", "versionStages": "version_stages", "vgwTelemetries": "vgw_telemetries", "videoCodecOptions": "video_codec_options", "videoWatermarks": "video_watermarks", "viewExpandedText": "view_expanded_text", "viewOriginalText": "view_original_text", "viewerCertificate": "viewer_certificate", "virtualInterfaceId": "virtual_interface_id", "virtualNetworkId": "virtual_network_id", "virtualRouterName": "virtual_router_name", "virtualizationType": "virtualization_type", "visibilityTimeoutSeconds": "visibility_timeout_seconds", "visibleToAllUsers": "visible_to_all_users", "volumeArn": "volume_arn", "volumeEncryptionKey": "volume_encryption_key", "volumeId": "volume_id", "volumeSize": "volume_size", "volumeSizeInBytes": "volume_size_in_bytes", "volumeTags": "volume_tags", "vpcClassicLinkId": "vpc_classic_link_id", "vpcClassicLinkSecurityGroups": "vpc_classic_link_security_groups", "vpcConfig": "vpc_config", "vpcConfiguration": "vpc_configuration", "vpcEndpointId": "vpc_endpoint_id", "vpcEndpointServiceId": "vpc_endpoint_service_id", "vpcEndpointType": "vpc_endpoint_type", "vpcId": "vpc_id", "vpcOptions": "vpc_options", "vpcOwnerId": "vpc_owner_id", "vpcPeeringConnectionId": "vpc_peering_connection_id", "vpcRegion": "vpc_region", "vpcSecurityGroupIds": "vpc_security_group_ids", "vpcSettings": "vpc_settings", "vpcZoneIdentifiers": "vpc_zone_identifiers", "vpnConnectionId": "vpn_connection_id", "vpnEcmpSupport": "vpn_ecmp_support", "vpnGatewayId": "vpn_gateway_id", "waitForCapacityTimeout": "wait_for_capacity_timeout", "waitForDeployment": "wait_for_deployment", "waitForElbCapacity": "wait_for_elb_capacity", "waitForFulfillment": "wait_for_fulfillment", "waitForReadyTimeout": "wait_for_ready_timeout", "waitForSteadyState": "wait_for_steady_state", "webAclArn": "web_acl_arn", "webAclId": "web_acl_id", "websiteCaId": "website_ca_id", "websiteDomain": "website_domain", "websiteEndpoint": "website_endpoint", "websiteRedirect": "website_redirect", "weeklyMaintenanceStartTime": "weekly_maintenance_start_time", "weightedRoutingPolicies": "weighted_routing_policies", "windowId": "window_id", "workerType": "worker_type", "workflowExecutionRetentionPeriodInDays": "workflow_execution_retention_period_in_days", "workflowName": "workflow_name", "workmailActions": "workmail_actions", "workspaceProperties": "workspace_properties", "workspaceSecurityGroupId": "workspace_security_group_id", "writeAttributes": "write_attributes", "writeCapacity": "write_capacity", "xmlClassifier": "xml_classifier", "xrayEnabled": "xray_enabled", "xrayTracingEnabled": "xray_tracing_enabled", "xssMatchTuples": "xss_match_tuples", "zoneId": "zone_id", "zookeeperConnectString": "zookeeper_connect_string", }
_snake_to_camel_case_table = {'acceleration_status': 'accelerationStatus', 'accelerator_arn': 'acceleratorArn', 'accept_status': 'acceptStatus', 'acceptance_required': 'acceptanceRequired', 'access_log_settings': 'accessLogSettings', 'access_logs': 'accessLogs', 'access_policies': 'accessPolicies', 'access_policy': 'accessPolicy', 'access_url': 'accessUrl', 'account_aggregation_source': 'accountAggregationSource', 'account_alias': 'accountAlias', 'account_id': 'accountId', 'actions_enabled': 'actionsEnabled', 'activated_rules': 'activatedRules', 'activation_code': 'activationCode', 'activation_key': 'activationKey', 'active_directory_id': 'activeDirectoryId', 'active_trusted_signers': 'activeTrustedSigners', 'add_header_actions': 'addHeaderActions', 'additional_artifacts': 'additionalArtifacts', 'additional_authentication_providers': 'additionalAuthenticationProviders', 'additional_info': 'additionalInfo', 'additional_schema_elements': 'additionalSchemaElements', 'address_family': 'addressFamily', 'adjustment_type': 'adjustmentType', 'admin_account_id': 'adminAccountId', 'admin_create_user_config': 'adminCreateUserConfig', 'administration_role_arn': 'administrationRoleArn', 'advanced_options': 'advancedOptions', 'agent_arns': 'agentArns', 'agent_version': 'agentVersion', 'alarm_actions': 'alarmActions', 'alarm_configuration': 'alarmConfiguration', 'alarm_description': 'alarmDescription', 'alb_target_group_arn': 'albTargetGroupArn', 'alias_attributes': 'aliasAttributes', 'all_settings': 'allSettings', 'allocated_capacity': 'allocatedCapacity', 'allocated_memory': 'allocatedMemory', 'allocated_storage': 'allocatedStorage', 'allocation_id': 'allocationId', 'allocation_strategy': 'allocationStrategy', 'allow_external_principals': 'allowExternalPrincipals', 'allow_major_version_upgrade': 'allowMajorVersionUpgrade', 'allow_overwrite': 'allowOverwrite', 'allow_reassociation': 'allowReassociation', 'allow_self_management': 'allowSelfManagement', 'allow_ssh': 'allowSsh', 'allow_sudo': 'allowSudo', 'allow_unassociated_targets': 'allowUnassociatedTargets', 'allow_unauthenticated_identities': 'allowUnauthenticatedIdentities', 'allow_users_to_change_password': 'allowUsersToChangePassword', 'allow_version_upgrade': 'allowVersionUpgrade', 'allowed_oauth_flows': 'allowedOauthFlows', 'allowed_oauth_flows_user_pool_client': 'allowedOauthFlowsUserPoolClient', 'allowed_oauth_scopes': 'allowedOauthScopes', 'allowed_pattern': 'allowedPattern', 'allowed_prefixes': 'allowedPrefixes', 'allowed_principals': 'allowedPrincipals', 'amazon_address': 'amazonAddress', 'amazon_side_asn': 'amazonSideAsn', 'ami_id': 'amiId', 'ami_type': 'amiType', 'analytics_configuration': 'analyticsConfiguration', 'analyzer_name': 'analyzerName', 'api_endpoint': 'apiEndpoint', 'api_id': 'apiId', 'api_key': 'apiKey', 'api_key_required': 'apiKeyRequired', 'api_key_selection_expression': 'apiKeySelectionExpression', 'api_key_source': 'apiKeySource', 'api_mapping_key': 'apiMappingKey', 'api_mapping_selection_expression': 'apiMappingSelectionExpression', 'api_stages': 'apiStages', 'app_name': 'appName', 'app_server': 'appServer', 'app_server_version': 'appServerVersion', 'app_sources': 'appSources', 'application_failure_feedback_role_arn': 'applicationFailureFeedbackRoleArn', 'application_id': 'applicationId', 'application_success_feedback_role_arn': 'applicationSuccessFeedbackRoleArn', 'application_success_feedback_sample_rate': 'applicationSuccessFeedbackSampleRate', 'apply_immediately': 'applyImmediately', 'approval_rules': 'approvalRules', 'approved_patches': 'approvedPatches', 'approved_patches_compliance_level': 'approvedPatchesComplianceLevel', 'appversion_lifecycle': 'appversionLifecycle', 'arn_suffix': 'arnSuffix', 'artifact_store': 'artifactStore', 'assign_generated_ipv6_cidr_block': 'assignGeneratedIpv6CidrBlock', 'assign_ipv6_address_on_creation': 'assignIpv6AddressOnCreation', 'associate_public_ip_address': 'associatePublicIpAddress', 'associate_with_private_ip': 'associateWithPrivateIp', 'associated_gateway_id': 'associatedGatewayId', 'associated_gateway_owner_account_id': 'associatedGatewayOwnerAccountId', 'associated_gateway_type': 'associatedGatewayType', 'association_default_route_table_id': 'associationDefaultRouteTableId', 'association_id': 'associationId', 'association_name': 'associationName', 'assume_role_policy': 'assumeRolePolicy', 'at_rest_encryption_enabled': 'atRestEncryptionEnabled', 'attachment_id': 'attachmentId', 'attachments_sources': 'attachmentsSources', 'attribute_mapping': 'attributeMapping', 'audio_codec_options': 'audioCodecOptions', 'audit_stream_arn': 'auditStreamArn', 'auth_token': 'authToken', 'auth_type': 'authType', 'authentication_configuration': 'authenticationConfiguration', 'authentication_options': 'authenticationOptions', 'authentication_type': 'authenticationType', 'authorization_scopes': 'authorizationScopes', 'authorization_type': 'authorizationType', 'authorizer_credentials': 'authorizerCredentials', 'authorizer_credentials_arn': 'authorizerCredentialsArn', 'authorizer_id': 'authorizerId', 'authorizer_result_ttl_in_seconds': 'authorizerResultTtlInSeconds', 'authorizer_type': 'authorizerType', 'authorizer_uri': 'authorizerUri', 'auto_accept': 'autoAccept', 'auto_accept_shared_attachments': 'autoAcceptSharedAttachments', 'auto_assign_elastic_ips': 'autoAssignElasticIps', 'auto_assign_public_ips': 'autoAssignPublicIps', 'auto_bundle_on_deploy': 'autoBundleOnDeploy', 'auto_deploy': 'autoDeploy', 'auto_deployed': 'autoDeployed', 'auto_enable': 'autoEnable', 'auto_healing': 'autoHealing', 'auto_minor_version_upgrade': 'autoMinorVersionUpgrade', 'auto_rollback_configuration': 'autoRollbackConfiguration', 'auto_scaling_group_provider': 'autoScalingGroupProvider', 'auto_scaling_type': 'autoScalingType', 'auto_verified_attributes': 'autoVerifiedAttributes', 'automated_snapshot_retention_period': 'automatedSnapshotRetentionPeriod', 'automatic_backup_retention_days': 'automaticBackupRetentionDays', 'automatic_failover_enabled': 'automaticFailoverEnabled', 'automatic_stop_time_minutes': 'automaticStopTimeMinutes', 'automation_target_parameter_name': 'automationTargetParameterName', 'autoscaling_group_name': 'autoscalingGroupName', 'autoscaling_groups': 'autoscalingGroups', 'autoscaling_policy': 'autoscalingPolicy', 'autoscaling_role': 'autoscalingRole', 'availability_zone': 'availabilityZone', 'availability_zone_id': 'availabilityZoneId', 'availability_zone_name': 'availabilityZoneName', 'availability_zones': 'availabilityZones', 'aws_account_id': 'awsAccountId', 'aws_device': 'awsDevice', 'aws_flow_ruby_settings': 'awsFlowRubySettings', 'aws_kms_key_arn': 'awsKmsKeyArn', 'aws_service_access_principals': 'awsServiceAccessPrincipals', 'aws_service_name': 'awsServiceName', 'az_mode': 'azMode', 'backtrack_window': 'backtrackWindow', 'backup_retention_period': 'backupRetentionPeriod', 'backup_window': 'backupWindow', 'badge_enabled': 'badgeEnabled', 'badge_url': 'badgeUrl', 'base_endpoint_dns_names': 'baseEndpointDnsNames', 'base_path': 'basePath', 'baseline_id': 'baselineId', 'batch_size': 'batchSize', 'batch_target': 'batchTarget', 'behavior_on_mx_failure': 'behaviorOnMxFailure', 'berkshelf_version': 'berkshelfVersion', 'bgp_asn': 'bgpAsn', 'bgp_auth_key': 'bgpAuthKey', 'bgp_peer_id': 'bgpPeerId', 'bgp_status': 'bgpStatus', 'bid_price': 'bidPrice', 'billing_mode': 'billingMode', 'binary_media_types': 'binaryMediaTypes', 'bisect_batch_on_function_error': 'bisectBatchOnFunctionError', 'block_device_mappings': 'blockDeviceMappings', 'block_duration_minutes': 'blockDurationMinutes', 'block_public_acls': 'blockPublicAcls', 'block_public_policy': 'blockPublicPolicy', 'blue_green_deployment_config': 'blueGreenDeploymentConfig', 'blueprint_id': 'blueprintId', 'bootstrap_actions': 'bootstrapActions', 'bootstrap_brokers': 'bootstrapBrokers', 'bootstrap_brokers_tls': 'bootstrapBrokersTls', 'bounce_actions': 'bounceActions', 'branch_filter': 'branchFilter', 'broker_name': 'brokerName', 'broker_node_group_info': 'brokerNodeGroupInfo', 'bucket_domain_name': 'bucketDomainName', 'bucket_name': 'bucketName', 'bucket_prefix': 'bucketPrefix', 'bucket_regional_domain_name': 'bucketRegionalDomainName', 'budget_type': 'budgetType', 'build_id': 'buildId', 'build_timeout': 'buildTimeout', 'bundle_id': 'bundleId', 'bundler_version': 'bundlerVersion', 'byte_match_tuples': 'byteMatchTuples', 'ca_cert_identifier': 'caCertIdentifier', 'cache_cluster_enabled': 'cacheClusterEnabled', 'cache_cluster_size': 'cacheClusterSize', 'cache_control': 'cacheControl', 'cache_key_parameters': 'cacheKeyParameters', 'cache_namespace': 'cacheNamespace', 'cache_nodes': 'cacheNodes', 'caching_config': 'cachingConfig', 'callback_urls': 'callbackUrls', 'caller_reference': 'callerReference', 'campaign_hook': 'campaignHook', 'capacity_provider_strategies': 'capacityProviderStrategies', 'capacity_providers': 'capacityProviders', 'capacity_reservation_specification': 'capacityReservationSpecification', 'catalog_id': 'catalogId', 'catalog_targets': 'catalogTargets', 'cdc_start_time': 'cdcStartTime', 'certificate_arn': 'certificateArn', 'certificate_authority': 'certificateAuthority', 'certificate_authority_arn': 'certificateAuthorityArn', 'certificate_authority_configuration': 'certificateAuthorityConfiguration', 'certificate_body': 'certificateBody', 'certificate_chain': 'certificateChain', 'certificate_id': 'certificateId', 'certificate_name': 'certificateName', 'certificate_pem': 'certificatePem', 'certificate_private_key': 'certificatePrivateKey', 'certificate_signing_request': 'certificateSigningRequest', 'certificate_upload_date': 'certificateUploadDate', 'certificate_wallet': 'certificateWallet', 'channel_id': 'channelId', 'chap_enabled': 'chapEnabled', 'character_set_name': 'characterSetName', 'child_health_threshold': 'childHealthThreshold', 'child_healthchecks': 'childHealthchecks', 'cidr_block': 'cidrBlock', 'cidr_blocks': 'cidrBlocks', 'ciphertext_blob': 'ciphertextBlob', 'classification_type': 'classificationType', 'client_affinity': 'clientAffinity', 'client_authentication': 'clientAuthentication', 'client_certificate_id': 'clientCertificateId', 'client_cidr_block': 'clientCidrBlock', 'client_id': 'clientId', 'client_id_lists': 'clientIdLists', 'client_lists': 'clientLists', 'client_secret': 'clientSecret', 'client_token': 'clientToken', 'client_vpn_endpoint_id': 'clientVpnEndpointId', 'clone_url_http': 'cloneUrlHttp', 'clone_url_ssh': 'cloneUrlSsh', 'cloud_watch_logs_group_arn': 'cloudWatchLogsGroupArn', 'cloud_watch_logs_role_arn': 'cloudWatchLogsRoleArn', 'cloudfront_access_identity_path': 'cloudfrontAccessIdentityPath', 'cloudfront_distribution_arn': 'cloudfrontDistributionArn', 'cloudfront_domain_name': 'cloudfrontDomainName', 'cloudfront_zone_id': 'cloudfrontZoneId', 'cloudwatch_alarm': 'cloudwatchAlarm', 'cloudwatch_alarm_name': 'cloudwatchAlarmName', 'cloudwatch_alarm_region': 'cloudwatchAlarmRegion', 'cloudwatch_destinations': 'cloudwatchDestinations', 'cloudwatch_log_group_arn': 'cloudwatchLogGroupArn', 'cloudwatch_logging_options': 'cloudwatchLoggingOptions', 'cloudwatch_metric': 'cloudwatchMetric', 'cloudwatch_role_arn': 'cloudwatchRoleArn', 'cluster_address': 'clusterAddress', 'cluster_certificates': 'clusterCertificates', 'cluster_config': 'clusterConfig', 'cluster_endpoint_identifier': 'clusterEndpointIdentifier', 'cluster_id': 'clusterId', 'cluster_identifier': 'clusterIdentifier', 'cluster_identifier_prefix': 'clusterIdentifierPrefix', 'cluster_members': 'clusterMembers', 'cluster_mode': 'clusterMode', 'cluster_name': 'clusterName', 'cluster_parameter_group_name': 'clusterParameterGroupName', 'cluster_public_key': 'clusterPublicKey', 'cluster_resource_id': 'clusterResourceId', 'cluster_revision_number': 'clusterRevisionNumber', 'cluster_security_groups': 'clusterSecurityGroups', 'cluster_state': 'clusterState', 'cluster_subnet_group_name': 'clusterSubnetGroupName', 'cluster_type': 'clusterType', 'cluster_version': 'clusterVersion', 'cname_prefix': 'cnamePrefix', 'cognito_identity_providers': 'cognitoIdentityProviders', 'cognito_options': 'cognitoOptions', 'company_code': 'companyCode', 'comparison_operator': 'comparisonOperator', 'compatible_runtimes': 'compatibleRuntimes', 'complete_lock': 'completeLock', 'compliance_severity': 'complianceSeverity', 'compute_environment_name': 'computeEnvironmentName', 'compute_environment_name_prefix': 'computeEnvironmentNamePrefix', 'compute_environments': 'computeEnvironments', 'compute_platform': 'computePlatform', 'compute_resources': 'computeResources', 'computer_name': 'computerName', 'configuration_endpoint': 'configurationEndpoint', 'configuration_endpoint_address': 'configurationEndpointAddress', 'configuration_id': 'configurationId', 'configuration_info': 'configurationInfo', 'configuration_manager_name': 'configurationManagerName', 'configuration_manager_version': 'configurationManagerVersion', 'configuration_set_name': 'configurationSetName', 'configurations_json': 'configurationsJson', 'confirmation_timeout_in_minutes': 'confirmationTimeoutInMinutes', 'connect_settings': 'connectSettings', 'connection_draining': 'connectionDraining', 'connection_draining_timeout': 'connectionDrainingTimeout', 'connection_events': 'connectionEvents', 'connection_id': 'connectionId', 'connection_log_options': 'connectionLogOptions', 'connection_notification_arn': 'connectionNotificationArn', 'connection_properties': 'connectionProperties', 'connection_type': 'connectionType', 'connections_bandwidth': 'connectionsBandwidth', 'container_definitions': 'containerDefinitions', 'container_name': 'containerName', 'container_properties': 'containerProperties', 'content_base64': 'contentBase64', 'content_based_deduplication': 'contentBasedDeduplication', 'content_config': 'contentConfig', 'content_config_permissions': 'contentConfigPermissions', 'content_disposition': 'contentDisposition', 'content_encoding': 'contentEncoding', 'content_handling': 'contentHandling', 'content_handling_strategy': 'contentHandlingStrategy', 'content_language': 'contentLanguage', 'content_type': 'contentType', 'cookie_expiration_period': 'cookieExpirationPeriod', 'cookie_name': 'cookieName', 'copy_tags_to_backups': 'copyTagsToBackups', 'copy_tags_to_snapshot': 'copyTagsToSnapshot', 'core_instance_count': 'coreInstanceCount', 'core_instance_group': 'coreInstanceGroup', 'core_instance_type': 'coreInstanceType', 'cors_configuration': 'corsConfiguration', 'cors_rules': 'corsRules', 'cost_filters': 'costFilters', 'cost_types': 'costTypes', 'cpu_core_count': 'cpuCoreCount', 'cpu_count': 'cpuCount', 'cpu_options': 'cpuOptions', 'cpu_threads_per_core': 'cpuThreadsPerCore', 'create_date': 'createDate', 'create_timestamp': 'createTimestamp', 'created_at': 'createdAt', 'created_date': 'createdDate', 'created_time': 'createdTime', 'creation_date': 'creationDate', 'creation_time': 'creationTime', 'creation_token': 'creationToken', 'credential_duration': 'credentialDuration', 'credentials_arn': 'credentialsArn', 'credit_specification': 'creditSpecification', 'cross_zone_load_balancing': 'crossZoneLoadBalancing', 'csv_classifier': 'csvClassifier', 'current_version': 'currentVersion', 'custom_ami_id': 'customAmiId', 'custom_configure_recipes': 'customConfigureRecipes', 'custom_cookbooks_sources': 'customCookbooksSources', 'custom_deploy_recipes': 'customDeployRecipes', 'custom_endpoint_type': 'customEndpointType', 'custom_error_responses': 'customErrorResponses', 'custom_instance_profile_arn': 'customInstanceProfileArn', 'custom_json': 'customJson', 'custom_security_group_ids': 'customSecurityGroupIds', 'custom_setup_recipes': 'customSetupRecipes', 'custom_shutdown_recipes': 'customShutdownRecipes', 'custom_suffix': 'customSuffix', 'custom_undeploy_recipes': 'customUndeployRecipes', 'customer_address': 'customerAddress', 'customer_aws_id': 'customerAwsId', 'customer_gateway_configuration': 'customerGatewayConfiguration', 'customer_gateway_id': 'customerGatewayId', 'customer_master_key_spec': 'customerMasterKeySpec', 'customer_owned_ip': 'customerOwnedIp', 'customer_owned_ipv4_pool': 'customerOwnedIpv4Pool', 'customer_user_name': 'customerUserName', 'daily_automatic_backup_start_time': 'dailyAutomaticBackupStartTime', 'dashboard_arn': 'dashboardArn', 'dashboard_body': 'dashboardBody', 'dashboard_name': 'dashboardName', 'data_encryption_key_id': 'dataEncryptionKeyId', 'data_retention_in_hours': 'dataRetentionInHours', 'data_source': 'dataSource', 'data_source_arn': 'dataSourceArn', 'data_source_database_name': 'dataSourceDatabaseName', 'data_source_type': 'dataSourceType', 'database_name': 'databaseName', 'datapoints_to_alarm': 'datapointsToAlarm', 'db_cluster_identifier': 'dbClusterIdentifier', 'db_cluster_parameter_group_name': 'dbClusterParameterGroupName', 'db_cluster_snapshot_arn': 'dbClusterSnapshotArn', 'db_cluster_snapshot_identifier': 'dbClusterSnapshotIdentifier', 'db_instance_identifier': 'dbInstanceIdentifier', 'db_parameter_group_name': 'dbParameterGroupName', 'db_password': 'dbPassword', 'db_snapshot_arn': 'dbSnapshotArn', 'db_snapshot_identifier': 'dbSnapshotIdentifier', 'db_subnet_group_name': 'dbSubnetGroupName', 'db_user': 'dbUser', 'dbi_resource_id': 'dbiResourceId', 'dead_letter_config': 'deadLetterConfig', 'default_action': 'defaultAction', 'default_actions': 'defaultActions', 'default_arguments': 'defaultArguments', 'default_association_route_table': 'defaultAssociationRouteTable', 'default_authentication_method': 'defaultAuthenticationMethod', 'default_availability_zone': 'defaultAvailabilityZone', 'default_branch': 'defaultBranch', 'default_cache_behavior': 'defaultCacheBehavior', 'default_capacity_provider_strategies': 'defaultCapacityProviderStrategies', 'default_client_id': 'defaultClientId', 'default_cooldown': 'defaultCooldown', 'default_instance_profile_arn': 'defaultInstanceProfileArn', 'default_network_acl_id': 'defaultNetworkAclId', 'default_os': 'defaultOs', 'default_propagation_route_table': 'defaultPropagationRouteTable', 'default_redirect_uri': 'defaultRedirectUri', 'default_result': 'defaultResult', 'default_root_device_type': 'defaultRootDeviceType', 'default_root_object': 'defaultRootObject', 'default_route_settings': 'defaultRouteSettings', 'default_route_table_association': 'defaultRouteTableAssociation', 'default_route_table_id': 'defaultRouteTableId', 'default_route_table_propagation': 'defaultRouteTablePropagation', 'default_run_properties': 'defaultRunProperties', 'default_security_group_id': 'defaultSecurityGroupId', 'default_sender_id': 'defaultSenderId', 'default_sms_type': 'defaultSmsType', 'default_ssh_key_name': 'defaultSshKeyName', 'default_storage_class': 'defaultStorageClass', 'default_subnet_id': 'defaultSubnetId', 'default_value': 'defaultValue', 'default_version': 'defaultVersion', 'default_version_id': 'defaultVersionId', 'delay_seconds': 'delaySeconds', 'delegation_set_id': 'delegationSetId', 'delete_automated_backups': 'deleteAutomatedBackups', 'delete_ebs': 'deleteEbs', 'delete_eip': 'deleteEip', 'deletion_protection': 'deletionProtection', 'deletion_window_in_days': 'deletionWindowInDays', 'delivery_policy': 'deliveryPolicy', 'delivery_status_iam_role_arn': 'deliveryStatusIamRoleArn', 'delivery_status_success_sampling_rate': 'deliveryStatusSuccessSamplingRate', 'deployment_config_id': 'deploymentConfigId', 'deployment_config_name': 'deploymentConfigName', 'deployment_controller': 'deploymentController', 'deployment_group_name': 'deploymentGroupName', 'deployment_id': 'deploymentId', 'deployment_maximum_percent': 'deploymentMaximumPercent', 'deployment_minimum_healthy_percent': 'deploymentMinimumHealthyPercent', 'deployment_mode': 'deploymentMode', 'deployment_style': 'deploymentStyle', 'deregistration_delay': 'deregistrationDelay', 'desired_capacity': 'desiredCapacity', 'desired_count': 'desiredCount', 'destination_arn': 'destinationArn', 'destination_cidr_block': 'destinationCidrBlock', 'destination_config': 'destinationConfig', 'destination_id': 'destinationId', 'destination_ipv6_cidr_block': 'destinationIpv6CidrBlock', 'destination_location_arn': 'destinationLocationArn', 'destination_name': 'destinationName', 'destination_port_range': 'destinationPortRange', 'destination_prefix_list_id': 'destinationPrefixListId', 'destination_stream_arn': 'destinationStreamArn', 'detail_type': 'detailType', 'detector_id': 'detectorId', 'developer_provider_name': 'developerProviderName', 'device_ca_certificate': 'deviceCaCertificate', 'device_configuration': 'deviceConfiguration', 'device_index': 'deviceIndex', 'device_name': 'deviceName', 'dhcp_options_id': 'dhcpOptionsId', 'direct_internet_access': 'directInternetAccess', 'directory_id': 'directoryId', 'directory_name': 'directoryName', 'directory_type': 'directoryType', 'disable_api_termination': 'disableApiTermination', 'disable_email_notification': 'disableEmailNotification', 'disable_rollback': 'disableRollback', 'disk_id': 'diskId', 'disk_size': 'diskSize', 'display_name': 'displayName', 'dkim_tokens': 'dkimTokens', 'dns_config': 'dnsConfig', 'dns_entries': 'dnsEntries', 'dns_ip_addresses': 'dnsIpAddresses', 'dns_ips': 'dnsIps', 'dns_name': 'dnsName', 'dns_servers': 'dnsServers', 'dns_support': 'dnsSupport', 'document_format': 'documentFormat', 'document_root': 'documentRoot', 'document_type': 'documentType', 'document_version': 'documentVersion', 'documentation_version': 'documentationVersion', 'domain_endpoint_options': 'domainEndpointOptions', 'domain_iam_role_name': 'domainIamRoleName', 'domain_id': 'domainId', 'domain_name': 'domainName', 'domain_name_configuration': 'domainNameConfiguration', 'domain_name_servers': 'domainNameServers', 'domain_validation_options': 'domainValidationOptions', 'drain_elb_on_shutdown': 'drainElbOnShutdown', 'drop_invalid_header_fields': 'dropInvalidHeaderFields', 'dx_gateway_association_id': 'dxGatewayAssociationId', 'dx_gateway_id': 'dxGatewayId', 'dx_gateway_owner_account_id': 'dxGatewayOwnerAccountId', 'dynamodb_config': 'dynamodbConfig', 'dynamodb_targets': 'dynamodbTargets', 'ebs_block_devices': 'ebsBlockDevices', 'ebs_configs': 'ebsConfigs', 'ebs_optimized': 'ebsOptimized', 'ebs_options': 'ebsOptions', 'ebs_root_volume_size': 'ebsRootVolumeSize', 'ebs_volumes': 'ebsVolumes', 'ec2_attributes': 'ec2Attributes', 'ec2_config': 'ec2Config', 'ec2_inbound_permissions': 'ec2InboundPermissions', 'ec2_instance_id': 'ec2InstanceId', 'ec2_instance_type': 'ec2InstanceType', 'ec2_tag_filters': 'ec2TagFilters', 'ec2_tag_sets': 'ec2TagSets', 'ecs_cluster_arn': 'ecsClusterArn', 'ecs_service': 'ecsService', 'ecs_target': 'ecsTarget', 'efs_file_system_arn': 'efsFileSystemArn', 'egress_only_gateway_id': 'egressOnlyGatewayId', 'elastic_gpu_specifications': 'elasticGpuSpecifications', 'elastic_inference_accelerator': 'elasticInferenceAccelerator', 'elastic_ip': 'elasticIp', 'elastic_load_balancer': 'elasticLoadBalancer', 'elasticsearch_config': 'elasticsearchConfig', 'elasticsearch_configuration': 'elasticsearchConfiguration', 'elasticsearch_settings': 'elasticsearchSettings', 'elasticsearch_version': 'elasticsearchVersion', 'email_configuration': 'emailConfiguration', 'email_verification_message': 'emailVerificationMessage', 'email_verification_subject': 'emailVerificationSubject', 'ena_support': 'enaSupport', 'enable_classiclink': 'enableClassiclink', 'enable_classiclink_dns_support': 'enableClassiclinkDnsSupport', 'enable_cloudwatch_logs_exports': 'enableCloudwatchLogsExports', 'enable_cross_zone_load_balancing': 'enableCrossZoneLoadBalancing', 'enable_deletion_protection': 'enableDeletionProtection', 'enable_dns_hostnames': 'enableDnsHostnames', 'enable_dns_support': 'enableDnsSupport', 'enable_ecs_managed_tags': 'enableEcsManagedTags', 'enable_http2': 'enableHttp2', 'enable_http_endpoint': 'enableHttpEndpoint', 'enable_key_rotation': 'enableKeyRotation', 'enable_log_file_validation': 'enableLogFileValidation', 'enable_logging': 'enableLogging', 'enable_monitoring': 'enableMonitoring', 'enable_network_isolation': 'enableNetworkIsolation', 'enable_sni': 'enableSni', 'enable_ssl': 'enableSsl', 'enable_sso': 'enableSso', 'enabled_cloudwatch_logs_exports': 'enabledCloudwatchLogsExports', 'enabled_cluster_log_types': 'enabledClusterLogTypes', 'enabled_metrics': 'enabledMetrics', 'enabled_policy_types': 'enabledPolicyTypes', 'encoded_key': 'encodedKey', 'encrypt_at_rest': 'encryptAtRest', 'encrypted_fingerprint': 'encryptedFingerprint', 'encrypted_password': 'encryptedPassword', 'encrypted_private_key': 'encryptedPrivateKey', 'encrypted_secret': 'encryptedSecret', 'encryption_config': 'encryptionConfig', 'encryption_configuration': 'encryptionConfiguration', 'encryption_info': 'encryptionInfo', 'encryption_key': 'encryptionKey', 'encryption_options': 'encryptionOptions', 'encryption_type': 'encryptionType', 'end_date': 'endDate', 'end_date_type': 'endDateType', 'end_time': 'endTime', 'endpoint_arn': 'endpointArn', 'endpoint_auto_confirms': 'endpointAutoConfirms', 'endpoint_config_name': 'endpointConfigName', 'endpoint_configuration': 'endpointConfiguration', 'endpoint_configurations': 'endpointConfigurations', 'endpoint_details': 'endpointDetails', 'endpoint_group_region': 'endpointGroupRegion', 'endpoint_id': 'endpointId', 'endpoint_type': 'endpointType', 'endpoint_url': 'endpointUrl', 'enforce_consumer_deletion': 'enforceConsumerDeletion', 'engine_mode': 'engineMode', 'engine_name': 'engineName', 'engine_type': 'engineType', 'engine_version': 'engineVersion', 'enhanced_monitoring': 'enhancedMonitoring', 'enhanced_vpc_routing': 'enhancedVpcRouting', 'eni_id': 'eniId', 'environment_id': 'environmentId', 'ephemeral_block_devices': 'ephemeralBlockDevices', 'ephemeral_storage': 'ephemeralStorage', 'estimated_instance_warmup': 'estimatedInstanceWarmup', 'evaluate_low_sample_count_percentiles': 'evaluateLowSampleCountPercentiles', 'evaluation_periods': 'evaluationPeriods', 'event_categories': 'eventCategories', 'event_delivery_failure_topic_arn': 'eventDeliveryFailureTopicArn', 'event_endpoint_created_topic_arn': 'eventEndpointCreatedTopicArn', 'event_endpoint_deleted_topic_arn': 'eventEndpointDeletedTopicArn', 'event_endpoint_updated_topic_arn': 'eventEndpointUpdatedTopicArn', 'event_pattern': 'eventPattern', 'event_selectors': 'eventSelectors', 'event_source_arn': 'eventSourceArn', 'event_source_token': 'eventSourceToken', 'event_type_ids': 'eventTypeIds', 'excess_capacity_termination_policy': 'excessCapacityTerminationPolicy', 'excluded_accounts': 'excludedAccounts', 'excluded_members': 'excludedMembers', 'execution_arn': 'executionArn', 'execution_property': 'executionProperty', 'execution_role_arn': 'executionRoleArn', 'execution_role_name': 'executionRoleName', 'expiration_date': 'expirationDate', 'expiration_model': 'expirationModel', 'expire_passwords': 'expirePasswords', 'explicit_auth_flows': 'explicitAuthFlows', 'export_path': 'exportPath', 'extended_s3_configuration': 'extendedS3Configuration', 'extended_statistic': 'extendedStatistic', 'extra_connection_attributes': 'extraConnectionAttributes', 'failover_routing_policies': 'failoverRoutingPolicies', 'failure_feedback_role_arn': 'failureFeedbackRoleArn', 'failure_threshold': 'failureThreshold', 'fargate_profile_name': 'fargateProfileName', 'feature_name': 'featureName', 'feature_set': 'featureSet', 'fifo_queue': 'fifoQueue', 'file_system_arn': 'fileSystemArn', 'file_system_config': 'fileSystemConfig', 'file_system_id': 'fileSystemId', 'fileshare_id': 'fileshareId', 'filter_groups': 'filterGroups', 'filter_pattern': 'filterPattern', 'filter_policy': 'filterPolicy', 'final_snapshot_identifier': 'finalSnapshotIdentifier', 'finding_publishing_frequency': 'findingPublishingFrequency', 'fixed_rate': 'fixedRate', 'fleet_arn': 'fleetArn', 'fleet_type': 'fleetType', 'force_delete': 'forceDelete', 'force_destroy': 'forceDestroy', 'force_detach': 'forceDetach', 'force_detach_policies': 'forceDetachPolicies', 'force_new_deployment': 'forceNewDeployment', 'force_update_version': 'forceUpdateVersion', 'from_address': 'fromAddress', 'from_port': 'fromPort', 'function_arn': 'functionArn', 'function_id': 'functionId', 'function_name': 'functionName', 'function_version': 'functionVersion', 'gateway_arn': 'gatewayArn', 'gateway_id': 'gatewayId', 'gateway_ip_address': 'gatewayIpAddress', 'gateway_name': 'gatewayName', 'gateway_timezone': 'gatewayTimezone', 'gateway_type': 'gatewayType', 'gateway_vpc_endpoint': 'gatewayVpcEndpoint', 'generate_secret': 'generateSecret', 'geo_match_constraints': 'geoMatchConstraints', 'geolocation_routing_policies': 'geolocationRoutingPolicies', 'get_password_data': 'getPasswordData', 'global_cluster_identifier': 'globalClusterIdentifier', 'global_cluster_resource_id': 'globalClusterResourceId', 'global_filters': 'globalFilters', 'global_secondary_indexes': 'globalSecondaryIndexes', 'glue_version': 'glueVersion', 'grant_creation_tokens': 'grantCreationTokens', 'grant_id': 'grantId', 'grant_token': 'grantToken', 'grantee_principal': 'granteePrincipal', 'grok_classifier': 'grokClassifier', 'group_name': 'groupName', 'group_names': 'groupNames', 'guess_mime_type_enabled': 'guessMimeTypeEnabled', 'hard_expiry': 'hardExpiry', 'has_logical_redundancy': 'hasLogicalRedundancy', 'has_public_access_policy': 'hasPublicAccessPolicy', 'hash_key': 'hashKey', 'hash_type': 'hashType', 'health_check': 'healthCheck', 'health_check_config': 'healthCheckConfig', 'health_check_custom_config': 'healthCheckCustomConfig', 'health_check_grace_period': 'healthCheckGracePeriod', 'health_check_grace_period_seconds': 'healthCheckGracePeriodSeconds', 'health_check_id': 'healthCheckId', 'health_check_interval_seconds': 'healthCheckIntervalSeconds', 'health_check_path': 'healthCheckPath', 'health_check_port': 'healthCheckPort', 'health_check_protocol': 'healthCheckProtocol', 'health_check_type': 'healthCheckType', 'healthcheck_method': 'healthcheckMethod', 'healthcheck_url': 'healthcheckUrl', 'heartbeat_timeout': 'heartbeatTimeout', 'hibernation_options': 'hibernationOptions', 'hls_ingests': 'hlsIngests', 'home_directory': 'homeDirectory', 'home_region': 'homeRegion', 'host_id': 'hostId', 'host_instance_type': 'hostInstanceType', 'host_key': 'hostKey', 'host_key_fingerprint': 'hostKeyFingerprint', 'host_vpc_id': 'hostVpcId', 'hosted_zone': 'hostedZone', 'hosted_zone_id': 'hostedZoneId', 'hostname_theme': 'hostnameTheme', 'hsm_eni_id': 'hsmEniId', 'hsm_id': 'hsmId', 'hsm_state': 'hsmState', 'hsm_type': 'hsmType', 'http_config': 'httpConfig', 'http_failure_feedback_role_arn': 'httpFailureFeedbackRoleArn', 'http_method': 'httpMethod', 'http_success_feedback_role_arn': 'httpSuccessFeedbackRoleArn', 'http_success_feedback_sample_rate': 'httpSuccessFeedbackSampleRate', 'http_version': 'httpVersion', 'iam_arn': 'iamArn', 'iam_database_authentication_enabled': 'iamDatabaseAuthenticationEnabled', 'iam_fleet_role': 'iamFleetRole', 'iam_instance_profile': 'iamInstanceProfile', 'iam_role': 'iamRole', 'iam_role_arn': 'iamRoleArn', 'iam_role_id': 'iamRoleId', 'iam_roles': 'iamRoles', 'iam_user_access_to_billing': 'iamUserAccessToBilling', 'icmp_code': 'icmpCode', 'icmp_type': 'icmpType', 'identifier_prefix': 'identifierPrefix', 'identity_pool_id': 'identityPoolId', 'identity_pool_name': 'identityPoolName', 'identity_provider': 'identityProvider', 'identity_provider_type': 'identityProviderType', 'identity_source': 'identitySource', 'identity_sources': 'identitySources', 'identity_type': 'identityType', 'identity_validation_expression': 'identityValidationExpression', 'idle_timeout': 'idleTimeout', 'idp_identifiers': 'idpIdentifiers', 'ignore_deletion_error': 'ignoreDeletionError', 'ignore_public_acls': 'ignorePublicAcls', 'image_id': 'imageId', 'image_location': 'imageLocation', 'image_scanning_configuration': 'imageScanningConfiguration', 'image_tag_mutability': 'imageTagMutability', 'import_path': 'importPath', 'imported_file_chunk_size': 'importedFileChunkSize', 'in_progress_validation_batches': 'inProgressValidationBatches', 'include_global_service_events': 'includeGlobalServiceEvents', 'include_original_headers': 'includeOriginalHeaders', 'included_object_versions': 'includedObjectVersions', 'inference_accelerators': 'inferenceAccelerators', 'infrastructure_class': 'infrastructureClass', 'initial_lifecycle_hooks': 'initialLifecycleHooks', 'input_bucket': 'inputBucket', 'input_parameters': 'inputParameters', 'input_path': 'inputPath', 'input_transformer': 'inputTransformer', 'install_updates_on_boot': 'installUpdatesOnBoot', 'instance_class': 'instanceClass', 'instance_count': 'instanceCount', 'instance_groups': 'instanceGroups', 'instance_id': 'instanceId', 'instance_initiated_shutdown_behavior': 'instanceInitiatedShutdownBehavior', 'instance_interruption_behaviour': 'instanceInterruptionBehaviour', 'instance_market_options': 'instanceMarketOptions', 'instance_match_criteria': 'instanceMatchCriteria', 'instance_name': 'instanceName', 'instance_owner_id': 'instanceOwnerId', 'instance_platform': 'instancePlatform', 'instance_pools_to_use_count': 'instancePoolsToUseCount', 'instance_port': 'instancePort', 'instance_ports': 'instancePorts', 'instance_profile_arn': 'instanceProfileArn', 'instance_role_arn': 'instanceRoleArn', 'instance_shutdown_timeout': 'instanceShutdownTimeout', 'instance_state': 'instanceState', 'instance_tenancy': 'instanceTenancy', 'instance_type': 'instanceType', 'instance_types': 'instanceTypes', 'insufficient_data_actions': 'insufficientDataActions', 'insufficient_data_health_status': 'insufficientDataHealthStatus', 'integration_http_method': 'integrationHttpMethod', 'integration_id': 'integrationId', 'integration_method': 'integrationMethod', 'integration_response_key': 'integrationResponseKey', 'integration_response_selection_expression': 'integrationResponseSelectionExpression', 'integration_type': 'integrationType', 'integration_uri': 'integrationUri', 'invalid_user_lists': 'invalidUserLists', 'invert_healthcheck': 'invertHealthcheck', 'invitation_arn': 'invitationArn', 'invitation_message': 'invitationMessage', 'invocation_role': 'invocationRole', 'invoke_arn': 'invokeArn', 'invoke_url': 'invokeUrl', 'iot_analytics': 'iotAnalytics', 'iot_events': 'iotEvents', 'ip_address': 'ipAddress', 'ip_address_type': 'ipAddressType', 'ip_address_version': 'ipAddressVersion', 'ip_addresses': 'ipAddresses', 'ip_group_ids': 'ipGroupIds', 'ip_set_descriptors': 'ipSetDescriptors', 'ip_sets': 'ipSets', 'ipc_mode': 'ipcMode', 'ipv6_address': 'ipv6Address', 'ipv6_address_count': 'ipv6AddressCount', 'ipv6_addresses': 'ipv6Addresses', 'ipv6_association_id': 'ipv6AssociationId', 'ipv6_cidr_block': 'ipv6CidrBlock', 'ipv6_cidr_block_association_id': 'ipv6CidrBlockAssociationId', 'ipv6_cidr_blocks': 'ipv6CidrBlocks', 'ipv6_support': 'ipv6Support', 'is_enabled': 'isEnabled', 'is_ipv6_enabled': 'isIpv6Enabled', 'is_multi_region_trail': 'isMultiRegionTrail', 'is_organization_trail': 'isOrganizationTrail', 'is_static_ip': 'isStaticIp', 'jdbc_targets': 'jdbcTargets', 'joined_method': 'joinedMethod', 'joined_timestamp': 'joinedTimestamp', 'json_classifier': 'jsonClassifier', 'jumbo_frame_capable': 'jumboFrameCapable', 'jvm_options': 'jvmOptions', 'jvm_type': 'jvmType', 'jvm_version': 'jvmVersion', 'jwt_configuration': 'jwtConfiguration', 'kafka_settings': 'kafkaSettings', 'kafka_version': 'kafkaVersion', 'kafka_versions': 'kafkaVersions', 'keep_job_flow_alive_when_no_steps': 'keepJobFlowAliveWhenNoSteps', 'kerberos_attributes': 'kerberosAttributes', 'kernel_id': 'kernelId', 'key_arn': 'keyArn', 'key_fingerprint': 'keyFingerprint', 'key_id': 'keyId', 'key_material_base64': 'keyMaterialBase64', 'key_name': 'keyName', 'key_name_prefix': 'keyNamePrefix', 'key_pair_id': 'keyPairId', 'key_pair_name': 'keyPairName', 'key_state': 'keyState', 'key_type': 'keyType', 'key_usage': 'keyUsage', 'kibana_endpoint': 'kibanaEndpoint', 'kinesis_destination': 'kinesisDestination', 'kinesis_settings': 'kinesisSettings', 'kinesis_source_configuration': 'kinesisSourceConfiguration', 'kinesis_target': 'kinesisTarget', 'kms_data_key_reuse_period_seconds': 'kmsDataKeyReusePeriodSeconds', 'kms_encrypted': 'kmsEncrypted', 'kms_key_arn': 'kmsKeyArn', 'kms_key_id': 'kmsKeyId', 'kms_master_key_id': 'kmsMasterKeyId', 'lag_id': 'lagId', 'lambda_': 'lambda', 'lambda_actions': 'lambdaActions', 'lambda_config': 'lambdaConfig', 'lambda_failure_feedback_role_arn': 'lambdaFailureFeedbackRoleArn', 'lambda_function_arn': 'lambdaFunctionArn', 'lambda_functions': 'lambdaFunctions', 'lambda_multi_value_headers_enabled': 'lambdaMultiValueHeadersEnabled', 'lambda_success_feedback_role_arn': 'lambdaSuccessFeedbackRoleArn', 'lambda_success_feedback_sample_rate': 'lambdaSuccessFeedbackSampleRate', 'last_modified': 'lastModified', 'last_modified_date': 'lastModifiedDate', 'last_modified_time': 'lastModifiedTime', 'last_processing_result': 'lastProcessingResult', 'last_service_error_id': 'lastServiceErrorId', 'last_update_timestamp': 'lastUpdateTimestamp', 'last_updated_date': 'lastUpdatedDate', 'last_updated_time': 'lastUpdatedTime', 'latency_routing_policies': 'latencyRoutingPolicies', 'latest_revision': 'latestRevision', 'latest_version': 'latestVersion', 'launch_configuration': 'launchConfiguration', 'launch_configurations': 'launchConfigurations', 'launch_group': 'launchGroup', 'launch_specifications': 'launchSpecifications', 'launch_template': 'launchTemplate', 'launch_template_config': 'launchTemplateConfig', 'launch_template_configs': 'launchTemplateConfigs', 'launch_type': 'launchType', 'layer_arn': 'layerArn', 'layer_ids': 'layerIds', 'layer_name': 'layerName', 'lb_port': 'lbPort', 'license_configuration_arn': 'licenseConfigurationArn', 'license_count': 'licenseCount', 'license_count_hard_limit': 'licenseCountHardLimit', 'license_counting_type': 'licenseCountingType', 'license_info': 'licenseInfo', 'license_model': 'licenseModel', 'license_rules': 'licenseRules', 'license_specifications': 'licenseSpecifications', 'lifecycle_config_name': 'lifecycleConfigName', 'lifecycle_policy': 'lifecyclePolicy', 'lifecycle_rules': 'lifecycleRules', 'lifecycle_transition': 'lifecycleTransition', 'limit_amount': 'limitAmount', 'limit_unit': 'limitUnit', 'listener_arn': 'listenerArn', 'load_balancer': 'loadBalancer', 'load_balancer_arn': 'loadBalancerArn', 'load_balancer_info': 'loadBalancerInfo', 'load_balancer_name': 'loadBalancerName', 'load_balancer_port': 'loadBalancerPort', 'load_balancer_type': 'loadBalancerType', 'load_balancers': 'loadBalancers', 'load_balancing_algorithm_type': 'loadBalancingAlgorithmType', 'local_gateway_id': 'localGatewayId', 'local_gateway_route_table_id': 'localGatewayRouteTableId', 'local_gateway_virtual_interface_group_id': 'localGatewayVirtualInterfaceGroupId', 'local_secondary_indexes': 'localSecondaryIndexes', 'location_arn': 'locationArn', 'location_uri': 'locationUri', 'lock_token': 'lockToken', 'log_config': 'logConfig', 'log_destination': 'logDestination', 'log_destination_type': 'logDestinationType', 'log_format': 'logFormat', 'log_group': 'logGroup', 'log_group_name': 'logGroupName', 'log_paths': 'logPaths', 'log_publishing_options': 'logPublishingOptions', 'log_uri': 'logUri', 'logging_config': 'loggingConfig', 'logging_configuration': 'loggingConfiguration', 'logging_info': 'loggingInfo', 'logging_role': 'loggingRole', 'logout_urls': 'logoutUrls', 'logs_config': 'logsConfig', 'lun_number': 'lunNumber', 'mac_address': 'macAddress', 'mail_from_domain': 'mailFromDomain', 'main_route_table_id': 'mainRouteTableId', 'maintenance_window': 'maintenanceWindow', 'maintenance_window_start_time': 'maintenanceWindowStartTime', 'major_engine_version': 'majorEngineVersion', 'manage_berkshelf': 'manageBerkshelf', 'manage_bundler': 'manageBundler', 'manage_ebs_snapshots': 'manageEbsSnapshots', 'manages_vpc_endpoints': 'managesVpcEndpoints', 'map_public_ip_on_launch': 'mapPublicIpOnLaunch', 'master_account_arn': 'masterAccountArn', 'master_account_email': 'masterAccountEmail', 'master_account_id': 'masterAccountId', 'master_id': 'masterId', 'master_instance_group': 'masterInstanceGroup', 'master_instance_type': 'masterInstanceType', 'master_password': 'masterPassword', 'master_public_dns': 'masterPublicDns', 'master_username': 'masterUsername', 'match_criterias': 'matchCriterias', 'matching_types': 'matchingTypes', 'max_aggregation_interval': 'maxAggregationInterval', 'max_allocated_storage': 'maxAllocatedStorage', 'max_capacity': 'maxCapacity', 'max_concurrency': 'maxConcurrency', 'max_errors': 'maxErrors', 'max_instance_lifetime': 'maxInstanceLifetime', 'max_message_size': 'maxMessageSize', 'max_password_age': 'maxPasswordAge', 'max_retries': 'maxRetries', 'max_session_duration': 'maxSessionDuration', 'max_size': 'maxSize', 'maximum_batching_window_in_seconds': 'maximumBatchingWindowInSeconds', 'maximum_event_age_in_seconds': 'maximumEventAgeInSeconds', 'maximum_execution_frequency': 'maximumExecutionFrequency', 'maximum_record_age_in_seconds': 'maximumRecordAgeInSeconds', 'maximum_retry_attempts': 'maximumRetryAttempts', 'measure_latency': 'measureLatency', 'media_type': 'mediaType', 'medium_changer_type': 'mediumChangerType', 'member_account_id': 'memberAccountId', 'member_clusters': 'memberClusters', 'member_status': 'memberStatus', 'memory_size': 'memorySize', 'mesh_name': 'meshName', 'message_retention_seconds': 'messageRetentionSeconds', 'messages_per_second': 'messagesPerSecond', 'metadata_options': 'metadataOptions', 'method_path': 'methodPath', 'metric_aggregation_type': 'metricAggregationType', 'metric_groups': 'metricGroups', 'metric_name': 'metricName', 'metric_queries': 'metricQueries', 'metric_transformation': 'metricTransformation', 'metrics_granularity': 'metricsGranularity', 'mfa_configuration': 'mfaConfiguration', 'migration_type': 'migrationType', 'min_adjustment_magnitude': 'minAdjustmentMagnitude', 'min_capacity': 'minCapacity', 'min_elb_capacity': 'minElbCapacity', 'min_size': 'minSize', 'minimum_compression_size': 'minimumCompressionSize', 'minimum_healthy_hosts': 'minimumHealthyHosts', 'minimum_password_length': 'minimumPasswordLength', 'mixed_instances_policy': 'mixedInstancesPolicy', 'model_selection_expression': 'modelSelectionExpression', 'mongodb_settings': 'mongodbSettings', 'monitoring_interval': 'monitoringInterval', 'monitoring_role_arn': 'monitoringRoleArn', 'monthly_spend_limit': 'monthlySpendLimit', 'mount_options': 'mountOptions', 'mount_target_dns_name': 'mountTargetDnsName', 'multi_attach_enabled': 'multiAttachEnabled', 'multi_az': 'multiAz', 'multivalue_answer_routing_policy': 'multivalueAnswerRoutingPolicy', 'name_prefix': 'namePrefix', 'name_servers': 'nameServers', 'namespace_id': 'namespaceId', 'nat_gateway_id': 'natGatewayId', 'neptune_cluster_parameter_group_name': 'neptuneClusterParameterGroupName', 'neptune_parameter_group_name': 'neptuneParameterGroupName', 'neptune_subnet_group_name': 'neptuneSubnetGroupName', 'netbios_name_servers': 'netbiosNameServers', 'netbios_node_type': 'netbiosNodeType', 'network_acl_id': 'networkAclId', 'network_configuration': 'networkConfiguration', 'network_interface': 'networkInterface', 'network_interface_id': 'networkInterfaceId', 'network_interface_ids': 'networkInterfaceIds', 'network_interface_port': 'networkInterfacePort', 'network_interfaces': 'networkInterfaces', 'network_load_balancer_arn': 'networkLoadBalancerArn', 'network_load_balancer_arns': 'networkLoadBalancerArns', 'network_mode': 'networkMode', 'network_origin': 'networkOrigin', 'network_services': 'networkServices', 'new_game_session_protection_policy': 'newGameSessionProtectionPolicy', 'nfs_file_share_defaults': 'nfsFileShareDefaults', 'node_group_name': 'nodeGroupName', 'node_role_arn': 'nodeRoleArn', 'node_to_node_encryption': 'nodeToNodeEncryption', 'node_type': 'nodeType', 'nodejs_version': 'nodejsVersion', 'non_master_accounts': 'nonMasterAccounts', 'not_after': 'notAfter', 'not_before': 'notBefore', 'notification_arns': 'notificationArns', 'notification_metadata': 'notificationMetadata', 'notification_property': 'notificationProperty', 'notification_target_arn': 'notificationTargetArn', 'notification_topic_arn': 'notificationTopicArn', 'notification_type': 'notificationType', 'ntp_servers': 'ntpServers', 'num_cache_nodes': 'numCacheNodes', 'number_cache_clusters': 'numberCacheClusters', 'number_of_broker_nodes': 'numberOfBrokerNodes', 'number_of_nodes': 'numberOfNodes', 'number_of_workers': 'numberOfWorkers', 'object_acl': 'objectAcl', 'object_lock_configuration': 'objectLockConfiguration', 'object_lock_legal_hold_status': 'objectLockLegalHoldStatus', 'object_lock_mode': 'objectLockMode', 'object_lock_retain_until_date': 'objectLockRetainUntilDate', 'ok_actions': 'okActions', 'on_create': 'onCreate', 'on_demand_options': 'onDemandOptions', 'on_failure': 'onFailure', 'on_prem_config': 'onPremConfig', 'on_premises_instance_tag_filters': 'onPremisesInstanceTagFilters', 'on_start': 'onStart', 'open_monitoring': 'openMonitoring', 'openid_connect_config': 'openidConnectConfig', 'openid_connect_provider_arns': 'openidConnectProviderArns', 'operating_system': 'operatingSystem', 'operation_name': 'operationName', 'opt_in_status': 'optInStatus', 'optimize_for_end_user_location': 'optimizeForEndUserLocation', 'option_group_description': 'optionGroupDescription', 'option_group_name': 'optionGroupName', 'optional_fields': 'optionalFields', 'ordered_cache_behaviors': 'orderedCacheBehaviors', 'ordered_placement_strategies': 'orderedPlacementStrategies', 'organization_aggregation_source': 'organizationAggregationSource', 'origin_groups': 'originGroups', 'original_route_table_id': 'originalRouteTableId', 'outpost_arn': 'outpostArn', 'output_bucket': 'outputBucket', 'output_location': 'outputLocation', 'owner_account': 'ownerAccount', 'owner_account_id': 'ownerAccountId', 'owner_alias': 'ownerAlias', 'owner_arn': 'ownerArn', 'owner_id': 'ownerId', 'owner_information': 'ownerInformation', 'packet_length': 'packetLength', 'parallelization_factor': 'parallelizationFactor', 'parameter_group_name': 'parameterGroupName', 'parameter_overrides': 'parameterOverrides', 'parent_id': 'parentId', 'partition_keys': 'partitionKeys', 'passenger_version': 'passengerVersion', 'passthrough_behavior': 'passthroughBehavior', 'password_data': 'passwordData', 'password_length': 'passwordLength', 'password_policy': 'passwordPolicy', 'password_reset_required': 'passwordResetRequired', 'password_reuse_prevention': 'passwordReusePrevention', 'patch_group': 'patchGroup', 'path_part': 'pathPart', 'payload_format_version': 'payloadFormatVersion', 'payload_url': 'payloadUrl', 'peer_account_id': 'peerAccountId', 'peer_owner_id': 'peerOwnerId', 'peer_region': 'peerRegion', 'peer_transit_gateway_id': 'peerTransitGatewayId', 'peer_vpc_id': 'peerVpcId', 'pem_encoded_certificate': 'pemEncodedCertificate', 'performance_insights_enabled': 'performanceInsightsEnabled', 'performance_insights_kms_key_id': 'performanceInsightsKmsKeyId', 'performance_insights_retention_period': 'performanceInsightsRetentionPeriod', 'performance_mode': 'performanceMode', 'permanent_deletion_time_in_days': 'permanentDeletionTimeInDays', 'permissions_boundary': 'permissionsBoundary', 'pgp_key': 'pgpKey', 'physical_connection_requirements': 'physicalConnectionRequirements', 'pid_mode': 'pidMode', 'pipeline_config': 'pipelineConfig', 'placement_constraints': 'placementConstraints', 'placement_group': 'placementGroup', 'placement_group_id': 'placementGroupId', 'placement_tenancy': 'placementTenancy', 'plan_id': 'planId', 'platform_arn': 'platformArn', 'platform_credential': 'platformCredential', 'platform_principal': 'platformPrincipal', 'platform_types': 'platformTypes', 'platform_version': 'platformVersion', 'player_latency_policies': 'playerLatencyPolicies', 'pod_execution_role_arn': 'podExecutionRoleArn', 'point_in_time_recovery': 'pointInTimeRecovery', 'policy_arn': 'policyArn', 'policy_attributes': 'policyAttributes', 'policy_body': 'policyBody', 'policy_details': 'policyDetails', 'policy_document': 'policyDocument', 'policy_id': 'policyId', 'policy_name': 'policyName', 'policy_names': 'policyNames', 'policy_type': 'policyType', 'policy_type_name': 'policyTypeName', 'policy_url': 'policyUrl', 'poll_interval': 'pollInterval', 'port_ranges': 'portRanges', 'posix_user': 'posixUser', 'preferred_availability_zones': 'preferredAvailabilityZones', 'preferred_backup_window': 'preferredBackupWindow', 'preferred_maintenance_window': 'preferredMaintenanceWindow', 'prefix_list_id': 'prefixListId', 'prefix_list_ids': 'prefixListIds', 'prevent_user_existence_errors': 'preventUserExistenceErrors', 'price_class': 'priceClass', 'pricing_plan': 'pricingPlan', 'primary_container': 'primaryContainer', 'primary_endpoint_address': 'primaryEndpointAddress', 'primary_network_interface_id': 'primaryNetworkInterfaceId', 'principal_arn': 'principalArn', 'private_dns': 'privateDns', 'private_dns_enabled': 'privateDnsEnabled', 'private_dns_name': 'privateDnsName', 'private_ip': 'privateIp', 'private_ip_address': 'privateIpAddress', 'private_ips': 'privateIps', 'private_ips_count': 'privateIpsCount', 'private_key': 'privateKey', 'product_arn': 'productArn', 'product_code': 'productCode', 'production_variants': 'productionVariants', 'project_name': 'projectName', 'promotion_tier': 'promotionTier', 'promotional_messages_per_second': 'promotionalMessagesPerSecond', 'propagate_tags': 'propagateTags', 'propagating_vgws': 'propagatingVgws', 'propagation_default_route_table_id': 'propagationDefaultRouteTableId', 'proposal_id': 'proposalId', 'protect_from_scale_in': 'protectFromScaleIn', 'protocol_type': 'protocolType', 'provider_arns': 'providerArns', 'provider_details': 'providerDetails', 'provider_name': 'providerName', 'provider_type': 'providerType', 'provisioned_concurrent_executions': 'provisionedConcurrentExecutions', 'provisioned_throughput_in_mibps': 'provisionedThroughputInMibps', 'proxy_configuration': 'proxyConfiguration', 'proxy_protocol_v2': 'proxyProtocolV2', 'public_access_block_configuration': 'publicAccessBlockConfiguration', 'public_dns': 'publicDns', 'public_ip': 'publicIp', 'public_ip_address': 'publicIpAddress', 'public_ipv4_pool': 'publicIpv4Pool', 'public_key': 'publicKey', 'publicly_accessible': 'publiclyAccessible', 'qualified_arn': 'qualifiedArn', 'queue_url': 'queueUrl', 'queued_timeout': 'queuedTimeout', 'quiet_time': 'quietTime', 'quota_code': 'quotaCode', 'quota_name': 'quotaName', 'quota_settings': 'quotaSettings', 'rails_env': 'railsEnv', 'ram_disk_id': 'ramDiskId', 'ram_size': 'ramSize', 'ramdisk_id': 'ramdiskId', 'range_key': 'rangeKey', 'rate_key': 'rateKey', 'rate_limit': 'rateLimit', 'raw_message_delivery': 'rawMessageDelivery', 'rds_db_instance_arn': 'rdsDbInstanceArn', 'read_attributes': 'readAttributes', 'read_capacity': 'readCapacity', 'read_only': 'readOnly', 'reader_endpoint': 'readerEndpoint', 'receive_wait_time_seconds': 'receiveWaitTimeSeconds', 'receiver_account_id': 'receiverAccountId', 'recording_group': 'recordingGroup', 'recovery_points': 'recoveryPoints', 'recovery_window_in_days': 'recoveryWindowInDays', 'redrive_policy': 'redrivePolicy', 'redshift_configuration': 'redshiftConfiguration', 'reference_data_sources': 'referenceDataSources', 'reference_name': 'referenceName', 'refresh_token_validity': 'refreshTokenValidity', 'regex_match_tuples': 'regexMatchTuples', 'regex_pattern_strings': 'regexPatternStrings', 'regional_certificate_arn': 'regionalCertificateArn', 'regional_certificate_name': 'regionalCertificateName', 'regional_domain_name': 'regionalDomainName', 'regional_zone_id': 'regionalZoneId', 'registered_by': 'registeredBy', 'registration_code': 'registrationCode', 'registration_count': 'registrationCount', 'registration_limit': 'registrationLimit', 'registry_id': 'registryId', 'regular_expressions': 'regularExpressions', 'rejected_patches': 'rejectedPatches', 'relationship_status': 'relationshipStatus', 'release_label': 'releaseLabel', 'release_version': 'releaseVersion', 'remote_access': 'remoteAccess', 'remote_domain_name': 'remoteDomainName', 'replace_unhealthy_instances': 'replaceUnhealthyInstances', 'replicate_source_db': 'replicateSourceDb', 'replication_configuration': 'replicationConfiguration', 'replication_factor': 'replicationFactor', 'replication_group_description': 'replicationGroupDescription', 'replication_group_id': 'replicationGroupId', 'replication_instance_arn': 'replicationInstanceArn', 'replication_instance_class': 'replicationInstanceClass', 'replication_instance_id': 'replicationInstanceId', 'replication_instance_private_ips': 'replicationInstancePrivateIps', 'replication_instance_public_ips': 'replicationInstancePublicIps', 'replication_source_identifier': 'replicationSourceIdentifier', 'replication_subnet_group_arn': 'replicationSubnetGroupArn', 'replication_subnet_group_description': 'replicationSubnetGroupDescription', 'replication_subnet_group_id': 'replicationSubnetGroupId', 'replication_task_arn': 'replicationTaskArn', 'replication_task_id': 'replicationTaskId', 'replication_task_settings': 'replicationTaskSettings', 'report_name': 'reportName', 'reported_agent_version': 'reportedAgentVersion', 'reported_os_family': 'reportedOsFamily', 'reported_os_name': 'reportedOsName', 'reported_os_version': 'reportedOsVersion', 'repository_id': 'repositoryId', 'repository_name': 'repositoryName', 'repository_url': 'repositoryUrl', 'request_id': 'requestId', 'request_interval': 'requestInterval', 'request_mapping_template': 'requestMappingTemplate', 'request_models': 'requestModels', 'request_parameters': 'requestParameters', 'request_payer': 'requestPayer', 'request_status': 'requestStatus', 'request_template': 'requestTemplate', 'request_templates': 'requestTemplates', 'request_validator_id': 'requestValidatorId', 'requester_managed': 'requesterManaged', 'requester_pays': 'requesterPays', 'require_lowercase_characters': 'requireLowercaseCharacters', 'require_numbers': 'requireNumbers', 'require_symbols': 'requireSymbols', 'require_uppercase_characters': 'requireUppercaseCharacters', 'requires_compatibilities': 'requiresCompatibilities', 'reservation_plan_settings': 'reservationPlanSettings', 'reserved_concurrent_executions': 'reservedConcurrentExecutions', 'reservoir_size': 'reservoirSize', 'resolver_endpoint_id': 'resolverEndpointId', 'resolver_rule_id': 'resolverRuleId', 'resource_arn': 'resourceArn', 'resource_creation_limit_policy': 'resourceCreationLimitPolicy', 'resource_group_arn': 'resourceGroupArn', 'resource_id': 'resourceId', 'resource_id_scope': 'resourceIdScope', 'resource_path': 'resourcePath', 'resource_query': 'resourceQuery', 'resource_share_arn': 'resourceShareArn', 'resource_type': 'resourceType', 'resource_types_scopes': 'resourceTypesScopes', 'response_mapping_template': 'responseMappingTemplate', 'response_models': 'responseModels', 'response_parameters': 'responseParameters', 'response_template': 'responseTemplate', 'response_templates': 'responseTemplates', 'response_type': 'responseType', 'rest_api': 'restApi', 'rest_api_id': 'restApiId', 'restrict_public_buckets': 'restrictPublicBuckets', 'retain_on_delete': 'retainOnDelete', 'retain_stack': 'retainStack', 'retention_in_days': 'retentionInDays', 'retention_period': 'retentionPeriod', 'retire_on_delete': 'retireOnDelete', 'retiring_principal': 'retiringPrincipal', 'retry_strategy': 'retryStrategy', 'revocation_configuration': 'revocationConfiguration', 'revoke_rules_on_delete': 'revokeRulesOnDelete', 'role_arn': 'roleArn', 'role_mappings': 'roleMappings', 'role_name': 'roleName', 'root_block_device': 'rootBlockDevice', 'root_block_devices': 'rootBlockDevices', 'root_device_name': 'rootDeviceName', 'root_device_type': 'rootDeviceType', 'root_device_volume_id': 'rootDeviceVolumeId', 'root_directory': 'rootDirectory', 'root_password': 'rootPassword', 'root_password_on_all_instances': 'rootPasswordOnAllInstances', 'root_resource_id': 'rootResourceId', 'root_snapshot_id': 'rootSnapshotId', 'root_volume_encryption_enabled': 'rootVolumeEncryptionEnabled', 'rotation_enabled': 'rotationEnabled', 'rotation_lambda_arn': 'rotationLambdaArn', 'rotation_rules': 'rotationRules', 'route_filter_prefixes': 'routeFilterPrefixes', 'route_id': 'routeId', 'route_key': 'routeKey', 'route_response_key': 'routeResponseKey', 'route_response_selection_expression': 'routeResponseSelectionExpression', 'route_selection_expression': 'routeSelectionExpression', 'route_settings': 'routeSettings', 'route_table_id': 'routeTableId', 'route_table_ids': 'routeTableIds', 'routing_config': 'routingConfig', 'routing_strategy': 'routingStrategy', 'ruby_version': 'rubyVersion', 'rubygems_version': 'rubygemsVersion', 'rule_action': 'ruleAction', 'rule_id': 'ruleId', 'rule_identifier': 'ruleIdentifier', 'rule_name': 'ruleName', 'rule_number': 'ruleNumber', 'rule_set_name': 'ruleSetName', 'rule_type': 'ruleType', 'rules_package_arns': 'rulesPackageArns', 'run_command_targets': 'runCommandTargets', 'running_instance_count': 'runningInstanceCount', 'runtime_configuration': 'runtimeConfiguration', 's3_actions': 's3Actions', 's3_bucket': 's3Bucket', 's3_bucket_arn': 's3BucketArn', 's3_bucket_name': 's3BucketName', 's3_canonical_user_id': 's3CanonicalUserId', 's3_config': 's3Config', 's3_configuration': 's3Configuration', 's3_destination': 's3Destination', 's3_import': 's3Import', 's3_key': 's3Key', 's3_key_prefix': 's3KeyPrefix', 's3_object_version': 's3ObjectVersion', 's3_prefix': 's3Prefix', 's3_region': 's3Region', 's3_settings': 's3Settings', 's3_targets': 's3Targets', 'saml_metadata_document': 'samlMetadataDocument', 'saml_provider_arns': 'samlProviderArns', 'scalable_dimension': 'scalableDimension', 'scalable_target_action': 'scalableTargetAction', 'scale_down_behavior': 'scaleDownBehavior', 'scaling_adjustment': 'scalingAdjustment', 'scaling_config': 'scalingConfig', 'scaling_configuration': 'scalingConfiguration', 'scan_enabled': 'scanEnabled', 'schedule_expression': 'scheduleExpression', 'schedule_identifier': 'scheduleIdentifier', 'schedule_timezone': 'scheduleTimezone', 'scheduled_action_name': 'scheduledActionName', 'scheduling_strategy': 'schedulingStrategy', 'schema_change_policy': 'schemaChangePolicy', 'schema_version': 'schemaVersion', 'scope_identifiers': 'scopeIdentifiers', 'search_string': 'searchString', 'secondary_artifacts': 'secondaryArtifacts', 'secondary_sources': 'secondarySources', 'secret_binary': 'secretBinary', 'secret_id': 'secretId', 'secret_key': 'secretKey', 'secret_string': 'secretString', 'security_configuration': 'securityConfiguration', 'security_group_id': 'securityGroupId', 'security_group_ids': 'securityGroupIds', 'security_group_names': 'securityGroupNames', 'security_groups': 'securityGroups', 'security_policy': 'securityPolicy', 'selection_pattern': 'selectionPattern', 'selection_tags': 'selectionTags', 'self_managed_active_directory': 'selfManagedActiveDirectory', 'self_service_permissions': 'selfServicePermissions', 'sender_account_id': 'senderAccountId', 'sender_id': 'senderId', 'server_certificate_arn': 'serverCertificateArn', 'server_hostname': 'serverHostname', 'server_id': 'serverId', 'server_name': 'serverName', 'server_properties': 'serverProperties', 'server_side_encryption': 'serverSideEncryption', 'server_side_encryption_configuration': 'serverSideEncryptionConfiguration', 'server_type': 'serverType', 'service_access_role': 'serviceAccessRole', 'service_code': 'serviceCode', 'service_linked_role_arn': 'serviceLinkedRoleArn', 'service_name': 'serviceName', 'service_namespace': 'serviceNamespace', 'service_registries': 'serviceRegistries', 'service_role': 'serviceRole', 'service_role_arn': 'serviceRoleArn', 'service_type': 'serviceType', 'ses_smtp_password': 'sesSmtpPassword', 'ses_smtp_password_v4': 'sesSmtpPasswordV4', 'session_name': 'sessionName', 'session_number': 'sessionNumber', 'set_identifier': 'setIdentifier', 'shard_count': 'shardCount', 'shard_level_metrics': 'shardLevelMetrics', 'share_arn': 'shareArn', 'share_id': 'shareId', 'share_name': 'shareName', 'share_status': 'shareStatus', 'short_code': 'shortCode', 'short_name': 'shortName', 'size_constraints': 'sizeConstraints', 'skip_destroy': 'skipDestroy', 'skip_final_backup': 'skipFinalBackup', 'skip_final_snapshot': 'skipFinalSnapshot', 'slow_start': 'slowStart', 'smb_active_directory_settings': 'smbActiveDirectorySettings', 'smb_guest_password': 'smbGuestPassword', 'sms_authentication_message': 'smsAuthenticationMessage', 'sms_configuration': 'smsConfiguration', 'sms_verification_message': 'smsVerificationMessage', 'snapshot_arns': 'snapshotArns', 'snapshot_cluster_identifier': 'snapshotClusterIdentifier', 'snapshot_copy': 'snapshotCopy', 'snapshot_copy_grant_name': 'snapshotCopyGrantName', 'snapshot_delivery_properties': 'snapshotDeliveryProperties', 'snapshot_id': 'snapshotId', 'snapshot_identifier': 'snapshotIdentifier', 'snapshot_name': 'snapshotName', 'snapshot_options': 'snapshotOptions', 'snapshot_retention_limit': 'snapshotRetentionLimit', 'snapshot_type': 'snapshotType', 'snapshot_window': 'snapshotWindow', 'snapshot_without_reboot': 'snapshotWithoutReboot', 'sns_actions': 'snsActions', 'sns_destination': 'snsDestination', 'sns_topic': 'snsTopic', 'sns_topic_arn': 'snsTopicArn', 'sns_topic_name': 'snsTopicName', 'software_token_mfa_configuration': 'softwareTokenMfaConfiguration', 'solution_stack_name': 'solutionStackName', 'source_account': 'sourceAccount', 'source_ami_id': 'sourceAmiId', 'source_ami_region': 'sourceAmiRegion', 'source_arn': 'sourceArn', 'source_backup_identifier': 'sourceBackupIdentifier', 'source_cidr_block': 'sourceCidrBlock', 'source_code_hash': 'sourceCodeHash', 'source_code_size': 'sourceCodeSize', 'source_db_cluster_snapshot_arn': 'sourceDbClusterSnapshotArn', 'source_db_snapshot_identifier': 'sourceDbSnapshotIdentifier', 'source_dest_check': 'sourceDestCheck', 'source_endpoint_arn': 'sourceEndpointArn', 'source_ids': 'sourceIds', 'source_instance_id': 'sourceInstanceId', 'source_location_arn': 'sourceLocationArn', 'source_port_range': 'sourcePortRange', 'source_region': 'sourceRegion', 'source_security_group': 'sourceSecurityGroup', 'source_security_group_id': 'sourceSecurityGroupId', 'source_snapshot_id': 'sourceSnapshotId', 'source_type': 'sourceType', 'source_version': 'sourceVersion', 'source_volume_arn': 'sourceVolumeArn', 'split_tunnel': 'splitTunnel', 'splunk_configuration': 'splunkConfiguration', 'spot_bid_status': 'spotBidStatus', 'spot_instance_id': 'spotInstanceId', 'spot_options': 'spotOptions', 'spot_price': 'spotPrice', 'spot_request_state': 'spotRequestState', 'spot_type': 'spotType', 'sql_injection_match_tuples': 'sqlInjectionMatchTuples', 'sql_version': 'sqlVersion', 'sqs_failure_feedback_role_arn': 'sqsFailureFeedbackRoleArn', 'sqs_success_feedback_role_arn': 'sqsSuccessFeedbackRoleArn', 'sqs_success_feedback_sample_rate': 'sqsSuccessFeedbackSampleRate', 'sqs_target': 'sqsTarget', 'sriov_net_support': 'sriovNetSupport', 'ssh_host_dsa_key_fingerprint': 'sshHostDsaKeyFingerprint', 'ssh_host_rsa_key_fingerprint': 'sshHostRsaKeyFingerprint', 'ssh_key_name': 'sshKeyName', 'ssh_public_key': 'sshPublicKey', 'ssh_public_key_id': 'sshPublicKeyId', 'ssh_username': 'sshUsername', 'ssl_configurations': 'sslConfigurations', 'ssl_mode': 'sslMode', 'ssl_policy': 'sslPolicy', 'stack_endpoint': 'stackEndpoint', 'stack_id': 'stackId', 'stack_set_id': 'stackSetId', 'stack_set_name': 'stackSetName', 'stage_description': 'stageDescription', 'stage_name': 'stageName', 'stage_variables': 'stageVariables', 'standards_arn': 'standardsArn', 'start_date': 'startDate', 'start_time': 'startTime', 'starting_position': 'startingPosition', 'starting_position_timestamp': 'startingPositionTimestamp', 'state_transition_reason': 'stateTransitionReason', 'statement_id': 'statementId', 'statement_id_prefix': 'statementIdPrefix', 'static_ip_name': 'staticIpName', 'static_members': 'staticMembers', 'static_routes_only': 'staticRoutesOnly', 'stats_enabled': 'statsEnabled', 'stats_password': 'statsPassword', 'stats_url': 'statsUrl', 'stats_user': 'statsUser', 'status_code': 'statusCode', 'status_reason': 'statusReason', 'step_adjustments': 'stepAdjustments', 'step_concurrency_level': 'stepConcurrencyLevel', 'step_functions': 'stepFunctions', 'step_scaling_policy_configuration': 'stepScalingPolicyConfiguration', 'stop_actions': 'stopActions', 'storage_capacity': 'storageCapacity', 'storage_class': 'storageClass', 'storage_class_analysis': 'storageClassAnalysis', 'storage_descriptor': 'storageDescriptor', 'storage_encrypted': 'storageEncrypted', 'storage_location': 'storageLocation', 'storage_type': 'storageType', 'stream_arn': 'streamArn', 'stream_enabled': 'streamEnabled', 'stream_label': 'streamLabel', 'stream_view_type': 'streamViewType', 'subject_alternative_names': 'subjectAlternativeNames', 'subnet_group_name': 'subnetGroupName', 'subnet_id': 'subnetId', 'subnet_ids': 'subnetIds', 'subnet_mappings': 'subnetMappings', 'success_feedback_role_arn': 'successFeedbackRoleArn', 'success_feedback_sample_rate': 'successFeedbackSampleRate', 'support_code': 'supportCode', 'supported_identity_providers': 'supportedIdentityProviders', 'supported_login_providers': 'supportedLoginProviders', 'suspended_processes': 'suspendedProcesses', 'system_packages': 'systemPackages', 'table_mappings': 'tableMappings', 'table_name': 'tableName', 'table_prefix': 'tablePrefix', 'table_type': 'tableType', 'tag_key_scope': 'tagKeyScope', 'tag_specifications': 'tagSpecifications', 'tag_value_scope': 'tagValueScope', 'tags_collection': 'tagsCollection', 'tape_drive_type': 'tapeDriveType', 'target_action': 'targetAction', 'target_arn': 'targetArn', 'target_capacity': 'targetCapacity', 'target_capacity_specification': 'targetCapacitySpecification', 'target_endpoint_arn': 'targetEndpointArn', 'target_group_arn': 'targetGroupArn', 'target_group_arns': 'targetGroupArns', 'target_id': 'targetId', 'target_ips': 'targetIps', 'target_key_arn': 'targetKeyArn', 'target_key_id': 'targetKeyId', 'target_name': 'targetName', 'target_pipeline': 'targetPipeline', 'target_tracking_configuration': 'targetTrackingConfiguration', 'target_tracking_scaling_policy_configuration': 'targetTrackingScalingPolicyConfiguration', 'target_type': 'targetType', 'task_arn': 'taskArn', 'task_definition': 'taskDefinition', 'task_invocation_parameters': 'taskInvocationParameters', 'task_parameters': 'taskParameters', 'task_role_arn': 'taskRoleArn', 'task_type': 'taskType', 'team_id': 'teamId', 'template_body': 'templateBody', 'template_name': 'templateName', 'template_selection_expression': 'templateSelectionExpression', 'template_url': 'templateUrl', 'terminate_instances': 'terminateInstances', 'terminate_instances_with_expiration': 'terminateInstancesWithExpiration', 'termination_policies': 'terminationPolicies', 'termination_protection': 'terminationProtection', 'thing_type_name': 'thingTypeName', 'threshold_count': 'thresholdCount', 'threshold_metric_id': 'thresholdMetricId', 'throttle_settings': 'throttleSettings', 'throughput_capacity': 'throughputCapacity', 'throughput_mode': 'throughputMode', 'thumbnail_config': 'thumbnailConfig', 'thumbnail_config_permissions': 'thumbnailConfigPermissions', 'thumbprint_lists': 'thumbprintLists', 'time_period_end': 'timePeriodEnd', 'time_period_start': 'timePeriodStart', 'time_unit': 'timeUnit', 'timeout_in_minutes': 'timeoutInMinutes', 'timeout_in_seconds': 'timeoutInSeconds', 'timeout_milliseconds': 'timeoutMilliseconds', 'tls_policy': 'tlsPolicy', 'to_port': 'toPort', 'token_key': 'tokenKey', 'token_key_id': 'tokenKeyId', 'topic_arn': 'topicArn', 'tracing_config': 'tracingConfig', 'traffic_dial_percentage': 'trafficDialPercentage', 'traffic_direction': 'trafficDirection', 'traffic_mirror_filter_id': 'trafficMirrorFilterId', 'traffic_mirror_target_id': 'trafficMirrorTargetId', 'traffic_routing_config': 'trafficRoutingConfig', 'traffic_type': 'trafficType', 'transactional_messages_per_second': 'transactionalMessagesPerSecond', 'transit_encryption_enabled': 'transitEncryptionEnabled', 'transit_gateway_attachment_id': 'transitGatewayAttachmentId', 'transit_gateway_default_route_table_association': 'transitGatewayDefaultRouteTableAssociation', 'transit_gateway_default_route_table_propagation': 'transitGatewayDefaultRouteTablePropagation', 'transit_gateway_id': 'transitGatewayId', 'transit_gateway_route_table_id': 'transitGatewayRouteTableId', 'transport_protocol': 'transportProtocol', 'treat_missing_data': 'treatMissingData', 'trigger_configurations': 'triggerConfigurations', 'trigger_types': 'triggerTypes', 'tunnel1_address': 'tunnel1Address', 'tunnel1_bgp_asn': 'tunnel1BgpAsn', 'tunnel1_bgp_holdtime': 'tunnel1BgpHoldtime', 'tunnel1_cgw_inside_address': 'tunnel1CgwInsideAddress', 'tunnel1_inside_cidr': 'tunnel1InsideCidr', 'tunnel1_preshared_key': 'tunnel1PresharedKey', 'tunnel1_vgw_inside_address': 'tunnel1VgwInsideAddress', 'tunnel2_address': 'tunnel2Address', 'tunnel2_bgp_asn': 'tunnel2BgpAsn', 'tunnel2_bgp_holdtime': 'tunnel2BgpHoldtime', 'tunnel2_cgw_inside_address': 'tunnel2CgwInsideAddress', 'tunnel2_inside_cidr': 'tunnel2InsideCidr', 'tunnel2_preshared_key': 'tunnel2PresharedKey', 'tunnel2_vgw_inside_address': 'tunnel2VgwInsideAddress', 'unique_id': 'uniqueId', 'url_path': 'urlPath', 'usage_plan_id': 'usagePlanId', 'usage_report_s3_bucket': 'usageReportS3Bucket', 'use_custom_cookbooks': 'useCustomCookbooks', 'use_ebs_optimized_instances': 'useEbsOptimizedInstances', 'use_opsworks_security_groups': 'useOpsworksSecurityGroups', 'user_arn': 'userArn', 'user_data': 'userData', 'user_data_base64': 'userDataBase64', 'user_name': 'userName', 'user_pool_add_ons': 'userPoolAddOns', 'user_pool_config': 'userPoolConfig', 'user_pool_id': 'userPoolId', 'user_role': 'userRole', 'user_volume_encryption_enabled': 'userVolumeEncryptionEnabled', 'username_attributes': 'usernameAttributes', 'username_configuration': 'usernameConfiguration', 'valid_from': 'validFrom', 'valid_to': 'validTo', 'valid_until': 'validUntil', 'valid_user_lists': 'validUserLists', 'validate_request_body': 'validateRequestBody', 'validate_request_parameters': 'validateRequestParameters', 'validation_emails': 'validationEmails', 'validation_method': 'validationMethod', 'validation_record_fqdns': 'validationRecordFqdns', 'vault_name': 'vaultName', 'verification_message_template': 'verificationMessageTemplate', 'verification_token': 'verificationToken', 'version_id': 'versionId', 'version_stages': 'versionStages', 'vgw_telemetries': 'vgwTelemetries', 'video_codec_options': 'videoCodecOptions', 'video_watermarks': 'videoWatermarks', 'view_expanded_text': 'viewExpandedText', 'view_original_text': 'viewOriginalText', 'viewer_certificate': 'viewerCertificate', 'virtual_interface_id': 'virtualInterfaceId', 'virtual_network_id': 'virtualNetworkId', 'virtual_router_name': 'virtualRouterName', 'virtualization_type': 'virtualizationType', 'visibility_timeout_seconds': 'visibilityTimeoutSeconds', 'visible_to_all_users': 'visibleToAllUsers', 'volume_arn': 'volumeArn', 'volume_encryption_key': 'volumeEncryptionKey', 'volume_id': 'volumeId', 'volume_size': 'volumeSize', 'volume_size_in_bytes': 'volumeSizeInBytes', 'volume_tags': 'volumeTags', 'vpc_classic_link_id': 'vpcClassicLinkId', 'vpc_classic_link_security_groups': 'vpcClassicLinkSecurityGroups', 'vpc_config': 'vpcConfig', 'vpc_configuration': 'vpcConfiguration', 'vpc_endpoint_id': 'vpcEndpointId', 'vpc_endpoint_service_id': 'vpcEndpointServiceId', 'vpc_endpoint_type': 'vpcEndpointType', 'vpc_id': 'vpcId', 'vpc_options': 'vpcOptions', 'vpc_owner_id': 'vpcOwnerId', 'vpc_peering_connection_id': 'vpcPeeringConnectionId', 'vpc_region': 'vpcRegion', 'vpc_security_group_ids': 'vpcSecurityGroupIds', 'vpc_settings': 'vpcSettings', 'vpc_zone_identifiers': 'vpcZoneIdentifiers', 'vpn_connection_id': 'vpnConnectionId', 'vpn_ecmp_support': 'vpnEcmpSupport', 'vpn_gateway_id': 'vpnGatewayId', 'wait_for_capacity_timeout': 'waitForCapacityTimeout', 'wait_for_deployment': 'waitForDeployment', 'wait_for_elb_capacity': 'waitForElbCapacity', 'wait_for_fulfillment': 'waitForFulfillment', 'wait_for_ready_timeout': 'waitForReadyTimeout', 'wait_for_steady_state': 'waitForSteadyState', 'web_acl_arn': 'webAclArn', 'web_acl_id': 'webAclId', 'website_ca_id': 'websiteCaId', 'website_domain': 'websiteDomain', 'website_endpoint': 'websiteEndpoint', 'website_redirect': 'websiteRedirect', 'weekly_maintenance_start_time': 'weeklyMaintenanceStartTime', 'weighted_routing_policies': 'weightedRoutingPolicies', 'window_id': 'windowId', 'worker_type': 'workerType', 'workflow_execution_retention_period_in_days': 'workflowExecutionRetentionPeriodInDays', 'workflow_name': 'workflowName', 'workmail_actions': 'workmailActions', 'workspace_properties': 'workspaceProperties', 'workspace_security_group_id': 'workspaceSecurityGroupId', 'write_attributes': 'writeAttributes', 'write_capacity': 'writeCapacity', 'xml_classifier': 'xmlClassifier', 'xray_enabled': 'xrayEnabled', 'xray_tracing_enabled': 'xrayTracingEnabled', 'xss_match_tuples': 'xssMatchTuples', 'zone_id': 'zoneId', 'zookeeper_connect_string': 'zookeeperConnectString'} _camel_to_snake_case_table = {'accelerationStatus': 'acceleration_status', 'acceleratorArn': 'accelerator_arn', 'acceptStatus': 'accept_status', 'acceptanceRequired': 'acceptance_required', 'accessLogSettings': 'access_log_settings', 'accessLogs': 'access_logs', 'accessPolicies': 'access_policies', 'accessPolicy': 'access_policy', 'accessUrl': 'access_url', 'accountAggregationSource': 'account_aggregation_source', 'accountAlias': 'account_alias', 'accountId': 'account_id', 'actionsEnabled': 'actions_enabled', 'activatedRules': 'activated_rules', 'activationCode': 'activation_code', 'activationKey': 'activation_key', 'activeDirectoryId': 'active_directory_id', 'activeTrustedSigners': 'active_trusted_signers', 'addHeaderActions': 'add_header_actions', 'additionalArtifacts': 'additional_artifacts', 'additionalAuthenticationProviders': 'additional_authentication_providers', 'additionalInfo': 'additional_info', 'additionalSchemaElements': 'additional_schema_elements', 'addressFamily': 'address_family', 'adjustmentType': 'adjustment_type', 'adminAccountId': 'admin_account_id', 'adminCreateUserConfig': 'admin_create_user_config', 'administrationRoleArn': 'administration_role_arn', 'advancedOptions': 'advanced_options', 'agentArns': 'agent_arns', 'agentVersion': 'agent_version', 'alarmActions': 'alarm_actions', 'alarmConfiguration': 'alarm_configuration', 'alarmDescription': 'alarm_description', 'albTargetGroupArn': 'alb_target_group_arn', 'aliasAttributes': 'alias_attributes', 'allSettings': 'all_settings', 'allocatedCapacity': 'allocated_capacity', 'allocatedMemory': 'allocated_memory', 'allocatedStorage': 'allocated_storage', 'allocationId': 'allocation_id', 'allocationStrategy': 'allocation_strategy', 'allowExternalPrincipals': 'allow_external_principals', 'allowMajorVersionUpgrade': 'allow_major_version_upgrade', 'allowOverwrite': 'allow_overwrite', 'allowReassociation': 'allow_reassociation', 'allowSelfManagement': 'allow_self_management', 'allowSsh': 'allow_ssh', 'allowSudo': 'allow_sudo', 'allowUnassociatedTargets': 'allow_unassociated_targets', 'allowUnauthenticatedIdentities': 'allow_unauthenticated_identities', 'allowUsersToChangePassword': 'allow_users_to_change_password', 'allowVersionUpgrade': 'allow_version_upgrade', 'allowedOauthFlows': 'allowed_oauth_flows', 'allowedOauthFlowsUserPoolClient': 'allowed_oauth_flows_user_pool_client', 'allowedOauthScopes': 'allowed_oauth_scopes', 'allowedPattern': 'allowed_pattern', 'allowedPrefixes': 'allowed_prefixes', 'allowedPrincipals': 'allowed_principals', 'amazonAddress': 'amazon_address', 'amazonSideAsn': 'amazon_side_asn', 'amiId': 'ami_id', 'amiType': 'ami_type', 'analyticsConfiguration': 'analytics_configuration', 'analyzerName': 'analyzer_name', 'apiEndpoint': 'api_endpoint', 'apiId': 'api_id', 'apiKey': 'api_key', 'apiKeyRequired': 'api_key_required', 'apiKeySelectionExpression': 'api_key_selection_expression', 'apiKeySource': 'api_key_source', 'apiMappingKey': 'api_mapping_key', 'apiMappingSelectionExpression': 'api_mapping_selection_expression', 'apiStages': 'api_stages', 'appName': 'app_name', 'appServer': 'app_server', 'appServerVersion': 'app_server_version', 'appSources': 'app_sources', 'applicationFailureFeedbackRoleArn': 'application_failure_feedback_role_arn', 'applicationId': 'application_id', 'applicationSuccessFeedbackRoleArn': 'application_success_feedback_role_arn', 'applicationSuccessFeedbackSampleRate': 'application_success_feedback_sample_rate', 'applyImmediately': 'apply_immediately', 'approvalRules': 'approval_rules', 'approvedPatches': 'approved_patches', 'approvedPatchesComplianceLevel': 'approved_patches_compliance_level', 'appversionLifecycle': 'appversion_lifecycle', 'arnSuffix': 'arn_suffix', 'artifactStore': 'artifact_store', 'assignGeneratedIpv6CidrBlock': 'assign_generated_ipv6_cidr_block', 'assignIpv6AddressOnCreation': 'assign_ipv6_address_on_creation', 'associatePublicIpAddress': 'associate_public_ip_address', 'associateWithPrivateIp': 'associate_with_private_ip', 'associatedGatewayId': 'associated_gateway_id', 'associatedGatewayOwnerAccountId': 'associated_gateway_owner_account_id', 'associatedGatewayType': 'associated_gateway_type', 'associationDefaultRouteTableId': 'association_default_route_table_id', 'associationId': 'association_id', 'associationName': 'association_name', 'assumeRolePolicy': 'assume_role_policy', 'atRestEncryptionEnabled': 'at_rest_encryption_enabled', 'attachmentId': 'attachment_id', 'attachmentsSources': 'attachments_sources', 'attributeMapping': 'attribute_mapping', 'audioCodecOptions': 'audio_codec_options', 'auditStreamArn': 'audit_stream_arn', 'authToken': 'auth_token', 'authType': 'auth_type', 'authenticationConfiguration': 'authentication_configuration', 'authenticationOptions': 'authentication_options', 'authenticationType': 'authentication_type', 'authorizationScopes': 'authorization_scopes', 'authorizationType': 'authorization_type', 'authorizerCredentials': 'authorizer_credentials', 'authorizerCredentialsArn': 'authorizer_credentials_arn', 'authorizerId': 'authorizer_id', 'authorizerResultTtlInSeconds': 'authorizer_result_ttl_in_seconds', 'authorizerType': 'authorizer_type', 'authorizerUri': 'authorizer_uri', 'autoAccept': 'auto_accept', 'autoAcceptSharedAttachments': 'auto_accept_shared_attachments', 'autoAssignElasticIps': 'auto_assign_elastic_ips', 'autoAssignPublicIps': 'auto_assign_public_ips', 'autoBundleOnDeploy': 'auto_bundle_on_deploy', 'autoDeploy': 'auto_deploy', 'autoDeployed': 'auto_deployed', 'autoEnable': 'auto_enable', 'autoHealing': 'auto_healing', 'autoMinorVersionUpgrade': 'auto_minor_version_upgrade', 'autoRollbackConfiguration': 'auto_rollback_configuration', 'autoScalingGroupProvider': 'auto_scaling_group_provider', 'autoScalingType': 'auto_scaling_type', 'autoVerifiedAttributes': 'auto_verified_attributes', 'automatedSnapshotRetentionPeriod': 'automated_snapshot_retention_period', 'automaticBackupRetentionDays': 'automatic_backup_retention_days', 'automaticFailoverEnabled': 'automatic_failover_enabled', 'automaticStopTimeMinutes': 'automatic_stop_time_minutes', 'automationTargetParameterName': 'automation_target_parameter_name', 'autoscalingGroupName': 'autoscaling_group_name', 'autoscalingGroups': 'autoscaling_groups', 'autoscalingPolicy': 'autoscaling_policy', 'autoscalingRole': 'autoscaling_role', 'availabilityZone': 'availability_zone', 'availabilityZoneId': 'availability_zone_id', 'availabilityZoneName': 'availability_zone_name', 'availabilityZones': 'availability_zones', 'awsAccountId': 'aws_account_id', 'awsDevice': 'aws_device', 'awsFlowRubySettings': 'aws_flow_ruby_settings', 'awsKmsKeyArn': 'aws_kms_key_arn', 'awsServiceAccessPrincipals': 'aws_service_access_principals', 'awsServiceName': 'aws_service_name', 'azMode': 'az_mode', 'backtrackWindow': 'backtrack_window', 'backupRetentionPeriod': 'backup_retention_period', 'backupWindow': 'backup_window', 'badgeEnabled': 'badge_enabled', 'badgeUrl': 'badge_url', 'baseEndpointDnsNames': 'base_endpoint_dns_names', 'basePath': 'base_path', 'baselineId': 'baseline_id', 'batchSize': 'batch_size', 'batchTarget': 'batch_target', 'behaviorOnMxFailure': 'behavior_on_mx_failure', 'berkshelfVersion': 'berkshelf_version', 'bgpAsn': 'bgp_asn', 'bgpAuthKey': 'bgp_auth_key', 'bgpPeerId': 'bgp_peer_id', 'bgpStatus': 'bgp_status', 'bidPrice': 'bid_price', 'billingMode': 'billing_mode', 'binaryMediaTypes': 'binary_media_types', 'bisectBatchOnFunctionError': 'bisect_batch_on_function_error', 'blockDeviceMappings': 'block_device_mappings', 'blockDurationMinutes': 'block_duration_minutes', 'blockPublicAcls': 'block_public_acls', 'blockPublicPolicy': 'block_public_policy', 'blueGreenDeploymentConfig': 'blue_green_deployment_config', 'blueprintId': 'blueprint_id', 'bootstrapActions': 'bootstrap_actions', 'bootstrapBrokers': 'bootstrap_brokers', 'bootstrapBrokersTls': 'bootstrap_brokers_tls', 'bounceActions': 'bounce_actions', 'branchFilter': 'branch_filter', 'brokerName': 'broker_name', 'brokerNodeGroupInfo': 'broker_node_group_info', 'bucketDomainName': 'bucket_domain_name', 'bucketName': 'bucket_name', 'bucketPrefix': 'bucket_prefix', 'bucketRegionalDomainName': 'bucket_regional_domain_name', 'budgetType': 'budget_type', 'buildId': 'build_id', 'buildTimeout': 'build_timeout', 'bundleId': 'bundle_id', 'bundlerVersion': 'bundler_version', 'byteMatchTuples': 'byte_match_tuples', 'caCertIdentifier': 'ca_cert_identifier', 'cacheClusterEnabled': 'cache_cluster_enabled', 'cacheClusterSize': 'cache_cluster_size', 'cacheControl': 'cache_control', 'cacheKeyParameters': 'cache_key_parameters', 'cacheNamespace': 'cache_namespace', 'cacheNodes': 'cache_nodes', 'cachingConfig': 'caching_config', 'callbackUrls': 'callback_urls', 'callerReference': 'caller_reference', 'campaignHook': 'campaign_hook', 'capacityProviderStrategies': 'capacity_provider_strategies', 'capacityProviders': 'capacity_providers', 'capacityReservationSpecification': 'capacity_reservation_specification', 'catalogId': 'catalog_id', 'catalogTargets': 'catalog_targets', 'cdcStartTime': 'cdc_start_time', 'certificateArn': 'certificate_arn', 'certificateAuthority': 'certificate_authority', 'certificateAuthorityArn': 'certificate_authority_arn', 'certificateAuthorityConfiguration': 'certificate_authority_configuration', 'certificateBody': 'certificate_body', 'certificateChain': 'certificate_chain', 'certificateId': 'certificate_id', 'certificateName': 'certificate_name', 'certificatePem': 'certificate_pem', 'certificatePrivateKey': 'certificate_private_key', 'certificateSigningRequest': 'certificate_signing_request', 'certificateUploadDate': 'certificate_upload_date', 'certificateWallet': 'certificate_wallet', 'channelId': 'channel_id', 'chapEnabled': 'chap_enabled', 'characterSetName': 'character_set_name', 'childHealthThreshold': 'child_health_threshold', 'childHealthchecks': 'child_healthchecks', 'cidrBlock': 'cidr_block', 'cidrBlocks': 'cidr_blocks', 'ciphertextBlob': 'ciphertext_blob', 'classificationType': 'classification_type', 'clientAffinity': 'client_affinity', 'clientAuthentication': 'client_authentication', 'clientCertificateId': 'client_certificate_id', 'clientCidrBlock': 'client_cidr_block', 'clientId': 'client_id', 'clientIdLists': 'client_id_lists', 'clientLists': 'client_lists', 'clientSecret': 'client_secret', 'clientToken': 'client_token', 'clientVpnEndpointId': 'client_vpn_endpoint_id', 'cloneUrlHttp': 'clone_url_http', 'cloneUrlSsh': 'clone_url_ssh', 'cloudWatchLogsGroupArn': 'cloud_watch_logs_group_arn', 'cloudWatchLogsRoleArn': 'cloud_watch_logs_role_arn', 'cloudfrontAccessIdentityPath': 'cloudfront_access_identity_path', 'cloudfrontDistributionArn': 'cloudfront_distribution_arn', 'cloudfrontDomainName': 'cloudfront_domain_name', 'cloudfrontZoneId': 'cloudfront_zone_id', 'cloudwatchAlarm': 'cloudwatch_alarm', 'cloudwatchAlarmName': 'cloudwatch_alarm_name', 'cloudwatchAlarmRegion': 'cloudwatch_alarm_region', 'cloudwatchDestinations': 'cloudwatch_destinations', 'cloudwatchLogGroupArn': 'cloudwatch_log_group_arn', 'cloudwatchLoggingOptions': 'cloudwatch_logging_options', 'cloudwatchMetric': 'cloudwatch_metric', 'cloudwatchRoleArn': 'cloudwatch_role_arn', 'clusterAddress': 'cluster_address', 'clusterCertificates': 'cluster_certificates', 'clusterConfig': 'cluster_config', 'clusterEndpointIdentifier': 'cluster_endpoint_identifier', 'clusterId': 'cluster_id', 'clusterIdentifier': 'cluster_identifier', 'clusterIdentifierPrefix': 'cluster_identifier_prefix', 'clusterMembers': 'cluster_members', 'clusterMode': 'cluster_mode', 'clusterName': 'cluster_name', 'clusterParameterGroupName': 'cluster_parameter_group_name', 'clusterPublicKey': 'cluster_public_key', 'clusterResourceId': 'cluster_resource_id', 'clusterRevisionNumber': 'cluster_revision_number', 'clusterSecurityGroups': 'cluster_security_groups', 'clusterState': 'cluster_state', 'clusterSubnetGroupName': 'cluster_subnet_group_name', 'clusterType': 'cluster_type', 'clusterVersion': 'cluster_version', 'cnamePrefix': 'cname_prefix', 'cognitoIdentityProviders': 'cognito_identity_providers', 'cognitoOptions': 'cognito_options', 'companyCode': 'company_code', 'comparisonOperator': 'comparison_operator', 'compatibleRuntimes': 'compatible_runtimes', 'completeLock': 'complete_lock', 'complianceSeverity': 'compliance_severity', 'computeEnvironmentName': 'compute_environment_name', 'computeEnvironmentNamePrefix': 'compute_environment_name_prefix', 'computeEnvironments': 'compute_environments', 'computePlatform': 'compute_platform', 'computeResources': 'compute_resources', 'computerName': 'computer_name', 'configurationEndpoint': 'configuration_endpoint', 'configurationEndpointAddress': 'configuration_endpoint_address', 'configurationId': 'configuration_id', 'configurationInfo': 'configuration_info', 'configurationManagerName': 'configuration_manager_name', 'configurationManagerVersion': 'configuration_manager_version', 'configurationSetName': 'configuration_set_name', 'configurationsJson': 'configurations_json', 'confirmationTimeoutInMinutes': 'confirmation_timeout_in_minutes', 'connectSettings': 'connect_settings', 'connectionDraining': 'connection_draining', 'connectionDrainingTimeout': 'connection_draining_timeout', 'connectionEvents': 'connection_events', 'connectionId': 'connection_id', 'connectionLogOptions': 'connection_log_options', 'connectionNotificationArn': 'connection_notification_arn', 'connectionProperties': 'connection_properties', 'connectionType': 'connection_type', 'connectionsBandwidth': 'connections_bandwidth', 'containerDefinitions': 'container_definitions', 'containerName': 'container_name', 'containerProperties': 'container_properties', 'contentBase64': 'content_base64', 'contentBasedDeduplication': 'content_based_deduplication', 'contentConfig': 'content_config', 'contentConfigPermissions': 'content_config_permissions', 'contentDisposition': 'content_disposition', 'contentEncoding': 'content_encoding', 'contentHandling': 'content_handling', 'contentHandlingStrategy': 'content_handling_strategy', 'contentLanguage': 'content_language', 'contentType': 'content_type', 'cookieExpirationPeriod': 'cookie_expiration_period', 'cookieName': 'cookie_name', 'copyTagsToBackups': 'copy_tags_to_backups', 'copyTagsToSnapshot': 'copy_tags_to_snapshot', 'coreInstanceCount': 'core_instance_count', 'coreInstanceGroup': 'core_instance_group', 'coreInstanceType': 'core_instance_type', 'corsConfiguration': 'cors_configuration', 'corsRules': 'cors_rules', 'costFilters': 'cost_filters', 'costTypes': 'cost_types', 'cpuCoreCount': 'cpu_core_count', 'cpuCount': 'cpu_count', 'cpuOptions': 'cpu_options', 'cpuThreadsPerCore': 'cpu_threads_per_core', 'createDate': 'create_date', 'createTimestamp': 'create_timestamp', 'createdAt': 'created_at', 'createdDate': 'created_date', 'createdTime': 'created_time', 'creationDate': 'creation_date', 'creationTime': 'creation_time', 'creationToken': 'creation_token', 'credentialDuration': 'credential_duration', 'credentialsArn': 'credentials_arn', 'creditSpecification': 'credit_specification', 'crossZoneLoadBalancing': 'cross_zone_load_balancing', 'csvClassifier': 'csv_classifier', 'currentVersion': 'current_version', 'customAmiId': 'custom_ami_id', 'customConfigureRecipes': 'custom_configure_recipes', 'customCookbooksSources': 'custom_cookbooks_sources', 'customDeployRecipes': 'custom_deploy_recipes', 'customEndpointType': 'custom_endpoint_type', 'customErrorResponses': 'custom_error_responses', 'customInstanceProfileArn': 'custom_instance_profile_arn', 'customJson': 'custom_json', 'customSecurityGroupIds': 'custom_security_group_ids', 'customSetupRecipes': 'custom_setup_recipes', 'customShutdownRecipes': 'custom_shutdown_recipes', 'customSuffix': 'custom_suffix', 'customUndeployRecipes': 'custom_undeploy_recipes', 'customerAddress': 'customer_address', 'customerAwsId': 'customer_aws_id', 'customerGatewayConfiguration': 'customer_gateway_configuration', 'customerGatewayId': 'customer_gateway_id', 'customerMasterKeySpec': 'customer_master_key_spec', 'customerOwnedIp': 'customer_owned_ip', 'customerOwnedIpv4Pool': 'customer_owned_ipv4_pool', 'customerUserName': 'customer_user_name', 'dailyAutomaticBackupStartTime': 'daily_automatic_backup_start_time', 'dashboardArn': 'dashboard_arn', 'dashboardBody': 'dashboard_body', 'dashboardName': 'dashboard_name', 'dataEncryptionKeyId': 'data_encryption_key_id', 'dataRetentionInHours': 'data_retention_in_hours', 'dataSource': 'data_source', 'dataSourceArn': 'data_source_arn', 'dataSourceDatabaseName': 'data_source_database_name', 'dataSourceType': 'data_source_type', 'databaseName': 'database_name', 'datapointsToAlarm': 'datapoints_to_alarm', 'dbClusterIdentifier': 'db_cluster_identifier', 'dbClusterParameterGroupName': 'db_cluster_parameter_group_name', 'dbClusterSnapshotArn': 'db_cluster_snapshot_arn', 'dbClusterSnapshotIdentifier': 'db_cluster_snapshot_identifier', 'dbInstanceIdentifier': 'db_instance_identifier', 'dbParameterGroupName': 'db_parameter_group_name', 'dbPassword': 'db_password', 'dbSnapshotArn': 'db_snapshot_arn', 'dbSnapshotIdentifier': 'db_snapshot_identifier', 'dbSubnetGroupName': 'db_subnet_group_name', 'dbUser': 'db_user', 'dbiResourceId': 'dbi_resource_id', 'deadLetterConfig': 'dead_letter_config', 'defaultAction': 'default_action', 'defaultActions': 'default_actions', 'defaultArguments': 'default_arguments', 'defaultAssociationRouteTable': 'default_association_route_table', 'defaultAuthenticationMethod': 'default_authentication_method', 'defaultAvailabilityZone': 'default_availability_zone', 'defaultBranch': 'default_branch', 'defaultCacheBehavior': 'default_cache_behavior', 'defaultCapacityProviderStrategies': 'default_capacity_provider_strategies', 'defaultClientId': 'default_client_id', 'defaultCooldown': 'default_cooldown', 'defaultInstanceProfileArn': 'default_instance_profile_arn', 'defaultNetworkAclId': 'default_network_acl_id', 'defaultOs': 'default_os', 'defaultPropagationRouteTable': 'default_propagation_route_table', 'defaultRedirectUri': 'default_redirect_uri', 'defaultResult': 'default_result', 'defaultRootDeviceType': 'default_root_device_type', 'defaultRootObject': 'default_root_object', 'defaultRouteSettings': 'default_route_settings', 'defaultRouteTableAssociation': 'default_route_table_association', 'defaultRouteTableId': 'default_route_table_id', 'defaultRouteTablePropagation': 'default_route_table_propagation', 'defaultRunProperties': 'default_run_properties', 'defaultSecurityGroupId': 'default_security_group_id', 'defaultSenderId': 'default_sender_id', 'defaultSmsType': 'default_sms_type', 'defaultSshKeyName': 'default_ssh_key_name', 'defaultStorageClass': 'default_storage_class', 'defaultSubnetId': 'default_subnet_id', 'defaultValue': 'default_value', 'defaultVersion': 'default_version', 'defaultVersionId': 'default_version_id', 'delaySeconds': 'delay_seconds', 'delegationSetId': 'delegation_set_id', 'deleteAutomatedBackups': 'delete_automated_backups', 'deleteEbs': 'delete_ebs', 'deleteEip': 'delete_eip', 'deletionProtection': 'deletion_protection', 'deletionWindowInDays': 'deletion_window_in_days', 'deliveryPolicy': 'delivery_policy', 'deliveryStatusIamRoleArn': 'delivery_status_iam_role_arn', 'deliveryStatusSuccessSamplingRate': 'delivery_status_success_sampling_rate', 'deploymentConfigId': 'deployment_config_id', 'deploymentConfigName': 'deployment_config_name', 'deploymentController': 'deployment_controller', 'deploymentGroupName': 'deployment_group_name', 'deploymentId': 'deployment_id', 'deploymentMaximumPercent': 'deployment_maximum_percent', 'deploymentMinimumHealthyPercent': 'deployment_minimum_healthy_percent', 'deploymentMode': 'deployment_mode', 'deploymentStyle': 'deployment_style', 'deregistrationDelay': 'deregistration_delay', 'desiredCapacity': 'desired_capacity', 'desiredCount': 'desired_count', 'destinationArn': 'destination_arn', 'destinationCidrBlock': 'destination_cidr_block', 'destinationConfig': 'destination_config', 'destinationId': 'destination_id', 'destinationIpv6CidrBlock': 'destination_ipv6_cidr_block', 'destinationLocationArn': 'destination_location_arn', 'destinationName': 'destination_name', 'destinationPortRange': 'destination_port_range', 'destinationPrefixListId': 'destination_prefix_list_id', 'destinationStreamArn': 'destination_stream_arn', 'detailType': 'detail_type', 'detectorId': 'detector_id', 'developerProviderName': 'developer_provider_name', 'deviceCaCertificate': 'device_ca_certificate', 'deviceConfiguration': 'device_configuration', 'deviceIndex': 'device_index', 'deviceName': 'device_name', 'dhcpOptionsId': 'dhcp_options_id', 'directInternetAccess': 'direct_internet_access', 'directoryId': 'directory_id', 'directoryName': 'directory_name', 'directoryType': 'directory_type', 'disableApiTermination': 'disable_api_termination', 'disableEmailNotification': 'disable_email_notification', 'disableRollback': 'disable_rollback', 'diskId': 'disk_id', 'diskSize': 'disk_size', 'displayName': 'display_name', 'dkimTokens': 'dkim_tokens', 'dnsConfig': 'dns_config', 'dnsEntries': 'dns_entries', 'dnsIpAddresses': 'dns_ip_addresses', 'dnsIps': 'dns_ips', 'dnsName': 'dns_name', 'dnsServers': 'dns_servers', 'dnsSupport': 'dns_support', 'documentFormat': 'document_format', 'documentRoot': 'document_root', 'documentType': 'document_type', 'documentVersion': 'document_version', 'documentationVersion': 'documentation_version', 'domainEndpointOptions': 'domain_endpoint_options', 'domainIamRoleName': 'domain_iam_role_name', 'domainId': 'domain_id', 'domainName': 'domain_name', 'domainNameConfiguration': 'domain_name_configuration', 'domainNameServers': 'domain_name_servers', 'domainValidationOptions': 'domain_validation_options', 'drainElbOnShutdown': 'drain_elb_on_shutdown', 'dropInvalidHeaderFields': 'drop_invalid_header_fields', 'dxGatewayAssociationId': 'dx_gateway_association_id', 'dxGatewayId': 'dx_gateway_id', 'dxGatewayOwnerAccountId': 'dx_gateway_owner_account_id', 'dynamodbConfig': 'dynamodb_config', 'dynamodbTargets': 'dynamodb_targets', 'ebsBlockDevices': 'ebs_block_devices', 'ebsConfigs': 'ebs_configs', 'ebsOptimized': 'ebs_optimized', 'ebsOptions': 'ebs_options', 'ebsRootVolumeSize': 'ebs_root_volume_size', 'ebsVolumes': 'ebs_volumes', 'ec2Attributes': 'ec2_attributes', 'ec2Config': 'ec2_config', 'ec2InboundPermissions': 'ec2_inbound_permissions', 'ec2InstanceId': 'ec2_instance_id', 'ec2InstanceType': 'ec2_instance_type', 'ec2TagFilters': 'ec2_tag_filters', 'ec2TagSets': 'ec2_tag_sets', 'ecsClusterArn': 'ecs_cluster_arn', 'ecsService': 'ecs_service', 'ecsTarget': 'ecs_target', 'efsFileSystemArn': 'efs_file_system_arn', 'egressOnlyGatewayId': 'egress_only_gateway_id', 'elasticGpuSpecifications': 'elastic_gpu_specifications', 'elasticInferenceAccelerator': 'elastic_inference_accelerator', 'elasticIp': 'elastic_ip', 'elasticLoadBalancer': 'elastic_load_balancer', 'elasticsearchConfig': 'elasticsearch_config', 'elasticsearchConfiguration': 'elasticsearch_configuration', 'elasticsearchSettings': 'elasticsearch_settings', 'elasticsearchVersion': 'elasticsearch_version', 'emailConfiguration': 'email_configuration', 'emailVerificationMessage': 'email_verification_message', 'emailVerificationSubject': 'email_verification_subject', 'enaSupport': 'ena_support', 'enableClassiclink': 'enable_classiclink', 'enableClassiclinkDnsSupport': 'enable_classiclink_dns_support', 'enableCloudwatchLogsExports': 'enable_cloudwatch_logs_exports', 'enableCrossZoneLoadBalancing': 'enable_cross_zone_load_balancing', 'enableDeletionProtection': 'enable_deletion_protection', 'enableDnsHostnames': 'enable_dns_hostnames', 'enableDnsSupport': 'enable_dns_support', 'enableEcsManagedTags': 'enable_ecs_managed_tags', 'enableHttp2': 'enable_http2', 'enableHttpEndpoint': 'enable_http_endpoint', 'enableKeyRotation': 'enable_key_rotation', 'enableLogFileValidation': 'enable_log_file_validation', 'enableLogging': 'enable_logging', 'enableMonitoring': 'enable_monitoring', 'enableNetworkIsolation': 'enable_network_isolation', 'enableSni': 'enable_sni', 'enableSsl': 'enable_ssl', 'enableSso': 'enable_sso', 'enabledCloudwatchLogsExports': 'enabled_cloudwatch_logs_exports', 'enabledClusterLogTypes': 'enabled_cluster_log_types', 'enabledMetrics': 'enabled_metrics', 'enabledPolicyTypes': 'enabled_policy_types', 'encodedKey': 'encoded_key', 'encryptAtRest': 'encrypt_at_rest', 'encryptedFingerprint': 'encrypted_fingerprint', 'encryptedPassword': 'encrypted_password', 'encryptedPrivateKey': 'encrypted_private_key', 'encryptedSecret': 'encrypted_secret', 'encryptionConfig': 'encryption_config', 'encryptionConfiguration': 'encryption_configuration', 'encryptionInfo': 'encryption_info', 'encryptionKey': 'encryption_key', 'encryptionOptions': 'encryption_options', 'encryptionType': 'encryption_type', 'endDate': 'end_date', 'endDateType': 'end_date_type', 'endTime': 'end_time', 'endpointArn': 'endpoint_arn', 'endpointAutoConfirms': 'endpoint_auto_confirms', 'endpointConfigName': 'endpoint_config_name', 'endpointConfiguration': 'endpoint_configuration', 'endpointConfigurations': 'endpoint_configurations', 'endpointDetails': 'endpoint_details', 'endpointGroupRegion': 'endpoint_group_region', 'endpointId': 'endpoint_id', 'endpointType': 'endpoint_type', 'endpointUrl': 'endpoint_url', 'enforceConsumerDeletion': 'enforce_consumer_deletion', 'engineMode': 'engine_mode', 'engineName': 'engine_name', 'engineType': 'engine_type', 'engineVersion': 'engine_version', 'enhancedMonitoring': 'enhanced_monitoring', 'enhancedVpcRouting': 'enhanced_vpc_routing', 'eniId': 'eni_id', 'environmentId': 'environment_id', 'ephemeralBlockDevices': 'ephemeral_block_devices', 'ephemeralStorage': 'ephemeral_storage', 'estimatedInstanceWarmup': 'estimated_instance_warmup', 'evaluateLowSampleCountPercentiles': 'evaluate_low_sample_count_percentiles', 'evaluationPeriods': 'evaluation_periods', 'eventCategories': 'event_categories', 'eventDeliveryFailureTopicArn': 'event_delivery_failure_topic_arn', 'eventEndpointCreatedTopicArn': 'event_endpoint_created_topic_arn', 'eventEndpointDeletedTopicArn': 'event_endpoint_deleted_topic_arn', 'eventEndpointUpdatedTopicArn': 'event_endpoint_updated_topic_arn', 'eventPattern': 'event_pattern', 'eventSelectors': 'event_selectors', 'eventSourceArn': 'event_source_arn', 'eventSourceToken': 'event_source_token', 'eventTypeIds': 'event_type_ids', 'excessCapacityTerminationPolicy': 'excess_capacity_termination_policy', 'excludedAccounts': 'excluded_accounts', 'excludedMembers': 'excluded_members', 'executionArn': 'execution_arn', 'executionProperty': 'execution_property', 'executionRoleArn': 'execution_role_arn', 'executionRoleName': 'execution_role_name', 'expirationDate': 'expiration_date', 'expirationModel': 'expiration_model', 'expirePasswords': 'expire_passwords', 'explicitAuthFlows': 'explicit_auth_flows', 'exportPath': 'export_path', 'extendedS3Configuration': 'extended_s3_configuration', 'extendedStatistic': 'extended_statistic', 'extraConnectionAttributes': 'extra_connection_attributes', 'failoverRoutingPolicies': 'failover_routing_policies', 'failureFeedbackRoleArn': 'failure_feedback_role_arn', 'failureThreshold': 'failure_threshold', 'fargateProfileName': 'fargate_profile_name', 'featureName': 'feature_name', 'featureSet': 'feature_set', 'fifoQueue': 'fifo_queue', 'fileSystemArn': 'file_system_arn', 'fileSystemConfig': 'file_system_config', 'fileSystemId': 'file_system_id', 'fileshareId': 'fileshare_id', 'filterGroups': 'filter_groups', 'filterPattern': 'filter_pattern', 'filterPolicy': 'filter_policy', 'finalSnapshotIdentifier': 'final_snapshot_identifier', 'findingPublishingFrequency': 'finding_publishing_frequency', 'fixedRate': 'fixed_rate', 'fleetArn': 'fleet_arn', 'fleetType': 'fleet_type', 'forceDelete': 'force_delete', 'forceDestroy': 'force_destroy', 'forceDetach': 'force_detach', 'forceDetachPolicies': 'force_detach_policies', 'forceNewDeployment': 'force_new_deployment', 'forceUpdateVersion': 'force_update_version', 'fromAddress': 'from_address', 'fromPort': 'from_port', 'functionArn': 'function_arn', 'functionId': 'function_id', 'functionName': 'function_name', 'functionVersion': 'function_version', 'gatewayArn': 'gateway_arn', 'gatewayId': 'gateway_id', 'gatewayIpAddress': 'gateway_ip_address', 'gatewayName': 'gateway_name', 'gatewayTimezone': 'gateway_timezone', 'gatewayType': 'gateway_type', 'gatewayVpcEndpoint': 'gateway_vpc_endpoint', 'generateSecret': 'generate_secret', 'geoMatchConstraints': 'geo_match_constraints', 'geolocationRoutingPolicies': 'geolocation_routing_policies', 'getPasswordData': 'get_password_data', 'globalClusterIdentifier': 'global_cluster_identifier', 'globalClusterResourceId': 'global_cluster_resource_id', 'globalFilters': 'global_filters', 'globalSecondaryIndexes': 'global_secondary_indexes', 'glueVersion': 'glue_version', 'grantCreationTokens': 'grant_creation_tokens', 'grantId': 'grant_id', 'grantToken': 'grant_token', 'granteePrincipal': 'grantee_principal', 'grokClassifier': 'grok_classifier', 'groupName': 'group_name', 'groupNames': 'group_names', 'guessMimeTypeEnabled': 'guess_mime_type_enabled', 'hardExpiry': 'hard_expiry', 'hasLogicalRedundancy': 'has_logical_redundancy', 'hasPublicAccessPolicy': 'has_public_access_policy', 'hashKey': 'hash_key', 'hashType': 'hash_type', 'healthCheck': 'health_check', 'healthCheckConfig': 'health_check_config', 'healthCheckCustomConfig': 'health_check_custom_config', 'healthCheckGracePeriod': 'health_check_grace_period', 'healthCheckGracePeriodSeconds': 'health_check_grace_period_seconds', 'healthCheckId': 'health_check_id', 'healthCheckIntervalSeconds': 'health_check_interval_seconds', 'healthCheckPath': 'health_check_path', 'healthCheckPort': 'health_check_port', 'healthCheckProtocol': 'health_check_protocol', 'healthCheckType': 'health_check_type', 'healthcheckMethod': 'healthcheck_method', 'healthcheckUrl': 'healthcheck_url', 'heartbeatTimeout': 'heartbeat_timeout', 'hibernationOptions': 'hibernation_options', 'hlsIngests': 'hls_ingests', 'homeDirectory': 'home_directory', 'homeRegion': 'home_region', 'hostId': 'host_id', 'hostInstanceType': 'host_instance_type', 'hostKey': 'host_key', 'hostKeyFingerprint': 'host_key_fingerprint', 'hostVpcId': 'host_vpc_id', 'hostedZone': 'hosted_zone', 'hostedZoneId': 'hosted_zone_id', 'hostnameTheme': 'hostname_theme', 'hsmEniId': 'hsm_eni_id', 'hsmId': 'hsm_id', 'hsmState': 'hsm_state', 'hsmType': 'hsm_type', 'httpConfig': 'http_config', 'httpFailureFeedbackRoleArn': 'http_failure_feedback_role_arn', 'httpMethod': 'http_method', 'httpSuccessFeedbackRoleArn': 'http_success_feedback_role_arn', 'httpSuccessFeedbackSampleRate': 'http_success_feedback_sample_rate', 'httpVersion': 'http_version', 'iamArn': 'iam_arn', 'iamDatabaseAuthenticationEnabled': 'iam_database_authentication_enabled', 'iamFleetRole': 'iam_fleet_role', 'iamInstanceProfile': 'iam_instance_profile', 'iamRole': 'iam_role', 'iamRoleArn': 'iam_role_arn', 'iamRoleId': 'iam_role_id', 'iamRoles': 'iam_roles', 'iamUserAccessToBilling': 'iam_user_access_to_billing', 'icmpCode': 'icmp_code', 'icmpType': 'icmp_type', 'identifierPrefix': 'identifier_prefix', 'identityPoolId': 'identity_pool_id', 'identityPoolName': 'identity_pool_name', 'identityProvider': 'identity_provider', 'identityProviderType': 'identity_provider_type', 'identitySource': 'identity_source', 'identitySources': 'identity_sources', 'identityType': 'identity_type', 'identityValidationExpression': 'identity_validation_expression', 'idleTimeout': 'idle_timeout', 'idpIdentifiers': 'idp_identifiers', 'ignoreDeletionError': 'ignore_deletion_error', 'ignorePublicAcls': 'ignore_public_acls', 'imageId': 'image_id', 'imageLocation': 'image_location', 'imageScanningConfiguration': 'image_scanning_configuration', 'imageTagMutability': 'image_tag_mutability', 'importPath': 'import_path', 'importedFileChunkSize': 'imported_file_chunk_size', 'inProgressValidationBatches': 'in_progress_validation_batches', 'includeGlobalServiceEvents': 'include_global_service_events', 'includeOriginalHeaders': 'include_original_headers', 'includedObjectVersions': 'included_object_versions', 'inferenceAccelerators': 'inference_accelerators', 'infrastructureClass': 'infrastructure_class', 'initialLifecycleHooks': 'initial_lifecycle_hooks', 'inputBucket': 'input_bucket', 'inputParameters': 'input_parameters', 'inputPath': 'input_path', 'inputTransformer': 'input_transformer', 'installUpdatesOnBoot': 'install_updates_on_boot', 'instanceClass': 'instance_class', 'instanceCount': 'instance_count', 'instanceGroups': 'instance_groups', 'instanceId': 'instance_id', 'instanceInitiatedShutdownBehavior': 'instance_initiated_shutdown_behavior', 'instanceInterruptionBehaviour': 'instance_interruption_behaviour', 'instanceMarketOptions': 'instance_market_options', 'instanceMatchCriteria': 'instance_match_criteria', 'instanceName': 'instance_name', 'instanceOwnerId': 'instance_owner_id', 'instancePlatform': 'instance_platform', 'instancePoolsToUseCount': 'instance_pools_to_use_count', 'instancePort': 'instance_port', 'instancePorts': 'instance_ports', 'instanceProfileArn': 'instance_profile_arn', 'instanceRoleArn': 'instance_role_arn', 'instanceShutdownTimeout': 'instance_shutdown_timeout', 'instanceState': 'instance_state', 'instanceTenancy': 'instance_tenancy', 'instanceType': 'instance_type', 'instanceTypes': 'instance_types', 'insufficientDataActions': 'insufficient_data_actions', 'insufficientDataHealthStatus': 'insufficient_data_health_status', 'integrationHttpMethod': 'integration_http_method', 'integrationId': 'integration_id', 'integrationMethod': 'integration_method', 'integrationResponseKey': 'integration_response_key', 'integrationResponseSelectionExpression': 'integration_response_selection_expression', 'integrationType': 'integration_type', 'integrationUri': 'integration_uri', 'invalidUserLists': 'invalid_user_lists', 'invertHealthcheck': 'invert_healthcheck', 'invitationArn': 'invitation_arn', 'invitationMessage': 'invitation_message', 'invocationRole': 'invocation_role', 'invokeArn': 'invoke_arn', 'invokeUrl': 'invoke_url', 'iotAnalytics': 'iot_analytics', 'iotEvents': 'iot_events', 'ipAddress': 'ip_address', 'ipAddressType': 'ip_address_type', 'ipAddressVersion': 'ip_address_version', 'ipAddresses': 'ip_addresses', 'ipGroupIds': 'ip_group_ids', 'ipSetDescriptors': 'ip_set_descriptors', 'ipSets': 'ip_sets', 'ipcMode': 'ipc_mode', 'ipv6Address': 'ipv6_address', 'ipv6AddressCount': 'ipv6_address_count', 'ipv6Addresses': 'ipv6_addresses', 'ipv6AssociationId': 'ipv6_association_id', 'ipv6CidrBlock': 'ipv6_cidr_block', 'ipv6CidrBlockAssociationId': 'ipv6_cidr_block_association_id', 'ipv6CidrBlocks': 'ipv6_cidr_blocks', 'ipv6Support': 'ipv6_support', 'isEnabled': 'is_enabled', 'isIpv6Enabled': 'is_ipv6_enabled', 'isMultiRegionTrail': 'is_multi_region_trail', 'isOrganizationTrail': 'is_organization_trail', 'isStaticIp': 'is_static_ip', 'jdbcTargets': 'jdbc_targets', 'joinedMethod': 'joined_method', 'joinedTimestamp': 'joined_timestamp', 'jsonClassifier': 'json_classifier', 'jumboFrameCapable': 'jumbo_frame_capable', 'jvmOptions': 'jvm_options', 'jvmType': 'jvm_type', 'jvmVersion': 'jvm_version', 'jwtConfiguration': 'jwt_configuration', 'kafkaSettings': 'kafka_settings', 'kafkaVersion': 'kafka_version', 'kafkaVersions': 'kafka_versions', 'keepJobFlowAliveWhenNoSteps': 'keep_job_flow_alive_when_no_steps', 'kerberosAttributes': 'kerberos_attributes', 'kernelId': 'kernel_id', 'keyArn': 'key_arn', 'keyFingerprint': 'key_fingerprint', 'keyId': 'key_id', 'keyMaterialBase64': 'key_material_base64', 'keyName': 'key_name', 'keyNamePrefix': 'key_name_prefix', 'keyPairId': 'key_pair_id', 'keyPairName': 'key_pair_name', 'keyState': 'key_state', 'keyType': 'key_type', 'keyUsage': 'key_usage', 'kibanaEndpoint': 'kibana_endpoint', 'kinesisDestination': 'kinesis_destination', 'kinesisSettings': 'kinesis_settings', 'kinesisSourceConfiguration': 'kinesis_source_configuration', 'kinesisTarget': 'kinesis_target', 'kmsDataKeyReusePeriodSeconds': 'kms_data_key_reuse_period_seconds', 'kmsEncrypted': 'kms_encrypted', 'kmsKeyArn': 'kms_key_arn', 'kmsKeyId': 'kms_key_id', 'kmsMasterKeyId': 'kms_master_key_id', 'lagId': 'lag_id', 'lambda': 'lambda_', 'lambdaActions': 'lambda_actions', 'lambdaConfig': 'lambda_config', 'lambdaFailureFeedbackRoleArn': 'lambda_failure_feedback_role_arn', 'lambdaFunctionArn': 'lambda_function_arn', 'lambdaFunctions': 'lambda_functions', 'lambdaMultiValueHeadersEnabled': 'lambda_multi_value_headers_enabled', 'lambdaSuccessFeedbackRoleArn': 'lambda_success_feedback_role_arn', 'lambdaSuccessFeedbackSampleRate': 'lambda_success_feedback_sample_rate', 'lastModified': 'last_modified', 'lastModifiedDate': 'last_modified_date', 'lastModifiedTime': 'last_modified_time', 'lastProcessingResult': 'last_processing_result', 'lastServiceErrorId': 'last_service_error_id', 'lastUpdateTimestamp': 'last_update_timestamp', 'lastUpdatedDate': 'last_updated_date', 'lastUpdatedTime': 'last_updated_time', 'latencyRoutingPolicies': 'latency_routing_policies', 'latestRevision': 'latest_revision', 'latestVersion': 'latest_version', 'launchConfiguration': 'launch_configuration', 'launchConfigurations': 'launch_configurations', 'launchGroup': 'launch_group', 'launchSpecifications': 'launch_specifications', 'launchTemplate': 'launch_template', 'launchTemplateConfig': 'launch_template_config', 'launchTemplateConfigs': 'launch_template_configs', 'launchType': 'launch_type', 'layerArn': 'layer_arn', 'layerIds': 'layer_ids', 'layerName': 'layer_name', 'lbPort': 'lb_port', 'licenseConfigurationArn': 'license_configuration_arn', 'licenseCount': 'license_count', 'licenseCountHardLimit': 'license_count_hard_limit', 'licenseCountingType': 'license_counting_type', 'licenseInfo': 'license_info', 'licenseModel': 'license_model', 'licenseRules': 'license_rules', 'licenseSpecifications': 'license_specifications', 'lifecycleConfigName': 'lifecycle_config_name', 'lifecyclePolicy': 'lifecycle_policy', 'lifecycleRules': 'lifecycle_rules', 'lifecycleTransition': 'lifecycle_transition', 'limitAmount': 'limit_amount', 'limitUnit': 'limit_unit', 'listenerArn': 'listener_arn', 'loadBalancer': 'load_balancer', 'loadBalancerArn': 'load_balancer_arn', 'loadBalancerInfo': 'load_balancer_info', 'loadBalancerName': 'load_balancer_name', 'loadBalancerPort': 'load_balancer_port', 'loadBalancerType': 'load_balancer_type', 'loadBalancers': 'load_balancers', 'loadBalancingAlgorithmType': 'load_balancing_algorithm_type', 'localGatewayId': 'local_gateway_id', 'localGatewayRouteTableId': 'local_gateway_route_table_id', 'localGatewayVirtualInterfaceGroupId': 'local_gateway_virtual_interface_group_id', 'localSecondaryIndexes': 'local_secondary_indexes', 'locationArn': 'location_arn', 'locationUri': 'location_uri', 'lockToken': 'lock_token', 'logConfig': 'log_config', 'logDestination': 'log_destination', 'logDestinationType': 'log_destination_type', 'logFormat': 'log_format', 'logGroup': 'log_group', 'logGroupName': 'log_group_name', 'logPaths': 'log_paths', 'logPublishingOptions': 'log_publishing_options', 'logUri': 'log_uri', 'loggingConfig': 'logging_config', 'loggingConfiguration': 'logging_configuration', 'loggingInfo': 'logging_info', 'loggingRole': 'logging_role', 'logoutUrls': 'logout_urls', 'logsConfig': 'logs_config', 'lunNumber': 'lun_number', 'macAddress': 'mac_address', 'mailFromDomain': 'mail_from_domain', 'mainRouteTableId': 'main_route_table_id', 'maintenanceWindow': 'maintenance_window', 'maintenanceWindowStartTime': 'maintenance_window_start_time', 'majorEngineVersion': 'major_engine_version', 'manageBerkshelf': 'manage_berkshelf', 'manageBundler': 'manage_bundler', 'manageEbsSnapshots': 'manage_ebs_snapshots', 'managesVpcEndpoints': 'manages_vpc_endpoints', 'mapPublicIpOnLaunch': 'map_public_ip_on_launch', 'masterAccountArn': 'master_account_arn', 'masterAccountEmail': 'master_account_email', 'masterAccountId': 'master_account_id', 'masterId': 'master_id', 'masterInstanceGroup': 'master_instance_group', 'masterInstanceType': 'master_instance_type', 'masterPassword': 'master_password', 'masterPublicDns': 'master_public_dns', 'masterUsername': 'master_username', 'matchCriterias': 'match_criterias', 'matchingTypes': 'matching_types', 'maxAggregationInterval': 'max_aggregation_interval', 'maxAllocatedStorage': 'max_allocated_storage', 'maxCapacity': 'max_capacity', 'maxConcurrency': 'max_concurrency', 'maxErrors': 'max_errors', 'maxInstanceLifetime': 'max_instance_lifetime', 'maxMessageSize': 'max_message_size', 'maxPasswordAge': 'max_password_age', 'maxRetries': 'max_retries', 'maxSessionDuration': 'max_session_duration', 'maxSize': 'max_size', 'maximumBatchingWindowInSeconds': 'maximum_batching_window_in_seconds', 'maximumEventAgeInSeconds': 'maximum_event_age_in_seconds', 'maximumExecutionFrequency': 'maximum_execution_frequency', 'maximumRecordAgeInSeconds': 'maximum_record_age_in_seconds', 'maximumRetryAttempts': 'maximum_retry_attempts', 'measureLatency': 'measure_latency', 'mediaType': 'media_type', 'mediumChangerType': 'medium_changer_type', 'memberAccountId': 'member_account_id', 'memberClusters': 'member_clusters', 'memberStatus': 'member_status', 'memorySize': 'memory_size', 'meshName': 'mesh_name', 'messageRetentionSeconds': 'message_retention_seconds', 'messagesPerSecond': 'messages_per_second', 'metadataOptions': 'metadata_options', 'methodPath': 'method_path', 'metricAggregationType': 'metric_aggregation_type', 'metricGroups': 'metric_groups', 'metricName': 'metric_name', 'metricQueries': 'metric_queries', 'metricTransformation': 'metric_transformation', 'metricsGranularity': 'metrics_granularity', 'mfaConfiguration': 'mfa_configuration', 'migrationType': 'migration_type', 'minAdjustmentMagnitude': 'min_adjustment_magnitude', 'minCapacity': 'min_capacity', 'minElbCapacity': 'min_elb_capacity', 'minSize': 'min_size', 'minimumCompressionSize': 'minimum_compression_size', 'minimumHealthyHosts': 'minimum_healthy_hosts', 'minimumPasswordLength': 'minimum_password_length', 'mixedInstancesPolicy': 'mixed_instances_policy', 'modelSelectionExpression': 'model_selection_expression', 'mongodbSettings': 'mongodb_settings', 'monitoringInterval': 'monitoring_interval', 'monitoringRoleArn': 'monitoring_role_arn', 'monthlySpendLimit': 'monthly_spend_limit', 'mountOptions': 'mount_options', 'mountTargetDnsName': 'mount_target_dns_name', 'multiAttachEnabled': 'multi_attach_enabled', 'multiAz': 'multi_az', 'multivalueAnswerRoutingPolicy': 'multivalue_answer_routing_policy', 'namePrefix': 'name_prefix', 'nameServers': 'name_servers', 'namespaceId': 'namespace_id', 'natGatewayId': 'nat_gateway_id', 'neptuneClusterParameterGroupName': 'neptune_cluster_parameter_group_name', 'neptuneParameterGroupName': 'neptune_parameter_group_name', 'neptuneSubnetGroupName': 'neptune_subnet_group_name', 'netbiosNameServers': 'netbios_name_servers', 'netbiosNodeType': 'netbios_node_type', 'networkAclId': 'network_acl_id', 'networkConfiguration': 'network_configuration', 'networkInterface': 'network_interface', 'networkInterfaceId': 'network_interface_id', 'networkInterfaceIds': 'network_interface_ids', 'networkInterfacePort': 'network_interface_port', 'networkInterfaces': 'network_interfaces', 'networkLoadBalancerArn': 'network_load_balancer_arn', 'networkLoadBalancerArns': 'network_load_balancer_arns', 'networkMode': 'network_mode', 'networkOrigin': 'network_origin', 'networkServices': 'network_services', 'newGameSessionProtectionPolicy': 'new_game_session_protection_policy', 'nfsFileShareDefaults': 'nfs_file_share_defaults', 'nodeGroupName': 'node_group_name', 'nodeRoleArn': 'node_role_arn', 'nodeToNodeEncryption': 'node_to_node_encryption', 'nodeType': 'node_type', 'nodejsVersion': 'nodejs_version', 'nonMasterAccounts': 'non_master_accounts', 'notAfter': 'not_after', 'notBefore': 'not_before', 'notificationArns': 'notification_arns', 'notificationMetadata': 'notification_metadata', 'notificationProperty': 'notification_property', 'notificationTargetArn': 'notification_target_arn', 'notificationTopicArn': 'notification_topic_arn', 'notificationType': 'notification_type', 'ntpServers': 'ntp_servers', 'numCacheNodes': 'num_cache_nodes', 'numberCacheClusters': 'number_cache_clusters', 'numberOfBrokerNodes': 'number_of_broker_nodes', 'numberOfNodes': 'number_of_nodes', 'numberOfWorkers': 'number_of_workers', 'objectAcl': 'object_acl', 'objectLockConfiguration': 'object_lock_configuration', 'objectLockLegalHoldStatus': 'object_lock_legal_hold_status', 'objectLockMode': 'object_lock_mode', 'objectLockRetainUntilDate': 'object_lock_retain_until_date', 'okActions': 'ok_actions', 'onCreate': 'on_create', 'onDemandOptions': 'on_demand_options', 'onFailure': 'on_failure', 'onPremConfig': 'on_prem_config', 'onPremisesInstanceTagFilters': 'on_premises_instance_tag_filters', 'onStart': 'on_start', 'openMonitoring': 'open_monitoring', 'openidConnectConfig': 'openid_connect_config', 'openidConnectProviderArns': 'openid_connect_provider_arns', 'operatingSystem': 'operating_system', 'operationName': 'operation_name', 'optInStatus': 'opt_in_status', 'optimizeForEndUserLocation': 'optimize_for_end_user_location', 'optionGroupDescription': 'option_group_description', 'optionGroupName': 'option_group_name', 'optionalFields': 'optional_fields', 'orderedCacheBehaviors': 'ordered_cache_behaviors', 'orderedPlacementStrategies': 'ordered_placement_strategies', 'organizationAggregationSource': 'organization_aggregation_source', 'originGroups': 'origin_groups', 'originalRouteTableId': 'original_route_table_id', 'outpostArn': 'outpost_arn', 'outputBucket': 'output_bucket', 'outputLocation': 'output_location', 'ownerAccount': 'owner_account', 'ownerAccountId': 'owner_account_id', 'ownerAlias': 'owner_alias', 'ownerArn': 'owner_arn', 'ownerId': 'owner_id', 'ownerInformation': 'owner_information', 'packetLength': 'packet_length', 'parallelizationFactor': 'parallelization_factor', 'parameterGroupName': 'parameter_group_name', 'parameterOverrides': 'parameter_overrides', 'parentId': 'parent_id', 'partitionKeys': 'partition_keys', 'passengerVersion': 'passenger_version', 'passthroughBehavior': 'passthrough_behavior', 'passwordData': 'password_data', 'passwordLength': 'password_length', 'passwordPolicy': 'password_policy', 'passwordResetRequired': 'password_reset_required', 'passwordReusePrevention': 'password_reuse_prevention', 'patchGroup': 'patch_group', 'pathPart': 'path_part', 'payloadFormatVersion': 'payload_format_version', 'payloadUrl': 'payload_url', 'peerAccountId': 'peer_account_id', 'peerOwnerId': 'peer_owner_id', 'peerRegion': 'peer_region', 'peerTransitGatewayId': 'peer_transit_gateway_id', 'peerVpcId': 'peer_vpc_id', 'pemEncodedCertificate': 'pem_encoded_certificate', 'performanceInsightsEnabled': 'performance_insights_enabled', 'performanceInsightsKmsKeyId': 'performance_insights_kms_key_id', 'performanceInsightsRetentionPeriod': 'performance_insights_retention_period', 'performanceMode': 'performance_mode', 'permanentDeletionTimeInDays': 'permanent_deletion_time_in_days', 'permissionsBoundary': 'permissions_boundary', 'pgpKey': 'pgp_key', 'physicalConnectionRequirements': 'physical_connection_requirements', 'pidMode': 'pid_mode', 'pipelineConfig': 'pipeline_config', 'placementConstraints': 'placement_constraints', 'placementGroup': 'placement_group', 'placementGroupId': 'placement_group_id', 'placementTenancy': 'placement_tenancy', 'planId': 'plan_id', 'platformArn': 'platform_arn', 'platformCredential': 'platform_credential', 'platformPrincipal': 'platform_principal', 'platformTypes': 'platform_types', 'platformVersion': 'platform_version', 'playerLatencyPolicies': 'player_latency_policies', 'podExecutionRoleArn': 'pod_execution_role_arn', 'pointInTimeRecovery': 'point_in_time_recovery', 'policyArn': 'policy_arn', 'policyAttributes': 'policy_attributes', 'policyBody': 'policy_body', 'policyDetails': 'policy_details', 'policyDocument': 'policy_document', 'policyId': 'policy_id', 'policyName': 'policy_name', 'policyNames': 'policy_names', 'policyType': 'policy_type', 'policyTypeName': 'policy_type_name', 'policyUrl': 'policy_url', 'pollInterval': 'poll_interval', 'portRanges': 'port_ranges', 'posixUser': 'posix_user', 'preferredAvailabilityZones': 'preferred_availability_zones', 'preferredBackupWindow': 'preferred_backup_window', 'preferredMaintenanceWindow': 'preferred_maintenance_window', 'prefixListId': 'prefix_list_id', 'prefixListIds': 'prefix_list_ids', 'preventUserExistenceErrors': 'prevent_user_existence_errors', 'priceClass': 'price_class', 'pricingPlan': 'pricing_plan', 'primaryContainer': 'primary_container', 'primaryEndpointAddress': 'primary_endpoint_address', 'primaryNetworkInterfaceId': 'primary_network_interface_id', 'principalArn': 'principal_arn', 'privateDns': 'private_dns', 'privateDnsEnabled': 'private_dns_enabled', 'privateDnsName': 'private_dns_name', 'privateIp': 'private_ip', 'privateIpAddress': 'private_ip_address', 'privateIps': 'private_ips', 'privateIpsCount': 'private_ips_count', 'privateKey': 'private_key', 'productArn': 'product_arn', 'productCode': 'product_code', 'productionVariants': 'production_variants', 'projectName': 'project_name', 'promotionTier': 'promotion_tier', 'promotionalMessagesPerSecond': 'promotional_messages_per_second', 'propagateTags': 'propagate_tags', 'propagatingVgws': 'propagating_vgws', 'propagationDefaultRouteTableId': 'propagation_default_route_table_id', 'proposalId': 'proposal_id', 'protectFromScaleIn': 'protect_from_scale_in', 'protocolType': 'protocol_type', 'providerArns': 'provider_arns', 'providerDetails': 'provider_details', 'providerName': 'provider_name', 'providerType': 'provider_type', 'provisionedConcurrentExecutions': 'provisioned_concurrent_executions', 'provisionedThroughputInMibps': 'provisioned_throughput_in_mibps', 'proxyConfiguration': 'proxy_configuration', 'proxyProtocolV2': 'proxy_protocol_v2', 'publicAccessBlockConfiguration': 'public_access_block_configuration', 'publicDns': 'public_dns', 'publicIp': 'public_ip', 'publicIpAddress': 'public_ip_address', 'publicIpv4Pool': 'public_ipv4_pool', 'publicKey': 'public_key', 'publiclyAccessible': 'publicly_accessible', 'qualifiedArn': 'qualified_arn', 'queueUrl': 'queue_url', 'queuedTimeout': 'queued_timeout', 'quietTime': 'quiet_time', 'quotaCode': 'quota_code', 'quotaName': 'quota_name', 'quotaSettings': 'quota_settings', 'railsEnv': 'rails_env', 'ramDiskId': 'ram_disk_id', 'ramSize': 'ram_size', 'ramdiskId': 'ramdisk_id', 'rangeKey': 'range_key', 'rateKey': 'rate_key', 'rateLimit': 'rate_limit', 'rawMessageDelivery': 'raw_message_delivery', 'rdsDbInstanceArn': 'rds_db_instance_arn', 'readAttributes': 'read_attributes', 'readCapacity': 'read_capacity', 'readOnly': 'read_only', 'readerEndpoint': 'reader_endpoint', 'receiveWaitTimeSeconds': 'receive_wait_time_seconds', 'receiverAccountId': 'receiver_account_id', 'recordingGroup': 'recording_group', 'recoveryPoints': 'recovery_points', 'recoveryWindowInDays': 'recovery_window_in_days', 'redrivePolicy': 'redrive_policy', 'redshiftConfiguration': 'redshift_configuration', 'referenceDataSources': 'reference_data_sources', 'referenceName': 'reference_name', 'refreshTokenValidity': 'refresh_token_validity', 'regexMatchTuples': 'regex_match_tuples', 'regexPatternStrings': 'regex_pattern_strings', 'regionalCertificateArn': 'regional_certificate_arn', 'regionalCertificateName': 'regional_certificate_name', 'regionalDomainName': 'regional_domain_name', 'regionalZoneId': 'regional_zone_id', 'registeredBy': 'registered_by', 'registrationCode': 'registration_code', 'registrationCount': 'registration_count', 'registrationLimit': 'registration_limit', 'registryId': 'registry_id', 'regularExpressions': 'regular_expressions', 'rejectedPatches': 'rejected_patches', 'relationshipStatus': 'relationship_status', 'releaseLabel': 'release_label', 'releaseVersion': 'release_version', 'remoteAccess': 'remote_access', 'remoteDomainName': 'remote_domain_name', 'replaceUnhealthyInstances': 'replace_unhealthy_instances', 'replicateSourceDb': 'replicate_source_db', 'replicationConfiguration': 'replication_configuration', 'replicationFactor': 'replication_factor', 'replicationGroupDescription': 'replication_group_description', 'replicationGroupId': 'replication_group_id', 'replicationInstanceArn': 'replication_instance_arn', 'replicationInstanceClass': 'replication_instance_class', 'replicationInstanceId': 'replication_instance_id', 'replicationInstancePrivateIps': 'replication_instance_private_ips', 'replicationInstancePublicIps': 'replication_instance_public_ips', 'replicationSourceIdentifier': 'replication_source_identifier', 'replicationSubnetGroupArn': 'replication_subnet_group_arn', 'replicationSubnetGroupDescription': 'replication_subnet_group_description', 'replicationSubnetGroupId': 'replication_subnet_group_id', 'replicationTaskArn': 'replication_task_arn', 'replicationTaskId': 'replication_task_id', 'replicationTaskSettings': 'replication_task_settings', 'reportName': 'report_name', 'reportedAgentVersion': 'reported_agent_version', 'reportedOsFamily': 'reported_os_family', 'reportedOsName': 'reported_os_name', 'reportedOsVersion': 'reported_os_version', 'repositoryId': 'repository_id', 'repositoryName': 'repository_name', 'repositoryUrl': 'repository_url', 'requestId': 'request_id', 'requestInterval': 'request_interval', 'requestMappingTemplate': 'request_mapping_template', 'requestModels': 'request_models', 'requestParameters': 'request_parameters', 'requestPayer': 'request_payer', 'requestStatus': 'request_status', 'requestTemplate': 'request_template', 'requestTemplates': 'request_templates', 'requestValidatorId': 'request_validator_id', 'requesterManaged': 'requester_managed', 'requesterPays': 'requester_pays', 'requireLowercaseCharacters': 'require_lowercase_characters', 'requireNumbers': 'require_numbers', 'requireSymbols': 'require_symbols', 'requireUppercaseCharacters': 'require_uppercase_characters', 'requiresCompatibilities': 'requires_compatibilities', 'reservationPlanSettings': 'reservation_plan_settings', 'reservedConcurrentExecutions': 'reserved_concurrent_executions', 'reservoirSize': 'reservoir_size', 'resolverEndpointId': 'resolver_endpoint_id', 'resolverRuleId': 'resolver_rule_id', 'resourceArn': 'resource_arn', 'resourceCreationLimitPolicy': 'resource_creation_limit_policy', 'resourceGroupArn': 'resource_group_arn', 'resourceId': 'resource_id', 'resourceIdScope': 'resource_id_scope', 'resourcePath': 'resource_path', 'resourceQuery': 'resource_query', 'resourceShareArn': 'resource_share_arn', 'resourceType': 'resource_type', 'resourceTypesScopes': 'resource_types_scopes', 'responseMappingTemplate': 'response_mapping_template', 'responseModels': 'response_models', 'responseParameters': 'response_parameters', 'responseTemplate': 'response_template', 'responseTemplates': 'response_templates', 'responseType': 'response_type', 'restApi': 'rest_api', 'restApiId': 'rest_api_id', 'restrictPublicBuckets': 'restrict_public_buckets', 'retainOnDelete': 'retain_on_delete', 'retainStack': 'retain_stack', 'retentionInDays': 'retention_in_days', 'retentionPeriod': 'retention_period', 'retireOnDelete': 'retire_on_delete', 'retiringPrincipal': 'retiring_principal', 'retryStrategy': 'retry_strategy', 'revocationConfiguration': 'revocation_configuration', 'revokeRulesOnDelete': 'revoke_rules_on_delete', 'roleArn': 'role_arn', 'roleMappings': 'role_mappings', 'roleName': 'role_name', 'rootBlockDevice': 'root_block_device', 'rootBlockDevices': 'root_block_devices', 'rootDeviceName': 'root_device_name', 'rootDeviceType': 'root_device_type', 'rootDeviceVolumeId': 'root_device_volume_id', 'rootDirectory': 'root_directory', 'rootPassword': 'root_password', 'rootPasswordOnAllInstances': 'root_password_on_all_instances', 'rootResourceId': 'root_resource_id', 'rootSnapshotId': 'root_snapshot_id', 'rootVolumeEncryptionEnabled': 'root_volume_encryption_enabled', 'rotationEnabled': 'rotation_enabled', 'rotationLambdaArn': 'rotation_lambda_arn', 'rotationRules': 'rotation_rules', 'routeFilterPrefixes': 'route_filter_prefixes', 'routeId': 'route_id', 'routeKey': 'route_key', 'routeResponseKey': 'route_response_key', 'routeResponseSelectionExpression': 'route_response_selection_expression', 'routeSelectionExpression': 'route_selection_expression', 'routeSettings': 'route_settings', 'routeTableId': 'route_table_id', 'routeTableIds': 'route_table_ids', 'routingConfig': 'routing_config', 'routingStrategy': 'routing_strategy', 'rubyVersion': 'ruby_version', 'rubygemsVersion': 'rubygems_version', 'ruleAction': 'rule_action', 'ruleId': 'rule_id', 'ruleIdentifier': 'rule_identifier', 'ruleName': 'rule_name', 'ruleNumber': 'rule_number', 'ruleSetName': 'rule_set_name', 'ruleType': 'rule_type', 'rulesPackageArns': 'rules_package_arns', 'runCommandTargets': 'run_command_targets', 'runningInstanceCount': 'running_instance_count', 'runtimeConfiguration': 'runtime_configuration', 's3Actions': 's3_actions', 's3Bucket': 's3_bucket', 's3BucketArn': 's3_bucket_arn', 's3BucketName': 's3_bucket_name', 's3CanonicalUserId': 's3_canonical_user_id', 's3Config': 's3_config', 's3Configuration': 's3_configuration', 's3Destination': 's3_destination', 's3Import': 's3_import', 's3Key': 's3_key', 's3KeyPrefix': 's3_key_prefix', 's3ObjectVersion': 's3_object_version', 's3Prefix': 's3_prefix', 's3Region': 's3_region', 's3Settings': 's3_settings', 's3Targets': 's3_targets', 'samlMetadataDocument': 'saml_metadata_document', 'samlProviderArns': 'saml_provider_arns', 'scalableDimension': 'scalable_dimension', 'scalableTargetAction': 'scalable_target_action', 'scaleDownBehavior': 'scale_down_behavior', 'scalingAdjustment': 'scaling_adjustment', 'scalingConfig': 'scaling_config', 'scalingConfiguration': 'scaling_configuration', 'scanEnabled': 'scan_enabled', 'scheduleExpression': 'schedule_expression', 'scheduleIdentifier': 'schedule_identifier', 'scheduleTimezone': 'schedule_timezone', 'scheduledActionName': 'scheduled_action_name', 'schedulingStrategy': 'scheduling_strategy', 'schemaChangePolicy': 'schema_change_policy', 'schemaVersion': 'schema_version', 'scopeIdentifiers': 'scope_identifiers', 'searchString': 'search_string', 'secondaryArtifacts': 'secondary_artifacts', 'secondarySources': 'secondary_sources', 'secretBinary': 'secret_binary', 'secretId': 'secret_id', 'secretKey': 'secret_key', 'secretString': 'secret_string', 'securityConfiguration': 'security_configuration', 'securityGroupId': 'security_group_id', 'securityGroupIds': 'security_group_ids', 'securityGroupNames': 'security_group_names', 'securityGroups': 'security_groups', 'securityPolicy': 'security_policy', 'selectionPattern': 'selection_pattern', 'selectionTags': 'selection_tags', 'selfManagedActiveDirectory': 'self_managed_active_directory', 'selfServicePermissions': 'self_service_permissions', 'senderAccountId': 'sender_account_id', 'senderId': 'sender_id', 'serverCertificateArn': 'server_certificate_arn', 'serverHostname': 'server_hostname', 'serverId': 'server_id', 'serverName': 'server_name', 'serverProperties': 'server_properties', 'serverSideEncryption': 'server_side_encryption', 'serverSideEncryptionConfiguration': 'server_side_encryption_configuration', 'serverType': 'server_type', 'serviceAccessRole': 'service_access_role', 'serviceCode': 'service_code', 'serviceLinkedRoleArn': 'service_linked_role_arn', 'serviceName': 'service_name', 'serviceNamespace': 'service_namespace', 'serviceRegistries': 'service_registries', 'serviceRole': 'service_role', 'serviceRoleArn': 'service_role_arn', 'serviceType': 'service_type', 'sesSmtpPassword': 'ses_smtp_password', 'sesSmtpPasswordV4': 'ses_smtp_password_v4', 'sessionName': 'session_name', 'sessionNumber': 'session_number', 'setIdentifier': 'set_identifier', 'shardCount': 'shard_count', 'shardLevelMetrics': 'shard_level_metrics', 'shareArn': 'share_arn', 'shareId': 'share_id', 'shareName': 'share_name', 'shareStatus': 'share_status', 'shortCode': 'short_code', 'shortName': 'short_name', 'sizeConstraints': 'size_constraints', 'skipDestroy': 'skip_destroy', 'skipFinalBackup': 'skip_final_backup', 'skipFinalSnapshot': 'skip_final_snapshot', 'slowStart': 'slow_start', 'smbActiveDirectorySettings': 'smb_active_directory_settings', 'smbGuestPassword': 'smb_guest_password', 'smsAuthenticationMessage': 'sms_authentication_message', 'smsConfiguration': 'sms_configuration', 'smsVerificationMessage': 'sms_verification_message', 'snapshotArns': 'snapshot_arns', 'snapshotClusterIdentifier': 'snapshot_cluster_identifier', 'snapshotCopy': 'snapshot_copy', 'snapshotCopyGrantName': 'snapshot_copy_grant_name', 'snapshotDeliveryProperties': 'snapshot_delivery_properties', 'snapshotId': 'snapshot_id', 'snapshotIdentifier': 'snapshot_identifier', 'snapshotName': 'snapshot_name', 'snapshotOptions': 'snapshot_options', 'snapshotRetentionLimit': 'snapshot_retention_limit', 'snapshotType': 'snapshot_type', 'snapshotWindow': 'snapshot_window', 'snapshotWithoutReboot': 'snapshot_without_reboot', 'snsActions': 'sns_actions', 'snsDestination': 'sns_destination', 'snsTopic': 'sns_topic', 'snsTopicArn': 'sns_topic_arn', 'snsTopicName': 'sns_topic_name', 'softwareTokenMfaConfiguration': 'software_token_mfa_configuration', 'solutionStackName': 'solution_stack_name', 'sourceAccount': 'source_account', 'sourceAmiId': 'source_ami_id', 'sourceAmiRegion': 'source_ami_region', 'sourceArn': 'source_arn', 'sourceBackupIdentifier': 'source_backup_identifier', 'sourceCidrBlock': 'source_cidr_block', 'sourceCodeHash': 'source_code_hash', 'sourceCodeSize': 'source_code_size', 'sourceDbClusterSnapshotArn': 'source_db_cluster_snapshot_arn', 'sourceDbSnapshotIdentifier': 'source_db_snapshot_identifier', 'sourceDestCheck': 'source_dest_check', 'sourceEndpointArn': 'source_endpoint_arn', 'sourceIds': 'source_ids', 'sourceInstanceId': 'source_instance_id', 'sourceLocationArn': 'source_location_arn', 'sourcePortRange': 'source_port_range', 'sourceRegion': 'source_region', 'sourceSecurityGroup': 'source_security_group', 'sourceSecurityGroupId': 'source_security_group_id', 'sourceSnapshotId': 'source_snapshot_id', 'sourceType': 'source_type', 'sourceVersion': 'source_version', 'sourceVolumeArn': 'source_volume_arn', 'splitTunnel': 'split_tunnel', 'splunkConfiguration': 'splunk_configuration', 'spotBidStatus': 'spot_bid_status', 'spotInstanceId': 'spot_instance_id', 'spotOptions': 'spot_options', 'spotPrice': 'spot_price', 'spotRequestState': 'spot_request_state', 'spotType': 'spot_type', 'sqlInjectionMatchTuples': 'sql_injection_match_tuples', 'sqlVersion': 'sql_version', 'sqsFailureFeedbackRoleArn': 'sqs_failure_feedback_role_arn', 'sqsSuccessFeedbackRoleArn': 'sqs_success_feedback_role_arn', 'sqsSuccessFeedbackSampleRate': 'sqs_success_feedback_sample_rate', 'sqsTarget': 'sqs_target', 'sriovNetSupport': 'sriov_net_support', 'sshHostDsaKeyFingerprint': 'ssh_host_dsa_key_fingerprint', 'sshHostRsaKeyFingerprint': 'ssh_host_rsa_key_fingerprint', 'sshKeyName': 'ssh_key_name', 'sshPublicKey': 'ssh_public_key', 'sshPublicKeyId': 'ssh_public_key_id', 'sshUsername': 'ssh_username', 'sslConfigurations': 'ssl_configurations', 'sslMode': 'ssl_mode', 'sslPolicy': 'ssl_policy', 'stackEndpoint': 'stack_endpoint', 'stackId': 'stack_id', 'stackSetId': 'stack_set_id', 'stackSetName': 'stack_set_name', 'stageDescription': 'stage_description', 'stageName': 'stage_name', 'stageVariables': 'stage_variables', 'standardsArn': 'standards_arn', 'startDate': 'start_date', 'startTime': 'start_time', 'startingPosition': 'starting_position', 'startingPositionTimestamp': 'starting_position_timestamp', 'stateTransitionReason': 'state_transition_reason', 'statementId': 'statement_id', 'statementIdPrefix': 'statement_id_prefix', 'staticIpName': 'static_ip_name', 'staticMembers': 'static_members', 'staticRoutesOnly': 'static_routes_only', 'statsEnabled': 'stats_enabled', 'statsPassword': 'stats_password', 'statsUrl': 'stats_url', 'statsUser': 'stats_user', 'statusCode': 'status_code', 'statusReason': 'status_reason', 'stepAdjustments': 'step_adjustments', 'stepConcurrencyLevel': 'step_concurrency_level', 'stepFunctions': 'step_functions', 'stepScalingPolicyConfiguration': 'step_scaling_policy_configuration', 'stopActions': 'stop_actions', 'storageCapacity': 'storage_capacity', 'storageClass': 'storage_class', 'storageClassAnalysis': 'storage_class_analysis', 'storageDescriptor': 'storage_descriptor', 'storageEncrypted': 'storage_encrypted', 'storageLocation': 'storage_location', 'storageType': 'storage_type', 'streamArn': 'stream_arn', 'streamEnabled': 'stream_enabled', 'streamLabel': 'stream_label', 'streamViewType': 'stream_view_type', 'subjectAlternativeNames': 'subject_alternative_names', 'subnetGroupName': 'subnet_group_name', 'subnetId': 'subnet_id', 'subnetIds': 'subnet_ids', 'subnetMappings': 'subnet_mappings', 'successFeedbackRoleArn': 'success_feedback_role_arn', 'successFeedbackSampleRate': 'success_feedback_sample_rate', 'supportCode': 'support_code', 'supportedIdentityProviders': 'supported_identity_providers', 'supportedLoginProviders': 'supported_login_providers', 'suspendedProcesses': 'suspended_processes', 'systemPackages': 'system_packages', 'tableMappings': 'table_mappings', 'tableName': 'table_name', 'tablePrefix': 'table_prefix', 'tableType': 'table_type', 'tagKeyScope': 'tag_key_scope', 'tagSpecifications': 'tag_specifications', 'tagValueScope': 'tag_value_scope', 'tagsCollection': 'tags_collection', 'tapeDriveType': 'tape_drive_type', 'targetAction': 'target_action', 'targetArn': 'target_arn', 'targetCapacity': 'target_capacity', 'targetCapacitySpecification': 'target_capacity_specification', 'targetEndpointArn': 'target_endpoint_arn', 'targetGroupArn': 'target_group_arn', 'targetGroupArns': 'target_group_arns', 'targetId': 'target_id', 'targetIps': 'target_ips', 'targetKeyArn': 'target_key_arn', 'targetKeyId': 'target_key_id', 'targetName': 'target_name', 'targetPipeline': 'target_pipeline', 'targetTrackingConfiguration': 'target_tracking_configuration', 'targetTrackingScalingPolicyConfiguration': 'target_tracking_scaling_policy_configuration', 'targetType': 'target_type', 'taskArn': 'task_arn', 'taskDefinition': 'task_definition', 'taskInvocationParameters': 'task_invocation_parameters', 'taskParameters': 'task_parameters', 'taskRoleArn': 'task_role_arn', 'taskType': 'task_type', 'teamId': 'team_id', 'templateBody': 'template_body', 'templateName': 'template_name', 'templateSelectionExpression': 'template_selection_expression', 'templateUrl': 'template_url', 'terminateInstances': 'terminate_instances', 'terminateInstancesWithExpiration': 'terminate_instances_with_expiration', 'terminationPolicies': 'termination_policies', 'terminationProtection': 'termination_protection', 'thingTypeName': 'thing_type_name', 'thresholdCount': 'threshold_count', 'thresholdMetricId': 'threshold_metric_id', 'throttleSettings': 'throttle_settings', 'throughputCapacity': 'throughput_capacity', 'throughputMode': 'throughput_mode', 'thumbnailConfig': 'thumbnail_config', 'thumbnailConfigPermissions': 'thumbnail_config_permissions', 'thumbprintLists': 'thumbprint_lists', 'timePeriodEnd': 'time_period_end', 'timePeriodStart': 'time_period_start', 'timeUnit': 'time_unit', 'timeoutInMinutes': 'timeout_in_minutes', 'timeoutInSeconds': 'timeout_in_seconds', 'timeoutMilliseconds': 'timeout_milliseconds', 'tlsPolicy': 'tls_policy', 'toPort': 'to_port', 'tokenKey': 'token_key', 'tokenKeyId': 'token_key_id', 'topicArn': 'topic_arn', 'tracingConfig': 'tracing_config', 'trafficDialPercentage': 'traffic_dial_percentage', 'trafficDirection': 'traffic_direction', 'trafficMirrorFilterId': 'traffic_mirror_filter_id', 'trafficMirrorTargetId': 'traffic_mirror_target_id', 'trafficRoutingConfig': 'traffic_routing_config', 'trafficType': 'traffic_type', 'transactionalMessagesPerSecond': 'transactional_messages_per_second', 'transitEncryptionEnabled': 'transit_encryption_enabled', 'transitGatewayAttachmentId': 'transit_gateway_attachment_id', 'transitGatewayDefaultRouteTableAssociation': 'transit_gateway_default_route_table_association', 'transitGatewayDefaultRouteTablePropagation': 'transit_gateway_default_route_table_propagation', 'transitGatewayId': 'transit_gateway_id', 'transitGatewayRouteTableId': 'transit_gateway_route_table_id', 'transportProtocol': 'transport_protocol', 'treatMissingData': 'treat_missing_data', 'triggerConfigurations': 'trigger_configurations', 'triggerTypes': 'trigger_types', 'tunnel1Address': 'tunnel1_address', 'tunnel1BgpAsn': 'tunnel1_bgp_asn', 'tunnel1BgpHoldtime': 'tunnel1_bgp_holdtime', 'tunnel1CgwInsideAddress': 'tunnel1_cgw_inside_address', 'tunnel1InsideCidr': 'tunnel1_inside_cidr', 'tunnel1PresharedKey': 'tunnel1_preshared_key', 'tunnel1VgwInsideAddress': 'tunnel1_vgw_inside_address', 'tunnel2Address': 'tunnel2_address', 'tunnel2BgpAsn': 'tunnel2_bgp_asn', 'tunnel2BgpHoldtime': 'tunnel2_bgp_holdtime', 'tunnel2CgwInsideAddress': 'tunnel2_cgw_inside_address', 'tunnel2InsideCidr': 'tunnel2_inside_cidr', 'tunnel2PresharedKey': 'tunnel2_preshared_key', 'tunnel2VgwInsideAddress': 'tunnel2_vgw_inside_address', 'uniqueId': 'unique_id', 'urlPath': 'url_path', 'usagePlanId': 'usage_plan_id', 'usageReportS3Bucket': 'usage_report_s3_bucket', 'useCustomCookbooks': 'use_custom_cookbooks', 'useEbsOptimizedInstances': 'use_ebs_optimized_instances', 'useOpsworksSecurityGroups': 'use_opsworks_security_groups', 'userArn': 'user_arn', 'userData': 'user_data', 'userDataBase64': 'user_data_base64', 'userName': 'user_name', 'userPoolAddOns': 'user_pool_add_ons', 'userPoolConfig': 'user_pool_config', 'userPoolId': 'user_pool_id', 'userRole': 'user_role', 'userVolumeEncryptionEnabled': 'user_volume_encryption_enabled', 'usernameAttributes': 'username_attributes', 'usernameConfiguration': 'username_configuration', 'validFrom': 'valid_from', 'validTo': 'valid_to', 'validUntil': 'valid_until', 'validUserLists': 'valid_user_lists', 'validateRequestBody': 'validate_request_body', 'validateRequestParameters': 'validate_request_parameters', 'validationEmails': 'validation_emails', 'validationMethod': 'validation_method', 'validationRecordFqdns': 'validation_record_fqdns', 'vaultName': 'vault_name', 'verificationMessageTemplate': 'verification_message_template', 'verificationToken': 'verification_token', 'versionId': 'version_id', 'versionStages': 'version_stages', 'vgwTelemetries': 'vgw_telemetries', 'videoCodecOptions': 'video_codec_options', 'videoWatermarks': 'video_watermarks', 'viewExpandedText': 'view_expanded_text', 'viewOriginalText': 'view_original_text', 'viewerCertificate': 'viewer_certificate', 'virtualInterfaceId': 'virtual_interface_id', 'virtualNetworkId': 'virtual_network_id', 'virtualRouterName': 'virtual_router_name', 'virtualizationType': 'virtualization_type', 'visibilityTimeoutSeconds': 'visibility_timeout_seconds', 'visibleToAllUsers': 'visible_to_all_users', 'volumeArn': 'volume_arn', 'volumeEncryptionKey': 'volume_encryption_key', 'volumeId': 'volume_id', 'volumeSize': 'volume_size', 'volumeSizeInBytes': 'volume_size_in_bytes', 'volumeTags': 'volume_tags', 'vpcClassicLinkId': 'vpc_classic_link_id', 'vpcClassicLinkSecurityGroups': 'vpc_classic_link_security_groups', 'vpcConfig': 'vpc_config', 'vpcConfiguration': 'vpc_configuration', 'vpcEndpointId': 'vpc_endpoint_id', 'vpcEndpointServiceId': 'vpc_endpoint_service_id', 'vpcEndpointType': 'vpc_endpoint_type', 'vpcId': 'vpc_id', 'vpcOptions': 'vpc_options', 'vpcOwnerId': 'vpc_owner_id', 'vpcPeeringConnectionId': 'vpc_peering_connection_id', 'vpcRegion': 'vpc_region', 'vpcSecurityGroupIds': 'vpc_security_group_ids', 'vpcSettings': 'vpc_settings', 'vpcZoneIdentifiers': 'vpc_zone_identifiers', 'vpnConnectionId': 'vpn_connection_id', 'vpnEcmpSupport': 'vpn_ecmp_support', 'vpnGatewayId': 'vpn_gateway_id', 'waitForCapacityTimeout': 'wait_for_capacity_timeout', 'waitForDeployment': 'wait_for_deployment', 'waitForElbCapacity': 'wait_for_elb_capacity', 'waitForFulfillment': 'wait_for_fulfillment', 'waitForReadyTimeout': 'wait_for_ready_timeout', 'waitForSteadyState': 'wait_for_steady_state', 'webAclArn': 'web_acl_arn', 'webAclId': 'web_acl_id', 'websiteCaId': 'website_ca_id', 'websiteDomain': 'website_domain', 'websiteEndpoint': 'website_endpoint', 'websiteRedirect': 'website_redirect', 'weeklyMaintenanceStartTime': 'weekly_maintenance_start_time', 'weightedRoutingPolicies': 'weighted_routing_policies', 'windowId': 'window_id', 'workerType': 'worker_type', 'workflowExecutionRetentionPeriodInDays': 'workflow_execution_retention_period_in_days', 'workflowName': 'workflow_name', 'workmailActions': 'workmail_actions', 'workspaceProperties': 'workspace_properties', 'workspaceSecurityGroupId': 'workspace_security_group_id', 'writeAttributes': 'write_attributes', 'writeCapacity': 'write_capacity', 'xmlClassifier': 'xml_classifier', 'xrayEnabled': 'xray_enabled', 'xrayTracingEnabled': 'xray_tracing_enabled', 'xssMatchTuples': 'xss_match_tuples', 'zoneId': 'zone_id', 'zookeeperConnectString': 'zookeeper_connect_string'}
N, *S = open(0).read().split() t = 1 f = 1 for s in S: if s == 'AND': f = t + f * 2 elif s == 'OR': t = t * 2 + f print(t)
(n, *s) = open(0).read().split() t = 1 f = 1 for s in S: if s == 'AND': f = t + f * 2 elif s == 'OR': t = t * 2 + f print(t)
# %% [1221. Split a String in Balanced Strings](https://leetcode.com/problems/split-a-string-in-balanced-strings/) class Solution: def balancedStringSplit(self, s: str) -> int: res = cnt = 0 for c in s: cnt += (c == "L") * 2 - 1 res += not cnt return res
class Solution: def balanced_string_split(self, s: str) -> int: res = cnt = 0 for c in s: cnt += (c == 'L') * 2 - 1 res += not cnt return res
words = ['cat', 'window', "defenestrate"] for w in words : print(w, len(w)) users = ['A', "B", "C"] for i in users : print(i) for i in range(5): print(i)
words = ['cat', 'window', 'defenestrate'] for w in words: print(w, len(w)) users = ['A', 'B', 'C'] for i in users: print(i) for i in range(5): print(i)
""" You can use this file as a template to store your api credentials. Just copy (or rename) this file to `api_credentials.py` and fill in your key and secret. `api_credentials.py` is in this repository's `.gitignore` file. """ PAYONEER_ESCROW_API_KEY = 'ENTER_YOUR_API_KEY_HERE' PAYONEER_ESCROW_SECRET = 'ENTER_YOUR_API_SECRET_HERE'
""" You can use this file as a template to store your api credentials. Just copy (or rename) this file to `api_credentials.py` and fill in your key and secret. `api_credentials.py` is in this repository's `.gitignore` file. """ payoneer_escrow_api_key = 'ENTER_YOUR_API_KEY_HERE' payoneer_escrow_secret = 'ENTER_YOUR_API_SECRET_HERE'
#Kunal Gautam #Codewars : @Kunalpod #Problem name: Valid Braces #Problem level: 4 kyu valid = {'(': ')', '[': ']', '{': '}'} def validBraces(string): li=[] for item in string: if item in valid: li.append(item) elif li and valid[li[-1]] == item: li.pop() else: return False return False if li else True
valid = {'(': ')', '[': ']', '{': '}'} def valid_braces(string): li = [] for item in string: if item in valid: li.append(item) elif li and valid[li[-1]] == item: li.pop() else: return False return False if li else True
summultiples = 0 for i in range(1000): if i % 3 == 0 or i % 5 == 0: summultiples += i print(summultiples)
summultiples = 0 for i in range(1000): if i % 3 == 0 or i % 5 == 0: summultiples += i print(summultiples)
def say_hello(name: str = 'Lucas'): print(f'Hello {name} ') def ask_age(): user_age = input('Age?') return user_age def say_hello_mp(name, age_user=25): print(f'Hello {name} {age_user}') if __name__ == '__main__': say_hello() say_hello(123) print(say_hello('Pierre')) say_hello_mp(age_user=23, name='toto') say_hello_mp('toto', 23) age = ask_age() print(f'You are {age} year(s) old')
def say_hello(name: str='Lucas'): print(f'Hello {name} ') def ask_age(): user_age = input('Age?') return user_age def say_hello_mp(name, age_user=25): print(f'Hello {name} {age_user}') if __name__ == '__main__': say_hello() say_hello(123) print(say_hello('Pierre')) say_hello_mp(age_user=23, name='toto') say_hello_mp('toto', 23) age = ask_age() print(f'You are {age} year(s) old')
# -*- coding: utf-8 -*- ######################################################################## # # License: BSD # Created: October 19, 2004 # Author: Ivan Vilata i Balaguer - reverse:net.selidor@ivan # # $Id$ # ######################################################################## """Special node behaviours for PyTables. This package contains several modules that give specific behaviours to PyTables nodes. For instance, the filenode module provides a file interface to a PyTables node. Package modules: filenode -- A file interface to nodes for PyTables databases. """ # The list of names to be exported to the importing module. __all__ = ['filenode'] ## Local Variables: ## mode: python ## py-indent-offset: 4 ## tab-width: 4 ## End:
"""Special node behaviours for PyTables. This package contains several modules that give specific behaviours to PyTables nodes. For instance, the filenode module provides a file interface to a PyTables node. Package modules: filenode -- A file interface to nodes for PyTables databases. """ __all__ = ['filenode']
# -*- coding: utf-8 -*- """ Created on Thu Oct 1 13:12:08 2020 @author: Abhishek Parashar """ stack=[] vector=[] arr=[4,5,2,10,8] for i in range(len(arr)-1): if (len(stack)==0): vector.append(-1) elif (len(stack)>0 and stack[-1]<arr[i]): vector.append(stack[-1]) elif (len(stack)>0 and stack[-1]>=arr[i]): while(len(stack)>0 and stack[-1]>=arr[i]): stack.pop(-1) if(len(stack)==0): vector.append(-1) else: vector.append(stack[-1]) stack.append(arr[i]) print(vector)
""" Created on Thu Oct 1 13:12:08 2020 @author: Abhishek Parashar """ stack = [] vector = [] arr = [4, 5, 2, 10, 8] for i in range(len(arr) - 1): if len(stack) == 0: vector.append(-1) elif len(stack) > 0 and stack[-1] < arr[i]: vector.append(stack[-1]) elif len(stack) > 0 and stack[-1] >= arr[i]: while len(stack) > 0 and stack[-1] >= arr[i]: stack.pop(-1) if len(stack) == 0: vector.append(-1) else: vector.append(stack[-1]) stack.append(arr[i]) print(vector)
def foo(t1, t2, t3): return str(t1)+str(t2) res = foo(t1,t2,t3) print("Testing output!")
def foo(t1, t2, t3): return str(t1) + str(t2) res = foo(t1, t2, t3) print('Testing output!')
""" * Copyright 2007,2008,2009 John C. Gunther * Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net> * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the * License. * """ """* * Defines how the <tt>update</tt> method updates the touched * point, that is, the point the user is considered to be * hovered over. * * @see #update(TouchedPointUpdateOption) update * """ class TouchedPointUpdateOption(object): def __init__(self): pass """* * When this option is passed to the update method, any * touched point is cleared as a consequence of the update. * <p> * * This option can be used when you want to "start fresh" * with regards to hover feedback after an update, and want * to assure that only explicit user-generated mouse move * actions (rather than objects moving <i>underneath</i> a * fixed-position mouse cursor) can trigger hover feedback. * * @see #update update * @see #TOUCHED_POINT_LOCKED TOUCHED_POINT_LOCKED * @see #TOUCHED_POINT_UPDATED TOUCHED_POINT_UPDATED * """ TOUCHED_POINT_CLEARED = TouchedPointUpdateOption() """* * When this option is passed to the update method, any * previously touched point is locked in (remains unchanged). * <p> * * For example, if the mouse is over a certain point before * the update, and that point moves away from the mouse * (without the mouse moving otherwise) as a consequence of * the update, the hover feedback remains "locked in" to the * original point, even though the mouse is no longer on top * of that point. * <p> * * This option is useful for hover widgets that modify the * position, size, symbol of points/curves, and do not want the * selected point/curve (and popup hover widget) to change as * a consequence of such changes. * <p> * * <i>Note:</i> If the currently touched point or the curve * containing it is deleted, GChart sets the touched point * reference to <tt>None</tt>. In that case, this option and * <tt>TOUCHED_POINT_CLEARED</tt> behave the same way. * * * @see #update update * @see #TOUCHED_POINT_CLEARED TOUCHED_POINT_CLEARED * @see #TOUCHED_POINT_UPDATED TOUCHED_POINT_UPDATED * """ TOUCHED_POINT_LOCKED = TouchedPointUpdateOption() """* * When this option is passed to the update method, the * touched point is updated so that it reflects whatever point * is underneath the mouse cursor after the update * completes. * <p> * * For example, if the mouse is not hovering over any point * before the update, but the update repositions one of the * points so that it is now underneath the mouse cursor, * the hover feedback for that point will be displayed. * Similarly, if the update moves a point away from the * mouse cursor, previously displayed hover feedback will * be eliminated. * <p> * * @see #update update * @see #TOUCHED_POINT_CLEARED TOUCHED_POINT_CLEARED * @see #TOUCHED_POINT_LOCKED TOUCHED_POINT_LOCKED * """ TOUCHED_POINT_UPDATED = TouchedPointUpdateOption()
""" * Copyright 2007,2008,2009 John C. Gunther * Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net> * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the * License. * """ '*\n* Defines how the <tt>update</tt> method updates the touched\n* point, that is, the point the user is considered to be\n* hovered over.\n*\n* @see #update(TouchedPointUpdateOption) update\n*\n' class Touchedpointupdateoption(object): def __init__(self): pass '*\n* When this option is passed to the update method, any\n* touched point is cleared as a consequence of the update.\n* <p>\n*\n* This option can be used when you want to "start fresh"\n* with regards to hover feedback after an update, and want\n* to assure that only explicit user-generated mouse move\n* actions (rather than objects moving <i>underneath</i> a\n* fixed-position mouse cursor) can trigger hover feedback.\n*\n* @see #update update\n* @see #TOUCHED_POINT_LOCKED TOUCHED_POINT_LOCKED\n* @see #TOUCHED_POINT_UPDATED TOUCHED_POINT_UPDATED\n*\n' touched_point_cleared = touched_point_update_option() '*\n* When this option is passed to the update method, any\n* previously touched point is locked in (remains unchanged).\n* <p>\n*\n* For example, if the mouse is over a certain point before\n* the update, and that point moves away from the mouse\n* (without the mouse moving otherwise) as a consequence of\n* the update, the hover feedback remains "locked in" to the\n* original point, even though the mouse is no longer on top\n* of that point.\n* <p>\n*\n* This option is useful for hover widgets that modify the\n* position, size, symbol of points/curves, and do not want the\n* selected point/curve (and popup hover widget) to change as\n* a consequence of such changes.\n* <p>\n*\n* <i>Note:</i> If the currently touched point or the curve\n* containing it is deleted, GChart sets the touched point\n* reference to <tt>None</tt>. In that case, this option and\n* <tt>TOUCHED_POINT_CLEARED</tt> behave the same way.\n*\n*\n* @see #update update\n* @see #TOUCHED_POINT_CLEARED TOUCHED_POINT_CLEARED\n* @see #TOUCHED_POINT_UPDATED TOUCHED_POINT_UPDATED\n*\n' touched_point_locked = touched_point_update_option() '*\n* When this option is passed to the update method, the\n* touched point is updated so that it reflects whatever point\n* is underneath the mouse cursor after the update\n* completes.\n* <p>\n*\n* For example, if the mouse is not hovering over any point\n* before the update, but the update repositions one of the\n* points so that it is now underneath the mouse cursor,\n* the hover feedback for that point will be displayed.\n* Similarly, if the update moves a point away from the\n* mouse cursor, previously displayed hover feedback will\n* be eliminated.\n* <p>\n*\n* @see #update update\n* @see #TOUCHED_POINT_CLEARED TOUCHED_POINT_CLEARED\n* @see #TOUCHED_POINT_LOCKED TOUCHED_POINT_LOCKED\n*\n' touched_point_updated = touched_point_update_option()
''' @file: __init__.py.py @author: qxLiu @time: 2020/3/14 9:37 '''
""" @file: __init__.py.py @author: qxLiu @time: 2020/3/14 9:37 """
def set(name): ret = { 'name': name, 'changes': {}, 'result': False, 'comment': '' } current_name = __salt__['c_hostname.get_hostname']() if name == current_name: ret['result'] = True ret['comment'] = "Hostname \"{0}\" already set.".format(name) return ret if __opts__['test'] is True: ret['comment'] = "Hostname \"{0}\" will be set".format(name) else: __salt__['c_hostname.set_hostname'](name) ret['changes']['hostname'] = {'old': current_name, 'new': name} ret['comment'] = "Hostname \"{0}\" has been set".format(name) ret['result'] = True return ret
def set(name): ret = {'name': name, 'changes': {}, 'result': False, 'comment': ''} current_name = __salt__['c_hostname.get_hostname']() if name == current_name: ret['result'] = True ret['comment'] = 'Hostname "{0}" already set.'.format(name) return ret if __opts__['test'] is True: ret['comment'] = 'Hostname "{0}" will be set'.format(name) else: __salt__['c_hostname.set_hostname'](name) ret['changes']['hostname'] = {'old': current_name, 'new': name} ret['comment'] = 'Hostname "{0}" has been set'.format(name) ret['result'] = True return ret