content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# 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: 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']}]}]}
# 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)
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()
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:])
# 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
#!/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')
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
# 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}}
# # 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())))
# (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']}]]}]}]]}
# 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)
#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')
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!')
''' @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
class Solution: def canCross(self, stones: List[int]) -> bool: n = len(stones) # dp[i][j] := True if a frog can make a size j jump to stones[i] dp = [[False] * (n + 1) for _ in range(n)] dp[0][0] = True for i in range(1, n): for j in range(i): k = stones[i] - stones[j] if k > n: continue for x in (k - 1, k, k + 1): if 0 <= x <= n: dp[i][k] |= dp[j][x] return any(dp[-1])
class Solution: def can_cross(self, stones: List[int]) -> bool: n = len(stones) dp = [[False] * (n + 1) for _ in range(n)] dp[0][0] = True for i in range(1, n): for j in range(i): k = stones[i] - stones[j] if k > n: continue for x in (k - 1, k, k + 1): if 0 <= x <= n: dp[i][k] |= dp[j][x] return any(dp[-1])
class PPSTimingCalibrationModeEnum: CondDB = 0 JSON = 1 SQLite = 2
class Ppstimingcalibrationmodeenum: cond_db = 0 json = 1 sq_lite = 2
a = input() i = ord(a) for i in range(i-96): print(chr(i+97),end=" ")
a = input() i = ord(a) for i in range(i - 96): print(chr(i + 97), end=' ')
n=int(input("From number")) n1=int(input("To number")) for i in range(n,n1): for j in range(2,i): if i%j==0: break else: print(i)
n = int(input('From number')) n1 = int(input('To number')) for i in range(n, n1): for j in range(2, i): if i % j == 0: break else: print(i)
# Recursive implementation to find the gcd (greatest common divisor) of two integers using the euclidean algorithm. # For more than two numbers, e.g. three, you can box it like this: gcd(a,gcd(b,greatest_common_divisor.c)) etc. # This runs in O(log(n)) where n is the maximum of a and b. # :param a: the first integer # :param b: the second integer # :return: the greatest common divisor (gcd) of the two integers. def gcd(a, b): # print("New *a* is " + str(a) + ", new *b* is " + str(b)) if b == 0: # print("b is 0, stopping recursion, a is the gcd: " + str(a)) return a # print("Recursing with new a = b and new b = a % b...") return gcd(b, a % b)
def gcd(a, b): if b == 0: return a return gcd(b, a % b)
def _build(**kwargs): kwargs.setdefault("mac_src", '00.00.00.00.00.01') kwargs.setdefault("mac_dst", '00.00.00.00.00.02') kwargs.setdefault("mac_src_step", '00.00.00.00.00.01') kwargs.setdefault("mac_dst_step", '00.00.00.00.00.01') kwargs.setdefault("arp_src_hw_addr", '01.00.00.00.00.01') kwargs.setdefault("arp_dst_hw_addr", '01.00.00.00.00.02') kwargs.setdefault("ip_src_addr", '11.1.1.1') kwargs.setdefault("ip_dst_addr", '225.1.1.1') kwargs.setdefault("ip_src_step", '0.0.0.1') kwargs.setdefault("ip_dst_step", '0.0.0.1') kwargs.setdefault("mac_src_count", 20) kwargs.setdefault("mac_dst_count", 20) kwargs.setdefault("arp_src_hw_count", 20) kwargs.setdefault("arp_dst_hw_count", 10) kwargs.setdefault("ip_src_count", 20) kwargs.setdefault("ip_dst_count", 20) kwargs.setdefault("transmit_mode", 'continuous') kwargs.setdefault("length_mode", 'fixed') kwargs.setdefault("vlan_id", 10) kwargs.setdefault("vlan_id_count", 10) kwargs.setdefault("vlan_id_step", 3) kwargs.setdefault("l2_encap", 'ethernet_ii') kwargs.setdefault("frame_size", 64) kwargs.setdefault("pkts_per_burst", 10) kwargs.setdefault("mode", "create") return kwargs def _build2(index=0): if index == 0: return _build() if index == 1: return _build(length_mode='random', transmit_mode='single_burst') if index == 2: return _build(length_mode='increment', transmit_mode='single_burst', frame_size_step=2000) if index == 3: return _build(mac_dst_mode="increment") if index == 4: return _build(mac_src_mode="increment", transmit_mode='single_burst') if index == 5: return _build(l3_protocol='arp', arp_src_hw_mode="increment", arp_dst_hw_mode="decrement") if index == 6: return _build(rate_pps=1, l3_protocol='ipv4', ip_src_mode='increment', ip_dst_mode='decrement') if index == 7: return _build(vlan_user_priority="3", l2_encap="ethernet_ii_vlan", vlan_id_mode="increment") if index == 8: return _build(vlan="enable", l3_protocol='ipv4', ip_src_addr='1.1.1.1', ip_dst_addr='5.5.5.5', ip_dscp="8", high_speed_result_analysis=0, track_by='trackingenabled0 ipv4DefaultPhb0', ip_dscp_tracking=1) if index == 9: return _build(l2_encap='ethernet_ii', ethernet_value='88CC', data_pattern='02 07 04 00 11 97 2F 8E 80 04 07 03 00 11 97 2F 8E 82 06 02 00 78 00 00 00 00 ' '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00') if index == 10: return _build(l2_encap='ethernet_ii', ethernet_value='8809', data_pattern_mode='fixed', data_pattern='02 07 04 00 11 97 2F 8E 80 04 07 03 00 11 97 2F 8E 82 06 02 00 78 00 00 00 00 ' '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00') if index == 11: return _build(data_pattern='FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 2D 01 04 00 C8 00 5A 05 05 ' '05 05 10 02 0E 01 04 00 01 00 01 02 00 41 04 00 00 00 C8', l3_protocol='ipv4', ip_protocol=6, ip_src_addr='1.1.1.1', l4_protocol='tcp', ip_precedence=5, frame_size=103, ip_dst_addr='1.1.1.2', tcp_dst_port=179, tcp_src_port=54821, tcp_window=115, tcp_seq_num=1115372998, tcp_ack_num=1532875182,tcp_ack_flag=1, tcp_psh_flag=1, ip_ttl=1) if index == 12: return _build(l3_protocol='ipv6', data_pattern='01 D1 49 5E 00 08 00 02 00 78 00 01 00 0A 00 03 00 01 00 13 ' '5F 1F F2 80 00 06 00 06 00 19 00 17 00 18 00 19 00 0C 00 33 ' '00 01 00 00 00 00 00 00 00 00', frame_size=116, ipv6_dst_addr="FF02:0:0:0:0:0:1:2", ipv6_src_addr="FE80:0:0:0:201:5FF:FE00:500", ipv6_next_header=17, ipv6_traffic_class=224,l4_protocol='udp',udp_dst_port=546, udp_src_port=547, ipv6_hop_limit=255) if index == 13: return _build(l3_protocol='arp', arp_src_hw_addr="00:00:00:11:11:80", arp_dst_hw_addr="00:00:00:00:00:00", arp_operation='arpRequest', ip_src_addr='1.1.1.1', ip_dst_addr='1.1.1.2') if index == 14: return _build(l3_protocol='ipv6', data_pattern='FF FF', l4_protocol="icmp", ipv6_dst_addr="fe80::ba6a:97ff:feca:bb98", ipv6_src_addr="2001::2", ipv6_next_header=58, icmp_target_addr='2001::2', icmp_type=136, icmp_ndp_nam_o_flag=0, icmp_ndp_nam_r_flag=1, icmp_ndp_nam_s_flag=1, ipv6_hop_limit=255) if index == 15: return _build(rate_pps=1, l3_protocol='ipv4',ip_src_addr='11.1.1.1', ip_dst_addr='225.1.1.1',ip_protocol=2, \ l4_protocol='igmp',igmp_msg_type='report',igmp_group_addr='225.1.1.1',high_speed_result_analysis=0) return None def ut_stream_get(index=0, **kws): kwargs = _build2(index) if kwargs: kwargs.update(kws) return kwargs if __name__ == '__main__': print(ut_stream_get(0)) for i in range(100): d = ut_stream_get(i) if not d: break print(d)
def _build(**kwargs): kwargs.setdefault('mac_src', '00.00.00.00.00.01') kwargs.setdefault('mac_dst', '00.00.00.00.00.02') kwargs.setdefault('mac_src_step', '00.00.00.00.00.01') kwargs.setdefault('mac_dst_step', '00.00.00.00.00.01') kwargs.setdefault('arp_src_hw_addr', '01.00.00.00.00.01') kwargs.setdefault('arp_dst_hw_addr', '01.00.00.00.00.02') kwargs.setdefault('ip_src_addr', '11.1.1.1') kwargs.setdefault('ip_dst_addr', '225.1.1.1') kwargs.setdefault('ip_src_step', '0.0.0.1') kwargs.setdefault('ip_dst_step', '0.0.0.1') kwargs.setdefault('mac_src_count', 20) kwargs.setdefault('mac_dst_count', 20) kwargs.setdefault('arp_src_hw_count', 20) kwargs.setdefault('arp_dst_hw_count', 10) kwargs.setdefault('ip_src_count', 20) kwargs.setdefault('ip_dst_count', 20) kwargs.setdefault('transmit_mode', 'continuous') kwargs.setdefault('length_mode', 'fixed') kwargs.setdefault('vlan_id', 10) kwargs.setdefault('vlan_id_count', 10) kwargs.setdefault('vlan_id_step', 3) kwargs.setdefault('l2_encap', 'ethernet_ii') kwargs.setdefault('frame_size', 64) kwargs.setdefault('pkts_per_burst', 10) kwargs.setdefault('mode', 'create') return kwargs def _build2(index=0): if index == 0: return _build() if index == 1: return _build(length_mode='random', transmit_mode='single_burst') if index == 2: return _build(length_mode='increment', transmit_mode='single_burst', frame_size_step=2000) if index == 3: return _build(mac_dst_mode='increment') if index == 4: return _build(mac_src_mode='increment', transmit_mode='single_burst') if index == 5: return _build(l3_protocol='arp', arp_src_hw_mode='increment', arp_dst_hw_mode='decrement') if index == 6: return _build(rate_pps=1, l3_protocol='ipv4', ip_src_mode='increment', ip_dst_mode='decrement') if index == 7: return _build(vlan_user_priority='3', l2_encap='ethernet_ii_vlan', vlan_id_mode='increment') if index == 8: return _build(vlan='enable', l3_protocol='ipv4', ip_src_addr='1.1.1.1', ip_dst_addr='5.5.5.5', ip_dscp='8', high_speed_result_analysis=0, track_by='trackingenabled0 ipv4DefaultPhb0', ip_dscp_tracking=1) if index == 9: return _build(l2_encap='ethernet_ii', ethernet_value='88CC', data_pattern='02 07 04 00 11 97 2F 8E 80 04 07 03 00 11 97 2F 8E 82 06 02 00 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00') if index == 10: return _build(l2_encap='ethernet_ii', ethernet_value='8809', data_pattern_mode='fixed', data_pattern='02 07 04 00 11 97 2F 8E 80 04 07 03 00 11 97 2F 8E 82 06 02 00 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00') if index == 11: return _build(data_pattern='FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 2D 01 04 00 C8 00 5A 05 05 05 05 10 02 0E 01 04 00 01 00 01 02 00 41 04 00 00 00 C8', l3_protocol='ipv4', ip_protocol=6, ip_src_addr='1.1.1.1', l4_protocol='tcp', ip_precedence=5, frame_size=103, ip_dst_addr='1.1.1.2', tcp_dst_port=179, tcp_src_port=54821, tcp_window=115, tcp_seq_num=1115372998, tcp_ack_num=1532875182, tcp_ack_flag=1, tcp_psh_flag=1, ip_ttl=1) if index == 12: return _build(l3_protocol='ipv6', data_pattern='01 D1 49 5E 00 08 00 02 00 78 00 01 00 0A 00 03 00 01 00 13 5F 1F F2 80 00 06 00 06 00 19 00 17 00 18 00 19 00 0C 00 33 00 01 00 00 00 00 00 00 00 00', frame_size=116, ipv6_dst_addr='FF02:0:0:0:0:0:1:2', ipv6_src_addr='FE80:0:0:0:201:5FF:FE00:500', ipv6_next_header=17, ipv6_traffic_class=224, l4_protocol='udp', udp_dst_port=546, udp_src_port=547, ipv6_hop_limit=255) if index == 13: return _build(l3_protocol='arp', arp_src_hw_addr='00:00:00:11:11:80', arp_dst_hw_addr='00:00:00:00:00:00', arp_operation='arpRequest', ip_src_addr='1.1.1.1', ip_dst_addr='1.1.1.2') if index == 14: return _build(l3_protocol='ipv6', data_pattern='FF FF', l4_protocol='icmp', ipv6_dst_addr='fe80::ba6a:97ff:feca:bb98', ipv6_src_addr='2001::2', ipv6_next_header=58, icmp_target_addr='2001::2', icmp_type=136, icmp_ndp_nam_o_flag=0, icmp_ndp_nam_r_flag=1, icmp_ndp_nam_s_flag=1, ipv6_hop_limit=255) if index == 15: return _build(rate_pps=1, l3_protocol='ipv4', ip_src_addr='11.1.1.1', ip_dst_addr='225.1.1.1', ip_protocol=2, l4_protocol='igmp', igmp_msg_type='report', igmp_group_addr='225.1.1.1', high_speed_result_analysis=0) return None def ut_stream_get(index=0, **kws): kwargs = _build2(index) if kwargs: kwargs.update(kws) return kwargs if __name__ == '__main__': print(ut_stream_get(0)) for i in range(100): d = ut_stream_get(i) if not d: break print(d)
#Weird algorithm for matrix multiplication. just addition will produce result matrix class Solution: def oddCells(self, n: int, m: int, indices: List[List[int]]) -> int: row = [0] * n col = [0] * m ans = 0 for r,c in indices: row[r] += 1 col[c] += 1 for i in range(n): for j in range(m): ans += (row[i] + col[j] )%2 return ans
class Solution: def odd_cells(self, n: int, m: int, indices: List[List[int]]) -> int: row = [0] * n col = [0] * m ans = 0 for (r, c) in indices: row[r] += 1 col[c] += 1 for i in range(n): for j in range(m): ans += (row[i] + col[j]) % 2 return ans
unavailable_dict = { "0": { ("11", "12", "13"): [ "message_1", "message_4" ], ("21", "22", "23"): [ "message_3", "message_6" ], ("24",): [ "message_2", "message_5" ], ("0", "blank",): [ "message_7" ] }, "1": { ("11", "12", "13"): [ "message_8" ], ("21", "22", "23"): [ "message_9" ], ("0", "blank",): [ "message_10" ] }, "2": {("0", "blank",): [ "message_11" ]} } earnings_dict = { "0": { "13": { "4": "after_3_years_23_4" }, "11": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "12": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "23": { "4": "after_3_years_23_4" }, "21": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "22": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "blank": "unavailable_0_any" }, "1": { "13": { "4": "after_3_years_23_4" }, "11": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "12": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "23": { "4": "after_3_years_23_4" }, "21": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "22": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "blank": "unavailable_1_any" }, "2": { "13": { "4": "after_3_years_23_4" }, "11": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "12": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "23": { "4": "after_3_years_23_4" }, "21": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "22": { "3": "earnings_15_months_unavailable_22_21_3", "4": "after_3_years_21_22_4" }, "blank": "unavailable_2_any" }, }
unavailable_dict = {'0': {('11', '12', '13'): ['message_1', 'message_4'], ('21', '22', '23'): ['message_3', 'message_6'], ('24',): ['message_2', 'message_5'], ('0', 'blank'): ['message_7']}, '1': {('11', '12', '13'): ['message_8'], ('21', '22', '23'): ['message_9'], ('0', 'blank'): ['message_10']}, '2': {('0', 'blank'): ['message_11']}} earnings_dict = {'0': {'13': {'4': 'after_3_years_23_4'}, '11': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '12': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '23': {'4': 'after_3_years_23_4'}, '21': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '22': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, 'blank': 'unavailable_0_any'}, '1': {'13': {'4': 'after_3_years_23_4'}, '11': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '12': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '23': {'4': 'after_3_years_23_4'}, '21': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '22': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, 'blank': 'unavailable_1_any'}, '2': {'13': {'4': 'after_3_years_23_4'}, '11': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '12': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '23': {'4': 'after_3_years_23_4'}, '21': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, '22': {'3': 'earnings_15_months_unavailable_22_21_3', '4': 'after_3_years_21_22_4'}, 'blank': 'unavailable_2_any'}}
# In theory, RightScale's API is discoverable through ``links`` in responses. # In practice, we have to help our robots along with the following hints: RS_DEFAULT_ACTIONS = { 'index': { 'http_method': 'get', }, 'show': { 'http_method': 'get', 'extra_path': '/%(res_id)s', }, 'create': { 'http_method': 'post', }, 'update': { 'http_method': 'put', 'extra_path': '/%(res_id)s', }, 'destroy': { 'http_method': 'delete', 'extra_path': '/%(res_id)s', }, } ALERT_ACTIONS = { 'disable': { 'http_method': 'post', 'extra_path': '/%(res_id)s/disable', }, 'enable': { 'http_method': 'post', 'extra_path': '/%(res_id)s/enable', }, 'quench': { 'http_method': 'post', 'extra_path': '/%(res_id)s/quench', }, 'create': None, 'update': None, 'destroy': None, } COOKBOOK_ATTACHMENT_ACTIONS = { 'multi_attach': { 'http_method': 'post', 'extra_path': '/multi_attach', }, 'multi_detach': { 'http_method': 'post', 'extra_path': '/multi_detach', }, 'update': None, } INPUT_ACTIONS = { 'multi_update': { 'http_method': 'put', 'extra_path': '/multi_update', }, 'show': None, 'create': None, 'update': None, 'destroy': None, } INSTANCE_ACTIONS = { 'launch': { 'http_method': 'post', 'extra_path': '/%(res_id)s/launch', }, 'lock': { 'http_method': 'post', 'extra_path': '/%(res_id)s/lock', }, 'multi_run_executable': { 'http_method': 'post', 'extra_path': '/multi_run_executable', }, 'multi_terminate': { 'http_method': 'post', 'extra_path': '/multi_terminate', }, 'reboot': { 'http_method': 'post', 'extra_path': '/%(res_id)s/reboot', }, 'run_executable': { 'http_method': 'post', 'extra_path': '/%(res_id)s/run_executable', }, 'set_custom_lodgement': { 'http_method': 'post', 'extra_path': '/%(res_id)s/set_custom_lodgement', }, 'start': { 'http_method': 'post', 'extra_path': '/%(res_id)s/start', }, 'stop': { 'http_method': 'post', 'extra_path': '/%(res_id)s/stop', }, 'terminate': { 'http_method': 'post', 'extra_path': '/%(res_id)s/terminate', }, 'unlock': { 'http_method': 'post', 'extra_path': '/%(res_id)s/unlock', }, 'create': None, 'destroy': None, } MULTI_CLOUD_IMAGE_ACTIONS = { 'clone': { 'http_method': 'post', 'extra_path': '/%(res_id)s/clone', }, 'commit': { 'http_method': 'post', 'extra_path': '/%(res_id)s/commit', }, } SERVER_ARRAY_ACTIONS = { 'clone': { 'http_method': 'post', 'extra_path': '/%(res_id)s/clone', }, 'current_instances': { 'http_method': 'get', 'extra_path': '/%(res_id)s/current_instances', }, 'launch': { 'http_method': 'post', 'extra_path': '/%(res_id)s/launch', }, 'multi_run_executable': { 'http_method': 'post', 'extra_path': '/%(res_id)s/multi_run_executable', }, 'multi_terminate': { 'http_method': 'post', 'extra_path': '/%(res_id)s/multi_terminate', }, } UPDATE_NONE_ACTIONS = { 'update': None, } # Specify variations from the default actions defined in RS_DEFAULT_ACTIONS. # These specs come from http://reference.rightscale.com/api1.5/index.html ROOT_COLLECTIONS = { 'account_groups': { 'create': None, 'update': None, 'destroy': None, }, 'accounts': { 'index': None, 'create': None, 'update': None, 'destroy': None, }, # alert_specs use defaults 'alerts': ALERT_ACTIONS, 'audit_entries': { 'append': { 'http_method': 'post', 'extra_path': '/%(res_id)s/append', }, 'detail': { 'http_method': 'get', 'extra_path': '/%(res_id)s/detail', }, 'destroy': None, }, 'backups': { 'cleanup': { 'http_method': 'post', 'extra_path': '/cleanup', }, }, 'child_accounts': { 'show': None, 'destroy': None, }, 'cloud_accounts': { 'update': None, }, 'clouds': { 'create': None, 'update': None, 'destroy': None, }, # these are only in the 1.5 docs and are not available as hrefs. 'cookbook_attachments': COOKBOOK_ATTACHMENT_ACTIONS, 'cookbooks': { 'follow': { 'http_method': 'post', 'extra_path': '/%(res_id)s/follow', }, 'freeze': { 'http_method': 'post', 'extra_path': '/%(res_id)s/freeze', }, 'obsolete': { 'http_method': 'post', 'extra_path': '/%(res_id)s/obsolete', }, 'create': None, 'update': None, }, # credentials use defaults 'deployments': { 'clone': { 'http_method': 'post', 'extra_path': '/%(res_id)s/clone', }, 'lock': { 'http_method': 'post', 'extra_path': '/%(res_id)s/lock', }, 'servers': { 'http_method': 'get', 'extra_path': '/%(res_id)s/servers', }, 'unlock': { 'http_method': 'post', 'extra_path': '/%(res_id)s/unlock', }, }, 'identity_providers': { 'create': None, 'update': None, 'destroy': None, }, 'multi_cloud_images': MULTI_CLOUD_IMAGE_ACTIONS, # network_gateways use defaults # network_option_group_attachments use defaults # network_option_groups use defaults # networks use defaults # oauth2 is a special case just used during auth 'permissions': { 'update': None, }, # only in 1.5 api docs, not discoverable via href 'placement_groups': { 'update': None, }, 'preferences': { 'create': None, }, 'publication_lineages': { 'index': None, 'create': None, 'update': None, 'destroy': None, }, 'publications': { 'import': { 'http_method': 'post', 'extra_path': '/%(res_id)s/import', }, 'create': None, 'update': None, 'destroy': None, }, 'repositories': { 'cookbook_import': { 'http_method': 'post', 'extra_path': '/%(res_id)s/cookbook_import', }, 'refetch': { 'http_method': 'post', 'extra_path': '/%(res_id)s/refetch', }, 'resolve': { 'http_method': 'post', 'extra_path': '/resolve', }, }, 'right_scripts': { 'create': { 'http_method': 'post', }, 'commit': { 'http_method': 'post', 'extra_path': '/%(res_id)s/commit', }, 'update': { 'http_method': 'put', }, 'destroy': { 'http_method': 'delete', }, }, # route_tables uses defaults # routes uses defaults # security_group_rules uses defaults # rs api 1.5 returns a link where rel=self for the ``/api/sessions`` # resource. sadly, the href=/api/session. regardless, we don't need # it as an attribute because it's where we started off. 'self': None, 'server_arrays': SERVER_ARRAY_ACTIONS, 'server_template_multi_cloud_images': { 'make_default': { 'http_method': 'post', 'extra_path': '/%(res_id)s/make_default', }, 'update': None, }, 'server_templates': { 'clone': { 'http_method': 'post', 'extra_path': '/%(res_id)s/clone', }, 'commit': { 'http_method': 'post', 'extra_path': '/%(res_id)s/commit', }, 'detect_changes_in_head': { 'http_method': 'post', 'extra_path': '/%(res_id)s/detect_changes_in_head', }, 'publish': { 'http_method': 'post', 'extra_path': '/%(res_id)s/publish', }, 'resolve': { 'http_method': 'post', 'extra_path': '/%(res_id)s/resolve', }, 'swap_repository': { 'http_method': 'post', 'extra_path': '/%(res_id)s/swap_repository', }, }, 'servers': { 'clone': { 'http_method': 'post', 'extra_path': '/%(res_id)s/clone', }, 'launch': { 'http_method': 'post', 'extra_path': '/%(res_id)s/launch', }, 'terminate': { 'http_method': 'post', 'extra_path': '/%(res_id)s/terminate', }, }, # workaround inconsistency in rs hateoas 'sessions': { 'accounts': { 'http_method': 'get', 'extra_path': '/accounts', }, 'index': None, 'show': None, 'create': None, 'update': None, 'destroy': None, }, 'tags': { 'by_resource': { 'http_method': 'post', 'extra_path': '/by_resource', }, 'by_tag': { 'http_method': 'post', 'extra_path': '/by_tag', }, 'multi_add': { 'http_method': 'post', 'extra_path': '/multi_add', }, 'multi_delete': { 'http_method': 'post', 'extra_path': '/multi_delete', }, 'index': None, 'show': None, 'create': None, 'update': None, 'destroy': None, }, 'users': { 'destroy': None, }, } CLOUD_COLLECTIONS = { 'datacenters': { 'create': None, 'update': None, 'destroy': None, }, 'images': { 'create': None, 'update': None, 'destroy': None, }, 'instance_types': { 'create': None, 'update': None, 'destroy': None, }, 'instances': INSTANCE_ACTIONS, 'ip_address_bindings': UPDATE_NONE_ACTIONS, # ip_addresses uses defaults 'recurring_volume_attachments': UPDATE_NONE_ACTIONS, 'security_groups': { 'update': None, }, 'ssh_keys': { 'update': None, }, # subnets uses defaults 'volume_attachments': UPDATE_NONE_ACTIONS, 'volume_snapshots': UPDATE_NONE_ACTIONS, } INSTANCE_COLLECTIONS = { 'alerts': ALERT_ACTIONS, 'inputs': INPUT_ACTIONS, # instance_custom_lodgements uses defaults 'monitoring_metrics': { 'data': { 'http_method': 'get', 'extra_path': '/%(res_id)s/data', }, 'create': None, 'update': None, 'destroy': None, }, # subnets uses defaults # TODO: investigate to see how useful tasks is by itself. i.e. there's # no way to index() all tasks for an instance. regardless, this # definition is here at least for completeness. 'tasks': { 'show': { 'http_method': 'get', 'extra_path': '/live/tasks/%(res_id)s', }, 'index': None, 'create': None, 'update': None, 'destroy': None, }, 'volume_attachments': UPDATE_NONE_ACTIONS, 'volumes': { 'update': None, }, 'volume_types': { 'create': None, 'update': None, 'destroy': None, }, } COOKBOOK_COLLECTIONS = { 'cookbook_attachments': COOKBOOK_ATTACHMENT_ACTIONS, } DEPLOYMENT_COLLECTIONS = { 'alerts': ALERT_ACTIONS, 'inputs': INPUT_ACTIONS, 'server_arrays': SERVER_ARRAY_ACTIONS, } IP_ADDRESS_COLLECTIONS = { 'ip_address_bindings': UPDATE_NONE_ACTIONS, } REPOSITORY_COLLECTIONS = { 'repository_assets': { 'create': None, 'update': None, 'destroy': None, }, } SERVER_COLLECTIONS = { # alert_specs use defaults 'alerts': ALERT_ACTIONS, } SERVER_ARRAY_COLLECTIONS = { # alert_specs use defaults 'alerts': ALERT_ACTIONS, 'current_instances': INSTANCE_ACTIONS, } SERVER_TEMPLATES_COLLECTIONS = { 'cookbook_attachments': COOKBOOK_ATTACHMENT_ACTIONS, 'inputs': INPUT_ACTIONS, 'multi_cloud_images': MULTI_CLOUD_IMAGE_ACTIONS, 'runnable_bindings': { 'multi_update': { 'http_method': 'put', 'extra_path': '/multi_update', }, 'update': None, }, } VOLUME_COLLECTIONS = { 'recurring_volume_attachments': UPDATE_NONE_ACTIONS, 'volume_snapshots': UPDATE_NONE_ACTIONS, } VOLUME_SNAPSHOT_COLLECTIONS = { 'recurring_volume_attachments': UPDATE_NONE_ACTIONS, } COLLECTIONS = { 'application/vnd.rightscale.session+json': ROOT_COLLECTIONS, 'application/vnd.rightscale.cookbook+json': COOKBOOK_COLLECTIONS, 'application/vnd.rightscale.cloud+json': CLOUD_COLLECTIONS, 'application/vnd.rightscale.instance+json': INSTANCE_COLLECTIONS, 'application/vnd.rightscale.ip_address+json': IP_ADDRESS_COLLECTIONS, 'application/vnd.rightscale.deployment+json': DEPLOYMENT_COLLECTIONS, # multi_cloud_image has a ``settings`` collection (a.k.a. # MultiCloudImageSettings in the RS docs) that just uses defaults, so # no need for an extra map 'application/vnd.rightscale.repository+json': REPOSITORY_COLLECTIONS, 'application/vnd.rightscale.server+json': SERVER_COLLECTIONS, 'application/vnd.rightscale.server_array+json': SERVER_ARRAY_COLLECTIONS, 'application/vnd.rightscale.server_template+json': SERVER_TEMPLATES_COLLECTIONS, # security_group has a ``security_group_rules`` collection that just # uses defaults, so no need for an extra map 'application/vnd.rightscale.volume+json': VOLUME_COLLECTIONS, 'application/vnd.rightscale.volume_snapshot+json': VOLUME_SNAPSHOT_COLLECTIONS, }
rs_default_actions = {'index': {'http_method': 'get'}, 'show': {'http_method': 'get', 'extra_path': '/%(res_id)s'}, 'create': {'http_method': 'post'}, 'update': {'http_method': 'put', 'extra_path': '/%(res_id)s'}, 'destroy': {'http_method': 'delete', 'extra_path': '/%(res_id)s'}} alert_actions = {'disable': {'http_method': 'post', 'extra_path': '/%(res_id)s/disable'}, 'enable': {'http_method': 'post', 'extra_path': '/%(res_id)s/enable'}, 'quench': {'http_method': 'post', 'extra_path': '/%(res_id)s/quench'}, 'create': None, 'update': None, 'destroy': None} cookbook_attachment_actions = {'multi_attach': {'http_method': 'post', 'extra_path': '/multi_attach'}, 'multi_detach': {'http_method': 'post', 'extra_path': '/multi_detach'}, 'update': None} input_actions = {'multi_update': {'http_method': 'put', 'extra_path': '/multi_update'}, 'show': None, 'create': None, 'update': None, 'destroy': None} instance_actions = {'launch': {'http_method': 'post', 'extra_path': '/%(res_id)s/launch'}, 'lock': {'http_method': 'post', 'extra_path': '/%(res_id)s/lock'}, 'multi_run_executable': {'http_method': 'post', 'extra_path': '/multi_run_executable'}, 'multi_terminate': {'http_method': 'post', 'extra_path': '/multi_terminate'}, 'reboot': {'http_method': 'post', 'extra_path': '/%(res_id)s/reboot'}, 'run_executable': {'http_method': 'post', 'extra_path': '/%(res_id)s/run_executable'}, 'set_custom_lodgement': {'http_method': 'post', 'extra_path': '/%(res_id)s/set_custom_lodgement'}, 'start': {'http_method': 'post', 'extra_path': '/%(res_id)s/start'}, 'stop': {'http_method': 'post', 'extra_path': '/%(res_id)s/stop'}, 'terminate': {'http_method': 'post', 'extra_path': '/%(res_id)s/terminate'}, 'unlock': {'http_method': 'post', 'extra_path': '/%(res_id)s/unlock'}, 'create': None, 'destroy': None} multi_cloud_image_actions = {'clone': {'http_method': 'post', 'extra_path': '/%(res_id)s/clone'}, 'commit': {'http_method': 'post', 'extra_path': '/%(res_id)s/commit'}} server_array_actions = {'clone': {'http_method': 'post', 'extra_path': '/%(res_id)s/clone'}, 'current_instances': {'http_method': 'get', 'extra_path': '/%(res_id)s/current_instances'}, 'launch': {'http_method': 'post', 'extra_path': '/%(res_id)s/launch'}, 'multi_run_executable': {'http_method': 'post', 'extra_path': '/%(res_id)s/multi_run_executable'}, 'multi_terminate': {'http_method': 'post', 'extra_path': '/%(res_id)s/multi_terminate'}} update_none_actions = {'update': None} root_collections = {'account_groups': {'create': None, 'update': None, 'destroy': None}, 'accounts': {'index': None, 'create': None, 'update': None, 'destroy': None}, 'alerts': ALERT_ACTIONS, 'audit_entries': {'append': {'http_method': 'post', 'extra_path': '/%(res_id)s/append'}, 'detail': {'http_method': 'get', 'extra_path': '/%(res_id)s/detail'}, 'destroy': None}, 'backups': {'cleanup': {'http_method': 'post', 'extra_path': '/cleanup'}}, 'child_accounts': {'show': None, 'destroy': None}, 'cloud_accounts': {'update': None}, 'clouds': {'create': None, 'update': None, 'destroy': None}, 'cookbook_attachments': COOKBOOK_ATTACHMENT_ACTIONS, 'cookbooks': {'follow': {'http_method': 'post', 'extra_path': '/%(res_id)s/follow'}, 'freeze': {'http_method': 'post', 'extra_path': '/%(res_id)s/freeze'}, 'obsolete': {'http_method': 'post', 'extra_path': '/%(res_id)s/obsolete'}, 'create': None, 'update': None}, 'deployments': {'clone': {'http_method': 'post', 'extra_path': '/%(res_id)s/clone'}, 'lock': {'http_method': 'post', 'extra_path': '/%(res_id)s/lock'}, 'servers': {'http_method': 'get', 'extra_path': '/%(res_id)s/servers'}, 'unlock': {'http_method': 'post', 'extra_path': '/%(res_id)s/unlock'}}, 'identity_providers': {'create': None, 'update': None, 'destroy': None}, 'multi_cloud_images': MULTI_CLOUD_IMAGE_ACTIONS, 'permissions': {'update': None}, 'placement_groups': {'update': None}, 'preferences': {'create': None}, 'publication_lineages': {'index': None, 'create': None, 'update': None, 'destroy': None}, 'publications': {'import': {'http_method': 'post', 'extra_path': '/%(res_id)s/import'}, 'create': None, 'update': None, 'destroy': None}, 'repositories': {'cookbook_import': {'http_method': 'post', 'extra_path': '/%(res_id)s/cookbook_import'}, 'refetch': {'http_method': 'post', 'extra_path': '/%(res_id)s/refetch'}, 'resolve': {'http_method': 'post', 'extra_path': '/resolve'}}, 'right_scripts': {'create': {'http_method': 'post'}, 'commit': {'http_method': 'post', 'extra_path': '/%(res_id)s/commit'}, 'update': {'http_method': 'put'}, 'destroy': {'http_method': 'delete'}}, 'self': None, 'server_arrays': SERVER_ARRAY_ACTIONS, 'server_template_multi_cloud_images': {'make_default': {'http_method': 'post', 'extra_path': '/%(res_id)s/make_default'}, 'update': None}, 'server_templates': {'clone': {'http_method': 'post', 'extra_path': '/%(res_id)s/clone'}, 'commit': {'http_method': 'post', 'extra_path': '/%(res_id)s/commit'}, 'detect_changes_in_head': {'http_method': 'post', 'extra_path': '/%(res_id)s/detect_changes_in_head'}, 'publish': {'http_method': 'post', 'extra_path': '/%(res_id)s/publish'}, 'resolve': {'http_method': 'post', 'extra_path': '/%(res_id)s/resolve'}, 'swap_repository': {'http_method': 'post', 'extra_path': '/%(res_id)s/swap_repository'}}, 'servers': {'clone': {'http_method': 'post', 'extra_path': '/%(res_id)s/clone'}, 'launch': {'http_method': 'post', 'extra_path': '/%(res_id)s/launch'}, 'terminate': {'http_method': 'post', 'extra_path': '/%(res_id)s/terminate'}}, 'sessions': {'accounts': {'http_method': 'get', 'extra_path': '/accounts'}, 'index': None, 'show': None, 'create': None, 'update': None, 'destroy': None}, 'tags': {'by_resource': {'http_method': 'post', 'extra_path': '/by_resource'}, 'by_tag': {'http_method': 'post', 'extra_path': '/by_tag'}, 'multi_add': {'http_method': 'post', 'extra_path': '/multi_add'}, 'multi_delete': {'http_method': 'post', 'extra_path': '/multi_delete'}, 'index': None, 'show': None, 'create': None, 'update': None, 'destroy': None}, 'users': {'destroy': None}} cloud_collections = {'datacenters': {'create': None, 'update': None, 'destroy': None}, 'images': {'create': None, 'update': None, 'destroy': None}, 'instance_types': {'create': None, 'update': None, 'destroy': None}, 'instances': INSTANCE_ACTIONS, 'ip_address_bindings': UPDATE_NONE_ACTIONS, 'recurring_volume_attachments': UPDATE_NONE_ACTIONS, 'security_groups': {'update': None}, 'ssh_keys': {'update': None}, 'volume_attachments': UPDATE_NONE_ACTIONS, 'volume_snapshots': UPDATE_NONE_ACTIONS} instance_collections = {'alerts': ALERT_ACTIONS, 'inputs': INPUT_ACTIONS, 'monitoring_metrics': {'data': {'http_method': 'get', 'extra_path': '/%(res_id)s/data'}, 'create': None, 'update': None, 'destroy': None}, 'tasks': {'show': {'http_method': 'get', 'extra_path': '/live/tasks/%(res_id)s'}, 'index': None, 'create': None, 'update': None, 'destroy': None}, 'volume_attachments': UPDATE_NONE_ACTIONS, 'volumes': {'update': None}, 'volume_types': {'create': None, 'update': None, 'destroy': None}} cookbook_collections = {'cookbook_attachments': COOKBOOK_ATTACHMENT_ACTIONS} deployment_collections = {'alerts': ALERT_ACTIONS, 'inputs': INPUT_ACTIONS, 'server_arrays': SERVER_ARRAY_ACTIONS} ip_address_collections = {'ip_address_bindings': UPDATE_NONE_ACTIONS} repository_collections = {'repository_assets': {'create': None, 'update': None, 'destroy': None}} server_collections = {'alerts': ALERT_ACTIONS} server_array_collections = {'alerts': ALERT_ACTIONS, 'current_instances': INSTANCE_ACTIONS} server_templates_collections = {'cookbook_attachments': COOKBOOK_ATTACHMENT_ACTIONS, 'inputs': INPUT_ACTIONS, 'multi_cloud_images': MULTI_CLOUD_IMAGE_ACTIONS, 'runnable_bindings': {'multi_update': {'http_method': 'put', 'extra_path': '/multi_update'}, 'update': None}} volume_collections = {'recurring_volume_attachments': UPDATE_NONE_ACTIONS, 'volume_snapshots': UPDATE_NONE_ACTIONS} volume_snapshot_collections = {'recurring_volume_attachments': UPDATE_NONE_ACTIONS} collections = {'application/vnd.rightscale.session+json': ROOT_COLLECTIONS, 'application/vnd.rightscale.cookbook+json': COOKBOOK_COLLECTIONS, 'application/vnd.rightscale.cloud+json': CLOUD_COLLECTIONS, 'application/vnd.rightscale.instance+json': INSTANCE_COLLECTIONS, 'application/vnd.rightscale.ip_address+json': IP_ADDRESS_COLLECTIONS, 'application/vnd.rightscale.deployment+json': DEPLOYMENT_COLLECTIONS, 'application/vnd.rightscale.repository+json': REPOSITORY_COLLECTIONS, 'application/vnd.rightscale.server+json': SERVER_COLLECTIONS, 'application/vnd.rightscale.server_array+json': SERVER_ARRAY_COLLECTIONS, 'application/vnd.rightscale.server_template+json': SERVER_TEMPLATES_COLLECTIONS, 'application/vnd.rightscale.volume+json': VOLUME_COLLECTIONS, 'application/vnd.rightscale.volume_snapshot+json': VOLUME_SNAPSHOT_COLLECTIONS}
''' Created on Oct 1, 2011 @author: jose '''
""" Created on Oct 1, 2011 @author: jose """
# Definition for a undirected graph node class UndirectedGraphNode: def __init__(self, x): self.label = x self.neighbors = [] def __str__(self): return "({} -> {})".format(self.label, [nb.label for nb in self.neighbors]) def __repr__(self): return self.__str__() class Solution: # @param node, a undirected graph node # @return a undirected graph node def cloneGraph(self, node): if node is None: return None old_labels = dict() frontier = [node] old_labels[node.label] = node while frontier: top = frontier.pop() for nb in top.neighbors: if nb.label not in old_labels: old_labels[nb.label] = nb frontier.append(nb) new_labels = dict() for v in old_labels: new_labels[v] = UndirectedGraphNode(v) for v in old_labels: for nb in old_labels[v].neighbors: new_labels[v].neighbors.append(new_labels[nb.label]) return new_labels[node.label] def main(): graph = [0, 1, 2] for i in range(3): graph[i] = UndirectedGraphNode(i) graph[0].neighbors = [graph[1], graph[2]] graph[1].neighbors = [graph[0], graph[2]] graph[2].neighbors = [graph[0], graph[1], graph[2]] fn = Solution().cloneGraph node = fn(graph[0]) print(node, node.neighbors[0], node.neighbors[1]) if __name__ == '__main__': main()
class Undirectedgraphnode: def __init__(self, x): self.label = x self.neighbors = [] def __str__(self): return '({} -> {})'.format(self.label, [nb.label for nb in self.neighbors]) def __repr__(self): return self.__str__() class Solution: def clone_graph(self, node): if node is None: return None old_labels = dict() frontier = [node] old_labels[node.label] = node while frontier: top = frontier.pop() for nb in top.neighbors: if nb.label not in old_labels: old_labels[nb.label] = nb frontier.append(nb) new_labels = dict() for v in old_labels: new_labels[v] = undirected_graph_node(v) for v in old_labels: for nb in old_labels[v].neighbors: new_labels[v].neighbors.append(new_labels[nb.label]) return new_labels[node.label] def main(): graph = [0, 1, 2] for i in range(3): graph[i] = undirected_graph_node(i) graph[0].neighbors = [graph[1], graph[2]] graph[1].neighbors = [graph[0], graph[2]] graph[2].neighbors = [graph[0], graph[1], graph[2]] fn = solution().cloneGraph node = fn(graph[0]) print(node, node.neighbors[0], node.neighbors[1]) if __name__ == '__main__': main()
class Salary: def __init__(self,pay,bonus): self.pay=pay self.bonus=bonus def annual(self): return (self.pay*12)+self.bonus class employee: def __init__(self,name,age,pay,bonus): self.name=name self.age=age self.pay=pay self.bonus=bonus self.obj_salary=Salary(pay,bonus) def total_salary(self): return self.obj_salary.annual() emp=employee('ajay',12,1,1) print(emp.total_salary())
class Salary: def __init__(self, pay, bonus): self.pay = pay self.bonus = bonus def annual(self): return self.pay * 12 + self.bonus class Employee: def __init__(self, name, age, pay, bonus): self.name = name self.age = age self.pay = pay self.bonus = bonus self.obj_salary = salary(pay, bonus) def total_salary(self): return self.obj_salary.annual() emp = employee('ajay', 12, 1, 1) print(emp.total_salary())
# Christian Piper # 11/11/19 # This will accept algebra equations on the input and solve for the variable def main(): equation = input("Input your equation: ") variable = input("Input the variable to be solved for: ") solveAlgebraEquation(equation, variable) def solveAlgebraEquation(equation, variable): collector = ["","","","","",""] iteration = 0 for char in equation: if char == " " or char == "+" or char == "-" or char == "*" or char == "/" or char == ")" or char == "=" or char == "^": print(char + " - It's a separator!") iteration += 1 else: collector[iteration] = collector[iteration] + char for count in range(0, iteration): print(collector[count]) main()
def main(): equation = input('Input your equation: ') variable = input('Input the variable to be solved for: ') solve_algebra_equation(equation, variable) def solve_algebra_equation(equation, variable): collector = ['', '', '', '', '', ''] iteration = 0 for char in equation: if char == ' ' or char == '+' or char == '-' or (char == '*') or (char == '/') or (char == ')') or (char == '=') or (char == '^'): print(char + " - It's a separator!") iteration += 1 else: collector[iteration] = collector[iteration] + char for count in range(0, iteration): print(collector[count]) main()
# Location of exported xml playlist from itunes # Update username and directory to their appropriate path e.g C:/users/bob/desktop/file.xml xml_playlist_loc = 'C:/users/username/directory/_MyMusic_.xml' # name of user directory where your Music folder is located # example: C:/users/bob/music/itunes music_folder_dir = 'name'
xml_playlist_loc = 'C:/users/username/directory/_MyMusic_.xml' music_folder_dir = 'name'
def backtickify(s): return '`{}`'.format(s) def bind_exercises(g, exercises, start=1): for i, ex in enumerate(exercises): qno = i + start varname = 'q{}'.format(qno) assert varname not in g g[varname] = ex yield varname
def backtickify(s): return '`{}`'.format(s) def bind_exercises(g, exercises, start=1): for (i, ex) in enumerate(exercises): qno = i + start varname = 'q{}'.format(qno) assert varname not in g g[varname] = ex yield varname
# # PySNMP MIB module RBN-CONFIG-FILE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBN-CONFIG-FILE-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:44:14 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) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint") InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") rbnMgmt, = mibBuilder.importSymbols("RBN-SMI", "rbnMgmt") OwnerString, = mibBuilder.importSymbols("RMON-MIB", "OwnerString") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") MibIdentifier, iso, Bits, Counter64, ObjectIdentity, NotificationType, Integer32, Counter32, Gauge32, ModuleIdentity, Unsigned32, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "iso", "Bits", "Counter64", "ObjectIdentity", "NotificationType", "Integer32", "Counter32", "Gauge32", "ModuleIdentity", "Unsigned32", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress") TestAndIncr, TextualConvention, DisplayString, TruthValue, RowStatus, TimeStamp = mibBuilder.importSymbols("SNMPv2-TC", "TestAndIncr", "TextualConvention", "DisplayString", "TruthValue", "RowStatus", "TimeStamp") rbnConfigFileMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 2352, 2, 13)) rbnConfigFileMib.setRevisions(('2002-05-29 00:00', '2001-10-10 00:00',)) if mibBuilder.loadTexts: rbnConfigFileMib.setLastUpdated('200110100000Z') if mibBuilder.loadTexts: rbnConfigFileMib.setOrganization('Redback Networks, Inc.') rbnConfigFileMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 0)) rbnConfigFileMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1)) rbnConfigFileMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2)) rcfJobs = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1)) rcfJobSpinLock = MibScalar((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 1), TestAndIncr()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rcfJobSpinLock.setStatus('current') rcfJobNextIndex = MibScalar((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobNextIndex.setStatus('current') rcfJobTable = MibTable((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3), ) if mibBuilder.loadTexts: rcfJobTable.setStatus('current') rcfJobEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1), ).setIndexNames((0, "RBN-CONFIG-FILE-MIB", "rcfJobIndex")) if mibBuilder.loadTexts: rcfJobEntry.setStatus('current') rcfJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))) if mibBuilder.loadTexts: rcfJobIndex.setStatus('current') rcfJobOp = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("load", 0), ("save", 1)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobOp.setStatus('current') rcfJobProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("local", 0), ("tftp", 1), ("ftp", 2))).clone('local')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobProtocol.setStatus('current') rcfJobFilename = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobFilename.setStatus('current') rcfJobIpAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 5), InetAddressType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobIpAddressType.setStatus('current') rcfJobIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 6), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobIpAddress.setStatus('current') rcfJobUsername = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 7), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobUsername.setStatus('current') rcfJobPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 8), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobPassword.setStatus('current') rcfJobPassiveMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 9), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobPassiveMode.setStatus('current') rcfJobStopAtLine = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 10), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobStopAtLine.setStatus('current') rcfJobSaveDefaults = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 11), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobSaveDefaults.setStatus('current') rcfJobState = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("pending", 0), ("inProgress", 1), ("completed", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobState.setStatus('current') rcfJobResult = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("success", 0), ("other", 1), ("noMemory", 2), ("parse", 3), ("io", 4), ("access", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobResult.setStatus('current') rcfJobErrorMsgs = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 14), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobErrorMsgs.setStatus('current') rcfJobCreateTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 15), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobCreateTime.setStatus('current') rcfJobStartTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 16), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobStartTime.setStatus('current') rcfJobStopTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 17), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: rcfJobStopTime.setStatus('current') rcfJobNotifyOnCompletion = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 18), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobNotifyOnCompletion.setStatus('current') rcfJobOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 19), OwnerString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobOwner.setStatus('current') rcfJobRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 20), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rcfJobRowStatus.setStatus('current') rcfJobCompleted = NotificationType((1, 3, 6, 1, 4, 1, 2352, 2, 13, 0, 1)).setObjects(("RBN-CONFIG-FILE-MIB", "rcfJobResult"), ("RBN-CONFIG-FILE-MIB", "rcfJobErrorMsgs")) if mibBuilder.loadTexts: rcfJobCompleted.setStatus('current') rbnConfigFileCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 1)) rbnConfigFileGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 2)) rcfJobGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 2, 1)).setObjects(("RBN-CONFIG-FILE-MIB", "rcfJobSpinLock"), ("RBN-CONFIG-FILE-MIB", "rcfJobNextIndex"), ("RBN-CONFIG-FILE-MIB", "rcfJobOp"), ("RBN-CONFIG-FILE-MIB", "rcfJobProtocol"), ("RBN-CONFIG-FILE-MIB", "rcfJobFilename"), ("RBN-CONFIG-FILE-MIB", "rcfJobIpAddressType"), ("RBN-CONFIG-FILE-MIB", "rcfJobIpAddress"), ("RBN-CONFIG-FILE-MIB", "rcfJobUsername"), ("RBN-CONFIG-FILE-MIB", "rcfJobPassword"), ("RBN-CONFIG-FILE-MIB", "rcfJobPassiveMode"), ("RBN-CONFIG-FILE-MIB", "rcfJobStopAtLine"), ("RBN-CONFIG-FILE-MIB", "rcfJobSaveDefaults"), ("RBN-CONFIG-FILE-MIB", "rcfJobState"), ("RBN-CONFIG-FILE-MIB", "rcfJobResult"), ("RBN-CONFIG-FILE-MIB", "rcfJobCreateTime"), ("RBN-CONFIG-FILE-MIB", "rcfJobStartTime"), ("RBN-CONFIG-FILE-MIB", "rcfJobStopTime"), ("RBN-CONFIG-FILE-MIB", "rcfJobErrorMsgs"), ("RBN-CONFIG-FILE-MIB", "rcfJobNotifyOnCompletion"), ("RBN-CONFIG-FILE-MIB", "rcfJobOwner"), ("RBN-CONFIG-FILE-MIB", "rcfJobRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rcfJobGroup = rcfJobGroup.setStatus('current') rcfJobNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 2, 2)).setObjects(("RBN-CONFIG-FILE-MIB", "rcfJobCompleted")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rcfJobNotifyGroup = rcfJobNotifyGroup.setStatus('current') rbnConfigFileCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 1, 1)).setObjects(("RBN-CONFIG-FILE-MIB", "rcfJobGroup"), ("RBN-CONFIG-FILE-MIB", "rcfJobNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnConfigFileCompliance = rbnConfigFileCompliance.setStatus('current') mibBuilder.exportSymbols("RBN-CONFIG-FILE-MIB", rcfJobIpAddress=rcfJobIpAddress, rcfJobErrorMsgs=rcfJobErrorMsgs, rbnConfigFileMIBNotifications=rbnConfigFileMIBNotifications, rcfJobNotifyGroup=rcfJobNotifyGroup, rcfJobUsername=rcfJobUsername, rcfJobStartTime=rcfJobStartTime, rcfJobSpinLock=rcfJobSpinLock, rcfJobRowStatus=rcfJobRowStatus, rcfJobStopTime=rcfJobStopTime, rcfJobIpAddressType=rcfJobIpAddressType, rcfJobEntry=rcfJobEntry, rcfJobs=rcfJobs, rbnConfigFileGroups=rbnConfigFileGroups, rcfJobState=rcfJobState, rcfJobCompleted=rcfJobCompleted, rcfJobNextIndex=rcfJobNextIndex, rcfJobPassword=rcfJobPassword, rcfJobStopAtLine=rcfJobStopAtLine, rcfJobPassiveMode=rcfJobPassiveMode, rcfJobTable=rcfJobTable, rcfJobCreateTime=rcfJobCreateTime, rbnConfigFileMib=rbnConfigFileMib, rcfJobFilename=rcfJobFilename, rcfJobOp=rcfJobOp, rbnConfigFileMIBObjects=rbnConfigFileMIBObjects, rcfJobSaveDefaults=rcfJobSaveDefaults, rcfJobNotifyOnCompletion=rcfJobNotifyOnCompletion, rcfJobIndex=rcfJobIndex, PYSNMP_MODULE_ID=rbnConfigFileMib, rcfJobOwner=rcfJobOwner, rbnConfigFileCompliances=rbnConfigFileCompliances, rbnConfigFileCompliance=rbnConfigFileCompliance, rcfJobProtocol=rcfJobProtocol, rbnConfigFileMIBConformance=rbnConfigFileMIBConformance, rcfJobGroup=rcfJobGroup, rcfJobResult=rcfJobResult)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, constraints_intersection, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint') (inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType') (rbn_mgmt,) = mibBuilder.importSymbols('RBN-SMI', 'rbnMgmt') (owner_string,) = mibBuilder.importSymbols('RMON-MIB', 'OwnerString') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (mib_identifier, iso, bits, counter64, object_identity, notification_type, integer32, counter32, gauge32, module_identity, unsigned32, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'iso', 'Bits', 'Counter64', 'ObjectIdentity', 'NotificationType', 'Integer32', 'Counter32', 'Gauge32', 'ModuleIdentity', 'Unsigned32', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress') (test_and_incr, textual_convention, display_string, truth_value, row_status, time_stamp) = mibBuilder.importSymbols('SNMPv2-TC', 'TestAndIncr', 'TextualConvention', 'DisplayString', 'TruthValue', 'RowStatus', 'TimeStamp') rbn_config_file_mib = module_identity((1, 3, 6, 1, 4, 1, 2352, 2, 13)) rbnConfigFileMib.setRevisions(('2002-05-29 00:00', '2001-10-10 00:00')) if mibBuilder.loadTexts: rbnConfigFileMib.setLastUpdated('200110100000Z') if mibBuilder.loadTexts: rbnConfigFileMib.setOrganization('Redback Networks, Inc.') rbn_config_file_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 0)) rbn_config_file_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1)) rbn_config_file_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2)) rcf_jobs = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1)) rcf_job_spin_lock = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 1), test_and_incr()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rcfJobSpinLock.setStatus('current') rcf_job_next_index = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobNextIndex.setStatus('current') rcf_job_table = mib_table((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3)) if mibBuilder.loadTexts: rcfJobTable.setStatus('current') rcf_job_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1)).setIndexNames((0, 'RBN-CONFIG-FILE-MIB', 'rcfJobIndex')) if mibBuilder.loadTexts: rcfJobEntry.setStatus('current') rcf_job_index = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))) if mibBuilder.loadTexts: rcfJobIndex.setStatus('current') rcf_job_op = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('load', 0), ('save', 1)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobOp.setStatus('current') rcf_job_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('local', 0), ('tftp', 1), ('ftp', 2))).clone('local')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobProtocol.setStatus('current') rcf_job_filename = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 4), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 128))).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobFilename.setStatus('current') rcf_job_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 5), inet_address_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobIpAddressType.setStatus('current') rcf_job_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 6), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobIpAddress.setStatus('current') rcf_job_username = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 7), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobUsername.setStatus('current') rcf_job_password = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 8), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobPassword.setStatus('current') rcf_job_passive_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 9), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobPassiveMode.setStatus('current') rcf_job_stop_at_line = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 10), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobStopAtLine.setStatus('current') rcf_job_save_defaults = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 11), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobSaveDefaults.setStatus('current') rcf_job_state = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('pending', 0), ('inProgress', 1), ('completed', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobState.setStatus('current') rcf_job_result = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('success', 0), ('other', 1), ('noMemory', 2), ('parse', 3), ('io', 4), ('access', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobResult.setStatus('current') rcf_job_error_msgs = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 14), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobErrorMsgs.setStatus('current') rcf_job_create_time = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 15), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobCreateTime.setStatus('current') rcf_job_start_time = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 16), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobStartTime.setStatus('current') rcf_job_stop_time = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 17), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: rcfJobStopTime.setStatus('current') rcf_job_notify_on_completion = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 18), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobNotifyOnCompletion.setStatus('current') rcf_job_owner = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 19), owner_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobOwner.setStatus('current') rcf_job_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2352, 2, 13, 1, 1, 3, 1, 20), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rcfJobRowStatus.setStatus('current') rcf_job_completed = notification_type((1, 3, 6, 1, 4, 1, 2352, 2, 13, 0, 1)).setObjects(('RBN-CONFIG-FILE-MIB', 'rcfJobResult'), ('RBN-CONFIG-FILE-MIB', 'rcfJobErrorMsgs')) if mibBuilder.loadTexts: rcfJobCompleted.setStatus('current') rbn_config_file_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 1)) rbn_config_file_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 2)) rcf_job_group = object_group((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 2, 1)).setObjects(('RBN-CONFIG-FILE-MIB', 'rcfJobSpinLock'), ('RBN-CONFIG-FILE-MIB', 'rcfJobNextIndex'), ('RBN-CONFIG-FILE-MIB', 'rcfJobOp'), ('RBN-CONFIG-FILE-MIB', 'rcfJobProtocol'), ('RBN-CONFIG-FILE-MIB', 'rcfJobFilename'), ('RBN-CONFIG-FILE-MIB', 'rcfJobIpAddressType'), ('RBN-CONFIG-FILE-MIB', 'rcfJobIpAddress'), ('RBN-CONFIG-FILE-MIB', 'rcfJobUsername'), ('RBN-CONFIG-FILE-MIB', 'rcfJobPassword'), ('RBN-CONFIG-FILE-MIB', 'rcfJobPassiveMode'), ('RBN-CONFIG-FILE-MIB', 'rcfJobStopAtLine'), ('RBN-CONFIG-FILE-MIB', 'rcfJobSaveDefaults'), ('RBN-CONFIG-FILE-MIB', 'rcfJobState'), ('RBN-CONFIG-FILE-MIB', 'rcfJobResult'), ('RBN-CONFIG-FILE-MIB', 'rcfJobCreateTime'), ('RBN-CONFIG-FILE-MIB', 'rcfJobStartTime'), ('RBN-CONFIG-FILE-MIB', 'rcfJobStopTime'), ('RBN-CONFIG-FILE-MIB', 'rcfJobErrorMsgs'), ('RBN-CONFIG-FILE-MIB', 'rcfJobNotifyOnCompletion'), ('RBN-CONFIG-FILE-MIB', 'rcfJobOwner'), ('RBN-CONFIG-FILE-MIB', 'rcfJobRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rcf_job_group = rcfJobGroup.setStatus('current') rcf_job_notify_group = notification_group((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 2, 2)).setObjects(('RBN-CONFIG-FILE-MIB', 'rcfJobCompleted')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rcf_job_notify_group = rcfJobNotifyGroup.setStatus('current') rbn_config_file_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2352, 2, 13, 2, 1, 1)).setObjects(('RBN-CONFIG-FILE-MIB', 'rcfJobGroup'), ('RBN-CONFIG-FILE-MIB', 'rcfJobNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_config_file_compliance = rbnConfigFileCompliance.setStatus('current') mibBuilder.exportSymbols('RBN-CONFIG-FILE-MIB', rcfJobIpAddress=rcfJobIpAddress, rcfJobErrorMsgs=rcfJobErrorMsgs, rbnConfigFileMIBNotifications=rbnConfigFileMIBNotifications, rcfJobNotifyGroup=rcfJobNotifyGroup, rcfJobUsername=rcfJobUsername, rcfJobStartTime=rcfJobStartTime, rcfJobSpinLock=rcfJobSpinLock, rcfJobRowStatus=rcfJobRowStatus, rcfJobStopTime=rcfJobStopTime, rcfJobIpAddressType=rcfJobIpAddressType, rcfJobEntry=rcfJobEntry, rcfJobs=rcfJobs, rbnConfigFileGroups=rbnConfigFileGroups, rcfJobState=rcfJobState, rcfJobCompleted=rcfJobCompleted, rcfJobNextIndex=rcfJobNextIndex, rcfJobPassword=rcfJobPassword, rcfJobStopAtLine=rcfJobStopAtLine, rcfJobPassiveMode=rcfJobPassiveMode, rcfJobTable=rcfJobTable, rcfJobCreateTime=rcfJobCreateTime, rbnConfigFileMib=rbnConfigFileMib, rcfJobFilename=rcfJobFilename, rcfJobOp=rcfJobOp, rbnConfigFileMIBObjects=rbnConfigFileMIBObjects, rcfJobSaveDefaults=rcfJobSaveDefaults, rcfJobNotifyOnCompletion=rcfJobNotifyOnCompletion, rcfJobIndex=rcfJobIndex, PYSNMP_MODULE_ID=rbnConfigFileMib, rcfJobOwner=rcfJobOwner, rbnConfigFileCompliances=rbnConfigFileCompliances, rbnConfigFileCompliance=rbnConfigFileCompliance, rcfJobProtocol=rcfJobProtocol, rbnConfigFileMIBConformance=rbnConfigFileMIBConformance, rcfJobGroup=rcfJobGroup, rcfJobResult=rcfJobResult)
# Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def removeElements(self, head: ListNode, val: int) -> ListNode: dummy = ListNode(-1) dummy.next = head def t(d): if d.next: if d.next.val == val: d.next = d.next.next t(d) else: t(d.next) t(dummy) return dummy.next if __name__=="__main__": output=Solution().removeElements([1,2,6,3,4,5,6],6) print(output)
class Listnode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def remove_elements(self, head: ListNode, val: int) -> ListNode: dummy = list_node(-1) dummy.next = head def t(d): if d.next: if d.next.val == val: d.next = d.next.next t(d) else: t(d.next) t(dummy) return dummy.next if __name__ == '__main__': output = solution().removeElements([1, 2, 6, 3, 4, 5, 6], 6) print(output)
# nxn chessboard n = 10 # number of dragons on the chessboard dragons = 10 solution = [-1]*n captured = [[0 for i in range(n)] for i in range(n)] number = 0 local_calls = 0 total_calls = 0 def init(): global captured def isCaptured(x, y): global captured return captured[x][y] def capture(x, y): for i in range(n): captured[i][y] += 1 captured[x][i] += 1 # this point double counted in prev. for-loop, captured[x][y] -= 1 i = x + 1 j = y + 1 while (i < n and j < n): captured[i][j] += 1 i += 1 j += 1 i = x + 1 j = y - 1 while (i < n and j >= 0): captured[i][j] += 1 i += 1 j -= 1 i = x - 1 j = y - 1 while (i >= 0 and j >= 0): captured[i][j] += 1 i -= 1 j -= 1 i = x - 1 j = y + 1 while (i >= 0 and j < n): captured[i][j] += 1 i -= 1 j += 1 if x - 2 >= 0: if y - 1 >= 0: captured[x-2][y-1] += 1 if y + 1 < n: captured[x-2][y+1] += 1 if x + 2 < n: if y - 1 >= 0: captured[x + 2][y - 1] += 1 if y + 1 < n: captured[x + 2][y + 1] += 1 if y - 2 >= 0: if x - 1 >= 0: captured[x - 1][y - 2] += 1 if x + 1 < n: captured[x + 1][y - 2] += 1 if y + 2 < n: if x - 1 >= 0: captured[x - 1][y + 2] += 1 if x + 1 < n: captured[x + 1][y + 2] += 1 def free (x, y): for i in range(n): captured[i][y] -= 1 captured[x][i] -= 1 # this point double counted in prev. for-loop, captured[x][y] += 1 i = x + 1 j = y + 1 while (i < n and j < n): captured[i][j] -= 1 i += 1 j += 1 i = x + 1 j = y - 1 while (i < n and j >= 0): captured[i][j] -= 1 i += 1 j -= 1 i = x - 1 j = y - 1 while (i >= 0 and j >= 0): captured[i][j] -= 1 i -= 1 j -= 1 i = x - 1 j = y + 1 while (i >= 0 and j < n): captured[i][j] -= 1 i -= 1 j += 1 if x - 2 >= 0: if y - 1 >= 0: captured[x-2][y-1] -= 1 if y + 1 < n: captured[x-2][y+1] -= 1 if x + 2 < n: if y - 1 >= 0: captured[x + 2][y - 1] -= 1 if y + 1 < n: captured[x + 2][y + 1] -= 1 if y - 2 >= 0: if x - 1 >= 0: captured[x - 1][y - 2] -= 1 if x + 1 < n: captured[x + 1][y - 2] -= 1 if y + 2 < n: if x - 1 >= 0: captured[x - 1][y + 2] -= 1 if x + 1 < n: captured[x + 1][y + 2] -= 1 def find(x, d): global captured, solution, number, total_calls, local_calls, dragons total_calls += 1 local_calls += 1 if x == d: number += 1 print("Soluiton: ", number, " Coord: ", solution) print("Number of local calls ", local_calls) local_calls = 0 return for j in range(n): if not isCaptured(x, j): solution[x] = j capture(x, j) find(x + 1, dragons) free(x, j) print("") print("Coordinate '-1' means no Dragon in that line") print("") find(0, dragons) print("") print("Number of total calls ", total_calls)
n = 10 dragons = 10 solution = [-1] * n captured = [[0 for i in range(n)] for i in range(n)] number = 0 local_calls = 0 total_calls = 0 def init(): global captured def is_captured(x, y): global captured return captured[x][y] def capture(x, y): for i in range(n): captured[i][y] += 1 captured[x][i] += 1 captured[x][y] -= 1 i = x + 1 j = y + 1 while i < n and j < n: captured[i][j] += 1 i += 1 j += 1 i = x + 1 j = y - 1 while i < n and j >= 0: captured[i][j] += 1 i += 1 j -= 1 i = x - 1 j = y - 1 while i >= 0 and j >= 0: captured[i][j] += 1 i -= 1 j -= 1 i = x - 1 j = y + 1 while i >= 0 and j < n: captured[i][j] += 1 i -= 1 j += 1 if x - 2 >= 0: if y - 1 >= 0: captured[x - 2][y - 1] += 1 if y + 1 < n: captured[x - 2][y + 1] += 1 if x + 2 < n: if y - 1 >= 0: captured[x + 2][y - 1] += 1 if y + 1 < n: captured[x + 2][y + 1] += 1 if y - 2 >= 0: if x - 1 >= 0: captured[x - 1][y - 2] += 1 if x + 1 < n: captured[x + 1][y - 2] += 1 if y + 2 < n: if x - 1 >= 0: captured[x - 1][y + 2] += 1 if x + 1 < n: captured[x + 1][y + 2] += 1 def free(x, y): for i in range(n): captured[i][y] -= 1 captured[x][i] -= 1 captured[x][y] += 1 i = x + 1 j = y + 1 while i < n and j < n: captured[i][j] -= 1 i += 1 j += 1 i = x + 1 j = y - 1 while i < n and j >= 0: captured[i][j] -= 1 i += 1 j -= 1 i = x - 1 j = y - 1 while i >= 0 and j >= 0: captured[i][j] -= 1 i -= 1 j -= 1 i = x - 1 j = y + 1 while i >= 0 and j < n: captured[i][j] -= 1 i -= 1 j += 1 if x - 2 >= 0: if y - 1 >= 0: captured[x - 2][y - 1] -= 1 if y + 1 < n: captured[x - 2][y + 1] -= 1 if x + 2 < n: if y - 1 >= 0: captured[x + 2][y - 1] -= 1 if y + 1 < n: captured[x + 2][y + 1] -= 1 if y - 2 >= 0: if x - 1 >= 0: captured[x - 1][y - 2] -= 1 if x + 1 < n: captured[x + 1][y - 2] -= 1 if y + 2 < n: if x - 1 >= 0: captured[x - 1][y + 2] -= 1 if x + 1 < n: captured[x + 1][y + 2] -= 1 def find(x, d): global captured, solution, number, total_calls, local_calls, dragons total_calls += 1 local_calls += 1 if x == d: number += 1 print('Soluiton: ', number, ' Coord: ', solution) print('Number of local calls ', local_calls) local_calls = 0 return for j in range(n): if not is_captured(x, j): solution[x] = j capture(x, j) find(x + 1, dragons) free(x, j) print('') print("Coordinate '-1' means no Dragon in that line") print('') find(0, dragons) print('') print('Number of total calls ', total_calls)
class ApiException(Exception): pass class Forbidden(ApiException): def __init__(self, message): self.message = message self.status_code = 403 class NotFound(ApiException): def __init__(self, message): self.message = message self.status_code = 404 class BadRequest(ApiException): def __init__(self, message): self.message = message self.status_code = 400
class Apiexception(Exception): pass class Forbidden(ApiException): def __init__(self, message): self.message = message self.status_code = 403 class Notfound(ApiException): def __init__(self, message): self.message = message self.status_code = 404 class Badrequest(ApiException): def __init__(self, message): self.message = message self.status_code = 400
# # Copyright (C) 2018 The Android Open Source Project # # 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 test(name, input0, input1, input2, output0, input0_data, input1_data, input2_data, output_data): model = Model().Operation("SELECT", input0, input1, input2).To(output0) quant8 = DataTypeConverter().Identify({ input1: ["TENSOR_QUANT8_ASYMM", 1.5, 129], input2: ["TENSOR_QUANT8_ASYMM", 0.5, 127], output0: ["TENSOR_QUANT8_ASYMM", 1.0, 128], }) example = Example({ input0: input0_data, input1: input1_data, input2: input2_data, output0: output_data, }, model=model, name=name).AddVariations("int32", "float16", "relaxed", quant8) test( name="one_dim", input0=Input("input0", "TENSOR_BOOL8", "{3}"), input1=Input("input1", "TENSOR_FLOAT32", "{3}"), input2=Input("input2", "TENSOR_FLOAT32", "{3}"), output0=Output("output0", "TENSOR_FLOAT32", "{3}"), input0_data=[True, False, True], input1_data=[1, 2, 3], input2_data=[4, 5, 6], output_data=[1, 5, 3], ) test( name="two_dim", input0=Input("input0", "TENSOR_BOOL8", "{2, 2}"), input1=Input("input1", "TENSOR_FLOAT32", "{2, 2}"), input2=Input("input2", "TENSOR_FLOAT32", "{2, 2}"), output0=Output("output0", "TENSOR_FLOAT32", "{2, 2}"), input0_data=[False, True, False, True], input1_data=[1, 2, 3, 4], input2_data=[5, 6, 7, 8], output_data=[5, 2, 7, 4], ) test( name="five_dim", input0=Input("input0", "TENSOR_BOOL8", "{2, 1, 2, 1, 2}"), input1=Input("input1", "TENSOR_FLOAT32", "{2, 1, 2, 1, 2}"), input2=Input("input2", "TENSOR_FLOAT32", "{2, 1, 2, 1, 2}"), output0=Output("output0", "TENSOR_FLOAT32", "{2, 1, 2, 1, 2}"), input0_data=[True, False, True, False, True, False, True, False], input1_data=[1, 2, 3, 4, 5, 6, 7, 8], input2_data=[9, 10, 11, 12, 13, 14, 15, 16], output_data=[1, 10, 3, 12, 5, 14, 7, 16], )
def test(name, input0, input1, input2, output0, input0_data, input1_data, input2_data, output_data): model = model().Operation('SELECT', input0, input1, input2).To(output0) quant8 = data_type_converter().Identify({input1: ['TENSOR_QUANT8_ASYMM', 1.5, 129], input2: ['TENSOR_QUANT8_ASYMM', 0.5, 127], output0: ['TENSOR_QUANT8_ASYMM', 1.0, 128]}) example = example({input0: input0_data, input1: input1_data, input2: input2_data, output0: output_data}, model=model, name=name).AddVariations('int32', 'float16', 'relaxed', quant8) test(name='one_dim', input0=input('input0', 'TENSOR_BOOL8', '{3}'), input1=input('input1', 'TENSOR_FLOAT32', '{3}'), input2=input('input2', 'TENSOR_FLOAT32', '{3}'), output0=output('output0', 'TENSOR_FLOAT32', '{3}'), input0_data=[True, False, True], input1_data=[1, 2, 3], input2_data=[4, 5, 6], output_data=[1, 5, 3]) test(name='two_dim', input0=input('input0', 'TENSOR_BOOL8', '{2, 2}'), input1=input('input1', 'TENSOR_FLOAT32', '{2, 2}'), input2=input('input2', 'TENSOR_FLOAT32', '{2, 2}'), output0=output('output0', 'TENSOR_FLOAT32', '{2, 2}'), input0_data=[False, True, False, True], input1_data=[1, 2, 3, 4], input2_data=[5, 6, 7, 8], output_data=[5, 2, 7, 4]) test(name='five_dim', input0=input('input0', 'TENSOR_BOOL8', '{2, 1, 2, 1, 2}'), input1=input('input1', 'TENSOR_FLOAT32', '{2, 1, 2, 1, 2}'), input2=input('input2', 'TENSOR_FLOAT32', '{2, 1, 2, 1, 2}'), output0=output('output0', 'TENSOR_FLOAT32', '{2, 1, 2, 1, 2}'), input0_data=[True, False, True, False, True, False, True, False], input1_data=[1, 2, 3, 4, 5, 6, 7, 8], input2_data=[9, 10, 11, 12, 13, 14, 15, 16], output_data=[1, 10, 3, 12, 5, 14, 7, 16])
NAME='nagios' CFLAGS = [] LDFLAGS = [] LIBS = [] GCC_LIST = ['nagios']
name = 'nagios' cflags = [] ldflags = [] libs = [] gcc_list = ['nagios']
class Solution: def find_permutation(self, S): S = sorted(S) self.res = [] visited = [False] * len(S) self.find_permutationUtil(S, visited, '') return self.res def find_permutationUtil(self, S, visited, str): if len(str) == len(S): self.res.append(str) return for i in range(len(S)): char = S[i] if visited[i] == False: visited[i] = True self.find_permutationUtil(S, visited, str+char) visited[i] = False if __name__ == '__main__': sol = Solution() sol.find_permutation("ABC")
class Solution: def find_permutation(self, S): s = sorted(S) self.res = [] visited = [False] * len(S) self.find_permutationUtil(S, visited, '') return self.res def find_permutation_util(self, S, visited, str): if len(str) == len(S): self.res.append(str) return for i in range(len(S)): char = S[i] if visited[i] == False: visited[i] = True self.find_permutationUtil(S, visited, str + char) visited[i] = False if __name__ == '__main__': sol = solution() sol.find_permutation('ABC')
s = set(map(int, input().split())) print(s) print("max is: ",max(s)) print("min is: ",min(s))
s = set(map(int, input().split())) print(s) print('max is: ', max(s)) print('min is: ', min(s))
def transact(environment, t, to_agent, from_agent, settlement_type, amount, description): "Function that ensures a correct transaction between agents" environment.measurement['period'].append(t) environment.measurement['to_agent'].append(to_agent) environment.measurement['from_agent'].append(from_agent) environment.measurement['settlement_type'].append(settlement_type) environment.measurement['amount'].append(amount) environment.measurement['description'].append(description)
def transact(environment, t, to_agent, from_agent, settlement_type, amount, description): """Function that ensures a correct transaction between agents""" environment.measurement['period'].append(t) environment.measurement['to_agent'].append(to_agent) environment.measurement['from_agent'].append(from_agent) environment.measurement['settlement_type'].append(settlement_type) environment.measurement['amount'].append(amount) environment.measurement['description'].append(description)
class NSGA2: def __init__(self, initializer, evaluator, selector, crossover, mutator, stopper): self.initializer = initializer self.evaluator = evaluator self.selector = selector self.crossover = crossover self.mutator = mutator self.stopper = stopper self.population = None self.population_log = [] def make_phenotype(self, population): for individual in population.values(): individual.evaluate() def make_next_population(self, champions): next_population = {} for parent_a, parent_b in zip(champions[::2], champions[1::2]): child_a, child_b = self.crossover.crossover(parent_a, parent_b) next_population[child_a.individual_id] = child_a next_population[child_b.individual_id] = child_b for individual in next_population.values(): self.mutator.mutate(individual) return next_population def search(self, verbose=False): if verbose: print("Initialize population...") population = self.initializer.initialize() self.make_phenotype(population) self.evaluator.evaluate(population) self.population_log.append(population) if verbose: print("Run search...") interrupt = False while not self.stopper.stop(population): try: champions = self.selector.select(population) next_population = self.make_next_population(champions) self.make_phenotype(next_population) self.evaluator.evaluate(next_population) population = next_population self.population_log.append(population) except KeyboardInterrupt: if verbose: print("Search interrupted...") break if verbose: print("Terminating search...") self.population = population return population
class Nsga2: def __init__(self, initializer, evaluator, selector, crossover, mutator, stopper): self.initializer = initializer self.evaluator = evaluator self.selector = selector self.crossover = crossover self.mutator = mutator self.stopper = stopper self.population = None self.population_log = [] def make_phenotype(self, population): for individual in population.values(): individual.evaluate() def make_next_population(self, champions): next_population = {} for (parent_a, parent_b) in zip(champions[::2], champions[1::2]): (child_a, child_b) = self.crossover.crossover(parent_a, parent_b) next_population[child_a.individual_id] = child_a next_population[child_b.individual_id] = child_b for individual in next_population.values(): self.mutator.mutate(individual) return next_population def search(self, verbose=False): if verbose: print('Initialize population...') population = self.initializer.initialize() self.make_phenotype(population) self.evaluator.evaluate(population) self.population_log.append(population) if verbose: print('Run search...') interrupt = False while not self.stopper.stop(population): try: champions = self.selector.select(population) next_population = self.make_next_population(champions) self.make_phenotype(next_population) self.evaluator.evaluate(next_population) population = next_population self.population_log.append(population) except KeyboardInterrupt: if verbose: print('Search interrupted...') break if verbose: print('Terminating search...') self.population = population return population
class RetrievalError(Exception): pass class SetterError(Exception): pass class ControlError(SetterError): pass class AuthentificationError(Exception): pass class TemporaryAuthentificationError(AuthentificationError): pass class APICompatibilityError(Exception): pass class APIError(Exception): pass
class Retrievalerror(Exception): pass class Settererror(Exception): pass class Controlerror(SetterError): pass class Authentificationerror(Exception): pass class Temporaryauthentificationerror(AuthentificationError): pass class Apicompatibilityerror(Exception): pass class Apierror(Exception): pass
# Based on largest_rectangle_in_histagram 84 def maximal_rectrangle_in_matrix(matrix): if len(matrix) == 0 or len(matrix[0]) == 0: return 0 # Append extra 0 to the end, to mark the end of the curr row curr_row = [0] * (len(matrix[0]) + 1) ans = 0 for row in range(len(matrix)): for column in range(len(matrix[0])): if matrix[row][column] == '1': curr_row[column] += 1 else: curr_row[column] = 0 stack = [-1] # print(curr_row) for curr_index, height in enumerate(curr_row): while height < curr_row[stack[-1]]: prev_index = stack.pop() h = curr_row[prev_index] w = curr_index - stack[-1] - 1 ans = max(ans, h * w) # print(ans, curr_index, prev_index) stack.append(curr_index) return ans # print(maximal_rectrangle_in_matrix([["0", "1"], ["1", "0"]])) print(maximal_rectrangle_in_matrix([ ["1", "0", "1", "0", "0"], ["1", "0", "1", "1", "1"], ["1", "1", "1", "1", "1"], ["1", "0", "0", "1", "0"] ])) def maximalRectangle_new(matrix): if not matrix or not matrix[0]: return 0 n = len(matrix[0]) height = [0] * (n + 1) ans = 0 for row in matrix: for i in range(n): height[i] = height[i] + 1 if row[i] == '1' else 0 stack = [-1] # print(height) for i in range(n + 1): while height[i] < height[stack[-1]]: h = height[stack.pop()] w = i - 1 - stack[-1] ans = max(ans, h * w) stack.append(i) return ans # print(maximal_rectrangle_in_matrix([["0", "1"], ["1", "0"]])) print(maximalRectangle_new([ ["1", "0", "1", "0", "0"], ["1", "0", "1", "1", "1"], ["1", "1", "1", "1", "1"], ["1", "0", "0", "1", "0"] ]))
def maximal_rectrangle_in_matrix(matrix): if len(matrix) == 0 or len(matrix[0]) == 0: return 0 curr_row = [0] * (len(matrix[0]) + 1) ans = 0 for row in range(len(matrix)): for column in range(len(matrix[0])): if matrix[row][column] == '1': curr_row[column] += 1 else: curr_row[column] = 0 stack = [-1] for (curr_index, height) in enumerate(curr_row): while height < curr_row[stack[-1]]: prev_index = stack.pop() h = curr_row[prev_index] w = curr_index - stack[-1] - 1 ans = max(ans, h * w) stack.append(curr_index) return ans print(maximal_rectrangle_in_matrix([['1', '0', '1', '0', '0'], ['1', '0', '1', '1', '1'], ['1', '1', '1', '1', '1'], ['1', '0', '0', '1', '0']])) def maximal_rectangle_new(matrix): if not matrix or not matrix[0]: return 0 n = len(matrix[0]) height = [0] * (n + 1) ans = 0 for row in matrix: for i in range(n): height[i] = height[i] + 1 if row[i] == '1' else 0 stack = [-1] for i in range(n + 1): while height[i] < height[stack[-1]]: h = height[stack.pop()] w = i - 1 - stack[-1] ans = max(ans, h * w) stack.append(i) return ans print(maximal_rectangle_new([['1', '0', '1', '0', '0'], ['1', '0', '1', '1', '1'], ['1', '1', '1', '1', '1'], ['1', '0', '0', '1', '0']]))
# A program to check if the number is odd or even def even_or_odd(num): if num == "q": return "Invalid" elif num % 2 == 0: return "Even" else: return "Odd" while True: try: user_input = float(input("Enter then number you would like to check is odd or even")) except ValueError or TypeError: user_input = "q" finally: print("The number is ", even_or_odd(user_input))
def even_or_odd(num): if num == 'q': return 'Invalid' elif num % 2 == 0: return 'Even' else: return 'Odd' while True: try: user_input = float(input('Enter then number you would like to check is odd or even')) except ValueError or TypeError: user_input = 'q' finally: print('The number is ', even_or_odd(user_input))
class Solution: def minCut(self, s: str) -> int: if not s: return 0 memo = dict() def helper(l,r): if l > r: return 0 minVal = float('inf') for i in range(l,r+1,1): strs = s[l:i+1] if strs == strs[::-1]: if s[i+1:r+1] in memo: minVal = min(memo[s[i+1:r+1]], minVal) else: minVal = min(helper(i+1,r), minVal) memo[s[l:r+1]] = minVal + 1 return memo[s[l:r+1]] helper(0,len(s)-1) return memo[s]-1 if memo[s] != float('inf') else 0
class Solution: def min_cut(self, s: str) -> int: if not s: return 0 memo = dict() def helper(l, r): if l > r: return 0 min_val = float('inf') for i in range(l, r + 1, 1): strs = s[l:i + 1] if strs == strs[::-1]: if s[i + 1:r + 1] in memo: min_val = min(memo[s[i + 1:r + 1]], minVal) else: min_val = min(helper(i + 1, r), minVal) memo[s[l:r + 1]] = minVal + 1 return memo[s[l:r + 1]] helper(0, len(s) - 1) return memo[s] - 1 if memo[s] != float('inf') else 0
'''https://practice.geeksforgeeks.org/problems/cyclically-rotate-an-array-by-one2614/1 Cyclically rotate an array by one Basic Accuracy: 64.05% Submissions: 66795 Points: 1 Given an array, rotate the array by one position in clock-wise direction. Example 1: Input: N = 5 A[] = {1, 2, 3, 4, 5} Output: 5 1 2 3 4 Example 2: Input: N = 8 A[] = {9, 8, 7, 6, 4, 2, 1, 3} Output: 3 9 8 7 6 4 2 1 Your Task: You don't need to read input or print anything. Your task is to complete the function rotate() which takes the array A[] and its size N as inputs and modify the array. Expected Time Complexity: O(N) Expected Auxiliary Space: O(1) Constraints: 1<=N<=105 0<=a[i]<=105''' def rotate(arr, n): temp = arr[n-1] i = n-1 while(i > 0): b = i-1 arr[i] = arr[b] i -= 1 arr[0] = temp
"""https://practice.geeksforgeeks.org/problems/cyclically-rotate-an-array-by-one2614/1 Cyclically rotate an array by one Basic Accuracy: 64.05% Submissions: 66795 Points: 1 Given an array, rotate the array by one position in clock-wise direction. Example 1: Input: N = 5 A[] = {1, 2, 3, 4, 5} Output: 5 1 2 3 4 Example 2: Input: N = 8 A[] = {9, 8, 7, 6, 4, 2, 1, 3} Output: 3 9 8 7 6 4 2 1 Your Task: You don't need to read input or print anything. Your task is to complete the function rotate() which takes the array A[] and its size N as inputs and modify the array. Expected Time Complexity: O(N) Expected Auxiliary Space: O(1) Constraints: 1<=N<=105 0<=a[i]<=105""" def rotate(arr, n): temp = arr[n - 1] i = n - 1 while i > 0: b = i - 1 arr[i] = arr[b] i -= 1 arr[0] = temp
#!/usr/bin/env python # -*- coding:utf-8 -*- def max_min(v): m_min, m_max = min(v[0], v[-1]), max(v[0], v[-1]) for i in v[1:len(v)-1]: if i<m_min: m_min = i elif i > m_max: m_max = i return m_min, m_max if __name__ == '__main__': m_min, m_max = max_min([9, 3, 4, 7, 2, 0]) print(m_min, m_max)
def max_min(v): (m_min, m_max) = (min(v[0], v[-1]), max(v[0], v[-1])) for i in v[1:len(v) - 1]: if i < m_min: m_min = i elif i > m_max: m_max = i return (m_min, m_max) if __name__ == '__main__': (m_min, m_max) = max_min([9, 3, 4, 7, 2, 0]) print(m_min, m_max)
string = [x for x in input()] string_list_after = [] index = 0 power = 0 for el in range(len(string)): if string[index] == ">": expl = int(string[el + 1]) power += int(expl) string.pop(el+1) string.append('') power -= 1 while power > 0: index = el string.pop(el + 1) string.append('') power -= 1 else: string_list_after.append(string[index]) index += 1 print()
string = [x for x in input()] string_list_after = [] index = 0 power = 0 for el in range(len(string)): if string[index] == '>': expl = int(string[el + 1]) power += int(expl) string.pop(el + 1) string.append('') power -= 1 while power > 0: index = el string.pop(el + 1) string.append('') power -= 1 else: string_list_after.append(string[index]) index += 1 print()
#A more compact version of the algorithm that can be executed parallelly. list1 = [0x58, 0x76, 0x54, 0x3a, 0xbe, 0x58, 0x76, 0x54, 0xbe, 0xcd, 0x45, 0x66, 0x85, 0x65] # ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ # Par=4: bulk bulk bulk bulk bulk bulk bulk bulk bulk bulk bulk bulk rest rest # desc desc desc def parallel_roling_mac_hash(list, par): multiplier = 0x01000193 #algorithm parameter hash = [0 for x in range(par)] #the fields of the array can be computed parallelly mult_powers = [multiplier**(x+1) for x in range(par)] list_length = len(list) bulk = list_length//par rest = list_length%par for i in range(rest): #"rest" number of threads have to go one step further for j in range(bulk + 1): index = j * par + i hash[i] += list[index] if index > list_length-par: mult_index = -par + (list_length - index) - 1 #going from highest power to first order hash[i] *= mult_powers[mult_index] else: hash[i] *= mult_powers[-1] hash[i] %= 2**32 for i in range(rest,par): #threads for calculating the remaining data for j in range(bulk): index = j * par + i hash[i] += list[index] if index > list_length-par: mult_index = -par + (list_length - index) - 1 #going from highest power to first order hash[i] *= mult_powers[mult_index] else: hash[i] *= mult_powers[-1] hash[i] %= 2**32 sum = 0 for i in range(par): #summing up results of the parallel computations (single threaded mostly) sum += hash[i] sum %= 2**32 return(sum) #TESTING def rolling_hash_by_mac(list): hash = 0 for byte in list: hash += byte hash *= 0x01000193 hash %= 2**32 return(hash) print('parallel:', parallel_roling_mac_hash(list1,3)) print('parallel:', parallel_roling_mac_hash(list1,5)) print('parallel:', parallel_roling_mac_hash(list1,8)) print('expected:', rolling_hash_by_mac(list1))
list1 = [88, 118, 84, 58, 190, 88, 118, 84, 190, 205, 69, 102, 133, 101] def parallel_roling_mac_hash(list, par): multiplier = 16777619 hash = [0 for x in range(par)] mult_powers = [multiplier ** (x + 1) for x in range(par)] list_length = len(list) bulk = list_length // par rest = list_length % par for i in range(rest): for j in range(bulk + 1): index = j * par + i hash[i] += list[index] if index > list_length - par: mult_index = -par + (list_length - index) - 1 hash[i] *= mult_powers[mult_index] else: hash[i] *= mult_powers[-1] hash[i] %= 2 ** 32 for i in range(rest, par): for j in range(bulk): index = j * par + i hash[i] += list[index] if index > list_length - par: mult_index = -par + (list_length - index) - 1 hash[i] *= mult_powers[mult_index] else: hash[i] *= mult_powers[-1] hash[i] %= 2 ** 32 sum = 0 for i in range(par): sum += hash[i] sum %= 2 ** 32 return sum def rolling_hash_by_mac(list): hash = 0 for byte in list: hash += byte hash *= 16777619 hash %= 2 ** 32 return hash print('parallel:', parallel_roling_mac_hash(list1, 3)) print('parallel:', parallel_roling_mac_hash(list1, 5)) print('parallel:', parallel_roling_mac_hash(list1, 8)) print('expected:', rolling_hash_by_mac(list1))
#!/usr/bin/env python # coding: utf-8 # In[ ]: # In[4]: def fib(n): a, b = 0,1 while a < n: print(a) a, b = b, a + b # In[8]: def primos(n): numbers = [True, True] + [True] * (n-1) last_prime_number = 2 i = last_prime_number while last_prime_number**2 <= n: i += last_prime_number while i <= n: numbers[i] = False i += last_prime_number j = last_prime_number + 1 while j < n: if numbers[j]: last_prime_number = j break j += 1 i = last_prime_number return [i + 2 for i, not_crossed in enumerate(numbers[2:]) if not_crossed] # In[34]: def perfecto(num): suma = 0 for i in range(1, num): #print(i) if num % i == 0: suma = suma + i if (suma == num): return True else: return False # In[45]: def numeros_perfectos(n): factors = [] i = 1 while len(factors) != n: if perfecto(i): factors.append(i) i += 1 return factors # In[48]: numeros_perfectos(3) primos(10) fib(10) # In[ ]:
def fib(n): (a, b) = (0, 1) while a < n: print(a) (a, b) = (b, a + b) def primos(n): numbers = [True, True] + [True] * (n - 1) last_prime_number = 2 i = last_prime_number while last_prime_number ** 2 <= n: i += last_prime_number while i <= n: numbers[i] = False i += last_prime_number j = last_prime_number + 1 while j < n: if numbers[j]: last_prime_number = j break j += 1 i = last_prime_number return [i + 2 for (i, not_crossed) in enumerate(numbers[2:]) if not_crossed] def perfecto(num): suma = 0 for i in range(1, num): if num % i == 0: suma = suma + i if suma == num: return True else: return False def numeros_perfectos(n): factors = [] i = 1 while len(factors) != n: if perfecto(i): factors.append(i) i += 1 return factors numeros_perfectos(3) primos(10) fib(10)
class CliError(RuntimeError): pass
class Clierror(RuntimeError): pass
#!/usr/bin/env python __author__ = "Giuseppe Chiesa" __copyright__ = "Copyright 2017-2021, Giuseppe Chiesa" __credits__ = ["Giuseppe Chiesa"] __license__ = "BSD" __maintainer__ = "Giuseppe Chiesa" __email__ = "[email protected]" __status__ = "PerpetualBeta" def write_with_modecheck(file_handler, data): if file_handler.mode == 'w': file_handler.write(data.decode('utf-8')) else: file_handler.write(data)
__author__ = 'Giuseppe Chiesa' __copyright__ = 'Copyright 2017-2021, Giuseppe Chiesa' __credits__ = ['Giuseppe Chiesa'] __license__ = 'BSD' __maintainer__ = 'Giuseppe Chiesa' __email__ = '[email protected]' __status__ = 'PerpetualBeta' def write_with_modecheck(file_handler, data): if file_handler.mode == 'w': file_handler.write(data.decode('utf-8')) else: file_handler.write(data)
#!/usr/bin/env python # -*- coding: UTF-8 -*- class BaseEmitter(object): '''Base for emitters of the *data-migrator*. Attributes: manager (BaseManager): reference to the manager that is calling this emitter to export objects from that manager model_class (Model): reference to the model linked to the class extension (str): file extension for output file of this emitter note: :attr:`~.model_class` and :attr:`~.manager` are linked together ''' def __init__(self, extension=None, manager=None): # reference to the manager that is calling this emitter to # export objects from the manager self.manager = manager self.model_class = manager.model_class self.meta = self.model_class._meta self.extension = extension or getattr(self.__class__, 'extension', '.txt') def emit(self, l): '''output the result set of an object. Args: l (Model): object to transform Returns: list: generated strings ''' raise NotImplementedError def filename(self): '''generate filename for this emitter. generates a filename bases on :attr:`~.BaseEmitter.extension` and either :attr:`~.Options.file_name` or :attr:`~.Options.table_name` Returns: str: filename ''' _ext = self.extension if _ext[0] != '.': _ext = '.' + _ext _filename = self.meta.file_name or (self.meta.table_name + _ext) return _filename def preamble(self, headers): '''generate a premable for the file to emit. Args: headers (list): additional header to provide outside the emitter (e.g. statistics) Returns: list: preamble lines ''' raise NotImplementedError def postamble(self): #pylint disable=no-self-use '''generate a postamble for the file to emit. Returns: list: postamble lines ''' return []
class Baseemitter(object): """Base for emitters of the *data-migrator*. Attributes: manager (BaseManager): reference to the manager that is calling this emitter to export objects from that manager model_class (Model): reference to the model linked to the class extension (str): file extension for output file of this emitter note: :attr:`~.model_class` and :attr:`~.manager` are linked together """ def __init__(self, extension=None, manager=None): self.manager = manager self.model_class = manager.model_class self.meta = self.model_class._meta self.extension = extension or getattr(self.__class__, 'extension', '.txt') def emit(self, l): """output the result set of an object. Args: l (Model): object to transform Returns: list: generated strings """ raise NotImplementedError def filename(self): """generate filename for this emitter. generates a filename bases on :attr:`~.BaseEmitter.extension` and either :attr:`~.Options.file_name` or :attr:`~.Options.table_name` Returns: str: filename """ _ext = self.extension if _ext[0] != '.': _ext = '.' + _ext _filename = self.meta.file_name or self.meta.table_name + _ext return _filename def preamble(self, headers): """generate a premable for the file to emit. Args: headers (list): additional header to provide outside the emitter (e.g. statistics) Returns: list: preamble lines """ raise NotImplementedError def postamble(self): """generate a postamble for the file to emit. Returns: list: postamble lines """ return []
class Stack(object): def __init__(self): self.stack = [] def is_empty(self): return not self.stack def push(self, v): self.stack.append(v) def pop(self): data = self.stack[-1] del self.stack[-1] return data def peek(self): return self.stack[-1] def size_stack(self): return len(self.stack) if __name__ == "__main__": s = Stack() s.push(1) s.push(2) s.push(3) print(s.size_stack()) print("Popped: ", s.pop()) print("Popped: ", s.pop()) print(s.size_stack()) print("Peek: ", s.peek()) print("Popped: ", s.pop()) print(s.size_stack())
class Stack(object): def __init__(self): self.stack = [] def is_empty(self): return not self.stack def push(self, v): self.stack.append(v) def pop(self): data = self.stack[-1] del self.stack[-1] return data def peek(self): return self.stack[-1] def size_stack(self): return len(self.stack) if __name__ == '__main__': s = stack() s.push(1) s.push(2) s.push(3) print(s.size_stack()) print('Popped: ', s.pop()) print('Popped: ', s.pop()) print(s.size_stack()) print('Peek: ', s.peek()) print('Popped: ', s.pop()) print(s.size_stack())
array = [0,0,1,1,1,1,2,2,2,2,3,3] indexEqualCurrentUsage = [] for index in range(len(array)): if array[index] == 1: indexEqualCurrentUsage.append(index) print(indexEqualCurrentUsage)
array = [0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3] index_equal_current_usage = [] for index in range(len(array)): if array[index] == 1: indexEqualCurrentUsage.append(index) print(indexEqualCurrentUsage)
### do not use these settings and passwords for production! # these settings are required to connect the postgres-db to metabase POSTGRES_USER='postgres' POSTGRES_PASSWORD='1234' POSTGRES_HOST='postgresdb' POSTGRES_PORT='5432' POSTGRES_DB_NAME='postgres'
postgres_user = 'postgres' postgres_password = '1234' postgres_host = 'postgresdb' postgres_port = '5432' postgres_db_name = 'postgres'
# # Sunny data # outFeaturesPath = "models/features_40_sun_only" # outLabelsPath = "models/labels_sun_only" # imageFolderName = 'IMG_sun_only' # features_directory = '../data/' # labels_file = '../data/driving_log_sun_only.csv' # modelPath = 'models/MsAutopilot_sun_only.h5' # NoColumns = 3 # steering value index in csv # # Foggy data # outFeaturesPath = "models/features_40_foggy" # outLabelsPath = "models/labels_foggy" # imageFolderName = 'IMG_foggy' # features_directory = '../data/' # labels_file = '../data/driving_log_foggy.csv' # modelPath = 'models/MsAutopilot_foggy.h5' # NoColumns = 6 # steering value index in csv # # Test data (fog only, no model will be trained, just pickles to extract) outFeaturesPath = "models/features_40_fog_only" outLabelsPath = "models/labels_fog_only" imageFolderName = 'IMG_fog_only' features_directory = '../data/' labels_file = '../data/driving_log_fog_only.csv' NoColumns = 3 # steering value index in csv modelPathFoggy = 'models/MsAutopilot_foggy.h5' modelPathSunOnly = 'models/MsAutopilot_sun_only.h5'
out_features_path = 'models/features_40_fog_only' out_labels_path = 'models/labels_fog_only' image_folder_name = 'IMG_fog_only' features_directory = '../data/' labels_file = '../data/driving_log_fog_only.csv' no_columns = 3 model_path_foggy = 'models/MsAutopilot_foggy.h5' model_path_sun_only = 'models/MsAutopilot_sun_only.h5'
with open('inputs/input2.txt') as fin: raw = fin.read() def parse(raw): start = [(x[:3], int(x[4:])) for x in (raw.split('\n'))] return start a = parse(raw) def part_1(arr): indices = set() acc = 0 i = 0 while i < len(arr): pair = arr[i] if i in indices: break indices.add(i) if pair[0] == 'acc': acc += pair[1] i += 1 elif pair[0] == 'jmp': i += pair[1] else: i += 1 return acc def not_infinite(arr): indices = set() acc = 0 i = 0 while True: if i in indices: return 0 indices.add(i) if i == len(arr): return acc pair = arr[i] if pair[0] == 'acc': acc += pair[1] i += 1 elif pair[0] == 'jmp': i += pair[1] else: i += 1 def part_2(arr): for i, x in enumerate(arr): if x[0] == 'jmp': test = arr[:i] + [('nop', x[1])] + arr[i + 1:] if c := not_infinite(test): return c if x[0] == 'nop': test = arr[:i] + [('jmp', x[1])] + arr[(i + 1):] if c := not_infinite(test): return c print(part_1(a)) print(part_2(a))
with open('inputs/input2.txt') as fin: raw = fin.read() def parse(raw): start = [(x[:3], int(x[4:])) for x in raw.split('\n')] return start a = parse(raw) def part_1(arr): indices = set() acc = 0 i = 0 while i < len(arr): pair = arr[i] if i in indices: break indices.add(i) if pair[0] == 'acc': acc += pair[1] i += 1 elif pair[0] == 'jmp': i += pair[1] else: i += 1 return acc def not_infinite(arr): indices = set() acc = 0 i = 0 while True: if i in indices: return 0 indices.add(i) if i == len(arr): return acc pair = arr[i] if pair[0] == 'acc': acc += pair[1] i += 1 elif pair[0] == 'jmp': i += pair[1] else: i += 1 def part_2(arr): for (i, x) in enumerate(arr): if x[0] == 'jmp': test = arr[:i] + [('nop', x[1])] + arr[i + 1:] if (c := not_infinite(test)): return c if x[0] == 'nop': test = arr[:i] + [('jmp', x[1])] + arr[i + 1:] if (c := not_infinite(test)): return c print(part_1(a)) print(part_2(a))
################################ A Library of Functions ################################## ################################################################################################## #simple function which displays a matrix def matrixDisplay(M): for i in range(len(M)): for j in range(len(M[i])): print((M[i][j]), end = " ") print() ################################################################################################## #matrix product def matrixProduct(L, M): if len(L[0]) != len(M): #ensuring the plausiblity print("Matrix multiplication not possible.") else: print("Multiplying the two matrices: ") P=[[0 for i in range(len(M[0]))] for j in range(len(L))] #initializing empty matrix for i in range(len(L)): #iterating rows for j in range(len(M[0])): #iterating columns for k in range(len(M)): #iterating elements and substituing them P[i][j] = P[i][j] + (L[i][k] * M[k][j]) matrixDisplay(P) ################################################################################################## #the gauss-jordan elimination code def gaussj(a, b): n = len(b) #defining the range through which the loops will run for k in range(n): #loop to index pivot rows and eliminated columns #partial pivoting if abs(a[k][k]) < 1.0e-12: for i in range(k+1, n): if abs(a[i][k]) > abs(a[k][k]): for j in range(k, n): a[k][j], a[i][j] = a[i][j], a[k][j] #swapping of rows b[k], b[i] = b[i], b[k] break #division of the pivot row pivot = a[k][k] if pivot == 0: print("There is no unique solution to this system of equations.") return for j in range(k, n): #index of columns of the pivot row a[k][j] /= pivot b[k] /= pivot #elimination loop for i in range(n): #index of subtracted rows if i == k or a[i][k] == 0: continue factor = a[i][k] for j in range(k, n): #index of columns for subtraction a[i][j] -= factor * a[k][j] b[i] -= factor * b[k] print(b) ################################################################################################# #calculation of determinant using gauss-jordan elimination def determinant(a): n = len(a) #defining the range through which the loops will run if n != len(a[0]): #checking if determinant is possible to calculate print("The matrix must be a square matrix.") else: s = 0 #code to obtain row echelon matrix using partial pivoting for k in range(n-1): if abs(a[k][k]) < 1.0e-12: for i in range(k+1, n): if abs(a[i][k]) > abs(a[k][k]): for j in range(k, n): a[k][j], a[i][j] = a[i][j], a[k][j] #swapping s = s + 1 #counting the number of swaps happened for i in range(k+1, n): if a[i][k] == 0: continue factor = a[i][k]/a[k][k] for j in range(k, n): a[i][j] = a[i][j] - factor * a[k][j] d = 1 for i in range(len(a)): d = d * a[i][i] #enlisting the diagonal elements d = d*(-1)**s print(d) ################################################################################################# #calculating inverse def inverse(a): n = len(a) #defining the range through which loops will run #constructing the n X 2n augmented matrix P = [[0.0 for i in range(len(a))] for j in range(len(a))] for i in range(3): for j in range(3): P[j][j] = 1.0 for i in range(len(a)): a[i].extend(P[i]) #main loop for gaussian elimination begins here for k in range(n): if abs(a[k][k]) < 1.0e-12: for i in range(k+1, n): if abs(a[i][k]) > abs(a[k][k]): for j in range(k, 2*n): a[k][j], a[i][j] = a[i][j], a[k][j] #swapping of rows break pivot = a[k][k] #defining the pivot if pivot == 0: #checking if matrix is invertible print("This matrix is not invertible.") return else: for j in range(k, 2*n): #index of columns of the pivot row a[k][j] /= pivot for i in range(n): #index the subtracted rows if i == k or a[i][k] == 0: continue factor = a[i][k] for j in range(k, 2*n): #index the columns for subtraction a[i][j] -= factor * a[k][j] for i in range(len(a)): #displaying the matrix for j in range(n, len(a[0])): print("{:.2f}".format(a[i][j]), end = " ") #printing upto 2 places in decimal. print()
def matrix_display(M): for i in range(len(M)): for j in range(len(M[i])): print(M[i][j], end=' ') print() def matrix_product(L, M): if len(L[0]) != len(M): print('Matrix multiplication not possible.') else: print('Multiplying the two matrices: ') p = [[0 for i in range(len(M[0]))] for j in range(len(L))] for i in range(len(L)): for j in range(len(M[0])): for k in range(len(M)): P[i][j] = P[i][j] + L[i][k] * M[k][j] matrix_display(P) def gaussj(a, b): n = len(b) for k in range(n): if abs(a[k][k]) < 1e-12: for i in range(k + 1, n): if abs(a[i][k]) > abs(a[k][k]): for j in range(k, n): (a[k][j], a[i][j]) = (a[i][j], a[k][j]) (b[k], b[i]) = (b[i], b[k]) break pivot = a[k][k] if pivot == 0: print('There is no unique solution to this system of equations.') return for j in range(k, n): a[k][j] /= pivot b[k] /= pivot for i in range(n): if i == k or a[i][k] == 0: continue factor = a[i][k] for j in range(k, n): a[i][j] -= factor * a[k][j] b[i] -= factor * b[k] print(b) def determinant(a): n = len(a) if n != len(a[0]): print('The matrix must be a square matrix.') else: s = 0 for k in range(n - 1): if abs(a[k][k]) < 1e-12: for i in range(k + 1, n): if abs(a[i][k]) > abs(a[k][k]): for j in range(k, n): (a[k][j], a[i][j]) = (a[i][j], a[k][j]) s = s + 1 for i in range(k + 1, n): if a[i][k] == 0: continue factor = a[i][k] / a[k][k] for j in range(k, n): a[i][j] = a[i][j] - factor * a[k][j] d = 1 for i in range(len(a)): d = d * a[i][i] d = d * (-1) ** s print(d) def inverse(a): n = len(a) p = [[0.0 for i in range(len(a))] for j in range(len(a))] for i in range(3): for j in range(3): P[j][j] = 1.0 for i in range(len(a)): a[i].extend(P[i]) for k in range(n): if abs(a[k][k]) < 1e-12: for i in range(k + 1, n): if abs(a[i][k]) > abs(a[k][k]): for j in range(k, 2 * n): (a[k][j], a[i][j]) = (a[i][j], a[k][j]) break pivot = a[k][k] if pivot == 0: print('This matrix is not invertible.') return else: for j in range(k, 2 * n): a[k][j] /= pivot for i in range(n): if i == k or a[i][k] == 0: continue factor = a[i][k] for j in range(k, 2 * n): a[i][j] -= factor * a[k][j] for i in range(len(a)): for j in range(n, len(a[0])): print('{:.2f}'.format(a[i][j]), end=' ') print()
class Solution: def sumNumbers(self, root: Optional[TreeNode]) -> int: def DFS(root): if not root: return 0 if not root.left and not root.right : return int(root.val) if root.left: root.left.val = 10 * root.val + root.left.val if root.right: root.right.val = 10 * root.val + root.right.val return DFS(root.left) + DFS(root.right) return DFS(root)
class Solution: def sum_numbers(self, root: Optional[TreeNode]) -> int: def dfs(root): if not root: return 0 if not root.left and (not root.right): return int(root.val) if root.left: root.left.val = 10 * root.val + root.left.val if root.right: root.right.val = 10 * root.val + root.right.val return dfs(root.left) + dfs(root.right) return dfs(root)
class OrderCodeAlreadyExists(Exception): pass class DealerDoesNotExist(Exception): pass class OrderDoesNotExist(Exception): pass class StatusNotAllowed(Exception): pass
class Ordercodealreadyexists(Exception): pass class Dealerdoesnotexist(Exception): pass class Orderdoesnotexist(Exception): pass class Statusnotallowed(Exception): pass
# -*- coding: utf-8 -*- # Copyright (c) 2017-18 Richard Hull and contributors # See LICENSE.rst for details. _DIGITS = { ' ': 0x00, '-': 0x01, '_': 0x08, '\'': 0x02, '0': 0x7e, '1': 0x30, '2': 0x6d, '3': 0x79, '4': 0x33, '5': 0x5b, '6': 0x5f, '7': 0x70, '8': 0x7f, '9': 0x7b, 'a': 0x7d, 'b': 0x1f, 'c': 0x0d, 'd': 0x3d, 'e': 0x6f, 'f': 0x47, 'g': 0x7b, 'h': 0x17, 'i': 0x10, 'j': 0x18, # 'k': cant represent 'l': 0x06, # 'm': cant represent 'n': 0x15, 'o': 0x1d, 'p': 0x67, 'q': 0x73, 'r': 0x05, 's': 0x5b, 't': 0x0f, 'u': 0x1c, 'v': 0x1c, # 'w': cant represent # 'x': cant represent 'y': 0x3b, 'z': 0x6d, 'A': 0x77, 'B': 0x7f, 'C': 0x4e, 'D': 0x7e, 'E': 0x4f, 'F': 0x47, 'G': 0x5e, 'H': 0x37, 'I': 0x30, 'J': 0x38, # 'K': cant represent 'L': 0x0e, # 'M': cant represent 'N': 0x76, 'O': 0x7e, 'P': 0x67, 'Q': 0x73, 'R': 0x46, 'S': 0x5b, 'T': 0x0f, 'U': 0x3e, 'V': 0x3e, # 'W': cant represent # 'X': cant represent 'Y': 0x3b, 'Z': 0x6d, ',': 0x80, '.': 0x80 } def regular(text, notfound="_"): try: undefined = _DIGITS[notfound] iterator = iter(text) while True: char = next(iterator) yield _DIGITS.get(char, undefined) except StopIteration: pass def dot_muncher(text, notfound="_"): undefined = _DIGITS[notfound] iterator = iter(text) last = _DIGITS.get(next(iterator), undefined) try: while True: curr = _DIGITS.get(next(iterator), undefined) if curr == 0x80: yield curr | last elif last != 0x80: yield last last = curr except StopIteration: if last != 0x80: yield last
_digits = {' ': 0, '-': 1, '_': 8, "'": 2, '0': 126, '1': 48, '2': 109, '3': 121, '4': 51, '5': 91, '6': 95, '7': 112, '8': 127, '9': 123, 'a': 125, 'b': 31, 'c': 13, 'd': 61, 'e': 111, 'f': 71, 'g': 123, 'h': 23, 'i': 16, 'j': 24, 'l': 6, 'n': 21, 'o': 29, 'p': 103, 'q': 115, 'r': 5, 's': 91, 't': 15, 'u': 28, 'v': 28, 'y': 59, 'z': 109, 'A': 119, 'B': 127, 'C': 78, 'D': 126, 'E': 79, 'F': 71, 'G': 94, 'H': 55, 'I': 48, 'J': 56, 'L': 14, 'N': 118, 'O': 126, 'P': 103, 'Q': 115, 'R': 70, 'S': 91, 'T': 15, 'U': 62, 'V': 62, 'Y': 59, 'Z': 109, ',': 128, '.': 128} def regular(text, notfound='_'): try: undefined = _DIGITS[notfound] iterator = iter(text) while True: char = next(iterator) yield _DIGITS.get(char, undefined) except StopIteration: pass def dot_muncher(text, notfound='_'): undefined = _DIGITS[notfound] iterator = iter(text) last = _DIGITS.get(next(iterator), undefined) try: while True: curr = _DIGITS.get(next(iterator), undefined) if curr == 128: yield (curr | last) elif last != 128: yield last last = curr except StopIteration: if last != 128: yield last
# merge sort # h/t https://www.thecrazyprogrammer.com/2017/12/python-merge-sort.html # h/t https://www.youtube.com/watch?v=Nso25TkBsYI def merge_sort(array): n = len(array) if n > 1: mid = n//2 left = array[0:mid] right = array[mid:n] print(mid, left, right, array) merge_sort(left) merge_sort(right) merge(left, right, array, n) def merge(left, right, array, array_length): right_length = len(right) left_length = len(left) left_index = right_index = 0 for array_index in range(0, array_length): if right_index == right_length: array[array_index:array_length] = left[left_index:left_length] break elif left_index == left_length: array[array_index:array_length] = right[right_index:right_length] break elif left[left_index] <= right[right_index]: array[array_index] = left[left_index] left_index += 1 else: array[array_index] = right[right_index] right_index += 1 array = [99,2,3,3,12,4,5] arr_len = len(array) merge_sort(array) print(array) assert len(array) == arr_len
def merge_sort(array): n = len(array) if n > 1: mid = n // 2 left = array[0:mid] right = array[mid:n] print(mid, left, right, array) merge_sort(left) merge_sort(right) merge(left, right, array, n) def merge(left, right, array, array_length): right_length = len(right) left_length = len(left) left_index = right_index = 0 for array_index in range(0, array_length): if right_index == right_length: array[array_index:array_length] = left[left_index:left_length] break elif left_index == left_length: array[array_index:array_length] = right[right_index:right_length] break elif left[left_index] <= right[right_index]: array[array_index] = left[left_index] left_index += 1 else: array[array_index] = right[right_index] right_index += 1 array = [99, 2, 3, 3, 12, 4, 5] arr_len = len(array) merge_sort(array) print(array) assert len(array) == arr_len
# Lucas Sequence Using Recursion def recur_luc(n): if n == 1: return n if n == 0: return 2 return (recur_luc(n-1) + recur_luc(n-2)) limit = int(input("How many terms to include in Lucas series:")) print("Lucas series:") for i in range(limit): print(recur_luc(i))
def recur_luc(n): if n == 1: return n if n == 0: return 2 return recur_luc(n - 1) + recur_luc(n - 2) limit = int(input('How many terms to include in Lucas series:')) print('Lucas series:') for i in range(limit): print(recur_luc(i))
# # PySNMP MIB module RBN-SYS-SECURITY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RBN-SYS-SECURITY-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:53:26 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") ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint") CounterBasedGauge64, = mibBuilder.importSymbols("HCNUM-TC", "CounterBasedGauge64") rbnModules, = mibBuilder.importSymbols("RBN-SMI", "rbnModules") RbnUnsigned64, = mibBuilder.importSymbols("RBN-TC", "RbnUnsigned64") ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup") MibIdentifier, ModuleIdentity, Bits, Gauge32, NotificationType, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Counter64, iso, Unsigned32, IpAddress, Integer32, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "ModuleIdentity", "Bits", "Gauge32", "NotificationType", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Counter64", "iso", "Unsigned32", "IpAddress", "Integer32", "ObjectIdentity") DisplayString, TextualConvention, DateAndTime = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "DateAndTime") rbnSysSecurityMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 2352, 5, 54)) rbnSysSecurityMib.setRevisions(('2009-11-09 18:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: rbnSysSecurityMib.setRevisionsDescriptions(('Initial version',)) if mibBuilder.loadTexts: rbnSysSecurityMib.setLastUpdated('200911091800Z') if mibBuilder.loadTexts: rbnSysSecurityMib.setOrganization('Ericsson Inc.') if mibBuilder.loadTexts: rbnSysSecurityMib.setContactInfo(' Ericsson Inc. 100 Headquarters Drive San Jose, CA 95134 USA Phone: +1 408 750 5000 Fax: +1 408 750 5599 ') if mibBuilder.loadTexts: rbnSysSecurityMib.setDescription('This MIB module defines attributes and notifications related to system and network level security issues. All mib objects defined in the module are viewed within the context identified in the SNMP protocol (i.e. the community string in v1/v2c or the contextName in v3). ') rbnSysSecNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 0)) rbnSysSecObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1)) rbnSysSecConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2)) rbnSysSecThresholdObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1)) rbnSysSecNotifyEnable = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 1), Bits().clone(namedValues=NamedValues(("maliciousPkt", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rbnSysSecNotifyEnable.setStatus('current') if mibBuilder.loadTexts: rbnSysSecNotifyEnable.setDescription('The bit mask to enable/disable notifications for crossing specific threshold.') rbnMeasurementInterval = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600)).clone(60)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: rbnMeasurementInterval.setStatus('current') if mibBuilder.loadTexts: rbnMeasurementInterval.setDescription('Data is sampled at the start and end of a specified interval. The difference between the start and end values |end - start| is called the delta value. When setting the interval, care should be taken that the interval should be short enough that the sampled variable is very unlikely to increase or decrease by more than range of the variable. ') rbnMaliciousPktsThresholdHi = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 3), RbnUnsigned64()).setUnits('Packets').setMaxAccess("readwrite") if mibBuilder.loadTexts: rbnMaliciousPktsThresholdHi.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsThresholdHi.setDescription('When the current sampling interval delta value of the malicious packets counter is greater than or equal to this threshold, and the delta value at the last sampling interval was less than this threshold, a single high threshold exceeded event will be generated. A single high threshold exceeded event will also be generated if the first sampling interval delta value of the malicious IP packets counter is greater than or equal to this threshold. After a high threshold exceeded event is generated, another such event will not be generated until the delta value falls below this threshold and reaches the rbnMaliciousPktsThresholdLow, generating a low threshold exceeded event. In other words there cannot be successive high threshold events without an intervening low threshold event. ') rbnMaliciousPktsThresholdLow = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 4), RbnUnsigned64()).setUnits('Packets').setMaxAccess("readwrite") if mibBuilder.loadTexts: rbnMaliciousPktsThresholdLow.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsThresholdLow.setDescription('When the current sampling interval delta value of the malicious packets counter is less than or equal to this threshold, and the delta value at the last sampling interval was greater than this threshold, a single low threshold exceeded event will be generated. In addition, a high threshold exceeded event must occur before a low threshold exceeded event can be generated. ') rbnSysSecStatsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 2)) rbnMaliciousPktsCounter = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 2, 1), Counter64()).setUnits('Packets').setMaxAccess("readonly") if mibBuilder.loadTexts: rbnMaliciousPktsCounter.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsCounter.setDescription('A count of all malicious pkts. This includes but is not limited to malformed IP packets, malformed layer 4 IP, packets filtered by ACLs for specific faults, IP packets identified as attempting to spoof a system, and IP packets which failed reassembly.') rbnMaliciousPktsDelta = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 2, 2), CounterBasedGauge64()).setUnits('packets').setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbnMaliciousPktsDelta.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsDelta.setDescription('The delta value of rbnMaliciousPktsCounter at the most recently completed measurement interval.') rbnSysSecNotifyObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 4)) rbnThresholdNotifyTime = MibScalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 4, 1), DateAndTime()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: rbnThresholdNotifyTime.setStatus('current') if mibBuilder.loadTexts: rbnThresholdNotifyTime.setDescription('The DateAndTime of the notification.') rbnMaliciousPktThresholdHiExceeded = NotificationType((1, 3, 6, 1, 4, 1, 2352, 5, 54, 0, 1)) if mibBuilder.loadTexts: rbnMaliciousPktThresholdHiExceeded.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktThresholdHiExceeded.setDescription('This notification signifies that one of the delta values is equal to or greater than the corresponding high threshold value. The specific delta value is the last object in the notification varbind list. ') rbnMaliciousPktThresholdLowExceeded = NotificationType((1, 3, 6, 1, 4, 1, 2352, 5, 54, 0, 2)).setObjects(("RBN-SYS-SECURITY-MIB", "rbnThresholdNotifyTime")) if mibBuilder.loadTexts: rbnMaliciousPktThresholdLowExceeded.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktThresholdLowExceeded.setDescription('This notification signifies that one of the delta values is less than or equal to the corresponding low threshold value. The specific delta value is the last object in the notification varbind list. ') rbnSysSecCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 1)) rbnSysSecGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2)) rbnMaliciousPktGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2, 1)).setObjects(("RBN-SYS-SECURITY-MIB", "rbnSysSecNotifyEnable"), ("RBN-SYS-SECURITY-MIB", "rbnMeasurementInterval"), ("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktsThresholdHi"), ("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktsThresholdLow"), ("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktsCounter")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnMaliciousPktGroup = rbnMaliciousPktGroup.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktGroup.setDescription('Set of objects for the group.') rbnSysSecNotifyObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2, 4)).setObjects(("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktsDelta"), ("RBN-SYS-SECURITY-MIB", "rbnThresholdNotifyTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnSysSecNotifyObjectsGroup = rbnSysSecNotifyObjectsGroup.setStatus('current') if mibBuilder.loadTexts: rbnSysSecNotifyObjectsGroup.setDescription('Set of objects for the group.') rbnSysSecNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2, 5)).setObjects(("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktThresholdHiExceeded"), ("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktThresholdLowExceeded")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnSysSecNotificationGroup = rbnSysSecNotificationGroup.setStatus('current') if mibBuilder.loadTexts: rbnSysSecNotificationGroup.setDescription('Set of notifications for the group.') rbnSysSecCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 1, 1)).setObjects(("RBN-SYS-SECURITY-MIB", "rbnMaliciousPktGroup"), ("RBN-SYS-SECURITY-MIB", "rbnSysSecNotifyObjectsGroup"), ("RBN-SYS-SECURITY-MIB", "rbnSysSecNotificationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbnSysSecCompliance = rbnSysSecCompliance.setStatus('current') if mibBuilder.loadTexts: rbnSysSecCompliance.setDescription('The compliance statement for support of this mib module.') mibBuilder.exportSymbols("RBN-SYS-SECURITY-MIB", rbnMeasurementInterval=rbnMeasurementInterval, rbnSysSecConformance=rbnSysSecConformance, rbnMaliciousPktThresholdHiExceeded=rbnMaliciousPktThresholdHiExceeded, rbnSysSecNotifications=rbnSysSecNotifications, rbnSysSecCompliances=rbnSysSecCompliances, rbnSysSecGroups=rbnSysSecGroups, rbnSysSecNotifyObjectsGroup=rbnSysSecNotifyObjectsGroup, rbnMaliciousPktGroup=rbnMaliciousPktGroup, rbnSysSecObjects=rbnSysSecObjects, rbnMaliciousPktsThresholdHi=rbnMaliciousPktsThresholdHi, rbnSysSecCompliance=rbnSysSecCompliance, rbnSysSecNotifyObjects=rbnSysSecNotifyObjects, rbnSysSecThresholdObjects=rbnSysSecThresholdObjects, rbnSysSecNotificationGroup=rbnSysSecNotificationGroup, PYSNMP_MODULE_ID=rbnSysSecurityMib, rbnSysSecNotifyEnable=rbnSysSecNotifyEnable, rbnMaliciousPktsCounter=rbnMaliciousPktsCounter, rbnMaliciousPktsThresholdLow=rbnMaliciousPktsThresholdLow, rbnSysSecStatsObjects=rbnSysSecStatsObjects, rbnMaliciousPktThresholdLowExceeded=rbnMaliciousPktThresholdLowExceeded, rbnThresholdNotifyTime=rbnThresholdNotifyTime, rbnSysSecurityMib=rbnSysSecurityMib, rbnMaliciousPktsDelta=rbnMaliciousPktsDelta)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, single_value_constraint, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint') (counter_based_gauge64,) = mibBuilder.importSymbols('HCNUM-TC', 'CounterBasedGauge64') (rbn_modules,) = mibBuilder.importSymbols('RBN-SMI', 'rbnModules') (rbn_unsigned64,) = mibBuilder.importSymbols('RBN-TC', 'RbnUnsigned64') (module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup') (mib_identifier, module_identity, bits, gauge32, notification_type, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, counter64, iso, unsigned32, ip_address, integer32, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'ModuleIdentity', 'Bits', 'Gauge32', 'NotificationType', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Counter64', 'iso', 'Unsigned32', 'IpAddress', 'Integer32', 'ObjectIdentity') (display_string, textual_convention, date_and_time) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'DateAndTime') rbn_sys_security_mib = module_identity((1, 3, 6, 1, 4, 1, 2352, 5, 54)) rbnSysSecurityMib.setRevisions(('2009-11-09 18:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: rbnSysSecurityMib.setRevisionsDescriptions(('Initial version',)) if mibBuilder.loadTexts: rbnSysSecurityMib.setLastUpdated('200911091800Z') if mibBuilder.loadTexts: rbnSysSecurityMib.setOrganization('Ericsson Inc.') if mibBuilder.loadTexts: rbnSysSecurityMib.setContactInfo(' Ericsson Inc. 100 Headquarters Drive San Jose, CA 95134 USA Phone: +1 408 750 5000 Fax: +1 408 750 5599 ') if mibBuilder.loadTexts: rbnSysSecurityMib.setDescription('This MIB module defines attributes and notifications related to system and network level security issues. All mib objects defined in the module are viewed within the context identified in the SNMP protocol (i.e. the community string in v1/v2c or the contextName in v3). ') rbn_sys_sec_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 0)) rbn_sys_sec_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1)) rbn_sys_sec_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2)) rbn_sys_sec_threshold_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1)) rbn_sys_sec_notify_enable = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 1), bits().clone(namedValues=named_values(('maliciousPkt', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rbnSysSecNotifyEnable.setStatus('current') if mibBuilder.loadTexts: rbnSysSecNotifyEnable.setDescription('The bit mask to enable/disable notifications for crossing specific threshold.') rbn_measurement_interval = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(1, 3600)).clone(60)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: rbnMeasurementInterval.setStatus('current') if mibBuilder.loadTexts: rbnMeasurementInterval.setDescription('Data is sampled at the start and end of a specified interval. The difference between the start and end values |end - start| is called the delta value. When setting the interval, care should be taken that the interval should be short enough that the sampled variable is very unlikely to increase or decrease by more than range of the variable. ') rbn_malicious_pkts_threshold_hi = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 3), rbn_unsigned64()).setUnits('Packets').setMaxAccess('readwrite') if mibBuilder.loadTexts: rbnMaliciousPktsThresholdHi.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsThresholdHi.setDescription('When the current sampling interval delta value of the malicious packets counter is greater than or equal to this threshold, and the delta value at the last sampling interval was less than this threshold, a single high threshold exceeded event will be generated. A single high threshold exceeded event will also be generated if the first sampling interval delta value of the malicious IP packets counter is greater than or equal to this threshold. After a high threshold exceeded event is generated, another such event will not be generated until the delta value falls below this threshold and reaches the rbnMaliciousPktsThresholdLow, generating a low threshold exceeded event. In other words there cannot be successive high threshold events without an intervening low threshold event. ') rbn_malicious_pkts_threshold_low = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 1, 4), rbn_unsigned64()).setUnits('Packets').setMaxAccess('readwrite') if mibBuilder.loadTexts: rbnMaliciousPktsThresholdLow.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsThresholdLow.setDescription('When the current sampling interval delta value of the malicious packets counter is less than or equal to this threshold, and the delta value at the last sampling interval was greater than this threshold, a single low threshold exceeded event will be generated. In addition, a high threshold exceeded event must occur before a low threshold exceeded event can be generated. ') rbn_sys_sec_stats_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 2)) rbn_malicious_pkts_counter = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 2, 1), counter64()).setUnits('Packets').setMaxAccess('readonly') if mibBuilder.loadTexts: rbnMaliciousPktsCounter.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsCounter.setDescription('A count of all malicious pkts. This includes but is not limited to malformed IP packets, malformed layer 4 IP, packets filtered by ACLs for specific faults, IP packets identified as attempting to spoof a system, and IP packets which failed reassembly.') rbn_malicious_pkts_delta = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 2, 2), counter_based_gauge64()).setUnits('packets').setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbnMaliciousPktsDelta.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktsDelta.setDescription('The delta value of rbnMaliciousPktsCounter at the most recently completed measurement interval.') rbn_sys_sec_notify_objects = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 4)) rbn_threshold_notify_time = mib_scalar((1, 3, 6, 1, 4, 1, 2352, 5, 54, 1, 4, 1), date_and_time()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: rbnThresholdNotifyTime.setStatus('current') if mibBuilder.loadTexts: rbnThresholdNotifyTime.setDescription('The DateAndTime of the notification.') rbn_malicious_pkt_threshold_hi_exceeded = notification_type((1, 3, 6, 1, 4, 1, 2352, 5, 54, 0, 1)) if mibBuilder.loadTexts: rbnMaliciousPktThresholdHiExceeded.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktThresholdHiExceeded.setDescription('This notification signifies that one of the delta values is equal to or greater than the corresponding high threshold value. The specific delta value is the last object in the notification varbind list. ') rbn_malicious_pkt_threshold_low_exceeded = notification_type((1, 3, 6, 1, 4, 1, 2352, 5, 54, 0, 2)).setObjects(('RBN-SYS-SECURITY-MIB', 'rbnThresholdNotifyTime')) if mibBuilder.loadTexts: rbnMaliciousPktThresholdLowExceeded.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktThresholdLowExceeded.setDescription('This notification signifies that one of the delta values is less than or equal to the corresponding low threshold value. The specific delta value is the last object in the notification varbind list. ') rbn_sys_sec_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 1)) rbn_sys_sec_groups = mib_identifier((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2)) rbn_malicious_pkt_group = object_group((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2, 1)).setObjects(('RBN-SYS-SECURITY-MIB', 'rbnSysSecNotifyEnable'), ('RBN-SYS-SECURITY-MIB', 'rbnMeasurementInterval'), ('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktsThresholdHi'), ('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktsThresholdLow'), ('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktsCounter')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_malicious_pkt_group = rbnMaliciousPktGroup.setStatus('current') if mibBuilder.loadTexts: rbnMaliciousPktGroup.setDescription('Set of objects for the group.') rbn_sys_sec_notify_objects_group = object_group((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2, 4)).setObjects(('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktsDelta'), ('RBN-SYS-SECURITY-MIB', 'rbnThresholdNotifyTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_sys_sec_notify_objects_group = rbnSysSecNotifyObjectsGroup.setStatus('current') if mibBuilder.loadTexts: rbnSysSecNotifyObjectsGroup.setDescription('Set of objects for the group.') rbn_sys_sec_notification_group = notification_group((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 2, 5)).setObjects(('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktThresholdHiExceeded'), ('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktThresholdLowExceeded')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_sys_sec_notification_group = rbnSysSecNotificationGroup.setStatus('current') if mibBuilder.loadTexts: rbnSysSecNotificationGroup.setDescription('Set of notifications for the group.') rbn_sys_sec_compliance = module_compliance((1, 3, 6, 1, 4, 1, 2352, 5, 54, 2, 1, 1)).setObjects(('RBN-SYS-SECURITY-MIB', 'rbnMaliciousPktGroup'), ('RBN-SYS-SECURITY-MIB', 'rbnSysSecNotifyObjectsGroup'), ('RBN-SYS-SECURITY-MIB', 'rbnSysSecNotificationGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): rbn_sys_sec_compliance = rbnSysSecCompliance.setStatus('current') if mibBuilder.loadTexts: rbnSysSecCompliance.setDescription('The compliance statement for support of this mib module.') mibBuilder.exportSymbols('RBN-SYS-SECURITY-MIB', rbnMeasurementInterval=rbnMeasurementInterval, rbnSysSecConformance=rbnSysSecConformance, rbnMaliciousPktThresholdHiExceeded=rbnMaliciousPktThresholdHiExceeded, rbnSysSecNotifications=rbnSysSecNotifications, rbnSysSecCompliances=rbnSysSecCompliances, rbnSysSecGroups=rbnSysSecGroups, rbnSysSecNotifyObjectsGroup=rbnSysSecNotifyObjectsGroup, rbnMaliciousPktGroup=rbnMaliciousPktGroup, rbnSysSecObjects=rbnSysSecObjects, rbnMaliciousPktsThresholdHi=rbnMaliciousPktsThresholdHi, rbnSysSecCompliance=rbnSysSecCompliance, rbnSysSecNotifyObjects=rbnSysSecNotifyObjects, rbnSysSecThresholdObjects=rbnSysSecThresholdObjects, rbnSysSecNotificationGroup=rbnSysSecNotificationGroup, PYSNMP_MODULE_ID=rbnSysSecurityMib, rbnSysSecNotifyEnable=rbnSysSecNotifyEnable, rbnMaliciousPktsCounter=rbnMaliciousPktsCounter, rbnMaliciousPktsThresholdLow=rbnMaliciousPktsThresholdLow, rbnSysSecStatsObjects=rbnSysSecStatsObjects, rbnMaliciousPktThresholdLowExceeded=rbnMaliciousPktThresholdLowExceeded, rbnThresholdNotifyTime=rbnThresholdNotifyTime, rbnSysSecurityMib=rbnSysSecurityMib, rbnMaliciousPktsDelta=rbnMaliciousPktsDelta)
lines = open('input.txt').read().splitlines() matches = {'(': ')', '[': ']', '{': '}', '<': '>'} penalty = {')': 3, ']': 57, '}': 1197, '>': 25137} costs = {')': 1, ']': 2, '}': 3, '>': 4} errors = [] incpl_costs = [] for i, l in enumerate(lines): expected_closings = [] for c in l: if c in matches.keys(): expected_closings.append(matches[c]) else: if expected_closings[-1] != c: # corrupted errors.append((i, c)) break else: del expected_closings[-1] if not errors or errors[-1][0] != i: # incomplete cur_costs = 0 for c in expected_closings[::-1]: cur_costs = cur_costs * 5 + costs[c] incpl_costs.append(cur_costs) print(sum(penalty[c] for _, c in errors)) print(sorted(incpl_costs)[len(incpl_costs) // 2])
lines = open('input.txt').read().splitlines() matches = {'(': ')', '[': ']', '{': '}', '<': '>'} penalty = {')': 3, ']': 57, '}': 1197, '>': 25137} costs = {')': 1, ']': 2, '}': 3, '>': 4} errors = [] incpl_costs = [] for (i, l) in enumerate(lines): expected_closings = [] for c in l: if c in matches.keys(): expected_closings.append(matches[c]) elif expected_closings[-1] != c: errors.append((i, c)) break else: del expected_closings[-1] if not errors or errors[-1][0] != i: cur_costs = 0 for c in expected_closings[::-1]: cur_costs = cur_costs * 5 + costs[c] incpl_costs.append(cur_costs) print(sum((penalty[c] for (_, c) in errors))) print(sorted(incpl_costs)[len(incpl_costs) // 2])
# Given a sorted array of integers, find the starting and ending position of a given target value. # Your algorithm's runtime complexity must be in the order of O(log n). # If the target is not found in the array, return [-1, -1]. # For example, # Given [5, 7, 7, 8, 8, 10] and target value 8, # return [3, 4]. def search_range(numbers, target): result = [-1, -1] if len(numbers) == 0: return result low = 0 high = len(numbers) - 1 while low <= high: mid = low + (high - low) // 2 if numbers[mid] >= target: high = mid - 1 else: low = mid + 1 if low < len(numbers) and numbers[low] == target: result[0] = low else: return result high = len(numbers) - 1 while low <= high: mid = low + (high - low) // 2 if numbers[mid] <= target: low = mid + 1 else: high = mid - 1 result[1] = high return result if __name__ == '__main__': array = [5, 7, 7, 8, 8, 10] target = 8 print('The range of', target, 'in array', array, 'is:', search_range(array, target))
def search_range(numbers, target): result = [-1, -1] if len(numbers) == 0: return result low = 0 high = len(numbers) - 1 while low <= high: mid = low + (high - low) // 2 if numbers[mid] >= target: high = mid - 1 else: low = mid + 1 if low < len(numbers) and numbers[low] == target: result[0] = low else: return result high = len(numbers) - 1 while low <= high: mid = low + (high - low) // 2 if numbers[mid] <= target: low = mid + 1 else: high = mid - 1 result[1] = high return result if __name__ == '__main__': array = [5, 7, 7, 8, 8, 10] target = 8 print('The range of', target, 'in array', array, 'is:', search_range(array, target))
# https://leetcode.com/problems/climbing-stairs/ # --------------------------------------------------- # Runtime Complexity: O(n) # Space Complexity: O(1) class Solution: def climbStairs(self, n: int) -> int: if n <= 2: return n prev_prev = 1 prev = 2 cur = 0 for i in range(3, n + 1): cur = prev_prev + prev prev_prev, prev = prev, cur return cur # --------------------------------------------------- # Test Cases # --------------------------------------------------- solution = Solution() # 0 print(solution.climbStairs(0)) # 1 print(solution.climbStairs(1)) # 2 print(solution.climbStairs(2)) # 3 print(solution.climbStairs(3)) # 5 print(solution.climbStairs(4)) # 8 print(solution.climbStairs(5)) # 13 print(solution.climbStairs(6))
class Solution: def climb_stairs(self, n: int) -> int: if n <= 2: return n prev_prev = 1 prev = 2 cur = 0 for i in range(3, n + 1): cur = prev_prev + prev (prev_prev, prev) = (prev, cur) return cur solution = solution() print(solution.climbStairs(0)) print(solution.climbStairs(1)) print(solution.climbStairs(2)) print(solution.climbStairs(3)) print(solution.climbStairs(4)) print(solution.climbStairs(5)) print(solution.climbStairs(6))
def urlify(s, i): p1, p2 = len(s) - 1, i while p1 >= 0 and p2 >= 0: if s[p2] != " ": s[p1] = s[p2] else: for i in reversed("%20"): s[p1] = i p1 -= 1 p1 -= 1 p2 -= 1
def urlify(s, i): (p1, p2) = (len(s) - 1, i) while p1 >= 0 and p2 >= 0: if s[p2] != ' ': s[p1] = s[p2] else: for i in reversed('%20'): s[p1] = i p1 -= 1 p1 -= 1 p2 -= 1
# Example 1: # Input: candidates = [2,3,6,7], target = 7 # Output: [[2,2,3],[7]] # Explanation: # 2 and 3 are candidates, and 2 + 2 + 3 = 7. # Note that 2 can be used multiple times. # 7 is a candidate, and 7 = 7. # These are the only two combinations. # Example 2: # Input: candidates = [2,3,5], target = 8 # Output: [[2,2,2,2],[2,3,3],[3,5]] class Solution: def combinationSum(self, candidates: List[int], target: int) -> List[List[int]]: comb = [[] if i > 0 else [[]] for i in range(target + 1)] for candidate in candidates: for i in range(candidate, len(comb)): comb[i].extend(comb + [candidate] for comb in comb[i - candidate]) return comb[-1]
class Solution: def combination_sum(self, candidates: List[int], target: int) -> List[List[int]]: comb = [[] if i > 0 else [[]] for i in range(target + 1)] for candidate in candidates: for i in range(candidate, len(comb)): comb[i].extend((comb + [candidate] for comb in comb[i - candidate])) return comb[-1]
################################################# # Unit helpers # ################################################# class Length(float): unit2m = dict(mm=0.001, cm=0.01, dm=0.1, m=1, km=1000) def __new__(cls, val, unit): return float.__new__(cls, val) def __init__(self, val, unit): assert unit in Length.unit2m, 'Unknown units' self.unit = unit def __str__(self): return f'{float(self)} {self.unit}' def __repr__(self): return self.__str__() def to(self, name): if name in Length.unit2m: return Length.unit2m[self.unit] * float(self) / Length.unit2m[name] def __abs__(self): return Length.unit2m[self.unit] * float(self) class Time(float): unit2s = dict( s=1, min=60, h=3600, d=24 * 3600, y=365.25 * 24 * 3600, ky=1e3 * 365.25 * 24 * 3600, Ma=1e6 * 365.25 * 24 * 3600, ) def __new__(cls, val, unit): return float.__new__(cls, val) def __init__(self, val, unit): assert unit in Time.unit2s, 'Unknown units' self.unit = unit def __str__(self): return f'{float(self)} {self.unit}' def __repr__(self): return self.__str__() def to(self, name): if name in Time.unit2s: return Time.unit2s[self.unit] * float(self) / Time.unit2s[name] def __abs__(self): return Time.unit2s[self.unit] * float(self)
class Length(float): unit2m = dict(mm=0.001, cm=0.01, dm=0.1, m=1, km=1000) def __new__(cls, val, unit): return float.__new__(cls, val) def __init__(self, val, unit): assert unit in Length.unit2m, 'Unknown units' self.unit = unit def __str__(self): return f'{float(self)} {self.unit}' def __repr__(self): return self.__str__() def to(self, name): if name in Length.unit2m: return Length.unit2m[self.unit] * float(self) / Length.unit2m[name] def __abs__(self): return Length.unit2m[self.unit] * float(self) class Time(float): unit2s = dict(s=1, min=60, h=3600, d=24 * 3600, y=365.25 * 24 * 3600, ky=1000.0 * 365.25 * 24 * 3600, Ma=1000000.0 * 365.25 * 24 * 3600) def __new__(cls, val, unit): return float.__new__(cls, val) def __init__(self, val, unit): assert unit in Time.unit2s, 'Unknown units' self.unit = unit def __str__(self): return f'{float(self)} {self.unit}' def __repr__(self): return self.__str__() def to(self, name): if name in Time.unit2s: return Time.unit2s[self.unit] * float(self) / Time.unit2s[name] def __abs__(self): return Time.unit2s[self.unit] * float(self)
command = input() student_ticket = 0 standard_ticket = 0 kid_ticket = 0 while command != "Finish": seats = int(input()) ticket_type = input() tickets_sold = 0 while seats > tickets_sold: tickets_sold += 1 if ticket_type == "student": student_ticket += 1 elif ticket_type == "standard": standard_ticket += 1 elif ticket_type == "kid": kid_ticket += 1 if tickets_sold == seats: break ticket_type = input() if ticket_type == "End": break print(f"{command} - {tickets_sold / seats * 100:.2f}% full.") command = input() total_tickets = student_ticket + standard_ticket + kid_ticket print(f"Total tickets: {total_tickets}") print(f"{student_ticket / total_tickets * 100:.2f}% student tickets.") print(f"{standard_ticket / total_tickets * 100:.2f}% standard tickets.") print(f"{kid_ticket / total_tickets * 100:.2f}% kids tickets.")
command = input() student_ticket = 0 standard_ticket = 0 kid_ticket = 0 while command != 'Finish': seats = int(input()) ticket_type = input() tickets_sold = 0 while seats > tickets_sold: tickets_sold += 1 if ticket_type == 'student': student_ticket += 1 elif ticket_type == 'standard': standard_ticket += 1 elif ticket_type == 'kid': kid_ticket += 1 if tickets_sold == seats: break ticket_type = input() if ticket_type == 'End': break print(f'{command} - {tickets_sold / seats * 100:.2f}% full.') command = input() total_tickets = student_ticket + standard_ticket + kid_ticket print(f'Total tickets: {total_tickets}') print(f'{student_ticket / total_tickets * 100:.2f}% student tickets.') print(f'{standard_ticket / total_tickets * 100:.2f}% standard tickets.') print(f'{kid_ticket / total_tickets * 100:.2f}% kids tickets.')
META_SITE_DOMAIN = 'www.geocoptix.com' META_USE_OG_PROPERTIES = True META_USE_TWITTER_PROPERTIES = True META_TWITTER_AUTHOR = 'geocoptix' META_FB_AUTHOR_URL = 'https://facebook.com/geocoptix'
meta_site_domain = 'www.geocoptix.com' meta_use_og_properties = True meta_use_twitter_properties = True meta_twitter_author = 'geocoptix' meta_fb_author_url = 'https://facebook.com/geocoptix'
class Toggle_Button(QPushButton): sent_fix = pyqtSignal(bool, int, bool) def __init__(self, currentRowCount): QPushButton.__init__(self, "ON") # self.setFixedSize(100, 100) self.currentRowCount = self.rowCount() self.setStyleSheet("background-color: green") self.setCheckable(True) self.toggled.connect(self.slot_toggle) # when toggled connect initial state is True in order to make first click as OFF then True state must be red and OFF @pyqtSlot(bool) def slot_toggle(self, state): print(self.currentRowCount, state) self.sent_fix.emit(False, self.currentRowCount, state) self.setStyleSheet("background-color: %s" % ({True: "red", False: "green"}[state])) self.setText({True: "OFF", False: "ON"}[state])
class Toggle_Button(QPushButton): sent_fix = pyqt_signal(bool, int, bool) def __init__(self, currentRowCount): QPushButton.__init__(self, 'ON') self.currentRowCount = self.rowCount() self.setStyleSheet('background-color: green') self.setCheckable(True) self.toggled.connect(self.slot_toggle) @pyqt_slot(bool) def slot_toggle(self, state): print(self.currentRowCount, state) self.sent_fix.emit(False, self.currentRowCount, state) self.setStyleSheet('background-color: %s' % {True: 'red', False: 'green'}[state]) self.setText({True: 'OFF', False: 'ON'}[state])