capo-iotthingsgraph 0.7.0__tar.gz → 0.9.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.
Files changed (238) hide show
  1. {capo_iotthingsgraph-0.7.0/src/capo_iotthingsgraph.egg-info → capo_iotthingsgraph-0.9.0}/PKG-INFO +10 -2
  2. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/README.md +5 -1
  3. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/pyproject.toml +7 -1
  4. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/__init__.py +12 -0
  5. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_auth/_providers.py +118 -19
  6. capo_iotthingsgraph-0.9.0/src/capo_iotthingsgraph/types/_unknown.py +34 -0
  7. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/associate_entity_to_thing_request.py +2 -4
  8. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/create_system_instance_request.py +5 -1
  9. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/definition_document.py +6 -4
  10. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_flow_template_request.py +1 -3
  11. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_system_template_request.py +1 -3
  12. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deprecate_flow_template_request.py +1 -3
  13. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deprecate_system_template_request.py +1 -3
  14. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/dissociate_entity_from_thing_request.py +5 -7
  15. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_filter.py +7 -4
  16. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_entities_request.py +1 -3
  17. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_flow_template_request.py +1 -3
  18. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_flow_template_revisions_request.py +1 -3
  19. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_system_instance_request.py +1 -3
  20. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_system_template_request.py +1 -3
  21. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_system_template_revisions_request.py +1 -3
  22. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_upload_status_request.py +1 -3
  23. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_upload_status_response.py +11 -5
  24. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/list_flow_execution_messages_request.py +1 -5
  25. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/list_tags_for_resource_request.py +1 -3
  26. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_entities_request.py +1 -3
  27. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_flow_executions_request.py +1 -5
  28. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_things_request.py +1 -3
  29. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_filter.py +7 -4
  30. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag.py +2 -4
  31. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag_resource_request.py +2 -4
  32. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/untag_resource_request.py +2 -4
  33. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/update_flow_template_request.py +1 -1
  34. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/update_system_template_request.py +1 -1
  35. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/upload_entity_definitions_request.py +9 -9
  36. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/upload_entity_definitions_response.py +1 -3
  37. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0/src/capo_iotthingsgraph.egg-info}/PKG-INFO +10 -2
  38. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph.egg-info/SOURCES.txt +1 -0
  39. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/LICENSE +0 -0
  40. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/setup.cfg +0 -0
  41. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_async.py +0 -0
  42. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_auth/_identity.py +0 -0
  43. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_auth/_signers.py +0 -0
  44. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_auth/_sigv4.py +0 -0
  45. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_auth/_zapros_handler.py +0 -0
  46. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_aws.py +0 -0
  47. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_body.py +0 -0
  48. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_iter.py +0 -0
  49. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/associate_entity_to_thing.py +0 -0
  50. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/create_flow_template.py +0 -0
  51. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/create_system_instance.py +0 -0
  52. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/create_system_template.py +0 -0
  53. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_flow_template.py +0 -0
  54. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_namespace.py +0 -0
  55. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_system_instance.py +0 -0
  56. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/delete_system_template.py +0 -0
  57. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/deploy_system_instance.py +0 -0
  58. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/deprecate_flow_template.py +0 -0
  59. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/deprecate_system_template.py +0 -0
  60. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/describe_namespace.py +0 -0
  61. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/dissociate_entity_from_thing.py +0 -0
  62. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_entities.py +0 -0
  63. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_flow_template.py +0 -0
  64. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_flow_template_revisions.py +0 -0
  65. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_namespace_deletion_status.py +0 -0
  66. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_system_instance.py +0 -0
  67. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_system_template.py +0 -0
  68. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_system_template_revisions.py +0 -0
  69. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/get_upload_status.py +0 -0
  70. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/list_flow_execution_messages.py +0 -0
  71. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/list_tags_for_resource.py +0 -0
  72. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_entities.py +0 -0
  73. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_flow_executions.py +0 -0
  74. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_flow_templates.py +0 -0
  75. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_system_instances.py +0 -0
  76. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_system_templates.py +0 -0
  77. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/search_things.py +0 -0
  78. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/tag_resource.py +0 -0
  79. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/undeploy_system_instance.py +0 -0
  80. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/untag_resource.py +0 -0
  81. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/update_flow_template.py +0 -0
  82. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/update_system_template.py +0 -0
  83. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_operations/iot_things_graph_front_end_service/upload_entity_definitions.py +0 -0
  84. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_pagination.py +0 -0
  85. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_protocol/__init__.py +0 -0
  86. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_protocol/errors.py +0 -0
  87. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_protocol/eventstream.py +0 -0
  88. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_protocol/serialize.py +0 -0
  89. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_protocol/xml.py +0 -0
  90. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_rule_engine/__init__.py +0 -0
  91. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_rule_engine/_aws_partition.py +0 -0
  92. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_rule_engine/_endpoint_rule_set.py +0 -0
  93. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_rule_engine/_endpoint_runtime.py +0 -0
  94. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_services/_aws_config.py +0 -0
  95. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_services/_pipeline.py +0 -0
  96. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_services/async_io_t_things_graph.py +0 -0
  97. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/_services/io_t_things_graph.py +0 -0
  98. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/__init__.py +0 -0
  99. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/_base.py +0 -0
  100. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/internal_failure_exception.py +0 -0
  101. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/invalid_request_exception.py +0 -0
  102. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/limit_exceeded_exception.py +0 -0
  103. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/resource_already_exists_exception.py +0 -0
  104. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/resource_in_use_exception.py +0 -0
  105. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/resource_not_found_exception.py +0 -0
  106. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/errors/throttling_exception.py +0 -0
  107. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/py.typed +0 -0
  108. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/_prelude/blob.py +0 -0
  109. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/_prelude/timestamp.py +0 -0
  110. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/arn.py +0 -0
  111. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/associate_entity_to_thing_response.py +0 -0
  112. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/create_flow_template_request.py +0 -0
  113. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/create_flow_template_response.py +0 -0
  114. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/create_system_instance_response.py +0 -0
  115. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/create_system_template_request.py +0 -0
  116. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/create_system_template_response.py +0 -0
  117. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/definition_language.py +0 -0
  118. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/definition_text.py +0 -0
  119. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_flow_template_response.py +0 -0
  120. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_namespace_request.py +0 -0
  121. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_namespace_response.py +0 -0
  122. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_system_instance_request.py +0 -0
  123. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_system_instance_response.py +0 -0
  124. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/delete_system_template_response.py +0 -0
  125. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/dependency_revision.py +0 -0
  126. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/dependency_revisions.py +0 -0
  127. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deploy_system_instance_request.py +0 -0
  128. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deploy_system_instance_response.py +0 -0
  129. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deployment_target.py +0 -0
  130. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deprecate_existing_entities.py +0 -0
  131. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deprecate_flow_template_response.py +0 -0
  132. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/deprecate_system_template_response.py +0 -0
  133. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/describe_namespace_request.py +0 -0
  134. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/describe_namespace_response.py +0 -0
  135. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/dissociate_entity_from_thing_response.py +0 -0
  136. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/enabled.py +0 -0
  137. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_description.py +0 -0
  138. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_descriptions.py +0 -0
  139. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_filter.py +0 -0
  140. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_filter_name.py +0 -0
  141. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_filter_value.py +0 -0
  142. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_filter_values.py +0 -0
  143. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_filters.py +0 -0
  144. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_type.py +0 -0
  145. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/entity_types.py +0 -0
  146. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/error_message.py +0 -0
  147. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_event_type.py +0 -0
  148. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_id.py +0 -0
  149. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_message.py +0 -0
  150. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_message_id.py +0 -0
  151. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_message_payload.py +0 -0
  152. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_messages.py +0 -0
  153. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_status.py +0 -0
  154. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_summaries.py +0 -0
  155. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_execution_summary.py +0 -0
  156. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_description.py +0 -0
  157. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_filter_name.py +0 -0
  158. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_filter_value.py +0 -0
  159. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_filter_values.py +0 -0
  160. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_filters.py +0 -0
  161. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_summaries.py +0 -0
  162. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/flow_template_summary.py +0 -0
  163. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_entities_response.py +0 -0
  164. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_flow_template_response.py +0 -0
  165. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_flow_template_revisions_response.py +0 -0
  166. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_namespace_deletion_status_request.py +0 -0
  167. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_namespace_deletion_status_response.py +0 -0
  168. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_system_instance_response.py +0 -0
  169. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_system_template_response.py +0 -0
  170. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/get_system_template_revisions_response.py +0 -0
  171. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/greengrass_deployment_id.py +0 -0
  172. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/greengrass_group_id.py +0 -0
  173. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/greengrass_group_version_id.py +0 -0
  174. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/group_name.py +0 -0
  175. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/list_flow_execution_messages_response.py +0 -0
  176. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/list_tags_for_resource_response.py +0 -0
  177. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/max_results.py +0 -0
  178. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/metrics_configuration.py +0 -0
  179. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/namespace_deletion_status.py +0 -0
  180. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/namespace_deletion_status_error_codes.py +0 -0
  181. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/namespace_name.py +0 -0
  182. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/next_token.py +0 -0
  183. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/resource_arn.py +0 -0
  184. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/role_arn.py +0 -0
  185. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/s3_bucket_name.py +0 -0
  186. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_entities_response.py +0 -0
  187. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_flow_executions_response.py +0 -0
  188. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_flow_templates_request.py +0 -0
  189. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_flow_templates_response.py +0 -0
  190. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_system_instances_request.py +0 -0
  191. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_system_instances_response.py +0 -0
  192. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_system_templates_request.py +0 -0
  193. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_system_templates_response.py +0 -0
  194. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/search_things_response.py +0 -0
  195. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/string.py +0 -0
  196. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/string_list.py +0 -0
  197. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/sync_with_public_namespace.py +0 -0
  198. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_deployment_status.py +0 -0
  199. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_description.py +0 -0
  200. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_filter.py +0 -0
  201. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_filter_name.py +0 -0
  202. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_filter_value.py +0 -0
  203. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_filter_values.py +0 -0
  204. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_filters.py +0 -0
  205. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_summaries.py +0 -0
  206. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_instance_summary.py +0 -0
  207. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_description.py +0 -0
  208. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_filter_name.py +0 -0
  209. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_filter_value.py +0 -0
  210. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_filter_values.py +0 -0
  211. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_filters.py +0 -0
  212. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_summaries.py +0 -0
  213. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/system_template_summary.py +0 -0
  214. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag_key.py +0 -0
  215. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag_key_list.py +0 -0
  216. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag_list.py +0 -0
  217. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag_resource_response.py +0 -0
  218. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/tag_value.py +0 -0
  219. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/thing.py +0 -0
  220. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/thing_arn.py +0 -0
  221. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/thing_name.py +0 -0
  222. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/things.py +0 -0
  223. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/timestamp.py +0 -0
  224. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/undeploy_system_instance_request.py +0 -0
  225. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/undeploy_system_instance_response.py +0 -0
  226. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/untag_resource_response.py +0 -0
  227. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/update_flow_template_response.py +0 -0
  228. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/update_system_template_response.py +0 -0
  229. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/upload_id.py +0 -0
  230. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/upload_status.py +0 -0
  231. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/urn.py +0 -0
  232. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/urns.py +0 -0
  233. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph/types/version.py +0 -0
  234. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph.egg-info/dependency_links.txt +0 -0
  235. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph.egg-info/requires.txt +0 -0
  236. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/src/capo_iotthingsgraph.egg-info/top_level.txt +0 -0
  237. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/tests/test_body.py +0 -0
  238. {capo_iotthingsgraph-0.7.0 → capo_iotthingsgraph-0.9.0}/tests/test_sigv4.py +0 -0
