capo-location 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_location/__init__.py +70 -0
- capo_location/_async.py +25 -0
- capo_location/_auth/_identity.py +16 -0
- capo_location/_auth/_providers.py +886 -0
- capo_location/_auth/_signers.py +88 -0
- capo_location/_auth/_sigv4.py +434 -0
- capo_location/_auth/_zapros_handler.py +80 -0
- capo_location/_iter.py +113 -0
- capo_location/_operations/location_service/associate_tracker_consumer.py +171 -0
- capo_location/_operations/location_service/batch_delete_device_position_history.py +172 -0
- capo_location/_operations/location_service/batch_delete_geofence.py +170 -0
- capo_location/_operations/location_service/batch_evaluate_geofences.py +174 -0
- capo_location/_operations/location_service/batch_get_device_position.py +168 -0
- capo_location/_operations/location_service/batch_put_geofence.py +175 -0
- capo_location/_operations/location_service/batch_update_device_position.py +167 -0
- capo_location/_operations/location_service/calculate_route.py +179 -0
- capo_location/_operations/location_service/calculate_route_matrix.py +176 -0
- capo_location/_operations/location_service/cancel_job.py +155 -0
- capo_location/_operations/location_service/create_geofence_collection.py +170 -0
- capo_location/_operations/location_service/create_key.py +168 -0
- capo_location/_operations/location_service/create_map.py +168 -0
- capo_location/_operations/location_service/create_place_index.py +175 -0
- capo_location/_operations/location_service/create_route_calculator.py +170 -0
- capo_location/_operations/location_service/create_tracker.py +172 -0
- capo_location/_operations/location_service/delete_geofence_collection.py +157 -0
- capo_location/_operations/location_service/delete_key.py +153 -0
- capo_location/_operations/location_service/delete_map.py +151 -0
- capo_location/_operations/location_service/delete_place_index.py +157 -0
- capo_location/_operations/location_service/delete_route_calculator.py +157 -0
- capo_location/_operations/location_service/delete_tracker.py +155 -0
- capo_location/_operations/location_service/describe_geofence_collection.py +163 -0
- capo_location/_operations/location_service/describe_key.py +166 -0
- capo_location/_operations/location_service/describe_map.py +166 -0
- capo_location/_operations/location_service/describe_place_index.py +164 -0
- capo_location/_operations/location_service/describe_route_calculator.py +163 -0
- capo_location/_operations/location_service/describe_tracker.py +167 -0
- capo_location/_operations/location_service/disassociate_tracker_consumer.py +161 -0
- capo_location/_operations/location_service/forecast_geofence_events.py +174 -0
- capo_location/_operations/location_service/get_device_position.py +173 -0
- capo_location/_operations/location_service/get_device_position_history.py +171 -0
- capo_location/_operations/location_service/get_geofence.py +170 -0
- capo_location/_operations/location_service/get_job.py +164 -0
- capo_location/_operations/location_service/get_map_glyphs.py +176 -0
- capo_location/_operations/location_service/get_map_sprites.py +170 -0
- capo_location/_operations/location_service/get_map_style_descriptor.py +175 -0
- capo_location/_operations/location_service/get_map_tile.py +172 -0
- capo_location/_operations/location_service/get_place.py +165 -0
- capo_location/_operations/location_service/list_device_positions.py +164 -0
- capo_location/_operations/location_service/list_geofence_collections.py +159 -0
- capo_location/_operations/location_service/list_geofences.py +171 -0
- capo_location/_operations/location_service/list_jobs.py +157 -0
- capo_location/_operations/location_service/list_keys.py +157 -0
- capo_location/_operations/location_service/list_maps.py +156 -0
- capo_location/_operations/location_service/list_place_indexes.py +163 -0
- capo_location/_operations/location_service/list_route_calculators.py +159 -0
- capo_location/_operations/location_service/list_tags_for_resource.py +162 -0
- capo_location/_operations/location_service/list_tracker_consumers.py +168 -0
- capo_location/_operations/location_service/list_trackers.py +161 -0
- capo_location/_operations/location_service/put_geofence.py +178 -0
- capo_location/_operations/location_service/search_place_index_for_position.py +172 -0
- capo_location/_operations/location_service/search_place_index_for_suggestions.py +175 -0
- capo_location/_operations/location_service/search_place_index_for_text.py +173 -0
- capo_location/_operations/location_service/start_job.py +160 -0
- capo_location/_operations/location_service/tag_resource.py +159 -0
- capo_location/_operations/location_service/untag_resource.py +158 -0
- capo_location/_operations/location_service/update_geofence_collection.py +166 -0
- capo_location/_operations/location_service/update_key.py +164 -0
- capo_location/_operations/location_service/update_map.py +164 -0
- capo_location/_operations/location_service/update_place_index.py +171 -0
- capo_location/_operations/location_service/update_route_calculator.py +166 -0
- capo_location/_operations/location_service/update_tracker.py +168 -0
- capo_location/_operations/location_service/verify_device_position.py +171 -0
- capo_location/_pagination.py +21 -0
- capo_location/_protocol/__init__.py +1 -0
- capo_location/_protocol/errors.py +93 -0
- capo_location/_protocol/eventstream.py +238 -0
- capo_location/_protocol/serialize.py +47 -0
- capo_location/_protocol/xml.py +33 -0
- capo_location/_resources/location_service/api_key_resource.py +638 -0
- capo_location/_resources/location_service/generic_resource.py +337 -0
- capo_location/_resources/location_service/geofence_collection_resource.py +1414 -0
- capo_location/_resources/location_service/job_resource.py +492 -0
- capo_location/_resources/location_service/map_resource.py +1056 -0
- capo_location/_resources/location_service/place_index_resource.py +1206 -0
- capo_location/_resources/location_service/route_calculator_resource.py +1001 -0
- capo_location/_resources/location_service/tracker_resource.py +1795 -0
- capo_location/_rule_engine/__init__.py +0 -0
- capo_location/_rule_engine/_aws_partition.py +160 -0
- capo_location/_rule_engine/_endpoint_rule_set.py +136 -0
- capo_location/_rule_engine/_endpoint_runtime.py +389 -0
- capo_location/_services/_aws_config.py +160 -0
- capo_location/_services/_pipeline.py +198 -0
- capo_location/_services/async_location.py +152 -0
- capo_location/_services/location.py +146 -0
- capo_location/errors/__init__.py +36 -0
- capo_location/errors/_base.py +94 -0
- capo_location/errors/access_denied_exception.py +47 -0
- capo_location/errors/conflict_exception.py +45 -0
- capo_location/errors/internal_server_exception.py +47 -0
- capo_location/errors/resource_not_found_exception.py +47 -0
- capo_location/errors/service_quota_exceeded_exception.py +50 -0
- capo_location/errors/throttling_exception.py +45 -0
- capo_location/errors/validation_exception.py +77 -0
- capo_location/py.typed +0 -0
- capo_location/types/_prelude/blob.py +12 -0
- capo_location/types/_prelude/timestamp.py +17 -0
- capo_location/types/android_app.py +41 -0
- capo_location/types/android_app_list.py +29 -0
- capo_location/types/android_package_name.py +5 -0
- capo_location/types/api_key.py +5 -0
- capo_location/types/api_key_action.py +5 -0
- capo_location/types/api_key_action_list.py +17 -0
- capo_location/types/api_key_filter.py +28 -0
- capo_location/types/api_key_restrictions.py +108 -0
- capo_location/types/apple_app.py +31 -0
- capo_location/types/apple_app_list.py +29 -0
- capo_location/types/apple_bundle_id.py +5 -0
- capo_location/types/arn.py +5 -0
- capo_location/types/arn_list.py +17 -0
- capo_location/types/associate_tracker_consumer_request.py +36 -0
- capo_location/types/associate_tracker_consumer_response.py +18 -0
- capo_location/types/base64_encoded_geobuf.py +15 -0
- capo_location/types/batch_delete_device_position_history_error.py +48 -0
- capo_location/types/batch_delete_device_position_history_error_list.py +39 -0
- capo_location/types/batch_delete_device_position_history_request.py +44 -0
- capo_location/types/batch_delete_device_position_history_response.py +45 -0
- capo_location/types/batch_delete_geofence_error.py +45 -0
- capo_location/types/batch_delete_geofence_error_list.py +33 -0
- capo_location/types/batch_delete_geofence_request.py +42 -0
- capo_location/types/batch_delete_geofence_response.py +41 -0
- capo_location/types/batch_evaluate_geofences_error.py +61 -0
- capo_location/types/batch_evaluate_geofences_error_list.py +35 -0
- capo_location/types/batch_evaluate_geofences_request.py +50 -0
- capo_location/types/batch_evaluate_geofences_response.py +43 -0
- capo_location/types/batch_get_device_position_error.py +45 -0
- capo_location/types/batch_get_device_position_error_list.py +35 -0
- capo_location/types/batch_get_device_position_request.py +40 -0
- capo_location/types/batch_get_device_position_response.py +63 -0
- capo_location/types/batch_item_error.py +34 -0
- capo_location/types/batch_item_error_code.py +5 -0
- capo_location/types/batch_put_geofence_error.py +45 -0
- capo_location/types/batch_put_geofence_error_list.py +31 -0
- capo_location/types/batch_put_geofence_request.py +46 -0
- capo_location/types/batch_put_geofence_request_entry.py +62 -0
- capo_location/types/batch_put_geofence_request_entry_list.py +35 -0
- capo_location/types/batch_put_geofence_response.py +63 -0
- capo_location/types/batch_put_geofence_success.py +62 -0
- capo_location/types/batch_put_geofence_success_list.py +33 -0
- capo_location/types/batch_update_device_position_error.py +63 -0
- capo_location/types/batch_update_device_position_error_list.py +37 -0
- capo_location/types/batch_update_device_position_request.py +44 -0
- capo_location/types/batch_update_device_position_response.py +43 -0
- capo_location/types/bounding_box.py +25 -0
- capo_location/types/calculate_route_car_mode_options.py +34 -0
- capo_location/types/calculate_route_matrix_request.py +144 -0
- capo_location/types/calculate_route_matrix_response.py +100 -0
- capo_location/types/calculate_route_matrix_summary.py +52 -0
- capo_location/types/calculate_route_request.py +190 -0
- capo_location/types/calculate_route_response.py +51 -0
- capo_location/types/calculate_route_summary.py +85 -0
- capo_location/types/calculate_route_truck_mode_options.py +62 -0
- capo_location/types/cancel_job_request.py +31 -0
- capo_location/types/cancel_job_response.py +47 -0
- capo_location/types/cell_signals.py +41 -0
- capo_location/types/circle.py +51 -0
- capo_location/types/client_token.py +5 -0
- capo_location/types/country_code3.py +5 -0
- capo_location/types/country_code3_or_empty.py +5 -0
- capo_location/types/country_code_list.py +17 -0
- capo_location/types/create_geofence_collection_request.py +73 -0
- capo_location/types/create_geofence_collection_response.py +61 -0
- capo_location/types/create_key_request.py +88 -0
- capo_location/types/create_key_response.py +63 -0
- capo_location/types/create_map_request.py +74 -0
- capo_location/types/create_map_response.py +55 -0
- capo_location/types/create_place_index_request.py +86 -0
- capo_location/types/create_place_index_response.py +55 -0
- capo_location/types/create_route_calculator_request.py +67 -0
- capo_location/types/create_route_calculator_response.py +59 -0
- capo_location/types/create_tracker_request.py +94 -0
- capo_location/types/create_tracker_response.py +55 -0
- capo_location/types/custom_layer.py +5 -0
- capo_location/types/custom_layer_list.py +17 -0
- capo_location/types/data_source_configuration.py +28 -0
- capo_location/types/delete_geofence_collection_request.py +24 -0
- capo_location/types/delete_geofence_collection_response.py +18 -0
- capo_location/types/delete_key_request.py +26 -0
- capo_location/types/delete_key_response.py +18 -0
- capo_location/types/delete_map_request.py +24 -0
- capo_location/types/delete_map_response.py +18 -0
- capo_location/types/delete_place_index_request.py +24 -0
- capo_location/types/delete_place_index_response.py +18 -0
- capo_location/types/delete_route_calculator_request.py +24 -0
- capo_location/types/delete_route_calculator_response.py +18 -0
- capo_location/types/delete_tracker_request.py +24 -0
- capo_location/types/delete_tracker_response.py +18 -0
- capo_location/types/describe_geofence_collection_request.py +24 -0
- capo_location/types/describe_geofence_collection_response.py +125 -0
- capo_location/types/describe_key_request.py +24 -0
- capo_location/types/describe_key_response.py +128 -0
- capo_location/types/describe_map_request.py +24 -0
- capo_location/types/describe_map_response.py +119 -0
- capo_location/types/describe_place_index_request.py +24 -0
- capo_location/types/describe_place_index_response.py +127 -0
- capo_location/types/describe_route_calculator_request.py +24 -0
- capo_location/types/describe_route_calculator_response.py +115 -0
- capo_location/types/describe_tracker_request.py +24 -0
- capo_location/types/describe_tracker_response.py +132 -0
- capo_location/types/device_ids_list.py +17 -0
- capo_location/types/device_position.py +111 -0
- capo_location/types/device_position_list.py +31 -0
- capo_location/types/device_position_update.py +97 -0
- capo_location/types/device_position_update_list.py +31 -0
- capo_location/types/device_state.py +117 -0
- capo_location/types/dimension_unit.py +5 -0
- capo_location/types/disassociate_tracker_consumer_request.py +27 -0
- capo_location/types/disassociate_tracker_consumer_response.py +18 -0
- capo_location/types/distance_unit.py +5 -0
- capo_location/types/earfcn.py +5 -0
- capo_location/types/eutran_cell_id.py +5 -0
- capo_location/types/filter_place_category_list.py +19 -0
- capo_location/types/forecast_geofence_events_device_state.py +53 -0
- capo_location/types/forecast_geofence_events_request.py +89 -0
- capo_location/types/forecast_geofence_events_response.py +68 -0
- capo_location/types/forecasted_event.py +102 -0
- capo_location/types/forecasted_events_list.py +31 -0
- capo_location/types/forecasted_geofence_event_type.py +5 -0
- capo_location/types/geo_arn.py +5 -0
- capo_location/types/geo_arn_list.py +17 -0
- capo_location/types/geo_arn_v2.py +5 -0
- capo_location/types/geofence_geometry.py +79 -0
- capo_location/types/get_device_position_history_request.py +69 -0
- capo_location/types/get_device_position_history_response.py +50 -0
- capo_location/types/get_device_position_request.py +27 -0
- capo_location/types/get_device_position_response.py +111 -0
- capo_location/types/get_geofence_request.py +27 -0
- capo_location/types/get_geofence_response.py +100 -0
- capo_location/types/get_job_request.py +24 -0
- capo_location/types/get_job_response.py +180 -0
- capo_location/types/get_map_glyphs_request.py +31 -0
- capo_location/types/get_map_glyphs_response.py +31 -0
- capo_location/types/get_map_sprites_request.py +29 -0
- capo_location/types/get_map_sprites_response.py +31 -0
- capo_location/types/get_map_style_descriptor_request.py +27 -0
- capo_location/types/get_map_style_descriptor_response.py +31 -0
- capo_location/types/get_map_tile_request.py +34 -0
- capo_location/types/get_map_tile_response.py +31 -0
- capo_location/types/get_place_request.py +33 -0
- capo_location/types/get_place_response.py +35 -0
- capo_location/types/iam_role_arn.py +5 -0
- capo_location/types/id.py +5 -0
- capo_location/types/id_list.py +17 -0
- capo_location/types/inferred_state.py +72 -0
- capo_location/types/intended_use.py +5 -0
- capo_location/types/job_action.py +5 -0
- capo_location/types/job_action_options.py +42 -0
- capo_location/types/job_error.py +48 -0
- capo_location/types/job_error_code.py +5 -0
- capo_location/types/job_error_message.py +5 -0
- capo_location/types/job_error_messages_list.py +19 -0
- capo_location/types/job_id.py +5 -0
- capo_location/types/job_input_format.py +5 -0
- capo_location/types/job_input_location.py +5 -0
- capo_location/types/job_input_options.py +39 -0
- capo_location/types/job_output_format.py +5 -0
- capo_location/types/job_output_location.py +5 -0
- capo_location/types/job_output_options.py +39 -0
- capo_location/types/job_status.py +5 -0
- capo_location/types/jobs_filter.py +28 -0
- capo_location/types/kms_key_id.py +5 -0
- capo_location/types/language_tag.py +5 -0
- capo_location/types/large_token.py +5 -0
- capo_location/types/leg.py +112 -0
- capo_location/types/leg_geometry.py +36 -0
- capo_location/types/leg_list.py +29 -0
- capo_location/types/line_string.py +29 -0
- capo_location/types/linear_ring.py +29 -0
- capo_location/types/linear_rings.py +29 -0
- capo_location/types/list_device_positions_request.py +58 -0
- capo_location/types/list_device_positions_response.py +50 -0
- capo_location/types/list_device_positions_response_entry.py +101 -0
- capo_location/types/list_device_positions_response_entry_list.py +39 -0
- capo_location/types/list_geofence_collections_request.py +34 -0
- capo_location/types/list_geofence_collections_response.py +50 -0
- capo_location/types/list_geofence_collections_response_entry.py +91 -0
- capo_location/types/list_geofence_collections_response_entry_list.py +39 -0
- capo_location/types/list_geofence_response_entry.py +100 -0
- capo_location/types/list_geofence_response_entry_list.py +35 -0
- capo_location/types/list_geofences_request.py +37 -0
- capo_location/types/list_geofences_response.py +50 -0
- capo_location/types/list_jobs_request.py +45 -0
- capo_location/types/list_jobs_response.py +50 -0
- capo_location/types/list_jobs_response_entry.py +169 -0
- capo_location/types/list_jobs_response_entry_list.py +31 -0
- capo_location/types/list_keys_request.py +49 -0
- capo_location/types/list_keys_response.py +50 -0
- capo_location/types/list_keys_response_entry.py +101 -0
- capo_location/types/list_keys_response_entry_list.py +31 -0
- capo_location/types/list_maps_request.py +34 -0
- capo_location/types/list_maps_response.py +50 -0
- capo_location/types/list_maps_response_entry.py +84 -0
- capo_location/types/list_maps_response_entry_list.py +31 -0
- capo_location/types/list_place_indexes_request.py +34 -0
- capo_location/types/list_place_indexes_response.py +50 -0
- capo_location/types/list_place_indexes_response_entry.py +84 -0
- capo_location/types/list_place_indexes_response_entry_list.py +35 -0
- capo_location/types/list_route_calculators_request.py +34 -0
- capo_location/types/list_route_calculators_response.py +50 -0
- capo_location/types/list_route_calculators_response_entry.py +94 -0
- capo_location/types/list_route_calculators_response_entry_list.py +39 -0
- capo_location/types/list_tags_for_resource_request.py +24 -0
- capo_location/types/list_tags_for_resource_response.py +32 -0
- capo_location/types/list_tracker_consumers_request.py +37 -0
- capo_location/types/list_tracker_consumers_response.py +48 -0
- capo_location/types/list_trackers_request.py +34 -0
- capo_location/types/list_trackers_response.py +50 -0
- capo_location/types/list_trackers_response_entry.py +83 -0
- capo_location/types/list_trackers_response_entry_list.py +35 -0
- capo_location/types/lte_cell_details.py +121 -0
- capo_location/types/lte_cell_details_list.py +31 -0
- capo_location/types/lte_local_id.py +37 -0
- capo_location/types/lte_network_measurements.py +67 -0
- capo_location/types/lte_network_measurements_list.py +31 -0
- capo_location/types/map_configuration.py +53 -0
- capo_location/types/map_configuration_update.py +45 -0
- capo_location/types/map_style.py +5 -0
- capo_location/types/multi_linear_rings.py +29 -0
- capo_location/types/nearest_distance.py +5 -0
- capo_location/types/optimization_mode.py +5 -0
- capo_location/types/pci.py +5 -0
- capo_location/types/place.py +171 -0
- capo_location/types/place_category.py +5 -0
- capo_location/types/place_category_list.py +17 -0
- capo_location/types/place_geometry.py +32 -0
- capo_location/types/place_id.py +5 -0
- capo_location/types/place_index_search_result_limit.py +5 -0
- capo_location/types/place_supplemental_category.py +5 -0
- capo_location/types/place_supplemental_category_list.py +19 -0
- capo_location/types/position.py +25 -0
- capo_location/types/position_filtering.py +5 -0
- capo_location/types/position_list.py +29 -0
- capo_location/types/position_property_map.py +22 -0
- capo_location/types/positional_accuracy.py +39 -0
- capo_location/types/pricing_plan.py +5 -0
- capo_location/types/property_map.py +22 -0
- capo_location/types/put_geofence_request.py +60 -0
- capo_location/types/put_geofence_response.py +62 -0
- capo_location/types/referer_pattern.py +5 -0
- capo_location/types/referer_pattern_list.py +19 -0
- capo_location/types/resource_description.py +5 -0
- capo_location/types/resource_name.py +5 -0
- capo_location/types/route_matrix.py +29 -0
- capo_location/types/route_matrix_entry.py +69 -0
- capo_location/types/route_matrix_entry_error.py +37 -0
- capo_location/types/route_matrix_error_code.py +5 -0
- capo_location/types/route_matrix_row.py +31 -0
- capo_location/types/rsrp.py +5 -0
- capo_location/types/rsrq.py +5 -0
- capo_location/types/search_for_position_result.py +58 -0
- capo_location/types/search_for_position_result_list.py +33 -0
- capo_location/types/search_for_suggestions_result.py +74 -0
- capo_location/types/search_for_suggestions_result_list.py +35 -0
- capo_location/types/search_for_text_result.py +71 -0
- capo_location/types/search_for_text_result_list.py +31 -0
- capo_location/types/search_place_index_for_position_request.py +61 -0
- capo_location/types/search_place_index_for_position_response.py +65 -0
- capo_location/types/search_place_index_for_position_summary.py +64 -0
- capo_location/types/search_place_index_for_suggestions_request.py +122 -0
- capo_location/types/search_place_index_for_suggestions_response.py +67 -0
- capo_location/types/search_place_index_for_suggestions_summary.py +125 -0
- capo_location/types/search_place_index_for_text_request.py +123 -0
- capo_location/types/search_place_index_for_text_response.py +61 -0
- capo_location/types/search_place_index_for_text_summary.py +140 -0
- capo_location/types/sensitive_boolean.py +5 -0
- capo_location/types/sensitive_double.py +5 -0
- capo_location/types/sensitive_integer.py +5 -0
- capo_location/types/sensitive_string.py +5 -0
- capo_location/types/sha1_certificate_fingerprint.py +5 -0
- capo_location/types/speed_unit.py +5 -0
- capo_location/types/start_job_request.py +113 -0
- capo_location/types/start_job_response.py +61 -0
- capo_location/types/status.py +5 -0
- capo_location/types/step.py +91 -0
- capo_location/types/step_list.py +29 -0
- capo_location/types/tag_key.py +5 -0
- capo_location/types/tag_keys.py +14 -0
- capo_location/types/tag_map.py +28 -0
- capo_location/types/tag_resource_request.py +38 -0
- capo_location/types/tag_resource_response.py +18 -0
- capo_location/types/tag_value.py +5 -0
- capo_location/types/time_zone.py +38 -0
- capo_location/types/timestamp.py +20 -0
- capo_location/types/token.py +5 -0
- capo_location/types/tracking_filter_geometry.py +36 -0
- capo_location/types/travel_mode.py +5 -0
- capo_location/types/truck_dimensions.py +71 -0
- capo_location/types/truck_weight.py +43 -0
- capo_location/types/untag_resource_request.py +27 -0
- capo_location/types/untag_resource_response.py +18 -0
- capo_location/types/update_geofence_collection_request.py +46 -0
- capo_location/types/update_geofence_collection_response.py +61 -0
- capo_location/types/update_key_request.py +77 -0
- capo_location/types/update_key_response.py +55 -0
- capo_location/types/update_map_request.py +61 -0
- capo_location/types/update_map_response.py +55 -0
- capo_location/types/update_place_index_request.py +61 -0
- capo_location/types/update_place_index_response.py +55 -0
- capo_location/types/update_route_calculator_request.py +40 -0
- capo_location/types/update_route_calculator_response.py +59 -0
- capo_location/types/update_tracker_request.py +69 -0
- capo_location/types/update_tracker_response.py +55 -0
- capo_location/types/uuid.py +5 -0
- capo_location/types/validate_address_action_options.py +42 -0
- capo_location/types/validate_address_additional_feature.py +5 -0
- capo_location/types/validate_address_additional_feature_list.py +19 -0
- capo_location/types/validation_exception_field.py +33 -0
- capo_location/types/validation_exception_field_list.py +33 -0
- capo_location/types/validation_exception_reason.py +5 -0
- capo_location/types/vehicle_weight_unit.py +5 -0
- capo_location/types/verify_device_position_request.py +49 -0
- capo_location/types/verify_device_position_response.py +92 -0
- capo_location/types/waypoint_position_list.py +29 -0
- capo_location/types/wi_fi_access_point.py +33 -0
- capo_location/types/wi_fi_access_point_list.py +31 -0
- capo_location-0.1.0.dist-info/METADATA +33 -0
- capo_location-0.1.0.dist-info/RECORD +429 -0
- capo_location-0.1.0.dist-info/WHEEL +5 -0
- capo_location-0.1.0.dist-info/licenses/LICENSE +21 -0
- capo_location-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_location import AsyncLocationClient as AsyncLocationClient
|
|
70
|
+
from ._services.location import LocationClient as LocationClient
|
capo_location/_async.py
ADDED
|
@@ -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]
|