bce-python-sdk 0.9.39__tar.gz → 0.9.41__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 (185) hide show
  1. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/PKG-INFO +1 -1
  2. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/__init__.py +1 -1
  3. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/http/http_headers.py +10 -4
  4. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/blb/blb_client.py +34 -1
  5. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bos/bos_client.py +8 -5
  6. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/bce_python_sdk.egg-info/PKG-INFO +1 -1
  7. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/README.txt +0 -0
  8. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/auth/__init__.py +0 -0
  9. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/auth/bce_credentials.py +0 -0
  10. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/auth/bce_v1_signer.py +0 -0
  11. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/bce_base_client.py +0 -0
  12. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/bce_client_configuration.py +0 -0
  13. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/bce_response.py +0 -0
  14. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/compat.py +0 -0
  15. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/exception.py +0 -0
  16. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/http/__init__.py +0 -0
  17. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/http/bce_http_client.py +0 -0
  18. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/http/handler.py +0 -0
  19. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/http/http_content_types.py +0 -0
  20. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/http/http_methods.py +0 -0
  21. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/protocol.py +0 -0
  22. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/region.py +0 -0
  23. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/retry/__init__.py +0 -0
  24. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/retry/retry_policy.py +0 -0
  25. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/__init__.py +0 -0
  26. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/autoscaling/__init__.py +0 -0
  27. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/autoscaling/as_client.py +0 -0
  28. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/autoscaling/as_handler.py +0 -0
  29. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/autoscaling/as_model.py +0 -0
  30. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bbc/__init__.py +0 -0
  31. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bbc/bbc_client.py +0 -0
  32. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bbc/bbc_model.py +0 -0
  33. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcc/__init__.py +0 -0
  34. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcc/bcc_client.py +0 -0
  35. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcc/bcc_model.py +0 -0
  36. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcc/fpga_card_type.py +0 -0
  37. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcc/gpu_card_type.py +0 -0
  38. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcm/__init__.py +0 -0
  39. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcm/bcm_client.py +0 -0
  40. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcm/bcm_handler.py +0 -0
  41. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bcm/bcm_model.py +0 -0
  42. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bes/__init__.py +0 -0
  43. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bes/bes_client.py +0 -0
  44. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bes/bes_model.py +0 -0
  45. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/blb/__init__.py +0 -0
  46. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/blb/app_blb_client.py +0 -0
  47. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/blb/user_service_client.py +0 -0
  48. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bls/__init__.py +0 -0
  49. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bls/bls_client.py +0 -0
  50. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bls/bls_handler.py +0 -0
  51. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bls/bls_model.py +0 -0
  52. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bmr/__init__.py +0 -0
  53. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bmr/bmr_client.py +0 -0
  54. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bos/__init__.py +0 -0
  55. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bos/bos_handler.py +0 -0
  56. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bos/canned_acl.py +0 -0
  57. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bos/common.py +0 -0
  58. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bos/storage_class.py +0 -0
  59. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bts/__init__.py +0 -0
  60. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bts/bts_client.py +0 -0
  61. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bts/model.py +0 -0
  62. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/bts/util.py +0 -0
  63. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ca/__init__.py +0 -0
  64. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ca/ca_client.py +0 -0
  65. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ca/ca_handler.py +0 -0
  66. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ca/ca_model.py +0 -0
  67. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cdn/__init__.py +0 -0
  68. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cdn/cdn_client.py +0 -0
  69. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cdn/cdn_stats_param.py +0 -0
  70. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cert/__init__.py +0 -0
  71. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cert/cert_client.py +0 -0
  72. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cert/cert_model.py +0 -0
  73. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cfc/__init__.py +0 -0
  74. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cfc/cfc_client.py +0 -0
  75. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cfc/cfc_handler.py +0 -0
  76. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/cfc/models.py +0 -0
  77. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/csn/__init__.py +0 -0
  78. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/csn/csn_api.py +0 -0
  79. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/csn/csn_client.py +0 -0
  80. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/csn/csn_model.py +0 -0
  81. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ddc/__init__.py +0 -0
  82. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ddc/ddc_client.py +0 -0
  83. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/dns/__init__.py +0 -0
  84. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/dns/api/__init__.py +0 -0
  85. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/dns/api/dns_api.py +0 -0
  86. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/dns/dns_client.py +0 -0
  87. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/dumap/__init__.py +0 -0
  88. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/dumap/dumap_client.py +0 -0
  89. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/__init__.py +0 -0
  90. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/eip_bp_client.py +0 -0
  91. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/eip_client.py +0 -0
  92. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/eip_group_client.py +0 -0
  93. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/eip_group_model.py +0 -0
  94. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/eip_tp_client.py +0 -0
  95. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eip/model.py +0 -0
  96. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/endpoint/__init__.py +0 -0
  97. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/endpoint/endpoint_client.py +0 -0
  98. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/endpoint/model.py +0 -0
  99. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eni/__init__.py +0 -0
  100. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eni/eni_client.py +0 -0
  101. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/eni/eni_model.py +0 -0
  102. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/esg/__init__.py +0 -0
  103. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/esg/esg_client.py +0 -0
  104. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/esg/esg_model.py +0 -0
  105. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/et/__init__.py +0 -0
  106. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/et/et_client.py +0 -0
  107. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/et/model.py +0 -0
  108. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/etGateway/__init__.py +0 -0
  109. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/etGateway/et_gateway_client.py +0 -0
  110. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/havip/havip_client.py +0 -0
  111. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/iam/__init__.py +0 -0
  112. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/iam/iam_client.py +0 -0
  113. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/infinite/__init__.py +0 -0
  114. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/infinite/infinite_client.py +0 -0
  115. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ipv6gateway/__init__.py +0 -0
  116. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ipv6gateway/ipv6gateway_client.py +0 -0
  117. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/ipv6gateway/ipv6gateway_model.py +0 -0
  118. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/kms/__init__.py +0 -0
  119. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/kms/keyspec_class.py +0 -0
  120. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/kms/kms_client.py +0 -0
  121. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/kms/origin_class.py +0 -0
  122. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/kms/protectedby_class.py +0 -0
  123. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/kms/publickeyencoding_class.py +0 -0
  124. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/lbdc/__init__.py +0 -0
  125. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/lbdc/lbdc_client.py +0 -0
  126. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/lbdc/model.py +0 -0
  127. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/localdns/__init__.py +0 -0
  128. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/localdns/api/__init__.py +0 -0
  129. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/localdns/api/ld_api.py +0 -0
  130. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/localdns/ld_client.py +0 -0
  131. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/media/__init__.py +0 -0
  132. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/media/media_client.py +0 -0
  133. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/media/media_handler.py +0 -0
  134. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/mms/__init__.py +0 -0
  135. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/mms/mms_client.py +0 -0
  136. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/mvs/__init__.py +0 -0
  137. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/mvs/mvs_client.py +0 -0
  138. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/oos/__init__.py +0 -0
  139. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/oos/oos_client.py +0 -0
  140. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/oos/oos_model.py +0 -0
  141. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/probe/__init__.py +0 -0
  142. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/probe/probe_client.py +0 -0
  143. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/rds/__init__.py +0 -0
  144. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/rds/rds_client.py +0 -0
  145. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/rds/rds_model.py +0 -0
  146. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/route/__init__.py +0 -0
  147. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/route/route_client.py +0 -0
  148. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/route/route_model.py +0 -0
  149. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/scs/__init__.py +0 -0
  150. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/scs/model.py +0 -0
  151. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/scs/scs_client.py +0 -0
  152. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/sms/__init__.py +0 -0
  153. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/sms/model.py +0 -0
  154. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/sms/sms_client.py +0 -0
  155. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/sts/__init__.py +0 -0
  156. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/sts/sts_client.py +0 -0
  157. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/subnet/__init__.py +0 -0
  158. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/subnet/subnet_client.py +0 -0
  159. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/tsdb/__init__.py +0 -0
  160. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/tsdb/tsdb_admin_client.py +0 -0
  161. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/tsdb/tsdb_client.py +0 -0
  162. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/tsdb/tsdb_handler.py +0 -0
  163. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vca/__init__.py +0 -0
  164. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vca/vca_client.py +0 -0
  165. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vcr/__init__.py +0 -0
  166. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vcr/vcr_client.py +0 -0
  167. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/__init__.py +0 -0
  168. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/acl_client.py +0 -0
  169. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/nat_client.py +0 -0
  170. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/nat_model.py +0 -0
  171. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/peerconn_client.py +0 -0
  172. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/peerconn_model.py +0 -0
  173. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/template_client.py +0 -0
  174. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/template_model.py +0 -0
  175. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpc/vpc_client.py +0 -0
  176. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpn/__init__.py +0 -0
  177. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpn/vpn_client.py +0 -0
  178. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/services/vpn/vpn_model.py +0 -0
  179. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/baidubce/utils.py +0 -0
  180. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/bce_python_sdk.egg-info/SOURCES.txt +0 -0
  181. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/bce_python_sdk.egg-info/dependency_links.txt +0 -0
  182. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/bce_python_sdk.egg-info/requires.txt +0 -0
  183. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/bce_python_sdk.egg-info/top_level.txt +0 -0
  184. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/setup.cfg +0 -0
  185. {bce_python_sdk-0.9.39 → bce_python_sdk-0.9.41}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.39
