capo-machine-learning 0.3.0__tar.gz → 0.5.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 (224) hide show
  1. {capo_machine_learning-0.3.0/src/capo_machine_learning.egg-info → capo_machine_learning-0.5.0}/PKG-INFO +1 -1
  2. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/pyproject.toml +1 -1
  3. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/add_tags.py +5 -1
  4. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_batch_prediction.py +5 -1
  5. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_data_source_from_rds.py +5 -1
  6. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_data_source_from_redshift.py +5 -1
  7. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_data_source_from_s3.py +5 -1
  8. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_evaluation.py +5 -1
  9. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_ml_model.py +5 -1
  10. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_realtime_endpoint.py +5 -1
  11. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_batch_prediction.py +5 -1
  12. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_data_source.py +5 -1
  13. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_evaluation.py +5 -1
  14. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_ml_model.py +5 -1
  15. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_realtime_endpoint.py +5 -1
  16. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_tags.py +5 -1
  17. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_batch_predictions.py +5 -1
  18. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_data_sources.py +5 -1
  19. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_evaluations.py +5 -1
  20. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_ml_models.py +5 -1
  21. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_tags.py +5 -1
  22. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_batch_prediction.py +5 -1
  23. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_data_source.py +5 -1
  24. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_evaluation.py +5 -1
  25. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_ml_model.py +5 -1
  26. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/predict.py +5 -1
  27. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_batch_prediction.py +5 -1
  28. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_data_source.py +5 -1
  29. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_evaluation.py +5 -1
  30. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_ml_model.py +5 -1
  31. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_services/_pipeline.py +2 -0
  32. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_services/async_machine_learning.py +13 -8
  33. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_services/machine_learning.py +13 -8
  34. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_batch_prediction_input.py +1 -1
  35. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_data_source_from_rds_input.py +1 -1
  36. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_data_source_from_redshift_input.py +1 -1
  37. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_data_source_from_s3_input.py +1 -1
  38. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_ml_model_input.py +1 -1
  39. capo_machine_learning-0.5.0/src/capo_machine_learning/types/data_schema.py +6 -0
  40. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/evaluation.py +1 -1
  41. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_evaluation_output.py +1 -1
  42. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_ml_model_output.py +1 -1
  43. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/ml_model.py +1 -1
  44. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_data_spec.py +4 -4
  45. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_metadata.py +2 -2
  46. capo_machine_learning-0.5.0/src/capo_machine_learning/types/redshift_data_spec.py +105 -0
  47. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_database_password.py +1 -1
  48. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_database_username.py +1 -1
  49. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_select_sql_query.py +1 -1
  50. capo_machine_learning-0.5.0/src/capo_machine_learning/types/role_arn.py +6 -0
  51. capo_machine_learning-0.5.0/src/capo_machine_learning/types/s3_data_spec.py +53 -0
  52. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0/src/capo_machine_learning.egg-info}/PKG-INFO +1 -1
  53. capo_machine_learning-0.3.0/src/capo_machine_learning/types/data_schema.py +0 -6
  54. capo_machine_learning-0.3.0/src/capo_machine_learning/types/redshift_data_spec.py +0 -105
  55. capo_machine_learning-0.3.0/src/capo_machine_learning/types/role_arn.py +0 -6
  56. capo_machine_learning-0.3.0/src/capo_machine_learning/types/s3_data_spec.py +0 -53
  57. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/LICENSE +0 -0
  58. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/README.md +0 -0
  59. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/setup.cfg +0 -0
  60. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/__init__.py +0 -0
  61. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_async.py +0 -0
  62. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_auth/_identity.py +0 -0
  63. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_auth/_providers.py +0 -0
  64. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_auth/_signers.py +0 -0
  65. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_auth/_sigv4.py +0 -0
  66. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_auth/_zapros_handler.py +0 -0
  67. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_body.py +0 -0
  68. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_iter.py +0 -0
  69. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_pagination.py +0 -0
  70. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_protocol/__init__.py +0 -0
  71. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_protocol/errors.py +0 -0
  72. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_protocol/eventstream.py +0 -0
  73. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_protocol/serialize.py +0 -0
  74. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_protocol/xml.py +0 -0
  75. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_rule_engine/__init__.py +0 -0
  76. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_rule_engine/_aws_partition.py +0 -0
  77. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_rule_engine/_endpoint_rule_set.py +0 -0
  78. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_rule_engine/_endpoint_runtime.py +0 -0
  79. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/_services/_aws_config.py +0 -0
  80. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/__init__.py +0 -0
  81. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/_base.py +0 -0
  82. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/idempotent_parameter_mismatch_exception.py +0 -0
  83. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/internal_server_exception.py +0 -0
  84. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/invalid_input_exception.py +0 -0
  85. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/invalid_tag_exception.py +0 -0
  86. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/limit_exceeded_exception.py +0 -0
  87. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/predictor_not_mounted_exception.py +0 -0
  88. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/resource_not_found_exception.py +0 -0
  89. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/errors/tag_limit_exceeded_exception.py +0 -0
  90. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/py.typed +0 -0
  91. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/_prelude/blob.py +0 -0
  92. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/_prelude/timestamp.py +0 -0
  93. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/add_tags_input.py +0 -0
  94. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/add_tags_output.py +0 -0
  95. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/algorithm.py +0 -0
  96. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/aws_user_arn.py +0 -0
  97. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/batch_prediction.py +0 -0
  98. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/batch_prediction_filter_variable.py +0 -0
  99. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/batch_predictions.py +0 -0
  100. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/comparator_value.py +0 -0
  101. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/compute_statistics.py +0 -0
  102. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_batch_prediction_output.py +0 -0
  103. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_data_source_from_rds_output.py +0 -0
  104. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_data_source_from_redshift_output.py +0 -0
  105. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_data_source_from_s3_output.py +0 -0
  106. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_evaluation_input.py +0 -0
  107. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_evaluation_output.py +0 -0
  108. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_ml_model_output.py +0 -0
  109. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_realtime_endpoint_input.py +0 -0
  110. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/create_realtime_endpoint_output.py +0 -0
  111. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/data_rearrangement.py +0 -0
  112. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/data_source.py +0 -0
  113. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/data_source_filter_variable.py +0 -0
  114. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/data_sources.py +0 -0
  115. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_batch_prediction_input.py +0 -0
  116. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_batch_prediction_output.py +0 -0
  117. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_data_source_input.py +0 -0
  118. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_data_source_output.py +0 -0
  119. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_evaluation_input.py +0 -0
  120. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_evaluation_output.py +0 -0
  121. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_ml_model_input.py +0 -0
  122. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_ml_model_output.py +0 -0
  123. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_realtime_endpoint_input.py +0 -0
  124. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_realtime_endpoint_output.py +0 -0
  125. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_tags_input.py +0 -0
  126. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/delete_tags_output.py +0 -0
  127. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_batch_predictions_input.py +0 -0
  128. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_batch_predictions_output.py +0 -0
  129. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_data_sources_input.py +0 -0
  130. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_data_sources_output.py +0 -0
  131. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_evaluations_input.py +0 -0
  132. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_evaluations_output.py +0 -0
  133. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_ml_models_input.py +0 -0
  134. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_ml_models_output.py +0 -0
  135. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_tags_input.py +0 -0
  136. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/describe_tags_output.py +0 -0
  137. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/details_attributes.py +0 -0
  138. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/details_map.py +0 -0
  139. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/details_value.py +0 -0
  140. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/edp_pipeline_id.py +0 -0
  141. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/edp_resource_role.py +0 -0
  142. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/edp_security_group_id.py +0 -0
  143. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/edp_security_group_ids.py +0 -0
  144. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/edp_service_role.py +0 -0
  145. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/edp_subnet_id.py +0 -0
  146. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/entity_id.py +0 -0
  147. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/entity_name.py +0 -0
  148. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/entity_status.py +0 -0
  149. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/epoch_time.py +0 -0
  150. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/error_code.py +0 -0
  151. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/error_message.py +0 -0
  152. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/evaluation_filter_variable.py +0 -0
  153. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/evaluations.py +0 -0
  154. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/float_label.py +0 -0
  155. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_batch_prediction_input.py +0 -0
  156. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_batch_prediction_output.py +0 -0
  157. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_data_source_input.py +0 -0
  158. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_data_source_output.py +0 -0
  159. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_evaluation_input.py +0 -0
  160. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/get_ml_model_input.py +0 -0
  161. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/integer_type.py +0 -0
  162. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/label.py +0 -0
  163. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/long_type.py +0 -0
  164. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/message.py +0 -0
  165. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/ml_model_filter_variable.py +0 -0
  166. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/ml_model_name.py +0 -0
  167. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/ml_model_type.py +0 -0
  168. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/ml_models.py +0 -0
  169. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/page_limit.py +0 -0
  170. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/performance_metrics.py +0 -0
  171. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/performance_metrics_properties.py +0 -0
  172. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/performance_metrics_property_key.py +0 -0
  173. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/performance_metrics_property_value.py +0 -0
  174. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/predict_input.py +0 -0
  175. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/predict_output.py +0 -0
  176. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/prediction.py +0 -0
  177. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/presigned_s3_url.py +0 -0
  178. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_database.py +0 -0
  179. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_database_credentials.py +0 -0
  180. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_database_name.py +0 -0
  181. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_database_password.py +0 -0
  182. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_database_username.py +0 -0
  183. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_instance_identifier.py +0 -0
  184. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/rds_select_sql_query.py +0 -0
  185. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/realtime_endpoint_info.py +0 -0
  186. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/realtime_endpoint_status.py +0 -0
  187. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/recipe.py +0 -0
  188. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/record.py +0 -0
  189. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_cluster_identifier.py +0 -0
  190. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_database.py +0 -0
  191. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_database_credentials.py +0 -0
  192. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_database_name.py +0 -0
  193. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/redshift_metadata.py +0 -0
  194. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/s3_url.py +0 -0
  195. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/score_threshold.py +0 -0
  196. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/score_value.py +0 -0
  197. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/score_value_per_label_map.py +0 -0
  198. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/sort_order.py +0 -0
  199. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/string_type.py +0 -0
  200. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/tag.py +0 -0
  201. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/tag_key.py +0 -0
  202. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/tag_key_list.py +0 -0
  203. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/tag_list.py +0 -0
  204. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/tag_value.py +0 -0
  205. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/taggable_resource_type.py +0 -0
  206. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/training_parameters.py +0 -0
  207. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_batch_prediction_input.py +0 -0
  208. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_batch_prediction_output.py +0 -0
  209. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_data_source_input.py +0 -0
  210. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_data_source_output.py +0 -0
  211. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_evaluation_input.py +0 -0
  212. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_evaluation_output.py +0 -0
  213. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_ml_model_input.py +0 -0
  214. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/update_ml_model_output.py +0 -0
  215. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/variable_name.py +0 -0
  216. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/variable_value.py +0 -0
  217. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/verbose.py +0 -0
  218. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning/types/vip_url.py +0 -0
  219. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning.egg-info/SOURCES.txt +0 -0
  220. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning.egg-info/dependency_links.txt +0 -0
  221. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning.egg-info/requires.txt +0 -0
  222. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/src/capo_machine_learning.egg-info/top_level.txt +0 -0
  223. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/tests/test_body.py +0 -0
  224. {capo_machine_learning-0.3.0 → capo_machine_learning-0.5.0}/tests/test_sigv4.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: capo-machine-learning
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Python SDK for AWS Machine Learning.
5
5
  Classifier: Development Status :: 4 - Beta
6
6
  Classifier: Intended Audience :: Developers
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "capo-machine-learning"
3
- version = "0.3.0"
3
+ version = "0.5.0"
4
4
  description = "Python SDK for AWS Machine Learning."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -132,7 +132,11 @@ def build_request(
132
132
  allow_nan=False,
133
133
  ).encode()
134
134
  headers["content-type"] = "application/x-amz-json-1.1"
135
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
135
+ signer = (
136
+ None
137
+ if options.anonymous
138
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
139
+ )
136
140
  normalized_url = zapros.URL(url)
137
141
  for k, v in params:
138
142
  normalized_url.search_params.append(k, v)
@@ -118,7 +118,11 @@ def build_request(
118
118
  allow_nan=False,
119
119
  ).encode()
120
120
  headers["content-type"] = "application/x-amz-json-1.1"
121
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
121
+ signer = (
122
+ None
123
+ if options.anonymous
124
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ )
122
126
  normalized_url = zapros.URL(url)
123
127
  for k, v in params:
124
128
  normalized_url.search_params.append(k, v)
@@ -119,7 +119,11 @@ def build_request(
119
119
  allow_nan=False,
120
120
  ).encode()
121
121
  headers["content-type"] = "application/x-amz-json-1.1"
122
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
122
+ signer = (
123
+ None
124
+ if options.anonymous
125
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
126
+ )
123
127
  normalized_url = zapros.URL(url)
