capo-iotthingsgraph 0.5.0__tar.gz → 0.7.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_iotthingsgraph-0.5.0/src/capo_iotthingsgraph.egg-info → capo_iotthingsgraph-0.7.0}/PKG-INFO +2 -2
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/pyproject.toml +2 -2
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_auth/_sigv4.py +9 -9
- capo_iotthingsgraph-0.7.0/src/capo_iotthingsgraph/_aws.py +28 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/associate_entity_to_thing.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/create_flow_template.py +5 -5
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/create_system_instance.py +5 -5
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/create_system_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_flow_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_namespace.py +2 -2
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_system_instance.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_system_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/deploy_system_instance.py +5 -5
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/deprecate_flow_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/deprecate_system_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/describe_namespace.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/dissociate_entity_from_thing.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_entities.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_flow_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_flow_template_revisions.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_namespace_deletion_status.py +3 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_system_instance.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_system_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_system_template_revisions.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_upload_status.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/list_flow_execution_messages.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/list_tags_for_resource.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_entities.py +3 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_flow_executions.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_flow_templates.py +3 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_system_instances.py +3 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_system_templates.py +3 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_things.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/tag_resource.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/undeploy_system_instance.py +5 -5
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/untag_resource.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/update_flow_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/update_system_template.py +4 -4
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/upload_entity_definitions.py +3 -3
- capo_iotthingsgraph-0.7.0/src/capo_iotthingsgraph/_services/_pipeline.py +522 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_services/async_io_t_things_graph.py +124 -41
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_services/io_t_things_graph.py +124 -41
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/_base.py +8 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/internal_failure_exception.py +11 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/invalid_request_exception.py +11 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/limit_exceeded_exception.py +11 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/resource_already_exists_exception.py +9 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/resource_in_use_exception.py +11 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/resource_not_found_exception.py +11 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/throttling_exception.py +11 -3
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0/src/capo_iotthingsgraph.egg-info}/PKG-INFO +2 -2
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph.egg-info/SOURCES.txt +1 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph.egg-info/requires.txt +1 -1
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/tests/test_sigv4.py +21 -6
- capo_iotthingsgraph-0.5.0/src/capo_iotthingsgraph/_services/_pipeline.py +0 -266
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/LICENSE +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/README.md +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/setup.cfg +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/__init__.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_async.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_auth/_identity.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_auth/_providers.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_auth/_signers.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_auth/_zapros_handler.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_body.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_iter.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_pagination.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_protocol/__init__.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_protocol/errors.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_protocol/eventstream.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_protocol/serialize.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_protocol/xml.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_rule_engine/__init__.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_rule_engine/_aws_partition.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_services/_aws_config.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/errors/__init__.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/py.typed +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/_prelude/blob.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/_prelude/timestamp.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/arn.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/associate_entity_to_thing_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/associate_entity_to_thing_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/create_flow_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/create_flow_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/create_system_instance_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/create_system_instance_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/create_system_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/create_system_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/definition_document.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/definition_language.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/definition_text.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_flow_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_flow_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_namespace_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_namespace_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_system_instance_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_system_instance_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_system_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/delete_system_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/dependency_revision.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/dependency_revisions.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deploy_system_instance_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deploy_system_instance_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deployment_target.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deprecate_existing_entities.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deprecate_flow_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deprecate_flow_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deprecate_system_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/deprecate_system_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/describe_namespace_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/describe_namespace_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/dissociate_entity_from_thing_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/dissociate_entity_from_thing_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/enabled.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_description.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_descriptions.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_filter.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_filter_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_filter_value.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_filter_values.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_filters.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_type.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/entity_types.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/error_message.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_event_type.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_id.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_message.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_message_id.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_message_payload.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_messages.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_status.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_summaries.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_execution_summary.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_description.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_filter.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_filter_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_filter_value.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_filter_values.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_filters.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_summaries.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/flow_template_summary.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_entities_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_entities_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_flow_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_flow_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_flow_template_revisions_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_flow_template_revisions_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_namespace_deletion_status_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_namespace_deletion_status_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_system_instance_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_system_instance_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_system_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_system_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_system_template_revisions_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_system_template_revisions_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_upload_status_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/get_upload_status_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/greengrass_deployment_id.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/greengrass_group_id.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/greengrass_group_version_id.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/group_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/list_flow_execution_messages_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/list_flow_execution_messages_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/list_tags_for_resource_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/list_tags_for_resource_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/max_results.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/metrics_configuration.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/namespace_deletion_status.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/namespace_deletion_status_error_codes.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/namespace_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/next_token.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/resource_arn.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/role_arn.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/s3_bucket_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_entities_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_entities_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_flow_executions_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_flow_executions_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_flow_templates_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_flow_templates_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_system_instances_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_system_instances_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_system_templates_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_system_templates_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_things_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/search_things_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/string.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/string_list.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/sync_with_public_namespace.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_deployment_status.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_description.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_filter.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_filter_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_filter_value.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_filter_values.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_filters.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_summaries.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_instance_summary.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_description.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_filter.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_filter_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_filter_value.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_filter_values.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_filters.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_summaries.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/system_template_summary.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag_key.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag_key_list.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag_list.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag_resource_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag_resource_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/tag_value.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/thing.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/thing_arn.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/thing_name.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/things.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/timestamp.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/undeploy_system_instance_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/undeploy_system_instance_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/untag_resource_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/untag_resource_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/update_flow_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/update_flow_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/update_system_template_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/update_system_template_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/upload_entity_definitions_request.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/upload_entity_definitions_response.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/upload_id.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/upload_status.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/urn.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/urns.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/types/version.py +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph.egg-info/dependency_links.txt +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph.egg-info/top_level.txt +0 -0
- {capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/tests/test_body.py +0 -0
{capo_iotthingsgraph-0.5.0/src/capo_iotthingsgraph.egg-info → capo_iotthingsgraph-0.7.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capo-iotthingsgraph
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Python SDK for AWS Iotthingsgraph.
|
|
5
5
|
Classifier: Development Status :: 4 - Beta
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -17,7 +17,7 @@ Classifier: Typing :: Typed
|
|
|
17
17
|
Requires-Python: >=3.10
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
|
-
Requires-Dist: zapros>=0.
|
|
20
|
+
Requires-Dist: zapros>=0.21.0
|
|
21
21
|
Provides-Extra: anyio
|
|
22
22
|
Requires-Dist: anyio>=3.0; extra == "anyio"
|
|
23
23
|
Provides-Extra: sso
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "capo-iotthingsgraph"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.7.0"
|
|
4
4
|
description = "Python SDK for AWS Iotthingsgraph."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -19,7 +19,7 @@ classifiers = [
|
|
|
19
19
|
"Typing :: Typed",
|
|
20
20
|
]
|
|
21
21
|
dependencies = [
|
|
22
|
-
"zapros>=0.
|
|
22
|
+
"zapros>=0.21.0",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[project.optional-dependencies]
|
{capo_iotthingsgraph-0.5.0 → capo_iotthingsgraph-0.7.0}/src/capo_iotthingsgraph/_auth/_sigv4.py
RENAMED
|
@@ -17,7 +17,7 @@ import hmac
|
|
|
17
17
|
import re
|
|
18
18
|
from collections.abc import AsyncIterator, Iterator
|
|
19
19
|
from typing import Any, Literal, TypedDict, cast
|
|
20
|
-
from urllib.parse import quote
|
|
20
|
+
from urllib.parse import quote
|
|
21
21
|
|
|
22
22
|
import zapros
|
|
23
23
|
from pywhatwgurl import URLSearchParams
|
|
@@ -134,11 +134,11 @@ def _remove_dot_segments(path: str) -> str:
|
|
|
134
134
|
def _canonical_path(path: str, *, double_encode: bool, normalize: bool) -> str:
|
|
135
135
|
"""Build CanonicalURI.
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
normalize dot segments and URI-encode each
|
|
139
|
-
rules-engine ``disableNormalizePath`` /
|
|
140
|
-
turn those steps off — S3-family
|
|
141
|
-
signed exactly as provided.
|
|
137
|
+
``path`` is the path as sent on the wire, so it is already URI-encoded
|
|
138
|
+
once. Standard services normalize dot segments and URI-encode each
|
|
139
|
+
segment a second time. The rules-engine ``disableNormalizePath`` /
|
|
140
|
+
``disableDoubleEncoding`` flags turn those steps off — S3-family
|
|
141
|
+
services set both, so the path is signed exactly as provided.
|
|
142
142
|
"""
|
|
143
143
|
if not path:
|
|
144
144
|
return "/"
|
|
@@ -148,9 +148,9 @@ def _canonical_path(path: str, *, double_encode: bool, normalize: bool) -> str:
|
|
|
148
148
|
path = _remove_dot_segments(path)
|
|
149
149
|
if not double_encode:
|
|
150
150
|
return path
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
return quote(
|
|
151
|
+
# Never decode first: that would turn a "%2F" inside a segment (an ARN in
|
|
152
|
+
# a path label) into a separator and leave it out of the second encoding.
|
|
153
|
+
return quote(path, safe="/~")
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
def _canonical_query(query: str) -> str:
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""Error codes and HTTP statuses that are retried whether or not the model marks them @retryable."""
|
|
2
|
+
|
|
3
|
+
# Transient: retried with the normal backoff.
|
|
4
|
+
KNOWN_RETRYABLE_STATUSES = frozenset({500, 502, 503, 504})
|
|
5
|
+
KNOWN_RETRYABLE_CODES = frozenset(
|
|
6
|
+
{"PriorRequestNotComplete", "RequestTimeout", "RequestTimeoutException"}
|
|
7
|
+
)
|
|
8
|
+
|
|
9
|
+
# Throttling: retried with the longer throttling backoff.
|
|
10
|
+
KNOWN_THROTTLING_STATUSES = frozenset({429})
|
|
11
|
+
KNOWN_THROTTLING_CODES = frozenset(
|
|
12
|
+
{
|
|
13
|
+
"BandwidthLimitExceeded",
|
|
14
|
+
"EC2ThrottledException",
|
|
15
|
+
"LimitExceededException",
|
|
16
|
+
"PriorRequestNotComplete",
|
|
17
|
+
"ProvisionedThroughputExceededException",
|
|
18
|
+
"RequestLimitExceeded",
|
|
19
|
+
"RequestThrottled",
|
|
20
|
+
"RequestThrottledException",
|
|
21
|
+
"SlowDown",
|
|
22
|
+
"ThrottledException",
|
|
23
|
+
"Throttling",
|
|
24
|
+
"ThrottlingException",
|
|
25
|
+
"TooManyRequestsException",
|
|
26
|
+
"TransactionInProgressException",
|
|
27
|
+
}
|
|
28
|
+
)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -36,23 +36,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
36
36
|
match code:
|
|
37
37
|
case "InternalFailureException":
|
|
38
38
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
39
|
-
data, message
|
|
39
|
+
data, message, response=response
|
|
40
40
|
)
|
|
41
41
|
case "InvalidRequestException":
|
|
42
42
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "LimitExceededException":
|
|
46
46
|
raise capo_iotthingsgraph.errors.limit_exceeded_exception.LimitExceededException.from_aws_json_1_1(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case "ResourceAlreadyExistsException":
|
|
50
50
|
raise capo_iotthingsgraph.errors.resource_already_exists_exception.ResourceAlreadyExistsException.from_aws_json_1_1(
|
|
51
|
-
data, message
|
|
51
|
+
data, message, response=response
|
|
52
52
|
)
|
|
53
53
|
case "ThrottlingException":
|
|
54
54
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
55
|
-
data, message
|
|
55
|
+
data, message, response=response
|
|
56
56
|
)
|
|
57
57
|
case _:
|
|
58
58
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -39,23 +39,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
39
39
|
match code:
|
|
40
40
|
case "InternalFailureException":
|
|
41
41
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "InvalidRequestException":
|
|
45
45
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "LimitExceededException":
|
|
49
49
|
raise capo_iotthingsgraph.errors.limit_exceeded_exception.LimitExceededException.from_aws_json_1_1(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ResourceAlreadyExistsException":
|
|
53
53
|
raise capo_iotthingsgraph.errors.resource_already_exists_exception.ResourceAlreadyExistsException.from_aws_json_1_1(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case "ThrottlingException":
|
|
57
57
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
58
|
-
data, message
|
|
58
|
+
data, message, response=response
|
|
59
59
|
)
|
|
60
60
|
case _:
|
|
61
61
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -35,19 +35,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
35
35
|
match code:
|
|
36
36
|
case "InternalFailureException":
|
|
37
37
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
38
|
-
data, message
|
|
38
|
+
data, message, response=response
|
|
39
39
|
)
|
|
40
40
|
case "InvalidRequestException":
|
|
41
41
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceAlreadyExistsException":
|
|
45
45
|
raise capo_iotthingsgraph.errors.resource_already_exists_exception.ResourceAlreadyExistsException.from_aws_json_1_1(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ThrottlingException":
|
|
49
49
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case _:
|
|
53
53
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceInUseException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_in_use_exception.ResourceInUseException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -31,11 +31,11 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
31
31
|
match code:
|
|
32
32
|
case "InternalFailureException":
|
|
33
33
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
34
|
-
data, message
|
|
34
|
+
data, message, response=response
|
|
35
35
|
)
|
|
36
36
|
case "ThrottlingException":
|
|
37
37
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
38
|
-
data, message
|
|
38
|
+
data, message, response=response
|
|
39
39
|
)
|
|
40
40
|
case _:
|
|
41
41
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceInUseException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_in_use_exception.ResourceInUseException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceInUseException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_in_use_exception.ResourceInUseException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -35,23 +35,23 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
35
35
|
match code:
|
|
36
36
|
case "InternalFailureException":
|
|
37
37
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
38
|
-
data, message
|
|
38
|
+
data, message, response=response
|
|
39
39
|
)
|
|
40
40
|
case "InvalidRequestException":
|
|
41
41
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceInUseException":
|
|
45
45
|
raise capo_iotthingsgraph.errors.resource_in_use_exception.ResourceInUseException.from_aws_json_1_1(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ResourceNotFoundException":
|
|
49
49
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case "ThrottlingException":
|
|
53
53
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
54
|
-
data, message
|
|
54
|
+
data, message, response=response
|
|
55
55
|
)
|
|
56
56
|
case _:
|
|
57
57
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -33,19 +33,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
33
33
|
match code:
|
|
34
34
|
case "InternalFailureException":
|
|
35
35
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
36
|
-
data, message
|
|
36
|
+
data, message, response=response
|
|
37
37
|
)
|
|
38
38
|
case "InvalidRequestException":
|
|
39
39
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
40
|
-
data, message
|
|
40
|
+
data, message, response=response
|
|
41
41
|
)
|
|
42
42
|
case "ResourceNotFoundException":
|
|
43
43
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
44
|
-
data, message
|
|
44
|
+
data, message, response=response
|
|
45
45
|
)
|
|
46
46
|
case "ThrottlingException":
|
|
47
47
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
48
|
-
data, message
|
|
48
|
+
data, message, response=response
|
|
49
49
|
)
|
|
50
50
|
case _:
|
|
51
51
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,19 +34,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case _:
|
|
52
52
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -35,19 +35,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
35
35
|
match code:
|
|
36
36
|
case "InternalFailureException":
|
|
37
37
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
38
|
-
data, message
|
|
38
|
+
data, message, response=response
|
|
39
39
|
)
|
|
40
40
|
case "InvalidRequestException":
|
|
41
41
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
42
|
-
data, message
|
|
42
|
+
data, message, response=response
|
|
43
43
|
)
|
|
44
44
|
case "ResourceNotFoundException":
|
|
45
45
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
46
|
-
data, message
|
|
46
|
+
data, message, response=response
|
|
47
47
|
)
|
|
48
48
|
case "ThrottlingException":
|
|
49
49
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
50
|
-
data, message
|
|
50
|
+
data, message, response=response
|
|
51
51
|
)
|
|
52
52
|
case _:
|
|
53
53
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,19 +34,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case _:
|
|
52
52
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,19 +34,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case _:
|
|
52
52
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,15 +34,15 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ThrottlingException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case _:
|
|
48
48
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,19 +34,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case _:
|
|
52
52
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,19 +34,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case _:
|
|
52
52
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -34,19 +34,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
34
34
|
match code:
|
|
35
35
|
case "InternalFailureException":
|
|
36
36
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
37
|
-
data, message
|
|
37
|
+
data, message, response=response
|
|
38
38
|
)
|
|
39
39
|
case "InvalidRequestException":
|
|
40
40
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
41
|
-
data, message
|
|
41
|
+
data, message, response=response
|
|
42
42
|
)
|
|
43
43
|
case "ResourceNotFoundException":
|
|
44
44
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
45
|
-
data, message
|
|
45
|
+
data, message, response=response
|
|
46
46
|
)
|
|
47
47
|
case "ThrottlingException":
|
|
48
48
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
49
|
-
data, message
|
|
49
|
+
data, message, response=response
|
|
50
50
|
)
|
|
51
51
|
case _:
|
|
52
52
|
raise UnknownServiceError(code=code, message=message, response=response)
|
|
@@ -36,19 +36,19 @@ def handle_error(response: zapros.Response) -> Never:
|
|
|
36
36
|
match code:
|
|
37
37
|
case "InternalFailureException":
|
|
38
38
|
raise capo_iotthingsgraph.errors.internal_failure_exception.InternalFailureException.from_aws_json_1_1(
|
|
39
|
-
data, message
|
|
39
|
+
data, message, response=response
|
|
40
40
|
)
|
|
41
41
|
case "InvalidRequestException":
|
|
42
42
|
raise capo_iotthingsgraph.errors.invalid_request_exception.InvalidRequestException.from_aws_json_1_1(
|
|
43
|
-
data, message
|
|
43
|
+
data, message, response=response
|
|
44
44
|
)
|
|
45
45
|
case "ResourceNotFoundException":
|
|
46
46
|
raise capo_iotthingsgraph.errors.resource_not_found_exception.ResourceNotFoundException.from_aws_json_1_1(
|
|
47
|
-
data, message
|
|
47
|
+
data, message, response=response
|
|
48
48
|
)
|
|
49
49
|
case "ThrottlingException":
|
|
50
50
|
raise capo_iotthingsgraph.errors.throttling_exception.ThrottlingException.from_aws_json_1_1(
|
|
51
|
-
data, message
|
|
51
|
+
data, message, response=response
|
|
52
52
|
)
|
|
53
53
|
case _:
|
|
54
54
|
raise UnknownServiceError(code=code, message=message, response=response)
|