capo-workspaces-thin-client 0.4.0__tar.gz → 0.6.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_workspaces_thin_client-0.4.0/src/capo_workspaces_thin_client.egg-info → capo_workspaces_thin_client-0.6.0}/PKG-INFO +2 -2
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/pyproject.toml +2 -2
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_auth/_sigv4.py +9 -9
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/create_environment.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/delete_device.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/delete_environment.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/deregister_device.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/get_device.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/get_environment.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/get_software_set.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/list_devices.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/list_environments.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/list_software_sets.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/list_tags_for_resource.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/tag_resource.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/untag_resource.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/update_device.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/update_environment.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_operations/thin_client/update_software_set.py +5 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_services/_pipeline.py +2 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_services/async_work_spaces_thin_client.py +12 -4
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_services/work_spaces_thin_client.py +12 -4
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0/src/capo_workspaces_thin_client.egg-info}/PKG-INFO +2 -2
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client.egg-info/requires.txt +1 -1
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/tests/test_sigv4.py +21 -6
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/LICENSE +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/README.md +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/setup.cfg +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/__init__.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_async.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_auth/_identity.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_auth/_providers.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_auth/_signers.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_auth/_zapros_handler.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_body.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_iter.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_pagination.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_protocol/__init__.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_protocol/errors.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_protocol/eventstream.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_protocol/serialize.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_protocol/xml.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_rule_engine/__init__.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_rule_engine/_aws_partition.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_rule_engine/_endpoint_rule_set.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_rule_engine/_endpoint_runtime.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/_services/_aws_config.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/__init__.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/_base.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/access_denied_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/conflict_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/internal_server_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/resource_not_found_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/service_quota_exceeded_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/throttling_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/errors/validation_exception.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/py.typed +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/_prelude/blob.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/_prelude/timestamp.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/activation_code.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/apply_time_of.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/arn.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/client_token.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/create_environment_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/create_environment_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/day_of_week.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/day_of_week_list.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/delete_device_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/delete_device_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/delete_environment_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/delete_environment_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/deregister_device_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/deregister_device_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/desktop_endpoint.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/desktop_type.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_creation_tag_key.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_creation_tag_value.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_creation_tags_map.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_id.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_list.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_name.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_software_set_compliance_status.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_status.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/device_summary.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/environment.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/environment_id.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/environment_list.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/environment_name.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/environment_software_set_compliance_status.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/environment_summary.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/exception_message.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/field_name.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/get_device_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/get_device_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/get_environment_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/get_environment_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/get_software_set_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/get_software_set_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/hour.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/kms_key_arn.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_devices_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_devices_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_environments_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_environments_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_software_sets_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_software_sets_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_tags_for_resource_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/list_tags_for_resource_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/maintenance_window.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/maintenance_window_type.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/max_results.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/minute.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/pagination_token.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/quota_code.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/resource_id.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/resource_type.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/retry_after_seconds.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/service_code.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_list.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_id.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_id_or_empty_string.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_list.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_summary.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_update_mode.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_update_schedule.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_update_status.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/software_set_validation_status.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/tag_keys.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/tag_resource_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/tag_resource_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/tags_map.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/target_device_status.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/timestamp.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/untag_resource_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/untag_resource_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/update_device_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/update_device_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/update_environment_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/update_environment_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/update_software_set_request.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/update_software_set_response.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/user_id.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/validation_exception_field.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/validation_exception_field_list.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client/types/validation_exception_reason.py +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client.egg-info/SOURCES.txt +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client.egg-info/dependency_links.txt +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/src/capo_workspaces_thin_client.egg-info/top_level.txt +0 -0
- {capo_workspaces_thin_client-0.4.0 → capo_workspaces_thin_client-0.6.0}/tests/test_body.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capo-workspaces-thin-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: Python SDK for AWS Workspaces Thin Client.
|
|
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-workspaces-thin-client"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.6.0"
|
|
4
4
|
description = "Python SDK for AWS Workspaces Thin Client."
|
|
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]
|
|
@@ -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:
|
|
@@ -145,7 +145,11 @@ def build_request(
|
|
|
145
145
|
allow_nan=False,
|
|
146
146
|
).encode()
|
|
147
147
|
headers["content-type"] = "application/json"
|
|
148
|
-
signer =
|
|
148
|
+
signer = (
|
|
149
|
+
None
|
|
150
|
+
if options.anonymous
|
|
151
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
152
|
+
)
|
|
149
153
|
normalized_url = zapros.URL(url)
|
|
150
154
|
for k, v in params:
|
|
151
155
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
params.append(("clientToken", input_["client_token"]))
|
|
129
129
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
130
130
|
body: bytes | None = b""
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
params.append(("clientToken", input_["client_token"]))
|
|
129
129
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
130
130
|
body: bytes | None = b""
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -133,7 +133,11 @@ def build_request(
|
|
|
133
133
|
allow_nan=False,
|
|
134
134
|
).encode()
|
|
135
135
|
headers["content-type"] = "application/json"
|
|
136
|
-
signer =
|
|
136
|
+
signer = (
|
|
137
|
+
None
|
|
138
|
+
if options.anonymous
|
|
139
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
140
|
+
)
|
|
137
141
|
normalized_url = zapros.URL(url)
|
|
138
142
|
for k, v in params:
|
|
139
143
|
normalized_url.search_params.append(k, v)
|
|
@@ -130,7 +130,11 @@ def build_request(
|
|
|
130
130
|
params: list[tuple[str, str]] = []
|
|
131
131
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
132
132
|
body: bytes | None = b""
|
|
133
|
-
signer =
|
|
133
|
+
signer = (
|
|
134
|
+
None
|
|
135
|
+
if options.anonymous
|
|
136
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
137
|
+
)
|
|
134
138
|
normalized_url = zapros.URL(url)
|
|
135
139
|
for k, v in params:
|
|
136
140
|
normalized_url.search_params.append(k, v)
|
|
@@ -126,7 +126,11 @@ def build_request(
|
|
|
126
126
|
params: list[tuple[str, str]] = []
|
|
127
127
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
128
128
|
body: bytes | None = b""
|
|
129
|
-
signer =
|
|
129
|
+
signer = (
|
|
130
|
+
None
|
|
131
|
+
if options.anonymous
|
|
132
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
133
|
+
)
|
|
130
134
|
normalized_url = zapros.URL(url)
|
|
131
135
|
for k, v in params:
|
|
132
136
|
normalized_url.search_params.append(k, v)
|
|
@@ -126,7 +126,11 @@ def build_request(
|
|
|
126
126
|
params: list[tuple[str, str]] = []
|
|
127
127
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
128
128
|
body: bytes | None = b""
|
|
129
|
-
signer =
|
|
129
|
+
signer = (
|
|
130
|
+
None
|
|
131
|
+
if options.anonymous
|
|
132
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
133
|
+
)
|
|
130
134
|
normalized_url = zapros.URL(url)
|
|
131
135
|
for k, v in params:
|
|
132
136
|
normalized_url.search_params.append(k, v)
|
|
@@ -127,7 +127,11 @@ def build_request(
|
|
|
127
127
|
params.append(("maxResults", str(input_["max_results"])))
|
|
128
128
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
129
129
|
body: bytes | None = b""
|
|
130
|
-
signer =
|
|
130
|
+
signer = (
|
|
131
|
+
None
|
|
132
|
+
if options.anonymous
|
|
133
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
134
|
+
)
|
|
131
135
|
normalized_url = zapros.URL(url)
|
|
132
136
|
for k, v in params:
|
|
133
137
|
normalized_url.search_params.append(k, v)
|
|
@@ -123,7 +123,11 @@ def build_request(
|
|
|
123
123
|
params.append(("maxResults", str(input_["max_results"])))
|
|
124
124
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
125
125
|
body: bytes | None = b""
|
|
126
|
-
signer =
|
|
126
|
+
signer = (
|
|
127
|
+
None
|
|
128
|
+
if options.anonymous
|
|
129
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
130
|
+
)
|
|
127
131
|
normalized_url = zapros.URL(url)
|
|
128
132
|
for k, v in params:
|
|
129
133
|
normalized_url.search_params.append(k, v)
|
|
@@ -123,7 +123,11 @@ def build_request(
|
|
|
123
123
|
params.append(("maxResults", str(input_["max_results"])))
|
|
124
124
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
125
125
|
body: bytes | None = b""
|
|
126
|
-
signer =
|
|
126
|
+
signer = (
|
|
127
|
+
None
|
|
128
|
+
if options.anonymous
|
|
129
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
130
|
+
)
|
|
127
131
|
normalized_url = zapros.URL(url)
|
|
128
132
|
for k, v in params:
|
|
129
133
|
normalized_url.search_params.append(k, v)
|
|
@@ -126,7 +126,11 @@ def build_request(
|
|
|
126
126
|
params: list[tuple[str, str]] = []
|
|
127
127
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
128
128
|
body: bytes | None = b""
|
|
129
|
-
signer =
|
|
129
|
+
signer = (
|
|
130
|
+
None
|
|
131
|
+
if options.anonymous
|
|
132
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
133
|
+
)
|
|
130
134
|
normalized_url = zapros.URL(url)
|
|
131
135
|
for k, v in params:
|
|
132
136
|
normalized_url.search_params.append(k, v)
|
|
@@ -131,7 +131,11 @@ def build_request(
|
|
|
131
131
|
allow_nan=False,
|
|
132
132
|
).encode()
|
|
133
133
|
headers["content-type"] = "application/json"
|
|
134
|
-
signer =
|
|
134
|
+
signer = (
|
|
135
|
+
None
|
|
136
|
+
if options.anonymous
|
|
137
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
138
|
+
)
|
|
135
139
|
normalized_url = zapros.URL(url)
|
|
136
140
|
for k, v in params:
|
|
137
141
|
normalized_url.search_params.append(k, v)
|
|
@@ -129,7 +129,11 @@ def build_request(
|
|
|
129
129
|
params.append(("tagKeys", item))
|
|
130
130
|
headers: dict[str, str] = {k: ", ".join(v) for k, v in endpoint.headers.items()}
|
|
131
131
|
body: bytes | None = b""
|
|
132
|
-
signer =
|
|
132
|
+
signer = (
|
|
133
|
+
None
|
|
134
|
+
if options.anonymous
|
|
135
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
136
|
+
)
|
|
133
137
|
normalized_url = zapros.URL(url)
|
|
134
138
|
for k, v in params:
|
|
135
139
|
normalized_url.search_params.append(k, v)
|
|
@@ -131,7 +131,11 @@ def build_request(
|
|
|
131
131
|
allow_nan=False,
|
|
132
132
|
).encode()
|
|
133
133
|
headers["content-type"] = "application/json"
|
|
134
|
-
signer =
|
|
134
|
+
signer = (
|
|
135
|
+
None
|
|
136
|
+
if options.anonymous
|
|
137
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
138
|
+
)
|
|
135
139
|
normalized_url = zapros.URL(url)
|
|
136
140
|
for k, v in params:
|
|
137
141
|
normalized_url.search_params.append(k, v)
|
|
@@ -141,7 +141,11 @@ def build_request(
|
|
|
141
141
|
allow_nan=False,
|
|
142
142
|
).encode()
|
|
143
143
|
headers["content-type"] = "application/json"
|
|
144
|
-
signer =
|
|
144
|
+
signer = (
|
|
145
|
+
None
|
|
146
|
+
if options.anonymous
|
|
147
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
148
|
+
)
|
|
145
149
|
normalized_url = zapros.URL(url)
|
|
146
150
|
for k, v in params:
|
|
147
151
|
normalized_url.search_params.append(k, v)
|
|
@@ -128,7 +128,11 @@ def build_request(
|
|
|
128
128
|
allow_nan=False,
|
|
129
129
|
).encode()
|
|
130
130
|
headers["content-type"] = "application/json"
|
|
131
|
-
signer =
|
|
131
|
+
signer = (
|
|
132
|
+
None
|
|
133
|
+
if options.anonymous
|
|
134
|
+
else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
|
|
135
|
+
)
|
|
132
136
|
normalized_url = zapros.URL(url)
|
|
133
137
|
for k, v in params:
|
|
134
138
|
normalized_url.search_params.append(k, v)
|
|
@@ -40,6 +40,7 @@ class OperationOptions:
|
|
|
40
40
|
endpoint: str | None = None
|
|
41
41
|
retry_max_attempts: int | None = None
|
|
42
42
|
credentials_provider: IdentityProvider[Credentials] | None = None
|
|
43
|
+
anonymous: bool | None = None
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
@dataclass
|
|
@@ -51,6 +52,7 @@ class AsyncOperationOptions:
|
|
|
51
52
|
endpoint: str | None = None
|
|
52
53
|
retry_max_attempts: int | None = None
|
|
53
54
|
credentials_provider: IdentityProvider[Credentials] | None = None
|
|
55
|
+
anonymous: bool | None = None
|
|
54
56
|
|
|
55
57
|
|
|
56
58
|
@dataclass
|
|
@@ -95,6 +95,7 @@ class AsyncWorkSpacesThinClientClientConfig(TypedDict, total=False, closed=True)
|
|
|
95
95
|
use_fips: bool | None
|
|
96
96
|
endpoint: str | None
|
|
97
97
|
credentials_provider: IdentityProvider[Credentials] | None
|
|
98
|
+
anonymous: bool | None
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
class AsyncWorkSpacesThinClientClient:
|
|
@@ -110,6 +111,7 @@ class AsyncWorkSpacesThinClientClient:
|
|
|
110
111
|
endpoint: The value of the ``SDK::Endpoint`` endpoint parameter.
|
|
111
112
|
credentials: AWS credentials for request signing.
|
|
112
113
|
credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
|
|
114
|
+
anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
|
|
113
115
|
"""
|
|
114
116
|
|
|
115
117
|
def __init__(
|
|
@@ -123,10 +125,14 @@ class AsyncWorkSpacesThinClientClient:
|
|
|
123
125
|
endpoint: str | None = None,
|
|
124
126
|
credentials: Credentials | None = None,
|
|
125
127
|
credentials_provider: CredentialsProvider | None = None,
|
|
128
|
+
anonymous: bool | None = None,
|
|
126
129
|
):
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
client = AsyncClient(http_handler)
|
|
131
|
+
# The handler the user gave us, or the default one for this environment.
|
|
132
|
+
# The SDK middlewares wrap it below, and the credential resolvers borrow
|
|
133
|
+
# it for their one-off calls.
|
|
134
|
+
raw_handler = client.handler
|
|
135
|
+
self._client = client.wrap_with_middleware(lambda next: AuthMiddleware(next))
|
|
130
136
|
if credentials is not None and credentials_provider is not None:
|
|
131
137
|
warnings.warn(
|
|
132
138
|
"Both credentials and credentials_provider given; provider takes precedence"
|
|
@@ -138,7 +144,7 @@ class AsyncWorkSpacesThinClientClient:
|
|
|
138
144
|
resolved_credentials_provider = StaticAwsCredentialsProvider(credentials)
|
|
139
145
|
if resolved_credentials_provider is None and credentials is None:
|
|
140
146
|
resolved_credentials_provider = default_aws_credentials_chain(
|
|
141
|
-
AsyncClient(
|
|
147
|
+
AsyncClient(raw_handler)
|
|
142
148
|
)
|
|
143
149
|
self._config = AsyncWorkSpacesThinClientClientConfig(
|
|
144
150
|
{
|
|
@@ -149,6 +155,7 @@ class AsyncWorkSpacesThinClientClient:
|
|
|
149
155
|
"use_fips": use_fips,
|
|
150
156
|
"endpoint": endpoint,
|
|
151
157
|
"credentials_provider": resolved_credentials_provider,
|
|
158
|
+
"anonymous": anonymous,
|
|
152
159
|
}
|
|
153
160
|
)
|
|
154
161
|
|
|
@@ -177,6 +184,7 @@ class AsyncWorkSpacesThinClientClient:
|
|
|
177
184
|
credentials_provider=overrides.get(
|
|
178
185
|
"credentials_provider", self._config.get("credentials_provider")
|
|
179
186
|
),
|
|
187
|
+
anonymous=overrides.get("anonymous", self._config.get("anonymous")),
|
|
180
188
|
)
|
|
181
189
|
return interceptors_, options_
|
|
182
190
|
|
|
@@ -95,6 +95,7 @@ class WorkSpacesThinClientClientConfig(TypedDict, total=False, closed=True):
|
|
|
95
95
|
use_fips: bool | None
|
|
96
96
|
endpoint: str | None
|
|
97
97
|
credentials_provider: IdentityProvider[Credentials] | None
|
|
98
|
+
anonymous: bool | None
|
|
98
99
|
|
|
99
100
|
|
|
100
101
|
class WorkSpacesThinClientClient:
|
|
@@ -110,6 +111,7 @@ class WorkSpacesThinClientClient:
|
|
|
110
111
|
endpoint: The value of the ``SDK::Endpoint`` endpoint parameter.
|
|
111
112
|
credentials: AWS credentials for request signing.
|
|
112
113
|
credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
|
|
114
|
+
anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
|
|
113
115
|
"""
|
|
114
116
|
|
|
115
117
|
def __init__(
|
|
@@ -123,10 +125,14 @@ class WorkSpacesThinClientClient:
|
|
|
123
125
|
endpoint: str | None = None,
|
|
124
126
|
credentials: Credentials | None = None,
|
|
125
127
|
credentials_provider: CredentialsProvider | None = None,
|
|
128
|
+
anonymous: bool | None = None,
|
|
126
129
|
):
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
client = Client(http_handler)
|
|
131
|
+
# The handler the user gave us, or the default one for this environment.
|
|
132
|
+
# The SDK middlewares wrap it below, and the credential resolvers borrow
|
|
133
|
+
# it for their one-off calls.
|
|
134
|
+
raw_handler = client.handler
|
|
135
|
+
self._client = client.wrap_with_middleware(lambda next: AuthMiddleware(next))
|
|
130
136
|
if credentials is not None and credentials_provider is not None:
|
|
131
137
|
warnings.warn(
|
|
132
138
|
"Both credentials and credentials_provider given; provider takes precedence"
|
|
@@ -138,7 +144,7 @@ class WorkSpacesThinClientClient:
|
|
|
138
144
|
resolved_credentials_provider = StaticAwsCredentialsProvider(credentials)
|
|
139
145
|
if resolved_credentials_provider is None and credentials is None:
|
|
140
146
|
resolved_credentials_provider = default_aws_credentials_chain(
|
|
141
|
-
Client(
|
|
147
|
+
Client(raw_handler)
|
|
142
148
|
)
|
|
143
149
|
self._config = WorkSpacesThinClientClientConfig(
|
|
144
150
|
{
|
|
@@ -149,6 +155,7 @@ class WorkSpacesThinClientClient:
|
|
|
149
155
|
"use_fips": use_fips,
|
|
150
156
|
"endpoint": endpoint,
|
|
151
157
|
"credentials_provider": resolved_credentials_provider,
|
|
158
|
+
"anonymous": anonymous,
|
|
152
159
|
}
|
|
153
160
|
)
|
|
154
161
|
|
|
@@ -177,6 +184,7 @@ class WorkSpacesThinClientClient:
|
|
|
177
184
|
credentials_provider=overrides.get(
|
|
178
185
|
"credentials_provider", self._config.get("credentials_provider")
|
|
179
186
|
),
|
|
187
|
+
anonymous=overrides.get("anonymous", self._config.get("anonymous")),
|
|
180
188
|
)
|
|
181
189
|
return interceptors_, options_
|
|
182
190
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: capo-workspaces-thin-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: Python SDK for AWS Workspaces Thin Client.
|
|
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
|
|
@@ -91,13 +91,28 @@ class TestCanonicalPath:
|
|
|
91
91
|
def test_s3_preserves_dot_segments(self):
|
|
92
92
|
assert _s3_path("/a/../b/./c") == "/a/../b/./c"
|
|
93
93
|
|
|
94
|
-
def
|
|
95
|
-
#
|
|
96
|
-
assert _std_path("/foo bar") == "/foo%2520bar"
|
|
97
|
-
|
|
98
|
-
def test_non_s3_already_encoded_double_encodes(self):
|
|
99
|
-
# "/foo%20bar" gets unquoted to "/foo bar", then double-encoded.
|
|
94
|
+
def test_non_s3_encodes_wire_path_once_more(self):
|
|
95
|
+
# The path arrives URI-encoded once ("/foo bar" is sent as "/foo%20bar").
|
|
100
96
|
assert _std_path("/foo%20bar") == "/foo%2520bar"
|
|
97
|
+
assert _std_path("/a%3Ab/caf%C3%A9~") == "/a%253Ab/caf%25C3%25A9~"
|
|
98
|
+
|
|
99
|
+
def test_non_s3_keeps_encoded_slash_inside_segment(self):
|
|
100
|
+
# An ARN in a path label: its "/" is sent as "%2F" and must stay part
|
|
101
|
+
# of the segment, not become a separator.
|
|
102
|
+
assert (
|
|
103
|
+
_std_path("/model/arn%3Aaws%3Abedrock%3A%3Afoundation-model%2Fx/converse")
|
|
104
|
+
== "/model/arn%253Aaws%253Abedrock%253A%253Afoundation-model%252Fx/converse"
|
|
105
|
+
)
|
|
106
|
+
assert _s3_path("/bucket/a%2Fb") == "/bucket/a%2Fb"
|
|
107
|
+
|
|
108
|
+
def test_non_s3_encodes_literal_reserved_characters_once(self):
|
|
109
|
+
# "@" and "$" appear literally in a few URI templates and are sent as is.
|
|
110
|
+
assert _std_path("/@connections/abc") == "/%40connections/abc"
|
|
111
|
+
assert _std_path("/things/t/jobs/$next") == "/things/t/jobs/%24next"
|
|
112
|
+
|
|
113
|
+
def test_non_s3_does_not_decode_the_wire_path(self):
|
|
114
|
+
assert _std_path("/a%2fb") == "/a%252fb"
|
|
115
|
+
assert _std_path("/a%25b") == "/a%2525b"
|
|
101
116
|
|
|
102
117
|
def test_non_s3_removes_dot_segments(self):
|
|
103
118
|
# Mirrors botocore's normalize_url_path: "." dropped, ".." pops,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|