@@ -1,7 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capo-iotthingsgraph
3
- Version: 0.7.0
3
+ Version: 0.9.0
4
4
  Summary: Python SDK for AWS Iotthingsgraph.
5
+ Project-URL: Homepage, https://capo-sdk.dev/
6
+ Project-URL: Documentation, https://capo-sdk.dev/services/iotthingsgraph/
7
+ Project-URL: Repository, https://github.com/kap-sh/capo/tree/main/services/iotthingsgraph
8
+ Project-URL: Changelog, https://github.com/kap-sh/capo/blob/main/services/iotthingsgraph/CHANGELOG.md
5
9
  Classifier: Development Status :: 4 - Beta
6
10
  Classifier: Intended Audience :: Developers
7
11
  Classifier: License :: OSI Approved :: MIT License
@@ -26,7 +30,11 @@ Requires-Dist: capo-sso-oidc>=0.2.0; extra == "sso"
26
30
  Requires-Dist: capo-sts>=0.3.0; extra == "sso"
27
31
  Dynamic: license-file
28
32
 
29
- # Getting Started
33
+ # capo-iotthingsgraph: typed, async Python SDK for AWS Iotthingsgraph
34
+
35
+ `capo-iotthingsgraph` is a typed Python SDK for AWS Iotthingsgraph. It has an async client, `AsyncIoTThingsGraphClient`, for asyncio and trio, and a sync client, `IoTThingsGraphClient`, with the same methods. Requests and responses are typed with TypedDicts, so your editor and type checker know every field.
36
+
37
+ It is part of [capo](https://capo-sdk.dev/), a community-driven alternative to boto3 and aioboto3, built on its own HTTP stack instead of botocore and generated from the official AWS Smithy models. Documentation: [https://capo-sdk.dev/services/iotthingsgraph/](https://capo-sdk.dev/services/iotthingsgraph/)
30
38
 
31
39
  ## Installation
32
40
 
@@ -1,4 +1,8 @@
1
- # Getting Started
1
+ # capo-iotthingsgraph: typed, async Python SDK for AWS Iotthingsgraph
2
+
3
+ `capo-iotthingsgraph` is a typed Python SDK for AWS Iotthingsgraph. It has an async client, `AsyncIoTThingsGraphClient`, for asyncio and trio, and a sync client, `IoTThingsGraphClient`, with the same methods. Requests and responses are typed with TypedDicts, so your editor and type checker know every field.
4
+
5
+ It is part of [capo](https://capo-sdk.dev/), a community-driven alternative to boto3 and aioboto3, built on its own HTTP stack instead of botocore and generated from the official AWS Smithy models. Documentation: [https://capo-sdk.dev/services/iotthingsgraph/](https://capo-sdk.dev/services/iotthingsgraph/)
2
6
 
3
7
  ## Installation
4
8
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "capo-iotthingsgraph"
3
- version = "0.7.0"
3
+ version = "0.9.0"
4
4
  description = "Python SDK for AWS Iotthingsgraph."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -22,6 +22,12 @@ dependencies = [
22
22
  "zapros>=0.21.0",
23
23
  ]
24
24
 
25
+ [project.urls]
26
+ Homepage = "https://capo-sdk.dev/"
27
+ Documentation = "https://capo-sdk.dev/services/iotthingsgraph/"
28
+ Repository = "https://github.com/kap-sh/capo/tree/main/services/iotthingsgraph"
29
+ Changelog = "https://github.com/kap-sh/capo/blob/main/services/iotthingsgraph/CHANGELOG.md"
30
+
25
31
  [project.optional-dependencies]
26
32
  # Async file request bodies via Body.async_from_path
27
33
  anyio = ["anyio>=3.0"]
@@ -16,6 +16,9 @@ from ._auth._providers import (
16
16
  from ._auth._providers import (
17
17
  ChainedProvider as ChainedProvider,
18
18
  )
19
+ from ._auth._providers import (
20
+ CredentialProcessError as CredentialProcessError,
21
+ )
19
22
  from ._auth._providers import (
20
23
  CredentialsProvider as CredentialsProvider,
21
24
  )
@@ -31,6 +34,9 @@ from ._auth._providers import (
31
34
  from ._auth._providers import (
32
35
  MissingDependencyError as MissingDependencyError,
33
36
  )
37
+ from ._auth._providers import (
38
+ ProcessCredentialsProvider as ProcessCredentialsProvider,
39
+ )
34
40
  from ._auth._providers import (
35
41
  ProfileCredentialsProvider as ProfileCredentialsProvider,
36
42
  )
@@ -71,3 +77,9 @@ from ._services.async_io_t_things_graph import (
71
77
  AsyncIoTThingsGraphClient as AsyncIoTThingsGraphClient,
72
78
  )
73
79
  from ._services.io_t_things_graph import IoTThingsGraphClient as IoTThingsGraphClient
80
+ from .types._unknown import (
81
+ UnknownEvent as UnknownEvent,
82
+ )
83
+ from .types._unknown import (
84
+ UnknownUnionMember as UnknownUnionMember,
85
+ )
@@ -4,6 +4,7 @@ import configparser
4
4
  import hashlib
5
5
  import json
6
6
  import os
7
+ import subprocess
7
8
  import time
8
9
  from abc import abstractmethod
9
10
  from dataclasses import dataclass
@@ -59,6 +60,10 @@ class IdentityNotFound(Exception):
59
60
  """Raised when a provider cannot resolve an identity. Chain continues."""
60
61
 
61
62
 
63
+ class CredentialProcessError(Exception):
64
+ """Raised when a profile's `credential_process` fails or prints unusable output. Chain stops."""
65
+
66
+
62
67
  class MissingDependencyError(Exception):
63
68
  """Raised when a provider needs the `sso` extra but it is not installed."""
64
69
 
@@ -186,13 +191,27 @@ class ProfileCredentialsProvider(CredentialsProvider):
186
191
  self, credentials_file: Path | None = None, profile: str | None = None
187
192
  ) -> None:
188
193
  self._profile = profile or active_profile()
189
- self._cred_file = credentials_file or Path(
190
- os.environ.get("AWS_SHARED_CREDENTIALS_FILE")
191
- or Path.home() / ".aws" / "credentials"
192
- )
194
+ self._cred_file = credentials_file or _shared_credentials_file()
193
195
 
194
196
  def resolve_identity(self) -> Credentials:
195
- section = self._load_section()
197
+ from_config, _ = _load_profile(self._profile)
198
+ from_credentials_file = _credentials_file_section(
199
+ self._profile, self._cred_file
200
+ )
201
+ section = {**from_config, **from_credentials_file}
202
+ if not section:
203
+ raise IdentityNotFound(
204
+ f"profile {self._profile!r} not found in credentials/config files"
205
+ )
206
+ # botocore's order: keys from the credentials file, then credential_process, then keys from the
207
+ # config file, so a profile with a process only takes its keys from the credentials file
208
+ if "credential_process" in section and not (
209
+ from_credentials_file.get("aws_access_key_id")
210
+ and from_credentials_file.get("aws_secret_access_key")
211
+ ):
212
+ raise IdentityNotFound(
213
+ f"profile {self._profile!r}: credential_process comes before the keys in the config file"
214
+ )
196
215
  ak = section.get("aws_access_key_id")
197
216
  sk = section.get("aws_secret_access_key")
198
217
  if not ak or not sk:
@@ -205,19 +224,94 @@ class ProfileCredentialsProvider(CredentialsProvider):
205
224
  out["session_token"] = token
206
225
  return out
207
226
 
208
- def _load_section(self) -> dict[str, str]:
209
- # config-file profile reuses the loader from _services/_aws_config
210
- merged, _ = _load_profile(self._profile)
211
- if self._cred_file.is_file():
212
- cfg = configparser.ConfigParser(interpolation=None)
213
- cfg.read(self._cred_file)
214
- if cfg.has_section(self._profile):
215
- merged.update(dict(cfg.items(self._profile)))
216
- if not merged:
217
- raise IdentityNotFound(
218
- f"profile {self._profile!r} not found in credentials/config files"
227
+
228
+ class ProcessCredentialsProvider(CredentialsProvider):
229
+ """Run the profile's ``credential_process`` command and read the credentials it prints.
230
+
231
+ This is how helpers such as ``aws-sso-cli`` hand out short-term credentials. The command
232
+ runs through the system shell, as in the Rust, Kotlin and Swift SDKs, so a quoted Windows path
233
+ works as written, and it must print the JSON document the AWS SDKs define (``Version`` 1).
234
+ The key is read from the credentials file as well as the config file. A profile without
235
+ ``credential_process`` is skipped; a command that fails or outlives the timeout stops the chain.
236
+ """
237
+
238
+ def __init__(
239
+ self,
240
+ credentials_file: Path | None = None,
241
+ profile: str | None = None,
242
+ timeout: float = 60.0,
243
+ ) -> None:
244
+ self._profile = profile or active_profile()
245
+ self._cred_file = credentials_file or _shared_credentials_file()
246
+ self._timeout = timeout
247
+
248
+ def resolve_identity(self) -> Credentials:
249
+ section = _load_merged_profile(self._profile, self._cred_file)
250
+ command = section.get("credential_process")
251
+ if not command:
252
+ raise IdentityNotFound(f"profile {self._profile!r}: no credential_process")
253
+ try:
254
+ # the shell is sh -c on POSIX and cmd.exe /c on Windows, which parses the path natively
255
+ result = subprocess.run(
256
+ command,
257
+ shell=True,
258
+ capture_output=True,
259
+ text=True,
260
+ check=False,
261
+ timeout=self._timeout,
262
+ )
263
+ except subprocess.TimeoutExpired:
264
+ raise CredentialProcessError(
265
+ f"profile {self._profile!r}: credential_process did not finish within {self._timeout} seconds"
266
+ ) from None
267
+ except OSError as e:
268
+ raise CredentialProcessError(f"profile {self._profile!r}: {e}") from e
269
+ # stdout carries the secret, so only stderr ever goes into an error message
270
+ if result.returncode != 0:
271
+ raise CredentialProcessError(
272
+ f"profile {self._profile!r}: credential_process exited with {result.returncode}: {result.stderr.strip()}"
273
+ )
274
+ try:
275
+ data = json.loads(result.stdout)
276
+ except ValueError:
277
+ raise CredentialProcessError(
278
+ f"profile {self._profile!r}: credential_process did not print JSON"
279
+ ) from None
280
+ if not isinstance(data, dict) or data.get("Version") != 1:
281
+ raise CredentialProcessError(
282
+ f"profile {self._profile!r}: credential_process output must be a JSON object with Version 1"
219
283
  )
220
- return merged
284
+ try:
285
+ return _credentials_from_json(data, token_key="SessionToken")
286
+ except IdentityNotFound as e:
287
+ raise CredentialProcessError(f"profile {self._profile!r}: {e}") from None
288
+ except ValueError:
289
+ raise CredentialProcessError(
290
+ f"profile {self._profile!r}: credential_process printed an invalid Expiration"
291
+ ) from None
292
+
293
+
294
+ def _shared_credentials_file() -> Path:
295
+ return Path(
296
+ os.environ.get("AWS_SHARED_CREDENTIALS_FILE")
297
+ or Path.home() / ".aws" / "credentials"
298
+ )
299
+
300
+
301
+ def _load_merged_profile(profile: str, credentials_file: Path) -> dict[str, str]:
302
+ """The profile's keys from the config file, overlaid by the credentials file, as the AWS SDKs merge them."""
303
+ # config-file profile reuses the loader from _services/_aws_config
304
+ merged, _ = _load_profile(profile)
305
+ merged.update(_credentials_file_section(profile, credentials_file))
306
+ return merged
307
+
308
+
309
+ def _credentials_file_section(profile: str, credentials_file: Path) -> dict[str, str]:
310
+ if not credentials_file.is_file():
311
+ return {}
312
+ cfg = configparser.ConfigParser(interpolation=None)
313
+ cfg.read(credentials_file)
314
+ return dict(cfg.items(profile)) if cfg.has_section(profile) else {}
221
315
 
222
316
 
223
317
  class EcsContainerCredentialsProvider(CredentialsProvider):
@@ -721,6 +815,7 @@ class AssumeRoleCredentialsProvider(CredentialsProvider):
721
815
  ),
722
816
  SsoCredentialsProvider(self._client, source_profile),
723
817
  ProfileCredentialsProvider(profile=source_profile),
818
+ ProcessCredentialsProvider(profile=source_profile),
724
819
  )
725
820
 
726
821
 
@@ -853,7 +948,10 @@ def _parse_iso8601(value: str) -> datetime:
853
948
  return datetime.fromisoformat(value.replace("Z", "+00:00"))
854
949
 
855
950
 
856
- def _credentials_from_json(data: dict[str, object]) -> Credentials:
951
+ def _credentials_from_json(
952
+ data: dict[str, object], *, token_key: str = "Token"
953
+ ) -> Credentials:
954
+ # ECS and IMDS name the session token Token; credential_process names it SessionToken
857
955
  ak = data.get("AccessKeyId")
858
956
  sk = data.get("SecretAccessKey")
859
957
  if not isinstance(ak, str) or not isinstance(sk, str):
@@ -861,7 +959,7 @@ def _credentials_from_json(data: dict[str, object]) -> Credentials:
861
959
  "credentials response missing AccessKeyId/SecretAccessKey"
862
960
  )
863
961
  out: Credentials = {"access_key": ak, "secret_key": sk}
864
- token = data.get("Token")
962
+ token = data.get(token_key)
865
963
  if isinstance(token, str):
866
964
  out["session_token"] = token
867
965
  exp = data.get("Expiration")
@@ -880,6 +978,7 @@ def default_aws_credentials_chain(
880
978
  WebIdentityCredentialsProvider(client),
881
979
  SsoCredentialsProvider(client),
882
980
  ProfileCredentialsProvider(),
981
+ ProcessCredentialsProvider(),
883
982
  EcsContainerCredentialsProvider(client),
884
983
  Ec2InstanceMetadataProvider(client),
885
984
  )
@@ -0,0 +1,34 @@
1
+ """Stand-ins for union variants and events this client doesn't know about.
2
+
3
+ A service may add a union member or an event after the client was generated.
4
+ Smithy asks clients not to fail on those, so deserialization returns one of
5
+ these instead of raising.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ from dataclasses import dataclass
11
+
12
+ from .._protocol.eventstream import Message
13
+
14
+
15
+ @dataclass(frozen=True)
16
+ class UnknownUnionMember:
17
+ """A union variant the service sent that this client has no member for."""
18
+
19
+ name: str
20
+ """The variant's name on the wire."""
21
+
22
+
23
+ @dataclass(frozen=True)
24
+ class UnknownEvent:
25
+ """An event-stream event whose ``:event-type`` this client doesn't know."""
26
+
27
+ event_type: str
28
+ """The event's ``:event-type`` header."""
29
+
30
+ message: Message
31
+ """The raw message, headers and undecoded payload."""
32
+
33
+
34
+ __all__ = ["UnknownEvent", "UnknownUnionMember"]
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import NotRequired, TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.thing_name
11
9
  import capo_iotthingsgraph.types.urn
@@ -36,11 +34,11 @@ def deserialize_aws_json_1_1(data: dict) -> AssociateEntityToThingRequest:
36
34
  if data.get("thingName") is not None:
37
35
  out["thing_name"] = data["thingName"]
38
36
  else:
39
- raise DeserializationError("AssociateEntityToThingRequest.thing_name required")
37
+ out["thing_name"] = ""
40
38
  if data.get("entityId") is not None:
41
39
  out["entity_id"] = data["entityId"]
42
40
  else:
43
- raise DeserializationError("AssociateEntityToThingRequest.entity_id required")
41
+ out["entity_id"] = ""
44
42
  if data.get("namespaceVersion") is not None:
45
43
  out["namespace_version"] = data["namespaceVersion"]
46
44
  return out
@@ -98,7 +98,11 @@ def deserialize_aws_json_1_1(data: dict) -> CreateSystemInstanceRequest:
98
98
  )
