capo-machine-learning 0.3.0__tar.gz → 0.4.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.4.0}/PKG-INFO +1 -1
  2. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/pyproject.toml +1 -1
  3. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_services/async_machine_learning.py +8 -8
  4. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_services/machine_learning.py +8 -8
  5. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_batch_prediction_input.py +1 -1
  6. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_data_source_from_rds_input.py +1 -1
  7. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_data_source_from_redshift_input.py +1 -1
  8. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_data_source_from_s3_input.py +1 -1
  9. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_ml_model_input.py +1 -1
  10. capo_machine_learning-0.4.0/src/capo_machine_learning/types/data_schema.py +6 -0
  11. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/evaluation.py +1 -1
  12. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_evaluation_output.py +1 -1
  13. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_ml_model_output.py +1 -1
  14. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/ml_model.py +1 -1
  15. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_data_spec.py +4 -4
  16. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_metadata.py +2 -2
  17. capo_machine_learning-0.4.0/src/capo_machine_learning/types/redshift_data_spec.py +105 -0
  18. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_database_password.py +1 -1
  19. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_database_username.py +1 -1
  20. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_select_sql_query.py +1 -1
  21. capo_machine_learning-0.4.0/src/capo_machine_learning/types/role_arn.py +6 -0
  22. capo_machine_learning-0.4.0/src/capo_machine_learning/types/s3_data_spec.py +53 -0
  23. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0/src/capo_machine_learning.egg-info}/PKG-INFO +1 -1
  24. capo_machine_learning-0.3.0/src/capo_machine_learning/types/data_schema.py +0 -6
  25. capo_machine_learning-0.3.0/src/capo_machine_learning/types/redshift_data_spec.py +0 -105
  26. capo_machine_learning-0.3.0/src/capo_machine_learning/types/role_arn.py +0 -6
  27. capo_machine_learning-0.3.0/src/capo_machine_learning/types/s3_data_spec.py +0 -53
  28. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/LICENSE +0 -0
  29. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/README.md +0 -0
  30. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/setup.cfg +0 -0
  31. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/__init__.py +0 -0
  32. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_async.py +0 -0
  33. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_auth/_identity.py +0 -0
  34. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_auth/_providers.py +0 -0
  35. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_auth/_signers.py +0 -0
  36. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_auth/_sigv4.py +0 -0
  37. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_auth/_zapros_handler.py +0 -0
  38. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_body.py +0 -0
  39. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_iter.py +0 -0
  40. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/add_tags.py +0 -0
  41. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_batch_prediction.py +0 -0
  42. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_data_source_from_rds.py +0 -0
  43. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_data_source_from_redshift.py +0 -0
  44. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_data_source_from_s3.py +0 -0
  45. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_evaluation.py +0 -0
  46. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_ml_model.py +0 -0
  47. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/create_realtime_endpoint.py +0 -0
  48. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_batch_prediction.py +0 -0
  49. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_data_source.py +0 -0
  50. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_evaluation.py +0 -0
  51. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_ml_model.py +0 -0
  52. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_realtime_endpoint.py +0 -0
  53. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/delete_tags.py +0 -0
  54. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_batch_predictions.py +0 -0
  55. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_data_sources.py +0 -0
  56. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_evaluations.py +0 -0
  57. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_ml_models.py +0 -0
  58. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/describe_tags.py +0 -0
  59. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_batch_prediction.py +0 -0
  60. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_data_source.py +0 -0
  61. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_evaluation.py +0 -0
  62. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/get_ml_model.py +0 -0
  63. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/predict.py +0 -0
  64. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_batch_prediction.py +0 -0
  65. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_data_source.py +0 -0
  66. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_evaluation.py +0 -0
  67. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_operations/amazon_ml_20141212/update_ml_model.py +0 -0
  68. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_pagination.py +0 -0
  69. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_protocol/__init__.py +0 -0
  70. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_protocol/errors.py +0 -0
  71. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_protocol/eventstream.py +0 -0
  72. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_protocol/serialize.py +0 -0
  73. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_protocol/xml.py +0 -0
  74. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_rule_engine/__init__.py +0 -0
  75. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_rule_engine/_aws_partition.py +0 -0
  76. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_rule_engine/_endpoint_rule_set.py +0 -0
  77. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_rule_engine/_endpoint_runtime.py +0 -0
  78. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_services/_aws_config.py +0 -0
  79. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/_services/_pipeline.py +0 -0
  80. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/__init__.py +0 -0
  81. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/_base.py +0 -0
  82. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/idempotent_parameter_mismatch_exception.py +0 -0
  83. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/internal_server_exception.py +0 -0
  84. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/invalid_input_exception.py +0 -0
  85. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/invalid_tag_exception.py +0 -0
  86. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/limit_exceeded_exception.py +0 -0
  87. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/predictor_not_mounted_exception.py +0 -0
  88. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/resource_not_found_exception.py +0 -0
  89. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/errors/tag_limit_exceeded_exception.py +0 -0
  90. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/py.typed +0 -0
  91. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/_prelude/blob.py +0 -0
  92. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/_prelude/timestamp.py +0 -0
  93. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/add_tags_input.py +0 -0
  94. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/add_tags_output.py +0 -0
  95. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/algorithm.py +0 -0
  96. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/aws_user_arn.py +0 -0
  97. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/batch_prediction.py +0 -0
  98. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/batch_prediction_filter_variable.py +0 -0
  99. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/batch_predictions.py +0 -0
  100. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/comparator_value.py +0 -0
  101. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/compute_statistics.py +0 -0
  102. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_batch_prediction_output.py +0 -0
  103. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.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.4.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.4.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.4.0}/src/capo_machine_learning/types/create_evaluation_input.py +0 -0
  107. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_evaluation_output.py +0 -0
  108. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_ml_model_output.py +0 -0
  109. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_realtime_endpoint_input.py +0 -0
  110. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/create_realtime_endpoint_output.py +0 -0
  111. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/data_rearrangement.py +0 -0
  112. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/data_source.py +0 -0
  113. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/data_source_filter_variable.py +0 -0
  114. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/data_sources.py +0 -0
  115. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_batch_prediction_input.py +0 -0
  116. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_batch_prediction_output.py +0 -0
  117. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_data_source_input.py +0 -0
  118. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_data_source_output.py +0 -0
  119. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_evaluation_input.py +0 -0
  120. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_evaluation_output.py +0 -0
  121. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_ml_model_input.py +0 -0
  122. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_ml_model_output.py +0 -0
  123. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_realtime_endpoint_input.py +0 -0
  124. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_realtime_endpoint_output.py +0 -0
  125. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_tags_input.py +0 -0
  126. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/delete_tags_output.py +0 -0
  127. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_batch_predictions_input.py +0 -0
  128. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_batch_predictions_output.py +0 -0
  129. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_data_sources_input.py +0 -0
  130. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_data_sources_output.py +0 -0
  131. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_evaluations_input.py +0 -0
  132. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_evaluations_output.py +0 -0
  133. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_ml_models_input.py +0 -0
  134. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_ml_models_output.py +0 -0
  135. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_tags_input.py +0 -0
  136. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/describe_tags_output.py +0 -0
  137. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/details_attributes.py +0 -0
  138. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/details_map.py +0 -0
  139. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/details_value.py +0 -0
  140. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/edp_pipeline_id.py +0 -0
  141. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/edp_resource_role.py +0 -0
  142. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/edp_security_group_id.py +0 -0
  143. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/edp_security_group_ids.py +0 -0
  144. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/edp_service_role.py +0 -0
  145. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/edp_subnet_id.py +0 -0
  146. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/entity_id.py +0 -0
  147. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/entity_name.py +0 -0
  148. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/entity_status.py +0 -0
  149. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/epoch_time.py +0 -0
  150. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/error_code.py +0 -0
  151. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/error_message.py +0 -0
  152. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/evaluation_filter_variable.py +0 -0
  153. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/evaluations.py +0 -0
  154. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/float_label.py +0 -0
  155. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_batch_prediction_input.py +0 -0
  156. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_batch_prediction_output.py +0 -0
  157. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_data_source_input.py +0 -0
  158. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_data_source_output.py +0 -0
  159. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_evaluation_input.py +0 -0
  160. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/get_ml_model_input.py +0 -0
  161. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/integer_type.py +0 -0
  162. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/label.py +0 -0
  163. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/long_type.py +0 -0
  164. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/message.py +0 -0
  165. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/ml_model_filter_variable.py +0 -0
  166. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/ml_model_name.py +0 -0
  167. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/ml_model_type.py +0 -0
  168. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/ml_models.py +0 -0
  169. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/page_limit.py +0 -0
  170. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/performance_metrics.py +0 -0
  171. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/performance_metrics_properties.py +0 -0
  172. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/performance_metrics_property_key.py +0 -0
  173. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/performance_metrics_property_value.py +0 -0
  174. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/predict_input.py +0 -0
  175. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/predict_output.py +0 -0
  176. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/prediction.py +0 -0
  177. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/presigned_s3_url.py +0 -0
  178. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_database.py +0 -0
  179. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_database_credentials.py +0 -0
  180. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_database_name.py +0 -0
  181. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_database_password.py +0 -0
  182. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_database_username.py +0 -0
  183. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_instance_identifier.py +0 -0
  184. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/rds_select_sql_query.py +0 -0
  185. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/realtime_endpoint_info.py +0 -0
  186. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/realtime_endpoint_status.py +0 -0
  187. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/recipe.py +0 -0
  188. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/record.py +0 -0
  189. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_cluster_identifier.py +0 -0
  190. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_database.py +0 -0
  191. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_database_credentials.py +0 -0
  192. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_database_name.py +0 -0
  193. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/redshift_metadata.py +0 -0
  194. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/s3_url.py +0 -0
  195. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/score_threshold.py +0 -0
  196. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/score_value.py +0 -0
  197. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.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.4.0}/src/capo_machine_learning/types/sort_order.py +0 -0
  199. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/string_type.py +0 -0
  200. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/tag.py +0 -0
  201. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/tag_key.py +0 -0
  202. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/tag_key_list.py +0 -0
  203. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/tag_list.py +0 -0
  204. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/tag_value.py +0 -0
  205. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/taggable_resource_type.py +0 -0
  206. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/training_parameters.py +0 -0
  207. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_batch_prediction_input.py +0 -0
  208. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_batch_prediction_output.py +0 -0
  209. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_data_source_input.py +0 -0
  210. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_data_source_output.py +0 -0
  211. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_evaluation_input.py +0 -0
  212. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_evaluation_output.py +0 -0
  213. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_ml_model_input.py +0 -0
  214. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/update_ml_model_output.py +0 -0
  215. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/variable_name.py +0 -0
  216. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/variable_value.py +0 -0
  217. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/verbose.py +0 -0
  218. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning/types/vip_url.py +0 -0
  219. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning.egg-info/SOURCES.txt +0 -0
  220. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning.egg-info/dependency_links.txt +0 -0
  221. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning.egg-info/requires.txt +0 -0
  222. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/src/capo_machine_learning.egg-info/top_level.txt +0 -0
  223. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.0}/tests/test_body.py +0 -0
  224. {capo_machine_learning-0.3.0 → capo_machine_learning-0.4.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.4.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.4.0"
4
4
  description = "Python SDK for AWS Machine Learning."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -276,14 +276,14 @@ class AsyncMachineLearningClient:
276
276
  "capo_machine_learning.types.entity_name.EntityName"
277
277
  ] = None,
278
278
  ) -> "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>
279
+ """<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
280
 
281
281
  Args:
282
282
  batch_prediction_id: <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>.</p>
283
283
  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
284
  ml_model_id: <p>The ID of the <code>MLModel</code> that will generate predictions for the group of observations. </p>
285
285
  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>
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>
287
287
 
288
288
  Raises:
289
289
  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 +339,12 @@ class AsyncMachineLearningClient:
339
339
  "capo_machine_learning.types.compute_statistics.ComputeStatistics"
340
340
  ] = None,
341
341
  ) -> "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>
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>
343
343
 
344
344
  Args:
345
345
  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
346
  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>
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>
348
348
  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
349
  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
350
 
@@ -408,7 +408,7 @@ class AsyncMachineLearningClient:
408
408
  Args:
409
409
  data_source_id: <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>.</p>
410
410
  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>
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>
412
412
  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
413
  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
414
 
@@ -471,7 +471,7 @@ class AsyncMachineLearningClient:
471
471
  Args:
472
472
  data_source_id: <p>A user-supplied identifier that uniquely identifies the <code>DataSource</code>. </p>
473
473
  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>
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>
475
475
  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
476
 
477
477
  Raises:
@@ -588,12 +588,12 @@ class AsyncMachineLearningClient:
588
588
  recipe: Optional["capo_machine_learning.types.recipe.Recipe"] = None,
589
589
  recipe_uri: Optional["capo_machine_learning.types.s3_url.S3Url"] = None,
590
590
  ) -> "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>
591
+ """<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
592
 
