capo-elementalinference 0.3.0__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {capo_elementalinference-0.3.0/src/capo_elementalinference.egg-info → capo_elementalinference-0.5.0}/PKG-INFO +1 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/pyproject.toml +1 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/associate_feed.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/create_dictionary.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/create_feed.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/delete_dictionary.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/delete_feed.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/delete_feed_policy.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/disassociate_feed.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/export_dictionary_entries.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/get_dictionary.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/get_feed.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/get_feed_policy.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/get_fixture.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/list_dictionaries.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/list_feeds.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/list_tags_for_resource.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/put_feed_policy.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/search_fixtures.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/tag_resource.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/untag_resource.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/update_dictionary.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_operations/elemental_inference/update_feed.py +5 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_services/_pipeline.py +2 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_services/async_elemental_inference.py +5 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_services/elemental_inference.py +5 -0
- capo_elementalinference-0.5.0/src/capo_elementalinference/types/contextual_metadata_config.py +63 -0
- capo_elementalinference-0.5.0/src/capo_elementalinference/types/extended_analysis_mode.py +17 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0/src/capo_elementalinference.egg-info}/PKG-INFO +1 -1
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference.egg-info/SOURCES.txt +1 -0
- capo_elementalinference-0.3.0/src/capo_elementalinference/types/contextual_metadata_config.py +0 -42
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/LICENSE +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/README.md +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/setup.cfg +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/__init__.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_async.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_auth/_identity.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_auth/_providers.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_auth/_signers.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_auth/_sigv4.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_auth/_zapros_handler.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_body.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_iter.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_pagination.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_protocol/__init__.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_protocol/errors.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_protocol/eventstream.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_protocol/serialize.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_protocol/xml.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_resources/elemental_inference/dictionary_resource.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_resources/elemental_inference/feed_resource.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_rule_engine/__init__.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_rule_engine/_aws_partition.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_services/_aws_config.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/__init__.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/_base.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/access_denied_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/conflict_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/gateway_timed_out_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/internal_server_error_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/resource_not_found_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/service_quota_exceeded_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/service_unavailable_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/too_many_request_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/errors/validation_exception.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/py.typed +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/_prelude/blob.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/_prelude/timestamp.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/aspect_ratio.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/associate_feed_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/associate_feed_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/associated_resource_name.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/clipping_config.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/competitor.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/competitor_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/create_dictionary_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/create_dictionary_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/create_feed_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/create_feed_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/create_output.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/create_output_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/cropping_config.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/data_source_configuration.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/data_source_sport.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/delete_dictionary_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/delete_dictionary_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/delete_feed_policy_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/delete_feed_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/delete_feed_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_arn.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_entries_payload.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_id.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_language.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_status.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_summary.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/dictionary_summary_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/disassociate_feed_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/disassociate_feed_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/export_dictionary_entries_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/export_dictionary_entries_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_arn.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_association.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_id.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_references.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_status.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_summary.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/feed_summary_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/filter_name.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/filter_value.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/filter_value_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/fixture_date.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/fixture_id.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/fixture_summary.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/fixture_summary_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_dictionary_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_dictionary_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_feed_policy_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_feed_policy_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_feed_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_feed_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_fixture_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_fixture_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_output.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/get_output_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/iam_role_arn.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/list_dictionaries_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/list_dictionaries_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/list_feeds_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/list_feeds_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/list_tags_for_resource_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/list_tags_for_resource_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/output_config.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/output_status.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/policy_document.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/profanity_filter_mode.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/put_feed_policy_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/put_feed_policy_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/resource_arn.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/resource_description.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/resource_name.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/s3_uri.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/search_filter.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/search_filter_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/search_fixtures_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/search_fixtures_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/string_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/subtitling_config.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/summary_generation_mode.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/tag_key.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/tag_key_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/tag_map.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/tag_resource_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/tag_value.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/template_group.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/template_group_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/template_uri_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/transcription_language.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/untag_resource_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/update_dictionary_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/update_dictionary_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/update_feed_request.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/update_feed_response.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/update_output.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/types/update_output_list.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference.egg-info/dependency_links.txt +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference.egg-info/requires.txt +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference.egg-info/top_level.txt +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/tests/test_body.py +0 -0
- {capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/tests/test_sigv4.py +0 -0
|
@@ -142,7 +142,11 @@ def build_request(
|
|
|
142
142
|
allow_nan=False,
|
|
143
143
|
).encode()
|
|
144
144
|
headers["content-type"] = "application/json"
|
|
145
|
-
signer =
|
|
145
|
+
signer = (
|
|
146
|
+
None
|
|
147
|
+
if options.anonymous
|
|
148
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
149
|
+
)
|
|
146
150
|
normalized_url = zapros.URL(url)
|
|
147
151
|
for k, v in params:
|
|
148
152
|
normalized_url.search_params.append(k, v)
|
|
@@ -134,7 +134,11 @@ def build_request(
|
|
|
134
134
|
allow_nan=False,
|
|
135
135
|
).encode()
|
|
136
136
|
headers["content-type"] = "application/json"
|
|
137
|
-
signer =
|
|
137
|
+
signer = (
|
|
138
|
+
None
|
|
139
|
+
if options.anonymous
|
|
140
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
141
|
+
)
|
|
138
142
|
normalized_url = zapros.URL(url)
|
|
139
143
|
for k, v in params:
|
|
140
144
|
normalized_url.search_params.append(k, v)
|
|
@@ -140,7 +140,11 @@ def build_request(
|
|
|
140
140
|
allow_nan=False,
|
|
141
141
|
).encode()
|
|
142
142
|
headers["content-type"] = "application/json"
|
|
143
|
-
signer =
|
|
143
|
+
signer = (
|
|
144
|
+
None
|
|
145
|
+
if options.anonymous
|
|
146
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
147
|
+
)
|
|
144
148
|
normalized_url = zapros.URL(url)
|
|
145
149
|
for k, v in params:
|
|
146
150
|
normalized_url.search_params.append(k, v)
|
|
@@ -129,7 +129,11 @@ def build_request(
|
|
|
129
129
|
params: list[tuple[str, str]] = []
|
|
130
130
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
131
131
|
body: bytes | None = b""
|
|
132
|
-
signer =
|
|
132
|
+
signer = (
|
|
133
|
+
None
|
|
134
|
+
if options.anonymous
|
|
135
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
136
|
+
)
|
|
133
137
|
normalized_url = zapros.URL(url)
|
|
134
138
|
for k, v in params:
|
|
135
139
|
normalized_url.search_params.append(k, v)
|
|
@@ -133,7 +133,11 @@ def build_request(
|
|
|
133
133
|
params: list[tuple[str, str]] = []
|
|
134
134
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
135
135
|
body: bytes | None = b""
|
|
136
|
-
signer =
|
|
136
|
+
signer = (
|
|
137
|
+
None
|
|
138
|
+
if options.anonymous
|
|
139
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
140
|
+
)
|
|
137
141
|
normalized_url = zapros.URL(url)
|
|
138
142
|
for k, v in params:
|
|
139
143
|
normalized_url.search_params.append(k, v)
|
|
@@ -104,7 +104,11 @@ def build_request(
|
|
|
104
104
|
params: list[tuple[str, str]] = []
|
|
105
105
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
106
106
|
body: bytes | None = b""
|
|
107
|
-
signer =
|
|
107
|
+
signer = (
|
|
108
|
+
None
|
|
109
|
+
if options.anonymous
|
|
110
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
111
|
+
)
|
|
108
112
|
normalized_url = zapros.URL(url)
|
|
109
113
|
for k, v in params:
|
|
110
114
|
normalized_url.search_params.append(k, v)
|
|
@@ -132,7 +132,11 @@ def build_request(
|
|
|
132
132
|
allow_nan=False,
|
|
133
133
|
).encode()
|
|
134
134
|
headers["content-type"] = "application/json"
|
|
135
|
-
signer =
|
|
135
|
+
signer = (
|
|
136
|
+
None
|
|
137
|
+
if options.anonymous
|
|
138
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
139
|
+
)
|
|
136
140
|
normalized_url = zapros.URL(url)
|
|
137
141
|
for k, v in params:
|
|
138
142
|
normalized_url.search_params.append(k, v)
|
|
@@ -123,7 +123,11 @@ def build_request(
|
|
|
123
123
|
params: list[tuple[str, str]] = []
|
|
124
124
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
125
125
|
body: bytes | None = b""
|
|
126
|
-
signer =
|
|
126
|
+
signer = (
|
|
127
|
+
None
|
|
128
|
+
if options.anonymous
|
|
129
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
130
|
+
)
|
|
127
131
|
normalized_url = zapros.URL(url)
|
|
128
132
|
for k, v in params:
|
|
129
133
|
normalized_url.search_params.append(k, v)
|
|
@@ -131,7 +131,11 @@ def build_request(
|
|
|
131
131
|
params: list[tuple[str, str]] = []
|
|
132
132
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
133
133
|
body: bytes | None = b""
|
|
134
|
-
signer =
|
|
134
|
+
signer = (
|
|
135
|
+
None
|
|
136
|
+
if options.anonymous
|
|
137
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
138
|
+
)
|
|
135
139
|
normalized_url = zapros.URL(url)
|
|
136
140
|
for k, v in params:
|
|
137
141
|
normalized_url.search_params.append(k, v)
|
|
@@ -127,7 +127,11 @@ def build_request(
|
|
|
127
127
|
params: list[tuple[str, str]] = []
|
|
128
128
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
129
129
|
body: bytes | None = b""
|
|
130
|
-
signer =
|
|
130
|
+
signer = (
|
|
131
|
+
None
|
|
132
|
+
if options.anonymous
|
|
133
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
134
|
+
)
|
|
131
135
|
normalized_url = zapros.URL(url)
|
|
132
136
|
for k, v in params:
|
|
133
137
|
normalized_url.search_params.append(k, v)
|
|
@@ -123,7 +123,11 @@ def build_request(
|
|
|
123
123
|
params: list[tuple[str, str]] = []
|
|
124
124
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
125
125
|
body: bytes | None = b""
|
|
126
|
-
signer =
|
|
126
|
+
signer = (
|
|
127
|
+
None
|
|
128
|
+
if options.anonymous
|
|
129
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
130
|
+
)
|
|
127
131
|
normalized_url = zapros.URL(url)
|
|
128
132
|
for k, v in params:
|
|
129
133
|
normalized_url.search_params.append(k, v)
|
|
@@ -138,7 +138,11 @@ def build_request(
|
|
|
138
138
|
params: list[tuple[str, str]] = []
|
|
139
139
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
140
140
|
body: bytes | None = b""
|
|
141
|
-
signer =
|
|
141
|
+
signer = (
|
|
142
|
+
None
|
|
143
|
+
if options.anonymous
|
|
144
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
145
|
+
)
|
|
142
146
|
normalized_url = zapros.URL(url)
|
|
143
147
|
for k, v in params:
|
|
144
148
|
normalized_url.search_params.append(k, v)
|
|
@@ -121,7 +121,11 @@ def build_request(
|
|
|
121
121
|
params.append(("nextToken", input_["next_token"]))
|
|
122
122
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
123
123
|
body: bytes | None = b""
|
|
124
|
-
signer =
|
|
124
|
+
signer = (
|
|
125
|
+
None
|
|
126
|
+
if options.anonymous
|
|
127
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
128
|
+
)
|
|
125
129
|
normalized_url = zapros.URL(url)
|
|
126
130
|
for k, v in params:
|
|
127
131
|
normalized_url.search_params.append(k, v)
|
|
@@ -130,7 +130,11 @@ def build_request(
|
|
|
130
130
|
params.append(("nextToken", input_["next_token"]))
|
|
131
131
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
132
132
|
body: bytes | None = b""
|
|
133
|
-
signer =
|
|
133
|
+
signer = (
|
|
134
|
+
None
|
|
135
|
+
if options.anonymous
|
|
136
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
137
|
+
)
|
|
134
138
|
normalized_url = zapros.URL(url)
|
|
135
139
|
for k, v in params:
|
|
136
140
|
normalized_url.search_params.append(k, v)
|
|
@@ -124,7 +124,11 @@ def build_request(
|
|
|
124
124
|
params: list[tuple[str, str]] = []
|
|
125
125
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
126
126
|
body: bytes | None = b""
|
|
127
|
-
signer =
|
|
127
|
+
signer = (
|
|
128
|
+
None
|
|
129
|
+
if options.anonymous
|
|
130
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
131
|
+
)
|
|
128
132
|
normalized_url = zapros.URL(url)
|
|
129
133
|
for k, v in params:
|
|
130
134
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
allow_nan=False,
|
|
129
129
|
).encode()
|
|
130
130
|
headers["content-type"] = "application/json"
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -133,7 +133,11 @@ def build_request(
|
|
|
133
133
|
allow_nan=False,
|
|
134
134
|
).encode()
|
|
135
135
|
headers["content-type"] = "application/json"
|
|
136
|
-
signer =
|
|
136
|
+
signer = (
|
|
137
|
+
None
|
|
138
|
+
if options.anonymous
|
|
139
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
140
|
+
)
|
|
137
141
|
normalized_url = zapros.URL(url)
|
|
138
142
|
for k, v in params:
|
|
139
143
|
normalized_url.search_params.append(k, v)
|
|
@@ -114,7 +114,11 @@ def build_request(
|
|
|
114
114
|
allow_nan=False,
|
|
115
115
|
).encode()
|
|
116
116
|
headers["content-type"] = "application/json"
|
|
117
|
-
signer =
|
|
117
|
+
signer = (
|
|
118
|
+
None
|
|
119
|
+
if options.anonymous
|
|
120
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
121
|
+
)
|
|
118
122
|
normalized_url = zapros.URL(url)
|
|
119
123
|
for k, v in params:
|
|
120
124
|
normalized_url.search_params.append(k, v)
|
|
@@ -112,7 +112,11 @@ def build_request(
|
|
|
112
112
|
params.append(("tagKeys", item))
|
|
113
113
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
114
114
|
body: bytes | None = b""
|
|
115
|
-
signer =
|
|
115
|
+
signer = (
|
|
116
|
+
None
|
|
117
|
+
if options.anonymous
|
|
118
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
119
|
+
)
|
|
116
120
|
normalized_url = zapros.URL(url)
|
|
117
121
|
for k, v in params:
|
|
118
122
|
normalized_url.search_params.append(k, v)
|
|
@@ -136,7 +136,11 @@ def build_request(
|
|
|
136
136
|
allow_nan=False,
|
|
137
137
|
).encode()
|
|
138
138
|
headers["content-type"] = "application/json"
|
|
139
|
-
signer =
|
|
139
|
+
signer = (
|
|
140
|
+
None
|
|
141
|
+
if options.anonymous
|
|
142
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
143
|
+
)
|
|
140
144
|
normalized_url = zapros.URL(url)
|
|
141
145
|
for k, v in params:
|
|
142
146
|
normalized_url.search_params.append(k, v)
|
|
@@ -147,7 +147,11 @@ def build_request(
|
|
|
147
147
|
allow_nan=False,
|
|
148
148
|
).encode()
|
|
149
149
|
headers["content-type"] = "application/json"
|
|
150
|
-
signer =
|
|
150
|
+
signer = (
|
|
151
|
+
None
|
|
152
|
+
if options.anonymous
|
|
153
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
154
|
+
)
|
|
151
155
|
normalized_url = zapros.URL(url)
|
|
152
156
|
for k, v in params:
|
|
153
157
|
normalized_url.search_params.append(k, v)
|
|
@@ -40,6 +40,7 @@ class OperationOptions:
|
|
|
40
40
|
endpoint: str | None = None
|
|
41
41
|
retry_max_attempts: int | None = None
|
|
42
42
|
credentials_provider: IdentityProvider[Credentials] | None = None
|
|
43
|
+
anonymous: bool | None = None
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
@dataclass
|
|
@@ -51,6 +52,7 @@ class AsyncOperationOptions:
|
|
|
51
52
|
endpoint: str | None = None
|
|
52
53
|
retry_max_attempts: int | None = None
|
|
53
54
|
credentials_provider: IdentityProvider[Credentials] | None = None
|
|
55
|
+
anonymous: bool | None = None
|
|
54
56
|
|
|
55
57
|
|
|
56
58
|
@dataclass
|
|
@@ -104,6 +104,7 @@ class AsyncElementalInferenceClientConfig(TypedDict, total=False, closed=True):
|
|
|
104
104
|
use_fips: bool | None
|
|
105
105
|
endpoint: str | None
|
|
106
106
|
credentials_provider: IdentityProvider[Credentials] | None
|
|
107
|
+
anonymous: bool | None
|
|
107
108
|
|
|
108
109
|
|
|
109
110
|
class AsyncElementalInferenceClient:
|
|
@@ -119,6 +120,7 @@ class AsyncElementalInferenceClient:
|
|
|
119
120
|
endpoint: The value of the ``SDK::Endpoint`` endpoint parameter.
|
|
120
121
|
credentials: AWS credentials for request signing.
|
|
121
122
|
credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
|
|
123
|
+
anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
|
|
122
124
|
"""
|
|
123
125
|
|
|
124
126
|
def __init__(
|
|
@@ -132,6 +134,7 @@ class AsyncElementalInferenceClient:
|
|
|
132
134
|
endpoint: str | None = None,
|
|
133
135
|
credentials: Credentials | None = None,
|
|
134
136
|
credentials_provider: CredentialsProvider | None = None,
|
|
137
|
+
anonymous: bool | None = None,
|
|
135
138
|
):
|
|
136
139
|
self._client = AsyncClient(http_handler).wrap_with_middleware(
|
|
137
140
|
lambda next: AuthMiddleware(next)
|
|
@@ -158,6 +161,7 @@ class AsyncElementalInferenceClient:
|
|
|
158
161
|
"use_fips": use_fips,
|
|
159
162
|
"endpoint": endpoint,
|
|
160
163
|
"credentials_provider": resolved_credentials_provider,
|
|
164
|
+
"anonymous": anonymous,
|
|
161
165
|
}
|
|
162
166
|
)
|
|
163
167
|
|
|
@@ -190,6 +194,7 @@ class AsyncElementalInferenceClient:
|
|
|
190
194
|
credentials_provider=overrides.get(
|
|
191
195
|
"credentials_provider", self._config.get("credentials_provider")
|
|
192
196
|
),
|
|
197
|
+
anonymous=overrides.get("anonymous", self._config.get("anonymous")),
|
|
193
198
|
)
|
|
194
199
|
return interceptors_, options_
|
|
195
200
|
|
|
@@ -104,6 +104,7 @@ class ElementalInferenceClientConfig(TypedDict, total=False, closed=True):
|
|
|
104
104
|
use_fips: bool | None
|
|
105
105
|
endpoint: str | None
|
|
106
106
|
credentials_provider: IdentityProvider[Credentials] | None
|
|
107
|
+
anonymous: bool | None
|
|
107
108
|
|
|
108
109
|
|
|
109
110
|
class ElementalInferenceClient:
|
|
@@ -119,6 +120,7 @@ class ElementalInferenceClient:
|
|
|
119
120
|
endpoint: The value of the ``SDK::Endpoint`` endpoint parameter.
|
|
120
121
|
credentials: AWS credentials for request signing.
|
|
121
122
|
credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
|
|
123
|
+
anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
|
|
122
124
|
"""
|
|
123
125
|
|
|
124
126
|
def __init__(
|
|
@@ -132,6 +134,7 @@ class ElementalInferenceClient:
|
|
|
132
134
|
endpoint: str | None = None,
|
|
133
135
|
credentials: Credentials | None = None,
|
|
134
136
|
credentials_provider: CredentialsProvider | None = None,
|
|
137
|
+
anonymous: bool | None = None,
|
|
135
138
|
):
|
|
136
139
|
self._client = Client(http_handler).wrap_with_middleware(
|
|
137
140
|
lambda next: AuthMiddleware(next)
|
|
@@ -158,6 +161,7 @@ class ElementalInferenceClient:
|
|
|
158
161
|
"use_fips": use_fips,
|
|
159
162
|
"endpoint": endpoint,
|
|
160
163
|
"credentials_provider": resolved_credentials_provider,
|
|
164
|
+
"anonymous": anonymous,
|
|
161
165
|
}
|
|
162
166
|
)
|
|
163
167
|
|
|
@@ -190,6 +194,7 @@ class ElementalInferenceClient:
|
|
|
190
194
|
credentials_provider=overrides.get(
|
|
191
195
|
"credentials_provider", self._config.get("credentials_provider")
|
|
192
196
|
),
|
|
197
|
+
anonymous=overrides.get("anonymous", self._config.get("anonymous")),
|
|
193
198
|
)
|
|
194
199
|
return interceptors_, options_
|
|
195
200
|
|
|
@@ -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
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Generated from Smithy shape ``com.amazonaws.elementalinference#ExtendedAnalysisMode``."""
|
|
2
|
+
|
|
3
|
+
from typing import Literal, TypeAlias, cast
|
|
4
|
+
|
|
5
|
+
ExtendedAnalysisMode: TypeAlias = Literal[
|
|
6
|
+
"ENABLED",
|
|
7
|
+
"DISABLED",
|
|
8
|
+
]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# --- restJson1 ser/de ---
|
|
12
|
+
def serialize_json(value: ExtendedAnalysisMode) -> str:
|
|
13
|
+
return value
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def deserialize_json(data: str) -> ExtendedAnalysisMode:
|
|
17
|
+
return cast(ExtendedAnalysisMode, data)
|
|
@@ -97,6 +97,7 @@ src/capo_elementalinference/types/disassociate_feed_request.py
|
|
|
97
97
|
src/capo_elementalinference/types/disassociate_feed_response.py
|
|
98
98
|
src/capo_elementalinference/types/export_dictionary_entries_request.py
|
|
99
99
|
src/capo_elementalinference/types/export_dictionary_entries_response.py
|
|
100
|
+
src/capo_elementalinference/types/extended_analysis_mode.py
|
|
100
101
|
src/capo_elementalinference/types/feed_arn.py
|
|
101
102
|
src/capo_elementalinference/types/feed_association.py
|
|
102
103
|
src/capo_elementalinference/types/feed_id.py
|
capo_elementalinference-0.3.0/src/capo_elementalinference/types/contextual_metadata_config.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
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.summary_generation_mode
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class ContextualMetadataConfig(TypedDict, closed=True):
|
|
12
|
-
summary_generation: NotRequired[
|
|
13
|
-
"capo_elementalinference.types.summary_generation_mode.SummaryGenerationMode"
|
|
14
|
-
]
|
|
15
|
-
"""<p>Specifies whether Elemental Inference generates a descriptive summary of the media content for this output. </p> <p>Valid values:</p> <ul> <li> <p>ENABLED (default) – Elemental Inference generates a descriptive summary along with IAB taxonomy and GARM suitability classifications. </p> </li> <li> <p>DISABLED – No descriptive summary is generated.</p> </li> </ul>"""
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
# --- restJson1 ser/de ---
|
|
19
|
-
def serialize_json(value: ContextualMetadataConfig) -> dict:
|
|
20
|
-
out: dict = {}
|
|
21
|
-
if "summary_generation" in value:
|
|
22
|
-
import capo_elementalinference.types.summary_generation_mode
|
|
23
|
-
|
|
24
|
-
out["summaryGeneration"] = (
|
|
25
|
-
capo_elementalinference.types.summary_generation_mode.serialize_json(
|
|
26
|
-
value["summary_generation"]
|
|
27
|
-
)
|
|
28
|
-
)
|
|
29
|
-
return out
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
def deserialize_json(data: dict) -> ContextualMetadataConfig:
|
|
33
|
-
out: ContextualMetadataConfig = {} # type: ignore[typeddict-item]
|
|
34
|
-
if data.get("summaryGeneration") is not None:
|
|
35
|
-
import capo_elementalinference.types.summary_generation_mode
|
|
36
|
-
|
|
37
|
-
out["summary_generation"] = (
|
|
38
|
-
capo_elementalinference.types.summary_generation_mode.deserialize_json(
|
|
39
|
-
data["summaryGeneration"]
|
|
40
|
-
)
|
|
41
|
-
)
|
|
42
|
-
return out
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_body.py
RENAMED
|
File without changes
|
{capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/_iter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{capo_elementalinference-0.3.0 → capo_elementalinference-0.5.0}/src/capo_elementalinference/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|