99
99
  )
100
100
  else:
101
- raise DeserializationError("CreateSystemInstanceRequest.target required")
101
+ import typing
102
+
103
+ out["target"] = typing.cast(
104
+ "capo_iotthingsgraph.types.deployment_target.DeploymentTarget", ""
105
+ )
102
106
  if data.get("greengrassGroupName") is not None:
103
107
  out["greengrass_group_name"] = data["greengrassGroupName"]
104
108
  if data.get("s3BucketName") is not None:
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.definition_language
11
9
  import capo_iotthingsgraph.types.definition_text
@@ -43,9 +41,13 @@ def deserialize_aws_json_1_1(data: dict) -> DefinitionDocument:
43
41
  )
44
42
  )
45
43
  else:
46
- raise DeserializationError("DefinitionDocument.language required")
44
+ import typing
45
+
46
+ out["language"] = typing.cast(
47
+ "capo_iotthingsgraph.types.definition_language.DefinitionLanguage", ""
48
+ )
47
49
  if data.get("text") is not None:
48
50
  out["text"] = data["text"]
49
51
  else:
50
- raise DeserializationError("DefinitionDocument.text required")
52
+ out["text"] = ""
51
53
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
 
@@ -27,5 +25,5 @@ def deserialize_aws_json_1_1(data: dict) -> DeleteFlowTemplateRequest:
27
25
  if data.get("id") is not None:
28
26
  out["id"] = data["id"]
29
27
  else:
30
- raise DeserializationError("DeleteFlowTemplateRequest.id required")
28
+ out["id"] = ""
31
29
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
 
@@ -27,5 +25,5 @@ def deserialize_aws_json_1_1(data: dict) -> DeleteSystemTemplateRequest:
27
25
  if data.get("id") is not None:
28
26
  out["id"] = data["id"]
29
27
  else:
30
- raise DeserializationError("DeleteSystemTemplateRequest.id required")
28
+ out["id"] = ""
31
29
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
 
@@ -27,5 +25,5 @@ def deserialize_aws_json_1_1(data: dict) -> DeprecateFlowTemplateRequest:
27
25
  if data.get("id") is not None:
28
26
  out["id"] = data["id"]
29
27
  else:
30
- raise DeserializationError("DeprecateFlowTemplateRequest.id required")
28
+ out["id"] = ""
31
29
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
 
@@ -27,5 +25,5 @@ def deserialize_aws_json_1_1(data: dict) -> DeprecateSystemTemplateRequest:
27
25
  if data.get("id") is not None:
28
26
  out["id"] = data["id"]
29
27
  else:
30
- raise DeserializationError("DeprecateSystemTemplateRequest.id required")
28
+ out["id"] = ""
31
29
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.entity_type
11
9
  import capo_iotthingsgraph.types.thing_name
