capo-api-gateway 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. capo_api_gateway/__init__.py +70 -0
  2. capo_api_gateway/_async.py +25 -0
  3. capo_api_gateway/_auth/_identity.py +16 -0
  4. capo_api_gateway/_auth/_providers.py +886 -0
  5. capo_api_gateway/_auth/_signers.py +88 -0
  6. capo_api_gateway/_auth/_sigv4.py +434 -0
  7. capo_api_gateway/_auth/_zapros_handler.py +80 -0
  8. capo_api_gateway/_iter.py +113 -0
  9. capo_api_gateway/_operations/backplane_control_service/create_api_key.py +166 -0
  10. capo_api_gateway/_operations/backplane_control_service/create_authorizer.py +168 -0
  11. capo_api_gateway/_operations/backplane_control_service/create_base_path_mapping.py +170 -0
  12. capo_api_gateway/_operations/backplane_control_service/create_deployment.py +176 -0
  13. capo_api_gateway/_operations/backplane_control_service/create_documentation_part.py +173 -0
  14. capo_api_gateway/_operations/backplane_control_service/create_documentation_version.py +175 -0
  15. capo_api_gateway/_operations/backplane_control_service/create_domain_name.py +168 -0
  16. capo_api_gateway/_operations/backplane_control_service/create_domain_name_access_association.py +167 -0
  17. capo_api_gateway/_operations/backplane_control_service/create_model.py +164 -0
  18. capo_api_gateway/_operations/backplane_control_service/create_request_validator.py +168 -0
  19. capo_api_gateway/_operations/backplane_control_service/create_resource.py +168 -0
  20. capo_api_gateway/_operations/backplane_control_service/create_rest_api.py +167 -0
  21. capo_api_gateway/_operations/backplane_control_service/create_stage.py +171 -0
  22. capo_api_gateway/_operations/backplane_control_service/create_usage_plan.py +168 -0
  23. capo_api_gateway/_operations/backplane_control_service/create_usage_plan_key.py +168 -0
  24. capo_api_gateway/_operations/backplane_control_service/create_vpc_link.py +162 -0
  25. capo_api_gateway/_operations/backplane_control_service/delete_api_key.py +136 -0
  26. capo_api_gateway/_operations/backplane_control_service/delete_authorizer.py +137 -0
  27. capo_api_gateway/_operations/backplane_control_service/delete_base_path_mapping.py +142 -0
  28. capo_api_gateway/_operations/backplane_control_service/delete_client_certificate.py +138 -0
  29. capo_api_gateway/_operations/backplane_control_service/delete_deployment.py +142 -0
  30. capo_api_gateway/_operations/backplane_control_service/delete_documentation_part.py +142 -0
  31. capo_api_gateway/_operations/backplane_control_service/delete_documentation_version.py +142 -0
  32. capo_api_gateway/_operations/backplane_control_service/delete_domain_name.py +138 -0
  33. capo_api_gateway/_operations/backplane_control_service/delete_domain_name_access_association.py +142 -0
  34. capo_api_gateway/_operations/backplane_control_service/delete_gateway_response.py +151 -0
  35. capo_api_gateway/_operations/backplane_control_service/delete_integration.py +141 -0
  36. capo_api_gateway/_operations/backplane_control_service/delete_integration_response.py +142 -0
  37. capo_api_gateway/_operations/backplane_control_service/delete_method.py +136 -0
  38. capo_api_gateway/_operations/backplane_control_service/delete_method_response.py +142 -0
  39. capo_api_gateway/_operations/backplane_control_service/delete_model.py +137 -0
  40. capo_api_gateway/_operations/backplane_control_service/delete_request_validator.py +142 -0
  41. capo_api_gateway/_operations/backplane_control_service/delete_resource.py +137 -0
  42. capo_api_gateway/_operations/backplane_control_service/delete_rest_api.py +136 -0
  43. capo_api_gateway/_operations/backplane_control_service/delete_stage.py +142 -0
  44. capo_api_gateway/_operations/backplane_control_service/delete_usage_plan.py +136 -0
  45. capo_api_gateway/_operations/backplane_control_service/delete_usage_plan_key.py +137 -0
  46. capo_api_gateway/_operations/backplane_control_service/delete_vpc_link.py +136 -0
  47. capo_api_gateway/_operations/backplane_control_service/flush_stage_authorizers_cache.py +145 -0
  48. capo_api_gateway/_operations/backplane_control_service/flush_stage_cache.py +144 -0
  49. capo_api_gateway/_operations/backplane_control_service/generate_client_certificate.py +169 -0
  50. capo_api_gateway/_operations/backplane_control_service/get_account.py +152 -0
  51. capo_api_gateway/_operations/backplane_control_service/get_api_key.py +155 -0
  52. capo_api_gateway/_operations/backplane_control_service/get_api_keys.py +164 -0
  53. capo_api_gateway/_operations/backplane_control_service/get_authorizer.py +155 -0
  54. capo_api_gateway/_operations/backplane_control_service/get_authorizers.py +157 -0
  55. capo_api_gateway/_operations/backplane_control_service/get_base_path_mapping.py +160 -0
  56. capo_api_gateway/_operations/backplane_control_service/get_base_path_mappings.py +161 -0
  57. capo_api_gateway/_operations/backplane_control_service/get_client_certificate.py +162 -0
  58. capo_api_gateway/_operations/backplane_control_service/get_client_certificates.py +161 -0
  59. capo_api_gateway/_operations/backplane_control_service/get_deployment.py +164 -0
  60. capo_api_gateway/_operations/backplane_control_service/get_deployments.py +162 -0
  61. capo_api_gateway/_operations/backplane_control_service/get_documentation_part.py +165 -0
  62. capo_api_gateway/_operations/backplane_control_service/get_documentation_parts.py +190 -0
  63. capo_api_gateway/_operations/backplane_control_service/get_documentation_version.py +160 -0
  64. capo_api_gateway/_operations/backplane_control_service/get_documentation_versions.py +163 -0
  65. capo_api_gateway/_operations/backplane_control_service/get_domain_name.py +162 -0
  66. capo_api_gateway/_operations/backplane_control_service/get_domain_name_access_associations.py +175 -0
  67. capo_api_gateway/_operations/backplane_control_service/get_domain_names.py +169 -0
  68. capo_api_gateway/_operations/backplane_control_service/get_export.py +184 -0
  69. capo_api_gateway/_operations/backplane_control_service/get_gateway_response.py +170 -0
  70. capo_api_gateway/_operations/backplane_control_service/get_gateway_responses.py +159 -0
  71. capo_api_gateway/_operations/backplane_control_service/get_integration.py +165 -0
  72. capo_api_gateway/_operations/backplane_control_service/get_integration_response.py +166 -0
  73. capo_api_gateway/_operations/backplane_control_service/get_method.py +155 -0
  74. capo_api_gateway/_operations/backplane_control_service/get_method_response.py +157 -0
  75. capo_api_gateway/_operations/backplane_control_service/get_model.py +152 -0
  76. capo_api_gateway/_operations/backplane_control_service/get_model_template.py +156 -0
  77. capo_api_gateway/_operations/backplane_control_service/get_models.py +155 -0
  78. capo_api_gateway/_operations/backplane_control_service/get_request_validator.py +160 -0
  79. capo_api_gateway/_operations/backplane_control_service/get_request_validators.py +163 -0
  80. capo_api_gateway/_operations/backplane_control_service/get_resource.py +153 -0
  81. capo_api_gateway/_operations/backplane_control_service/get_resources.py +161 -0
  82. capo_api_gateway/_operations/backplane_control_service/get_rest_api.py +160 -0
  83. capo_api_gateway/_operations/backplane_control_service/get_rest_apis.py +155 -0
  84. capo_api_gateway/_operations/backplane_control_service/get_sdk.py +182 -0
  85. capo_api_gateway/_operations/backplane_control_service/get_sdk_type.py +153 -0
  86. capo_api_gateway/_operations/backplane_control_service/get_sdk_types.py +155 -0
  87. capo_api_gateway/_operations/backplane_control_service/get_stage.py +168 -0
  88. capo_api_gateway/_operations/backplane_control_service/get_stages.py +163 -0
  89. capo_api_gateway/_operations/backplane_control_service/get_tags.py +153 -0
  90. capo_api_gateway/_operations/backplane_control_service/get_usage.py +161 -0
  91. capo_api_gateway/_operations/backplane_control_service/get_usage_plan.py +156 -0
  92. capo_api_gateway/_operations/backplane_control_service/get_usage_plan_key.py +155 -0
  93. capo_api_gateway/_operations/backplane_control_service/get_usage_plan_keys.py +161 -0
  94. capo_api_gateway/_operations/backplane_control_service/get_usage_plans.py +157 -0
  95. capo_api_gateway/_operations/backplane_control_service/get_vpc_link.py +155 -0
  96. capo_api_gateway/_operations/backplane_control_service/get_vpc_links.py +155 -0
  97. capo_api_gateway/_operations/backplane_control_service/import_api_keys.py +176 -0
  98. capo_api_gateway/_operations/backplane_control_service/import_documentation_parts.py +181 -0
  99. capo_api_gateway/_operations/backplane_control_service/import_rest_api.py +182 -0
  100. capo_api_gateway/_operations/backplane_control_service/put_gateway_response.py +184 -0
  101. capo_api_gateway/_operations/backplane_control_service/put_integration.py +179 -0
  102. capo_api_gateway/_operations/backplane_control_service/put_integration_response.py +180 -0
  103. capo_api_gateway/_operations/backplane_control_service/put_method.py +174 -0
  104. capo_api_gateway/_operations/backplane_control_service/put_method_response.py +176 -0
  105. capo_api_gateway/_operations/backplane_control_service/put_rest_api.py +194 -0
  106. capo_api_gateway/_operations/backplane_control_service/reject_domain_name_access_association.py +143 -0
  107. capo_api_gateway/_operations/backplane_control_service/tag_resource.py +146 -0
  108. capo_api_gateway/_operations/backplane_control_service/test_invoke_authorizer.py +167 -0
  109. capo_api_gateway/_operations/backplane_control_service/test_invoke_method.py +171 -0
  110. capo_api_gateway/_operations/backplane_control_service/untag_resource.py +144 -0
  111. capo_api_gateway/_operations/backplane_control_service/update_account.py +167 -0
  112. capo_api_gateway/_operations/backplane_control_service/update_api_key.py +168 -0
  113. capo_api_gateway/_operations/backplane_control_service/update_authorizer.py +170 -0
  114. capo_api_gateway/_operations/backplane_control_service/update_base_path_mapping.py +175 -0
  115. capo_api_gateway/_operations/backplane_control_service/update_client_certificate.py +177 -0
  116. capo_api_gateway/_operations/backplane_control_service/update_deployment.py +175 -0
  117. capo_api_gateway/_operations/backplane_control_service/update_documentation_part.py +180 -0
  118. capo_api_gateway/_operations/backplane_control_service/update_documentation_version.py +182 -0
  119. capo_api_gateway/_operations/backplane_control_service/update_domain_name.py +177 -0
  120. capo_api_gateway/_operations/backplane_control_service/update_gateway_response.py +185 -0
  121. capo_api_gateway/_operations/backplane_control_service/update_integration.py +180 -0
  122. capo_api_gateway/_operations/backplane_control_service/update_integration_response.py +183 -0
  123. capo_api_gateway/_operations/backplane_control_service/update_method.py +170 -0
  124. capo_api_gateway/_operations/backplane_control_service/update_method_response.py +177 -0
  125. capo_api_gateway/_operations/backplane_control_service/update_model.py +166 -0
  126. capo_api_gateway/_operations/backplane_control_service/update_request_validator.py +175 -0
  127. capo_api_gateway/_operations/backplane_control_service/update_resource.py +164 -0
  128. capo_api_gateway/_operations/backplane_control_service/update_rest_api.py +175 -0
  129. capo_api_gateway/_operations/backplane_control_service/update_stage.py +173 -0
  130. capo_api_gateway/_operations/backplane_control_service/update_usage.py +167 -0
  131. capo_api_gateway/_operations/backplane_control_service/update_usage_plan.py +171 -0
  132. capo_api_gateway/_operations/backplane_control_service/update_vpc_link.py +170 -0
  133. capo_api_gateway/_pagination.py +21 -0
  134. capo_api_gateway/_protocol/__init__.py +1 -0
  135. capo_api_gateway/_protocol/errors.py +93 -0
  136. capo_api_gateway/_protocol/eventstream.py +238 -0
  137. capo_api_gateway/_protocol/serialize.py +47 -0
  138. capo_api_gateway/_protocol/xml.py +33 -0
  139. capo_api_gateway/_rule_engine/__init__.py +0 -0
  140. capo_api_gateway/_rule_engine/_aws_partition.py +160 -0
  141. capo_api_gateway/_rule_engine/_endpoint_rule_set.py +138 -0
  142. capo_api_gateway/_rule_engine/_endpoint_runtime.py +389 -0
  143. capo_api_gateway/_services/_aws_config.py +160 -0
  144. capo_api_gateway/_services/_pipeline.py +198 -0
  145. capo_api_gateway/_services/api_gateway.py +7705 -0
  146. capo_api_gateway/_services/async_api_gateway.py +7843 -0
  147. capo_api_gateway/errors/__init__.py +34 -0
  148. capo_api_gateway/errors/_base.py +94 -0
  149. capo_api_gateway/errors/bad_request_exception.py +49 -0
  150. capo_api_gateway/errors/conflict_exception.py +49 -0
  151. capo_api_gateway/errors/limit_exceeded_exception.py +52 -0
  152. capo_api_gateway/errors/not_found_exception.py +49 -0
  153. capo_api_gateway/errors/service_unavailable_exception.py +52 -0
  154. capo_api_gateway/errors/too_many_requests_exception.py +52 -0
  155. capo_api_gateway/errors/unauthorized_exception.py +51 -0
  156. capo_api_gateway/py.typed +0 -0
  157. capo_api_gateway/types/_prelude/blob.py +12 -0
  158. capo_api_gateway/types/_prelude/timestamp.py +17 -0
  159. capo_api_gateway/types/access_association_source_type.py +14 -0
  160. capo_api_gateway/types/access_log_settings.py +34 -0
  161. capo_api_gateway/types/account.py +70 -0
  162. capo_api_gateway/types/api_key.py +121 -0
  163. capo_api_gateway/types/api_key_ids.py +46 -0
  164. capo_api_gateway/types/api_key_source_type.py +17 -0
  165. capo_api_gateway/types/api_keys.py +54 -0
  166. capo_api_gateway/types/api_keys_format.py +14 -0
  167. capo_api_gateway/types/api_stage.py +55 -0
  168. capo_api_gateway/types/api_status.py +19 -0
  169. capo_api_gateway/types/authorizer.py +103 -0
  170. capo_api_gateway/types/authorizer_type.py +19 -0
  171. capo_api_gateway/types/authorizers.py +39 -0
  172. capo_api_gateway/types/base_path_mapping.py +40 -0
  173. capo_api_gateway/types/base_path_mappings.py +43 -0
  174. capo_api_gateway/types/blob.py +15 -0
  175. capo_api_gateway/types/boolean.py +5 -0
  176. capo_api_gateway/types/cache_cluster_size.py +24 -0
  177. capo_api_gateway/types/cache_cluster_status.py +21 -0
  178. capo_api_gateway/types/canary_settings.py +73 -0
  179. capo_api_gateway/types/client_certificate.py +86 -0
  180. capo_api_gateway/types/client_certificates.py +43 -0
  181. capo_api_gateway/types/connection_type.py +17 -0
  182. capo_api_gateway/types/content_handling_strategy.py +17 -0
  183. capo_api_gateway/types/create_api_key_request.py +93 -0
  184. capo_api_gateway/types/create_authorizer_request.py +101 -0
  185. capo_api_gateway/types/create_base_path_mapping_request.py +47 -0
  186. capo_api_gateway/types/create_deployment_request.py +122 -0
  187. capo_api_gateway/types/create_documentation_part_request.py +53 -0
  188. capo_api_gateway/types/create_documentation_version_request.py +47 -0
  189. capo_api_gateway/types/create_domain_name_access_association_request.py +81 -0
  190. capo_api_gateway/types/create_domain_name_request.py +204 -0
  191. capo_api_gateway/types/create_model_request.py +52 -0
  192. capo_api_gateway/types/create_request_validator_request.py +45 -0
  193. capo_api_gateway/types/create_resource_request.py +35 -0
  194. capo_api_gateway/types/create_rest_api_request.py +188 -0
  195. capo_api_gateway/types/create_stage_request.py +144 -0
  196. capo_api_gateway/types/create_usage_plan_key_request.py +40 -0
  197. capo_api_gateway/types/create_usage_plan_request.py +99 -0
  198. capo_api_gateway/types/create_vpc_link_request.py +70 -0
  199. capo_api_gateway/types/delete_api_key_request.py +24 -0
  200. capo_api_gateway/types/delete_authorizer_request.py +26 -0
  201. capo_api_gateway/types/delete_base_path_mapping_request.py +28 -0
  202. capo_api_gateway/types/delete_client_certificate_request.py +24 -0
  203. capo_api_gateway/types/delete_deployment_request.py +26 -0
  204. capo_api_gateway/types/delete_documentation_part_request.py +26 -0
  205. capo_api_gateway/types/delete_documentation_version_request.py +26 -0
  206. capo_api_gateway/types/delete_domain_name_access_association_request.py +24 -0
  207. capo_api_gateway/types/delete_domain_name_request.py +26 -0
  208. capo_api_gateway/types/delete_gateway_response_request.py +27 -0
  209. capo_api_gateway/types/delete_integration_request.py +28 -0
  210. capo_api_gateway/types/delete_integration_response_request.py +31 -0
  211. capo_api_gateway/types/delete_method_request.py +28 -0
  212. capo_api_gateway/types/delete_method_response_request.py +31 -0
  213. capo_api_gateway/types/delete_model_request.py +26 -0
  214. capo_api_gateway/types/delete_request_validator_request.py +26 -0
  215. capo_api_gateway/types/delete_resource_request.py +26 -0
  216. capo_api_gateway/types/delete_rest_api_request.py +24 -0
  217. capo_api_gateway/types/delete_stage_request.py +26 -0
  218. capo_api_gateway/types/delete_usage_plan_key_request.py +26 -0
  219. capo_api_gateway/types/delete_usage_plan_request.py +24 -0
  220. capo_api_gateway/types/delete_vpc_link_request.py +24 -0
  221. capo_api_gateway/types/deployment.py +70 -0
  222. capo_api_gateway/types/deployment_canary_settings.py +66 -0
  223. capo_api_gateway/types/deployments.py +39 -0
  224. capo_api_gateway/types/documentation_part.py +55 -0
  225. capo_api_gateway/types/documentation_part_ids.py +46 -0
  226. capo_api_gateway/types/documentation_part_location.py +67 -0
  227. capo_api_gateway/types/documentation_part_location_status_code.py +5 -0
  228. capo_api_gateway/types/documentation_part_type.py +27 -0
  229. capo_api_gateway/types/documentation_parts.py +43 -0
  230. capo_api_gateway/types/documentation_version.py +49 -0
  231. capo_api_gateway/types/documentation_versions.py +45 -0
  232. capo_api_gateway/types/domain_name.py +270 -0
  233. capo_api_gateway/types/domain_name_access_association.py +84 -0
  234. capo_api_gateway/types/domain_name_access_associations.py +45 -0
  235. capo_api_gateway/types/domain_name_status.py +21 -0
  236. capo_api_gateway/types/domain_names.py +39 -0
  237. capo_api_gateway/types/double.py +5 -0
  238. capo_api_gateway/types/endpoint_access_mode.py +17 -0
  239. capo_api_gateway/types/endpoint_configuration.py +72 -0
  240. capo_api_gateway/types/endpoint_type.py +19 -0
  241. capo_api_gateway/types/export_response.py +37 -0
  242. capo_api_gateway/types/flush_stage_authorizers_cache_request.py +26 -0
  243. capo_api_gateway/types/flush_stage_cache_request.py +26 -0
  244. capo_api_gateway/types/gateway_response.py +98 -0
  245. capo_api_gateway/types/gateway_response_type.py +36 -0
  246. capo_api_gateway/types/gateway_responses.py +41 -0
  247. capo_api_gateway/types/generate_client_certificate_request.py +45 -0
  248. capo_api_gateway/types/get_account_request.py +18 -0
  249. capo_api_gateway/types/get_api_key_request.py +29 -0
  250. capo_api_gateway/types/get_api_keys_request.py +36 -0
  251. capo_api_gateway/types/get_authorizer_request.py +26 -0
  252. capo_api_gateway/types/get_authorizers_request.py +29 -0
  253. capo_api_gateway/types/get_base_path_mapping_request.py +28 -0
  254. capo_api_gateway/types/get_base_path_mappings_request.py +31 -0
  255. capo_api_gateway/types/get_client_certificate_request.py +24 -0
  256. capo_api_gateway/types/get_client_certificates_request.py +27 -0
  257. capo_api_gateway/types/get_deployment_request.py +29 -0
  258. capo_api_gateway/types/get_deployments_request.py +29 -0
  259. capo_api_gateway/types/get_documentation_part_request.py +26 -0
  260. capo_api_gateway/types/get_documentation_parts_request.py +43 -0
  261. capo_api_gateway/types/get_documentation_version_request.py +26 -0
  262. capo_api_gateway/types/get_documentation_versions_request.py +29 -0
  263. capo_api_gateway/types/get_domain_name_access_associations_request.py +30 -0
  264. capo_api_gateway/types/get_domain_name_request.py +26 -0
  265. capo_api_gateway/types/get_domain_names_request.py +30 -0
  266. capo_api_gateway/types/get_export_request.py +35 -0
  267. capo_api_gateway/types/get_gateway_response_request.py +27 -0
  268. capo_api_gateway/types/get_gateway_responses_request.py +29 -0
  269. capo_api_gateway/types/get_integration_request.py +28 -0
  270. capo_api_gateway/types/get_integration_response_request.py +31 -0
  271. capo_api_gateway/types/get_method_request.py +28 -0
  272. capo_api_gateway/types/get_method_response_request.py +31 -0
  273. capo_api_gateway/types/get_model_request.py +29 -0
  274. capo_api_gateway/types/get_model_template_request.py +26 -0
  275. capo_api_gateway/types/get_models_request.py +29 -0
  276. capo_api_gateway/types/get_request_validator_request.py +26 -0
  277. capo_api_gateway/types/get_request_validators_request.py +29 -0
  278. capo_api_gateway/types/get_resource_request.py +29 -0
  279. capo_api_gateway/types/get_resources_request.py +32 -0
  280. capo_api_gateway/types/get_rest_api_request.py +24 -0
  281. capo_api_gateway/types/get_rest_apis_request.py +27 -0
  282. capo_api_gateway/types/get_sdk_request.py +33 -0
  283. capo_api_gateway/types/get_sdk_type_request.py +24 -0
  284. capo_api_gateway/types/get_sdk_types_request.py +27 -0
  285. capo_api_gateway/types/get_stage_request.py +26 -0
  286. capo_api_gateway/types/get_stages_request.py +26 -0
  287. capo_api_gateway/types/get_tags_request.py +29 -0
  288. capo_api_gateway/types/get_usage_plan_key_request.py +26 -0
  289. capo_api_gateway/types/get_usage_plan_keys_request.py +31 -0
  290. capo_api_gateway/types/get_usage_plan_request.py +24 -0
  291. capo_api_gateway/types/get_usage_plans_request.py +29 -0
  292. capo_api_gateway/types/get_usage_request.py +35 -0
  293. capo_api_gateway/types/get_vpc_link_request.py +24 -0
  294. capo_api_gateway/types/get_vpc_links_request.py +27 -0
  295. capo_api_gateway/types/import_api_keys_request.py +41 -0
  296. capo_api_gateway/types/import_documentation_parts_request.py +44 -0
  297. capo_api_gateway/types/import_rest_api_request.py +43 -0
  298. capo_api_gateway/types/integer.py +5 -0
  299. capo_api_gateway/types/integration.py +246 -0
  300. capo_api_gateway/types/integration_response.py +97 -0
  301. capo_api_gateway/types/integration_type.py +21 -0
  302. capo_api_gateway/types/ip_address_type.py +17 -0
  303. capo_api_gateway/types/list_of_api_key.py +29 -0
  304. capo_api_gateway/types/list_of_api_stage.py +29 -0
  305. capo_api_gateway/types/list_of_ar_ns.py +17 -0
  306. capo_api_gateway/types/list_of_authorizer.py +29 -0
  307. capo_api_gateway/types/list_of_base_path_mapping.py +31 -0
  308. capo_api_gateway/types/list_of_client_certificate.py +31 -0
  309. capo_api_gateway/types/list_of_deployment.py +29 -0
  310. capo_api_gateway/types/list_of_documentation_part.py +31 -0
  311. capo_api_gateway/types/list_of_documentation_version.py +31 -0
  312. capo_api_gateway/types/list_of_domain_name.py +29 -0
  313. capo_api_gateway/types/list_of_domain_name_access_association.py +35 -0
  314. capo_api_gateway/types/list_of_endpoint_type.py +31 -0
  315. capo_api_gateway/types/list_of_gateway_response.py +31 -0
  316. capo_api_gateway/types/list_of_long.py +17 -0
  317. capo_api_gateway/types/list_of_model.py +29 -0
  318. capo_api_gateway/types/list_of_patch_operation.py +31 -0
  319. capo_api_gateway/types/list_of_request_validator.py +31 -0
  320. capo_api_gateway/types/list_of_resource.py +29 -0
  321. capo_api_gateway/types/list_of_rest_api.py +29 -0
  322. capo_api_gateway/types/list_of_sdk_configuration_property.py +35 -0
  323. capo_api_gateway/types/list_of_sdk_type.py +29 -0
  324. capo_api_gateway/types/list_of_stage.py +29 -0
  325. capo_api_gateway/types/list_of_stage_keys.py +29 -0
  326. capo_api_gateway/types/list_of_string.py +17 -0
  327. capo_api_gateway/types/list_of_usage.py +29 -0
  328. capo_api_gateway/types/list_of_usage_plan.py +29 -0
  329. capo_api_gateway/types/list_of_usage_plan_key.py +31 -0
  330. capo_api_gateway/types/list_of_vpc_link.py +29 -0
  331. capo_api_gateway/types/location_status_type.py +17 -0
  332. capo_api_gateway/types/long.py +5 -0
  333. capo_api_gateway/types/map_of_api_stage_throttle_settings.py +33 -0
  334. capo_api_gateway/types/map_of_integration_response.py +33 -0
  335. capo_api_gateway/types/map_of_key_usages.py +33 -0
  336. capo_api_gateway/types/map_of_method.py +32 -0
  337. capo_api_gateway/types/map_of_method_response.py +33 -0
  338. capo_api_gateway/types/map_of_method_settings.py +33 -0
  339. capo_api_gateway/types/map_of_method_snapshot.py +33 -0
  340. capo_api_gateway/types/map_of_string_to_boolean.py +29 -0
  341. capo_api_gateway/types/map_of_string_to_list.py +33 -0
  342. capo_api_gateway/types/map_of_string_to_string.py +27 -0
  343. capo_api_gateway/types/method.py +160 -0
  344. capo_api_gateway/types/method_response.py +70 -0
  345. capo_api_gateway/types/method_setting.py +121 -0
  346. capo_api_gateway/types/method_snapshot.py +36 -0
  347. capo_api_gateway/types/model.py +52 -0
  348. capo_api_gateway/types/models.py +39 -0
  349. capo_api_gateway/types/mutual_tls_authentication.py +55 -0
  350. capo_api_gateway/types/mutual_tls_authentication_input.py +34 -0
  351. capo_api_gateway/types/nullable_boolean.py +5 -0
  352. capo_api_gateway/types/nullable_integer.py +5 -0
  353. capo_api_gateway/types/op.py +21 -0
  354. capo_api_gateway/types/patch_operation.py +51 -0
  355. capo_api_gateway/types/path_to_map_of_method_snapshot.py +33 -0
  356. capo_api_gateway/types/provider_arn.py +5 -0
  357. capo_api_gateway/types/put_gateway_response_request.py +75 -0
  358. capo_api_gateway/types/put_integration_request.py +232 -0
  359. capo_api_gateway/types/put_integration_response_request.py +99 -0
  360. capo_api_gateway/types/put_method_request.py +126 -0
  361. capo_api_gateway/types/put_method_response_request.py +73 -0
  362. capo_api_gateway/types/put_mode.py +17 -0
  363. capo_api_gateway/types/put_rest_api_request.py +49 -0
  364. capo_api_gateway/types/quota_period_type.py +18 -0
  365. capo_api_gateway/types/quota_settings.py +51 -0
  366. capo_api_gateway/types/reject_domain_name_access_association_request.py +26 -0
  367. capo_api_gateway/types/request_validator.py +49 -0
  368. capo_api_gateway/types/request_validators.py +43 -0
  369. capo_api_gateway/types/resource.py +61 -0
  370. capo_api_gateway/types/resource_owner.py +17 -0
  371. capo_api_gateway/types/resources.py +39 -0
  372. capo_api_gateway/types/response_transfer_mode.py +17 -0
  373. capo_api_gateway/types/rest_api.py +241 -0
  374. capo_api_gateway/types/rest_apis.py +39 -0
  375. capo_api_gateway/types/routing_mode.py +18 -0
  376. capo_api_gateway/types/sdk_configuration_property.py +54 -0
  377. capo_api_gateway/types/sdk_response.py +37 -0
  378. capo_api_gateway/types/sdk_type.py +61 -0
  379. capo_api_gateway/types/sdk_types.py +36 -0
  380. capo_api_gateway/types/security_policy.py +27 -0
  381. capo_api_gateway/types/stage.py +242 -0
  382. capo_api_gateway/types/stage_key.py +34 -0
  383. capo_api_gateway/types/stages.py +34 -0
  384. capo_api_gateway/types/status_code.py +6 -0
  385. capo_api_gateway/types/string.py +5 -0
  386. capo_api_gateway/types/tag_resource_request.py +42 -0
  387. capo_api_gateway/types/tags.py +38 -0
  388. capo_api_gateway/types/template.py +28 -0
  389. capo_api_gateway/types/test_invoke_authorizer_request.py +118 -0
  390. capo_api_gateway/types/test_invoke_authorizer_response.py +94 -0
  391. capo_api_gateway/types/test_invoke_method_request.py +106 -0
  392. capo_api_gateway/types/test_invoke_method_response.py +90 -0
  393. capo_api_gateway/types/throttle_settings.py +45 -0
  394. capo_api_gateway/types/timestamp.py +20 -0
  395. capo_api_gateway/types/tls_config.py +29 -0
  396. capo_api_gateway/types/unauthorized_cache_control_header_strategy.py +18 -0
  397. capo_api_gateway/types/untag_resource_request.py +27 -0
  398. capo_api_gateway/types/update_account_request.py +42 -0
  399. capo_api_gateway/types/update_api_key_request.py +45 -0
  400. capo_api_gateway/types/update_authorizer_request.py +47 -0
  401. capo_api_gateway/types/update_base_path_mapping_request.py +49 -0
  402. capo_api_gateway/types/update_client_certificate_request.py +45 -0
  403. capo_api_gateway/types/update_deployment_request.py +47 -0
  404. capo_api_gateway/types/update_documentation_part_request.py +47 -0
  405. capo_api_gateway/types/update_documentation_version_request.py +47 -0
  406. capo_api_gateway/types/update_domain_name_request.py +47 -0
  407. capo_api_gateway/types/update_gateway_response_request.py +48 -0
  408. capo_api_gateway/types/update_integration_request.py +49 -0
  409. capo_api_gateway/types/update_integration_response_request.py +52 -0
  410. capo_api_gateway/types/update_method_request.py +49 -0
  411. capo_api_gateway/types/update_method_response_request.py +52 -0
  412. capo_api_gateway/types/update_model_request.py +47 -0
  413. capo_api_gateway/types/update_request_validator_request.py +47 -0
  414. capo_api_gateway/types/update_resource_request.py +47 -0
  415. capo_api_gateway/types/update_rest_api_request.py +45 -0
  416. capo_api_gateway/types/update_stage_request.py +47 -0
  417. capo_api_gateway/types/update_usage_plan_request.py +45 -0
  418. capo_api_gateway/types/update_usage_request.py +47 -0
  419. capo_api_gateway/types/update_vpc_link_request.py +45 -0
  420. capo_api_gateway/types/usage.py +57 -0
  421. capo_api_gateway/types/usage_plan.py +108 -0
  422. capo_api_gateway/types/usage_plan_key.py +46 -0
  423. capo_api_gateway/types/usage_plan_keys.py +41 -0
  424. capo_api_gateway/types/usage_plans.py +39 -0
  425. capo_api_gateway/types/vpc_link.py +93 -0
  426. capo_api_gateway/types/vpc_link_status.py +19 -0
  427. capo_api_gateway/types/vpc_links.py +39 -0
  428. capo_api_gateway-0.1.0.dist-info/METADATA +101 -0
  429. capo_api_gateway-0.1.0.dist-info/RECORD +432 -0
  430. capo_api_gateway-0.1.0.dist-info/WHEEL +5 -0
  431. capo_api_gateway-0.1.0.dist-info/licenses/LICENSE +21 -0
  432. capo_api_gateway-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,70 @@
