capo-elementalinference 0.2.0__tar.gz → 0.4.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_elementalinference-0.2.0/src/capo_elementalinference.egg-info → capo_elementalinference-0.4.0}/PKG-INFO +1 -1
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/pyproject.toml +1 -1
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/associate_feed.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/create_dictionary.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/create_feed.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/delete_dictionary.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/delete_feed.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/delete_feed_policy.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/disassociate_feed.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/export_dictionary_entries.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/get_dictionary.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/get_feed.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/get_feed_policy.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/get_fixture.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/list_dictionaries.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/list_feeds.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/list_tags_for_resource.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/put_feed_policy.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/search_fixtures.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/tag_resource.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/untag_resource.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/update_dictionary.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_operations/elemental_inference/update_feed.py +3 -2
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_services/_pipeline.py +17 -0
- capo_elementalinference-0.4.0/src/capo_elementalinference/types/contextual_metadata_config.py +63 -0
- capo_elementalinference-0.4.0/src/capo_elementalinference/types/extended_analysis_mode.py +17 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0/src/capo_elementalinference.egg-info}/PKG-INFO +1 -1
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference.egg-info/SOURCES.txt +1 -0
- capo_elementalinference-0.2.0/src/capo_elementalinference/types/contextual_metadata_config.py +0 -42
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/LICENSE +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/README.md +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/setup.cfg +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/__init__.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_async.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_auth/_identity.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_auth/_providers.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_auth/_signers.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_auth/_sigv4.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_auth/_zapros_handler.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_body.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_iter.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_pagination.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_protocol/__init__.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_protocol/errors.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_protocol/eventstream.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_protocol/serialize.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_protocol/xml.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_resources/elemental_inference/dictionary_resource.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_resources/elemental_inference/feed_resource.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_rule_engine/__init__.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_rule_engine/_aws_partition.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_services/_aws_config.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_services/async_elemental_inference.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/_services/elemental_inference.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/__init__.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/_base.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/access_denied_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/conflict_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/gateway_timed_out_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/internal_server_error_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/resource_not_found_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/service_quota_exceeded_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/service_unavailable_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/too_many_request_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/errors/validation_exception.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/py.typed +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/_prelude/blob.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/_prelude/timestamp.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/aspect_ratio.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/associate_feed_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/associate_feed_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/associated_resource_name.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/clipping_config.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/competitor.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/competitor_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/create_dictionary_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/create_dictionary_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/create_feed_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/create_feed_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/create_output.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/create_output_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/cropping_config.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/data_source_configuration.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/data_source_sport.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/delete_dictionary_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/delete_dictionary_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/delete_feed_policy_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/delete_feed_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/delete_feed_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_arn.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_entries_payload.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_id.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_language.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_status.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_summary.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/dictionary_summary_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/disassociate_feed_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/disassociate_feed_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/export_dictionary_entries_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/export_dictionary_entries_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_arn.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_association.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_id.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_references.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_status.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_summary.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/feed_summary_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/filter_name.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/filter_value.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/filter_value_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/fixture_date.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/fixture_id.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/fixture_summary.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/fixture_summary_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_dictionary_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_dictionary_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_feed_policy_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_feed_policy_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_feed_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_feed_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_fixture_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_fixture_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_output.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/get_output_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/iam_role_arn.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/list_dictionaries_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/list_dictionaries_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/list_feeds_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/list_feeds_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/list_tags_for_resource_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/list_tags_for_resource_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/output_config.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/output_status.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/policy_document.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/profanity_filter_mode.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/put_feed_policy_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/put_feed_policy_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/resource_arn.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/resource_description.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/resource_name.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/s3_uri.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/search_filter.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/search_filter_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/search_fixtures_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/search_fixtures_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/string_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/subtitling_config.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/summary_generation_mode.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/tag_key.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/tag_key_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/tag_map.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/tag_resource_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/tag_value.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/template_group.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/template_group_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/template_uri_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/transcription_language.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/untag_resource_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/update_dictionary_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/update_dictionary_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/update_feed_request.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/update_feed_response.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/update_output.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference/types/update_output_list.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference.egg-info/dependency_links.txt +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference.egg-info/requires.txt +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/src/capo_elementalinference.egg-info/top_level.txt +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/tests/test_body.py +0 -0
- {capo_elementalinference-0.2.0 → capo_elementalinference-0.4.0}/tests/test_sigv4.py +0 -0
|
@@ -30,6 +30,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
30
30
|
from capo_elementalinference._services._pipeline import (
|
|
31
31
|
AsyncOperationOptions,
|
|
32
32
|
OperationOptions,
|
|
33
|
+
raise_error,
|
|
33
34
|
)
|
|
34
35
|
from capo_elementalinference.errors import UnknownServiceError
|
|
35
36
|
|
|
@@ -161,7 +162,7 @@ def associate_feed(
|
|
|
161
162
|
try:
|
|
162
163
|
if response.status >= 300:
|
|
163
164
|
response.read()
|
|
164
|
-
|
|
165
|
+
raise_error(response, handle_error)
|
|
165
166
|
return handle_response(response), response
|
|
166
167
|
except BaseException:
|
|
167
168
|
response.close()
|
|
@@ -179,7 +180,7 @@ async def async_associate_feed(
|
|
|
179
180
|
try:
|
|
180
181
|
if response.status >= 300:
|
|
181
182
|
await response.aread()
|
|
182
|
-
|
|
183
|
+
raise_error(response, handle_error)
|
|
183
184
|
return await async_handle_response(response), response
|
|
184
185
|
except BaseException:
|
|
185
186
|
await response.aclose()
|
|
@@ -31,6 +31,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
31
31
|
from capo_elementalinference._services._pipeline import (
|
|
32
32
|
AsyncOperationOptions,
|
|
33
33
|
OperationOptions,
|
|
34
|
+
raise_error,
|
|
34
35
|
)
|
|
35
36
|
from capo_elementalinference.errors import UnknownServiceError
|
|
36
37
|
|
|
@@ -153,7 +154,7 @@ def create_dictionary(
|
|
|
153
154
|
try:
|
|
154
155
|
if response.status >= 300:
|
|
155
156
|
response.read()
|
|
156
|
-
|
|
157
|
+
raise_error(response, handle_error)
|
|
157
158
|
return handle_response(response), response
|
|
158
159
|
except BaseException:
|
|
159
160
|
response.close()
|
|
@@ -171,7 +172,7 @@ async def async_create_dictionary(
|
|
|
171
172
|
try:
|
|
172
173
|
if response.status >= 300:
|
|
173
174
|
await response.aread()
|
|
174
|
-
|
|
175
|
+
raise_error(response, handle_error)
|
|
175
176
|
return await async_handle_response(response), response
|
|
176
177
|
except BaseException:
|
|
177
178
|
await response.aclose()
|
|
@@ -33,6 +33,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
33
33
|
from capo_elementalinference._services._pipeline import (
|
|
34
34
|
AsyncOperationOptions,
|
|
35
35
|
OperationOptions,
|
|
36
|
+
raise_error,
|
|
36
37
|
)
|
|
37
38
|
from capo_elementalinference.errors import UnknownServiceError
|
|
38
39
|
|
|
@@ -159,7 +160,7 @@ def create_feed(
|
|
|
159
160
|
try:
|
|
160
161
|
if response.status >= 300:
|
|
161
162
|
response.read()
|
|
162
|
-
|
|
163
|
+
raise_error(response, handle_error)
|
|
163
164
|
return handle_response(response), response
|
|
164
165
|
except BaseException:
|
|
165
166
|
response.close()
|
|
@@ -177,7 +178,7 @@ async def async_create_feed(
|
|
|
177
178
|
try:
|
|
178
179
|
if response.status >= 300:
|
|
179
180
|
await response.aread()
|
|
180
|
-
|
|
181
|
+
raise_error(response, handle_error)
|
|
181
182
|
return await async_handle_response(response), response
|
|
182
183
|
except BaseException:
|
|
183
184
|
await response.aclose()
|
|
@@ -29,6 +29,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
29
29
|
from capo_elementalinference._services._pipeline import (
|
|
30
30
|
AsyncOperationOptions,
|
|
31
31
|
OperationOptions,
|
|
32
|
+
raise_error,
|
|
32
33
|
)
|
|
33
34
|
from capo_elementalinference.errors import UnknownServiceError
|
|
34
35
|
|
|
@@ -148,7 +149,7 @@ def delete_dictionary(
|
|
|
148
149
|
try:
|
|
149
150
|
if response.status >= 300:
|
|
150
151
|
response.read()
|
|
151
|
-
|
|
152
|
+
raise_error(response, handle_error)
|
|
152
153
|
return handle_response(response), response
|
|
153
154
|
except BaseException:
|
|
154
155
|
response.close()
|
|
@@ -166,7 +167,7 @@ async def async_delete_dictionary(
|
|
|
166
167
|
try:
|
|
167
168
|
if response.status >= 300:
|
|
168
169
|
await response.aread()
|
|
169
|
-
|
|
170
|
+
raise_error(response, handle_error)
|
|
170
171
|
return await async_handle_response(response), response
|
|
171
172
|
except BaseException:
|
|
172
173
|
await response.aclose()
|
|
@@ -29,6 +29,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
29
29
|
from capo_elementalinference._services._pipeline import (
|
|
30
30
|
AsyncOperationOptions,
|
|
31
31
|
OperationOptions,
|
|
32
|
+
raise_error,
|
|
32
33
|
)
|
|
33
34
|
from capo_elementalinference.errors import UnknownServiceError
|
|
34
35
|
|
|
@@ -152,7 +153,7 @@ def delete_feed(
|
|
|
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_delete_feed(
|
|
|
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()
|
|
@@ -26,6 +26,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
26
26
|
from capo_elementalinference._services._pipeline import (
|
|
27
27
|
AsyncOperationOptions,
|
|
28
28
|
OperationOptions,
|
|
29
|
+
raise_error,
|
|
29
30
|
)
|
|
30
31
|
from capo_elementalinference.errors import UnknownServiceError
|
|
31
32
|
|
|
@@ -120,7 +121,7 @@ def delete_feed_policy(
|
|
|
120
121
|
try:
|
|
121
122
|
if response.status >= 300:
|
|
122
123
|
response.read()
|
|
123
|
-
|
|
124
|
+
raise_error(response, handle_error)
|
|
124
125
|
return None, response
|
|
125
126
|
except BaseException:
|
|
126
127
|
response.close()
|
|
@@ -135,7 +136,7 @@ async def async_delete_feed_policy(
|
|
|
135
136
|
try:
|
|
136
137
|
if response.status >= 300:
|
|
137
138
|
await response.aread()
|
|
138
|
-
|
|
139
|
+
raise_error(response, handle_error)
|
|
139
140
|
return None, response
|
|
140
141
|
except BaseException:
|
|
141
142
|
await response.aclose()
|
|
@@ -28,6 +28,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
28
28
|
from capo_elementalinference._services._pipeline import (
|
|
29
29
|
AsyncOperationOptions,
|
|
30
30
|
OperationOptions,
|
|
31
|
+
raise_error,
|
|
31
32
|
)
|
|
32
33
|
from capo_elementalinference.errors import UnknownServiceError
|
|
33
34
|
|
|
@@ -151,7 +152,7 @@ def disassociate_feed(
|
|
|
151
152
|
try:
|
|
152
153
|
if response.status >= 300:
|
|
153
154
|
response.read()
|
|
154
|
-
|
|
155
|
+
raise_error(response, handle_error)
|
|
155
156
|
return handle_response(response), response
|
|
156
157
|
except BaseException:
|
|
157
158
|
response.close()
|
|
@@ -169,7 +170,7 @@ async def async_disassociate_feed(
|
|
|
169
170
|
try:
|
|
170
171
|
if response.status >= 300:
|
|
171
172
|
await response.aread()
|
|
172
|
-
|
|
173
|
+
raise_error(response, handle_error)
|
|
173
174
|
return await async_handle_response(response), response
|
|
174
175
|
except BaseException:
|
|
175
176
|
await response.aclose()
|
|
@@ -27,6 +27,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
27
27
|
from capo_elementalinference._services._pipeline import (
|
|
28
28
|
AsyncOperationOptions,
|
|
29
29
|
OperationOptions,
|
|
30
|
+
raise_error,
|
|
30
31
|
)
|
|
31
32
|
from capo_elementalinference.errors import UnknownServiceError
|
|
32
33
|
|
|
@@ -142,7 +143,7 @@ def export_dictionary_entries(
|
|
|
142
143
|
try:
|
|
143
144
|
if response.status >= 300:
|
|
144
145
|
response.read()
|
|
145
|
-
|
|
146
|
+
raise_error(response, handle_error)
|
|
146
147
|
return handle_response(response), response
|
|
147
148
|
except BaseException:
|
|
148
149
|
response.close()
|
|
@@ -160,7 +161,7 @@ async def async_export_dictionary_entries(
|
|
|
160
161
|
try:
|
|
161
162
|
if response.status >= 300:
|
|
162
163
|
await response.aread()
|
|
163
|
-
|
|
164
|
+
raise_error(response, handle_error)
|
|
164
165
|
return await async_handle_response(response), response
|
|
165
166
|
except BaseException:
|
|
166
167
|
await response.aclose()
|
|
@@ -31,6 +31,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
31
31
|
from capo_elementalinference._services._pipeline import (
|
|
32
32
|
AsyncOperationOptions,
|
|
33
33
|
OperationOptions,
|
|
34
|
+
raise_error,
|
|
34
35
|
)
|
|
35
36
|
from capo_elementalinference.errors import UnknownServiceError
|
|
36
37
|
|
|
@@ -150,7 +151,7 @@ def get_dictionary(
|
|
|
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_get_dictionary(
|
|
|
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()
|
|
@@ -31,6 +31,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
31
31
|
from capo_elementalinference._services._pipeline import (
|
|
32
32
|
AsyncOperationOptions,
|
|
33
33
|
OperationOptions,
|
|
34
|
+
raise_error,
|
|
34
35
|
)
|
|
35
36
|
from capo_elementalinference.errors import UnknownServiceError
|
|
36
37
|
|
|
@@ -145,7 +146,7 @@ def get_feed(
|
|
|
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()
|
|
@@ -162,7 +163,7 @@ async def async_get_feed(
|
|
|
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_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
27
27
|
from capo_elementalinference._services._pipeline import (
|
|
28
28
|
AsyncOperationOptions,
|
|
29
29
|
OperationOptions,
|
|
30
|
+
raise_error,
|
|
30
31
|
)
|
|
31
32
|
from capo_elementalinference.errors import UnknownServiceError
|
|
32
33
|
|
|
@@ -142,7 +143,7 @@ def get_feed_policy(
|
|
|
142
143
|
try:
|
|
143
144
|
if response.status >= 300:
|
|
144
145
|
response.read()
|
|
145
|
-
|
|
146
|
+
raise_error(response, handle_error)
|
|
146
147
|
return handle_response(response), response
|
|
147
148
|
except BaseException:
|
|
148
149
|
response.close()
|
|
@@ -160,7 +161,7 @@ async def async_get_feed_policy(
|
|
|
160
161
|
try:
|
|
161
162
|
if response.status >= 300:
|
|
162
163
|
await response.aread()
|
|
163
|
-
|
|
164
|
+
raise_error(response, handle_error)
|
|
164
165
|
return await async_handle_response(response), response
|
|
165
166
|
except BaseException:
|
|
166
167
|
await response.aclose()
|
|
@@ -30,6 +30,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
30
30
|
from capo_elementalinference._services._pipeline import (
|
|
31
31
|
AsyncOperationOptions,
|
|
32
32
|
OperationOptions,
|
|
33
|
+
raise_error,
|
|
33
34
|
)
|
|
34
35
|
from capo_elementalinference.errors import UnknownServiceError
|
|
35
36
|
|
|
@@ -157,7 +158,7 @@ def get_fixture(
|
|
|
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_get_fixture(
|
|
|
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()
|
|
@@ -26,6 +26,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
26
26
|
from capo_elementalinference._services._pipeline import (
|
|
27
27
|
AsyncOperationOptions,
|
|
28
28
|
OperationOptions,
|
|
29
|
+
raise_error,
|
|
29
30
|
)
|
|
30
31
|
from capo_elementalinference.errors import UnknownServiceError
|
|
31
32
|
|
|
@@ -140,7 +141,7 @@ def list_dictionaries(
|
|
|
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_list_dictionaries(
|
|
|
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_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
27
27
|
from capo_elementalinference._services._pipeline import (
|
|
28
28
|
AsyncOperationOptions,
|
|
29
29
|
OperationOptions,
|
|
30
|
+
raise_error,
|
|
30
31
|
)
|
|
31
32
|
from capo_elementalinference.errors import UnknownServiceError
|
|
32
33
|
|
|
@@ -148,7 +149,7 @@ def list_feeds(
|
|
|
148
149
|
try:
|
|
149
150
|
if response.status >= 300:
|
|
150
151
|
response.read()
|
|
151
|
-
|
|
152
|
+
raise_error(response, handle_error)
|
|
152
153
|
return handle_response(response), response
|
|
153
154
|
except BaseException:
|
|
154
155
|
response.close()
|
|
@@ -165,7 +166,7 @@ async def async_list_feeds(
|
|
|
165
166
|
try:
|
|
166
167
|
if response.status >= 300:
|
|
167
168
|
await response.aread()
|
|
168
|
-
|
|
169
|
+
raise_error(response, handle_error)
|
|
169
170
|
return await async_handle_response(response), response
|
|
170
171
|
except BaseException:
|
|
171
172
|
await response.aclose()
|
|
@@ -28,6 +28,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
28
28
|
from capo_elementalinference._services._pipeline import (
|
|
29
29
|
AsyncOperationOptions,
|
|
30
30
|
OperationOptions,
|
|
31
|
+
raise_error,
|
|
31
32
|
)
|
|
32
33
|
from capo_elementalinference.errors import UnknownServiceError
|
|
33
34
|
|
|
@@ -143,7 +144,7 @@ def list_tags_for_resource(
|
|
|
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_list_tags_for_resource(
|
|
|
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_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
28
28
|
from capo_elementalinference._services._pipeline import (
|
|
29
29
|
AsyncOperationOptions,
|
|
30
30
|
OperationOptions,
|
|
31
|
+
raise_error,
|
|
31
32
|
)
|
|
32
33
|
from capo_elementalinference.errors import UnknownServiceError
|
|
33
34
|
|
|
@@ -147,7 +148,7 @@ def put_feed_policy(
|
|
|
147
148
|
try:
|
|
148
149
|
if response.status >= 300:
|
|
149
150
|
response.read()
|
|
150
|
-
|
|
151
|
+
raise_error(response, handle_error)
|
|
151
152
|
return handle_response(response), response
|
|
152
153
|
except BaseException:
|
|
153
154
|
response.close()
|
|
@@ -165,7 +166,7 @@ async def async_put_feed_policy(
|
|
|
165
166
|
try:
|
|
166
167
|
if response.status >= 300:
|
|
167
168
|
await response.aread()
|
|
168
|
-
|
|
169
|
+
raise_error(response, handle_error)
|
|
169
170
|
return await async_handle_response(response), response
|
|
170
171
|
except BaseException:
|
|
171
172
|
await response.aclose()
|
|
@@ -30,6 +30,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
30
30
|
from capo_elementalinference._services._pipeline import (
|
|
31
31
|
AsyncOperationOptions,
|
|
32
32
|
OperationOptions,
|
|
33
|
+
raise_error,
|
|
33
34
|
)
|
|
34
35
|
from capo_elementalinference.errors import UnknownServiceError
|
|
35
36
|
|
|
@@ -152,7 +153,7 @@ def search_fixtures(
|
|
|
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_search_fixtures(
|
|
|
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()
|
|
@@ -28,6 +28,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
28
28
|
from capo_elementalinference._services._pipeline import (
|
|
29
29
|
AsyncOperationOptions,
|
|
30
30
|
OperationOptions,
|
|
31
|
+
raise_error,
|
|
31
32
|
)
|
|
32
33
|
from capo_elementalinference.errors import UnknownServiceError
|
|
33
34
|
|
|
@@ -130,7 +131,7 @@ def tag_resource(
|
|
|
130
131
|
try:
|
|
131
132
|
if response.status >= 300:
|
|
132
133
|
response.read()
|
|
133
|
-
|
|
134
|
+
raise_error(response, handle_error)
|
|
134
135
|
return None, response
|
|
135
136
|
except BaseException:
|
|
136
137
|
response.close()
|
|
@@ -145,7 +146,7 @@ async def async_tag_resource(
|
|
|
145
146
|
try:
|
|
146
147
|
if response.status >= 300:
|
|
147
148
|
await response.aread()
|
|
148
|
-
|
|
149
|
+
raise_error(response, handle_error)
|
|
149
150
|
return None, response
|
|
150
151
|
except BaseException:
|
|
151
152
|
await response.aclose()
|
|
@@ -28,6 +28,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
28
28
|
from capo_elementalinference._services._pipeline import (
|
|
29
29
|
AsyncOperationOptions,
|
|
30
30
|
OperationOptions,
|
|
31
|
+
raise_error,
|
|
31
32
|
)
|
|
32
33
|
from capo_elementalinference.errors import UnknownServiceError
|
|
33
34
|
|
|
@@ -128,7 +129,7 @@ def untag_resource(
|
|
|
128
129
|
try:
|
|
129
130
|
if response.status >= 300:
|
|
130
131
|
response.read()
|
|
131
|
-
|
|
132
|
+
raise_error(response, handle_error)
|
|
132
133
|
return None, response
|
|
133
134
|
except BaseException:
|
|
134
135
|
response.close()
|
|
@@ -143,7 +144,7 @@ async def async_untag_resource(
|
|
|
143
144
|
try:
|
|
144
145
|
if response.status >= 300:
|
|
145
146
|
await response.aread()
|
|
146
|
-
|
|
147
|
+
raise_error(response, handle_error)
|
|
147
148
|
return None, response
|
|
148
149
|
except BaseException:
|
|
149
150
|
await response.aclose()
|
|
@@ -32,6 +32,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
32
32
|
from capo_elementalinference._services._pipeline import (
|
|
33
33
|
AsyncOperationOptions,
|
|
34
34
|
OperationOptions,
|
|
35
|
+
raise_error,
|
|
35
36
|
)
|
|
36
37
|
from capo_elementalinference.errors import UnknownServiceError
|
|
37
38
|
|
|
@@ -155,7 +156,7 @@ def update_dictionary(
|
|
|
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_update_dictionary(
|
|
|
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()
|
|
@@ -35,6 +35,7 @@ from capo_elementalinference._rule_engine._endpoint_rule_set import (
|
|
|
35
35
|
from capo_elementalinference._services._pipeline import (
|
|
36
36
|
AsyncOperationOptions,
|
|
37
37
|
OperationOptions,
|
|
38
|
+
raise_error,
|
|
38
39
|
)
|
|
39
40
|
from capo_elementalinference.errors import UnknownServiceError
|
|
40
41
|
|
|
@@ -166,7 +167,7 @@ def update_feed(
|
|
|
166
167
|
try:
|
|
167
168
|
if response.status >= 300:
|
|
168
169
|
response.read()
|
|
169
|
-
|
|
170
|
+
raise_error(response, handle_error)
|
|
170
171
|
return handle_response(response), response
|
|
171
172
|
except BaseException:
|
|
172
173
|
response.close()
|
|
@@ -184,7 +185,7 @@ async def async_update_feed(
|
|
|
184
185
|
try:
|
|
185
186
|
if response.status >= 300:
|
|
186
187
|
await response.aread()
|
|
187
|
-
|
|
188
|
+
raise_error(response, handle_error)
|
|
188
189
|
return await async_handle_response(response), response
|
|
189
190
|
except BaseException:
|
|
190
191
|
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
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.elementalinference#ContextualMetadataConfig``."""
|
|
2
|
+
|
|
3
|
+
from typing import TYPE_CHECKING
|
|
4
|
+
|
|
5
|
+
from typing_extensions import NotRequired, TypedDict
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
import capo_elementalinference.types.extended_analysis_mode
|
|
9
|
+
import capo_elementalinference.types.summary_generation_mode
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ContextualMetadataConfig(TypedDict, closed=True):
|
|
13
|
+
summary_generation: NotRequired[
|
|
14
|
+
"capo_elementalinference.types.summary_generation_mode.SummaryGenerationMode"
|
|
15
|
+
]
|
|
16
|
+
"""<p>Specifies whether Elemental Inference generates a descriptive summary of the media content for this output, along with the objects and actions that it detects. This setting is independent of <code>extendedAnalysis</code>. </p> <p>Valid values:</p> <ul> <li> <p>ENABLED (default) – Elemental Inference populates the summary, objects, and actions fields, along with the IAB taxonomy and GARM suitability classifications. </p> </li> <li> <p>DISABLED – Elemental Inference doesn't populate the summary, objects, and actions fields. </p> </li> </ul>"""
|
|
17
|
+
extended_analysis: NotRequired[
|
|
18
|
+
"capo_elementalinference.types.extended_analysis_mode.ExtendedAnalysisMode"
|
|
19
|
+
]
|
|
20
|
+
"""<p>Specifies whether Elemental Inference generates extended analysis of the media content for this output. Extended analysis identifies the people, environments, brands, and on-screen text in the media content. This setting is independent of <code>summaryGeneration</code>. </p> <p>Valid values:</p> <ul> <li> <p>ENABLED (default) – Elemental Inference populates the people, environments, brands, and on-screen text fields. </p> </li> <li> <p>DISABLED – Elemental Inference doesn't populate the people, environments, brands, and on-screen text fields. </p> </li> </ul>"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
# --- restJson1 ser/de ---
|
|
24
|
+
def serialize_json(value: ContextualMetadataConfig) -> dict:
|
|
25
|
+
out: dict = {}
|
|
26
|
+
if "summary_generation" in value:
|
|
27
|
+
import capo_elementalinference.types.summary_generation_mode
|
|
28
|
+
|
|
29
|
+
out["summaryGeneration"] = (
|
|
30
|
+
capo_elementalinference.types.summary_generation_mode.serialize_json(
|
|
31
|
+
value["summary_generation"]
|
|
32
|
+
)
|
|
33
|
+
)
|
|
34
|
+
if "extended_analysis" in value:
|
|
35
|
+
import capo_elementalinference.types.extended_analysis_mode
|
|
36
|
+
|
|
37
|
+
out["extendedAnalysis"] = (
|
|
38
|
+
capo_elementalinference.types.extended_analysis_mode.serialize_json(
|
|
39
|
+
value["extended_analysis"]
|
|
40
|
+
)
|
|
41
|
+
)
|
|
42
|
+
return out
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def deserialize_json(data: dict) -> ContextualMetadataConfig:
|
|
46
|
+
out: ContextualMetadataConfig = {} # type: ignore[typeddict-item]
|
|
47
|
+
if data.get("summaryGeneration") is not None:
|
|
48
|
+
import capo_elementalinference.types.summary_generation_mode
|
|
49
|
+
|
|
50
|
+
out["summary_generation"] = (
|
|
51
|
+
capo_elementalinference.types.summary_generation_mode.deserialize_json(
|
|
52
|
+
data["summaryGeneration"]
|
|
53
|
+
)
|
|
54
|
+
)
|
|
55
|
+
if data.get("extendedAnalysis") is not None:
|
|
56
|
+
import capo_elementalinference.types.extended_analysis_mode
|
|
57
|
+
|
|
58
|
+
out["extended_analysis"] = (
|
|
59
|
+
capo_elementalinference.types.extended_analysis_mode.deserialize_json(
|
|
60
|
+
data["extendedAnalysis"]
|
|
61
|
+
)
|
|
62
|
+
)
|
|
63
|
+
return out
|