593
593
  Args:
594
594
  ml_model_id: <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>.</p>
595
595
  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>
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>
597
597
  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
598
  training_data_source_id: <p>The <code>DataSource</code> that points to the training data.</p>
599
599
  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>
@@ -275,14 +275,14 @@ class MachineLearningClient:
275
275
  "capo_machine_learning.types.entity_name.EntityName"
276
276
  ] = None,
277
277
  ) -> "capo_machine_learning.types.create_batch_prediction_output.CreateBatchPredictionOutput":
278
- 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>
278
+ """<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>
279
279
 
280
280
  Args:
281
281
  batch_prediction_id: <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>.</p>
282
282
  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>
283
283
  ml_model_id: <p>The ID of the <code>MLModel</code> that will generate predictions for the group of observations. </p>
284
284
  batch_prediction_data_source_id: <p>The ID of the <code>DataSource</code> that points to the group of observations to predict.</p>
285
- 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>
285
+ 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>
286
286
 
287
287
  Raises:
288
288
  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>
@@ -337,12 +337,12 @@ class MachineLearningClient:
337
337
  "capo_machine_learning.types.compute_statistics.ComputeStatistics"
338
338
  ] = None,
339
339
  ) -> "capo_machine_learning.types.create_data_source_from_rds_output.CreateDataSourceFromRDSOutput":
340
- 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>
340
+ 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>
341
341
 
342
342
  Args:
343
343
  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>
344
344
  data_source_name: <p>A user-supplied name or description of the <code>DataSource</code>.</p>
345
- 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>
345
+ 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>
346
346
  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>
347
347
  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>
348
348
 
@@ -405,7 +405,7 @@ class MachineLearningClient:
405
405
  Args:
406
406
  data_source_id: <p>A user-supplied ID that uniquely identifies the <code>DataSource</code>.</p>
407
407
  data_source_name: <p>A user-supplied name or description of the <code>DataSource</code>. </p>
408
- 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>
408
+ 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>
409
409
  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>
410
410
  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>
411
411
 
@@ -467,7 +467,7 @@ class MachineLearningClient:
467
467
  Args:
468
468
  data_source_id: <p>A user-supplied identifier that uniquely identifies the <code>DataSource</code>. </p>
469
469
  data_source_name: <p>A user-supplied name or description of the <code>DataSource</code>. </p>
470
- 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>
470
+ 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>
471
471
  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>
472
472
 
473
473
  Raises:
@@ -582,12 +582,12 @@ class MachineLearningClient:
582
582
  recipe: Optional["capo_machine_learning.types.recipe.Recipe"] = None,
583
583
  recipe_uri: Optional["capo_machine_learning.types.s3_url.S3Url"] = None,
584
584
  ) -> "capo_machine_learning.types.create_ml_model_output.CreateMLModelOutput":
585
- 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>
585
+ """<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>
586
586
 
587
587
  Args:
588
588
  ml_model_id: <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>.</p>
589
589
  ml_model_name: <p>A user-supplied name or description of the <code>MLModel</code>.</p>
590
- 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>
590
+ 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>
591
591
  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>
592
592
  training_data_source_id: <p>The <code>DataSource</code> that points to the training data.</p>
593
593
  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>
@@ -24,7 +24,7 @@ class CreateBatchPredictionInput(TypedDict, closed=True):
24
24
  batch_prediction_data_source_id: "capo_machine_learning.types.entity_id.EntityId"
25
25
  """<p>The ID of the <code>DataSource</code> that points to the group of observations to predict.</p>"""
26
26
  output_uri: "capo_machine_learning.types.s3_url.S3Url"
27
- r"""<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>"""
27
+ """<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>"""
28
28
 
29
29
 
30
30
  # --- awsJson1_1 ser/de ---
@@ -20,7 +20,7 @@ class CreateDataSourceFromRDSInput(TypedDict, closed=True):
20
20
  data_source_name: NotRequired["capo_machine_learning.types.entity_name.EntityName"]
21
21
  """<p>A user-supplied name or description of the <code>DataSource</code>.</p>"""
22
22
  rds_data: "capo_machine_learning.types.rds_data_spec.RDSDataSpec"
23
- r"""<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>"""
23
+ r"""<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>"""
24
24
  role_arn: "capo_machine_learning.types.role_arn.RoleARN"
25
25
  """<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>"""
