capo-codeguruprofiler 0.8.0__tar.gz → 0.9.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.8.0/src/capo_codeguruprofiler.egg-info → capo_codeguruprofiler-0.9.0}/PKG-INFO +1 -1
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/pyproject.toml +1 -1
- capo_codeguruprofiler-0.9.0/src/capo_codeguruprofiler/_aws.py +28 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/add_notification_channels.py +6 -6
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/batch_get_frame_metric_data.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/configure_agent.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/create_profiling_group.py +5 -5
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/delete_profiling_group.py +5 -5
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/describe_profiling_group.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_findings_report_account_summary.py +3 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_notification_configuration.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_policy.py +3 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_profile.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/get_recommendations.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_findings_reports.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_profile_times.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_profiling_groups.py +2 -2
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/list_tags_for_resource.py +3 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/post_agent_profile.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/put_permission.py +5 -5
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/remove_notification_channel.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/remove_permission.py +5 -5
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/submit_feedback.py +4 -4
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/tag_resource.py +3 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/untag_resource.py +3 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_operations/code_guru_profiler/update_profiling_group.py +5 -5
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_resources/code_guru_profiler/profiling_group.py +115 -38
- capo_codeguruprofiler-0.9.0/src/capo_codeguruprofiler/_services/_pipeline.py +522 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_services/async_code_guru_profiler.py +81 -25
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_services/code_guru_profiler.py +81 -25
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/_base.py +8 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/conflict_exception.py +13 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/internal_server_exception.py +11 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/resource_not_found_exception.py +11 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/service_quota_exceeded_exception.py +9 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/throttling_exception.py +13 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/validation_exception.py +13 -3
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0/src/capo_codeguruprofiler.egg-info}/PKG-INFO +1 -1
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler.egg-info/SOURCES.txt +1 -0
- capo_codeguruprofiler-0.8.0/src/capo_codeguruprofiler/_services/_pipeline.py +0 -266
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/LICENSE +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/README.md +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/setup.cfg +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/__init__.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_async.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_auth/_identity.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_auth/_providers.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_auth/_signers.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_auth/_sigv4.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_auth/_zapros_handler.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_body.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_iter.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_pagination.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_protocol/__init__.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_protocol/errors.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_protocol/eventstream.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_protocol/serialize.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_protocol/xml.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_rule_engine/__init__.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_rule_engine/_aws_partition.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/_services/_aws_config.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/errors/__init__.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/py.typed +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/_prelude/blob.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/_prelude/timestamp.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/action_group.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/add_notification_channels_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/add_notification_channels_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/agent_configuration.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/agent_orchestration_config.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/agent_parameter_field.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/agent_parameters.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/agent_profile.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/aggregated_profile.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/aggregated_profile_time.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/aggregation_period.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/anomalies.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/anomaly.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/anomaly_instance.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/anomaly_instance_id.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/anomaly_instances.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/batch_get_frame_metric_data_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/batch_get_frame_metric_data_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/channel.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/channel_id.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/channel_uri.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/channels.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/client_token.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/compute_platform.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/configure_agent_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/configure_agent_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/create_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/create_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/delete_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/delete_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/describe_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/describe_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/event_publisher.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/event_publishers.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/feedback_type.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/findings_report_id.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/findings_report_summaries.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/findings_report_summary.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/fleet_instance_id.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/frame_metric.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/frame_metric_data.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/frame_metric_datum.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/frame_metric_value.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/frame_metric_values.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/frame_metrics.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_findings_report_account_summary_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_findings_report_account_summary_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_notification_configuration_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_notification_configuration_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_policy_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_policy_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_profile_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_profile_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_recommendations_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/get_recommendations_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_findings_reports_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_findings_reports_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_of_timestamps.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_profile_times_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_profile_times_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_profiling_groups_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_profiling_groups_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_tags_for_resource_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/list_tags_for_resource_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/locale.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/match.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/matches.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/max_depth.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/max_results.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/metadata.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/metadata_field.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/metric.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/metric_type.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/notification_configuration.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/order_by.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/pagination_token.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/pattern.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/percentage.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/period.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/post_agent_profile_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/post_agent_profile_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/principal.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/principals.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profile_time.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profile_times.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profiling_group_arn.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profiling_group_description.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profiling_group_descriptions.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profiling_group_name.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profiling_group_names.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/profiling_status.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/put_permission_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/put_permission_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/recommendation.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/recommendations.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/remove_notification_channel_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/remove_notification_channel_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/remove_permission_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/remove_permission_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/revision_id.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/strings.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/submit_feedback_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/submit_feedback_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/tag_keys.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/tag_resource_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/tag_resource_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/tags_map.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/target_frame.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/target_frames.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/thread_states.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/timestamp.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/timestamp_structure.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/unprocessed_end_time_map.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/untag_resource_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/untag_resource_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/update_profiling_group_request.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/update_profiling_group_response.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler/types/user_feedback.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler.egg-info/dependency_links.txt +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler.egg-info/requires.txt +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/src/capo_codeguruprofiler.egg-info/top_level.txt +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/tests/test_body.py +0 -0
- {capo_codeguruprofiler-0.8.0 → capo_codeguruprofiler-0.9.0}/tests/test_sigv4.py +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Error codes and HTTP statuses that are retried whether or not the model marks them @retryable."""
|
|
2
|
+
|
|
3
|
+
# Transient: retried with the normal backoff.
|
|
4
|
+
KNOWN_RETRYABLE_STATUSES = frozenset({500, 502, 503, 504})
|
|
5
|
+
KNOWN_RETRYABLE_CODES = frozenset(
|
|
6
|
+
{"PriorRequestNotComplete", "RequestTimeout", "RequestTimeoutException"}
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
# Throttling: retried with the longer throttling backoff.
|
|
10
|
+
KNOWN_THROTTLING_STATUSES = frozenset({429})
|
|
11
|
+
KNOWN_THROTTLING_CODES = frozenset(
|
|
12
|
+
{
|
|
13
|
+
"BandwidthLimitExceeded",
|
|
14
|
+
"EC2ThrottledException",
|
|
15
|
+
"LimitExceededException",
|
|
16
|
+
"PriorRequestNotComplete",
|
|
17
|
+
"ProvisionedThroughputExceededException",
|
|
18
|
+
"RequestLimitExceeded",
|
|
19
|
+
"RequestThrottled",
|
|
20
|
+
"RequestThrottledException",
|
|
21
|
+
"SlowDown",
|
|
22
|
+
"ThrottledException",
|
|
23
|
+
"Throttling",
|
|
24
|
+
"ThrottlingException",
|
|
25
|
+
"TooManyRequestsException",
|
|
26
|
+
"TransactionInProgressException",
|
|
27
|
+
}
|
|
28
|
+
)
|
|
@@ -41,27 +41,27 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
41
41
|
match code:
|
|
42
42
|
case "ConflictException":
|
|
43
43
|
raise capo_codeguruprofiler.errors.conflict_exception.ConflictException.from_json(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "InternalServerException":
|
|
47
47
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case "ResourceNotFoundException":
|
|
51
51
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
52
|
-
data, message
|
|
52
|
+
data, message, response=response
|
|
53
53
|
)
|
|
54
54
|
case "ServiceQuotaExceededException":
|
|
55
55
|
raise capo_codeguruprofiler.errors.service_quota_exceeded_exception.ServiceQuotaExceededException.from_json(
|
|
56
|
-
data, message
|
|
56
|
+
data, message, response=response
|
|
57
57
|
)
|
|
58
58
|
case "ThrottlingException":
|
|
59
59
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
60
|
-
data, message
|
|
60
|
+
data, message, response=response
|
|
61
61
|
)
|
|
62
62
|
case "ValidationException":
|
|
63
63
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
64
|
-
data, message
|
|
64
|
+
data, message, response=response
|
|
65
65
|
)
|
|
66
66
|
case _:
|
|
67
67
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -42,19 +42,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
42
42
|
match code:
|
|
43
43
|
case "InternalServerException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ResourceNotFoundException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ThrottlingException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case "ValidationException":
|
|
56
56
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
57
|
-
data, message
|
|
57
|
+
data, message, response=response
|
|
58
58
|
)
|
|
59
59
|
case _:
|
|
60
60
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -39,19 +39,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
39
39
|
match code:
|
|
40
40
|
case "InternalServerException":
|
|
41
41
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceNotFoundException":
|
|
45
45
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ThrottlingException":
|
|
49
49
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ValidationException":
|
|
53
53
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case _:
|
|
57
57
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -40,23 +40,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
40
40
|
match code:
|
|
41
41
|
case "ConflictException":
|
|
42
42
|
raise capo_codeguruprofiler.errors.conflict_exception.ConflictException.from_json(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "InternalServerException":
|
|
46
46
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case "ServiceQuotaExceededException":
|
|
50
50
|
raise capo_codeguruprofiler.errors.service_quota_exceeded_exception.ServiceQuotaExceededException.from_json(
|
|
51
|
-
data, message
|
|
51
|
+
data, message, response=response
|
|
52
52
|
)
|
|
53
53
|
case "ThrottlingException":
|
|
54
54
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
55
|
-
data, message
|
|
55
|
+
data, message, response=response
|
|
56
56
|
)
|
|
57
57
|
case "ValidationException":
|
|
58
58
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
59
|
-
data, message
|
|
59
|
+
data, message, response=response
|
|
60
60
|
)
|
|
61
61
|
case _:
|
|
62
62
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -38,23 +38,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
38
38
|
match code:
|
|
39
39
|
case "ConflictException":
|
|
40
40
|
raise capo_codeguruprofiler.errors.conflict_exception.ConflictException.from_json(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "InternalServerException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ResourceNotFoundException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ThrottlingException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case "ValidationException":
|
|
56
56
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
57
|
-
data, message
|
|
57
|
+
data, message, response=response
|
|
58
58
|
)
|
|
59
59
|
case _:
|
|
60
60
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -38,19 +38,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
38
38
|
match code:
|
|
39
39
|
case "InternalServerException":
|
|
40
40
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ValidationException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case _:
|
|
56
56
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -36,15 +36,15 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
36
36
|
match code:
|
|
37
37
|
case "InternalServerException":
|
|
38
38
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
39
|
-
data, message
|
|
39
|
+
data, message, response=response
|
|
40
40
|
)
|
|
41
41
|
case "ThrottlingException":
|
|
42
42
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "ValidationException":
|
|
46
46
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case _:
|
|
50
50
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -38,19 +38,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
38
38
|
match code:
|
|
39
39
|
case "InternalServerException":
|
|
40
40
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ValidationException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case _:
|
|
56
56
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -36,15 +36,15 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
36
36
|
match code:
|
|
37
37
|
case "InternalServerException":
|
|
38
38
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
39
|
-
data, message
|
|
39
|
+
data, message, response=response
|
|
40
40
|
)
|
|
41
41
|
case "ResourceNotFoundException":
|
|
42
42
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "ThrottlingException":
|
|
46
46
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case _:
|
|
50
50
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -39,19 +39,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
39
39
|
match code:
|
|
40
40
|
case "InternalServerException":
|
|
41
41
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceNotFoundException":
|
|
45
45
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ThrottlingException":
|
|
49
49
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ValidationException":
|
|
53
53
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case _:
|
|
57
57
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -40,19 +40,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
40
40
|
match code:
|
|
41
41
|
case "InternalServerException":
|
|
42
42
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "ResourceNotFoundException":
|
|
46
46
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case "ThrottlingException":
|
|
50
50
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
51
|
-
data, message
|
|
51
|
+
data, message, response=response
|
|
52
52
|
)
|
|
53
53
|
case "ValidationException":
|
|
54
54
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
55
|
-
data, message
|
|
55
|
+
data, message, response=response
|
|
56
56
|
)
|
|
57
57
|
case _:
|
|
58
58
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -39,19 +39,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
39
39
|
match code:
|
|
40
40
|
case "InternalServerException":
|
|
41
41
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceNotFoundException":
|
|
45
45
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ThrottlingException":
|
|
49
49
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ValidationException":
|
|
53
53
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case _:
|
|
57
57
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -39,19 +39,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
39
39
|
match code:
|
|
40
40
|
case "InternalServerException":
|
|
41
41
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceNotFoundException":
|
|
45
45
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ThrottlingException":
|
|
49
49
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ValidationException":
|
|
53
53
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case _:
|
|
57
57
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -36,11 +36,11 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
36
36
|
match code:
|
|
37
37
|
case "InternalServerException":
|
|
38
38
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
39
|
-
data, message
|
|
39
|
+
data, message, response=response
|
|
40
40
|
)
|
|
41
41
|
case "ThrottlingException":
|
|
42
42
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case _:
|
|
46
46
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -37,15 +37,15 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
37
37
|
match code:
|
|
38
38
|
case "InternalServerException":
|
|
39
39
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ValidationException":
|
|
47
47
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -38,19 +38,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
38
38
|
match code:
|
|
39
39
|
case "InternalServerException":
|
|
40
40
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ValidationException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case _:
|
|
56
56
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -39,23 +39,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
39
39
|
match code:
|
|
40
40
|
case "ConflictException":
|
|
41
41
|
raise capo_codeguruprofiler.errors.conflict_exception.ConflictException.from_json(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "InternalServerException":
|
|
45
45
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ResourceNotFoundException":
|
|
49
49
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ThrottlingException":
|
|
53
53
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case "ValidationException":
|
|
57
57
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
58
|
-
data, message
|
|
58
|
+
data, message, response=response
|
|
59
59
|
)
|
|
60
60
|
case _:
|
|
61
61
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -38,19 +38,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
38
38
|
match code:
|
|
39
39
|
case "InternalServerException":
|
|
40
40
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ValidationException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case _:
|
|
56
56
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -38,23 +38,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
38
38
|
match code:
|
|
39
39
|
case "ConflictException":
|
|
40
40
|
raise capo_codeguruprofiler.errors.conflict_exception.ConflictException.from_json(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "InternalServerException":
|
|
44
44
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ResourceNotFoundException":
|
|
48
48
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case "ThrottlingException":
|
|
52
52
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
53
|
-
data, message
|
|
53
|
+
data, message, response=response
|
|
54
54
|
)
|
|
55
55
|
case "ValidationException":
|
|
56
56
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
57
|
-
data, message
|
|
57
|
+
data, message, response=response
|
|
58
58
|
)
|
|
59
59
|
case _:
|
|
60
60
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -37,19 +37,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
37
37
|
match code:
|
|
38
38
|
case "InternalServerException":
|
|
39
39
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case "ValidationException":
|
|
51
51
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
52
|
-
data, message
|
|
52
|
+
data, message, response=response
|
|
53
53
|
)
|
|
54
54
|
case _:
|
|
55
55
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -37,15 +37,15 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
37
37
|
match code:
|
|
38
38
|
case "InternalServerException":
|
|
39
39
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ValidationException":
|
|
47
47
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -37,15 +37,15 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
37
37
|
match code:
|
|
38
38
|
case "InternalServerException":
|
|
39
39
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ValidationException":
|
|
47
47
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -40,23 +40,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
40
40
|
match code:
|
|
41
41
|
case "ConflictException":
|
|
42
42
|
raise capo_codeguruprofiler.errors.conflict_exception.ConflictException.from_json(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "InternalServerException":
|
|
46
46
|
raise capo_codeguruprofiler.errors.internal_server_exception.InternalServerException.from_json(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case "ResourceNotFoundException":
|
|
50
50
|
raise capo_codeguruprofiler.errors.resource_not_found_exception.ResourceNotFoundException.from_json(
|
|
51
|
-
data, message
|
|
51
|
+
data, message, response=response
|
|
52
52
|
)
|
|
53
53
|
case "ThrottlingException":
|
|
54
54
|
raise capo_codeguruprofiler.errors.throttling_exception.ThrottlingException.from_json(
|
|
55
|
-
data, message
|
|
55
|
+
data, message, response=response
|
|
56
56
|
)
|
|
57
57
|
case "ValidationException":
|
|
58
58
|
raise capo_codeguruprofiler.errors.validation_exception.ValidationException.from_json(
|
|
59
|
-
data, message
|
|
59
|
+
data, message, response=response
|
|
60
60
|
)
|
|
61
61
|
case _:
|
|
62
62
|
raise UnknownServiceError(code=code, message=message, response=response)
|