@@ -35,9 +33,7 @@ def deserialize_aws_json_1_1(data: dict) -> DissociateEntityFromThingRequest:
35
33
  if data.get("thingName") is not None:
36
34
  out["thing_name"] = data["thingName"]
37
35
  else:
38
- raise DeserializationError(
39
- "DissociateEntityFromThingRequest.thing_name required"
40
- )
36
+ out["thing_name"] = ""
41
37
  if data.get("entityType") is not None:
42
38
  import capo_iotthingsgraph.types.entity_type
43
39
 
@@ -47,7 +43,9 @@ def deserialize_aws_json_1_1(data: dict) -> DissociateEntityFromThingRequest:
47
43
  )
48
44
  )
49
45
  else:
50
- raise DeserializationError(
51
- "DissociateEntityFromThingRequest.entity_type required"
46
+ import typing
47
+
48
+ out["entity_type"] = typing.cast(
49
+ "capo_iotthingsgraph.types.entity_type.EntityType", ""
52
50
  )
53
51
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.flow_template_filter_name
11
9
  import capo_iotthingsgraph.types.flow_template_filter_values
@@ -51,7 +49,12 @@ def deserialize_aws_json_1_1(data: dict) -> FlowTemplateFilter:
51
49
  )
52
50
  )
53
51
  else:
54
- raise DeserializationError("FlowTemplateFilter.name required")
52
+ import typing
53
+
54
+ out["name"] = typing.cast(
55
+ "capo_iotthingsgraph.types.flow_template_filter_name.FlowTemplateFilterName",
56
+ "",
57
+ )
55
58
  if data.get("value") is not None:
56
59
  import capo_iotthingsgraph.types.flow_template_filter_values
57
60
 
@@ -61,5 +64,5 @@ def deserialize_aws_json_1_1(data: dict) -> FlowTemplateFilter:
61
64
  )
62
65
  )
63
66
  else:
64
- raise DeserializationError("FlowTemplateFilter.value required")
67
+ out["value"] = []
65
68
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import NotRequired, TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urns
11
9
  import capo_iotthingsgraph.types.version
@@ -38,7 +36,7 @@ def deserialize_aws_json_1_1(data: dict) -> GetEntitiesRequest:
38
36
  data["ids"]
39
37
  )
40
38
  else:
41
- raise DeserializationError("GetEntitiesRequest.ids required")
39
+ out["ids"] = []
42
40
  if data.get("namespaceVersion") is not None:
43
41
  out["namespace_version"] = data["namespaceVersion"]
44
42
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import NotRequired, TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
  import capo_iotthingsgraph.types.version
