capo-drs 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 (381) hide show
  1. capo_drs/__init__.py +70 -0
  2. capo_drs/_async.py +25 -0
  3. capo_drs/_auth/_identity.py +16 -0
  4. capo_drs/_auth/_providers.py +882 -0
  5. capo_drs/_auth/_signers.py +88 -0
  6. capo_drs/_auth/_sigv4.py +434 -0
  7. capo_drs/_auth/_zapros_handler.py +80 -0
  8. capo_drs/_iter.py +113 -0
  9. capo_drs/_operations/elastic_disaster_recovery_service/associate_source_network_stack.py +174 -0
  10. capo_drs/_operations/elastic_disaster_recovery_service/create_extended_source_server.py +175 -0
  11. capo_drs/_operations/elastic_disaster_recovery_service/create_launch_configuration_template.py +173 -0
  12. capo_drs/_operations/elastic_disaster_recovery_service/create_replication_configuration_template.py +173 -0
  13. capo_drs/_operations/elastic_disaster_recovery_service/create_source_network.py +178 -0
  14. capo_drs/_operations/elastic_disaster_recovery_service/delete_job.py +152 -0
  15. capo_drs/_operations/elastic_disaster_recovery_service/delete_launch_action.py +159 -0
  16. capo_drs/_operations/elastic_disaster_recovery_service/delete_launch_configuration_template.py +161 -0
  17. capo_drs/_operations/elastic_disaster_recovery_service/delete_recovery_instance.py +138 -0
  18. capo_drs/_operations/elastic_disaster_recovery_service/delete_replication_configuration_template.py +161 -0
  19. capo_drs/_operations/elastic_disaster_recovery_service/delete_source_network.py +159 -0
  20. capo_drs/_operations/elastic_disaster_recovery_service/delete_source_server.py +159 -0
  21. capo_drs/_operations/elastic_disaster_recovery_service/describe_job_log_items.py +163 -0
  22. capo_drs/_operations/elastic_disaster_recovery_service/describe_jobs.py +157 -0
  23. capo_drs/_operations/elastic_disaster_recovery_service/describe_launch_configuration_templates.py +167 -0
  24. capo_drs/_operations/elastic_disaster_recovery_service/describe_recovery_instances.py +160 -0
  25. capo_drs/_operations/elastic_disaster_recovery_service/describe_recovery_snapshots.py +165 -0
  26. capo_drs/_operations/elastic_disaster_recovery_service/describe_replication_configuration_templates.py +167 -0
  27. capo_drs/_operations/elastic_disaster_recovery_service/describe_source_networks.py +160 -0
  28. capo_drs/_operations/elastic_disaster_recovery_service/describe_source_servers.py +160 -0
  29. capo_drs/_operations/elastic_disaster_recovery_service/disconnect_recovery_instance.py +143 -0
  30. capo_drs/_operations/elastic_disaster_recovery_service/disconnect_source_server.py +165 -0
  31. capo_drs/_operations/elastic_disaster_recovery_service/export_source_network_cfn_template.py +170 -0
  32. capo_drs/_operations/elastic_disaster_recovery_service/get_failback_replication_configuration.py +160 -0
  33. capo_drs/_operations/elastic_disaster_recovery_service/get_launch_configuration.py +158 -0
  34. capo_drs/_operations/elastic_disaster_recovery_service/get_replication_configuration.py +169 -0
  35. capo_drs/_operations/elastic_disaster_recovery_service/initialize_service.py +150 -0
  36. capo_drs/_operations/elastic_disaster_recovery_service/list_extensible_source_servers.py +164 -0
  37. capo_drs/_operations/elastic_disaster_recovery_service/list_launch_actions.py +169 -0
  38. capo_drs/_operations/elastic_disaster_recovery_service/list_staging_accounts.py +168 -0
  39. capo_drs/_operations/elastic_disaster_recovery_service/list_tags_for_resource.py +166 -0
  40. capo_drs/_operations/elastic_disaster_recovery_service/put_launch_action.py +170 -0
  41. capo_drs/_operations/elastic_disaster_recovery_service/retry_data_replication.py +165 -0
  42. capo_drs/_operations/elastic_disaster_recovery_service/reverse_replication.py +177 -0
  43. capo_drs/_operations/elastic_disaster_recovery_service/start_failback_launch.py +175 -0
  44. capo_drs/_operations/elastic_disaster_recovery_service/start_recovery.py +167 -0
  45. capo_drs/_operations/elastic_disaster_recovery_service/start_replication.py +165 -0
  46. capo_drs/_operations/elastic_disaster_recovery_service/start_source_network_recovery.py +171 -0
  47. capo_drs/_operations/elastic_disaster_recovery_service/start_source_network_replication.py +164 -0
  48. capo_drs/_operations/elastic_disaster_recovery_service/stop_failback.py +132 -0
  49. capo_drs/_operations/elastic_disaster_recovery_service/stop_replication.py +165 -0
  50. capo_drs/_operations/elastic_disaster_recovery_service/stop_source_network_replication.py +169 -0
  51. capo_drs/_operations/elastic_disaster_recovery_service/tag_resource.py +140 -0
  52. capo_drs/_operations/elastic_disaster_recovery_service/terminate_recovery_instances.py +165 -0
  53. capo_drs/_operations/elastic_disaster_recovery_service/untag_resource.py +139 -0
  54. capo_drs/_operations/elastic_disaster_recovery_service/update_failback_replication_configuration.py +140 -0
  55. capo_drs/_operations/elastic_disaster_recovery_service/update_launch_configuration.py +168 -0
  56. capo_drs/_operations/elastic_disaster_recovery_service/update_launch_configuration_template.py +172 -0
  57. capo_drs/_operations/elastic_disaster_recovery_service/update_replication_configuration.py +179 -0
  58. capo_drs/_operations/elastic_disaster_recovery_service/update_replication_configuration_template.py +173 -0
  59. capo_drs/_pagination.py +21 -0
  60. capo_drs/_protocol/__init__.py +1 -0
  61. capo_drs/_protocol/errors.py +93 -0
  62. capo_drs/_protocol/eventstream.py +238 -0
  63. capo_drs/_protocol/serialize.py +47 -0
  64. capo_drs/_protocol/xml.py +33 -0
  65. capo_drs/_resources/elastic_disaster_recovery_service/account_resource.py +17 -0
  66. capo_drs/_resources/elastic_disaster_recovery_service/job_resource.py +359 -0
  67. capo_drs/_resources/elastic_disaster_recovery_service/launch_configuration_template_resource.py +606 -0
  68. capo_drs/_resources/elastic_disaster_recovery_service/recovery_instance_resource.py +966 -0
  69. capo_drs/_resources/elastic_disaster_recovery_service/replication_configuration_template_resource.py +772 -0
  70. capo_drs/_resources/elastic_disaster_recovery_service/source_network_resource.py +893 -0
  71. capo_drs/_resources/elastic_disaster_recovery_service/source_server_resource.py +1560 -0
  72. capo_drs/_rule_engine/__init__.py +0 -0
  73. capo_drs/_rule_engine/_aws_partition.py +160 -0
  74. capo_drs/_rule_engine/_endpoint_rule_set.py +136 -0
  75. capo_drs/_rule_engine/_endpoint_runtime.py +389 -0
  76. capo_drs/_services/_aws_config.py +160 -0
  77. capo_drs/_services/_pipeline.py +198 -0
  78. capo_drs/_services/async_drs.py +808 -0
  79. capo_drs/_services/drs.py +798 -0
  80. capo_drs/errors/__init__.py +39 -0
  81. capo_drs/errors/_base.py +94 -0
  82. capo_drs/errors/access_denied_exception.py +56 -0
  83. capo_drs/errors/conflict_exception.py +66 -0
  84. capo_drs/errors/internal_server_exception.py +55 -0
  85. capo_drs/errors/resource_not_found_exception.py +68 -0
  86. capo_drs/errors/service_quota_exceeded_exception.py +82 -0
  87. capo_drs/errors/throttling_exception.py +66 -0
  88. capo_drs/errors/uninitialized_account_exception.py +58 -0
  89. capo_drs/errors/validation_exception.py +84 -0
  90. capo_drs/py.typed +0 -0
  91. capo_drs/types/_prelude/blob.py +12 -0
  92. capo_drs/types/_prelude/timestamp.py +17 -0
  93. capo_drs/types/account.py +28 -0
  94. capo_drs/types/account_i_ds.py +17 -0
  95. capo_drs/types/account_id.py +5 -0
  96. capo_drs/types/accounts.py +29 -0
  97. capo_drs/types/agent_version.py +5 -0
  98. capo_drs/types/arn.py +5 -0
  99. capo_drs/types/associate_source_network_stack_request.py +43 -0
  100. capo_drs/types/associate_source_network_stack_response.py +32 -0
  101. capo_drs/types/aws_availability_zone.py +5 -0
  102. capo_drs/types/aws_region.py +5 -0
  103. capo_drs/types/bounded_string.py +5 -0
  104. capo_drs/types/cfn_stack_name.py +5 -0
  105. capo_drs/types/conversion_map.py +27 -0
  106. capo_drs/types/conversion_properties.py +105 -0
  107. capo_drs/types/cpu.py +36 -0
  108. capo_drs/types/cpus.py +29 -0
  109. capo_drs/types/create_extended_source_server_request.py +44 -0
  110. capo_drs/types/create_extended_source_server_response.py +36 -0
  111. capo_drs/types/create_launch_configuration_template_request.py +96 -0
  112. capo_drs/types/create_launch_configuration_template_response.py +42 -0
  113. capo_drs/types/create_replication_configuration_template_request.py +182 -0
  114. capo_drs/types/create_source_network_request.py +60 -0
  115. capo_drs/types/create_source_network_response.py +28 -0
  116. capo_drs/types/data_replication_error.py +37 -0
  117. capo_drs/types/data_replication_error_string.py +5 -0
  118. capo_drs/types/data_replication_info.py +127 -0
  119. capo_drs/types/data_replication_info_replicated_disk.py +64 -0
  120. capo_drs/types/data_replication_info_replicated_disks.py +35 -0
  121. capo_drs/types/data_replication_initiation.py +57 -0
  122. capo_drs/types/data_replication_initiation_step.py +39 -0
  123. capo_drs/types/data_replication_initiation_step_name.py +5 -0
  124. capo_drs/types/data_replication_initiation_step_status.py +5 -0
  125. capo_drs/types/data_replication_initiation_steps.py +33 -0
  126. capo_drs/types/data_replication_state.py +5 -0
  127. capo_drs/types/delete_job_request.py +31 -0
  128. capo_drs/types/delete_job_response.py +18 -0
  129. capo_drs/types/delete_launch_action_request.py +37 -0
  130. capo_drs/types/delete_launch_action_response.py +18 -0
  131. capo_drs/types/delete_launch_configuration_template_request.py +35 -0
  132. capo_drs/types/delete_launch_configuration_template_response.py +18 -0
  133. capo_drs/types/delete_recovery_instance_request.py +33 -0
  134. capo_drs/types/delete_replication_configuration_template_request.py +37 -0
  135. capo_drs/types/delete_replication_configuration_template_response.py +18 -0
  136. capo_drs/types/delete_source_network_request.py +33 -0
  137. capo_drs/types/delete_source_network_response.py +18 -0
  138. capo_drs/types/delete_source_server_request.py +33 -0
  139. capo_drs/types/delete_source_server_response.py +18 -0
  140. capo_drs/types/describe_job_log_items_request.py +47 -0
  141. capo_drs/types/describe_job_log_items_response.py +39 -0
  142. capo_drs/types/describe_jobs_request.py +54 -0
  143. capo_drs/types/describe_jobs_request_filters.py +57 -0
  144. capo_drs/types/describe_jobs_request_filters_job_i_ds.py +17 -0
  145. capo_drs/types/describe_jobs_response.py +39 -0
  146. capo_drs/types/describe_launch_configuration_templates_request.py +56 -0
  147. capo_drs/types/describe_launch_configuration_templates_response.py +45 -0
  148. capo_drs/types/describe_recovery_instances_items.py +31 -0
  149. capo_drs/types/describe_recovery_instances_request.py +58 -0
  150. capo_drs/types/describe_recovery_instances_request_filters.py +57 -0
  151. capo_drs/types/describe_recovery_instances_response.py +47 -0
  152. capo_drs/types/describe_recovery_snapshots_request.py +77 -0
  153. capo_drs/types/describe_recovery_snapshots_request_filters.py +38 -0
  154. capo_drs/types/describe_recovery_snapshots_response.py +43 -0
  155. capo_drs/types/describe_replication_configuration_templates_request.py +58 -0
  156. capo_drs/types/describe_replication_configuration_templates_response.py +49 -0
  157. capo_drs/types/describe_source_networks_request.py +58 -0
  158. capo_drs/types/describe_source_networks_request_filters.py +56 -0
  159. capo_drs/types/describe_source_networks_request_filters_i_ds.py +19 -0
  160. capo_drs/types/describe_source_networks_response.py +43 -0
  161. capo_drs/types/describe_source_servers_request.py +58 -0
  162. capo_drs/types/describe_source_servers_request_filters.py +64 -0
  163. capo_drs/types/describe_source_servers_request_filters_i_ds.py +19 -0
  164. capo_drs/types/describe_source_servers_response.py +41 -0
  165. capo_drs/types/disconnect_recovery_instance_request.py +33 -0
  166. capo_drs/types/disconnect_source_server_request.py +33 -0
  167. capo_drs/types/disk.py +36 -0
  168. capo_drs/types/disks.py +29 -0
  169. capo_drs/types/ebs_snapshot.py +5 -0
  170. capo_drs/types/ebs_snapshots_list.py +17 -0
  171. capo_drs/types/ebs_volume_id.py +5 -0
  172. capo_drs/types/ec2_instance_id.py +5 -0
  173. capo_drs/types/ec2_instance_state.py +5 -0
  174. capo_drs/types/ec2_instance_type.py +5 -0
  175. capo_drs/types/event_resource_data.py +44 -0
  176. capo_drs/types/export_source_network_cfn_template_request.py +33 -0
  177. capo_drs/types/export_source_network_cfn_template_response.py +30 -0
  178. capo_drs/types/extension_status.py +5 -0
  179. capo_drs/types/failback_launch_type.py +5 -0
  180. capo_drs/types/failback_replication_error.py +5 -0
  181. capo_drs/types/failback_state.py +5 -0
  182. capo_drs/types/failure_reason.py +5 -0
  183. capo_drs/types/get_failback_replication_configuration_request.py +33 -0
  184. capo_drs/types/get_failback_replication_configuration_response.py +61 -0
  185. capo_drs/types/get_launch_configuration_request.py +33 -0
  186. capo_drs/types/get_replication_configuration_request.py +33 -0
  187. capo_drs/types/i_ps_list.py +17 -0
  188. capo_drs/types/identification_hints.py +47 -0
  189. capo_drs/types/initialize_service_request.py +18 -0
  190. capo_drs/types/initialize_service_response.py +18 -0
  191. capo_drs/types/initiated_by.py +5 -0
  192. capo_drs/types/internet_protocol.py +5 -0
  193. capo_drs/types/iso8601_datetime_string.py +5 -0
  194. capo_drs/types/iso8601_duration_string.py +5 -0
  195. capo_drs/types/job.py +129 -0
  196. capo_drs/types/job_event_attempt_count.py +5 -0
  197. capo_drs/types/job_id.py +5 -0
  198. capo_drs/types/job_log.py +52 -0
  199. capo_drs/types/job_log_event.py +5 -0
  200. capo_drs/types/job_log_event_data.py +103 -0
  201. capo_drs/types/job_logs.py +29 -0
  202. capo_drs/types/job_status.py +5 -0
  203. capo_drs/types/job_type.py +5 -0
  204. capo_drs/types/jobs_list.py +29 -0
  205. capo_drs/types/large_bounded_string.py +5 -0
  206. capo_drs/types/last_launch_result.py +5 -0
  207. capo_drs/types/last_launch_type.py +5 -0
  208. capo_drs/types/launch_action.py +103 -0
  209. capo_drs/types/launch_action_category.py +6 -0
  210. capo_drs/types/launch_action_description.py +6 -0
  211. capo_drs/types/launch_action_id.py +6 -0
  212. capo_drs/types/launch_action_ids.py +17 -0
  213. capo_drs/types/launch_action_name.py +6 -0
  214. capo_drs/types/launch_action_order.py +6 -0
  215. capo_drs/types/launch_action_parameter.py +39 -0
  216. capo_drs/types/launch_action_parameter_name.py +5 -0
  217. capo_drs/types/launch_action_parameter_type.py +5 -0
  218. capo_drs/types/launch_action_parameter_value.py +5 -0
  219. capo_drs/types/launch_action_parameters.py +33 -0
  220. capo_drs/types/launch_action_resource_id.py +6 -0
  221. capo_drs/types/launch_action_run.py +53 -0
  222. capo_drs/types/launch_action_run_id.py +5 -0
  223. capo_drs/types/launch_action_run_status.py +5 -0
  224. capo_drs/types/launch_action_runs.py +29 -0
  225. capo_drs/types/launch_action_type.py +5 -0
  226. capo_drs/types/launch_action_version.py +6 -0
  227. capo_drs/types/launch_actions.py +29 -0
  228. capo_drs/types/launch_actions_request_filters.py +36 -0
  229. capo_drs/types/launch_actions_status.py +41 -0
  230. capo_drs/types/launch_configuration.py +114 -0
  231. capo_drs/types/launch_configuration_template.py +111 -0
  232. capo_drs/types/launch_configuration_template_i_ds.py +19 -0
  233. capo_drs/types/launch_configuration_template_id.py +5 -0
  234. capo_drs/types/launch_configuration_templates.py +31 -0
  235. capo_drs/types/launch_disposition.py +5 -0
  236. capo_drs/types/launch_into_instance_properties.py +30 -0
  237. capo_drs/types/launch_status.py +5 -0
  238. capo_drs/types/licensing.py +23 -0
  239. capo_drs/types/life_cycle.py +72 -0
  240. capo_drs/types/life_cycle_last_launch.py +49 -0
  241. capo_drs/types/life_cycle_last_launch_initiated.py +44 -0
  242. capo_drs/types/list_extensible_source_servers_request.py +49 -0
  243. capo_drs/types/list_extensible_source_servers_response.py +45 -0
  244. capo_drs/types/list_launch_actions_request.py +61 -0
  245. capo_drs/types/list_launch_actions_response.py +39 -0
  246. capo_drs/types/list_staging_accounts_request.py +26 -0
  247. capo_drs/types/list_staging_accounts_response.py +39 -0
  248. capo_drs/types/list_tags_for_resource_request.py +24 -0
  249. capo_drs/types/list_tags_for_resource_response.py +32 -0
  250. capo_drs/types/max_results_replicating_source_servers.py +5 -0
  251. capo_drs/types/max_results_type.py +5 -0
  252. capo_drs/types/network_interface.py +45 -0
  253. capo_drs/types/network_interfaces.py +29 -0
  254. capo_drs/types/origin_environment.py +5 -0
  255. capo_drs/types/os.py +28 -0
  256. capo_drs/types/outpost_arn.py +5 -0
  257. capo_drs/types/pagination_token.py +5 -0
  258. capo_drs/types/participating_resource.py +49 -0
  259. capo_drs/types/participating_resource_id.py +32 -0
  260. capo_drs/types/participating_resources.py +31 -0
  261. capo_drs/types/participating_server.py +65 -0
  262. capo_drs/types/participating_servers.py +31 -0
  263. capo_drs/types/pit_policy.py +29 -0
  264. capo_drs/types/pit_policy_rule.py +62 -0
  265. capo_drs/types/pit_policy_rule_units.py +5 -0
  266. capo_drs/types/positive_integer.py +5 -0
  267. capo_drs/types/product_code.py +35 -0
  268. capo_drs/types/product_code_id.py +5 -0
  269. capo_drs/types/product_code_mode.py +5 -0
  270. capo_drs/types/product_codes.py +29 -0
  271. capo_drs/types/put_launch_action_request.py +110 -0
  272. capo_drs/types/put_launch_action_response.py +111 -0
  273. capo_drs/types/recovery_instance.py +184 -0
  274. capo_drs/types/recovery_instance_data_replication_error.py +37 -0
  275. capo_drs/types/recovery_instance_data_replication_info.py +126 -0
  276. capo_drs/types/recovery_instance_data_replication_info_replicated_disk.py +57 -0
  277. capo_drs/types/recovery_instance_data_replication_info_replicated_disks.py +39 -0
  278. capo_drs/types/recovery_instance_data_replication_initiation.py +51 -0
  279. capo_drs/types/recovery_instance_data_replication_initiation_step.py +39 -0
  280. capo_drs/types/recovery_instance_data_replication_initiation_step_name.py +5 -0
  281. capo_drs/types/recovery_instance_data_replication_initiation_step_status.py +5 -0
  282. capo_drs/types/recovery_instance_data_replication_initiation_steps.py +39 -0
  283. capo_drs/types/recovery_instance_data_replication_state.py +5 -0
  284. capo_drs/types/recovery_instance_disk.py +43 -0
  285. capo_drs/types/recovery_instance_disks.py +31 -0
  286. capo_drs/types/recovery_instance_failback.py +106 -0
  287. capo_drs/types/recovery_instance_i_ds.py +19 -0
  288. capo_drs/types/recovery_instance_id.py +5 -0
  289. capo_drs/types/recovery_instance_properties.py +111 -0
  290. capo_drs/types/recovery_instances_for_termination_request.py +19 -0
  291. capo_drs/types/recovery_life_cycle.py +51 -0
  292. capo_drs/types/recovery_result.py +5 -0
  293. capo_drs/types/recovery_snapshot.py +70 -0
  294. capo_drs/types/recovery_snapshot_id.py +5 -0
  295. capo_drs/types/recovery_snapshots_list.py +31 -0
  296. capo_drs/types/recovery_snapshots_order.py +5 -0
  297. capo_drs/types/replication_configuration.py +194 -0
  298. capo_drs/types/replication_configuration_data_plane_routing.py +5 -0
  299. capo_drs/types/replication_configuration_default_large_staging_disk_type.py +5 -0
  300. capo_drs/types/replication_configuration_ebs_encryption.py +5 -0
  301. capo_drs/types/replication_configuration_replicated_disk.py +66 -0
  302. capo_drs/types/replication_configuration_replicated_disk_staging_disk_type.py +5 -0
  303. capo_drs/types/replication_configuration_replicated_disks.py +39 -0
  304. capo_drs/types/replication_configuration_template.py +191 -0
  305. capo_drs/types/replication_configuration_template_i_ds.py +19 -0
  306. capo_drs/types/replication_configuration_template_id.py +5 -0
  307. capo_drs/types/replication_configuration_templates.py +35 -0
  308. capo_drs/types/replication_direction.py +6 -0
  309. capo_drs/types/replication_servers_security_groups_i_ds.py +19 -0
  310. capo_drs/types/replication_status.py +5 -0
  311. capo_drs/types/retry_data_replication_request.py +33 -0
  312. capo_drs/types/reverse_replication_request.py +33 -0
  313. capo_drs/types/reverse_replication_response.py +34 -0
  314. capo_drs/types/security_group_id.py +5 -0
  315. capo_drs/types/sensitive_bounded_string.py +5 -0
  316. capo_drs/types/small_bounded_string.py +5 -0
  317. capo_drs/types/source_cloud_properties.py +51 -0
  318. capo_drs/types/source_network.py +113 -0
  319. capo_drs/types/source_network_data.py +48 -0
  320. capo_drs/types/source_network_id.py +5 -0
  321. capo_drs/types/source_networks_list.py +29 -0
  322. capo_drs/types/source_properties.py +122 -0
  323. capo_drs/types/source_server.py +185 -0
  324. capo_drs/types/source_server_arn.py +5 -0
  325. capo_drs/types/source_server_i_ds.py +17 -0
  326. capo_drs/types/source_server_id.py +5 -0
  327. capo_drs/types/source_servers_list.py +29 -0
  328. capo_drs/types/ssm_document_name.py +5 -0
  329. capo_drs/types/staging_area.py +49 -0
  330. capo_drs/types/staging_source_server.py +46 -0
  331. capo_drs/types/staging_source_servers_list.py +31 -0
  332. capo_drs/types/start_failback_launch_request.py +56 -0
  333. capo_drs/types/start_failback_launch_response.py +32 -0
  334. capo_drs/types/start_failback_request_recovery_instance_i_ds.py +19 -0
  335. capo_drs/types/start_recovery_request.py +60 -0
  336. capo_drs/types/start_recovery_request_source_server.py +42 -0
  337. capo_drs/types/start_recovery_request_source_servers.py +35 -0
  338. capo_drs/types/start_recovery_response.py +32 -0
  339. capo_drs/types/start_replication_request.py +31 -0
  340. capo_drs/types/start_replication_response.py +36 -0
  341. capo_drs/types/start_source_network_recovery_request.py +62 -0
  342. capo_drs/types/start_source_network_recovery_request_network_entries.py +39 -0
  343. capo_drs/types/start_source_network_recovery_request_network_entry.py +40 -0
  344. capo_drs/types/start_source_network_recovery_response.py +32 -0
  345. capo_drs/types/start_source_network_replication_request.py +33 -0
  346. capo_drs/types/start_source_network_replication_response.py +36 -0
  347. capo_drs/types/stop_failback_request.py +31 -0
  348. capo_drs/types/stop_replication_request.py +31 -0
  349. capo_drs/types/stop_replication_response.py +36 -0
  350. capo_drs/types/stop_source_network_replication_request.py +33 -0
  351. capo_drs/types/stop_source_network_replication_response.py +36 -0
  352. capo_drs/types/strictly_positive_integer.py +5 -0
  353. capo_drs/types/subnet_id.py +5 -0
  354. capo_drs/types/tag_key.py +5 -0
  355. capo_drs/types/tag_keys.py +17 -0
  356. capo_drs/types/tag_resource_request.py +38 -0
  357. capo_drs/types/tag_value.py +5 -0
  358. capo_drs/types/tags_map.py +28 -0
  359. capo_drs/types/target_instance_type_right_sizing_method.py +5 -0
  360. capo_drs/types/terminate_recovery_instances_request.py +45 -0
  361. capo_drs/types/terminate_recovery_instances_response.py +32 -0
  362. capo_drs/types/untag_resource_request.py +27 -0
  363. capo_drs/types/update_failback_replication_configuration_request.py +61 -0
  364. capo_drs/types/update_launch_configuration_request.py +112 -0
  365. capo_drs/types/update_launch_configuration_template_request.py +99 -0
  366. capo_drs/types/update_launch_configuration_template_response.py +42 -0
  367. capo_drs/types/update_replication_configuration_request.py +199 -0
  368. capo_drs/types/update_replication_configuration_template_request.py +181 -0
  369. capo_drs/types/validation_exception_field.py +34 -0
  370. capo_drs/types/validation_exception_field_list.py +31 -0
  371. capo_drs/types/validation_exception_reason.py +5 -0
  372. capo_drs/types/volume_status.py +5 -0
  373. capo_drs/types/volume_to_conversion_map.py +33 -0
  374. capo_drs/types/volume_to_product_codes.py +33 -0
  375. capo_drs/types/volume_to_size_map.py +29 -0
  376. capo_drs/types/vpc_id.py +5 -0
  377. capo_drs-0.1.0.dist-info/METADATA +101 -0
  378. capo_drs-0.1.0.dist-info/RECORD +381 -0
  379. capo_drs-0.1.0.dist-info/WHEEL +5 -0
  380. capo_drs-0.1.0.dist-info/licenses/LICENSE +21 -0
  381. capo_drs-0.1.0.dist-info/top_level.txt +1 -0
capo_drs/__init__.py ADDED
@@ -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.async_drs import AsyncdrsClient as AsyncdrsClient
70
+ from ._services.drs import drsClient as drsClient
capo_drs/_async.py ADDED
@@ -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]