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.
- {capo_codeguruprofiler-0.4.0/src/capo_codeguruprofiler.egg-info → capo_codeguruprofiler-0.5.0}/PKG-INFO +2 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/pyproject.toml +2 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/add_notification_channels.py +3 -2
- {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
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/configure_agent.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/create_profiling_group.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/delete_profiling_group.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/describe_profiling_group.py +3 -2
- {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
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_notification_configuration.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_policy.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_profile.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_recommendations.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_findings_reports.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_profile_times.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_profiling_groups.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_tags_for_resource.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/post_agent_profile.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/put_permission.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/remove_notification_channel.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/remove_permission.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/submit_feedback.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/tag_resource.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/untag_resource.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/update_profiling_group.py +3 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/_pipeline.py +17 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0/src/capo_codeguruprofiler.egg-info}/PKG-INFO +2 -2
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/LICENSE +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/README.md +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/setup.cfg +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/__init__.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_async.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_identity.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_providers.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_signers.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_sigv4.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_auth/_zapros_handler.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_body.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_iter.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_pagination.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/__init__.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/errors.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/eventstream.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/serialize.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_protocol/xml.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_resources/code_guru_profiler/profiling_group.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/__init__.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/_aws_partition.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/_aws_config.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/async_code_guru_profiler.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/_services/code_guru_profiler.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/__init__.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/_base.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/conflict_exception.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/internal_server_exception.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/resource_not_found_exception.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/service_quota_exceeded_exception.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/throttling_exception.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/errors/validation_exception.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/py.typed +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/_prelude/blob.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/_prelude/timestamp.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/action_group.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/add_notification_channels_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/add_notification_channels_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_configuration.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_orchestration_config.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_parameter_field.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_parameters.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/agent_profile.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/aggregated_profile.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/aggregated_profile_time.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/aggregation_period.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomalies.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly_instance.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly_instance_id.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/anomaly_instances.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/batch_get_frame_metric_data_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/batch_get_frame_metric_data_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channel.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channel_id.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channel_uri.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/channels.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/client_token.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/compute_platform.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/configure_agent_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/configure_agent_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/create_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/create_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/delete_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/delete_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/describe_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/describe_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/event_publisher.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/event_publishers.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/feedback_type.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/findings_report_id.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/findings_report_summaries.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/findings_report_summary.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/fleet_instance_id.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_data.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_datum.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_value.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metric_values.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/frame_metrics.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_findings_report_account_summary_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_findings_report_account_summary_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_notification_configuration_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_notification_configuration_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_policy_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_policy_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_profile_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_profile_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_recommendations_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/get_recommendations_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_findings_reports_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_findings_reports_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_of_timestamps.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profile_times_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profile_times_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profiling_groups_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_profiling_groups_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_tags_for_resource_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/list_tags_for_resource_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/locale.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/match.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/matches.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/max_depth.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/max_results.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metadata.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metadata_field.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metric.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/metric_type.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/notification_configuration.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/order_by.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/pagination_token.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/pattern.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/percentage.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/period.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/post_agent_profile_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/post_agent_profile_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/principal.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/principals.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profile_time.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profile_times.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_arn.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_description.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_descriptions.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_name.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_group_names.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/profiling_status.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/put_permission_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/put_permission_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/recommendation.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/recommendations.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_notification_channel_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_notification_channel_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_permission_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/remove_permission_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/revision_id.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/strings.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/submit_feedback_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/submit_feedback_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tag_keys.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tag_resource_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tag_resource_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/tags_map.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/target_frame.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/target_frames.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/thread_states.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/timestamp.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/timestamp_structure.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/unprocessed_end_time_map.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/untag_resource_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/untag_resource_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/update_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/update_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler/types/user_feedback.py +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/SOURCES.txt +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/dependency_links.txt +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/requires.txt +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/src/capo_codeguruprofiler.egg-info/top_level.txt +0 -0
- {capo_codeguruprofiler-0.4.0 → capo_codeguruprofiler-0.5.0}/tests/test_body.py +0 -0
- {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
|
-
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
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|