26
26
  compute_statistics: (
@@ -20,7 +20,7 @@ class CreateDataSourceFromRedshiftInput(TypedDict, closed=True):
20
20
  data_source_name: NotRequired["capo_machine_learning.types.entity_name.EntityName"]
21
21
  """<p>A user-supplied name or description of the <code>DataSource</code>. </p>"""
22
22
  data_spec: "capo_machine_learning.types.redshift_data_spec.RedshiftDataSpec"
23
- r"""<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>"""
23
+ r"""<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>"""
24
24
  role_arn: "capo_machine_learning.types.role_arn.RoleARN"
25
25
  """<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>"""
26
26
  compute_statistics: (
@@ -19,7 +19,7 @@ class CreateDataSourceFromS3Input(TypedDict, closed=True):
19
19
  data_source_name: NotRequired["capo_machine_learning.types.entity_name.EntityName"]
20
20
  """<p>A user-supplied name or description of the <code>DataSource</code>. </p>"""
21
21
  data_spec: "capo_machine_learning.types.s3_data_spec.S3DataSpec"
22
- r"""<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>"""
22
+ r"""<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>"""
23
23
  compute_statistics: (
24
24
  "capo_machine_learning.types.compute_statistics.ComputeStatistics"
25
25
  )
@@ -21,7 +21,7 @@ class CreateMLModelInput(TypedDict, closed=True):
21
21
  ml_model_name: NotRequired["capo_machine_learning.types.entity_name.EntityName"]
22
22
  """<p>A user-supplied name or description of the <code>MLModel</code>.</p>"""
23
23
  ml_model_type: "capo_machine_learning.types.ml_model_type.MLModelType"
24
- r"""<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>"""
24
+ """<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>"""
25
25
  parameters: NotRequired[
26
26
  "capo_machine_learning.types.training_parameters.TrainingParameters"
27
27
  ]
@@ -0,0 +1,6 @@
1
+ """Generated from Smithy shape ``com.amazonaws.machinelearning#DataSchema``."""
2
+
3
+ from typing import TypeAlias
4
+
5
+ """<p>The schema of a <code>DataSource</code>. The <code>DataSchema</code> defines the structure of the observation data in the data file(s) referenced in the <code>DataSource</code>. The DataSource schema is expressed in JSON format.</p> <p> <code>DataSchema</code> is not required if you specify a <code>DataSchemaUri</code> </p> <p>{ "version": "1.0", "recordAnnotationFieldName": "F1", "recordWeightFieldName": "F2", "targetFieldName": "F3", "dataFormat": "CSV", "dataFileContainsHeader": true, "variables": [ { "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ], "excludedVariableNames": [ "F6" ] }</p>"""
6
+ DataSchema: TypeAlias = str
@@ -42,7 +42,7 @@ class Evaluation(TypedDict, closed=True):
42
42
  performance_metrics: NotRequired[
43
43
  "capo_machine_learning.types.performance_metrics.PerformanceMetrics"
44
44
  ]
45
- r"""<p>Measurements of how well the <code>MLModel</code> performed, using observations referenced by the <code>DataSource</code>. One of the following metrics is returned, based on the type of the <code>MLModel</code>: </p> <ul> <li> <p>BinaryAUC: A binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p> </li> <li> <p>RegressionRMSE: A regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p> </li> <li> <p>MulticlassAvgFScore: A multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p> </li> </ul> <p> For more information about performance metrics, please see the <a href=\"https://docs.aws.amazon.com/machine-learning/latest/dg\">Amazon Machine Learning Developer Guide</a>. </p>"""
45
+ """<p>Measurements of how well the <code>MLModel</code> performed, using observations referenced by the <code>DataSource</code>. One of the following metrics is returned, based on the type of the <code>MLModel</code>: </p> <ul> <li> <p>BinaryAUC: A binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p> </li> <li> <p>RegressionRMSE: A regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p> </li> <li> <p>MulticlassAvgFScore: A multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p> </li> </ul> <p> For more information about performance metrics, please see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>. </p>"""
46
46
  message: NotRequired["capo_machine_learning.types.message.Message"]
47
47
  """<p>A description of the most recent details about evaluating the <code>MLModel</code>.</p>"""
48
48
  compute_time: NotRequired["capo_machine_learning.types.long_type.LongType"]
@@ -43,7 +43,7 @@ class GetEvaluationOutput(TypedDict, closed=True):
43
43
  performance_metrics: NotRequired[
44
44
  "capo_machine_learning.types.performance_metrics.PerformanceMetrics"
45
45
  ]
46
- r"""<p>Measurements of how well the <code>MLModel</code> performed using observations referenced by the <code>DataSource</code>. One of the following metric is returned based on the type of the <code>MLModel</code>: </p> <ul> <li> <p>BinaryAUC: A binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p> </li> <li> <p>RegressionRMSE: A regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p> </li> <li> <p>MulticlassAvgFScore: A multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p> </li> </ul> <p> For more information about performance metrics, please see the <a href=\"https://docs.aws.amazon.com/machine-learning/latest/dg\">Amazon Machine Learning Developer Guide</a>. </p>"""
46
+ """<p>Measurements of how well the <code>MLModel</code> performed using observations referenced by the <code>DataSource</code>. One of the following metric is returned based on the type of the <code>MLModel</code>: </p> <ul> <li> <p>BinaryAUC: A binary <code>MLModel</code> uses the Area Under the Curve (AUC) technique to measure performance. </p> </li> <li> <p>RegressionRMSE: A regression <code>MLModel</code> uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.</p> </li> <li> <p>MulticlassAvgFScore: A multiclass <code>MLModel</code> uses the F1 score technique to measure performance. </p> </li> </ul> <p> For more information about performance metrics, please see the <a href="https://docs.aws.amazon.com/machine-learning/latest/dg">Amazon Machine Learning Developer Guide</a>. </p>"""
47
47
  log_uri: NotRequired["capo_machine_learning.types.presigned_s3_url.PresignedS3Url"]
48
48
  """<p>A link to the file that contains logs of the <code>CreateEvaluation</code> operation.</p>"""
49
49
  message: NotRequired["capo_machine_learning.types.message.Message"]
@@ -53,7 +53,7 @@ class GetMLModelOutput(TypedDict, closed=True):
53
53
  input_data_location_s3: NotRequired["capo_machine_learning.types.s3_url.S3Url"]
54
54
  """<p>The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).</p>"""
55
55
  ml_model_type: NotRequired["capo_machine_learning.types.ml_model_type.MLModelType"]
56
- r"""<p>Identifies the <code>MLModel</code> category. The following are the available types: </p> <ul> <li> <p>REGRESSION -- Produces a numeric result. For example, \"What price should a house be listed at?\"</p> </li> <li> <p>BINARY -- Produces one of two possible results. For example, \"Is this an e-commerce website?\"</p> </li> <li> <p>MULTICLASS -- Produces one of several possible results. For example, \"Is this a HIGH, LOW or MEDIUM risk trade?\"</p> </li> </ul>"""
56
+ """<p>Identifies the <code>MLModel</code> category. The following are the available types: </p> <ul> <li> <p>REGRESSION -- Produces a numeric result. For example, "What price should a house be listed at?"</p> </li> <li> <p>BINARY -- Produces one of two possible results. For example, "Is this an e-commerce website?"</p> </li> <li> <p>MULTICLASS -- Produces one of several possible results. For example, "Is this a HIGH, LOW or MEDIUM risk trade?"</p> </li> </ul>"""
57
57
  score_threshold: NotRequired[
58
58
  "capo_machine_learning.types.score_threshold.ScoreThreshold"
59
59
  ]
@@ -53,7 +53,7 @@ class MLModel(TypedDict, closed=True):
53
53
  algorithm: NotRequired["capo_machine_learning.types.algorithm.Algorithm"]
54
54
  """<p>The algorithm used to train the <code>MLModel</code>. The following algorithm is supported:</p> <ul> <li> <p> <code>SGD</code> -- Stochastic gradient descent. The goal of <code>SGD</code> is to minimize the gradient of the loss function. </p> </li> </ul>"""
55
55
  ml_model_type: NotRequired["capo_machine_learning.types.ml_model_type.MLModelType"]
56
- r"""<p>Identifies the <code>MLModel</code> category. The following are the available types:</p> <ul> <li> <p> <code>REGRESSION</code> - Produces a numeric result. For example, \"What price should a house be listed at?\"</p> </li> <li> <p> <code>BINARY</code> - Produces one of two possible results. For example, \"Is this a child-friendly web site?\".</p> </li> <li> <p> <code>MULTICLASS</code> - Produces one of several possible results. For example, \"Is this a HIGH-, LOW-, or MEDIUM-risk trade?\".</p> </li> </ul>"""
56
+ """<p>Identifies the <code>MLModel</code> category. The following are the available types:</p> <ul> <li> <p> <code>REGRESSION</code> - Produces a numeric result. For example, "What price should a house be listed at?"</p> </li> <li> <p> <code>BINARY</code> - Produces one of two possible results. For example, "Is this a child-friendly web site?".</p> </li> <li> <p> <code>MULTICLASS</code> - Produces one of several possible results. For example, "Is this a HIGH-, LOW-, or MEDIUM-risk trade?".</p> </li> </ul>"""
57
57
  score_threshold: NotRequired[
58
58
  "capo_machine_learning.types.score_threshold.ScoreThreshold"
59
59
  ]
@@ -35,15 +35,15 @@ class RDSDataSpec(TypedDict, closed=True):
35
35
  data_rearrangement: NotRequired[
36
36
  "capo_machine_learning.types.data_rearrangement.DataRearrangement"
37
37
  ]
38
- r"""<p>A JSON string that represents the splitting and rearrangement processing to be applied to a <code>DataSource</code>. If the <code>DataRearrangement</code> parameter is not provided, all of the input data is used to create the <code>Datasource</code>.</p> <p>There are multiple parameters that control what data is used to create a datasource:</p> <ul> <li> <p> <b> <code>percentBegin</code> </b> </p> <p>Use <code>percentBegin</code> to indicate the beginning of the range of the data used to create the Datasource. If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes all of the data when creating the datasource.</p> </li> <li> <p> <b> <code>percentEnd</code> </b> </p> <p>Use <code>percentEnd</code> to indicate the end of the range of the data used to create the Datasource. If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes all of the data when creating the datasource.</p> </li> <li> <p> <b> <code>complement</code> </b> </p> <p>The <code>complement</code> parameter instructs Amazon ML to use the data that is not included in the range of <code>percentBegin</code> to <code>percentEnd</code> to create a datasource. The <code>complement</code> parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for <code>percentBegin</code> and <code>percentEnd</code>, along with the <code>complement</code> parameter.</p> <p>For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.</p> <p>Datasource for evaluation: <code>{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}</code> </p> <p>Datasource for training: <code>{\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}</code> </p> </li> <li> <p> <b> <code>strategy</code> </b> </p> <p>To change how Amazon ML splits the data for a datasource, use the <code>strategy</code> parameter.</p> <p>The default value for the <code>strategy</code> parameter is <code>sequential</code>, meaning that Amazon ML takes all of the data records between the <code>percentBegin</code> and <code>percentEnd</code> parameters for the datasource, in the order that the records appear in the input data.</p> <p>The following two <code>DataRearrangement</code> lines are examples of sequentially ordered training and evaluation datasources:</p> <p>Datasource for evaluation: <code>{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}</code> </p> <p>Datasource for training: <code>{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}</code> </p> <p>To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the <code>strategy</code> parameter to <code>random</code> and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between <code>percentBegin</code> and <code>percentEnd</code>. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.</p> <p>The following two <code>DataRearrangement</code> lines are examples of non-sequentially ordered training and evaluation datasources:</p> <p>Datasource for evaluation: <code>{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}</code> </p> <p>Datasource for training: <code>{\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}</code> </p> </li> </ul>"""
38
+ """<p>A JSON string that represents the splitting and rearrangement processing to be applied to a <code>DataSource</code>. If the <code>DataRearrangement</code> parameter is not provided, all of the input data is used to create the <code>Datasource</code>.</p> <p>There are multiple parameters that control what data is used to create a datasource:</p> <ul> <li> <p> <b> <code>percentBegin</code> </b> </p> <p>Use <code>percentBegin</code> to indicate the beginning of the range of the data used to create the Datasource. If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes all of the data when creating the datasource.</p> </li> <li> <p> <b> <code>percentEnd</code> </b> </p> <p>Use <code>percentEnd</code> to indicate the end of the range of the data used to create the Datasource. If you do not include <code>percentBegin</code> and <code>percentEnd</code>, Amazon ML includes all of the data when creating the datasource.</p> </li> <li> <p> <b> <code>complement</code> </b> </p> <p>The <code>complement</code> parameter instructs Amazon ML to use the data that is not included in the range of <code>percentBegin</code> to <code>percentEnd</code> to create a datasource. The <code>complement</code> parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for <code>percentBegin</code> and <code>percentEnd</code>, along with the <code>complement</code> parameter.</p> <p>For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.</p> <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":0, "percentEnd":25}}</code> </p> <p>Datasource for training: <code>{"splitting":{"percentBegin":0, "percentEnd":25, "complement":"true"}}</code> </p> </li> <li> <p> <b> <code>strategy</code> </b> </p> <p>To change how Amazon ML splits the data for a datasource, use the <code>strategy</code> parameter.</p> <p>The default value for the <code>strategy</code> parameter is <code>sequential</code>, meaning that Amazon ML takes all of the data records between the <code>percentBegin</code> and <code>percentEnd</code> parameters for the datasource, in the order that the records appear in the input data.</p> <p>The following two <code>DataRearrangement</code> lines are examples of sequentially ordered training and evaluation datasources:</p> <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential"}}</code> </p> <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"sequential", "complement":"true"}}</code> </p> <p>To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the <code>strategy</code> parameter to <code>random</code> and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between <code>percentBegin</code> and <code>percentEnd</code>. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.</p> <p>The following two <code>DataRearrangement</code> lines are examples of non-sequentially ordered training and evaluation datasources:</p> <p>Datasource for evaluation: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv"}}</code> </p> <p>Datasource for training: <code>{"splitting":{"percentBegin":70, "percentEnd":100, "strategy":"random", "randomSeed"="s3://my_s3_path/bucket/file.csv", "complement":"true"}}</code> </p> </li> </ul>"""
39
39
  data_schema: NotRequired["capo_machine_learning.types.data_schema.DataSchema"]
40
- r"""<p>A JSON string that represents the schema for an Amazon RDS <code>DataSource</code>. The <code>DataSchema</code> defines the structure of the observation data in the data file(s) referenced in the <code>DataSource</code>.</p> <p>A <code>DataSchema</code> is not required if you specify a <code>DataSchemaUri</code> </p> <p>Define your <code>DataSchema</code> as a series of key-value pairs. <code>attributes</code> and <code>excludedVariableNames</code> have an array of key-value pairs for their value. Use the following format to define your <code>DataSchema</code>.</p> <p>{ \"version\": \"1.0\",</p> <p>\"recordAnnotationFieldName\": \"F1\",</p> <p>\"recordWeightFieldName\": \"F2\",</p> <p>\"targetFieldName\": \"F3\",</p> <p>\"dataFormat\": \"CSV\",</p> <p>\"dataFileContainsHeader\": true,</p> <p>\"attributes\": [</p> <p>{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],</p> <p>\"excludedVariableNames\": [ \"F6\" ] }</p>"""
40
+ """<p>A JSON string that represents the schema for an Amazon RDS <code>DataSource</code>. The <code>DataSchema</code> defines the structure of the observation data in the data file(s) referenced in the <code>DataSource</code>.</p> <p>A <code>DataSchema</code> is not required if you specify a <code>DataSchemaUri</code> </p> <p>Define your <code>DataSchema</code> as a series of key-value pairs. <code>attributes</code> and <code>excludedVariableNames</code> have an array of key-value pairs for their value. Use the following format to define your <code>DataSchema</code>.</p> <p>{ "version": "1.0",</p> <p>"recordAnnotationFieldName": "F1",</p> <p>"recordWeightFieldName": "F2",</p> <p>"targetFieldName": "F3",</p> <p>"dataFormat": "CSV",</p> <p>"dataFileContainsHeader": true,</p> <p>"attributes": [</p> <p>{ "fieldName": "F1", "fieldType": "TEXT" }, { "fieldName": "F2", "fieldType": "NUMERIC" }, { "fieldName": "F3", "fieldType": "CATEGORICAL" }, { "fieldName": "F4", "fieldType": "NUMERIC" }, { "fieldName": "F5", "fieldType": "CATEGORICAL" }, { "fieldName": "F6", "fieldType": "TEXT" }, { "fieldName": "F7", "fieldType": "WEIGHTED_INT_SEQUENCE" }, { "fieldName": "F8", "fieldType": "WEIGHTED_STRING_SEQUENCE" } ],</p> <p>"excludedVariableNames": [ "F6" ] }</p>"""
41
41
  data_schema_uri: NotRequired["capo_machine_learning.types.s3_url.S3Url"]
42
42
  """<p>The Amazon S3 location of the <code>DataSchema</code>. </p>"""
43
43
  resource_role: "capo_machine_learning.types.edp_resource_role.EDPResourceRole"
44
- r"""<p>The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. 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>"""
44
+ """<p>The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. 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>"""
45
45
  service_role: "capo_machine_learning.types.edp_service_role.EDPServiceRole"
46
- r"""<p>The role (DataPipelineDefaultRole) assumed by 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>"""
46
+ """<p>The role (DataPipelineDefaultRole) assumed by 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>"""
47
47
  subnet_id: "capo_machine_learning.types.edp_subnet_id.EDPSubnetId"
48
48
  """<p>The subnet ID to be used to access a VPC-based RDS DB instance. This attribute is used by Data Pipeline to carry out the copy task from Amazon RDS to Amazon S3.</p>"""
49
49
  security_group_ids: (
@@ -26,11 +26,11 @@ class RDSMetadata(TypedDict, closed=True):
26
26
  resource_role: NotRequired[
27
27
  "capo_machine_learning.types.edp_resource_role.EDPResourceRole"
28
28
  ]
29
- r"""<p>The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out 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>"""
29
+ """<p>The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out 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>"""
30
30
  service_role: NotRequired[
31
31
  "capo_machine_learning.types.edp_service_role.EDPServiceRole"
32
32
  ]
33
- r"""<p>The role (DataPipelineDefaultRole) assumed by the 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>"""
33
+ """<p>The role (DataPipelineDefaultRole) assumed by the 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>"""
34
34
  data_pipeline_id: NotRequired[
35
35
  "capo_machine_learning.types.edp_pipeline_id.EDPPipelineId"
36
36
  ]