capo-codedeploy 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 (472) hide show
  1. capo_codedeploy/__init__.py +70 -0
  2. capo_codedeploy/_async.py +25 -0
  3. capo_codedeploy/_auth/_identity.py +16 -0
  4. capo_codedeploy/_auth/_providers.py +886 -0
  5. capo_codedeploy/_auth/_signers.py +88 -0
  6. capo_codedeploy/_auth/_sigv4.py +434 -0
  7. capo_codedeploy/_auth/_zapros_handler.py +80 -0
  8. capo_codedeploy/_iter.py +113 -0
  9. capo_codedeploy/_operations/code_deploy_20141006/add_tags_to_on_premises_instances.py +153 -0
  10. capo_codedeploy/_operations/code_deploy_20141006/batch_get_application_revisions.py +173 -0
  11. capo_codedeploy/_operations/code_deploy_20141006/batch_get_applications.py +163 -0
  12. capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployment_groups.py +178 -0
  13. capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployment_instances.py +178 -0
  14. capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployment_targets.py +188 -0
  15. capo_codedeploy/_operations/code_deploy_20141006/batch_get_deployments.py +158 -0
  16. capo_codedeploy/_operations/code_deploy_20141006/batch_get_on_premises_instances.py +158 -0
  17. capo_codedeploy/_operations/code_deploy_20141006/continue_deployment.py +155 -0
  18. capo_codedeploy/_operations/code_deploy_20141006/create_application.py +175 -0
  19. capo_codedeploy/_operations/code_deploy_20141006/create_deployment.py +278 -0
  20. capo_codedeploy/_operations/code_deploy_20141006/create_deployment_config.py +185 -0
  21. capo_codedeploy/_operations/code_deploy_20141006/create_deployment_group.py +320 -0
  22. capo_codedeploy/_operations/code_deploy_20141006/delete_application.py +129 -0
  23. capo_codedeploy/_operations/code_deploy_20141006/delete_deployment_config.py +136 -0
  24. capo_codedeploy/_operations/code_deploy_20141006/delete_deployment_group.py +167 -0
  25. capo_codedeploy/_operations/code_deploy_20141006/delete_git_hub_account_token.py +166 -0
  26. capo_codedeploy/_operations/code_deploy_20141006/delete_resources_by_external_id.py +137 -0
  27. capo_codedeploy/_operations/code_deploy_20141006/deregister_on_premises_instance.py +126 -0
  28. capo_codedeploy/_operations/code_deploy_20141006/get_application.py +157 -0
  29. capo_codedeploy/_operations/code_deploy_20141006/get_application_revision.py +173 -0
  30. capo_codedeploy/_operations/code_deploy_20141006/get_deployment.py +157 -0
  31. capo_codedeploy/_operations/code_deploy_20141006/get_deployment_config.py +162 -0
  32. capo_codedeploy/_operations/code_deploy_20141006/get_deployment_group.py +179 -0
  33. capo_codedeploy/_operations/code_deploy_20141006/get_deployment_instance.py +177 -0
  34. capo_codedeploy/_operations/code_deploy_20141006/get_deployment_target.py +182 -0
  35. capo_codedeploy/_operations/code_deploy_20141006/get_on_premises_instance.py +157 -0
  36. capo_codedeploy/_operations/code_deploy_20141006/list_application_revisions.py +195 -0
  37. capo_codedeploy/_operations/code_deploy_20141006/list_applications.py +149 -0
  38. capo_codedeploy/_operations/code_deploy_20141006/list_deployment_configs.py +147 -0
  39. capo_codedeploy/_operations/code_deploy_20141006/list_deployment_groups.py +162 -0
  40. capo_codedeploy/_operations/code_deploy_20141006/list_deployment_instances.py +198 -0
  41. capo_codedeploy/_operations/code_deploy_20141006/list_deployment_targets.py +188 -0
  42. capo_codedeploy/_operations/code_deploy_20141006/list_deployments.py +199 -0
  43. capo_codedeploy/_operations/code_deploy_20141006/list_git_hub_account_token_names.py +157 -0
  44. capo_codedeploy/_operations/code_deploy_20141006/list_on_premises_instances.py +159 -0
  45. capo_codedeploy/_operations/code_deploy_20141006/list_tags_for_resource.py +157 -0
  46. capo_codedeploy/_operations/code_deploy_20141006/put_lifecycle_event_hook_execution_status.py +177 -0
  47. capo_codedeploy/_operations/code_deploy_20141006/register_application_revision.py +147 -0
  48. capo_codedeploy/_operations/code_deploy_20141006/register_on_premises_instance.py +166 -0
  49. capo_codedeploy/_operations/code_deploy_20141006/remove_tags_from_on_premises_instances.py +153 -0
  50. capo_codedeploy/_operations/code_deploy_20141006/skip_wait_time_for_instance_termination.py +146 -0
  51. capo_codedeploy/_operations/code_deploy_20141006/stop_deployment.py +172 -0
  52. capo_codedeploy/_operations/code_deploy_20141006/tag_resource.py +174 -0
  53. capo_codedeploy/_operations/code_deploy_20141006/untag_resource.py +174 -0
  54. capo_codedeploy/_operations/code_deploy_20141006/update_application.py +134 -0
  55. capo_codedeploy/_operations/code_deploy_20141006/update_deployment_group.py +310 -0
  56. capo_codedeploy/_pagination.py +21 -0
  57. capo_codedeploy/_protocol/__init__.py +1 -0
  58. capo_codedeploy/_protocol/errors.py +93 -0
  59. capo_codedeploy/_protocol/eventstream.py +238 -0
  60. capo_codedeploy/_protocol/serialize.py +47 -0
  61. capo_codedeploy/_protocol/xml.py +33 -0
  62. capo_codedeploy/_rule_engine/__init__.py +0 -0
  63. capo_codedeploy/_rule_engine/_aws_partition.py +160 -0
  64. capo_codedeploy/_rule_engine/_endpoint_rule_set.py +138 -0
  65. capo_codedeploy/_rule_engine/_endpoint_runtime.py +389 -0
  66. capo_codedeploy/_services/_aws_config.py +160 -0
  67. capo_codedeploy/_services/_pipeline.py +198 -0
  68. capo_codedeploy/_services/async_code_deploy.py +3278 -0
  69. capo_codedeploy/_services/code_deploy.py +3229 -0
  70. capo_codedeploy/errors/__init__.py +335 -0
  71. capo_codedeploy/errors/_base.py +94 -0
  72. capo_codedeploy/errors/alarms_limit_exceeded_exception.py +52 -0
  73. capo_codedeploy/errors/application_already_exists_exception.py +54 -0
  74. capo_codedeploy/errors/application_does_not_exist_exception.py +54 -0
  75. capo_codedeploy/errors/application_limit_exceeded_exception.py +54 -0
  76. capo_codedeploy/errors/application_name_required_exception.py +54 -0
  77. capo_codedeploy/errors/arn_not_supported_exception.py +52 -0
  78. capo_codedeploy/errors/batch_limit_exceeded_exception.py +52 -0
  79. capo_codedeploy/errors/bucket_name_filter_required_exception.py +54 -0
  80. capo_codedeploy/errors/deployment_already_completed_exception.py +54 -0
  81. capo_codedeploy/errors/deployment_config_already_exists_exception.py +54 -0
  82. capo_codedeploy/errors/deployment_config_does_not_exist_exception.py +54 -0
  83. capo_codedeploy/errors/deployment_config_in_use_exception.py +54 -0
  84. capo_codedeploy/errors/deployment_config_limit_exceeded_exception.py +54 -0
  85. capo_codedeploy/errors/deployment_config_name_required_exception.py +54 -0
  86. capo_codedeploy/errors/deployment_does_not_exist_exception.py +54 -0
  87. capo_codedeploy/errors/deployment_group_already_exists_exception.py +54 -0
  88. capo_codedeploy/errors/deployment_group_does_not_exist_exception.py +54 -0
  89. capo_codedeploy/errors/deployment_group_limit_exceeded_exception.py +54 -0
  90. capo_codedeploy/errors/deployment_group_name_required_exception.py +54 -0
  91. capo_codedeploy/errors/deployment_id_required_exception.py +54 -0
  92. capo_codedeploy/errors/deployment_is_not_in_ready_state_exception.py +54 -0
  93. capo_codedeploy/errors/deployment_limit_exceeded_exception.py +54 -0
  94. capo_codedeploy/errors/deployment_not_started_exception.py +54 -0
  95. capo_codedeploy/errors/deployment_target_does_not_exist_exception.py +54 -0
  96. capo_codedeploy/errors/deployment_target_id_required_exception.py +54 -0
  97. capo_codedeploy/errors/deployment_target_list_size_exceeded_exception.py +56 -0
  98. capo_codedeploy/errors/description_too_long_exception.py +52 -0
  99. capo_codedeploy/errors/ecs_service_mapping_limit_exceeded_exception.py +54 -0
  100. capo_codedeploy/errors/git_hub_account_token_does_not_exist_exception.py +54 -0
  101. capo_codedeploy/errors/git_hub_account_token_name_required_exception.py +54 -0
  102. capo_codedeploy/errors/iam_arn_required_exception.py +52 -0
  103. capo_codedeploy/errors/iam_session_arn_already_registered_exception.py +54 -0
  104. capo_codedeploy/errors/iam_user_arn_already_registered_exception.py +54 -0
  105. capo_codedeploy/errors/iam_user_arn_required_exception.py +52 -0
  106. capo_codedeploy/errors/instance_does_not_exist_exception.py +54 -0
  107. capo_codedeploy/errors/instance_id_required_exception.py +52 -0
  108. capo_codedeploy/errors/instance_limit_exceeded_exception.py +54 -0
  109. capo_codedeploy/errors/instance_name_already_registered_exception.py +54 -0
  110. capo_codedeploy/errors/instance_name_required_exception.py +54 -0
  111. capo_codedeploy/errors/instance_not_registered_exception.py +54 -0
  112. capo_codedeploy/errors/invalid_alarm_config_exception.py +52 -0
  113. capo_codedeploy/errors/invalid_application_name_exception.py +54 -0
  114. capo_codedeploy/errors/invalid_arn_exception.py +52 -0
  115. capo_codedeploy/errors/invalid_auto_rollback_config_exception.py +54 -0
  116. capo_codedeploy/errors/invalid_auto_scaling_group_exception.py +54 -0
  117. capo_codedeploy/errors/invalid_blue_green_deployment_configuration_exception.py +60 -0
  118. capo_codedeploy/errors/invalid_bucket_name_filter_exception.py +54 -0
  119. capo_codedeploy/errors/invalid_compute_platform_exception.py +54 -0
  120. capo_codedeploy/errors/invalid_deployed_state_filter_exception.py +54 -0
  121. capo_codedeploy/errors/invalid_deployment_config_name_exception.py +54 -0
  122. capo_codedeploy/errors/invalid_deployment_group_name_exception.py +54 -0
  123. capo_codedeploy/errors/invalid_deployment_id_exception.py +52 -0
  124. capo_codedeploy/errors/invalid_deployment_instance_type_exception.py +54 -0
  125. capo_codedeploy/errors/invalid_deployment_status_exception.py +54 -0
  126. capo_codedeploy/errors/invalid_deployment_style_exception.py +54 -0
  127. capo_codedeploy/errors/invalid_deployment_target_id_exception.py +54 -0
  128. capo_codedeploy/errors/invalid_deployment_wait_type_exception.py +54 -0
  129. capo_codedeploy/errors/invalid_ec2_tag_combination_exception.py +54 -0
  130. capo_codedeploy/errors/invalid_ec2_tag_exception.py +52 -0
  131. capo_codedeploy/errors/invalid_ecs_service_exception.py +52 -0
  132. capo_codedeploy/errors/invalid_external_id_exception.py +52 -0
  133. capo_codedeploy/errors/invalid_file_exists_behavior_exception.py +54 -0
  134. capo_codedeploy/errors/invalid_git_hub_account_token_exception.py +54 -0
  135. capo_codedeploy/errors/invalid_git_hub_account_token_name_exception.py +54 -0
  136. capo_codedeploy/errors/invalid_iam_session_arn_exception.py +54 -0
  137. capo_codedeploy/errors/invalid_iam_user_arn_exception.py +52 -0
  138. capo_codedeploy/errors/invalid_ignore_application_stop_failures_value_exception.py +60 -0
  139. capo_codedeploy/errors/invalid_input_exception.py +52 -0
  140. capo_codedeploy/errors/invalid_instance_name_exception.py +52 -0
  141. capo_codedeploy/errors/invalid_instance_status_exception.py +54 -0
  142. capo_codedeploy/errors/invalid_instance_type_exception.py +52 -0
  143. capo_codedeploy/errors/invalid_key_prefix_filter_exception.py +54 -0
  144. capo_codedeploy/errors/invalid_lifecycle_event_hook_execution_id_exception.py +60 -0
  145. capo_codedeploy/errors/invalid_lifecycle_event_hook_execution_status_exception.py +60 -0
  146. capo_codedeploy/errors/invalid_load_balancer_info_exception.py +54 -0
  147. capo_codedeploy/errors/invalid_minimum_healthy_host_value_exception.py +54 -0
  148. capo_codedeploy/errors/invalid_next_token_exception.py +52 -0
  149. capo_codedeploy/errors/invalid_on_premises_tag_combination_exception.py +56 -0
  150. capo_codedeploy/errors/invalid_operation_exception.py +52 -0
  151. capo_codedeploy/errors/invalid_registration_status_exception.py +54 -0
  152. capo_codedeploy/errors/invalid_revision_exception.py +52 -0
  153. capo_codedeploy/errors/invalid_role_exception.py +52 -0
  154. capo_codedeploy/errors/invalid_sort_by_exception.py +52 -0
  155. capo_codedeploy/errors/invalid_sort_order_exception.py +52 -0
  156. capo_codedeploy/errors/invalid_tag_exception.py +52 -0
  157. capo_codedeploy/errors/invalid_tag_filter_exception.py +52 -0
  158. capo_codedeploy/errors/invalid_tags_to_add_exception.py +52 -0
  159. capo_codedeploy/errors/invalid_target_filter_name_exception.py +54 -0
  160. capo_codedeploy/errors/invalid_target_group_pair_exception.py +54 -0
  161. capo_codedeploy/errors/invalid_target_instances_exception.py +54 -0
  162. capo_codedeploy/errors/invalid_time_range_exception.py +52 -0
  163. capo_codedeploy/errors/invalid_traffic_routing_configuration_exception.py +58 -0
  164. capo_codedeploy/errors/invalid_trigger_config_exception.py +54 -0
  165. capo_codedeploy/errors/invalid_update_outdated_instances_only_value_exception.py +60 -0
  166. capo_codedeploy/errors/invalid_zonal_deployment_configuration_exception.py +60 -0
  167. capo_codedeploy/errors/lifecycle_event_already_completed_exception.py +54 -0
  168. capo_codedeploy/errors/lifecycle_hook_limit_exceeded_exception.py +54 -0
  169. capo_codedeploy/errors/multiple_iam_arns_provided_exception.py +54 -0
  170. capo_codedeploy/errors/operation_not_supported_exception.py +54 -0
  171. capo_codedeploy/errors/resource_arn_required_exception.py +52 -0
  172. capo_codedeploy/errors/resource_validation_exception.py +52 -0
  173. capo_codedeploy/errors/revision_does_not_exist_exception.py +54 -0
  174. capo_codedeploy/errors/revision_required_exception.py +52 -0
  175. capo_codedeploy/errors/role_required_exception.py +52 -0
  176. capo_codedeploy/errors/tag_limit_exceeded_exception.py +52 -0
  177. capo_codedeploy/errors/tag_required_exception.py +52 -0
  178. capo_codedeploy/errors/tag_set_list_limit_exceeded_exception.py +54 -0
  179. capo_codedeploy/errors/throttling_exception.py +52 -0
  180. capo_codedeploy/errors/trigger_targets_limit_exceeded_exception.py +54 -0
  181. capo_codedeploy/errors/unsupported_action_for_deployment_type_exception.py +58 -0
  182. capo_codedeploy/py.typed +0 -0
  183. capo_codedeploy/types/_prelude/blob.py +12 -0
  184. capo_codedeploy/types/_prelude/timestamp.py +17 -0
  185. capo_codedeploy/types/add_tags_to_on_premises_instances_input.py +59 -0
  186. capo_codedeploy/types/additional_deployment_status_info.py +5 -0
  187. capo_codedeploy/types/alarm.py +28 -0
  188. capo_codedeploy/types/alarm_configuration.py +51 -0
  189. capo_codedeploy/types/alarm_list.py +29 -0
  190. capo_codedeploy/types/alarm_name.py +5 -0
  191. capo_codedeploy/types/app_spec_content.py +35 -0
  192. capo_codedeploy/types/application_id.py +5 -0
  193. capo_codedeploy/types/application_info.py +90 -0
  194. capo_codedeploy/types/application_name.py +5 -0
  195. capo_codedeploy/types/application_revision_sort_by.py +18 -0
  196. capo_codedeploy/types/applications_info_list.py +33 -0
  197. capo_codedeploy/types/applications_list.py +19 -0
  198. capo_codedeploy/types/arn.py +5 -0
  199. capo_codedeploy/types/auto_rollback_configuration.py +50 -0
  200. capo_codedeploy/types/auto_rollback_event.py +18 -0
  201. capo_codedeploy/types/auto_rollback_events_list.py +35 -0
  202. capo_codedeploy/types/auto_scaling_group.py +47 -0
  203. capo_codedeploy/types/auto_scaling_group_hook.py +5 -0
  204. capo_codedeploy/types/auto_scaling_group_list.py +35 -0
  205. capo_codedeploy/types/auto_scaling_group_name.py +5 -0
  206. capo_codedeploy/types/auto_scaling_group_name_list.py +19 -0
  207. capo_codedeploy/types/batch_get_application_revisions_input.py +55 -0
  208. capo_codedeploy/types/batch_get_application_revisions_output.py +56 -0
  209. capo_codedeploy/types/batch_get_applications_input.py +45 -0
  210. capo_codedeploy/types/batch_get_applications_output.py +42 -0
  211. capo_codedeploy/types/batch_get_deployment_groups_input.py +57 -0
  212. capo_codedeploy/types/batch_get_deployment_groups_output.py +49 -0
  213. capo_codedeploy/types/batch_get_deployment_instances_input.py +53 -0
  214. capo_codedeploy/types/batch_get_deployment_instances_output.py +49 -0
  215. capo_codedeploy/types/batch_get_deployment_targets_input.py +51 -0
  216. capo_codedeploy/types/batch_get_deployment_targets_output.py +42 -0
  217. capo_codedeploy/types/batch_get_deployments_input.py +43 -0
  218. capo_codedeploy/types/batch_get_deployments_output.py +42 -0
  219. capo_codedeploy/types/batch_get_on_premises_instances_input.py +45 -0
  220. capo_codedeploy/types/batch_get_on_premises_instances_output.py +42 -0
  221. capo_codedeploy/types/blue_green_deployment_configuration.py +84 -0
  222. capo_codedeploy/types/blue_instance_termination_option.py +46 -0
  223. capo_codedeploy/types/boolean.py +5 -0
  224. capo_codedeploy/types/bundle_type.py +20 -0
  225. capo_codedeploy/types/cloud_formation_resource_type.py +5 -0
  226. capo_codedeploy/types/cloud_formation_target.py +112 -0
  227. capo_codedeploy/types/commit_id.py +5 -0
  228. capo_codedeploy/types/compute_platform.py +18 -0
  229. capo_codedeploy/types/continue_deployment_input.py +49 -0
  230. capo_codedeploy/types/create_application_input.py +67 -0
  231. capo_codedeploy/types/create_application_output.py +28 -0
  232. capo_codedeploy/types/create_deployment_config_input.py +115 -0
  233. capo_codedeploy/types/create_deployment_config_output.py +30 -0
  234. capo_codedeploy/types/create_deployment_group_input.py +353 -0
  235. capo_codedeploy/types/create_deployment_group_output.py +30 -0
  236. capo_codedeploy/types/create_deployment_input.py +178 -0
  237. capo_codedeploy/types/create_deployment_output.py +28 -0
  238. capo_codedeploy/types/delete_application_input.py +31 -0
  239. capo_codedeploy/types/delete_deployment_config_input.py +35 -0
  240. capo_codedeploy/types/delete_deployment_group_input.py +45 -0
  241. capo_codedeploy/types/delete_deployment_group_output.py +42 -0
  242. capo_codedeploy/types/delete_git_hub_account_token_input.py +30 -0
  243. capo_codedeploy/types/delete_git_hub_account_token_output.py +30 -0
  244. capo_codedeploy/types/delete_resources_by_external_id_input.py +28 -0
  245. capo_codedeploy/types/delete_resources_by_external_id_output.py +18 -0
  246. capo_codedeploy/types/deployment_config_id.py +5 -0
  247. capo_codedeploy/types/deployment_config_info.py +134 -0
  248. capo_codedeploy/types/deployment_config_name.py +5 -0
  249. capo_codedeploy/types/deployment_configs_list.py +19 -0
  250. capo_codedeploy/types/deployment_creator.py +23 -0
  251. capo_codedeploy/types/deployment_group_id.py +5 -0
  252. capo_codedeploy/types/deployment_group_info.py +420 -0
  253. capo_codedeploy/types/deployment_group_info_list.py +35 -0
  254. capo_codedeploy/types/deployment_group_name.py +5 -0
  255. capo_codedeploy/types/deployment_groups_list.py +19 -0
  256. capo_codedeploy/types/deployment_id.py +5 -0
  257. capo_codedeploy/types/deployment_info.py +499 -0
  258. capo_codedeploy/types/deployment_option.py +17 -0
  259. capo_codedeploy/types/deployment_overview.py +64 -0
  260. capo_codedeploy/types/deployment_ready_action.py +17 -0
  261. capo_codedeploy/types/deployment_ready_option.py +50 -0
  262. capo_codedeploy/types/deployment_status.py +23 -0
  263. capo_codedeploy/types/deployment_status_list.py +33 -0
  264. capo_codedeploy/types/deployment_status_message_list.py +19 -0
  265. capo_codedeploy/types/deployment_style.py +61 -0
  266. capo_codedeploy/types/deployment_target.py +115 -0
  267. capo_codedeploy/types/deployment_target_list.py +33 -0
  268. capo_codedeploy/types/deployment_target_type.py +19 -0
  269. capo_codedeploy/types/deployment_type.py +17 -0
  270. capo_codedeploy/types/deployment_wait_type.py +17 -0
  271. capo_codedeploy/types/deployments_info_list.py +31 -0
  272. capo_codedeploy/types/deployments_list.py +17 -0
  273. capo_codedeploy/types/deregister_on_premises_instance_input.py +33 -0
  274. capo_codedeploy/types/description.py +5 -0
  275. capo_codedeploy/types/diagnostics.py +63 -0
  276. capo_codedeploy/types/duration.py +5 -0
  277. capo_codedeploy/types/e_tag.py +5 -0
  278. capo_codedeploy/types/ec2_tag_filter.py +52 -0
  279. capo_codedeploy/types/ec2_tag_filter_list.py +29 -0
  280. capo_codedeploy/types/ec2_tag_filter_type.py +18 -0
  281. capo_codedeploy/types/ec2_tag_set.py +42 -0
  282. capo_codedeploy/types/ec2_tag_set_list.py +35 -0
  283. capo_codedeploy/types/ecs_cluster_name.py +5 -0
  284. capo_codedeploy/types/ecs_service.py +35 -0
  285. capo_codedeploy/types/ecs_service_list.py +29 -0
  286. capo_codedeploy/types/ecs_service_name.py +5 -0
  287. capo_codedeploy/types/ecs_target.py +114 -0
  288. capo_codedeploy/types/ecs_task_set.py +111 -0
  289. capo_codedeploy/types/ecs_task_set_count.py +5 -0
  290. capo_codedeploy/types/ecs_task_set_identifier.py +5 -0
  291. capo_codedeploy/types/ecs_task_set_list.py +29 -0
  292. capo_codedeploy/types/ecs_task_set_status.py +5 -0
  293. capo_codedeploy/types/elb_info.py +28 -0
  294. capo_codedeploy/types/elb_info_list.py +29 -0
  295. capo_codedeploy/types/elb_name.py +5 -0
  296. capo_codedeploy/types/error_code.py +49 -0
  297. capo_codedeploy/types/error_information.py +43 -0
  298. capo_codedeploy/types/error_message.py +5 -0
  299. capo_codedeploy/types/external_id.py +5 -0
  300. capo_codedeploy/types/file_exists_behavior.py +18 -0
  301. capo_codedeploy/types/filter_value.py +5 -0
  302. capo_codedeploy/types/filter_value_list.py +17 -0
  303. capo_codedeploy/types/generic_revision_info.py +96 -0
  304. capo_codedeploy/types/get_application_input.py +31 -0
  305. capo_codedeploy/types/get_application_output.py +40 -0
  306. capo_codedeploy/types/get_application_revision_input.py +51 -0
  307. capo_codedeploy/types/get_application_revision_output.py +70 -0
  308. capo_codedeploy/types/get_deployment_config_input.py +35 -0
  309. capo_codedeploy/types/get_deployment_config_output.py +42 -0
  310. capo_codedeploy/types/get_deployment_group_input.py +43 -0
  311. capo_codedeploy/types/get_deployment_group_output.py +42 -0
  312. capo_codedeploy/types/get_deployment_input.py +31 -0
  313. capo_codedeploy/types/get_deployment_instance_input.py +39 -0
  314. capo_codedeploy/types/get_deployment_instance_output.py +42 -0
  315. capo_codedeploy/types/get_deployment_output.py +40 -0
  316. capo_codedeploy/types/get_deployment_target_input.py +39 -0
  317. capo_codedeploy/types/get_deployment_target_output.py +42 -0
  318. capo_codedeploy/types/get_on_premises_instance_input.py +31 -0
  319. capo_codedeploy/types/get_on_premises_instance_output.py +40 -0
  320. capo_codedeploy/types/git_hub_account_token_name.py +5 -0
  321. capo_codedeploy/types/git_hub_account_token_name_list.py +19 -0
  322. capo_codedeploy/types/git_hub_location.py +35 -0
  323. capo_codedeploy/types/green_fleet_provisioning_action.py +17 -0
  324. capo_codedeploy/types/green_fleet_provisioning_option.py +42 -0
  325. capo_codedeploy/types/iam_session_arn.py +5 -0
  326. capo_codedeploy/types/iam_user_arn.py +5 -0
  327. capo_codedeploy/types/instance_action.py +17 -0
  328. capo_codedeploy/types/instance_arn.py +5 -0
  329. capo_codedeploy/types/instance_count.py +5 -0
  330. capo_codedeploy/types/instance_id.py +5 -0
  331. capo_codedeploy/types/instance_info.py +95 -0
  332. capo_codedeploy/types/instance_info_list.py +29 -0
  333. capo_codedeploy/types/instance_name.py +5 -0
  334. capo_codedeploy/types/instance_name_list.py +17 -0
  335. capo_codedeploy/types/instance_status.py +22 -0
  336. capo_codedeploy/types/instance_status_list.py +31 -0
  337. capo_codedeploy/types/instance_summary.py +107 -0
  338. capo_codedeploy/types/instance_summary_list.py +33 -0
  339. capo_codedeploy/types/instance_target.py +112 -0
  340. capo_codedeploy/types/instance_type.py +17 -0
  341. capo_codedeploy/types/instance_type_list.py +29 -0
  342. capo_codedeploy/types/instances_list.py +17 -0
  343. capo_codedeploy/types/key.py +5 -0
  344. capo_codedeploy/types/lambda_function_alias.py +5 -0
  345. capo_codedeploy/types/lambda_function_info.py +69 -0
  346. capo_codedeploy/types/lambda_function_name.py +5 -0
  347. capo_codedeploy/types/lambda_target.py +114 -0
  348. capo_codedeploy/types/last_deployment_info.py +74 -0
  349. capo_codedeploy/types/lifecycle_error_code.py +21 -0
  350. capo_codedeploy/types/lifecycle_event.py +95 -0
  351. capo_codedeploy/types/lifecycle_event_hook_execution_id.py +5 -0
  352. capo_codedeploy/types/lifecycle_event_list.py +31 -0
  353. capo_codedeploy/types/lifecycle_event_name.py +5 -0
  354. capo_codedeploy/types/lifecycle_event_status.py +21 -0
  355. capo_codedeploy/types/lifecycle_message.py +5 -0
  356. capo_codedeploy/types/list_application_revisions_input.py +111 -0
  357. capo_codedeploy/types/list_application_revisions_output.py +49 -0
  358. capo_codedeploy/types/list_applications_input.py +28 -0
  359. capo_codedeploy/types/list_applications_output.py +49 -0
  360. capo_codedeploy/types/list_deployment_configs_input.py +28 -0
  361. capo_codedeploy/types/list_deployment_configs_output.py +49 -0
  362. capo_codedeploy/types/list_deployment_groups_input.py +40 -0
  363. capo_codedeploy/types/list_deployment_groups_output.py +58 -0
  364. capo_codedeploy/types/list_deployment_instances_input.py +82 -0
  365. capo_codedeploy/types/list_deployment_instances_output.py +47 -0
  366. capo_codedeploy/types/list_deployment_targets_input.py +57 -0
  367. capo_codedeploy/types/list_deployment_targets_output.py +45 -0
  368. capo_codedeploy/types/list_deployments_input.py +93 -0
  369. capo_codedeploy/types/list_deployments_output.py +47 -0
  370. capo_codedeploy/types/list_git_hub_account_token_names_input.py +28 -0
  371. capo_codedeploy/types/list_git_hub_account_token_names_output.py +49 -0
  372. capo_codedeploy/types/list_on_premises_instances_input.py +68 -0
  373. capo_codedeploy/types/list_on_premises_instances_output.py +49 -0
  374. capo_codedeploy/types/list_state_filter_action.py +18 -0
  375. capo_codedeploy/types/list_tags_for_resource_input.py +38 -0
  376. capo_codedeploy/types/list_tags_for_resource_output.py +43 -0
  377. capo_codedeploy/types/listener_arn.py +5 -0
  378. capo_codedeploy/types/listener_arn_list.py +17 -0
  379. capo_codedeploy/types/load_balancer_info.py +80 -0
  380. capo_codedeploy/types/log_tail.py +5 -0
  381. capo_codedeploy/types/message.py +5 -0
  382. capo_codedeploy/types/minimum_healthy_hosts.py +50 -0
  383. capo_codedeploy/types/minimum_healthy_hosts_per_zone.py +50 -0
  384. capo_codedeploy/types/minimum_healthy_hosts_per_zone_type.py +17 -0
  385. capo_codedeploy/types/minimum_healthy_hosts_per_zone_value.py +5 -0
  386. capo_codedeploy/types/minimum_healthy_hosts_type.py +17 -0
  387. capo_codedeploy/types/minimum_healthy_hosts_value.py +5 -0
  388. capo_codedeploy/types/next_token.py +5 -0
  389. capo_codedeploy/types/nullable_boolean.py +5 -0
  390. capo_codedeploy/types/on_premises_tag_set.py +42 -0
  391. capo_codedeploy/types/on_premises_tag_set_list.py +31 -0
  392. capo_codedeploy/types/outdated_instances_strategy.py +17 -0
  393. capo_codedeploy/types/percentage.py +5 -0
  394. capo_codedeploy/types/put_lifecycle_event_hook_execution_status_input.py +60 -0
  395. capo_codedeploy/types/put_lifecycle_event_hook_execution_status_output.py +32 -0
  396. capo_codedeploy/types/raw_string.py +35 -0
  397. capo_codedeploy/types/raw_string_content.py +5 -0
  398. capo_codedeploy/types/raw_string_sha256.py +5 -0
  399. capo_codedeploy/types/register_application_revision_input.py +58 -0
  400. capo_codedeploy/types/register_on_premises_instance_input.py +47 -0
  401. capo_codedeploy/types/registration_status.py +17 -0
  402. capo_codedeploy/types/related_deployments.py +55 -0
  403. capo_codedeploy/types/remove_tags_from_on_premises_instances_input.py +61 -0
  404. capo_codedeploy/types/repository.py +5 -0
  405. capo_codedeploy/types/revision_info.py +63 -0
  406. capo_codedeploy/types/revision_info_list.py +29 -0
  407. capo_codedeploy/types/revision_location.py +114 -0
  408. capo_codedeploy/types/revision_location_list.py +33 -0
  409. capo_codedeploy/types/revision_location_type.py +19 -0
  410. capo_codedeploy/types/role.py +5 -0
  411. capo_codedeploy/types/rollback_info.py +49 -0
  412. capo_codedeploy/types/s3_bucket.py +5 -0
  413. capo_codedeploy/types/s3_key.py +5 -0
  414. capo_codedeploy/types/s3_location.py +64 -0
  415. capo_codedeploy/types/script_name.py +5 -0
  416. capo_codedeploy/types/skip_wait_time_for_instance_termination_input.py +28 -0
  417. capo_codedeploy/types/sort_order.py +17 -0
  418. capo_codedeploy/types/stop_deployment_input.py +40 -0
  419. capo_codedeploy/types/stop_deployment_output.py +43 -0
  420. capo_codedeploy/types/stop_status.py +17 -0
  421. capo_codedeploy/types/tag.py +35 -0
  422. capo_codedeploy/types/tag_filter.py +50 -0
  423. capo_codedeploy/types/tag_filter_list.py +29 -0
  424. capo_codedeploy/types/tag_filter_type.py +18 -0
  425. capo_codedeploy/types/tag_key_list.py +17 -0
  426. capo_codedeploy/types/tag_list.py +29 -0
  427. capo_codedeploy/types/tag_resource_input.py +45 -0
  428. capo_codedeploy/types/tag_resource_output.py +18 -0
  429. capo_codedeploy/types/target_arn.py +5 -0
  430. capo_codedeploy/types/target_filter_name.py +17 -0
  431. capo_codedeploy/types/target_filters.py +40 -0
  432. capo_codedeploy/types/target_group_info.py +28 -0
  433. capo_codedeploy/types/target_group_info_list.py +33 -0
  434. capo_codedeploy/types/target_group_name.py +5 -0
  435. capo_codedeploy/types/target_group_pair_info.py +79 -0
  436. capo_codedeploy/types/target_group_pair_info_list.py +35 -0
  437. capo_codedeploy/types/target_id.py +5 -0
  438. capo_codedeploy/types/target_id_list.py +17 -0
  439. capo_codedeploy/types/target_instances.py +78 -0
  440. capo_codedeploy/types/target_label.py +17 -0
  441. capo_codedeploy/types/target_status.py +22 -0
  442. capo_codedeploy/types/time.py +20 -0
  443. capo_codedeploy/types/time_based_canary.py +37 -0
  444. capo_codedeploy/types/time_based_linear.py +37 -0
  445. capo_codedeploy/types/time_range.py +50 -0
  446. capo_codedeploy/types/timestamp.py +20 -0
  447. capo_codedeploy/types/traffic_route.py +42 -0
  448. capo_codedeploy/types/traffic_routing_config.py +80 -0
  449. capo_codedeploy/types/traffic_routing_type.py +18 -0
  450. capo_codedeploy/types/traffic_weight.py +5 -0
  451. capo_codedeploy/types/trigger_config.py +58 -0
  452. capo_codedeploy/types/trigger_config_list.py +31 -0
  453. capo_codedeploy/types/trigger_event_type.py +25 -0
  454. capo_codedeploy/types/trigger_event_type_list.py +35 -0
  455. capo_codedeploy/types/trigger_name.py +5 -0
  456. capo_codedeploy/types/trigger_target_arn.py +5 -0
  457. capo_codedeploy/types/untag_resource_input.py +47 -0
  458. capo_codedeploy/types/untag_resource_output.py +18 -0
  459. capo_codedeploy/types/update_application_input.py +38 -0
  460. capo_codedeploy/types/update_deployment_group_input.py +343 -0
  461. capo_codedeploy/types/update_deployment_group_output.py +42 -0
  462. capo_codedeploy/types/value.py +5 -0
  463. capo_codedeploy/types/version.py +5 -0
  464. capo_codedeploy/types/version_id.py +5 -0
  465. capo_codedeploy/types/wait_time_in_mins.py +5 -0
  466. capo_codedeploy/types/wait_time_in_seconds.py +5 -0
  467. capo_codedeploy/types/zonal_config.py +63 -0
  468. capo_codedeploy-0.1.0.dist-info/METADATA +102 -0
  469. capo_codedeploy-0.1.0.dist-info/RECORD +472 -0
  470. capo_codedeploy-0.1.0.dist-info/WHEEL +5 -0
  471. capo_codedeploy-0.1.0.dist-info/licenses/LICENSE +21 -0
  472. capo_codedeploy-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,335 @@