@@ -32,7 +30,7 @@ def deserialize_aws_json_1_1(data: dict) -> GetFlowTemplateRequest:
32
30
  if data.get("id") is not None:
33
31
  out["id"] = data["id"]
34
32
  else:
35
- raise DeserializationError("GetFlowTemplateRequest.id required")
33
+ out["id"] = ""
36
34
  if data.get("revisionNumber") is not None:
37
35
  out["revision_number"] = data["revisionNumber"]
38
36
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import NotRequired, TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.max_results
11
9
  import capo_iotthingsgraph.types.next_token
@@ -37,7 +35,7 @@ def deserialize_aws_json_1_1(data: dict) -> GetFlowTemplateRevisionsRequest:
37
35
  if data.get("id") is not None:
38
36
  out["id"] = data["id"]
39
37
  else:
40
- raise DeserializationError("GetFlowTemplateRevisionsRequest.id required")
38
+ out["id"] = ""
41
39
  if data.get("nextToken") is not None:
42
40
  out["next_token"] = data["nextToken"]
43
41
  if data.get("maxResults") is not None:
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
 
@@ -27,5 +25,5 @@ def deserialize_aws_json_1_1(data: dict) -> GetSystemInstanceRequest:
27
25
  if data.get("id") is not None:
28
26
  out["id"] = data["id"]