124
128
  for k, v in params:
125
129
  normalized_url.search_params.append(k, v)
@@ -119,7 +119,11 @@ def build_request(
119
119
  allow_nan=False,
120
120
  ).encode()
121
121
  headers["content-type"] = "application/x-amz-json-1.1"
122
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
122
+ signer = (
123
+ None
124
+ if options.anonymous
125
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
126
+ )
123
127
  normalized_url = zapros.URL(url)
124
128
  for k, v in params:
125
129
  normalized_url.search_params.append(k, v)
@@ -119,7 +119,11 @@ def build_request(
119
119
  allow_nan=False,
120
120
  ).encode()
121
121
  headers["content-type"] = "application/x-amz-json-1.1"
122
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
122
+ signer = (
123
+ None
124
+ if options.anonymous
125
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
126
+ )
123
127
  normalized_url = zapros.URL(url)
124
128
  for k, v in params:
125
129
  normalized_url.search_params.append(k, v)
@@ -122,7 +122,11 @@ def build_request(
122
122
  allow_nan=False,
123
123
  ).encode()
124
124
  headers["content-type"] = "application/x-amz-json-1.1"
125
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ signer = (
126
+ None
127
+ if options.anonymous
128
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
129
+ )
126
130
  normalized_url = zapros.URL(url)
127
131
  for k, v in params:
128
132
  normalized_url.search_params.append(k, v)
@@ -124,7 +124,11 @@ def build_request(
124
124
  allow_nan=False,
125
125
  ).encode()
126
126
  headers["content-type"] = "application/x-amz-json-1.1"
127
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
127
+ signer = (
128
+ None
129
+ if options.anonymous
130
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
131
+ )
128
132
  normalized_url = zapros.URL(url)
129
133
  for k, v in params:
130
134
  normalized_url.search_params.append(k, v)
@@ -119,7 +119,11 @@ def build_request(
119
119
  allow_nan=False,
120
120
  ).encode()
121
121
  headers["content-type"] = "application/x-amz-json-1.1"
122
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
122
+ signer = (
123
+ None
124
+ if options.anonymous
125
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
126
+ )
123
127
  normalized_url = zapros.URL(url)
124
128
  for k, v in params:
125
129
  normalized_url.search_params.append(k, v)
@@ -118,7 +118,11 @@ def build_request(
118
118
  allow_nan=False,
119
119
  ).encode()
120
120
  headers["content-type"] = "application/x-amz-json-1.1"
121
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
121
+ signer = (
122
+ None
123
+ if options.anonymous
124
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ )
122
126
  normalized_url = zapros.URL(url)
123
127
  for k, v in params:
124
128
  normalized_url.search_params.append(k, v)
@@ -118,7 +118,11 @@ def build_request(
118
118
  allow_nan=False,
119
119
  ).encode()
120
120
  headers["content-type"] = "application/x-amz-json-1.1"
121
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
121
+ signer = (
122
+ None
123
+ if options.anonymous
124
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ )
122
126
  normalized_url = zapros.URL(url)
123
127
  for k, v in params:
124
128
  normalized_url.search_params.append(k, v)
@@ -122,7 +122,11 @@ def build_request(
122
122
  allow_nan=False,
123
123
  ).encode()
124
124
  headers["content-type"] = "application/x-amz-json-1.1"
125
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ signer = (
126
+ None
127
+ if options.anonymous
128
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
129
+ )
126
130
  normalized_url = zapros.URL(url)
127
131
  for k, v in params:
128
132
  normalized_url.search_params.append(k, v)
@@ -122,7 +122,11 @@ def build_request(
122
122
  allow_nan=False,
123
123
  ).encode()
124
124
  headers["content-type"] = "application/x-amz-json-1.1"
125
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ signer = (
126
+ None
127
+ if options.anonymous
128
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
129
+ )
126
130
  normalized_url = zapros.URL(url)
127
131
  for k, v in params:
128
132
  normalized_url.search_params.append(k, v)
@@ -119,7 +119,11 @@ def build_request(
119
119
  allow_nan=False,
120
120
  ).encode()
121
121
  headers["content-type"] = "application/x-amz-json-1.1"
122
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
122
+ signer = (
123
+ None
124
+ if options.anonymous
125
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
126
+ )
123
127
  normalized_url = zapros.URL(url)
124
128
  for k, v in params:
125
129
  normalized_url.search_params.append(k, v)
@@ -127,7 +127,11 @@ def build_request(
127
127
  allow_nan=False,
128
128
  ).encode()
129
129
  headers["content-type"] = "application/x-amz-json-1.1"
130
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
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)
@@ -116,7 +116,11 @@ def build_request(
116
116
  allow_nan=False,
117
117
  ).encode()
118
118
  headers["content-type"] = "application/x-amz-json-1.1"
119
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
119
+ signer = (
120
+ None
121
+ if options.anonymous
122
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
123
+ )
120
124
  normalized_url = zapros.URL(url)
121
125
  for k, v in params:
122
126
  normalized_url.search_params.append(k, v)
@@ -116,7 +116,11 @@ def build_request(
116
116
  allow_nan=False,
117
117
  ).encode()
118
118
  headers["content-type"] = "application/x-amz-json-1.1"
119
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
119
+ signer = (
120
+ None
121
+ if options.anonymous
122
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
123
+ )
120
124
  normalized_url = zapros.URL(url)
121
125
  for k, v in params:
122
126
  normalized_url.search_params.append(k, v)
@@ -116,7 +116,11 @@ def build_request(
116
116
  allow_nan=False,
117
117
  ).encode()
118
118
  headers["content-type"] = "application/x-amz-json-1.1"
119
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
119
+ signer = (
120
+ None
121
+ if options.anonymous
122
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
123
+ )
120
124
  normalized_url = zapros.URL(url)
121
125
  for k, v in params:
122
126
  normalized_url.search_params.append(k, v)
@@ -116,7 +116,11 @@ def build_request(
116
116
  allow_nan=False,
117
117
  ).encode()
118
118
  headers["content-type"] = "application/x-amz-json-1.1"
119
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
119
+ signer = (
120
+ None
121
+ if options.anonymous
122
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
123
+ )
120
124
  normalized_url = zapros.URL(url)
121
125
  for k, v in params:
122
126
  normalized_url.search_params.append(k, v)
@@ -122,7 +122,11 @@ def build_request(
122
122
  allow_nan=False,
123
123
  ).encode()
124
124
  headers["content-type"] = "application/x-amz-json-1.1"
125
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ signer = (
126
+ None
127
+ if options.anonymous
128
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
129
+ )
126
130
  normalized_url = zapros.URL(url)
127
131
  for k, v in params:
128
132
  normalized_url.search_params.append(k, v)
@@ -120,7 +120,11 @@ def build_request(
120
120
  allow_nan=False,
121
121
  ).encode()
122
122
  headers["content-type"] = "application/x-amz-json-1.1"
123
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
123
+ signer = (
124
+ None
125
+ if options.anonymous
126
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
127
+ )
124
128
  normalized_url = zapros.URL(url)
125
129
  for k, v in params:
126
130
  normalized_url.search_params.append(k, v)
@@ -126,7 +126,11 @@ def build_request(
126
126
  allow_nan=False,
127
127
  ).encode()
128
128
  headers["content-type"] = "application/x-amz-json-1.1"
129
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
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)
@@ -123,7 +123,11 @@ def build_request(
123
123
  allow_nan=False,
124
124
  ).encode()
125
125
  headers["content-type"] = "application/x-amz-json-1.1"
126
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
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)
@@ -125,7 +125,11 @@ def build_request(
125
125
  allow_nan=False,
126
126
  ).encode()
127
127
  headers["content-type"] = "application/x-amz-json-1.1"
128
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
128
+ signer = (
129
+ None
130
+ if options.anonymous
131
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
132
+ )
129
133
  normalized_url = zapros.URL(url)
130
134
  for k, v in params:
131
135
  normalized_url.search_params.append(k, v)
@@ -132,7 +132,11 @@ def build_request(
132
132
  allow_nan=False,
133
133
  ).encode()
134
134
  headers["content-type"] = "application/x-amz-json-1.1"
135
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
135
+ signer = (
136
+ None
137
+ if options.anonymous
138
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
139
+ )
136
140
  normalized_url = zapros.URL(url)
137
141
  for k, v in params:
138
142
  normalized_url.search_params.append(k, v)
@@ -118,7 +118,11 @@ def build_request(
118
118
  allow_nan=False,
119
119
  ).encode()
120
120
  headers["content-type"] = "application/x-amz-json-1.1"
121
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
121
+ signer = (
122
+ None
123
+ if options.anonymous
124
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ )
122
126
  normalized_url = zapros.URL(url)
123
127
  for k, v in params:
124
128
  normalized_url.search_params.append(k, v)
@@ -118,7 +118,11 @@ def build_request(
118
118
  allow_nan=False,
119
119
  ).encode()
