@aws-sdk/client-machine-learning 3.34.0 → 3.35.0
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.
- package/CHANGELOG.md +12 -0
- package/{dist/cjs → dist-cjs}/MachineLearning.js +1 -1
- package/dist-cjs/MachineLearning.js.map +1 -0
- package/{dist/cjs → dist-cjs}/MachineLearningClient.js +8 -8
- package/dist-cjs/MachineLearningClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/AddTagsCommand.js +2 -2
- package/dist-cjs/commands/AddTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/CreateBatchPredictionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRDSCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSourceFromRDSCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRedshiftCommand.js +2 -2
- package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromRedshiftCommand.js.map +1 -1
- package/{dist/cjs → dist-cjs}/commands/CreateDataSourceFromS3Command.js +2 -2
- package/dist-cjs/commands/CreateDataSourceFromS3Command.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateEvaluationCommand.js +2 -2
- package/dist-cjs/commands/CreateEvaluationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateMLModelCommand.js +2 -2
- package/dist-cjs/commands/CreateMLModelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateRealtimeEndpointCommand.js +2 -2
- package/dist-cjs/commands/CreateRealtimeEndpointCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/DeleteBatchPredictionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteDataSourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataSourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteEvaluationCommand.js +2 -2
- package/dist-cjs/commands/DeleteEvaluationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteMLModelCommand.js +2 -2
- package/dist-cjs/commands/DeleteMLModelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteRealtimeEndpointCommand.js +2 -2
- package/dist-cjs/commands/DeleteRealtimeEndpointCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteTagsCommand.js +2 -2
- package/{dist/cjs/commands/GetMLModelCommand.js.map → dist-cjs/commands/DeleteTagsCommand.js.map} +1 -1
- package/{dist/cjs → dist-cjs}/commands/DescribeBatchPredictionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeBatchPredictionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeDataSourcesCommand.js +2 -2
- package/dist-cjs/commands/DescribeDataSourcesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeEvaluationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeEvaluationsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeMLModelsCommand.js +2 -2
- package/{dist/cjs/commands/UpdateDataSourceCommand.js.map → dist-cjs/commands/DescribeMLModelsCommand.js.map} +1 -1
- package/{dist/cjs → dist-cjs}/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/GetBatchPredictionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetDataSourceCommand.js +2 -2
- package/dist-cjs/commands/GetDataSourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetEvaluationCommand.js +2 -2
- package/{dist/cjs/commands/UpdateMLModelCommand.js.map → dist-cjs/commands/GetEvaluationCommand.js.map} +1 -1
- package/{dist/cjs → dist-cjs}/commands/GetMLModelCommand.js +2 -2
- package/dist-cjs/commands/GetMLModelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PredictCommand.js +2 -2
- package/dist-cjs/commands/PredictCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateBatchPredictionCommand.js +2 -2
- package/dist-cjs/commands/UpdateBatchPredictionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateDataSourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataSourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateEvaluationCommand.js +2 -2
- package/dist-cjs/commands/UpdateEvaluationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateMLModelCommand.js +2 -2
- package/dist-cjs/commands/UpdateMLModelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +0 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/DescribeBatchPredictionsPaginator.js +1 -1
- package/dist-cjs/pagination/DescribeBatchPredictionsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/DescribeDataSourcesPaginator.js +1 -1
- package/dist-cjs/pagination/DescribeDataSourcesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/DescribeEvaluationsPaginator.js +1 -1
- package/dist-cjs/pagination/DescribeEvaluationsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/DescribeMLModelsPaginator.js +1 -1
- package/dist-cjs/pagination/DescribeMLModelsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
- package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/cjs → dist-cjs}/waiters/waitForBatchPredictionAvailable.js +10 -10
- package/dist-cjs/waiters/waitForBatchPredictionAvailable.js.map +1 -0
- package/{dist/cjs → dist-cjs}/waiters/waitForDataSourceAvailable.js +10 -10
- package/dist-cjs/waiters/waitForDataSourceAvailable.js.map +1 -0
- package/{dist/cjs → dist-cjs}/waiters/waitForEvaluationAvailable.js +10 -10
- package/dist-cjs/waiters/waitForEvaluationAvailable.js.map +1 -0
- package/{dist/cjs → dist-cjs}/waiters/waitForMLModelAvailable.js +10 -10
- package/dist-cjs/waiters/waitForMLModelAvailable.js.map +1 -0
- package/{dist/es → dist-es}/MachineLearning.js +1 -1
- package/dist-es/MachineLearning.js.map +1 -0
- package/{dist/es → dist-es}/MachineLearningClient.js +1 -1
- package/dist-es/MachineLearningClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/AddTagsCommand.js +2 -2
- package/dist-es/commands/AddTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateBatchPredictionCommand.js +2 -2
- package/dist-es/commands/CreateBatchPredictionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateDataSourceFromRDSCommand.js +2 -2
- package/dist-es/commands/CreateDataSourceFromRDSCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateDataSourceFromRedshiftCommand.js +2 -2
- package/dist-es/commands/CreateDataSourceFromRedshiftCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateDataSourceFromS3Command.js +2 -2
- package/dist-es/commands/CreateDataSourceFromS3Command.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateEvaluationCommand.js +2 -2
- package/dist-es/commands/CreateEvaluationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateMLModelCommand.js +2 -2
- package/dist-es/commands/CreateMLModelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateRealtimeEndpointCommand.js +2 -2
- package/dist-es/commands/CreateRealtimeEndpointCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteBatchPredictionCommand.js +2 -2
- package/dist-es/commands/DeleteBatchPredictionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteDataSourceCommand.js +2 -2
- package/dist-es/commands/DeleteDataSourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteEvaluationCommand.js +2 -2
- package/dist-es/commands/DeleteEvaluationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteMLModelCommand.js +2 -2
- package/dist-es/commands/DeleteMLModelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteRealtimeEndpointCommand.js +2 -2
- package/dist-es/commands/DeleteRealtimeEndpointCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteTagsCommand.js +2 -2
- package/dist-es/commands/DeleteTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeBatchPredictionsCommand.js +2 -2
- package/dist-es/commands/DescribeBatchPredictionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeDataSourcesCommand.js +2 -2
- package/dist-es/commands/DescribeDataSourcesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeEvaluationsCommand.js +2 -2
- package/dist-es/commands/DescribeEvaluationsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeMLModelsCommand.js +2 -2
- package/dist-es/commands/DescribeMLModelsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeTagsCommand.js +2 -2
- package/dist-es/commands/DescribeTagsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetBatchPredictionCommand.js +2 -2
- package/dist-es/commands/GetBatchPredictionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetDataSourceCommand.js +2 -2
- package/dist-es/commands/GetDataSourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetEvaluationCommand.js +2 -2
- package/dist-es/commands/GetEvaluationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetMLModelCommand.js +2 -2
- package/dist-es/commands/GetMLModelCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PredictCommand.js +2 -2
- package/dist-es/commands/PredictCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateBatchPredictionCommand.js +2 -2
- package/dist-es/commands/UpdateBatchPredictionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateDataSourceCommand.js +2 -2
- package/dist-es/commands/UpdateDataSourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateEvaluationCommand.js +2 -2
- package/dist-es/commands/UpdateEvaluationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateMLModelCommand.js +2 -2
- package/dist-es/commands/UpdateMLModelCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -0
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/DescribeBatchPredictionsPaginator.js +1 -1
- package/dist-es/pagination/DescribeBatchPredictionsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/DescribeDataSourcesPaginator.js +1 -1
- package/dist-es/pagination/DescribeDataSourcesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/DescribeEvaluationsPaginator.js +1 -1
- package/dist-es/pagination/DescribeEvaluationsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/DescribeMLModelsPaginator.js +1 -1
- package/dist-es/pagination/DescribeMLModelsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
- package/dist-es/protocols/Aws_json1_1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -2
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/waiters/waitForBatchPredictionAvailable.js +1 -1
- package/dist-es/waiters/waitForBatchPredictionAvailable.js.map +1 -0
- package/{dist/es → dist-es}/waiters/waitForDataSourceAvailable.js +1 -1
- package/dist-es/waiters/waitForDataSourceAvailable.js.map +1 -0
- package/{dist/es → dist-es}/waiters/waitForEvaluationAvailable.js +1 -1
- package/dist-es/waiters/waitForEvaluationAvailable.js.map +1 -0
- package/{dist/es → dist-es}/waiters/waitForMLModelAvailable.js +1 -1
- package/dist-es/waiters/waitForMLModelAvailable.js.map +1 -0
- package/{dist/types → dist-types}/MachineLearning.d.ts +2 -2
- package/{dist/types → dist-types}/MachineLearningClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDataSourceFromS3Command.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDataSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeEvaluationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeMLModelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PredictCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeMLModelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/MachineLearning.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/MachineLearningClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRDSCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromRedshiftCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDataSourceFromS3Command.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateRealtimeEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRealtimeEndpointCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeBatchPredictionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeDataSourcesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeEvaluationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeMLModelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeTagsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PredictCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateBatchPredictionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateEvaluationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateMLModelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeBatchPredictionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeDataSourcesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeEvaluationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeMLModelsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/waiters/waitForDataSourceAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/waiters/waitForEvaluationAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/waiters/waitForMLModelAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForBatchPredictionAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForDataSourceAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForEvaluationAvailable.d.ts +2 -2
- package/{dist/types → dist-types}/waiters/waitForMLModelAvailable.d.ts +2 -2
- package/package.json +44 -44
- package/{MachineLearning.ts → src/MachineLearning.ts} +3 -2
- package/{MachineLearningClient.ts → src/MachineLearningClient.ts} +58 -57
- package/{commands → src/commands}/AddTagsCommand.ts +5 -4
- package/{commands → src/commands}/CreateBatchPredictionCommand.ts +8 -7
- package/{commands → src/commands}/CreateDataSourceFromRDSCommand.ts +8 -7
- package/{commands → src/commands}/CreateDataSourceFromRedshiftCommand.ts +8 -7
- package/{commands → src/commands}/CreateDataSourceFromS3Command.ts +8 -7
- package/{commands → src/commands}/CreateEvaluationCommand.ts +8 -7
- package/{commands → src/commands}/CreateMLModelCommand.ts +8 -7
- package/{commands → src/commands}/CreateRealtimeEndpointCommand.ts +8 -7
- package/{commands → src/commands}/DeleteBatchPredictionCommand.ts +8 -7
- package/{commands → src/commands}/DeleteDataSourceCommand.ts +8 -7
- package/{commands → src/commands}/DeleteEvaluationCommand.ts +8 -7
- package/{commands → src/commands}/DeleteMLModelCommand.ts +8 -7
- package/{commands → src/commands}/DeleteRealtimeEndpointCommand.ts +8 -7
- package/{commands → src/commands}/DeleteTagsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeBatchPredictionsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeDataSourcesCommand.ts +8 -7
- package/{commands → src/commands}/DescribeEvaluationsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeMLModelsCommand.ts +8 -7
- package/{commands → src/commands}/DescribeTagsCommand.ts +8 -7
- package/{commands → src/commands}/GetBatchPredictionCommand.ts +8 -7
- package/{commands → src/commands}/GetDataSourceCommand.ts +8 -7
- package/{commands → src/commands}/GetEvaluationCommand.ts +8 -7
- package/{commands → src/commands}/GetMLModelCommand.ts +8 -7
- package/{commands → src/commands}/PredictCommand.ts +5 -4
- package/{commands → src/commands}/UpdateBatchPredictionCommand.ts +8 -7
- package/{commands → src/commands}/UpdateDataSourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateEvaluationCommand.ts +8 -7
- package/{commands → src/commands}/UpdateMLModelCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/DescribeBatchPredictionsPaginator.ts +4 -3
- package/{pagination → src/pagination}/DescribeDataSourcesPaginator.ts +4 -3
- package/{pagination → src/pagination}/DescribeEvaluationsPaginator.ts +4 -3
- package/{pagination → src/pagination}/DescribeMLModelsPaginator.ts +4 -3
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{protocols → src/protocols}/Aws_json1_1.ts +52 -51
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/{waiters → src/waiters}/waitForBatchPredictionAvailable.ts +12 -11
- package/{waiters → src/waiters}/waitForDataSourceAvailable.ts +12 -11
- package/{waiters → src/waiters}/waitForEvaluationAvailable.ts +12 -11
- package/{waiters → src/waiters}/waitForMLModelAvailable.ts +12 -11
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/dist/cjs/MachineLearning.js.map +0 -1
- package/dist/cjs/MachineLearningClient.js.map +0 -1
- package/dist/cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist/cjs/commands/CreateBatchPredictionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +0 -1
- package/dist/cjs/commands/CreateEvaluationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateMLModelCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteEvaluationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteMLModelCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeMLModelsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/cjs/commands/GetBatchPredictionCommand.js.map +0 -1
- package/dist/cjs/commands/GetDataSourceCommand.js.map +0 -1
- package/dist/cjs/commands/GetEvaluationCommand.js.map +0 -1
- package/dist/cjs/commands/PredictCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateEvaluationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeDataSourcesPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeEvaluationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeMLModelsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +0 -1
- package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +0 -1
- package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +0 -1
- package/dist/cjs/waiters/waitForMLModelAvailable.js.map +0 -1
- package/dist/es/MachineLearning.js.map +0 -1
- package/dist/es/MachineLearningClient.js.map +0 -1
- package/dist/es/commands/AddTagsCommand.js.map +0 -1
- package/dist/es/commands/CreateBatchPredictionCommand.js.map +0 -1
- package/dist/es/commands/CreateDataSourceFromRDSCommand.js.map +0 -1
- package/dist/es/commands/CreateDataSourceFromRedshiftCommand.js.map +0 -1
- package/dist/es/commands/CreateDataSourceFromS3Command.js.map +0 -1
- package/dist/es/commands/CreateEvaluationCommand.js.map +0 -1
- package/dist/es/commands/CreateMLModelCommand.js.map +0 -1
- package/dist/es/commands/CreateRealtimeEndpointCommand.js.map +0 -1
- package/dist/es/commands/DeleteBatchPredictionCommand.js.map +0 -1
- package/dist/es/commands/DeleteDataSourceCommand.js.map +0 -1
- package/dist/es/commands/DeleteEvaluationCommand.js.map +0 -1
- package/dist/es/commands/DeleteMLModelCommand.js.map +0 -1
- package/dist/es/commands/DeleteRealtimeEndpointCommand.js.map +0 -1
- package/dist/es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist/es/commands/DescribeBatchPredictionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeDataSourcesCommand.js.map +0 -1
- package/dist/es/commands/DescribeEvaluationsCommand.js.map +0 -1
- package/dist/es/commands/DescribeMLModelsCommand.js.map +0 -1
- package/dist/es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist/es/commands/GetBatchPredictionCommand.js.map +0 -1
- package/dist/es/commands/GetDataSourceCommand.js.map +0 -1
- package/dist/es/commands/GetEvaluationCommand.js.map +0 -1
- package/dist/es/commands/GetMLModelCommand.js.map +0 -1
- package/dist/es/commands/PredictCommand.js.map +0 -1
- package/dist/es/commands/UpdateBatchPredictionCommand.js.map +0 -1
- package/dist/es/commands/UpdateDataSourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateEvaluationCommand.js.map +0 -1
- package/dist/es/commands/UpdateMLModelCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/DescribeBatchPredictionsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeDataSourcesPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeEvaluationsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeMLModelsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForBatchPredictionAvailable.js.map +0 -1
- package/dist/es/waiters/waitForDataSourceAvailable.js.map +0 -1
- package/dist/es/waiters/waitForEvaluationAvailable.js.map +0 -1
- package/dist/es/waiters/waitForMLModelAvailable.js.map +0 -1
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
2
|
-
import { UpdateEvaluationInput, UpdateEvaluationOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateEvaluationCommand,
|
|
5
|
-
serializeAws_json1_1UpdateEvaluationCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
15
|
+
import { UpdateEvaluationInput, UpdateEvaluationOutput } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1UpdateEvaluationCommand,
|
|
18
|
+
serializeAws_json1_1UpdateEvaluationCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface UpdateEvaluationCommandInput extends UpdateEvaluationInput {}
|
|
21
22
|
export interface UpdateEvaluationCommandOutput extends UpdateEvaluationOutput, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
2
|
-
import { UpdateMLModelInput, UpdateMLModelOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UpdateMLModelCommand,
|
|
5
|
-
serializeAws_json1_1UpdateMLModelCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { MachineLearningClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MachineLearningClient";
|
|
15
|
+
import { UpdateMLModelInput, UpdateMLModelOutput } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_json1_1UpdateMLModelCommand,
|
|
18
|
+
serializeAws_json1_1UpdateMLModelCommand,
|
|
19
|
+
} from "../protocols/Aws_json1_1";
|
|
20
|
+
|
|
20
21
|
export interface UpdateMLModelCommandInput extends UpdateMLModelInput {}
|
|
21
22
|
export interface UpdateMLModelCommandOutput extends UpdateMLModelOutput, __MetadataBearer {}
|
|
22
23
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
DescribeBatchPredictionsCommand,
|
|
5
5
|
DescribeBatchPredictionsCommandInput,
|
|
6
6
|
DescribeBatchPredictionsCommandOutput,
|
|
7
7
|
} from "../commands/DescribeBatchPredictionsCommand";
|
|
8
|
+
import { MachineLearning } from "../MachineLearning";
|
|
9
|
+
import { MachineLearningClient } from "../MachineLearningClient";
|
|
8
10
|
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
DescribeDataSourcesCommand,
|
|
5
5
|
DescribeDataSourcesCommandInput,
|
|
6
6
|
DescribeDataSourcesCommandOutput,
|
|
7
7
|
} from "../commands/DescribeDataSourcesCommand";
|
|
8
|
+
import { MachineLearning } from "../MachineLearning";
|
|
9
|
+
import { MachineLearningClient } from "../MachineLearningClient";
|
|
8
10
|
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
DescribeEvaluationsCommand,
|
|
5
5
|
DescribeEvaluationsCommandInput,
|
|
6
6
|
DescribeEvaluationsCommandOutput,
|
|
7
7
|
} from "../commands/DescribeEvaluationsCommand";
|
|
8
|
+
import { MachineLearning } from "../MachineLearning";
|
|
9
|
+
import { MachineLearningClient } from "../MachineLearningClient";
|
|
8
10
|
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
DescribeMLModelsCommand,
|
|
5
5
|
DescribeMLModelsCommandInput,
|
|
6
6
|
DescribeMLModelsCommandOutput,
|
|
7
7
|
} from "../commands/DescribeMLModelsCommand";
|
|
8
|
+
import { MachineLearning } from "../MachineLearning";
|
|
9
|
+
import { MachineLearningClient } from "../MachineLearningClient";
|
|
8
10
|
import { MachineLearningPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { MachineLearning } from "../MachineLearning";
|
|
2
4
|
import { MachineLearningClient } from "../MachineLearningClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
5
|
|
|
5
6
|
export interface MachineLearningPaginationConfiguration extends PaginationConfiguration {
|
|
6
7
|
client: MachineLearning | MachineLearningClient;
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import {
|
|
3
|
+
expectBoolean as __expectBoolean,
|
|
4
|
+
expectInt32 as __expectInt32,
|
|
5
|
+
expectLong as __expectLong,
|
|
6
|
+
expectNonNull as __expectNonNull,
|
|
7
|
+
expectNumber as __expectNumber,
|
|
8
|
+
expectString as __expectString,
|
|
9
|
+
limitedParseFloat32 as __limitedParseFloat32,
|
|
10
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
11
|
+
serializeFloat as __serializeFloat,
|
|
12
|
+
} from "@aws-sdk/smithy-client";
|
|
13
|
+
import {
|
|
14
|
+
Endpoint as __Endpoint,
|
|
15
|
+
HeaderBag as __HeaderBag,
|
|
16
|
+
MetadataBearer as __MetadataBearer,
|
|
17
|
+
ResponseMetadata as __ResponseMetadata,
|
|
18
|
+
SerdeContext as __SerdeContext,
|
|
19
|
+
SmithyException as __SmithyException,
|
|
20
|
+
} from "@aws-sdk/types";
|
|
21
|
+
|
|
1
22
|
import { AddTagsCommandInput, AddTagsCommandOutput } from "../commands/AddTagsCommand";
|
|
2
23
|
import {
|
|
3
24
|
CreateBatchPredictionCommandInput,
|
|
@@ -118,17 +139,17 @@ import {
|
|
|
118
139
|
MLModel,
|
|
119
140
|
PerformanceMetrics,
|
|
120
141
|
PredictInput,
|
|
121
|
-
PredictOutput,
|
|
122
142
|
Prediction,
|
|
123
143
|
PredictorNotMountedException,
|
|
124
|
-
|
|
144
|
+
PredictOutput,
|
|
125
145
|
RDSDatabase,
|
|
126
146
|
RDSDatabaseCredentials,
|
|
147
|
+
RDSDataSpec,
|
|
127
148
|
RDSMetadata,
|
|
128
149
|
RealtimeEndpointInfo,
|
|
129
|
-
RedshiftDataSpec,
|
|
130
150
|
RedshiftDatabase,
|
|
131
151
|
RedshiftDatabaseCredentials,
|
|
152
|
+
RedshiftDataSpec,
|
|
132
153
|
RedshiftMetadata,
|
|
133
154
|
ResourceNotFoundException,
|
|
134
155
|
S3DataSpec,
|
|
@@ -143,26 +164,6 @@ import {
|
|
|
143
164
|
UpdateMLModelInput,
|
|
144
165
|
UpdateMLModelOutput,
|
|
145
166
|
} from "../models/models_0";
|
|
146
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
147
|
-
import {
|
|
148
|
-
expectBoolean as __expectBoolean,
|
|
149
|
-
expectInt32 as __expectInt32,
|
|
150
|
-
expectLong as __expectLong,
|
|
151
|
-
expectNonNull as __expectNonNull,
|
|
152
|
-
expectNumber as __expectNumber,
|
|
153
|
-
expectString as __expectString,
|
|
154
|
-
limitedParseFloat32 as __limitedParseFloat32,
|
|
155
|
-
parseEpochTimestamp as __parseEpochTimestamp,
|
|
156
|
-
serializeFloat as __serializeFloat,
|
|
157
|
-
} from "@aws-sdk/smithy-client";
|
|
158
|
-
import {
|
|
159
|
-
Endpoint as __Endpoint,
|
|
160
|
-
HeaderBag as __HeaderBag,
|
|
161
|
-
MetadataBearer as __MetadataBearer,
|
|
162
|
-
ResponseMetadata as __ResponseMetadata,
|
|
163
|
-
SerdeContext as __SerdeContext,
|
|
164
|
-
SmithyException as __SmithyException,
|
|
165
|
-
} from "@aws-sdk/types";
|
|
166
167
|
|
|
167
168
|
export const serializeAws_json1_1AddTagsCommand = async (
|
|
168
169
|
input: AddTagsCommandInput,
|
|
@@ -554,7 +555,7 @@ const deserializeAws_json1_1AddTagsCommandError = async (
|
|
|
554
555
|
body: await parseBody(output.body, context),
|
|
555
556
|
};
|
|
556
557
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
557
|
-
let errorCode
|
|
558
|
+
let errorCode = "UnknownError";
|
|
558
559
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
559
560
|
switch (errorCode) {
|
|
560
561
|
case "InternalServerException":
|
|
@@ -640,7 +641,7 @@ const deserializeAws_json1_1CreateBatchPredictionCommandError = async (
|
|
|
640
641
|
body: await parseBody(output.body, context),
|
|
641
642
|
};
|
|
642
643
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
643
|
-
let errorCode
|
|
644
|
+
let errorCode = "UnknownError";
|
|
644
645
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
645
646
|
switch (errorCode) {
|
|
646
647
|
case "IdempotentParameterMismatchException":
|
|
@@ -710,7 +711,7 @@ const deserializeAws_json1_1CreateDataSourceFromRDSCommandError = async (
|
|
|
710
711
|
body: await parseBody(output.body, context),
|
|
711
712
|
};
|
|
712
713
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
713
|
-
let errorCode
|
|
714
|
+
let errorCode = "UnknownError";
|
|
714
715
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
716
|
switch (errorCode) {
|
|
716
717
|
case "IdempotentParameterMismatchException":
|
|
@@ -780,7 +781,7 @@ const deserializeAws_json1_1CreateDataSourceFromRedshiftCommandError = async (
|
|
|
780
781
|
body: await parseBody(output.body, context),
|
|
781
782
|
};
|
|
782
783
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
783
|
-
let errorCode
|
|
784
|
+
let errorCode = "UnknownError";
|
|
784
785
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
785
786
|
switch (errorCode) {
|
|
786
787
|
case "IdempotentParameterMismatchException":
|
|
@@ -850,7 +851,7 @@ const deserializeAws_json1_1CreateDataSourceFromS3CommandError = async (
|
|
|
850
851
|
body: await parseBody(output.body, context),
|
|
851
852
|
};
|
|
852
853
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
853
|
-
let errorCode
|
|
854
|
+
let errorCode = "UnknownError";
|
|
854
855
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
855
856
|
switch (errorCode) {
|
|
856
857
|
case "IdempotentParameterMismatchException":
|
|
@@ -920,7 +921,7 @@ const deserializeAws_json1_1CreateEvaluationCommandError = async (
|
|
|
920
921
|
body: await parseBody(output.body, context),
|
|
921
922
|
};
|
|
922
923
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
923
|
-
let errorCode
|
|
924
|
+
let errorCode = "UnknownError";
|
|
924
925
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
925
926
|
switch (errorCode) {
|
|
926
927
|
case "IdempotentParameterMismatchException":
|
|
@@ -990,7 +991,7 @@ const deserializeAws_json1_1CreateMLModelCommandError = async (
|
|
|
990
991
|
body: await parseBody(output.body, context),
|
|
991
992
|
};
|
|
992
993
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
993
|
-
let errorCode
|
|
994
|
+
let errorCode = "UnknownError";
|
|
994
995
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
995
996
|
switch (errorCode) {
|
|
996
997
|
case "IdempotentParameterMismatchException":
|
|
@@ -1060,7 +1061,7 @@ const deserializeAws_json1_1CreateRealtimeEndpointCommandError = async (
|
|
|
1060
1061
|
body: await parseBody(output.body, context),
|
|
1061
1062
|
};
|
|
1062
1063
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1063
|
-
let errorCode
|
|
1064
|
+
let errorCode = "UnknownError";
|
|
1064
1065
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1065
1066
|
switch (errorCode) {
|
|
1066
1067
|
case "InternalServerException":
|
|
@@ -1130,7 +1131,7 @@ const deserializeAws_json1_1DeleteBatchPredictionCommandError = async (
|
|
|
1130
1131
|
body: await parseBody(output.body, context),
|
|
1131
1132
|
};
|
|
1132
1133
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1133
|
-
let errorCode
|
|
1134
|
+
let errorCode = "UnknownError";
|
|
1134
1135
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1135
1136
|
switch (errorCode) {
|
|
1136
1137
|
case "InternalServerException":
|
|
@@ -1200,7 +1201,7 @@ const deserializeAws_json1_1DeleteDataSourceCommandError = async (
|
|
|
1200
1201
|
body: await parseBody(output.body, context),
|
|
1201
1202
|
};
|
|
1202
1203
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1203
|
-
let errorCode
|
|
1204
|
+
let errorCode = "UnknownError";
|
|
1204
1205
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1205
1206
|
switch (errorCode) {
|
|
1206
1207
|
case "InternalServerException":
|
|
@@ -1270,7 +1271,7 @@ const deserializeAws_json1_1DeleteEvaluationCommandError = async (
|
|
|
1270
1271
|
body: await parseBody(output.body, context),
|
|
1271
1272
|
};
|
|
1272
1273
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1273
|
-
let errorCode
|
|
1274
|
+
let errorCode = "UnknownError";
|
|
1274
1275
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1275
1276
|
switch (errorCode) {
|
|
1276
1277
|
case "InternalServerException":
|
|
@@ -1340,7 +1341,7 @@ const deserializeAws_json1_1DeleteMLModelCommandError = async (
|
|
|
1340
1341
|
body: await parseBody(output.body, context),
|
|
1341
1342
|
};
|
|
1342
1343
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1343
|
-
let errorCode
|
|
1344
|
+
let errorCode = "UnknownError";
|
|
1344
1345
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1345
1346
|
switch (errorCode) {
|
|
1346
1347
|
case "InternalServerException":
|
|
@@ -1410,7 +1411,7 @@ const deserializeAws_json1_1DeleteRealtimeEndpointCommandError = async (
|
|
|
1410
1411
|
body: await parseBody(output.body, context),
|
|
1411
1412
|
};
|
|
1412
1413
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1413
|
-
let errorCode
|
|
1414
|
+
let errorCode = "UnknownError";
|
|
1414
1415
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1415
1416
|
switch (errorCode) {
|
|
1416
1417
|
case "InternalServerException":
|
|
@@ -1480,7 +1481,7 @@ const deserializeAws_json1_1DeleteTagsCommandError = async (
|
|
|
1480
1481
|
body: await parseBody(output.body, context),
|
|
1481
1482
|
};
|
|
1482
1483
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1483
|
-
let errorCode
|
|
1484
|
+
let errorCode = "UnknownError";
|
|
1484
1485
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1485
1486
|
switch (errorCode) {
|
|
1486
1487
|
case "InternalServerException":
|
|
@@ -1558,7 +1559,7 @@ const deserializeAws_json1_1DescribeBatchPredictionsCommandError = async (
|
|
|
1558
1559
|
body: await parseBody(output.body, context),
|
|
1559
1560
|
};
|
|
1560
1561
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1561
|
-
let errorCode
|
|
1562
|
+
let errorCode = "UnknownError";
|
|
1562
1563
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1563
1564
|
switch (errorCode) {
|
|
1564
1565
|
case "InternalServerException":
|
|
@@ -1620,7 +1621,7 @@ const deserializeAws_json1_1DescribeDataSourcesCommandError = async (
|
|
|
1620
1621
|
body: await parseBody(output.body, context),
|
|
1621
1622
|
};
|
|
1622
1623
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1623
|
-
let errorCode
|
|
1624
|
+
let errorCode = "UnknownError";
|
|
1624
1625
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1625
1626
|
switch (errorCode) {
|
|
1626
1627
|
case "InternalServerException":
|
|
@@ -1682,7 +1683,7 @@ const deserializeAws_json1_1DescribeEvaluationsCommandError = async (
|
|
|
1682
1683
|
body: await parseBody(output.body, context),
|
|
1683
1684
|
};
|
|
1684
1685
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1685
|
-
let errorCode
|
|
1686
|
+
let errorCode = "UnknownError";
|
|
1686
1687
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1687
1688
|
switch (errorCode) {
|
|
1688
1689
|
case "InternalServerException":
|
|
@@ -1744,7 +1745,7 @@ const deserializeAws_json1_1DescribeMLModelsCommandError = async (
|
|
|
1744
1745
|
body: await parseBody(output.body, context),
|
|
1745
1746
|
};
|
|
1746
1747
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1747
|
-
let errorCode
|
|
1748
|
+
let errorCode = "UnknownError";
|
|
1748
1749
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1749
1750
|
switch (errorCode) {
|
|
1750
1751
|
case "InternalServerException":
|
|
@@ -1806,7 +1807,7 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (
|
|
|
1806
1807
|
body: await parseBody(output.body, context),
|
|
1807
1808
|
};
|
|
1808
1809
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1809
|
-
let errorCode
|
|
1810
|
+
let errorCode = "UnknownError";
|
|
1810
1811
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1811
1812
|
switch (errorCode) {
|
|
1812
1813
|
case "InternalServerException":
|
|
@@ -1876,7 +1877,7 @@ const deserializeAws_json1_1GetBatchPredictionCommandError = async (
|
|
|
1876
1877
|
body: await parseBody(output.body, context),
|
|
1877
1878
|
};
|
|
1878
1879
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1879
|
-
let errorCode
|
|
1880
|
+
let errorCode = "UnknownError";
|
|
1880
1881
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1881
1882
|
switch (errorCode) {
|
|
1882
1883
|
case "InternalServerException":
|
|
@@ -1946,7 +1947,7 @@ const deserializeAws_json1_1GetDataSourceCommandError = async (
|
|
|
1946
1947
|
body: await parseBody(output.body, context),
|
|
1947
1948
|
};
|
|
1948
1949
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
1949
|
-
let errorCode
|
|
1950
|
+
let errorCode = "UnknownError";
|
|
1950
1951
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1951
1952
|
switch (errorCode) {
|
|
1952
1953
|
case "InternalServerException":
|
|
@@ -2016,7 +2017,7 @@ const deserializeAws_json1_1GetEvaluationCommandError = async (
|
|
|
2016
2017
|
body: await parseBody(output.body, context),
|
|
2017
2018
|
};
|
|
2018
2019
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2019
|
-
let errorCode
|
|
2020
|
+
let errorCode = "UnknownError";
|
|
2020
2021
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2021
2022
|
switch (errorCode) {
|
|
2022
2023
|
case "InternalServerException":
|
|
@@ -2086,7 +2087,7 @@ const deserializeAws_json1_1GetMLModelCommandError = async (
|
|
|
2086
2087
|
body: await parseBody(output.body, context),
|
|
2087
2088
|
};
|
|
2088
2089
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2089
|
-
let errorCode
|
|
2090
|
+
let errorCode = "UnknownError";
|
|
2090
2091
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2091
2092
|
switch (errorCode) {
|
|
2092
2093
|
case "InternalServerException":
|
|
@@ -2156,7 +2157,7 @@ const deserializeAws_json1_1PredictCommandError = async (
|
|
|
2156
2157
|
body: await parseBody(output.body, context),
|
|
2157
2158
|
};
|
|
2158
2159
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2159
|
-
let errorCode
|
|
2160
|
+
let errorCode = "UnknownError";
|
|
2160
2161
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2161
2162
|
switch (errorCode) {
|
|
2162
2163
|
case "InternalServerException":
|
|
@@ -2242,7 +2243,7 @@ const deserializeAws_json1_1UpdateBatchPredictionCommandError = async (
|
|
|
2242
2243
|
body: await parseBody(output.body, context),
|
|
2243
2244
|
};
|
|
2244
2245
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2245
|
-
let errorCode
|
|
2246
|
+
let errorCode = "UnknownError";
|
|
2246
2247
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2247
2248
|
switch (errorCode) {
|
|
2248
2249
|
case "InternalServerException":
|
|
@@ -2312,7 +2313,7 @@ const deserializeAws_json1_1UpdateDataSourceCommandError = async (
|
|
|
2312
2313
|
body: await parseBody(output.body, context),
|
|
2313
2314
|
};
|
|
2314
2315
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2315
|
-
let errorCode
|
|
2316
|
+
let errorCode = "UnknownError";
|
|
2316
2317
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2317
2318
|
switch (errorCode) {
|
|
2318
2319
|
case "InternalServerException":
|
|
@@ -2382,7 +2383,7 @@ const deserializeAws_json1_1UpdateEvaluationCommandError = async (
|
|
|
2382
2383
|
body: await parseBody(output.body, context),
|
|
2383
2384
|
};
|
|
2384
2385
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2385
|
-
let errorCode
|
|
2386
|
+
let errorCode = "UnknownError";
|
|
2386
2387
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2387
2388
|
switch (errorCode) {
|
|
2388
2389
|
case "InternalServerException":
|
|
@@ -2452,7 +2453,7 @@ const deserializeAws_json1_1UpdateMLModelCommandError = async (
|
|
|
2452
2453
|
body: await parseBody(output.body, context),
|
|
2453
2454
|
};
|
|
2454
2455
|
let response: __SmithyException & __MetadataBearer & { [key: string]: any };
|
|
2455
|
-
let errorCode
|
|
2456
|
+
let errorCode = "UnknownError";
|
|
2456
2457
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2457
2458
|
switch (errorCode) {
|
|
2458
2459
|
case "InternalServerException":
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
2
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
3
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -8,6 +6,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
|
8
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
7
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
8
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
9
|
+
|
|
10
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
11
|
+
import packageInfo from "../package.json";
|
|
11
12
|
import { MachineLearningClientConfig } from "./MachineLearningClient";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
14
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
|
|
4
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
4
5
|
import { MachineLearningClientConfig } from "./MachineLearningClient";
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
1
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
2
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
3
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -7,13 +5,16 @@ import { Hash } from "@aws-sdk/hash-node";
|
|
|
7
5
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
6
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
7
|
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
8
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
10
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
10
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
|
|
14
|
+
// @ts-ignore: package.json will be imported from dist folders
|
|
15
|
+
import packageInfo from "../package.json";
|
|
14
16
|
import { MachineLearningClientConfig } from "./MachineLearningClient";
|
|
15
17
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
|
+
|
|
2
3
|
import {
|
|
3
4
|
DescribeBatchPredictionsCommand,
|
|
4
5
|
DescribeBatchPredictionsCommandInput,
|
|
5
6
|
} from "../commands/DescribeBatchPredictionsCommand";
|
|
6
|
-
import {
|
|
7
|
+
import { MachineLearningClient } from "../MachineLearningClient";
|
|
7
8
|
|
|
8
9
|
const checkState = async (
|
|
9
10
|
client: MachineLearningClient,
|
|
@@ -11,18 +12,18 @@ const checkState = async (
|
|
|
11
12
|
): Promise<WaiterResult> => {
|
|
12
13
|
let reason;
|
|
13
14
|
try {
|
|
14
|
-
|
|
15
|
+
const result: any = await client.send(new DescribeBatchPredictionsCommand(input));
|
|
15
16
|
reason = result;
|
|
16
17
|
try {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
const flat_1: any[] = [].concat(...result.Results);
|
|
20
|
+
const projection_3 = flat_1.map((element_2: any) => {
|
|
20
21
|
return element_2.Status;
|
|
21
22
|
});
|
|
22
23
|
return projection_3;
|
|
23
24
|
};
|
|
24
25
|
let allStringEq_5 = returnComparator().length > 0;
|
|
25
|
-
for (
|
|
26
|
+
for (const element_4 of returnComparator()) {
|
|
26
27
|
allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
|
|
27
28
|
}
|
|
28
29
|
if (allStringEq_5) {
|
|
@@ -30,14 +31,14 @@ const checkState = async (
|
|
|
30
31
|
}
|
|
31
32
|
} catch (e) {}
|
|
32
33
|
try {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
const returnComparator = () => {
|
|
35
|
+
const flat_1: any[] = [].concat(...result.Results);
|
|
36
|
+
const projection_3 = flat_1.map((element_2: any) => {
|
|
36
37
|
return element_2.Status;
|
|
37
38
|
});
|
|
38
39
|
return projection_3;
|
|
39
40
|
};
|
|
40
|
-
for (
|
|
41
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
41
42
|
if (anyStringEq_4 == "FAILED") {
|
|
42
43
|
return { state: WaiterState.FAILURE, reason };
|
|
43
44
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterConfiguration, WaiterResult, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
|
+
|
|
2
3
|
import { DescribeDataSourcesCommand, DescribeDataSourcesCommandInput } from "../commands/DescribeDataSourcesCommand";
|
|
3
|
-
import {
|
|
4
|
+
import { MachineLearningClient } from "../MachineLearningClient";
|
|
4
5
|
|
|
5
6
|
const checkState = async (
|
|
6
7
|
client: MachineLearningClient,
|
|
@@ -8,18 +9,18 @@ const checkState = async (
|
|
|
8
9
|
): Promise<WaiterResult> => {
|
|
9
10
|
let reason;
|
|
10
11
|
try {
|
|
11
|
-
|
|
12
|
+
const result: any = await client.send(new DescribeDataSourcesCommand(input));
|
|
12
13
|
reason = result;
|
|
13
14
|
try {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
const returnComparator = () => {
|
|
16
|
+
const flat_1: any[] = [].concat(...result.Results);
|
|
17
|
+
const projection_3 = flat_1.map((element_2: any) => {
|
|
17
18
|
return element_2.Status;
|
|
18
19
|
});
|
|
19
20
|
return projection_3;
|
|
20
21
|
};
|
|
21
22
|
let allStringEq_5 = returnComparator().length > 0;
|
|
22
|
-
for (
|
|
23
|
+
for (const element_4 of returnComparator()) {
|
|
23
24
|
allStringEq_5 = allStringEq_5 && element_4 == "COMPLETED";
|
|
24
25
|
}
|
|
25
26
|
if (allStringEq_5) {
|
|
@@ -27,14 +28,14 @@ const checkState = async (
|
|
|
27
28
|
}
|
|
28
29
|
} catch (e) {}
|
|
29
30
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
const returnComparator = () => {
|
|
32
|
+
const flat_1: any[] = [].concat(...result.Results);
|
|
33
|
+
const projection_3 = flat_1.map((element_2: any) => {
|
|
33
34
|
return element_2.Status;
|
|
34
35
|
});
|
|
35
36
|
return projection_3;
|
|
36
37
|
};
|
|
37
|
-
for (
|
|
38
|
+
for (const anyStringEq_4 of returnComparator()) {
|
|
38
39
|
if (anyStringEq_4 == "FAILED") {
|
|
39
40
|
return { state: WaiterState.FAILURE, reason };
|
|
40
41
|
}
|