capo-codeguruprofiler 0.4.0__tar.gz → 0.5.0__tar.gz

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 (188) hide show
  1. {capo_codeguruprofiler-0.4.0/src/capo_codeguruprofiler.egg-info → capo_codeguruprofiler-0.5.0}/PKG-INFO +2 -2
  2. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/pyproject.toml +2 -2
  3. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/add_notification_channels.py +3 -2
  4. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/batch_get_frame_metric_data.py +3 -2
  5. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/configure_agent.py +3 -2
  6. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/create_profiling_group.py +3 -2
  7. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/delete_profiling_group.py +3 -2
  8. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/describe_profiling_group.py +3 -2
  9. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_findings_report_account_summary.py +3 -2
  10. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_notification_configuration.py +3 -2
  11. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_policy.py +3 -2
  12. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_profile.py +3 -2
  13. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_recommendations.py +3 -2
  14. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_findings_reports.py +3 -2
  15. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_profile_times.py +3 -2
  16. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_profiling_groups.py +3 -2
  17. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_tags_for_resource.py +3 -2
  18. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/post_agent_profile.py +3 -2
  19. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/put_permission.py +3 -2
  20. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/remove_notification_channel.py +3 -2
  21. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/remove_permission.py +3 -2
  22. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/submit_feedback.py +3 -2
  23. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/tag_resource.py +3 -2
  24. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/untag_resource.py +3 -2
  25. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/update_profiling_group.py +3 -2
  26. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/_pipeline.py +17 -0
  27. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0/src/capo_codeguruprofiler.egg-info}/PKG-INFO +2 -2
  28. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/LICENSE +0 -0
  29. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/README.md +0 -0
  30. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/setup.cfg +0 -0
  31. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/__init__.py +0 -0
  32. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_async.py +0 -0
  33. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_identity.py +0 -0
  34. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_providers.py +0 -0
  35. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_signers.py +0 -0
  36. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_sigv4.py +0 -0
  37. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_zapros_handler.py +0 -0
  38. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_body.py +0 -0
  39. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_iter.py +0 -0
  40. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_pagination.py +0 -0
  41. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/__init__.py +0 -0
  42. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/errors.py +0 -0
  43. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/eventstream.py +0 -0
  44. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/serialize.py +0 -0
  45. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/xml.py +0 -0
  46. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_resources/code_guru_profiler/profiling_group.py +0 -0
  47. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/__init__.py +0 -0
  48. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/_aws_partition.py +0 -0
  49. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/_endpoint_rule_set.py +0 -0
  50. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/_endpoint_runtime.py +0 -0
  51. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/_aws_config.py +0 -0
  52. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/async_code_guru_profiler.py +0 -0
  53. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/code_guru_profiler.py +0 -0
  54. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/__init__.py +0 -0
  55. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/_base.py +0 -0
  56. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/conflict_exception.py +0 -0
  57. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/internal_server_exception.py +0 -0
  58. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/resource_not_found_exception.py +0 -0
  59. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/service_quota_exceeded_exception.py +0 -0
  60. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/throttling_exception.py +0 -0
  61. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/validation_exception.py +0 -0
  62. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/py.typed +0 -0
  63. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/_prelude/blob.py +0 -0
  64. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/_prelude/timestamp.py +0 -0
  65. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/action_group.py +0 -0
  66. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/add_notification_channels_request.py +0 -0
  67. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/add_notification_channels_response.py +0 -0
  68. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_configuration.py +0 -0
  69. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_orchestration_config.py +0 -0
  70. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_parameter_field.py +0 -0
  71. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_parameters.py +0 -0
  72. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_profile.py +0 -0
  73. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/aggregated_profile.py +0 -0
  74. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/aggregated_profile_time.py +0 -0
  75. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/aggregation_period.py +0 -0
  76. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomalies.py +0 -0
  77. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly.py +0 -0
  78. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly_instance.py +0 -0
  79. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly_instance_id.py +0 -0
  80. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly_instances.py +0 -0
  81. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/batch_get_frame_metric_data_request.py +0 -0
  82. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/batch_get_frame_metric_data_response.py +0 -0
  83. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channel.py +0 -0
  84. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channel_id.py +0 -0
  85. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channel_uri.py +0 -0
  86. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channels.py +0 -0
  87. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/client_token.py +0 -0
  88. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/compute_platform.py +0 -0
  89. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/configure_agent_request.py +0 -0
  90. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/configure_agent_response.py +0 -0
  91. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/create_profiling_group_request.py +0 -0
  92. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/create_profiling_group_response.py +0 -0
  93. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/delete_profiling_group_request.py +0 -0
  94. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/delete_profiling_group_response.py +0 -0
  95. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/describe_profiling_group_request.py +0 -0
  96. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/describe_profiling_group_response.py +0 -0
  97. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/event_publisher.py +0 -0
  98. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/event_publishers.py +0 -0
  99. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/feedback_type.py +0 -0
  100. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/findings_report_id.py +0 -0
  101. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/findings_report_summaries.py +0 -0
  102. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/findings_report_summary.py +0 -0
  103. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/fleet_instance_id.py +0 -0
  104. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric.py +0 -0
  105. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_data.py +0 -0
  106. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_datum.py +0 -0
  107. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_value.py +0 -0
  108. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_values.py +0 -0
  109. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metrics.py +0 -0
  110. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_findings_report_account_summary_request.py +0 -0
  111. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_findings_report_account_summary_response.py +0 -0
  112. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_notification_configuration_request.py +0 -0
  113. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_notification_configuration_response.py +0 -0
  114. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_policy_request.py +0 -0
  115. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_policy_response.py +0 -0
  116. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_profile_request.py +0 -0
  117. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_profile_response.py +0 -0
  118. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_recommendations_request.py +0 -0
  119. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_recommendations_response.py +0 -0
  120. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_findings_reports_request.py +0 -0
  121. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_findings_reports_response.py +0 -0
  122. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_of_timestamps.py +0 -0
  123. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profile_times_request.py +0 -0
  124. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profile_times_response.py +0 -0
  125. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profiling_groups_request.py +0 -0
  126. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profiling_groups_response.py +0 -0
  127. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_tags_for_resource_request.py +0 -0
  128. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_tags_for_resource_response.py +0 -0
  129. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/locale.py +0 -0
  130. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/match.py +0 -0
  131. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/matches.py +0 -0
  132. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/max_depth.py +0 -0
  133. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/max_results.py +0 -0
  134. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metadata.py +0 -0
  135. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metadata_field.py +0 -0
  136. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metric.py +0 -0
  137. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metric_type.py +0 -0
  138. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/notification_configuration.py +0 -0
  139. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/order_by.py +0 -0
  140. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/pagination_token.py +0 -0
  141. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/pattern.py +0 -0
  142. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/percentage.py +0 -0
  143. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/period.py +0 -0
  144. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/post_agent_profile_request.py +0 -0
  145. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/post_agent_profile_response.py +0 -0
  146. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/principal.py +0 -0
  147. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/principals.py +0 -0
  148. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profile_time.py +0 -0
  149. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profile_times.py +0 -0
  150. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_arn.py +0 -0
  151. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_description.py +0 -0
  152. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_descriptions.py +0 -0
  153. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_name.py +0 -0
  154. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_names.py +0 -0
  155. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_status.py +0 -0
  156. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/put_permission_request.py +0 -0
  157. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/put_permission_response.py +0 -0
  158. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/recommendation.py +0 -0
  159. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/recommendations.py +0 -0
  160. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_notification_channel_request.py +0 -0
  161. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_notification_channel_response.py +0 -0
  162. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_permission_request.py +0 -0
  163. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_permission_response.py +0 -0
  164. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/revision_id.py +0 -0
  165. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/strings.py +0 -0
  166. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/submit_feedback_request.py +0 -0
  167. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/submit_feedback_response.py +0 -0
  168. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tag_keys.py +0 -0
  169. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tag_resource_request.py +0 -0
  170. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tag_resource_response.py +0 -0
  171. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tags_map.py +0 -0
  172. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/target_frame.py +0 -0
  173. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/target_frames.py +0 -0
  174. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/thread_states.py +0 -0
  175. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/timestamp.py +0 -0
  176. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/timestamp_structure.py +0 -0
  177. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/unprocessed_end_time_map.py +0 -0
  178. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/untag_resource_request.py +0 -0
  179. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/untag_resource_response.py +0 -0
  180. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/update_profiling_group_request.py +0 -0
  181. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/update_profiling_group_response.py +0 -0
  182. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/user_feedback.py +0 -0
  183. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/SOURCES.txt +0 -0
  184. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/dependency_links.txt +0 -0
  185. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/requires.txt +0 -0
  186. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/top_level.txt +0 -0
  187. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/tests/test_body.py +0 -0
  188. {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/tests/test_sigv4.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capo-codeguruprofiler
3
- Version: 0.4.0
4
- Summary: Python SDK for Codeguruprofiler.
3
+ Version: 0.5.0
4
+ Summary: Python SDK for AWS Codeguruprofiler.
5
5
  Classifier: Development Status :: 4 - Beta
6
6
  Classifier: Intended Audience :: Developers
7
7
  Classifier: License :: OSI Approved :: MIT License
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "capo-codeguruprofiler"
3
- version = "0.4.0"
4
- description = "Python SDK for Codeguruprofiler."
3
+ version = "0.5.0"
4
+ description = "Python SDK for AWS Codeguruprofiler."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
7
7
  classifiers = [
@@ -30,6 +30,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
30
30
  from capo_codeguruprofiler._services._pipeline import (
31
31
  AsyncOperationOptions,
32
32
  OperationOptions,
33
+ raise_error,
33
34
  )
34
35
  from capo_codeguruprofiler.errors import UnknownServiceError
35
36
 
@@ -160,7 +161,7 @@ def add_notification_channels(
160
161
  try:
161
162
  if response.status >= 300:
162
163
  response.read()
163
- handle_error(response)
164
+ raise_error(response, handle_error)
164
165
  return handle_response(response), response
165
166
  except BaseException:
166
167
  response.close()
@@ -178,7 +179,7 @@ async def async_add_notification_channels(
178
179
  try:
179
180
  if response.status >= 300:
180
181
  await response.aread()
181
- handle_error(response)
182
+ raise_error(response, handle_error)
182
183
  return await async_handle_response(response), response
183
184
  except BaseException:
184
185
  await response.aclose()
@@ -31,6 +31,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
31
31
  from capo_codeguruprofiler._services._pipeline import (
32
32
  AsyncOperationOptions,
33
33
  OperationOptions,
34
+ raise_error,
34
35
  )
35
36
  from capo_codeguruprofiler.errors import UnknownServiceError
36
37
 
@@ -177,7 +178,7 @@ def batch_get_frame_metric_data(
177
178
  try:
178
179
  if response.status >= 300:
179
180
  response.read()
180
- handle_error(response)
181
+ raise_error(response, handle_error)
181
182
  return handle_response(response), response
182
183
  except BaseException:
183
184
  response.close()
@@ -195,7 +196,7 @@ async def async_batch_get_frame_metric_data(
195
196
  try:
196
197
  if response.status >= 300:
197
198
  await response.aread()
198
- handle_error(response)
199
+ raise_error(response, handle_error)
199
200
  return await async_handle_response(response), response
200
201
  except BaseException:
201
202
  await response.aclose()
@@ -28,6 +28,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
28
28
  from capo_codeguruprofiler._services._pipeline import (
29
29
  AsyncOperationOptions,
30
30
  OperationOptions,
31
+ raise_error,
31
32
  )
32
33
  from capo_codeguruprofiler.errors import UnknownServiceError
33
34
 
@@ -152,7 +153,7 @@ def configure_agent(
152
153
  try:
153
154
  if response.status >= 300:
154
155
  response.read()
155
- handle_error(response)
156
+ raise_error(response, handle_error)
156
157
  return handle_response(response), response
157
158
  except BaseException:
158
159
  response.close()
@@ -170,7 +171,7 @@ async def async_configure_agent(
170
171
  try:
171
172
  if response.status >= 300:
172
173
  await response.aread()
173
- handle_error(response)
174
+ raise_error(response, handle_error)
174
175
  return await async_handle_response(response), response
175
176
  except BaseException:
176
177
  await response.aclose()
@@ -29,6 +29,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
29
29
  from capo_codeguruprofiler._services._pipeline import (
30
30
  AsyncOperationOptions,
31
31
  OperationOptions,
32
+ raise_error,
32
33
  )
33
34
  from capo_codeguruprofiler.errors import UnknownServiceError
34
35
 
@@ -155,7 +156,7 @@ def create_profiling_group(
155
156
  try:
156
157
  if response.status >= 300:
157
158
  response.read()
158
- handle_error(response)
159
+ raise_error(response, handle_error)
159
160
  return handle_response(response), response
160
161
  except BaseException:
161
162
  response.close()
@@ -173,7 +174,7 @@ async def async_create_profiling_group(
173
174
  try:
174
175
  if response.status >= 300:
175
176
  await response.aread()
176
- handle_error(response)
177
+ raise_error(response, handle_error)
177
178
  return await async_handle_response(response), response
178
179
  except BaseException:
179
180
  await response.aclose()
@@ -27,6 +27,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
27
27
  from capo_codeguruprofiler._services._pipeline import (
28
28
  AsyncOperationOptions,
29
29
  OperationOptions,
30
+ raise_error,
30
31
  )
31
32
  from capo_codeguruprofiler.errors import UnknownServiceError
32
33
 
@@ -140,7 +141,7 @@ def delete_profiling_group(
140
141
  try:
141
142
  if response.status >= 300:
142
143
  response.read()
143
- handle_error(response)
144
+ raise_error(response, handle_error)
144
145
  return handle_response(response), response
145
146
  except BaseException:
146
147
  response.close()
@@ -158,7 +159,7 @@ async def async_delete_profiling_group(
158
159
  try:
159
160
  if response.status >= 300:
160
161
  await response.aread()
161
- handle_error(response)
162
+ raise_error(response, handle_error)
162
163
  return await async_handle_response(response), response
163
164
  except BaseException:
164
165
  await response.aclose()
@@ -27,6 +27,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
27
27
  from capo_codeguruprofiler._services._pipeline import (
28
28
  AsyncOperationOptions,
29
29
  OperationOptions,
30
+ raise_error,
30
31
  )
31
32
  from capo_codeguruprofiler.errors import UnknownServiceError
32
33
 
@@ -144,7 +145,7 @@ def describe_profiling_group(
144
145
  try:
145
146
  if response.status >= 300:
146
147
  response.read()
147
- handle_error(response)
148
+ raise_error(response, handle_error)
148
149
  return handle_response(response), response
149
150
  except BaseException:
150
151
  response.close()
@@ -162,7 +163,7 @@ async def async_describe_profiling_group(
162
163
  try:
163
164
  if response.status >= 300:
164
165
  await response.aread()
165
- handle_error(response)
166
+ raise_error(response, handle_error)
166
167
  return await async_handle_response(response), response
167
168
  except BaseException:
168
169
  await response.aclose()
@@ -25,6 +25,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
25
25
  from capo_codeguruprofiler._services._pipeline import (
26
26
  AsyncOperationOptions,
27
27
  OperationOptions,
28
+ raise_error,
28
29
  )
29
30
  from capo_codeguruprofiler.errors import UnknownServiceError
30
31
 
@@ -139,7 +140,7 @@ def get_findings_report_account_summary(
139
140
  try:
140
141
  if response.status >= 300:
141
142
  response.read()
142
- handle_error(response)
143
+ raise_error(response, handle_error)
143
144
  return handle_response(response), response
144
145
  except BaseException:
145
146
  response.close()
@@ -157,7 +158,7 @@ async def async_get_findings_report_account_summary(
157
158
  try:
158
159
  if response.status >= 300:
159
160
  await response.aread()
160
- handle_error(response)
161
+ raise_error(response, handle_error)
161
162
  return await async_handle_response(response), response
162
163
  except BaseException:
163
164
  await response.aclose()
@@ -27,6 +27,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
27
27
  from capo_codeguruprofiler._services._pipeline import (
28
28
  AsyncOperationOptions,
29
29
  OperationOptions,
30
+ raise_error,
30
31
  )
31
32
  from capo_codeguruprofiler.errors import UnknownServiceError
32
33
 
@@ -143,7 +144,7 @@ def get_notification_configuration(
143
144
  try:
144
145
  if response.status >= 300:
145
146
  response.read()
146
- handle_error(response)
147
+ raise_error(response, handle_error)
147
148
  return handle_response(response), response
148
149
  except BaseException:
149
150
  response.close()
@@ -161,7 +162,7 @@ async def async_get_notification_configuration(
161
162
  try:
162
163
  if response.status >= 300:
163
164
  await response.aread()
164
- handle_error(response)
165
+ raise_error(response, handle_error)
165
166
  return await async_handle_response(response), response
166
167
  except BaseException:
167
168
  await response.aclose()
@@ -25,6 +25,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
25
25
  from capo_codeguruprofiler._services._pipeline import (
26
26
  AsyncOperationOptions,
27
27
  OperationOptions,
28
+ raise_error,
28
29
  )
29
30
  from capo_codeguruprofiler.errors import UnknownServiceError
30
31
 
@@ -137,7 +138,7 @@ def get_policy(
137
138
  try:
138
139
  if response.status >= 300:
139
140
  response.read()
140
- handle_error(response)
141
+ raise_error(response, handle_error)
141
142
  return handle_response(response), response
142
143
  except BaseException:
143
144
  response.close()
@@ -154,7 +155,7 @@ async def async_get_policy(
154
155
  try:
155
156
  if response.status >= 300:
156
157
  await response.aread()
157
- handle_error(response)
158
+ raise_error(response, handle_error)
158
159
  return await async_handle_response(response), response
159
160
  except BaseException:
160
161
  await response.aclose()
@@ -28,6 +28,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
28
28
  from capo_codeguruprofiler._services._pipeline import (
29
29
  AsyncOperationOptions,
30
30
  OperationOptions,
31
+ raise_error,
31
32
  )
32
33
  from capo_codeguruprofiler.errors import UnknownServiceError
33
34
 
@@ -172,7 +173,7 @@ def get_profile(
172
173
  try:
173
174
  if response.status >= 300:
174
175
  response.read()
175
- handle_error(response)
176
+ raise_error(response, handle_error)
176
177
  return handle_response(response), response
177
178
  except BaseException:
178
179
  response.close()
@@ -189,7 +190,7 @@ async def async_get_profile(
189
190
  try:
190
191
  if response.status >= 300:
191
192
  await response.aread()
192
- handle_error(response)
193
+ raise_error(response, handle_error)
193
194
  return await async_handle_response(response), response
194
195
  except BaseException:
195
196
  await response.aclose()
@@ -29,6 +29,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
29
29
  from capo_codeguruprofiler._services._pipeline import (
30
30
  AsyncOperationOptions,
31
31
  OperationOptions,
32
+ raise_error,
32
33
  )
33
34
  from capo_codeguruprofiler.errors import UnknownServiceError
34
35
 
@@ -171,7 +172,7 @@ def get_recommendations(
171
172
  try:
172
173
  if response.status >= 300:
173
174
  response.read()
174
- handle_error(response)
175
+ raise_error(response, handle_error)
175
176
  return handle_response(response), response
176
177
  except BaseException:
177
178
  response.close()
@@ -189,7 +190,7 @@ async def async_get_recommendations(
189
190
  try:
190
191
  if response.status >= 300:
191
192
  await response.aread()
192
- handle_error(response)
193
+ raise_error(response, handle_error)
193
194
  return await async_handle_response(response), response
194
195
  except BaseException:
195
196
  await response.aclose()
@@ -28,6 +28,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
28
28
  from capo_codeguruprofiler._services._pipeline import (
29
29
  AsyncOperationOptions,
30
30
  OperationOptions,
31
+ raise_error,
31
32
  )
32
33
  from capo_codeguruprofiler.errors import UnknownServiceError
33
34
 
@@ -172,7 +173,7 @@ def list_findings_reports(
172
173
  try:
173
174
  if response.status >= 300:
174
175
  response.read()
175
- handle_error(response)
176
+ raise_error(response, handle_error)
176
177
  return handle_response(response), response
177
178
  except BaseException:
178
179
  response.close()
@@ -190,7 +191,7 @@ async def async_list_findings_reports(
190
191
  try:
191
192
  if response.status >= 300:
192
193
  await response.aread()
193
- handle_error(response)
194
+ raise_error(response, handle_error)
194
195
  return await async_handle_response(response), response
195
196
  except BaseException:
196
197
  await response.aclose()
@@ -28,6 +28,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
28
28
  from capo_codeguruprofiler._services._pipeline import (
29
29
  AsyncOperationOptions,
30
30
  OperationOptions,
31
+ raise_error,
31
32
  )
32
33
  from capo_codeguruprofiler.errors import UnknownServiceError
33
34
 
@@ -171,7 +172,7 @@ def list_profile_times(
171
172
  try:
172
173
  if response.status >= 300:
173
174
  response.read()
174
- handle_error(response)
175
+ raise_error(response, handle_error)
175
176
  return handle_response(response), response
176
177
  except BaseException:
177
178
  response.close()
@@ -189,7 +190,7 @@ async def async_list_profile_times(
189
190
  try:
190
191
  if response.status >= 300:
191
192
  await response.aread()
192
- handle_error(response)
193
+ raise_error(response, handle_error)
193
194
  return await async_handle_response(response), response
194
195
  except BaseException:
195
196
  await response.aclose()
@@ -25,6 +25,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
25
25
  from capo_codeguruprofiler._services._pipeline import (
26
26
  AsyncOperationOptions,
27
27
  OperationOptions,
28
+ raise_error,
28
29
  )
29
30
  from capo_codeguruprofiler.errors import UnknownServiceError
30
31
 
@@ -135,7 +136,7 @@ def list_profiling_groups(
135
136
  try:
136
137
  if response.status >= 300:
137
138
  response.read()
138
- handle_error(response)
139
+ raise_error(response, handle_error)
139
140
  return handle_response(response), response
140
141
  except BaseException:
141
142
  response.close()
@@ -153,7 +154,7 @@ async def async_list_profiling_groups(
153
154
  try:
154
155
  if response.status >= 300:
155
156
  await response.aread()
156
- handle_error(response)
157
+ raise_error(response, handle_error)
157
158
  return await async_handle_response(response), response
158
159
  except BaseException:
159
160
  await response.aclose()
@@ -26,6 +26,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
26
26
  from capo_codeguruprofiler._services._pipeline import (
27
27
  AsyncOperationOptions,
28
28
  OperationOptions,
29
+ raise_error,
29
30
  )
30
31
  from capo_codeguruprofiler.errors import UnknownServiceError
31
32
 
@@ -133,7 +134,7 @@ def list_tags_for_resource(
133
134
  try:
134
135
  if response.status >= 300:
135
136
  response.read()
136
- handle_error(response)
137
+ raise_error(response, handle_error)
137
138
  return handle_response(response), response
138
139
  except BaseException:
139
140
  response.close()
@@ -151,7 +152,7 @@ async def async_list_tags_for_resource(
151
152
  try:
152
153
  if response.status >= 300:
153
154
  await response.aread()
154
- handle_error(response)
155
+ raise_error(response, handle_error)
155
156
  return await async_handle_response(response), response
156
157
  except BaseException:
157
158
  await response.aclose()
@@ -27,6 +27,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
27
27
  from capo_codeguruprofiler._services._pipeline import (
28
28
  AsyncOperationOptions,
29
29
  OperationOptions,
30
+ raise_error,
30
31
  )
31
32
  from capo_codeguruprofiler.errors import UnknownServiceError
32
33
 
@@ -143,7 +144,7 @@ def post_agent_profile(
143
144
  try:
144
145
  if response.status >= 300:
145
146
  response.read()
146
- handle_error(response)
147
+ raise_error(response, handle_error)
147
148
  return handle_response(response), response
148
149
  except BaseException:
149
150
  response.close()
@@ -161,7 +162,7 @@ async def async_post_agent_profile(
161
162
  try:
162
163
  if response.status >= 300:
163
164
  await response.aread()
164
- handle_error(response)
165
+ raise_error(response, handle_error)
165
166
  return await async_handle_response(response), response
166
167
  except BaseException:
167
168
  await response.aclose()
@@ -28,6 +28,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
28
28
  from capo_codeguruprofiler._services._pipeline import (
29
29
  AsyncOperationOptions,
30
30
  OperationOptions,
31
+ raise_error,
31
32
  )
32
33
  from capo_codeguruprofiler.errors import UnknownServiceError
33
34
 
@@ -157,7 +158,7 @@ def put_permission(
157
158
  try:
158
159
  if response.status >= 300:
159
160
  response.read()
160
- handle_error(response)
161
+ raise_error(response, handle_error)
161
162
  return handle_response(response), response
162
163
  except BaseException:
163
164
  response.close()
@@ -175,7 +176,7 @@ async def async_put_permission(
175
176
  try:
176
177
  if response.status >= 300:
177
178
  await response.aread()
178
- handle_error(response)
179
+ raise_error(response, handle_error)
179
180
  return await async_handle_response(response), response
180
181
  except BaseException:
181
182
  await response.aclose()
@@ -27,6 +27,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
27
27
  from capo_codeguruprofiler._services._pipeline import (
28
28
  AsyncOperationOptions,
29
29
  OperationOptions,
30
+ raise_error,
30
31
  )
31
32
  from capo_codeguruprofiler.errors import UnknownServiceError
32
33
 
@@ -144,7 +145,7 @@ def remove_notification_channel(
144
145
  try:
145
146
  if response.status >= 300:
146
147
  response.read()
147
- handle_error(response)
148
+ raise_error(response, handle_error)
148
149
  return handle_response(response), response
149
150
  except BaseException:
150
151
  response.close()
@@ -162,7 +163,7 @@ async def async_remove_notification_channel(
162
163
  try:
163
164
  if response.status >= 300:
164
165
  await response.aread()
165
- handle_error(response)
166
+ raise_error(response, handle_error)
166
167
  return await async_handle_response(response), response
167
168
  except BaseException:
168
169
  await response.aclose()
@@ -27,6 +27,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
27
27
  from capo_codeguruprofiler._services._pipeline import (
28
28
  AsyncOperationOptions,
29
29
  OperationOptions,
30
+ raise_error,
30
31
  )
31
32
  from capo_codeguruprofiler.errors import UnknownServiceError
32
33
 
@@ -150,7 +151,7 @@ def remove_permission(
150
151
  try:
151
152
  if response.status >= 300:
152
153
  response.read()
153
- handle_error(response)
154
+ raise_error(response, handle_error)
154
155
  return handle_response(response), response
155
156
  except BaseException:
156
157
  response.close()
@@ -168,7 +169,7 @@ async def async_remove_permission(
168
169
  try:
169
170
  if response.status >= 300:
170
171
  await response.aread()
171
- handle_error(response)
172
+ raise_error(response, handle_error)
172
173
  return await async_handle_response(response), response
173
174
  except BaseException:
174
175
  await response.aclose()
@@ -26,6 +26,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
26
26
  from capo_codeguruprofiler._services._pipeline import (
27
27
  AsyncOperationOptions,
28
28
  OperationOptions,
29
+ raise_error,
29
30
  )
30
31
  from capo_codeguruprofiler.errors import UnknownServiceError
31
32
 
@@ -145,7 +146,7 @@ def submit_feedback(
145
146
  try:
146
147
  if response.status >= 300:
147
148
  response.read()
148
- handle_error(response)
149
+ raise_error(response, handle_error)
149
150
  return handle_response(response), response
150
151
  except BaseException:
151
152
  response.close()
@@ -163,7 +164,7 @@ async def async_submit_feedback(
163
164
  try:
164
165
  if response.status >= 300:
165
166
  await response.aread()
166
- handle_error(response)
167
+ raise_error(response, handle_error)
167
168
  return await async_handle_response(response), response
168
169
  except BaseException:
169
170
  await response.aclose()
@@ -26,6 +26,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
26
26
  from capo_codeguruprofiler._services._pipeline import (
27
27
  AsyncOperationOptions,
28
28
  OperationOptions,
29
+ raise_error,
29
30
  )
30
31
  from capo_codeguruprofiler.errors import UnknownServiceError
31
32
 
@@ -133,7 +134,7 @@ def tag_resource(
133
134
  try:
134
135
  if response.status >= 300:
135
136
  response.read()
136
- handle_error(response)
137
+ raise_error(response, handle_error)
137
138
  return handle_response(response), response
138
139
  except BaseException:
139
140
  response.close()
@@ -151,7 +152,7 @@ async def async_tag_resource(
151
152
  try:
152
153
  if response.status >= 300:
153
154
  await response.aread()
154
- handle_error(response)
155
+ raise_error(response, handle_error)
155
156
  return await async_handle_response(response), response
156
157
  except BaseException:
157
158
  await response.aclose()
@@ -26,6 +26,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
26
26
  from capo_codeguruprofiler._services._pipeline import (
27
27
  AsyncOperationOptions,
28
28
  OperationOptions,
29
+ raise_error,
29
30
  )
30
31
  from capo_codeguruprofiler.errors import UnknownServiceError
31
32
 
@@ -131,7 +132,7 @@ def untag_resource(
131
132
  try:
132
133
  if response.status >= 300:
133
134
  response.read()
134
- handle_error(response)
135
+ raise_error(response, handle_error)
135
136
  return handle_response(response), response
136
137
  except BaseException:
137
138
  response.close()
@@ -149,7 +150,7 @@ async def async_untag_resource(
149
150
  try:
150
151
  if response.status >= 300:
151
152
  await response.aread()
152
- handle_error(response)
153
+ raise_error(response, handle_error)
153
154
  return await async_handle_response(response), response
154
155
  except BaseException:
155
156
  await response.aclose()
@@ -29,6 +29,7 @@ from capo_codeguruprofiler._rule_engine._endpoint_rule_set import (
29
29
  from capo_codeguruprofiler._services._pipeline import (
30
30
  AsyncOperationOptions,
31
31
  OperationOptions,
32
+ raise_error,
32
33
  )
33
34
  from capo_codeguruprofiler.errors import UnknownServiceError
34
35
 
@@ -156,7 +157,7 @@ def update_profiling_group(
156
157
  try:
157
158
  if response.status >= 300:
158
159
  response.read()
159
- handle_error(response)
160
+ raise_error(response, handle_error)
160
161
  return handle_response(response), response
161
162
  except BaseException:
162
163
  response.close()
@@ -174,7 +175,7 @@ async def async_update_profiling_group(
174
175
  try:
175
176
  if response.status >= 300:
176
177
  await response.aread()
177
- handle_error(response)
178
+ raise_error(response, handle_error)
178
179
  return await async_handle_response(response), response
179
180
  except BaseException:
180
181
  await response.aclose()
@@ -6,6 +6,7 @@ from collections.abc import AsyncIterator, Iterator, Sequence
6
6
  from dataclasses import dataclass
7
7
  from typing import TYPE_CHECKING, Awaitable, Callable, Generic, TypeVar, cast
8
8
 
9
+ from typing_extensions import Never
9
10
  from zapros import (
10
11
  AsyncClient,
11
12
  Client,
@@ -135,6 +136,22 @@ async def aexecute_pipeline(
135
136
  return await make_chain(0)(request)
136
137
 
137
138
 
139
+ def raise_error(response: Response, handle_error: Callable[[Response], Never]) -> Never:
140
+ try:
141
+ handle_error(response)
142
+ except ServiceError as exc:
143
+ # The response itself can say a retry is safe, even when the error is
144
+ # not marked @retryable: a 429, a transient 5xx or a Retry-After header.
145
+ if response.status == 429:
146
+ exc.is_throttling_error = True
147
+ if (
148
+ response.status in (429, 500, 502, 503, 504)
149
+ or "retry-after" in response.headers
150
+ ):
151
+ exc.is_retryable = True
152
+ raise
153
+
154
+
138
155
  def _is_retryable(exc: Exception) -> bool:
139
156
  if isinstance(exc, ServiceError):
140
157
  return exc.is_retryable