29
27
  else:
30
- raise DeserializationError("GetSystemInstanceRequest.id required")
28
+ out["id"] = ""
31
29
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import NotRequired, TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.urn
11
9
  import capo_iotthingsgraph.types.version
@@ -32,7 +30,7 @@ def deserialize_aws_json_1_1(data: dict) -> GetSystemTemplateRequest:
32
30
  if data.get("id") is not None:
33
31
  out["id"] = data["id"]
34
32
  else:
35
- raise DeserializationError("GetSystemTemplateRequest.id required")
33
+ out["id"] = ""
36
34
  if data.get("revisionNumber") is not None:
37
35
  out["revision_number"] = data["revisionNumber"]
38
36
  return out
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import NotRequired, TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.max_results
11
9
  import capo_iotthingsgraph.types.next_token
@@ -37,7 +35,7 @@ def deserialize_aws_json_1_1(data: dict) -> GetSystemTemplateRevisionsRequest:
37
35
  if data.get("id") is not None:
38
36
  out["id"] = data["id"]
39
37
  else:
40
- raise DeserializationError("GetSystemTemplateRevisionsRequest.id required")
38
+ out["id"] = ""
41
39
  if data.get("nextToken") is not None:
42
40
  out["next_token"] = data["nextToken"]
43
41
  if data.get("maxResults") is not None:
@@ -4,8 +4,6 @@ from typing import TYPE_CHECKING
4
4
 
5
5
  from typing_extensions import TypedDict
6
6
 
7
- from capo_iotthingsgraph.errors import DeserializationError
8
-
9
7
  if TYPE_CHECKING:
10
8
  import capo_iotthingsgraph.types.upload_id
11
9
 
@@ -27,5 +25,5 @@ def deserialize_aws_json_1_1(data: dict) -> GetUploadStatusRequest:
27
25
  if data.get("uploadId") is not None:
28
26
  out["upload_id"] = data["uploadId"]
29
27
  else:
30
- raise DeserializationError("GetUploadStatusRequest.upload_id required")
28
+ out["upload_id"] = ""
31
29
  return out