capo-entityresolution 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 (292) hide show
  1. capo_entityresolution/__init__.py +74 -0
  2. capo_entityresolution/_async.py +25 -0
  3. capo_entityresolution/_auth/_identity.py +16 -0
  4. capo_entityresolution/_auth/_providers.py +886 -0
  5. capo_entityresolution/_auth/_signers.py +88 -0
  6. capo_entityresolution/_auth/_sigv4.py +434 -0
  7. capo_entityresolution/_auth/_zapros_handler.py +80 -0
  8. capo_entityresolution/_iter.py +113 -0
  9. capo_entityresolution/_operations/aws_venice_service/add_policy_statement.py +180 -0
  10. capo_entityresolution/_operations/aws_venice_service/batch_delete_unique_id.py +170 -0
  11. capo_entityresolution/_operations/aws_venice_service/create_id_mapping_workflow.py +181 -0
  12. capo_entityresolution/_operations/aws_venice_service/create_id_namespace.py +178 -0
  13. capo_entityresolution/_operations/aws_venice_service/create_matching_workflow.py +181 -0
  14. capo_entityresolution/_operations/aws_venice_service/create_schema_mapping.py +176 -0
  15. capo_entityresolution/_operations/aws_venice_service/delete_id_mapping_workflow.py +167 -0
  16. capo_entityresolution/_operations/aws_venice_service/delete_id_namespace.py +162 -0
  17. capo_entityresolution/_operations/aws_venice_service/delete_matching_workflow.py +167 -0
  18. capo_entityresolution/_operations/aws_venice_service/delete_policy_statement.py +173 -0
  19. capo_entityresolution/_operations/aws_venice_service/delete_schema_mapping.py +167 -0
  20. capo_entityresolution/_operations/aws_venice_service/generate_match_id.py +179 -0
  21. capo_entityresolution/_operations/aws_venice_service/get_id_mapping_job.py +177 -0
  22. capo_entityresolution/_operations/aws_venice_service/get_id_mapping_workflow.py +172 -0
  23. capo_entityresolution/_operations/aws_venice_service/get_id_namespace.py +175 -0
  24. capo_entityresolution/_operations/aws_venice_service/get_match_id.py +174 -0
  25. capo_entityresolution/_operations/aws_venice_service/get_matching_job.py +176 -0
  26. capo_entityresolution/_operations/aws_venice_service/get_matching_workflow.py +172 -0
  27. capo_entityresolution/_operations/aws_venice_service/get_policy.py +169 -0
  28. capo_entityresolution/_operations/aws_venice_service/get_provider_service.py +178 -0
  29. capo_entityresolution/_operations/aws_venice_service/get_schema_mapping.py +169 -0
  30. capo_entityresolution/_operations/aws_venice_service/list_id_mapping_jobs.py +172 -0
  31. capo_entityresolution/_operations/aws_venice_service/list_id_mapping_workflows.py +165 -0
  32. capo_entityresolution/_operations/aws_venice_service/list_id_namespaces.py +165 -0
  33. capo_entityresolution/_operations/aws_venice_service/list_matching_jobs.py +172 -0
  34. capo_entityresolution/_operations/aws_venice_service/list_matching_workflows.py +165 -0
  35. capo_entityresolution/_operations/aws_venice_service/list_provider_services.py +171 -0
  36. capo_entityresolution/_operations/aws_venice_service/list_schema_mappings.py +165 -0
  37. capo_entityresolution/_operations/aws_venice_service/list_tags_for_resource.py +162 -0
  38. capo_entityresolution/_operations/aws_venice_service/put_policy.py +178 -0
  39. capo_entityresolution/_operations/aws_venice_service/start_id_mapping_job.py +183 -0
  40. capo_entityresolution/_operations/aws_venice_service/start_matching_job.py +177 -0
  41. capo_entityresolution/_operations/aws_venice_service/tag_resource.py +156 -0
  42. capo_entityresolution/_operations/aws_venice_service/untag_resource.py +151 -0
  43. capo_entityresolution/_operations/aws_venice_service/update_id_mapping_workflow.py +177 -0
  44. capo_entityresolution/_operations/aws_venice_service/update_id_namespace.py +174 -0
  45. capo_entityresolution/_operations/aws_venice_service/update_matching_workflow.py +177 -0
  46. capo_entityresolution/_operations/aws_venice_service/update_schema_mapping.py +177 -0
  47. capo_entityresolution/_pagination.py +21 -0
  48. capo_entityresolution/_protocol/__init__.py +1 -0
  49. capo_entityresolution/_protocol/errors.py +93 -0
  50. capo_entityresolution/_protocol/eventstream.py +238 -0
  51. capo_entityresolution/_protocol/serialize.py +47 -0
  52. capo_entityresolution/_protocol/xml.py +33 -0
  53. capo_entityresolution/_rule_engine/__init__.py +0 -0
  54. capo_entityresolution/_rule_engine/_aws_partition.py +160 -0
  55. capo_entityresolution/_rule_engine/_endpoint_rule_set.py +137 -0
  56. capo_entityresolution/_rule_engine/_endpoint_runtime.py +389 -0
  57. capo_entityresolution/_services/_aws_config.py +160 -0
  58. capo_entityresolution/_services/_pipeline.py +198 -0
  59. capo_entityresolution/_services/async_entity_resolution.py +2539 -0
  60. capo_entityresolution/_services/entity_resolution.py +2503 -0
  61. capo_entityresolution/errors/__init__.py +34 -0
  62. capo_entityresolution/errors/_base.py +94 -0
  63. capo_entityresolution/errors/access_denied_exception.py +51 -0
  64. capo_entityresolution/errors/conflict_exception.py +49 -0
  65. capo_entityresolution/errors/exceeds_limit_exception.py +63 -0
  66. capo_entityresolution/errors/internal_server_exception.py +51 -0
  67. capo_entityresolution/errors/resource_not_found_exception.py +51 -0
  68. capo_entityresolution/errors/throttling_exception.py +49 -0
  69. capo_entityresolution/errors/validation_exception.py +49 -0
  70. capo_entityresolution/py.typed +0 -0
  71. capo_entityresolution/types/_prelude/blob.py +12 -0
  72. capo_entityresolution/types/_prelude/timestamp.py +17 -0
  73. capo_entityresolution/types/add_policy_statement_input.py +94 -0
  74. capo_entityresolution/types/add_policy_statement_output.py +46 -0
  75. capo_entityresolution/types/attribute_matching_model.py +17 -0
  76. capo_entityresolution/types/attribute_name.py +5 -0
  77. capo_entityresolution/types/aws_account_id.py +5 -0
  78. capo_entityresolution/types/aws_account_id_list.py +19 -0
  79. capo_entityresolution/types/batch_delete_unique_id_input.py +29 -0
  80. capo_entityresolution/types/batch_delete_unique_id_output.py +101 -0
  81. capo_entityresolution/types/create_id_mapping_workflow_input.py +147 -0
  82. capo_entityresolution/types/create_id_mapping_workflow_output.py +148 -0
  83. capo_entityresolution/types/create_id_namespace_input.py +114 -0
  84. capo_entityresolution/types/create_id_namespace_output.py +158 -0
  85. capo_entityresolution/types/create_matching_workflow_input.py +149 -0
  86. capo_entityresolution/types/create_matching_workflow_output.py +150 -0
  87. capo_entityresolution/types/create_schema_mapping_input.py +73 -0
  88. capo_entityresolution/types/create_schema_mapping_output.py +71 -0
  89. capo_entityresolution/types/customer_profiles_domain_arn.py +5 -0
  90. capo_entityresolution/types/customer_profiles_integration_config.py +43 -0
  91. capo_entityresolution/types/customer_profiles_object_type_arn.py +5 -0
  92. capo_entityresolution/types/delete_id_mapping_workflow_input.py +24 -0
  93. capo_entityresolution/types/delete_id_mapping_workflow_output.py +26 -0
  94. capo_entityresolution/types/delete_id_namespace_input.py +24 -0
  95. capo_entityresolution/types/delete_id_namespace_output.py +26 -0
  96. capo_entityresolution/types/delete_matching_workflow_input.py +24 -0
  97. capo_entityresolution/types/delete_matching_workflow_output.py +26 -0
  98. capo_entityresolution/types/delete_policy_statement_input.py +27 -0
  99. capo_entityresolution/types/delete_policy_statement_output.py +46 -0
  100. capo_entityresolution/types/delete_schema_mapping_input.py +24 -0
  101. capo_entityresolution/types/delete_schema_mapping_output.py +26 -0
  102. capo_entityresolution/types/delete_unique_id_error.py +51 -0
  103. capo_entityresolution/types/delete_unique_id_error_type.py +17 -0
  104. capo_entityresolution/types/delete_unique_id_errors_list.py +35 -0
  105. capo_entityresolution/types/delete_unique_id_status.py +17 -0
  106. capo_entityresolution/types/deleted_unique_id.py +31 -0
  107. capo_entityresolution/types/deleted_unique_id_list.py +31 -0
  108. capo_entityresolution/types/description.py +5 -0
  109. capo_entityresolution/types/disconnected_unique_ids_list.py +19 -0
  110. capo_entityresolution/types/entity_name.py +5 -0
  111. capo_entityresolution/types/entity_name_or_id_mapping_workflow_arn.py +5 -0
  112. capo_entityresolution/types/entity_name_or_id_namespace_arn.py +5 -0
  113. capo_entityresolution/types/error_details.py +28 -0
  114. capo_entityresolution/types/error_message.py +5 -0
  115. capo_entityresolution/types/failed_record.py +46 -0
  116. capo_entityresolution/types/failed_records_list.py +31 -0
  117. capo_entityresolution/types/generate_match_id_input.py +63 -0
  118. capo_entityresolution/types/generate_match_id_output.py +61 -0
  119. capo_entityresolution/types/get_id_mapping_job_input.py +27 -0
  120. capo_entityresolution/types/get_id_mapping_job_output.py +155 -0
  121. capo_entityresolution/types/get_id_mapping_workflow_input.py +24 -0
  122. capo_entityresolution/types/get_id_mapping_workflow_output.py +191 -0
  123. capo_entityresolution/types/get_id_namespace_input.py +24 -0
  124. capo_entityresolution/types/get_id_namespace_output.py +158 -0
  125. capo_entityresolution/types/get_match_id_input.py +51 -0
  126. capo_entityresolution/types/get_match_id_output.py +29 -0
  127. capo_entityresolution/types/get_matching_job_input.py +27 -0
  128. capo_entityresolution/types/get_matching_job_output.py +135 -0
  129. capo_entityresolution/types/get_matching_workflow_input.py +24 -0
  130. capo_entityresolution/types/get_matching_workflow_output.py +195 -0
  131. capo_entityresolution/types/get_policy_input.py +24 -0
  132. capo_entityresolution/types/get_policy_output.py +46 -0
  133. capo_entityresolution/types/get_provider_service_input.py +29 -0
  134. capo_entityresolution/types/get_provider_service_output.py +205 -0
  135. capo_entityresolution/types/get_schema_mapping_input.py +24 -0
  136. capo_entityresolution/types/get_schema_mapping_output.py +124 -0
  137. capo_entityresolution/types/header_safe_unique_id.py +5 -0
  138. capo_entityresolution/types/id_mapping_incremental_run_config.py +42 -0
  139. capo_entityresolution/types/id_mapping_incremental_run_type.py +14 -0
  140. capo_entityresolution/types/id_mapping_job_metrics.py +107 -0
  141. capo_entityresolution/types/id_mapping_job_output_source.py +46 -0
  142. capo_entityresolution/types/id_mapping_job_output_source_config.py +39 -0
  143. capo_entityresolution/types/id_mapping_role_arn.py +5 -0
  144. capo_entityresolution/types/id_mapping_rule_based_properties.py +108 -0
  145. capo_entityresolution/types/id_mapping_techniques.py +83 -0
  146. capo_entityresolution/types/id_mapping_type.py +17 -0
  147. capo_entityresolution/types/id_mapping_workflow_arn.py +5 -0
  148. capo_entityresolution/types/id_mapping_workflow_input_source.py +55 -0
  149. capo_entityresolution/types/id_mapping_workflow_input_source_config.py +39 -0
  150. capo_entityresolution/types/id_mapping_workflow_list.py +37 -0
  151. capo_entityresolution/types/id_mapping_workflow_output_source.py +40 -0
  152. capo_entityresolution/types/id_mapping_workflow_output_source_config.py +39 -0
  153. capo_entityresolution/types/id_mapping_workflow_rule_definition_type.py +17 -0
  154. capo_entityresolution/types/id_mapping_workflow_rule_definition_type_list.py +39 -0
  155. capo_entityresolution/types/id_mapping_workflow_summary.py +77 -0
  156. capo_entityresolution/types/id_namespace_arn.py +5 -0
  157. capo_entityresolution/types/id_namespace_id_mapping_workflow_metadata.py +43 -0
  158. capo_entityresolution/types/id_namespace_id_mapping_workflow_metadata_list.py +39 -0
  159. capo_entityresolution/types/id_namespace_id_mapping_workflow_properties.py +85 -0
  160. capo_entityresolution/types/id_namespace_id_mapping_workflow_properties_list.py +39 -0
  161. capo_entityresolution/types/id_namespace_input_source.py +38 -0
  162. capo_entityresolution/types/id_namespace_input_source_config.py +35 -0
  163. capo_entityresolution/types/id_namespace_list.py +35 -0
  164. capo_entityresolution/types/id_namespace_summary.py +119 -0
  165. capo_entityresolution/types/id_namespace_type.py +17 -0
  166. capo_entityresolution/types/incremental_run_config.py +42 -0
  167. capo_entityresolution/types/incremental_run_type.py +14 -0
  168. capo_entityresolution/types/input_source.py +45 -0
  169. capo_entityresolution/types/input_source_arn.py +5 -0
  170. capo_entityresolution/types/input_source_config.py +31 -0
  171. capo_entityresolution/types/intermediate_source_configuration.py +33 -0
  172. capo_entityresolution/types/job_id.py +5 -0
  173. capo_entityresolution/types/job_list.py +29 -0
  174. capo_entityresolution/types/job_metrics.py +47 -0
  175. capo_entityresolution/types/job_output_source.py +46 -0
  176. capo_entityresolution/types/job_output_source_config.py +31 -0
  177. capo_entityresolution/types/job_status.py +19 -0
  178. capo_entityresolution/types/job_summary.py +82 -0
  179. capo_entityresolution/types/job_type.py +18 -0
  180. capo_entityresolution/types/kms_arn.py +5 -0
  181. capo_entityresolution/types/list_id_mapping_jobs_input.py +29 -0
  182. capo_entityresolution/types/list_id_mapping_jobs_output.py +41 -0
  183. capo_entityresolution/types/list_id_mapping_workflows_input.py +26 -0
  184. capo_entityresolution/types/list_id_mapping_workflows_output.py +49 -0
  185. capo_entityresolution/types/list_id_namespaces_input.py +26 -0
  186. capo_entityresolution/types/list_id_namespaces_output.py +49 -0
  187. capo_entityresolution/types/list_matching_jobs_input.py +29 -0
  188. capo_entityresolution/types/list_matching_jobs_output.py +41 -0
  189. capo_entityresolution/types/list_matching_workflows_input.py +26 -0
  190. capo_entityresolution/types/list_matching_workflows_output.py +49 -0
  191. capo_entityresolution/types/list_provider_services_input.py +29 -0
  192. capo_entityresolution/types/list_provider_services_output.py +49 -0
  193. capo_entityresolution/types/list_schema_mappings_input.py +26 -0
  194. capo_entityresolution/types/list_schema_mappings_output.py +49 -0
  195. capo_entityresolution/types/list_tags_for_resource_input.py +24 -0
  196. capo_entityresolution/types/list_tags_for_resource_output.py +35 -0
  197. capo_entityresolution/types/match_group.py +55 -0
  198. capo_entityresolution/types/match_groups_list.py +29 -0
  199. capo_entityresolution/types/match_purpose.py +17 -0
  200. capo_entityresolution/types/matched_record.py +38 -0
  201. capo_entityresolution/types/matched_records_list.py +31 -0
  202. capo_entityresolution/types/matching_config.py +23 -0
  203. capo_entityresolution/types/matching_keys.py +19 -0
  204. capo_entityresolution/types/matching_workflow_arn.py +5 -0
  205. capo_entityresolution/types/matching_workflow_list.py +35 -0
  206. capo_entityresolution/types/matching_workflow_summary.py +95 -0
  207. capo_entityresolution/types/namespace_provider_properties.py +41 -0
  208. capo_entityresolution/types/namespace_rule_based_properties.py +99 -0
  209. capo_entityresolution/types/next_token.py +5 -0
  210. capo_entityresolution/types/optional_s3_path.py +5 -0
  211. capo_entityresolution/types/output_attribute.py +37 -0
  212. capo_entityresolution/types/output_attributes.py +31 -0
  213. capo_entityresolution/types/output_source.py +81 -0
  214. capo_entityresolution/types/output_source_config.py +31 -0
  215. capo_entityresolution/types/policy_document.py +5 -0
  216. capo_entityresolution/types/policy_token.py +5 -0
  217. capo_entityresolution/types/processing_type.py +18 -0
  218. capo_entityresolution/types/provider_component_schema.py +57 -0
  219. capo_entityresolution/types/provider_endpoint_configuration.py +48 -0
  220. capo_entityresolution/types/provider_id_name_space_configuration.py +43 -0
  221. capo_entityresolution/types/provider_intermediate_data_access_configuration.py +63 -0
  222. capo_entityresolution/types/provider_marketplace_configuration.py +53 -0
  223. capo_entityresolution/types/provider_properties.py +60 -0
  224. capo_entityresolution/types/provider_schema_attribute.py +61 -0
  225. capo_entityresolution/types/provider_schema_attributes.py +35 -0
  226. capo_entityresolution/types/provider_service_arn.py +5 -0
  227. capo_entityresolution/types/provider_service_display_name.py +5 -0
  228. capo_entityresolution/types/provider_service_list.py +35 -0
  229. capo_entityresolution/types/provider_service_summary.py +84 -0
  230. capo_entityresolution/types/put_policy_input.py +41 -0
  231. capo_entityresolution/types/put_policy_output.py +46 -0
  232. capo_entityresolution/types/record.py +59 -0
  233. capo_entityresolution/types/record_attribute_map.py +22 -0
  234. capo_entityresolution/types/record_attribute_map_string255.py +22 -0
  235. capo_entityresolution/types/record_list.py +29 -0
  236. capo_entityresolution/types/record_matching_model.py +17 -0
  237. capo_entityresolution/types/record_matching_model_list.py +35 -0
  238. capo_entityresolution/types/required_bucket_actions_list.py +14 -0
  239. capo_entityresolution/types/resolution_techniques.py +104 -0
  240. capo_entityresolution/types/resolution_type.py +18 -0
  241. capo_entityresolution/types/role_arn.py +5 -0
  242. capo_entityresolution/types/rule.py +48 -0
  243. capo_entityresolution/types/rule_based_properties.py +78 -0
  244. capo_entityresolution/types/rule_condition.py +33 -0
  245. capo_entityresolution/types/rule_condition_list.py +31 -0
  246. capo_entityresolution/types/rule_condition_properties.py +60 -0
  247. capo_entityresolution/types/rule_list.py +29 -0
  248. capo_entityresolution/types/s3_path.py +5 -0
  249. capo_entityresolution/types/schema_attribute_type.py +38 -0
  250. capo_entityresolution/types/schema_input_attribute.py +73 -0
  251. capo_entityresolution/types/schema_input_attributes.py +35 -0
  252. capo_entityresolution/types/schema_list.py +14 -0
  253. capo_entityresolution/types/schema_mapping_arn.py +5 -0
  254. capo_entityresolution/types/schema_mapping_list.py +35 -0
  255. capo_entityresolution/types/schema_mapping_summary.py +82 -0
  256. capo_entityresolution/types/schemas.py +29 -0
  257. capo_entityresolution/types/service_type.py +17 -0
  258. capo_entityresolution/types/start_id_mapping_job_input.py +60 -0
  259. capo_entityresolution/types/start_id_mapping_job_output.py +67 -0
  260. capo_entityresolution/types/start_matching_job_input.py +24 -0
  261. capo_entityresolution/types/start_matching_job_output.py +31 -0
  262. capo_entityresolution/types/statement_action.py +5 -0
  263. capo_entityresolution/types/statement_action_list.py +19 -0
  264. capo_entityresolution/types/statement_condition.py +5 -0
  265. capo_entityresolution/types/statement_effect.py +17 -0
  266. capo_entityresolution/types/statement_id.py +5 -0
  267. capo_entityresolution/types/statement_principal.py +5 -0
  268. capo_entityresolution/types/statement_principal_list.py +19 -0
  269. capo_entityresolution/types/tag_key.py +5 -0
  270. capo_entityresolution/types/tag_key_list.py +17 -0
  271. capo_entityresolution/types/tag_map.py +29 -0
  272. capo_entityresolution/types/tag_resource_input.py +38 -0
  273. capo_entityresolution/types/tag_resource_output.py +18 -0
  274. capo_entityresolution/types/tag_value.py +5 -0
  275. capo_entityresolution/types/unique_id.py +5 -0
  276. capo_entityresolution/types/unique_id_list.py +19 -0
  277. capo_entityresolution/types/untag_resource_input.py +27 -0
  278. capo_entityresolution/types/untag_resource_output.py +18 -0
  279. capo_entityresolution/types/update_id_mapping_workflow_input.py +129 -0
  280. capo_entityresolution/types/update_id_mapping_workflow_output.py +148 -0
  281. capo_entityresolution/types/update_id_namespace_input.py +80 -0
  282. capo_entityresolution/types/update_id_namespace_output.py +147 -0
  283. capo_entityresolution/types/update_matching_workflow_input.py +133 -0
  284. capo_entityresolution/types/update_matching_workflow_output.py +140 -0
  285. capo_entityresolution/types/update_schema_mapping_input.py +57 -0
  286. capo_entityresolution/types/update_schema_mapping_output.py +70 -0
  287. capo_entityresolution/types/venice_global_arn.py +5 -0
  288. capo_entityresolution-0.1.0.dist-info/METADATA +101 -0
  289. capo_entityresolution-0.1.0.dist-info/RECORD +292 -0
  290. capo_entityresolution-0.1.0.dist-info/WHEEL +5 -0
  291. capo_entityresolution-0.1.0.dist-info/licenses/LICENSE +21 -0
  292. capo_entityresolution-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,74 @@
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.async_entity_resolution import (
70
+ AsyncEntityResolutionClient as AsyncEntityResolutionClient,
71
+ )
72
+ from ._services.entity_resolution import (
73
+ EntityResolutionClient as EntityResolutionClient,
74
+ )
@@ -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]