capo-comprehend 0.1.0__py3-none-any.whl
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_comprehend/__init__.py +70 -0
- capo_comprehend/_async.py +25 -0
- capo_comprehend/_auth/_identity.py +16 -0
- capo_comprehend/_auth/_providers.py +886 -0
- capo_comprehend/_auth/_signers.py +88 -0
- capo_comprehend/_auth/_sigv4.py +434 -0
- capo_comprehend/_auth/_zapros_handler.py +80 -0
- capo_comprehend/_iter.py +113 -0
- capo_comprehend/_operations/comprehend_20171127/batch_detect_dominant_language.py +164 -0
- capo_comprehend/_operations/comprehend_20171127/batch_detect_entities.py +170 -0
- capo_comprehend/_operations/comprehend_20171127/batch_detect_key_phrases.py +170 -0
- capo_comprehend/_operations/comprehend_20171127/batch_detect_sentiment.py +170 -0
- capo_comprehend/_operations/comprehend_20171127/batch_detect_syntax.py +170 -0
- capo_comprehend/_operations/comprehend_20171127/batch_detect_targeted_sentiment.py +170 -0
- capo_comprehend/_operations/comprehend_20171127/classify_document.py +171 -0
- capo_comprehend/_operations/comprehend_20171127/contains_pii_entities.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/create_dataset.py +179 -0
- capo_comprehend/_operations/comprehend_20171127/create_document_classifier.py +187 -0
- capo_comprehend/_operations/comprehend_20171127/create_endpoint.py +184 -0
- capo_comprehend/_operations/comprehend_20171127/create_entity_recognizer.py +185 -0
- capo_comprehend/_operations/comprehend_20171127/create_flywheel.py +197 -0
- capo_comprehend/_operations/comprehend_20171127/delete_document_classifier.py +167 -0
- capo_comprehend/_operations/comprehend_20171127/delete_endpoint.py +160 -0
- capo_comprehend/_operations/comprehend_20171127/delete_entity_recognizer.py +167 -0
- capo_comprehend/_operations/comprehend_20171127/delete_flywheel.py +165 -0
- capo_comprehend/_operations/comprehend_20171127/delete_resource_policy.py +152 -0
- capo_comprehend/_operations/comprehend_20171127/describe_dataset.py +164 -0
- capo_comprehend/_operations/comprehend_20171127/describe_document_classification_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_document_classifier.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_dominant_language_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_endpoint.py +164 -0
- capo_comprehend/_operations/comprehend_20171127/describe_entities_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_entity_recognizer.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_events_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_flywheel.py +164 -0
- capo_comprehend/_operations/comprehend_20171127/describe_flywheel_iteration.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_key_phrases_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_pii_entities_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_resource_policy.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/describe_sentiment_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/describe_targeted_sentiment_detection_job.py +164 -0
- capo_comprehend/_operations/comprehend_20171127/describe_topics_detection_job.py +162 -0
- capo_comprehend/_operations/comprehend_20171127/detect_dominant_language.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/detect_entities.py +176 -0
- capo_comprehend/_operations/comprehend_20171127/detect_key_phrases.py +165 -0
- capo_comprehend/_operations/comprehend_20171127/detect_pii_entities.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/detect_sentiment.py +166 -0
- capo_comprehend/_operations/comprehend_20171127/detect_syntax.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/detect_targeted_sentiment.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/detect_toxic_content.py +164 -0
- capo_comprehend/_operations/comprehend_20171127/import_model.py +187 -0
- capo_comprehend/_operations/comprehend_20171127/list_datasets.py +168 -0
- capo_comprehend/_operations/comprehend_20171127/list_document_classification_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_document_classifier_summaries.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/list_document_classifiers.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_dominant_language_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_endpoints.py +158 -0
- capo_comprehend/_operations/comprehend_20171127/list_entities_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_entity_recognizer_summaries.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/list_entity_recognizers.py +167 -0
- capo_comprehend/_operations/comprehend_20171127/list_events_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_flywheel_iteration_history.py +168 -0
- capo_comprehend/_operations/comprehend_20171127/list_flywheels.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_key_phrases_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_pii_entities_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_sentiment_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_tags_for_resource.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/list_targeted_sentiment_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/list_topics_detection_jobs.py +163 -0
- capo_comprehend/_operations/comprehend_20171127/put_resource_policy.py +156 -0
- capo_comprehend/_operations/comprehend_20171127/start_document_classification_job.py +186 -0
- capo_comprehend/_operations/comprehend_20171127/start_dominant_language_detection_job.py +176 -0
- capo_comprehend/_operations/comprehend_20171127/start_entities_detection_job.py +187 -0
- capo_comprehend/_operations/comprehend_20171127/start_events_detection_job.py +177 -0
- capo_comprehend/_operations/comprehend_20171127/start_flywheel_iteration.py +166 -0
- capo_comprehend/_operations/comprehend_20171127/start_key_phrases_detection_job.py +177 -0
- capo_comprehend/_operations/comprehend_20171127/start_pii_entities_detection_job.py +178 -0
- capo_comprehend/_operations/comprehend_20171127/start_sentiment_detection_job.py +177 -0
- capo_comprehend/_operations/comprehend_20171127/start_targeted_sentiment_detection_job.py +177 -0
- capo_comprehend/_operations/comprehend_20171127/start_topics_detection_job.py +176 -0
- capo_comprehend/_operations/comprehend_20171127/stop_dominant_language_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_entities_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_events_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_key_phrases_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_pii_entities_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_sentiment_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_targeted_sentiment_detection_job.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_training_document_classifier.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/stop_training_entity_recognizer.py +157 -0
- capo_comprehend/_operations/comprehend_20171127/tag_resource.py +159 -0
- capo_comprehend/_operations/comprehend_20171127/untag_resource.py +159 -0
- capo_comprehend/_operations/comprehend_20171127/update_endpoint.py +178 -0
- capo_comprehend/_operations/comprehend_20171127/update_flywheel.py +170 -0
- capo_comprehend/_pagination.py +21 -0
- capo_comprehend/_protocol/__init__.py +1 -0
- capo_comprehend/_protocol/errors.py +93 -0
- capo_comprehend/_protocol/eventstream.py +238 -0
- capo_comprehend/_protocol/serialize.py +47 -0
- capo_comprehend/_protocol/xml.py +33 -0
- capo_comprehend/_rule_engine/__init__.py +0 -0
- capo_comprehend/_rule_engine/_aws_partition.py +160 -0
- capo_comprehend/_rule_engine/_endpoint_rule_set.py +138 -0
- capo_comprehend/_rule_engine/_endpoint_runtime.py +389 -0
- capo_comprehend/_services/_aws_config.py +160 -0
- capo_comprehend/_services/_pipeline.py +198 -0
- capo_comprehend/_services/async_comprehend.py +5706 -0
- capo_comprehend/_services/comprehend.py +5623 -0
- capo_comprehend/errors/__init__.py +63 -0
- capo_comprehend/errors/_base.py +94 -0
- capo_comprehend/errors/batch_size_limit_exceeded_exception.py +53 -0
- capo_comprehend/errors/concurrent_modification_exception.py +53 -0
- capo_comprehend/errors/internal_server_exception.py +51 -0
- capo_comprehend/errors/invalid_filter_exception.py +51 -0
- capo_comprehend/errors/invalid_request_exception.py +91 -0
- capo_comprehend/errors/job_not_found_exception.py +51 -0
- capo_comprehend/errors/kms_key_validation_exception.py +51 -0
- capo_comprehend/errors/resource_in_use_exception.py +51 -0
- capo_comprehend/errors/resource_limit_exceeded_exception.py +53 -0
- capo_comprehend/errors/resource_not_found_exception.py +51 -0
- capo_comprehend/errors/resource_unavailable_exception.py +51 -0
- capo_comprehend/errors/text_size_limit_exceeded_exception.py +53 -0
- capo_comprehend/errors/too_many_requests_exception.py +51 -0
- capo_comprehend/errors/too_many_tag_keys_exception.py +51 -0
- capo_comprehend/errors/too_many_tags_exception.py +51 -0
- capo_comprehend/errors/unsupported_language_exception.py +51 -0
- capo_comprehend/py.typed +0 -0
- capo_comprehend/types/_prelude/blob.py +12 -0
- capo_comprehend/types/_prelude/timestamp.py +17 -0
- capo_comprehend/types/any_length_string.py +5 -0
- capo_comprehend/types/attribute_names_list.py +19 -0
- capo_comprehend/types/attribute_names_list_item.py +5 -0
- capo_comprehend/types/augmented_manifests_document_type_format.py +17 -0
- capo_comprehend/types/augmented_manifests_list_item.py +101 -0
- capo_comprehend/types/batch_detect_dominant_language_item_result.py +49 -0
- capo_comprehend/types/batch_detect_dominant_language_request.py +47 -0
- capo_comprehend/types/batch_detect_dominant_language_response.py +67 -0
- capo_comprehend/types/batch_detect_entities_item_result.py +45 -0
- capo_comprehend/types/batch_detect_entities_request.py +63 -0
- capo_comprehend/types/batch_detect_entities_response.py +63 -0
- capo_comprehend/types/batch_detect_key_phrases_item_result.py +49 -0
- capo_comprehend/types/batch_detect_key_phrases_request.py +65 -0
- capo_comprehend/types/batch_detect_key_phrases_response.py +63 -0
- capo_comprehend/types/batch_detect_sentiment_item_result.py +64 -0
- capo_comprehend/types/batch_detect_sentiment_request.py +63 -0
- capo_comprehend/types/batch_detect_sentiment_response.py +63 -0
- capo_comprehend/types/batch_detect_syntax_item_result.py +49 -0
- capo_comprehend/types/batch_detect_syntax_request.py +65 -0
- capo_comprehend/types/batch_detect_syntax_response.py +65 -0
- capo_comprehend/types/batch_detect_targeted_sentiment_item_result.py +49 -0
- capo_comprehend/types/batch_detect_targeted_sentiment_request.py +67 -0
- capo_comprehend/types/batch_detect_targeted_sentiment_response.py +67 -0
- capo_comprehend/types/batch_item_error.py +41 -0
- capo_comprehend/types/batch_item_error_list.py +33 -0
- capo_comprehend/types/block.py +92 -0
- capo_comprehend/types/block_reference.py +62 -0
- capo_comprehend/types/block_type.py +17 -0
- capo_comprehend/types/bounding_box.py +78 -0
- capo_comprehend/types/child_block.py +41 -0
- capo_comprehend/types/classifier_evaluation_metrics.py +134 -0
- capo_comprehend/types/classifier_metadata.py +61 -0
- capo_comprehend/types/classify_document_request.py +80 -0
- capo_comprehend/types/classify_document_response.py +125 -0
- capo_comprehend/types/client_request_token_string.py +5 -0
- capo_comprehend/types/comprehend_arn.py +5 -0
- capo_comprehend/types/comprehend_arn_name.py +5 -0
- capo_comprehend/types/comprehend_dataset_arn.py +5 -0
- capo_comprehend/types/comprehend_endpoint_arn.py +5 -0
- capo_comprehend/types/comprehend_endpoint_name.py +5 -0
- capo_comprehend/types/comprehend_flywheel_arn.py +5 -0
- capo_comprehend/types/comprehend_model_arn.py +5 -0
- capo_comprehend/types/contains_pii_entities_request.py +49 -0
- capo_comprehend/types/contains_pii_entities_response.py +42 -0
- capo_comprehend/types/create_dataset_request.py +109 -0
- capo_comprehend/types/create_dataset_response.py +30 -0
- capo_comprehend/types/create_document_classifier_request.py +195 -0
- capo_comprehend/types/create_document_classifier_response.py +30 -0
- capo_comprehend/types/create_endpoint_request.py +94 -0
- capo_comprehend/types/create_endpoint_response.py +39 -0
- capo_comprehend/types/create_entity_recognizer_request.py +151 -0
- capo_comprehend/types/create_entity_recognizer_response.py +30 -0
- capo_comprehend/types/create_flywheel_request.py +133 -0
- capo_comprehend/types/create_flywheel_response.py +39 -0
- capo_comprehend/types/customer_input_string.py +5 -0
- capo_comprehend/types/customer_input_string_list.py +19 -0
- capo_comprehend/types/data_security_config.py +54 -0
- capo_comprehend/types/dataset_augmented_manifests_list.py +39 -0
- capo_comprehend/types/dataset_augmented_manifests_list_item.py +86 -0
- capo_comprehend/types/dataset_data_format.py +17 -0
- capo_comprehend/types/dataset_document_classifier_input_data_config.py +40 -0
- capo_comprehend/types/dataset_entity_recognizer_annotations.py +31 -0
- capo_comprehend/types/dataset_entity_recognizer_documents.py +48 -0
- capo_comprehend/types/dataset_entity_recognizer_entity_list.py +31 -0
- capo_comprehend/types/dataset_entity_recognizer_input_data_config.py +87 -0
- capo_comprehend/types/dataset_filter.py +90 -0
- capo_comprehend/types/dataset_input_data_config.py +105 -0
- capo_comprehend/types/dataset_properties.py +130 -0
- capo_comprehend/types/dataset_properties_list.py +35 -0
- capo_comprehend/types/dataset_status.py +18 -0
- capo_comprehend/types/dataset_type.py +17 -0
- capo_comprehend/types/delete_document_classifier_request.py +35 -0
- capo_comprehend/types/delete_document_classifier_response.py +18 -0
- capo_comprehend/types/delete_endpoint_request.py +31 -0
- capo_comprehend/types/delete_endpoint_response.py +18 -0
- capo_comprehend/types/delete_entity_recognizer_request.py +35 -0
- capo_comprehend/types/delete_entity_recognizer_response.py +18 -0
- capo_comprehend/types/delete_flywheel_request.py +31 -0
- capo_comprehend/types/delete_flywheel_response.py +18 -0
- capo_comprehend/types/delete_resource_policy_request.py +40 -0
- capo_comprehend/types/delete_resource_policy_response.py +18 -0
- capo_comprehend/types/describe_dataset_request.py +31 -0
- capo_comprehend/types/describe_dataset_response.py +42 -0
- capo_comprehend/types/describe_document_classification_job_request.py +33 -0
- capo_comprehend/types/describe_document_classification_job_response.py +42 -0
- capo_comprehend/types/describe_document_classifier_request.py +35 -0
- capo_comprehend/types/describe_document_classifier_response.py +42 -0
- capo_comprehend/types/describe_dominant_language_detection_job_request.py +33 -0
- capo_comprehend/types/describe_dominant_language_detection_job_response.py +44 -0
- capo_comprehend/types/describe_endpoint_request.py +31 -0
- capo_comprehend/types/describe_endpoint_response.py +42 -0
- capo_comprehend/types/describe_entities_detection_job_request.py +33 -0
- capo_comprehend/types/describe_entities_detection_job_response.py +42 -0
- capo_comprehend/types/describe_entity_recognizer_request.py +35 -0
- capo_comprehend/types/describe_entity_recognizer_response.py +42 -0
- capo_comprehend/types/describe_events_detection_job_request.py +31 -0
- capo_comprehend/types/describe_events_detection_job_response.py +42 -0
- capo_comprehend/types/describe_flywheel_iteration_request.py +45 -0
- capo_comprehend/types/describe_flywheel_iteration_response.py +42 -0
- capo_comprehend/types/describe_flywheel_request.py +31 -0
- capo_comprehend/types/describe_flywheel_response.py +42 -0
- capo_comprehend/types/describe_key_phrases_detection_job_request.py +33 -0
- capo_comprehend/types/describe_key_phrases_detection_job_response.py +42 -0
- capo_comprehend/types/describe_pii_entities_detection_job_request.py +33 -0
- capo_comprehend/types/describe_pii_entities_detection_job_response.py +41 -0
- capo_comprehend/types/describe_resource_policy_request.py +33 -0
- capo_comprehend/types/describe_resource_policy_response.py +70 -0
- capo_comprehend/types/describe_sentiment_detection_job_request.py +33 -0
- capo_comprehend/types/describe_sentiment_detection_job_response.py +42 -0
- capo_comprehend/types/describe_targeted_sentiment_detection_job_request.py +35 -0
- capo_comprehend/types/describe_targeted_sentiment_detection_job_response.py +46 -0
- capo_comprehend/types/describe_topics_detection_job_request.py +31 -0
- capo_comprehend/types/describe_topics_detection_job_response.py +42 -0
- capo_comprehend/types/description.py +5 -0
- capo_comprehend/types/detect_dominant_language_request.py +31 -0
- capo_comprehend/types/detect_dominant_language_response.py +42 -0
- capo_comprehend/types/detect_entities_request.py +98 -0
- capo_comprehend/types/detect_entities_response.py +110 -0
- capo_comprehend/types/detect_key_phrases_request.py +49 -0
- capo_comprehend/types/detect_key_phrases_response.py +42 -0
- capo_comprehend/types/detect_pii_entities_request.py +49 -0
- capo_comprehend/types/detect_pii_entities_response.py +42 -0
- capo_comprehend/types/detect_sentiment_request.py +49 -0
- capo_comprehend/types/detect_sentiment_response.py +57 -0
- capo_comprehend/types/detect_syntax_request.py +51 -0
- capo_comprehend/types/detect_syntax_response.py +42 -0
- capo_comprehend/types/detect_targeted_sentiment_request.py +51 -0
- capo_comprehend/types/detect_targeted_sentiment_response.py +42 -0
- capo_comprehend/types/detect_toxic_content_request.py +61 -0
- capo_comprehend/types/detect_toxic_content_response.py +42 -0
- capo_comprehend/types/document_class.py +50 -0
- capo_comprehend/types/document_classification_config.py +56 -0
- capo_comprehend/types/document_classification_job_filter.py +78 -0
- capo_comprehend/types/document_classification_job_properties.py +182 -0
- capo_comprehend/types/document_classification_job_properties_list.py +39 -0
- capo_comprehend/types/document_classifier_arn.py +5 -0
- capo_comprehend/types/document_classifier_augmented_manifests_list.py +39 -0
- capo_comprehend/types/document_classifier_data_format.py +17 -0
- capo_comprehend/types/document_classifier_document_type_format.py +17 -0
- capo_comprehend/types/document_classifier_documents.py +37 -0
- capo_comprehend/types/document_classifier_endpoint_arn.py +5 -0
- capo_comprehend/types/document_classifier_filter.py +80 -0
- capo_comprehend/types/document_classifier_input_data_config.py +145 -0
- capo_comprehend/types/document_classifier_mode.py +17 -0
- capo_comprehend/types/document_classifier_output_data_config.py +41 -0
- capo_comprehend/types/document_classifier_properties.py +277 -0
- capo_comprehend/types/document_classifier_properties_list.py +39 -0
- capo_comprehend/types/document_classifier_summaries_list.py +39 -0
- capo_comprehend/types/document_classifier_summary.py +82 -0
- capo_comprehend/types/document_label.py +50 -0
- capo_comprehend/types/document_metadata.py +49 -0
- capo_comprehend/types/document_read_action.py +17 -0
- capo_comprehend/types/document_read_feature_types.py +18 -0
- capo_comprehend/types/document_read_mode.py +17 -0
- capo_comprehend/types/document_reader_config.py +87 -0
- capo_comprehend/types/document_type.py +22 -0
- capo_comprehend/types/document_type_list_item.py +43 -0
- capo_comprehend/types/dominant_language.py +43 -0
- capo_comprehend/types/dominant_language_detection_job_filter.py +78 -0
- capo_comprehend/types/dominant_language_detection_job_properties.py +164 -0
- capo_comprehend/types/dominant_language_detection_job_properties_list.py +39 -0
- capo_comprehend/types/double.py +5 -0
- capo_comprehend/types/endpoint_filter.py +82 -0
- capo_comprehend/types/endpoint_properties.py +143 -0
- capo_comprehend/types/endpoint_properties_list.py +35 -0
- capo_comprehend/types/endpoint_status.py +20 -0
- capo_comprehend/types/entities_detection_job_filter.py +78 -0
- capo_comprehend/types/entities_detection_job_properties.py +201 -0
- capo_comprehend/types/entities_detection_job_properties_list.py +39 -0
- capo_comprehend/types/entity.py +92 -0
- capo_comprehend/types/entity_label.py +51 -0
- capo_comprehend/types/entity_recognition_config.py +41 -0
- capo_comprehend/types/entity_recognizer_annotations.py +37 -0
- capo_comprehend/types/entity_recognizer_arn.py +5 -0
- capo_comprehend/types/entity_recognizer_augmented_manifests_list.py +39 -0
- capo_comprehend/types/entity_recognizer_data_format.py +17 -0
- capo_comprehend/types/entity_recognizer_documents.py +54 -0
- capo_comprehend/types/entity_recognizer_endpoint_arn.py +5 -0
- capo_comprehend/types/entity_recognizer_entity_list.py +31 -0
- capo_comprehend/types/entity_recognizer_evaluation_metrics.py +64 -0
- capo_comprehend/types/entity_recognizer_filter.py +80 -0
- capo_comprehend/types/entity_recognizer_input_data_config.py +148 -0
- capo_comprehend/types/entity_recognizer_metadata.py +76 -0
- capo_comprehend/types/entity_recognizer_metadata_entity_types_list.py +39 -0
- capo_comprehend/types/entity_recognizer_metadata_entity_types_list_item.py +56 -0
- capo_comprehend/types/entity_recognizer_output_data_config.py +28 -0
- capo_comprehend/types/entity_recognizer_properties.py +256 -0
- capo_comprehend/types/entity_recognizer_properties_list.py +39 -0
- capo_comprehend/types/entity_recognizer_summaries_list.py +37 -0
- capo_comprehend/types/entity_recognizer_summary.py +82 -0
- capo_comprehend/types/entity_type.py +24 -0
- capo_comprehend/types/entity_type_name.py +5 -0
- capo_comprehend/types/entity_types_evaluation_metrics.py +64 -0
- capo_comprehend/types/entity_types_list.py +35 -0
- capo_comprehend/types/entity_types_list_item.py +31 -0
- capo_comprehend/types/errors_list_item.py +56 -0
- capo_comprehend/types/event_type_string.py +5 -0
- capo_comprehend/types/events_detection_job_filter.py +78 -0
- capo_comprehend/types/events_detection_job_properties.py +182 -0
- capo_comprehend/types/events_detection_job_properties_list.py +39 -0
- capo_comprehend/types/extracted_characters_list_item.py +34 -0
- capo_comprehend/types/float.py +5 -0
- capo_comprehend/types/flywheel_filter.py +73 -0
- capo_comprehend/types/flywheel_iteration_filter.py +58 -0
- capo_comprehend/types/flywheel_iteration_id.py +5 -0
- capo_comprehend/types/flywheel_iteration_properties.py +160 -0
- capo_comprehend/types/flywheel_iteration_properties_list.py +39 -0
- capo_comprehend/types/flywheel_iteration_status.py +21 -0
- capo_comprehend/types/flywheel_model_evaluation_metrics.py +78 -0
- capo_comprehend/types/flywheel_properties.py +168 -0
- capo_comprehend/types/flywheel_s3_uri.py +5 -0
- capo_comprehend/types/flywheel_status.py +20 -0
- capo_comprehend/types/flywheel_summary.py +125 -0
- capo_comprehend/types/flywheel_summary_list.py +33 -0
- capo_comprehend/types/geometry.py +53 -0
- capo_comprehend/types/iam_role_arn.py +5 -0
- capo_comprehend/types/import_model_request.py +76 -0
- capo_comprehend/types/import_model_response.py +30 -0
- capo_comprehend/types/inference_units_integer.py +5 -0
- capo_comprehend/types/input_data_config.py +69 -0
- capo_comprehend/types/input_format.py +17 -0
- capo_comprehend/types/integer.py +5 -0
- capo_comprehend/types/invalid_request_detail.py +42 -0
- capo_comprehend/types/invalid_request_detail_reason.py +19 -0
- capo_comprehend/types/invalid_request_reason.py +14 -0
- capo_comprehend/types/job_id.py +5 -0
- capo_comprehend/types/job_name.py +5 -0
- capo_comprehend/types/job_status.py +21 -0
- capo_comprehend/types/key_phrase.py +56 -0
- capo_comprehend/types/key_phrases_detection_job_filter.py +78 -0
- capo_comprehend/types/key_phrases_detection_job_properties.py +183 -0
- capo_comprehend/types/key_phrases_detection_job_properties_list.py +39 -0
- capo_comprehend/types/kms_key_id.py +5 -0
- capo_comprehend/types/label_delimiter.py +5 -0
- capo_comprehend/types/label_list_item.py +5 -0
- capo_comprehend/types/labels_list.py +17 -0
- capo_comprehend/types/language_code.py +27 -0
- capo_comprehend/types/list_datasets_request.py +61 -0
- capo_comprehend/types/list_datasets_response.py +49 -0
- capo_comprehend/types/list_document_classification_jobs_request.py +58 -0
- capo_comprehend/types/list_document_classification_jobs_response.py +49 -0
- capo_comprehend/types/list_document_classifier_summaries_request.py +37 -0
- capo_comprehend/types/list_document_classifier_summaries_response.py +49 -0
- capo_comprehend/types/list_document_classifiers_request.py +58 -0
- capo_comprehend/types/list_document_classifiers_response.py +49 -0
- capo_comprehend/types/list_dominant_language_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_dominant_language_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_endpoints_request.py +52 -0
- capo_comprehend/types/list_endpoints_response.py +49 -0
- capo_comprehend/types/list_entities_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_entities_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_entity_recognizer_summaries_request.py +37 -0
- capo_comprehend/types/list_entity_recognizer_summaries_response.py +49 -0
- capo_comprehend/types/list_entity_recognizers_request.py +58 -0
- capo_comprehend/types/list_entity_recognizers_response.py +49 -0
- capo_comprehend/types/list_events_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_events_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_flywheel_iteration_history_request.py +70 -0
- capo_comprehend/types/list_flywheel_iteration_history_response.py +49 -0
- capo_comprehend/types/list_flywheels_request.py +52 -0
- capo_comprehend/types/list_flywheels_response.py +49 -0
- capo_comprehend/types/list_key_phrases_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_key_phrases_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_of_block_references.py +31 -0
- capo_comprehend/types/list_of_blocks.py +29 -0
- capo_comprehend/types/list_of_child_blocks.py +29 -0
- capo_comprehend/types/list_of_classes.py +29 -0
- capo_comprehend/types/list_of_descriptive_mention_indices.py +19 -0
- capo_comprehend/types/list_of_detect_dominant_language_result.py +39 -0
- capo_comprehend/types/list_of_detect_entities_result.py +39 -0
- capo_comprehend/types/list_of_detect_key_phrases_result.py +39 -0
- capo_comprehend/types/list_of_detect_sentiment_result.py +39 -0
- capo_comprehend/types/list_of_detect_syntax_result.py +39 -0
- capo_comprehend/types/list_of_detect_targeted_sentiment_result.py +39 -0
- capo_comprehend/types/list_of_document_read_feature_types.py +39 -0
- capo_comprehend/types/list_of_document_type.py +35 -0
- capo_comprehend/types/list_of_dominant_languages.py +33 -0
- capo_comprehend/types/list_of_entities.py +29 -0
- capo_comprehend/types/list_of_entity_labels.py +29 -0
- capo_comprehend/types/list_of_errors.py +31 -0
- capo_comprehend/types/list_of_extracted_characters.py +39 -0
- capo_comprehend/types/list_of_key_phrases.py +29 -0
- capo_comprehend/types/list_of_labels.py +29 -0
- capo_comprehend/types/list_of_mentions.py +39 -0
- capo_comprehend/types/list_of_pii_entities.py +29 -0
- capo_comprehend/types/list_of_pii_entity_types.py +31 -0
- capo_comprehend/types/list_of_relationships.py +35 -0
- capo_comprehend/types/list_of_syntax_tokens.py +29 -0
- capo_comprehend/types/list_of_targeted_sentiment_entities.py +37 -0
- capo_comprehend/types/list_of_text_segments.py +29 -0
- capo_comprehend/types/list_of_toxic_content.py +29 -0
- capo_comprehend/types/list_of_toxic_labels.py +29 -0
- capo_comprehend/types/list_of_warnings.py +35 -0
- capo_comprehend/types/list_pii_entities_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_pii_entities_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_sentiment_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_sentiment_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_tags_for_resource_request.py +31 -0
- capo_comprehend/types/list_tags_for_resource_response.py +43 -0
- capo_comprehend/types/list_targeted_sentiment_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_targeted_sentiment_detection_jobs_response.py +49 -0
- capo_comprehend/types/list_topics_detection_jobs_request.py +58 -0
- capo_comprehend/types/list_topics_detection_jobs_response.py +49 -0
- capo_comprehend/types/mask_character.py +5 -0
- capo_comprehend/types/max_results_integer.py +5 -0
- capo_comprehend/types/mention_sentiment.py +56 -0
- capo_comprehend/types/model_status.py +23 -0
- capo_comprehend/types/model_type.py +17 -0
- capo_comprehend/types/number_of_documents.py +5 -0
- capo_comprehend/types/number_of_topics_integer.py +5 -0
- capo_comprehend/types/output_data_config.py +38 -0
- capo_comprehend/types/page_based_error_code.py +20 -0
- capo_comprehend/types/page_based_warning_code.py +17 -0
- capo_comprehend/types/part_of_speech_tag.py +57 -0
- capo_comprehend/types/part_of_speech_tag_type.py +33 -0
- capo_comprehend/types/pii_entities_detection_job_filter.py +78 -0
- capo_comprehend/types/pii_entities_detection_job_properties.py +203 -0
- capo_comprehend/types/pii_entities_detection_job_properties_list.py +39 -0
- capo_comprehend/types/pii_entities_detection_mask_mode.py +17 -0
- capo_comprehend/types/pii_entities_detection_mode.py +17 -0
- capo_comprehend/types/pii_entity.py +64 -0
- capo_comprehend/types/pii_entity_type.py +52 -0
- capo_comprehend/types/pii_output_data_config.py +38 -0
- capo_comprehend/types/point.py +50 -0
- capo_comprehend/types/policy.py +5 -0
- capo_comprehend/types/policy_revision_id.py +5 -0
- capo_comprehend/types/polygon.py +29 -0
- capo_comprehend/types/put_resource_policy_request.py +48 -0
- capo_comprehend/types/put_resource_policy_response.py +30 -0
- capo_comprehend/types/redaction_config.py +70 -0
- capo_comprehend/types/relationship_type.py +14 -0
- capo_comprehend/types/relationships_list_item.py +51 -0
- capo_comprehend/types/s3_uri.py +5 -0
- capo_comprehend/types/security_group_id.py +5 -0
- capo_comprehend/types/security_group_ids.py +19 -0
- capo_comprehend/types/semi_structured_document_blob.py +15 -0
- capo_comprehend/types/sentiment_detection_job_filter.py +78 -0
- capo_comprehend/types/sentiment_detection_job_properties.py +183 -0
- capo_comprehend/types/sentiment_detection_job_properties_list.py +39 -0
- capo_comprehend/types/sentiment_score.py +78 -0
- capo_comprehend/types/sentiment_type.py +19 -0
- capo_comprehend/types/split.py +17 -0
- capo_comprehend/types/start_document_classification_job_request.py +148 -0
- capo_comprehend/types/start_document_classification_job_response.py +59 -0
- capo_comprehend/types/start_dominant_language_detection_job_request.py +130 -0
- capo_comprehend/types/start_dominant_language_detection_job_response.py +50 -0
- capo_comprehend/types/start_entities_detection_job_request.py +168 -0
- capo_comprehend/types/start_entities_detection_job_response.py +59 -0
- capo_comprehend/types/start_events_detection_job_request.py +150 -0
- capo_comprehend/types/start_events_detection_job_response.py +50 -0
- capo_comprehend/types/start_flywheel_iteration_request.py +42 -0
- capo_comprehend/types/start_flywheel_iteration_response.py +39 -0
- capo_comprehend/types/start_key_phrases_detection_job_request.py +150 -0
- capo_comprehend/types/start_key_phrases_detection_job_response.py +50 -0
- capo_comprehend/types/start_pii_entities_detection_job_request.py +169 -0
- capo_comprehend/types/start_pii_entities_detection_job_response.py +50 -0
- capo_comprehend/types/start_sentiment_detection_job_request.py +150 -0
- capo_comprehend/types/start_sentiment_detection_job_response.py +50 -0
- capo_comprehend/types/start_targeted_sentiment_detection_job_request.py +148 -0
- capo_comprehend/types/start_targeted_sentiment_detection_job_response.py +50 -0
- capo_comprehend/types/start_topics_detection_job_request.py +139 -0
- capo_comprehend/types/start_topics_detection_job_response.py +50 -0
- capo_comprehend/types/stop_dominant_language_detection_job_request.py +33 -0
- capo_comprehend/types/stop_dominant_language_detection_job_response.py +43 -0
- capo_comprehend/types/stop_entities_detection_job_request.py +31 -0
- capo_comprehend/types/stop_entities_detection_job_response.py +43 -0
- capo_comprehend/types/stop_events_detection_job_request.py +31 -0
- capo_comprehend/types/stop_events_detection_job_response.py +43 -0
- capo_comprehend/types/stop_key_phrases_detection_job_request.py +31 -0
- capo_comprehend/types/stop_key_phrases_detection_job_response.py +43 -0
- capo_comprehend/types/stop_pii_entities_detection_job_request.py +31 -0
- capo_comprehend/types/stop_pii_entities_detection_job_response.py +43 -0
- capo_comprehend/types/stop_sentiment_detection_job_request.py +31 -0
- capo_comprehend/types/stop_sentiment_detection_job_response.py +43 -0
- capo_comprehend/types/stop_targeted_sentiment_detection_job_request.py +33 -0
- capo_comprehend/types/stop_targeted_sentiment_detection_job_response.py +43 -0
- capo_comprehend/types/stop_training_document_classifier_request.py +35 -0
- capo_comprehend/types/stop_training_document_classifier_response.py +18 -0
- capo_comprehend/types/stop_training_entity_recognizer_request.py +35 -0
- capo_comprehend/types/stop_training_entity_recognizer_response.py +18 -0
- capo_comprehend/types/string.py +5 -0
- capo_comprehend/types/string_list.py +17 -0
- capo_comprehend/types/subnet_id.py +5 -0
- capo_comprehend/types/subnets.py +17 -0
- capo_comprehend/types/syntax_language_code.py +21 -0
- capo_comprehend/types/syntax_token.py +68 -0
- capo_comprehend/types/tag.py +38 -0
- capo_comprehend/types/tag_key.py +5 -0
- capo_comprehend/types/tag_key_list.py +17 -0
- capo_comprehend/types/tag_list.py +29 -0
- capo_comprehend/types/tag_resource_request.py +45 -0
- capo_comprehend/types/tag_resource_response.py +18 -0
- capo_comprehend/types/tag_value.py +5 -0
- capo_comprehend/types/target_event_types.py +19 -0
- capo_comprehend/types/targeted_sentiment_detection_job_filter.py +78 -0
- capo_comprehend/types/targeted_sentiment_detection_job_properties.py +180 -0
- capo_comprehend/types/targeted_sentiment_detection_job_properties_list.py +39 -0
- capo_comprehend/types/targeted_sentiment_entity.py +59 -0
- capo_comprehend/types/targeted_sentiment_entity_type.py +32 -0
- capo_comprehend/types/targeted_sentiment_mention.py +112 -0
- capo_comprehend/types/task_config.py +83 -0
- capo_comprehend/types/text_segment.py +31 -0
- capo_comprehend/types/timestamp.py +20 -0
- capo_comprehend/types/topics_detection_job_filter.py +78 -0
- capo_comprehend/types/topics_detection_job_properties.py +171 -0
- capo_comprehend/types/topics_detection_job_properties_list.py +39 -0
- capo_comprehend/types/toxic_content.py +51 -0
- capo_comprehend/types/toxic_content_type.py +22 -0
- capo_comprehend/types/toxic_labels.py +57 -0
- capo_comprehend/types/untag_resource_request.py +47 -0
- capo_comprehend/types/untag_resource_response.py +18 -0
- capo_comprehend/types/update_data_security_config.py +48 -0
- capo_comprehend/types/update_endpoint_request.py +67 -0
- capo_comprehend/types/update_endpoint_response.py +30 -0
- capo_comprehend/types/update_flywheel_request.py +68 -0
- capo_comprehend/types/update_flywheel_response.py +42 -0
- capo_comprehend/types/version_name.py +5 -0
- capo_comprehend/types/vpc_config.py +59 -0
- capo_comprehend/types/warnings_list_item.py +56 -0
- capo_comprehend-0.1.0.dist-info/METADATA +101 -0
- capo_comprehend-0.1.0.dist-info/RECORD +552 -0
- capo_comprehend-0.1.0.dist-info/WHEEL +5 -0
- capo_comprehend-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_comprehend-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from . import _iter as _iter
|
|
4
|
+
from . import _protocol as _protocol
|
|
5
|
+
from ._auth._identity import Credentials as Credentials
|
|
6
|
+
from ._auth._identity import Identity as Identity
|
|
7
|
+
from ._auth._providers import (
|
|
8
|
+
AssumeRoleCredentialsProvider as AssumeRoleCredentialsProvider,
|
|
9
|
+
)
|
|
10
|
+
from ._auth._providers import (
|
|
11
|
+
AssumeRoleError as AssumeRoleError,
|
|
12
|
+
)
|
|
13
|
+
from ._auth._providers import (
|
|
14
|
+
CachedProvider as CachedProvider,
|
|
15
|
+
)
|
|
16
|
+
from ._auth._providers import (
|
|
17
|
+
ChainedProvider as ChainedProvider,
|
|
18
|
+
)
|
|
19
|
+
from ._auth._providers import (
|
|
20
|
+
CredentialsProvider as CredentialsProvider,
|
|
21
|
+
)
|
|
22
|
+
from ._auth._providers import (
|
|
23
|
+
EnvCredentialsProvider as EnvCredentialsProvider,
|
|
24
|
+
)
|
|
25
|
+
from ._auth._providers import (
|
|
26
|
+
IdentityNotFound as IdentityNotFound,
|
|
27
|
+
)
|
|
28
|
+
from ._auth._providers import (
|
|
29
|
+
IdentityProvider as IdentityProvider,
|
|
30
|
+
)
|
|
31
|
+
from ._auth._providers import (
|
|
32
|
+
MissingDependencyError as MissingDependencyError,
|
|
33
|
+
)
|
|
34
|
+
from ._auth._providers import (
|
|
35
|
+
ProfileCredentialsProvider as ProfileCredentialsProvider,
|
|
36
|
+
)
|
|
37
|
+
from ._auth._providers import (
|
|
38
|
+
SsoCredentialsProvider as SsoCredentialsProvider,
|
|
39
|
+
)
|
|
40
|
+
from ._auth._providers import (
|
|
41
|
+
SSOError as SSOError,
|
|
42
|
+
)
|
|
43
|
+
from ._auth._providers import (
|
|
44
|
+
StaticAwsCredentialsProvider as StaticAwsCredentialsProvider,
|
|
45
|
+
)
|
|
46
|
+
from ._auth._providers import (
|
|
47
|
+
WebIdentityCredentialsProvider as WebIdentityCredentialsProvider,
|
|
48
|
+
)
|
|
49
|
+
from ._auth._signers import Signer as Signer
|
|
50
|
+
from ._auth._signers import SigV4Signer as SigV4Signer
|
|
51
|
+
from ._services._pipeline import (
|
|
52
|
+
AsyncOperationOptions as AsyncOperationOptions,
|
|
53
|
+
)
|
|
54
|
+
from ._services._pipeline import (
|
|
55
|
+
AsyncOperationRequest as AsyncOperationRequest,
|
|
56
|
+
)
|
|
57
|
+
from ._services._pipeline import (
|
|
58
|
+
AsyncOperationResponse as AsyncOperationResponse,
|
|
59
|
+
)
|
|
60
|
+
from ._services._pipeline import (
|
|
61
|
+
OperationOptions as OperationOptions,
|
|
62
|
+
)
|
|
63
|
+
from ._services._pipeline import (
|
|
64
|
+
OperationRequest as OperationRequest,
|
|
65
|
+
)
|
|
66
|
+
from ._services._pipeline import (
|
|
67
|
+
OperationResponse as OperationResponse,
|
|
68
|
+
)
|
|
69
|
+
from ._services.async_comprehend import AsyncComprehendClient as AsyncComprehendClient
|
|
70
|
+
from ._services.comprehend import ComprehendClient as ComprehendClient
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import asyncio
|
|
4
|
+
from typing import TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
import trio
|
|
8
|
+
else:
|
|
9
|
+
try:
|
|
10
|
+
import trio
|
|
11
|
+
except ImportError:
|
|
12
|
+
trio = None
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def in_trio_run() -> bool:
|
|
16
|
+
if trio is None:
|
|
17
|
+
return False
|
|
18
|
+
return trio.lowlevel.in_trio_run()
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
async def anysleep(delay: float) -> None:
|
|
22
|
+
if in_trio_run():
|
|
23
|
+
await trio.sleep(delay)
|
|
24
|
+
else:
|
|
25
|
+
await asyncio.sleep(delay)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
from typing import TypedDict
|
|
5
|
+
|
|
6
|
+
from typing_extensions import NotRequired
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class Identity(TypedDict):
|
|
10
|
+
expiration: NotRequired[datetime | None]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Credentials(Identity):
|
|
14
|
+
access_key: str
|
|
15
|
+
secret_key: str
|
|
16
|
+
session_token: NotRequired[str | None]
|