1
+ from __future__ import annotations
2
+
3
+ from . import _iter as _iter
4
+ from . import _protocol as _protocol
5
+ from ._auth._identity import Credentials as Credentials
6
+ from ._auth._identity import Identity as Identity
7
+ from ._auth._providers import (
8
+ AssumeRoleCredentialsProvider as AssumeRoleCredentialsProvider,
9
+ )
10
+ from ._auth._providers import (
11
+ AssumeRoleError as AssumeRoleError,
12
+ )
13
+ from ._auth._providers import (
14
+ CachedProvider as CachedProvider,
15
+ )
16
+ from ._auth._providers import (
17
+ ChainedProvider as ChainedProvider,
18
+ )
19
+ from ._auth._providers import (
20
+ CredentialsProvider as CredentialsProvider,
21
+ )
22
+ from ._auth._providers import (
23
+ EnvCredentialsProvider as EnvCredentialsProvider,
24
+ )
25
+ from ._auth._providers import (
26
+ IdentityNotFound as IdentityNotFound,
27
+ )
28
+ from ._auth._providers import (
29
+ IdentityProvider as IdentityProvider,
30
+ )
31
+ from ._auth._providers import (
32
+ MissingDependencyError as MissingDependencyError,
33
+ )
34
+ from ._auth._providers import (
35
+ ProfileCredentialsProvider as ProfileCredentialsProvider,
36
+ )
37
+ from ._auth._providers import (
38
+ SsoCredentialsProvider as SsoCredentialsProvider,
39
+ )
40
+ from ._auth._providers import (
41
+ SSOError as SSOError,
42
+ )
43
+ from ._auth._providers import (
44
+ StaticAwsCredentialsProvider as StaticAwsCredentialsProvider,
45
+ )
46
+ from ._auth._providers import (
47
+ WebIdentityCredentialsProvider as WebIdentityCredentialsProvider,
48
+ )
49
+ from ._auth._signers import Signer as Signer
50
+ from ._auth._signers import SigV4Signer as SigV4Signer
51
+ from ._services._pipeline import (
52
+ AsyncOperationOptions as AsyncOperationOptions,
53
+ )
54
+ from ._services._pipeline import (
55
+ AsyncOperationRequest as AsyncOperationRequest,
56
+ )
57
+ from ._services._pipeline import (
58
+ AsyncOperationResponse as AsyncOperationResponse,
59
+ )
60
+ from ._services._pipeline import (
61
+ OperationOptions as OperationOptions,
62
+ )
63
+ from ._services._pipeline import (
64
+ OperationRequest as OperationRequest,
65
+ )
66
+ from ._services._pipeline import (
67
+ OperationResponse as OperationResponse,
68
+ )
69
+ from ._services.api_gateway import APIGatewayClient as APIGatewayClient
70
+ from ._services.async_api_gateway import AsyncAPIGatewayClient as AsyncAPIGatewayClient
@@ -0,0 +1,25 @@
1
+ from __future__ import annotations
2
+
3
+ import asyncio
4
+ from typing import TYPE_CHECKING
5
+
6
+ if TYPE_CHECKING:
7
+ import trio
8
+ else:
9
+ try:
10
+ import trio
11
+ except ImportError:
12
+ trio = None
13
+
14
+
15
+ def in_trio_run() -> bool:
16
+ if trio is None:
17
+ return False
18
+ return trio.lowlevel.in_trio_run()
19
+
20
+
21
+ async def anysleep(delay: float) -> None:
22
+ if in_trio_run():
23
+ await trio.sleep(delay)
24
+ else:
25
+ await asyncio.sleep(delay)
@@ -0,0 +1,16 @@
1
+ from __future__ import annotations
2
+
3
+ from datetime import datetime
4
+ from typing import TypedDict
5
+
6
+ from typing_extensions import NotRequired
7
+
8
+
9
+ class Identity(TypedDict):
10
+ expiration: NotRequired[datetime | None]
11
+
12
+
13
+ class Credentials(Identity):
14
+ access_key: str
15
+ secret_key: str
16
+ session_token: NotRequired[str | None]