3
+ Version: 0.9.41
4
4
  Summary: BCE SDK for python
5
5
  Home-page: http://bce.baidu.com
6
6
  Author:
@@ -18,7 +18,7 @@ from builtins import bytes
18
18
  from . import protocol
19
19
 
20
20
 
21
- SDK_VERSION = b'0.9.39'
21
+ SDK_VERSION = b'0.9.41'
22
22
  DEFAULT_SERVICE_DOMAIN = b'bcebos.com'
23
23
  URL_PREFIX = b'/v1'
24
24
  DEFAULT_ENCODING = 'UTF-8'
@@ -76,7 +76,7 @@ BCE_USER_METADATA_PREFIX = b"x-bce-meta-"
76
76
 
77
77
  BCE_REQUEST_ID = b"x-bce-request-id"
78
78
 
79
- # BOS HTTP Headers
79
+ # BOS HTTP Headers START
80
80
 
81
81
  BOS_DEBUG_ID = b"x-bce-bos-debug-id"
82
82
 
@@ -110,13 +110,19 @@ BOS_TRAFFIC_LIMIT = b"x-bce-traffic-limit"
110
110
 
111
111
  BOS_VERSIONING = b"x-bce-versioning"
112
112
 
113
- # STS HTTP Headers
114
-
115
- STS_SECURITY_TOKEN = b"x-bce-security-token"
113
+ BOS_OBJECT_EXPIRES = b"x-bce-object-expires"
116
114
 