120
120
  headers["content-type"] = "application/x-amz-json-1.1"
121
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
121
+ signer = (
122
+ None
123
+ if options.anonymous
124
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ )
122
126
  normalized_url = zapros.URL(url)
123
127
  for k, v in params:
124
128
  normalized_url.search_params.append(k, v)
@@ -122,7 +122,11 @@ def build_request(
122
122
  allow_nan=False,
123
123
  ).encode()
124
124
  headers["content-type"] = "application/x-amz-json-1.1"
125
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ signer = (
126
+ None
127
+ if options.anonymous
128
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
129
+ )
126
130
  normalized_url = zapros.URL(url)
127
131
  for k, v in params:
128
132
  normalized_url.search_params.append(k, v)
@@ -122,7 +122,11 @@ def build_request(
122
122
  allow_nan=False,
123
123
  ).encode()
124
124
  headers["content-type"] = "application/x-amz-json-1.1"
125
- signer = get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
125
+ signer = (
126
+ None
127
+ if options.anonymous
128
+ else get_signer(options, auth_schemes=endpoint.properties.get("authSchemes"))
129
+ )
126
130
  normalized_url = zapros.URL(url)
127
131
  for k, v in params:
128
132
  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
@@ -125,6 +125,7 @@ class AsyncMachineLearningClientConfig(TypedDict, total=False, closed=True):
125
125
  use_fips: bool | None
126
126
  endpoint: str | None
127
127
  credentials_provider: IdentityProvider[Credentials] | None
128
+ anonymous: bool | None
128
129
 
129
130
 
130
131
  class AsyncMachineLearningClient:
@@ -140,6 +141,7 @@ class AsyncMachineLearningClient:
140
141
  endpoint: The value of the ``SDK::Endpoint`` endpoint parameter.
141
142
  credentials: AWS credentials for request signing.
142
143
  credentials_provider: Provider that resolves AWS credentials. Takes precedence over ``credentials``.
144
+ anonymous: Send requests unsigned, without resolving credentials, even for operations that require authentication.
143
145
  """
144
146
 
145
147
  def __init__(
@@ -153,6 +155,7 @@ class AsyncMachineLearningClient:
153
155
  endpoint: str | None = None,
154
156
  credentials: Credentials | None = None,
155
157
  credentials_provider: CredentialsProvider | None = None,
158
+ anonymous: bool | None = None,
156
159
  ):
157
160
  self._client = AsyncClient(http_handler).wrap_with_middleware(
158
161
  lambda next: AuthMiddleware(next)
@@ -179,6 +182,7 @@ class AsyncMachineLearningClient:
179
182
  "use_fips": use_fips,
180
183
  "endpoint": endpoint,
181
184
  "credentials_provider": resolved_credentials_provider,
185
+ "anonymous": anonymous,
182
186
  }
183
187
  )
184
188
 
@@ -207,6 +211,7 @@ class AsyncMachineLearningClient:
207
211
  credentials_provider=overrides.get(
208
212
  "credentials_provider", self._config.get("credentials_provider")
209
213
  ),
214
+ anonymous=overrides.get("anonymous", self._config.get("anonymous")),
210
215
  )
211
216
  return interceptors_, options_
212
217
 
@@ -276,14 +281,14 @@ class AsyncMachineLearningClient:
276
281
  "capo_machine_learning.types.entity_name.EntityName"
277
282
  ] = None,
278
283
  ) -> "capo_machine_learning.types.create_batch_prediction_output.CreateBatchPredictionOutput":
279
- r"""<p>Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a <code>DataSource</code>. This operation creates a new <code>BatchPrediction</code>, and uses an <code>MLModel</code> and the data files referenced by the <code>DataSource</code> as information sources. </p> <p> <code>CreateBatchPrediction</code> is an asynchronous operation. In response to <code>CreateBatchPrediction</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>BatchPrediction</code> status to <code>PENDING</code>. After the <code>BatchPrediction</code> completes, Amazon ML sets the status to <code>COMPLETED</code>. </p> <p>You can poll for status updates by using the <a>GetBatchPrediction</a> operation and checking the <code>Status</code> parameter of the result. After the <code>COMPLETED</code> status appears, the results are available in the location specified by the <code>OutputUri</code> parameter.</p>
284
+ """<p>Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a <code>DataSource</code>. This operation creates a new <code>BatchPrediction</code>, and uses an <code>MLModel</code> and the data files referenced by the <code>DataSource</code> as information sources. </p> <p> <code>CreateBatchPrediction</code> is an asynchronous operation. In response to <code>CreateBatchPrediction</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>BatchPrediction</code> status to <code>PENDING</code>. After the <code>BatchPrediction</code> completes, Amazon ML sets the status to <code>COMPLETED</code>. </p> <p>You can poll for status updates by using the <a>GetBatchPrediction</a> operation and checking the <code>Status</code> parameter of the result. After the <code>COMPLETED</code> status appears, the results are available in the location specified by the <code>OutputUri</code> parameter.</p>
280
285
 
281
286
  Args:
282
287
  batch_prediction_id: <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>.</p>
283
288
  batch_prediction_name: <p>A user-supplied name or description of the <code>BatchPrediction</code>. <code>BatchPredictionName</code> can only use the UTF-8 character set.</p>
284
289
  ml_model_id: <p>The ID of the <code>MLModel</code> that will generate predictions for the group of observations. </p>
285
290
  batch_prediction_data_source_id: <p>The ID of the <code>DataSource</code> that points to the group of observations to predict.</p>
286
- output_uri: <p>The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the <code>s3 key</code> portion of the <code>outputURI</code> field: ':', '//', '/./', '/../'.</p> <p>Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the <a href=\"https://docs.aws.amazon.com/machine-learning/latest/dg\">Amazon Machine Learning Developer Guide</a>.</p>
291
+ output_uri: <p>The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the <code>s3 key</code> portion of the <code>outputURI</code> field: ':', '//', '/./', '/../'.</p> <p>Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.</p>
287
292
 
288
293
  Raises:
289
294
  capo_machine_learning.errors.idempotent_parameter_mismatch_exception.IdempotentParameterMismatchException: <p>A second request to use or change an object was not allowed. This can result from retrying a request using a parameter that was not present in the original request.</p>
@@ -339,12 +344,12 @@ class AsyncMachineLearningClient:
339
344
  "capo_machine_learning.types.compute_statistics.ComputeStatistics"
340
345
  ] = None,
341
346
  ) -> "capo_machine_learning.types.create_data_source_from_rds_output.CreateDataSourceFromRDSOutput":
342
- r"""<p>Creates a <code>DataSource</code> object from an <a href=\"http://aws.amazon.com/rds/\"> Amazon Relational Database Service</a> (Amazon RDS). A <code>DataSource</code> references data that can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.</p> <p> <code>CreateDataSourceFromRDS</code> is an asynchronous operation. In response to <code>CreateDataSourceFromRDS</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>DataSource</code> status to <code>PENDING</code>. After the <code>DataSource</code> is created and ready for use, Amazon ML sets the <code>Status</code> parameter to <code>COMPLETED</code>. <code>DataSource</code> in the <code>COMPLETED</code> or <code>PENDING</code> state can be used only to perform <code>>CreateMLModel</code>>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations. </p> <p> If Amazon ML cannot accept the input source, it sets the <code>Status</code> parameter to <code>FAILED</code> and includes an error message in the <code>Message</code> attribute of the <code>GetDataSource</code> operation response. </p>
347
+ r"""<p>Creates a <code>DataSource</code> object from an <a href="http://aws.amazon.com/rds/"> Amazon Relational Database Service</a> (Amazon RDS). A <code>DataSource</code> references data that can be used to perform <code>CreateMLModel</code>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations.</p> <p> <code>CreateDataSourceFromRDS</code> is an asynchronous operation. In response to <code>CreateDataSourceFromRDS</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>DataSource</code> status to <code>PENDING</code>. After the <code>DataSource</code> is created and ready for use, Amazon ML sets the <code>Status</code> parameter to <code>COMPLETED</code>. <code>DataSource</code> in the <code>COMPLETED</code> or <code>PENDING</code> state can be used only to perform <code>>CreateMLModel</code>>, <code>CreateEvaluation</code>, or <code>CreateBatchPrediction</code> operations. </p> <p> If Amazon ML cannot accept the input source, it sets the <code>Status</code> parameter to <code>FAILED</code> and includes an error message in the <code>Message</code> attribute of the <code>GetDataSource</code> operation response. </p>
343
348
 
344
349
  Args:
345
350
  data_source_id: <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>. Typically, an Amazon Resource Number (ARN) becomes the ID for a <code>DataSource</code>.</p>
346
351
  data_source_name: <p>A user-supplied name or description of the <code>DataSource</code>.</p>
347
- rds_data: <p>The data specification of an Amazon RDS <code>DataSource</code>:</p> <ul> <li> <p>DatabaseInformation -</p> <ul> <li> <p> <code>DatabaseName</code> - The name of the Amazon RDS database.</p> </li> <li> <p> <code>InstanceIdentifier </code> - A unique identifier for the Amazon RDS database instance.</p> </li> </ul> </li> <li> <p>DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database.</p> </li> <li> <p>ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see <a href=\"https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html\">Role templates</a> for data pipelines.</p> </li> <li> <p>ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <a href=\"https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html\">Role templates</a> for data pipelines.</p> </li> <li> <p>SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [<code>SubnetId</code>, <code>SecurityGroupIds</code>] pair for a VPC-based RDS DB instance.</p> </li> <li> <p>SelectSqlQuery - A query that is used to retrieve the observation data for the <code>Datasource</code>.</p> </li> <li> <p>S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using <code>SelectSqlQuery</code> is stored in this location.</p> </li> <li> <p>DataSchemaUri - The Amazon S3 location of the <code>DataSchema</code>.</p> </li> <li> <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p> </li> <li> <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>Datasource</code>. </p> <p> Sample - <code> \"{\\"splitting\\":{\\"percentBegin\\":10,\\"percentEnd\\":60}}\"</code> </p> </li> </ul>
352
+ rds_data: <p>The data specification of an Amazon RDS <code>DataSource</code>:</p> <ul> <li> <p>DatabaseInformation -</p> <ul> <li> <p> <code>DatabaseName</code> - The name of the Amazon RDS database.</p> </li> <li> <p> <code>InstanceIdentifier </code> - A unique identifier for the Amazon RDS database instance.</p> </li> </ul> </li> <li> <p>DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database.</p> </li> <li> <p>ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p> </li> <li> <p>ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see <a href="https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html">Role templates</a> for data pipelines.</p> </li> <li> <p>SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [<code>SubnetId</code>, <code>SecurityGroupIds</code>] pair for a VPC-based RDS DB instance.</p> </li> <li> <p>SelectSqlQuery - A query that is used to retrieve the observation data for the <code>Datasource</code>.</p> </li> <li> <p>S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using <code>SelectSqlQuery</code> is stored in this location.</p> </li> <li> <p>DataSchemaUri - The Amazon S3 location of the <code>DataSchema</code>.</p> </li> <li> <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p> </li> <li> <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>Datasource</code>. </p> <p> Sample - <code> "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"</code> </p> </li> </ul>
348
353
  role_arn: <p>The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the <code>SelectSqlQuery</code> query from Amazon RDS to Amazon S3.</p> <p></p>
349
354
  compute_statistics: <p>The compute statistics for a <code>DataSource</code>. The statistics are generated from the observation data referenced by a <code>DataSource</code>. Amazon ML uses the statistics internally during <code>MLModel</code> training. This parameter must be set to <code>true</code> if the <code></code>DataSource<code></code> needs to be used for <code>MLModel</code> training. </p>
350
355
 
@@ -408,7 +413,7 @@ class AsyncMachineLearningClient:
408
413
  Args:
409
414
  data_source_id: <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>.</p>
410
415
  data_source_name: <p>A user-supplied name or description of the <code>DataSource</code>. </p>
411
- data_spec: <p>The data specification of an Amazon Redshift <code>DataSource</code>:</p> <ul> <li> <p>DatabaseInformation -</p> <ul> <li> <p> <code>DatabaseName</code> - The name of the Amazon Redshift database.</p> </li> <li> <p> <code> ClusterIdentifier</code> - The unique ID for the Amazon Redshift cluster.</p> </li> </ul> </li> <li> <p>DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.</p> </li> <li> <p>SelectSqlQuery - The query that is used to retrieve the observation data for the <code>Datasource</code>.</p> </li> <li> <p>S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the <code>SelectSqlQuery</code> query is stored in this location.</p> </li> <li> <p>DataSchemaUri - The Amazon S3 location of the <code>DataSchema</code>.</p> </li> <li> <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p> </li> <li> <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>DataSource</code>.</p> <p> Sample - <code> \"{\\"splitting\\":{\\"percentBegin\\":10,\\"percentEnd\\":60}}\"</code> </p> </li> </ul>
416
+ data_spec: <p>The data specification of an Amazon Redshift <code>DataSource</code>:</p> <ul> <li> <p>DatabaseInformation -</p> <ul> <li> <p> <code>DatabaseName</code> - The name of the Amazon Redshift database.</p> </li> <li> <p> <code> ClusterIdentifier</code> - The unique ID for the Amazon Redshift cluster.</p> </li> </ul> </li> <li> <p>DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.</p> </li> <li> <p>SelectSqlQuery - The query that is used to retrieve the observation data for the <code>Datasource</code>.</p> </li> <li> <p>S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the <code>SelectSqlQuery</code> query is stored in this location.</p> </li> <li> <p>DataSchemaUri - The Amazon S3 location of the <code>DataSchema</code>.</p> </li> <li> <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p> </li> <li> <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>DataSource</code>.</p> <p> Sample - <code> "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"</code> </p> </li> </ul>
412
417
  role_arn: <p>A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:</p> <ul> <li> <p>A security group to allow Amazon ML to execute the <code>SelectSqlQuery</code> query on an Amazon Redshift cluster</p> </li> <li> <p>An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the <code>S3StagingLocation</code> </p> </li> </ul>
413
418
  compute_statistics: <p>The compute statistics for a <code>DataSource</code>. The statistics are generated from the observation data referenced by a <code>DataSource</code>. Amazon ML uses the statistics internally during <code>MLModel</code> training. This parameter must be set to <code>true</code> if the <code>DataSource</code> needs to be used for <code>MLModel</code> training.</p>
414
419
 
@@ -471,7 +476,7 @@ class AsyncMachineLearningClient:
471
476
  Args:
472
477
  data_source_id: <p>A user-supplied identifier that uniquely identifies the <code>DataSource</code>. </p>
473
478
  data_source_name: <p>A user-supplied name or description of the <code>DataSource</code>. </p>
474
- data_spec: <p>The data specification of a <code>DataSource</code>:</p> <ul> <li> <p>DataLocationS3 - The Amazon S3 location of the observation data.</p> </li> <li> <p>DataSchemaLocationS3 - The Amazon S3 location of the <code>DataSchema</code>.</p> </li> <li> <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p> </li> <li> <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>Datasource</code>. </p> <p> Sample - <code> \"{\\"splitting\\":{\\"percentBegin\\":10,\\"percentEnd\\":60}}\"</code> </p> </li> </ul>
479
+ data_spec: <p>The data specification of a <code>DataSource</code>:</p> <ul> <li> <p>DataLocationS3 - The Amazon S3 location of the observation data.</p> </li> <li> <p>DataSchemaLocationS3 - The Amazon S3 location of the <code>DataSchema</code>.</p> </li> <li> <p>DataSchema - A JSON string representing the schema. This is not required if <code>DataSchemaUri</code> is specified. </p> </li> <li> <p>DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the <code>Datasource</code>. </p> <p> Sample - <code> "{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"</code> </p> </li> </ul>
475
480
  compute_statistics: <p>The compute statistics for a <code>DataSource</code>. The statistics are generated from the observation data referenced by a <code>DataSource</code>. Amazon ML uses the statistics internally during <code>MLModel</code> training. This parameter must be set to <code>true</code> if the <code></code>DataSource<code></code> needs to be used for <code>MLModel</code> training.</p>
476
481
 
477
482
  Raises:
@@ -588,12 +593,12 @@ class AsyncMachineLearningClient:
588
593
  recipe: Optional["capo_machine_learning.types.recipe.Recipe"] = None,
589
594
  recipe_uri: Optional["capo_machine_learning.types.s3_url.S3Url"] = None,
590
595
  ) -> "capo_machine_learning.types.create_ml_model_output.CreateMLModelOutput":
591
- r"""<p>Creates a new <code>MLModel</code> using the <code>DataSource</code> and the recipe as information sources. </p> <p>An <code>MLModel</code> is nearly immutable. Users can update only the <code>MLModelName</code> and the <code>ScoreThreshold</code> in an <code>MLModel</code> without creating a new <code>MLModel</code>. </p> <p> <code>CreateMLModel</code> is an asynchronous operation. In response to <code>CreateMLModel</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>MLModel</code> status to <code>PENDING</code>. After the <code>MLModel</code> has been created and ready is for use, Amazon ML sets the status to <code>COMPLETED</code>. </p> <p>You can use the <code>GetMLModel</code> operation to check the progress of the <code>MLModel</code> during the creation operation.</p> <p> <code>CreateMLModel</code> requires a <code>DataSource</code> with computed statistics, which can be created by setting <code>ComputeStatistics</code> to <code>true</code> in <code>CreateDataSourceFromRDS</code>, <code>CreateDataSourceFromS3</code>, or <code>CreateDataSourceFromRedshift</code> operations. </p>
596
+ """<p>Creates a new <code>MLModel</code> using the <code>DataSource</code> and the recipe as information sources. </p> <p>An <code>MLModel</code> is nearly immutable. Users can update only the <code>MLModelName</code> and the <code>ScoreThreshold</code> in an <code>MLModel</code> without creating a new <code>MLModel</code>. </p> <p> <code>CreateMLModel</code> is an asynchronous operation. In response to <code>CreateMLModel</code>, Amazon Machine Learning (Amazon ML) immediately returns and sets the <code>MLModel</code> status to <code>PENDING</code>. After the <code>MLModel</code> has been created and ready is for use, Amazon ML sets the status to <code>COMPLETED</code>. </p> <p>You can use the <code>GetMLModel</code> operation to check the progress of the <code>MLModel</code> during the creation operation.</p> <p> <code>CreateMLModel</code> requires a <code>DataSource</code> with computed statistics, which can be created by setting <code>ComputeStatistics</code> to <code>true</code> in <code>CreateDataSourceFromRDS</code>, <code>CreateDataSourceFromS3</code>, or <code>CreateDataSourceFromRedshift</code> operations. </p>
592
597
 
593
598
  Args:
594
599
  ml_model_id: <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>.</p>
595
600
  ml_model_name: <p>A user-supplied name or description of the <code>MLModel</code>.</p>
596
- ml_model_type: <p>The category of supervised learning that this <code>MLModel</code> will address. Choose from the following types:</p> <ul> <li> <p>Choose <code>REGRESSION</code> if the <code>MLModel</code> will be used to predict a numeric value.</p> </li> <li> <p>Choose <code>BINARY</code> if the <code>MLModel</code> result has two possible values.</p> </li> <li> <p>Choose <code>MULTICLASS</code> if the <code>MLModel</code> result has a limited number of values.</p> </li> </ul> <p> For more information, see the <a href=\"https://docs.aws.amazon.com/machine-learning/latest/dg\">Amazon Machine Learning Developer Guide</a>.</p>
601
+ ml_model_type: <p>The category of supervised learning that this <code>MLModel</code> will address. Choose from the following types:</p> <ul> <li> <p>Choose <code>REGRESSION</code> if the <code>MLModel</code> will be used to predict a numeric value.</p> </li> <li> <p>Choose <code>BINARY</code> if the <code>MLModel</code> result has two possible values.</p> </li> <li> <p>Choose <code>MULTICLASS</code> if the <code>MLModel</code> result has a limited number of values.</p> </li> </ul> <p> For more information, see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>.</p>
597
602
  parameters: <p>A list of the training parameters in the <code>MLModel</code>. The list is implemented as a map of key-value pairs.</p> <p>The following is the current set of training parameters:</p> <ul> <li> <p> <code>sgd.maxMLModelSizeInBytes</code> - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.</p> <p> The value is an integer that ranges from <code>100000</code> to <code>2147483648</code>. The default value is <code>33554432</code>.</p> </li> <li> <p> <code>sgd.maxPasses</code> - The number of times that the training process traverses the observations to build the <code>MLModel</code>. The value is an integer that ranges from <code>1</code> to <code>10000</code>. The default value is <code>10</code>.</p> </li> <li> <p> <code>sgd.shuffleType</code> - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are <code>auto</code> and <code>none</code>. The default value is <code>none</code>. We strongly recommend that you shuffle your data.</p> </li> <li> <p> <code>sgd.l1RegularizationAmount</code> - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as <code>1.0E-08</code>.</p> <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>. The default is to not use L1 normalization. This parameter can't be used when <code>L2</code> is specified. Use this parameter sparingly.</p> </li> <li> <p> <code>sgd.l2RegularizationAmount</code> - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as <code>1.0E-08</code>.</p> <p>The value is a double that ranges from <code>0</code> to <code>MAX_DOUBLE</code>. The default is to not use L2 normalization. This parameter can't be used when <code>L1</code> is specified. Use this parameter sparingly.</p> </li> </ul>
598
603
  training_data_source_id: <p>The <code>DataSource</code> that points to the training data.</p>
599
604
  recipe: <p>The data recipe for creating the <code>MLModel</code>. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.</p>