1
+ from __future__ import annotations
2
+
3
+ from ._base import (
4
+ CodeDeployError as CodeDeployError,
5
+ )
6
+ from ._base import (
7
+ DeserializationError as DeserializationError,
8
+ )
9
+ from ._base import (
10
+ SerializationError as SerializationError,
11
+ )
12
+ from ._base import (
13
+ ServiceError as ServiceError,
14
+ )
15
+ from ._base import (
16
+ UnknownServiceError as UnknownServiceError,
17
+ )
18
+ from ._base import (
19
+ WaiterFailedError as WaiterFailedError,
20
+ )
21
+ from ._base import (
22
+ WaiterTimeoutError as WaiterTimeoutError,
23
+ )
24
+ from .alarms_limit_exceeded_exception import (
25
+ AlarmsLimitExceededException as AlarmsLimitExceededException,
26
+ )
27
+ from .application_already_exists_exception import (
28
+ ApplicationAlreadyExistsException as ApplicationAlreadyExistsException,
29
+ )
30
+ from .application_does_not_exist_exception import (
31
+ ApplicationDoesNotExistException as ApplicationDoesNotExistException,
32
+ )
33
+ from .application_limit_exceeded_exception import (
34
+ ApplicationLimitExceededException as ApplicationLimitExceededException,
35
+ )
36
+ from .application_name_required_exception import (
37
+ ApplicationNameRequiredException as ApplicationNameRequiredException,
38
+ )
39
+ from .arn_not_supported_exception import (
40
+ ArnNotSupportedException as ArnNotSupportedException,
41
+ )
42
+ from .batch_limit_exceeded_exception import (
43
+ BatchLimitExceededException as BatchLimitExceededException,
44
+ )
45
+ from .bucket_name_filter_required_exception import (
46
+ BucketNameFilterRequiredException as BucketNameFilterRequiredException,
47
+ )
48
+ from .deployment_already_completed_exception import (
49
+ DeploymentAlreadyCompletedException as DeploymentAlreadyCompletedException,
50
+ )
51
+ from .deployment_config_already_exists_exception import (
52
+ DeploymentConfigAlreadyExistsException as DeploymentConfigAlreadyExistsException,
53
+ )
54
+ from .deployment_config_does_not_exist_exception import (
55
+ DeploymentConfigDoesNotExistException as DeploymentConfigDoesNotExistException,
56
+ )
57
+ from .deployment_config_in_use_exception import (
58
+ DeploymentConfigInUseException as DeploymentConfigInUseException,
59
+ )
60
+ from .deployment_config_limit_exceeded_exception import (
61
+ DeploymentConfigLimitExceededException as DeploymentConfigLimitExceededException,
62
+ )
63
+ from .deployment_config_name_required_exception import (
64
+ DeploymentConfigNameRequiredException as DeploymentConfigNameRequiredException,
65
+ )
66
+ from .deployment_does_not_exist_exception import (
67
+ DeploymentDoesNotExistException as DeploymentDoesNotExistException,
68
+ )
69
+ from .deployment_group_already_exists_exception import (
70
+ DeploymentGroupAlreadyExistsException as DeploymentGroupAlreadyExistsException,
71
+ )
72
+ from .deployment_group_does_not_exist_exception import (
73
+ DeploymentGroupDoesNotExistException as DeploymentGroupDoesNotExistException,
74
+ )
75
+ from .deployment_group_limit_exceeded_exception import (
76
+ DeploymentGroupLimitExceededException as DeploymentGroupLimitExceededException,
77
+ )
78
+ from .deployment_group_name_required_exception import (
79
+ DeploymentGroupNameRequiredException as DeploymentGroupNameRequiredException,
80
+ )
81
+ from .deployment_id_required_exception import (
82
+ DeploymentIdRequiredException as DeploymentIdRequiredException,
83
+ )
84
+ from .deployment_is_not_in_ready_state_exception import (
85
+ DeploymentIsNotInReadyStateException as DeploymentIsNotInReadyStateException,
86
+ )
87
+ from .deployment_limit_exceeded_exception import (
88
+ DeploymentLimitExceededException as DeploymentLimitExceededException,
89
+ )
90
+ from .deployment_not_started_exception import (
91
+ DeploymentNotStartedException as DeploymentNotStartedException,
92
+ )
93
+ from .deployment_target_does_not_exist_exception import (
94
+ DeploymentTargetDoesNotExistException as DeploymentTargetDoesNotExistException,
95
+ )
96
+ from .deployment_target_id_required_exception import (
97
+ DeploymentTargetIdRequiredException as DeploymentTargetIdRequiredException,
98
+ )
99
+ from .deployment_target_list_size_exceeded_exception import (
100
+ DeploymentTargetListSizeExceededException as DeploymentTargetListSizeExceededException,
101
+ )
102
+ from .description_too_long_exception import (
103
+ DescriptionTooLongException as DescriptionTooLongException,
104
+ )
105
+ from .ecs_service_mapping_limit_exceeded_exception import (
106
+ ECSServiceMappingLimitExceededException as ECSServiceMappingLimitExceededException,
107
+ )
108
+ from .git_hub_account_token_does_not_exist_exception import (
109
+ GitHubAccountTokenDoesNotExistException as GitHubAccountTokenDoesNotExistException,
110
+ )
111
+ from .git_hub_account_token_name_required_exception import (
112
+ GitHubAccountTokenNameRequiredException as GitHubAccountTokenNameRequiredException,
113
+ )
114
+ from .iam_arn_required_exception import (
115
+ IamArnRequiredException as IamArnRequiredException,
116
+ )
117
+ from .iam_session_arn_already_registered_exception import (
118
+ IamSessionArnAlreadyRegisteredException as IamSessionArnAlreadyRegisteredException,
119
+ )
120
+ from .iam_user_arn_already_registered_exception import (
121
+ IamUserArnAlreadyRegisteredException as IamUserArnAlreadyRegisteredException,
122
+ )
123
+ from .iam_user_arn_required_exception import (
124
+ IamUserArnRequiredException as IamUserArnRequiredException,
125
+ )
126
+ from .instance_does_not_exist_exception import (
127
+ InstanceDoesNotExistException as InstanceDoesNotExistException,
128
+ )
129
+ from .instance_id_required_exception import (
130
+ InstanceIdRequiredException as InstanceIdRequiredException,
131
+ )
132
+ from .instance_limit_exceeded_exception import (
133
+ InstanceLimitExceededException as InstanceLimitExceededException,
134
+ )
135
+ from .instance_name_already_registered_exception import (
136
+ InstanceNameAlreadyRegisteredException as InstanceNameAlreadyRegisteredException,
137
+ )
138
+ from .instance_name_required_exception import (
139
+ InstanceNameRequiredException as InstanceNameRequiredException,
140
+ )
141
+ from .instance_not_registered_exception import (
142
+ InstanceNotRegisteredException as InstanceNotRegisteredException,
143
+ )
144
+ from .invalid_alarm_config_exception import (
145
+ InvalidAlarmConfigException as InvalidAlarmConfigException,
146
+ )
147
+ from .invalid_application_name_exception import (
148
+ InvalidApplicationNameException as InvalidApplicationNameException,
149
+ )
150
+ from .invalid_arn_exception import InvalidArnException as InvalidArnException
151
+ from .invalid_auto_rollback_config_exception import (
152
+ InvalidAutoRollbackConfigException as InvalidAutoRollbackConfigException,
153
+ )
154
+ from .invalid_auto_scaling_group_exception import (
155
+ InvalidAutoScalingGroupException as InvalidAutoScalingGroupException,
156
+ )
157
+ from .invalid_blue_green_deployment_configuration_exception import (
158
+ InvalidBlueGreenDeploymentConfigurationException as InvalidBlueGreenDeploymentConfigurationException,
159
+ )
160
+ from .invalid_bucket_name_filter_exception import (
161
+ InvalidBucketNameFilterException as InvalidBucketNameFilterException,
162
+ )
163
+ from .invalid_compute_platform_exception import (
164
+ InvalidComputePlatformException as InvalidComputePlatformException,
165
+ )
166
+ from .invalid_deployed_state_filter_exception import (
167
+ InvalidDeployedStateFilterException as InvalidDeployedStateFilterException,
168
+ )
169
+ from .invalid_deployment_config_name_exception import (
170
+ InvalidDeploymentConfigNameException as InvalidDeploymentConfigNameException,
171
+ )
172
+ from .invalid_deployment_group_name_exception import (
173
+ InvalidDeploymentGroupNameException as InvalidDeploymentGroupNameException,
174
+ )
175
+ from .invalid_deployment_id_exception import (
176
+ InvalidDeploymentIdException as InvalidDeploymentIdException,
177
+ )
178
+ from .invalid_deployment_instance_type_exception import (
179
+ InvalidDeploymentInstanceTypeException as InvalidDeploymentInstanceTypeException,
180
+ )
181
+ from .invalid_deployment_status_exception import (
182
+ InvalidDeploymentStatusException as InvalidDeploymentStatusException,
183
+ )
184
+ from .invalid_deployment_style_exception import (
185
+ InvalidDeploymentStyleException as InvalidDeploymentStyleException,
186
+ )
187
+ from .invalid_deployment_target_id_exception import (
188
+ InvalidDeploymentTargetIdException as InvalidDeploymentTargetIdException,
189
+ )
190
+ from .invalid_deployment_wait_type_exception import (
191
+ InvalidDeploymentWaitTypeException as InvalidDeploymentWaitTypeException,
192
+ )
193
+ from .invalid_ec2_tag_combination_exception import (
194
+ InvalidEC2TagCombinationException as InvalidEC2TagCombinationException,
195
+ )
196
+ from .invalid_ec2_tag_exception import InvalidEC2TagException as InvalidEC2TagException
197
+ from .invalid_ecs_service_exception import (
198
+ InvalidECSServiceException as InvalidECSServiceException,
199
+ )
200
+ from .invalid_external_id_exception import (
201
+ InvalidExternalIdException as InvalidExternalIdException,
202
+ )
203
+ from .invalid_file_exists_behavior_exception import (
204
+ InvalidFileExistsBehaviorException as InvalidFileExistsBehaviorException,
205
+ )
206
+ from .invalid_git_hub_account_token_exception import (
207
+ InvalidGitHubAccountTokenException as InvalidGitHubAccountTokenException,
208
+ )
209
+ from .invalid_git_hub_account_token_name_exception import (
210
+ InvalidGitHubAccountTokenNameException as InvalidGitHubAccountTokenNameException,
211
+ )
212
+ from .invalid_iam_session_arn_exception import (
213
+ InvalidIamSessionArnException as InvalidIamSessionArnException,
214
+ )
215
+ from .invalid_iam_user_arn_exception import (
216
+ InvalidIamUserArnException as InvalidIamUserArnException,
217
+ )
218
+ from .invalid_ignore_application_stop_failures_value_exception import (
219
+ InvalidIgnoreApplicationStopFailuresValueException as InvalidIgnoreApplicationStopFailuresValueException,
220
+ )
221
+ from .invalid_input_exception import InvalidInputException as InvalidInputException
222
+ from .invalid_instance_name_exception import (
223
+ InvalidInstanceNameException as InvalidInstanceNameException,
224
+ )
225
+ from .invalid_instance_status_exception import (
226
+ InvalidInstanceStatusException as InvalidInstanceStatusException,
227
+ )
228
+ from .invalid_instance_type_exception import (
229
+ InvalidInstanceTypeException as InvalidInstanceTypeException,
230
+ )
231
+ from .invalid_key_prefix_filter_exception import (
232
+ InvalidKeyPrefixFilterException as InvalidKeyPrefixFilterException,
233
+ )
234
+ from .invalid_lifecycle_event_hook_execution_id_exception import (
235
+ InvalidLifecycleEventHookExecutionIdException as InvalidLifecycleEventHookExecutionIdException,
236
+ )
237
+ from .invalid_lifecycle_event_hook_execution_status_exception import (
238
+ InvalidLifecycleEventHookExecutionStatusException as InvalidLifecycleEventHookExecutionStatusException,
239
+ )
240
+ from .invalid_load_balancer_info_exception import (
241
+ InvalidLoadBalancerInfoException as InvalidLoadBalancerInfoException,
242
+ )
243
+ from .invalid_minimum_healthy_host_value_exception import (
244
+ InvalidMinimumHealthyHostValueException as InvalidMinimumHealthyHostValueException,
245
+ )
246
+ from .invalid_next_token_exception import (
247
+ InvalidNextTokenException as InvalidNextTokenException,
248
+ )
249
+ from .invalid_on_premises_tag_combination_exception import (
250
+ InvalidOnPremisesTagCombinationException as InvalidOnPremisesTagCombinationException,
251
+ )
252
+ from .invalid_operation_exception import (
253
+ InvalidOperationException as InvalidOperationException,
254
+ )
255
+ from .invalid_registration_status_exception import (
256
+ InvalidRegistrationStatusException as InvalidRegistrationStatusException,
257
+ )
258
+ from .invalid_revision_exception import (
259
+ InvalidRevisionException as InvalidRevisionException,
260
+ )
261
+ from .invalid_role_exception import InvalidRoleException as InvalidRoleException
262
+ from .invalid_sort_by_exception import InvalidSortByException as InvalidSortByException
263
+ from .invalid_sort_order_exception import (
264
+ InvalidSortOrderException as InvalidSortOrderException,
265
+ )
266
+ from .invalid_tag_exception import InvalidTagException as InvalidTagException
267
+ from .invalid_tag_filter_exception import (
268
+ InvalidTagFilterException as InvalidTagFilterException,
269
+ )
270
+ from .invalid_tags_to_add_exception import (
271
+ InvalidTagsToAddException as InvalidTagsToAddException,
272
+ )
273
+ from .invalid_target_filter_name_exception import (
274
+ InvalidTargetFilterNameException as InvalidTargetFilterNameException,
275
+ )
276
+ from .invalid_target_group_pair_exception import (
277
+ InvalidTargetGroupPairException as InvalidTargetGroupPairException,
278
+ )
279
+ from .invalid_target_instances_exception import (
280
+ InvalidTargetInstancesException as InvalidTargetInstancesException,
281
+ )
282
+ from .invalid_time_range_exception import (
283
+ InvalidTimeRangeException as InvalidTimeRangeException,
284
+ )
285
+ from .invalid_traffic_routing_configuration_exception import (
286
+ InvalidTrafficRoutingConfigurationException as InvalidTrafficRoutingConfigurationException,
287
+ )
288
+ from .invalid_trigger_config_exception import (
289
+ InvalidTriggerConfigException as InvalidTriggerConfigException,
290
+ )
291
+ from .invalid_update_outdated_instances_only_value_exception import (
292
+ InvalidUpdateOutdatedInstancesOnlyValueException as InvalidUpdateOutdatedInstancesOnlyValueException,
293
+ )
294
+ from .invalid_zonal_deployment_configuration_exception import (
295
+ InvalidZonalDeploymentConfigurationException as InvalidZonalDeploymentConfigurationException,
296
+ )
297
+ from .lifecycle_event_already_completed_exception import (
298
+ LifecycleEventAlreadyCompletedException as LifecycleEventAlreadyCompletedException,
299
+ )
300
+ from .lifecycle_hook_limit_exceeded_exception import (
301
+ LifecycleHookLimitExceededException as LifecycleHookLimitExceededException,
302
+ )
303
+ from .multiple_iam_arns_provided_exception import (
304
+ MultipleIamArnsProvidedException as MultipleIamArnsProvidedException,
305
+ )
306
+ from .operation_not_supported_exception import (
307
+ OperationNotSupportedException as OperationNotSupportedException,
308
+ )
309
+ from .resource_arn_required_exception import (
310
+ ResourceArnRequiredException as ResourceArnRequiredException,
311
+ )
312
+ from .resource_validation_exception import (
313
+ ResourceValidationException as ResourceValidationException,
314
+ )
315
+ from .revision_does_not_exist_exception import (
316
+ RevisionDoesNotExistException as RevisionDoesNotExistException,
317
+ )
318
+ from .revision_required_exception import (
319
+ RevisionRequiredException as RevisionRequiredException,
320
+ )
321
+ from .role_required_exception import RoleRequiredException as RoleRequiredException
322
+ from .tag_limit_exceeded_exception import (
323
+ TagLimitExceededException as TagLimitExceededException,
324
+ )
325
+ from .tag_required_exception import TagRequiredException as TagRequiredException
326
+ from .tag_set_list_limit_exceeded_exception import (
327
+ TagSetListLimitExceededException as TagSetListLimitExceededException,
328
+ )
329
+ from .throttling_exception import ThrottlingException as ThrottlingException
330
+ from .trigger_targets_limit_exceeded_exception import (
331
+ TriggerTargetsLimitExceededException as TriggerTargetsLimitExceededException,
332
+ )
333
+ from .unsupported_action_for_deployment_type_exception import (
334
+ UnsupportedActionForDeploymentTypeException as UnsupportedActionForDeploymentTypeException,
335
+ )
@@ -0,0 +1,94 @@
1
+ from typing import Literal
2
+
3
+
4
+ class CodeDeployError(Exception):
5
+ """Base class for all CodeDeploy service errors."""
6
+
7
+
8
+ class ServiceError(CodeDeployError):
9
+ """Base class for all modeled service errors.
10
+
11
+ Args:
12
+ fault: ``"client"`` or ``"server"``.
13
+ is_throttling_error: Whether this error is a throttling error.
14
+ is_retryable: Whether this error is retryable.
15
+ code: The wire error code, or ``None``.
16
+ message: The error message, or ``None``.
17
+ """
18
+
19
+ code: str | None = None
20
+
21
+ def __init__(
22
+ self,
23
+ fault: Literal["client", "server"],
24
+ *,
25
+ is_throttling_error: bool,
26
+ is_retryable: bool,
27
+ code: str | None = None,
28
+ message: str | None = None,
29
+ ) -> None:
30
+ super().__init__(f"{code or '<no code>'}: {message or '<no message>'}")
31
+ self.fault = fault
32
+ self.is_throttling_error = is_throttling_error
33
+ self.is_retryable = is_retryable
34
+ self.code = code
35
+ self.message = message
36
+
37
+
38
+ class SerializationError(CodeDeployError):
39
+ """Raised when a value cannot be serialized."""
40
+
41
+
42
+ class DeserializationError(CodeDeployError):
43
+ """Raised when a value cannot be deserialized or a required member is missing."""
44
+
45
+
46
+ class UnknownServiceError(ServiceError):
47
+ """Raised when the server returns an error code the client does not model.
48
+
49
+ Args:
50
+ code: ``<Code>`` text from the response body, or ``None`` if absent.
51
+ message: ``<Message>`` text from the response body, or ``None``.
52
+ response: The original HTTP response object, for arbitrary inspection.
53
+ """
54
+
55
+ def __init__(
56
+ self, *, code: str | None, message: str | None, response: object
57
+ ) -> None:
58
+ _status = getattr(response, "status", 500)
59
+ _fault: Literal["client", "server"] = "client" if _status < 500 else "server"
60
+ _throttling = _status == 429
61
+ _retryable = _throttling or _status >= 500
62
+ super().__init__(
63
+ _fault,
64
+ is_throttling_error=_throttling,
65
+ is_retryable=_retryable,
66
+ code=code,
67
+ message=message,
68
+ )
69
+ self.response = response
70
+
71
+
72
+ class WaiterFailedError(CodeDeployError):
73
+ """Raised when a waiter hits an acceptor with ``state="failure"``.
74
+
75
+ Args:
76
+ waiter_name: snake_case waiter name (e.g. ``bucket_exists``).
77
+ reason: Short description of which acceptor fired.
78
+ """
79
+
80
+ def __init__(self, waiter_name: str, reason: str) -> None:
81
+ super().__init__(f"waiter {waiter_name} failed: {reason}")
82
+ self.waiter_name = waiter_name
83
+ self.reason = reason
84
+
85
+
86
+ class WaiterTimeoutError(CodeDeployError):
87
+ """Raised when a waiter exhausts ``max_wait_time`` without a terminal acceptor."""
88
+
89
+ def __init__(self, waiter_name: str, max_wait_time: float) -> None:
90
+ super().__init__(
91
+ f"waiter {waiter_name} timed out after {max_wait_time} seconds"
92
+ )
93
+ self.waiter_name = waiter_name
94
+ self.max_wait_time = max_wait_time
@@ -0,0 +1,52 @@
1
+ """Generated from Smithy shape ``com.amazonaws.codedeploy#AlarmsLimitExceededException``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_codedeploy.errors import ServiceError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_codedeploy.types.message
11
+
12
+
13
+ class AlarmsLimitExceededException_(TypedDict, closed=True):
14
+ message: NotRequired["capo_codedeploy.types.message.Message"]
15
+ """<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"""
16
+
17
+
18
+ # --- awsJson1_1 ser/de ---
19
+ def serialize_aws_json_1_1(value: AlarmsLimitExceededException_) -> dict:
20
+ out: dict = {}
21
+ if "message" in value:
22
+ out["message"] = value["message"]
23
+ return out
24
+
25
+
26
+ def deserialize_aws_json_1_1(data: dict) -> AlarmsLimitExceededException_:
27
+ out: AlarmsLimitExceededException_ = {} # type: ignore[typeddict-item]
28
+ if data.get("message") is not None:
29
+ out["message"] = data["message"]
30
+ return out
31
+
32
+
33
+ class AlarmsLimitExceededException(ServiceError):
34
+ """Modeled error for Smithy shape ``com.amazonaws.codedeploy#AlarmsLimitExceededException``."""
35
+
36
+ code: str | None = "AlarmsLimitExceededException"
37
+
38
+ def __init__(self, data: AlarmsLimitExceededException_, message: str | None = None):
39
+ super().__init__(
40
+ "client",
41
+ is_throttling_error=False,
42
+ is_retryable=False,
43
+ code="AlarmsLimitExceededException",
44
+ message=message,
45
+ )
46
+ self.data = data
47
+
48
+ @classmethod
49
+ def from_aws_json_1_1(
50
+ cls, data: dict, message: str | None = None
51
+ ) -> "AlarmsLimitExceededException":
52
+ return cls(deserialize_aws_json_1_1(data), message)
@@ -0,0 +1,54 @@
1
+ """Generated from Smithy shape ``com.amazonaws.codedeploy#ApplicationAlreadyExistsException``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_codedeploy.errors import ServiceError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_codedeploy.types.message
11
+
12
+
13
+ class ApplicationAlreadyExistsException_(TypedDict, closed=True):
14
+ message: NotRequired["capo_codedeploy.types.message.Message"]
15
+ """<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"""
16
+
17
+
18
+ # --- awsJson1_1 ser/de ---
19
+ def serialize_aws_json_1_1(value: ApplicationAlreadyExistsException_) -> dict:
20
+ out: dict = {}
21
+ if "message" in value:
22
+ out["message"] = value["message"]
23
+ return out
24
+
25
+
26
+ def deserialize_aws_json_1_1(data: dict) -> ApplicationAlreadyExistsException_:
27
+ out: ApplicationAlreadyExistsException_ = {} # type: ignore[typeddict-item]
28
+ if data.get("message") is not None:
29
+ out["message"] = data["message"]
30
+ return out
31
+
32
+
33
+ class ApplicationAlreadyExistsException(ServiceError):
34
+ """Modeled error for Smithy shape ``com.amazonaws.codedeploy#ApplicationAlreadyExistsException``."""
35
+
36
+ code: str | None = "ApplicationAlreadyExistsException"
37
+
38
+ def __init__(
39
+ self, data: ApplicationAlreadyExistsException_, message: str | None = None
40
+ ):
41
+ super().__init__(
42
+ "client",
43
+ is_throttling_error=False,
44
+ is_retryable=False,
45
+ code="ApplicationAlreadyExistsException",
46
+ message=message,
47
+ )
48
+ self.data = data
49
+
50
+ @classmethod
51
+ def from_aws_json_1_1(
52
+ cls, data: dict, message: str | None = None
53
+ ) -> "ApplicationAlreadyExistsException":
54
+ return cls(deserialize_aws_json_1_1(data), message)
@@ -0,0 +1,54 @@
1
+ """Generated from Smithy shape ``com.amazonaws.codedeploy#ApplicationDoesNotExistException``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_codedeploy.errors import ServiceError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_codedeploy.types.message
11
+
12
+
13
+ class ApplicationDoesNotExistException_(TypedDict, closed=True):
14
+ message: NotRequired["capo_codedeploy.types.message.Message"]
15
+ """<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"""
16
+
17
+
18
+ # --- awsJson1_1 ser/de ---
19
+ def serialize_aws_json_1_1(value: ApplicationDoesNotExistException_) -> dict:
20
+ out: dict = {}
21
+ if "message" in value:
22
+ out["message"] = value["message"]
23
+ return out
24
+
25
+
26
+ def deserialize_aws_json_1_1(data: dict) -> ApplicationDoesNotExistException_:
27
+ out: ApplicationDoesNotExistException_ = {} # type: ignore[typeddict-item]
28
+ if data.get("message") is not None:
29
+ out["message"] = data["message"]
30
+ return out
31
+
32
+
33
+ class ApplicationDoesNotExistException(ServiceError):
34
+ """Modeled error for Smithy shape ``com.amazonaws.codedeploy#ApplicationDoesNotExistException``."""
35
+
36
+ code: str | None = "ApplicationDoesNotExistException"
37
+
38
+ def __init__(
39
+ self, data: ApplicationDoesNotExistException_, message: str | None = None
40
+ ):
41
+ super().__init__(
42
+ "client",
43
+ is_throttling_error=False,
44
+ is_retryable=False,
45
+ code="ApplicationDoesNotExistException",
46
+ message=message,
47
+ )
48
+ self.data = data
49
+
50
+ @classmethod
51
+ def from_aws_json_1_1(
52
+ cls, data: dict, message: str | None = None
53
+ ) -> "ApplicationDoesNotExistException":
54
+ return cls(deserialize_aws_json_1_1(data), message)
@@ -0,0 +1,54 @@
1
+ """Generated from Smithy shape ``com.amazonaws.codedeploy#ApplicationLimitExceededException``."""
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from typing_extensions import NotRequired, TypedDict
6
+
7
+ from capo_codedeploy.errors import ServiceError
8
+
9
+ if TYPE_CHECKING:
10
+ import capo_codedeploy.types.message
11
+
12
+
13
+ class ApplicationLimitExceededException_(TypedDict, closed=True):
14
+ message: NotRequired["capo_codedeploy.types.message.Message"]
15
+ """<p>The message that corresponds to the exception thrown by CodeDeploy.</p>"""
16
+
17
+
18
+ # --- awsJson1_1 ser/de ---
19
+ def serialize_aws_json_1_1(value: ApplicationLimitExceededException_) -> dict:
20
+ out: dict = {}
21
+ if "message" in value:
22
+ out["message"] = value["message"]
23
+ return out
24
+
25
+
26
+ def deserialize_aws_json_1_1(data: dict) -> ApplicationLimitExceededException_:
27
+ out: ApplicationLimitExceededException_ = {} # type: ignore[typeddict-item]
28
+ if data.get("message") is not None:
29
+ out["message"] = data["message"]
30
+ return out
31
+
32
+
33
+ class ApplicationLimitExceededException(ServiceError):
34
+ """Modeled error for Smithy shape ``com.amazonaws.codedeploy#ApplicationLimitExceededException``."""
35
+
36
+ code: str | None = "ApplicationLimitExceededException"
37
+
38
+ def __init__(
39
+ self, data: ApplicationLimitExceededException_, message: str | None = None
40
+ ):
41
+ super().__init__(
42
+ "client",
43
+ is_throttling_error=False,
44
+ is_retryable=False,
45
+ code="ApplicationLimitExceededException",
46
+ message=message,
47
+ )
48
+ self.data = data
49
+
50
+ @classmethod
51
+ def from_aws_json_1_1(
52
+ cls, data: dict, message: str | None = None
53
+ ) -> "ApplicationLimitExceededException":
54
+ return cls(deserialize_aws_json_1_1(data), message)