117
115
  BOS_TAGGING = b"x-bce-tagging"
118
116
 
119
117
  BOS_PROCESS = b"x-bce-process"
120
118
 
119
+ BOS_BASE_ALLOW_HEADERS = set([BOS_TRAFFIC_LIMIT, BOS_VERSIONING, BOS_TAGGING, BOS_PROCESS, BOS_OBJECT_EXPIRES])
120
+
121
+ # BOS HTTP Headers END
122
+
123
+ # STS HTTP Headers
124
+
125
+ STS_SECURITY_TOKEN = b"x-bce-security-token"
126
+
121
127
  # BTS HTTP Headers
122
128
  BTS_METHOD_HEADER = b"x-bce-bts-method"
@@ -553,6 +553,8 @@ class BlbClient(bce_base_client.BceBaseClient):
553
553
  health_check_string=(bytes, str))
554
554
  def create_udp_listener(self, blb_id, listener_port, backend_port,
555
555
  scheduler, health_check_string,
556
+ health_check_type=None,
557
+ health_check_port=None,
556
558
  health_check_timeout_in_second=None,
557
559
  health_check_interval=None,
558
560
  unhealthy_threshold=None,
@@ -585,6 +587,15 @@ class BlbClient(bce_base_client.BceBaseClient):
585
587
  the backend server needs to respond after receiving it.
586
588
  :type health_check_string: string
587
589
 
590
+ :param health_check_type
591
+ Health check protocol
592
+ :value 'UDP' or 'ICMP'
593
+ :type health_check_type: string
594
+
595
+ :param health_check_port
596
+ Health check port, the default is the same as backend_port.
597
+ :type health_check_port: int
598
+
588
599
  :param health_check_timeout_in_second
589
600
  Health check timeout
590
601
  :value 1-60, default: 3, unit: seconds
@@ -635,6 +646,10 @@ class BlbClient(bce_base_client.BceBaseClient):
635
646
  'healthCheckString': compat.convert_to_string(health_check_string)
636
647
  }
637
648
 
649
+ if health_check_type is not None:
650
+ body['healthCheckType'] = health_check_type
651
+ if health_check_port is not None:
652
+ body['healthCheckPort'] = health_check_port
638
653
  if health_check_timeout_in_second is not None:
639
654
  body['healthCheckTimeoutInSecond'] = \
640
655
  health_check_timeout_in_second
@@ -1515,7 +1530,10 @@ class BlbClient(bce_base_client.BceBaseClient):
1515
1530
  listener_port=int,
1516
1531
  backend_port=int)
1517
1532
  def update_udp_listener(self, blb_id, listener_port, backend_port=None,
1518
- scheduler=None, health_check_string=None,
1533
+ scheduler=None,
1534
+ health_check_type=None,
1535
+ health_check_port=None,
1536
+ health_check_string=None,
1519
1537
  health_check_timeout_in_second=None,
1520
1538
  health_check_interval=None,
1521
1539
  unhealth_threshold=None,
@@ -1543,6 +1561,16 @@ class BlbClient(bce_base_client.BceBaseClient):
1543
1561
  :value 'RoundRobin'or'LeastConnection'or'Hash'
1544
1562
  :type scheduler:string
1545
1563
 
1564
+ :param health_check_type
1565
+ Health check protocol
1566
+ :value 'UDP' or 'ICMP'
1567
+ :type health_check_type:string
1568
+
1569
+ :param health_check_port
1570
+ Health check port, the default is the same as backend_port.
1571
+ This field can only be updated if health_check_type is UDP.
1572
+ :type health_check_port:int
1573
+
1546
1574
  :param health_check_string
1547
1575
  The request string sent by the health,
1548
1576
  the backend server needs to respond after receiving it,
@@ -1589,6 +1617,11 @@ class BlbClient(bce_base_client.BceBaseClient):
1589
1617
  body['backendPort'] = backend_port
1590
1618
  if scheduler is not None:
1591
1619
  body['scheduler'] = compat.convert_to_string(scheduler)
1620
+ if health_check_type is not None:
1621
+ body['healthCheckType'] = \
1622
+ compat.convert_to_string(health_check_type)
1623
+ if health_check_port is not None:
1624
+ body['healthCheckPort'] = health_check_port
1592
1625
  if health_check_string is not None:
1593
1626
  body['healthCheckString'] = \
1594
1627
  compat.convert_to_string(health_check_string)
@@ -2693,21 +2693,24 @@ class BosClient(BceBaseClient):
2693
2693
  def _get_user_header(headers, user_headers, is_copy=False):
2694
2694
  if not isinstance(user_headers, dict):
2695
2695
  raise TypeError('user_headers should be of type dict.')
2696
+
2697
+ bos_headers = http_headers.BOS_BASE_ALLOW_HEADERS
2696
2698
 
2697
2699
  if not is_copy:
2698
- user_headers_set = set([http_headers.CACHE_CONTROL,
2700
+ user_headers_set = bos_headers.union(set([http_headers.CACHE_CONTROL,
2699
2701
  http_headers.CONTENT_ENCODING,
2700
2702
  http_headers.CONTENT_DISPOSITION,
2701
2703
  http_headers.EXPIRES,
2702
- http_headers.BOS_PROCESS])
2704
+ http_headers.BOS_PROCESS]))
2703
2705
  else:
2704
- user_headers_set = set([http_headers.BCE_COPY_SOURCE_IF_NONE_MATCH,
2706
+ user_headers_set = bos_headers.union(set([http_headers.BCE_COPY_SOURCE_IF_NONE_MATCH,
2705
2707
  http_headers.BCE_COPY_SOURCE_IF_UNMODIFIED_SINCE,
2706
- http_headers.BCE_COPY_SOURCE_IF_MODIFIED_SINCE])
2708
+ http_headers.BCE_COPY_SOURCE_IF_MODIFIED_SINCE]))
2707
2709
 
2708
2710
  for k, v in iteritems(user_headers):
2709
2711
  k = utils.convert_to_standard_string(k)
2710
- v = utils.convert_to_standard_string(v)
2712
+ if k != http_headers.BOS_OBJECT_EXPIRES:
2713
+ v = utils.convert_to_standard_string(v)
2711
2714
  if k in user_headers_set:
2712
2715
  headers[k] = v
2713
2716
  return headers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bce-python-sdk
3
- Version: 0.9.39
3
+ Version: 0.9.41
4
4
  Summary: BCE SDK for python
5
5
  Home-page: http://bce.baidu.com
6
6
  Author: