vendor: update all dependencies to latest versions
This commit is contained in:
parent
911d121bb9
commit
b017fcfe9a
3048 changed files with 537057 additions and 189681 deletions
532
vendor/github.com/aws/aws-sdk-go/service/machinelearning/api.go
generated
vendored
532
vendor/github.com/aws/aws-sdk-go/service/machinelearning/api.go
generated
vendored
|
@ -15,19 +15,18 @@ const opAddTags = "AddTags"
|
|||
|
||||
// AddTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the AddTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See AddTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the AddTags method directly
|
||||
// instead.
|
||||
// See AddTags for more information on using the AddTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the AddTagsRequest method.
|
||||
// req, resp := client.AddTagsRequest(params)
|
||||
|
@ -105,19 +104,18 @@ const opCreateBatchPrediction = "CreateBatchPrediction"
|
|||
|
||||
// CreateBatchPredictionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateBatchPrediction operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateBatchPrediction for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateBatchPrediction method directly
|
||||
// instead.
|
||||
// See CreateBatchPrediction for more information on using the CreateBatchPrediction
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateBatchPredictionRequest method.
|
||||
// req, resp := client.CreateBatchPredictionRequest(params)
|
||||
|
@ -204,19 +202,18 @@ const opCreateDataSourceFromRDS = "CreateDataSourceFromRDS"
|
|||
|
||||
// CreateDataSourceFromRDSRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateDataSourceFromRDS operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateDataSourceFromRDS for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateDataSourceFromRDS method directly
|
||||
// instead.
|
||||
// See CreateDataSourceFromRDS for more information on using the CreateDataSourceFromRDS
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateDataSourceFromRDSRequest method.
|
||||
// req, resp := client.CreateDataSourceFromRDSRequest(params)
|
||||
|
@ -303,19 +300,18 @@ const opCreateDataSourceFromRedshift = "CreateDataSourceFromRedshift"
|
|||
|
||||
// CreateDataSourceFromRedshiftRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateDataSourceFromRedshift operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateDataSourceFromRedshift for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateDataSourceFromRedshift method directly
|
||||
// instead.
|
||||
// See CreateDataSourceFromRedshift for more information on using the CreateDataSourceFromRedshift
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateDataSourceFromRedshiftRequest method.
|
||||
// req, resp := client.CreateDataSourceFromRedshiftRequest(params)
|
||||
|
@ -421,19 +417,18 @@ const opCreateDataSourceFromS3 = "CreateDataSourceFromS3"
|
|||
|
||||
// CreateDataSourceFromS3Request generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateDataSourceFromS3 operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateDataSourceFromS3 for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateDataSourceFromS3 method directly
|
||||
// instead.
|
||||
// See CreateDataSourceFromS3 for more information on using the CreateDataSourceFromS3
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateDataSourceFromS3Request method.
|
||||
// req, resp := client.CreateDataSourceFromS3Request(params)
|
||||
|
@ -534,19 +529,18 @@ const opCreateEvaluation = "CreateEvaluation"
|
|||
|
||||
// CreateEvaluationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateEvaluation operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateEvaluation for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateEvaluation method directly
|
||||
// instead.
|
||||
// See CreateEvaluation for more information on using the CreateEvaluation
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateEvaluationRequest method.
|
||||
// req, resp := client.CreateEvaluationRequest(params)
|
||||
|
@ -635,19 +629,18 @@ const opCreateMLModel = "CreateMLModel"
|
|||
|
||||
// CreateMLModelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateMLModel operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateMLModel for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateMLModel method directly
|
||||
// instead.
|
||||
// See CreateMLModel for more information on using the CreateMLModel
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateMLModelRequest method.
|
||||
// req, resp := client.CreateMLModelRequest(params)
|
||||
|
@ -737,19 +730,18 @@ const opCreateRealtimeEndpoint = "CreateRealtimeEndpoint"
|
|||
|
||||
// CreateRealtimeEndpointRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the CreateRealtimeEndpoint operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See CreateRealtimeEndpoint for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the CreateRealtimeEndpoint method directly
|
||||
// instead.
|
||||
// See CreateRealtimeEndpoint for more information on using the CreateRealtimeEndpoint
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the CreateRealtimeEndpointRequest method.
|
||||
// req, resp := client.CreateRealtimeEndpointRequest(params)
|
||||
|
@ -823,19 +815,18 @@ const opDeleteBatchPrediction = "DeleteBatchPrediction"
|
|||
|
||||
// DeleteBatchPredictionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteBatchPrediction operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteBatchPrediction for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteBatchPrediction method directly
|
||||
// instead.
|
||||
// See DeleteBatchPrediction for more information on using the DeleteBatchPrediction
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteBatchPredictionRequest method.
|
||||
// req, resp := client.DeleteBatchPredictionRequest(params)
|
||||
|
@ -912,19 +903,18 @@ const opDeleteDataSource = "DeleteDataSource"
|
|||
|
||||
// DeleteDataSourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteDataSource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteDataSource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteDataSource method directly
|
||||
// instead.
|
||||
// See DeleteDataSource for more information on using the DeleteDataSource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteDataSourceRequest method.
|
||||
// req, resp := client.DeleteDataSourceRequest(params)
|
||||
|
@ -1001,19 +991,18 @@ const opDeleteEvaluation = "DeleteEvaluation"
|
|||
|
||||
// DeleteEvaluationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteEvaluation operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteEvaluation for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteEvaluation method directly
|
||||
// instead.
|
||||
// See DeleteEvaluation for more information on using the DeleteEvaluation
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteEvaluationRequest method.
|
||||
// req, resp := client.DeleteEvaluationRequest(params)
|
||||
|
@ -1090,19 +1079,18 @@ const opDeleteMLModel = "DeleteMLModel"
|
|||
|
||||
// DeleteMLModelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteMLModel operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteMLModel for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteMLModel method directly
|
||||
// instead.
|
||||
// See DeleteMLModel for more information on using the DeleteMLModel
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteMLModelRequest method.
|
||||
// req, resp := client.DeleteMLModelRequest(params)
|
||||
|
@ -1179,19 +1167,18 @@ const opDeleteRealtimeEndpoint = "DeleteRealtimeEndpoint"
|
|||
|
||||
// DeleteRealtimeEndpointRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteRealtimeEndpoint operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteRealtimeEndpoint for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteRealtimeEndpoint method directly
|
||||
// instead.
|
||||
// See DeleteRealtimeEndpoint for more information on using the DeleteRealtimeEndpoint
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteRealtimeEndpointRequest method.
|
||||
// req, resp := client.DeleteRealtimeEndpointRequest(params)
|
||||
|
@ -1263,19 +1250,18 @@ const opDeleteTags = "DeleteTags"
|
|||
|
||||
// DeleteTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DeleteTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DeleteTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DeleteTags method directly
|
||||
// instead.
|
||||
// See DeleteTags for more information on using the DeleteTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DeleteTagsRequest method.
|
||||
// req, resp := client.DeleteTagsRequest(params)
|
||||
|
@ -1352,19 +1338,18 @@ const opDescribeBatchPredictions = "DescribeBatchPredictions"
|
|||
|
||||
// DescribeBatchPredictionsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeBatchPredictions operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeBatchPredictions for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeBatchPredictions method directly
|
||||
// instead.
|
||||
// See DescribeBatchPredictions for more information on using the DescribeBatchPredictions
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeBatchPredictionsRequest method.
|
||||
// req, resp := client.DescribeBatchPredictionsRequest(params)
|
||||
|
@ -1490,19 +1475,18 @@ const opDescribeDataSources = "DescribeDataSources"
|
|||
|
||||
// DescribeDataSourcesRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeDataSources operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeDataSources for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeDataSources method directly
|
||||
// instead.
|
||||
// See DescribeDataSources for more information on using the DescribeDataSources
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeDataSourcesRequest method.
|
||||
// req, resp := client.DescribeDataSourcesRequest(params)
|
||||
|
@ -1627,19 +1611,18 @@ const opDescribeEvaluations = "DescribeEvaluations"
|
|||
|
||||
// DescribeEvaluationsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeEvaluations operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeEvaluations for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeEvaluations method directly
|
||||
// instead.
|
||||
// See DescribeEvaluations for more information on using the DescribeEvaluations
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeEvaluationsRequest method.
|
||||
// req, resp := client.DescribeEvaluationsRequest(params)
|
||||
|
@ -1765,19 +1748,18 @@ const opDescribeMLModels = "DescribeMLModels"
|
|||
|
||||
// DescribeMLModelsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeMLModels operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeMLModels for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeMLModels method directly
|
||||
// instead.
|
||||
// See DescribeMLModels for more information on using the DescribeMLModels
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeMLModelsRequest method.
|
||||
// req, resp := client.DescribeMLModelsRequest(params)
|
||||
|
@ -1902,19 +1884,18 @@ const opDescribeTags = "DescribeTags"
|
|||
|
||||
// DescribeTagsRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the DescribeTags operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See DescribeTags for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the DescribeTags method directly
|
||||
// instead.
|
||||
// See DescribeTags for more information on using the DescribeTags
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the DescribeTagsRequest method.
|
||||
// req, resp := client.DescribeTagsRequest(params)
|
||||
|
@ -1986,19 +1967,18 @@ const opGetBatchPrediction = "GetBatchPrediction"
|
|||
|
||||
// GetBatchPredictionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetBatchPrediction operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetBatchPrediction for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetBatchPrediction method directly
|
||||
// instead.
|
||||
// See GetBatchPrediction for more information on using the GetBatchPrediction
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetBatchPredictionRequest method.
|
||||
// req, resp := client.GetBatchPredictionRequest(params)
|
||||
|
@ -2071,19 +2051,18 @@ const opGetDataSource = "GetDataSource"
|
|||
|
||||
// GetDataSourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetDataSource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetDataSource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetDataSource method directly
|
||||
// instead.
|
||||
// See GetDataSource for more information on using the GetDataSource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetDataSourceRequest method.
|
||||
// req, resp := client.GetDataSourceRequest(params)
|
||||
|
@ -2160,19 +2139,18 @@ const opGetEvaluation = "GetEvaluation"
|
|||
|
||||
// GetEvaluationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetEvaluation operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetEvaluation for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetEvaluation method directly
|
||||
// instead.
|
||||
// See GetEvaluation for more information on using the GetEvaluation
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetEvaluationRequest method.
|
||||
// req, resp := client.GetEvaluationRequest(params)
|
||||
|
@ -2245,19 +2223,18 @@ const opGetMLModel = "GetMLModel"
|
|||
|
||||
// GetMLModelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the GetMLModel operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See GetMLModel for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the GetMLModel method directly
|
||||
// instead.
|
||||
// See GetMLModel for more information on using the GetMLModel
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the GetMLModelRequest method.
|
||||
// req, resp := client.GetMLModelRequest(params)
|
||||
|
@ -2332,19 +2309,18 @@ const opPredict = "Predict"
|
|||
|
||||
// PredictRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the Predict operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See Predict for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the Predict method directly
|
||||
// instead.
|
||||
// See Predict for more information on using the Predict
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the PredictRequest method.
|
||||
// req, resp := client.PredictRequest(params)
|
||||
|
@ -2426,19 +2402,18 @@ const opUpdateBatchPrediction = "UpdateBatchPrediction"
|
|||
|
||||
// UpdateBatchPredictionRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateBatchPrediction operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateBatchPrediction for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateBatchPrediction method directly
|
||||
// instead.
|
||||
// See UpdateBatchPrediction for more information on using the UpdateBatchPrediction
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateBatchPredictionRequest method.
|
||||
// req, resp := client.UpdateBatchPredictionRequest(params)
|
||||
|
@ -2513,19 +2488,18 @@ const opUpdateDataSource = "UpdateDataSource"
|
|||
|
||||
// UpdateDataSourceRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateDataSource operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateDataSource for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateDataSource method directly
|
||||
// instead.
|
||||
// See UpdateDataSource for more information on using the UpdateDataSource
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateDataSourceRequest method.
|
||||
// req, resp := client.UpdateDataSourceRequest(params)
|
||||
|
@ -2600,19 +2574,18 @@ const opUpdateEvaluation = "UpdateEvaluation"
|
|||
|
||||
// UpdateEvaluationRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateEvaluation operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateEvaluation for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateEvaluation method directly
|
||||
// instead.
|
||||
// See UpdateEvaluation for more information on using the UpdateEvaluation
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateEvaluationRequest method.
|
||||
// req, resp := client.UpdateEvaluationRequest(params)
|
||||
|
@ -2687,19 +2660,18 @@ const opUpdateMLModel = "UpdateMLModel"
|
|||
|
||||
// UpdateMLModelRequest generates a "aws/request.Request" representing the
|
||||
// client's request for the UpdateMLModel operation. The "output" return
|
||||
// value can be used to capture response data after the request's "Send" method
|
||||
// is called.
|
||||
// value will be populated with the request's response once the request complets
|
||||
// successfuly.
|
||||
//
|
||||
// See UpdateMLModel for usage and error information.
|
||||
// Use "Send" method on the returned Request to send the API call to the service.
|
||||
// the "output" return value is not valid until after Send returns without error.
|
||||
//
|
||||
// Creating a request object using this method should be used when you want to inject
|
||||
// custom logic into the request's lifecycle using a custom handler, or if you want to
|
||||
// access properties on the request object before or after sending the request. If
|
||||
// you just want the service response, call the UpdateMLModel method directly
|
||||
// instead.
|
||||
// See UpdateMLModel for more information on using the UpdateMLModel
|
||||
// API call, and error handling.
|
||||
//
|
||||
// This method is useful when you want to inject custom logic or configuration
|
||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||
//
|
||||
// Note: You must call the "Send" method on the returned request object in order
|
||||
// to execute the request.
|
||||
//
|
||||
// // Example sending a request using the UpdateMLModelRequest method.
|
||||
// req, resp := client.UpdateMLModelRequest(params)
|
||||
|
|
10
vendor/github.com/aws/aws-sdk-go/service/machinelearning/customizations_test.go
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/service/machinelearning/customizations_test.go
generated
vendored
|
@ -6,8 +6,6 @@ import (
|
|||
"net/http"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/awstesting/unit"
|
||||
|
@ -32,6 +30,10 @@ func TestPredictEndpoint(t *testing.T) {
|
|||
})
|
||||
err := req.Send()
|
||||
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, "https://localhost/endpoint", req.HTTPRequest.URL.String())
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
if e, a := "https://localhost/endpoint", req.HTTPRequest.URL.String(); e != a {
|
||||
t.Errorf("expect %v, got %v", e, a)
|
||||
}
|
||||
}
|
||||
|
|
64
vendor/github.com/aws/aws-sdk-go/service/machinelearning/doc.go
generated
vendored
64
vendor/github.com/aws/aws-sdk-go/service/machinelearning/doc.go
generated
vendored
|
@ -10,69 +10,17 @@
|
|||
//
|
||||
// Using the Client
|
||||
//
|
||||
// To use the client for Amazon Machine Learning you will first need
|
||||
// to create a new instance of it.
|
||||
// To Amazon Machine Learning with the SDK use the New function to create
|
||||
// a new service client. With that client you can make API requests to the service.
|
||||
// These clients are safe to use concurrently.
|
||||
//
|
||||
// When creating a client for an AWS service you'll first need to have a Session
|
||||
// already created. The Session provides configuration that can be shared
|
||||
// between multiple service clients. Additional configuration can be applied to
|
||||
// the Session and service's client when they are constructed. The aws package's
|
||||
// Config type contains several fields such as Region for the AWS Region the
|
||||
// client should make API requests too. The optional Config value can be provided
|
||||
// as the variadic argument for Sessions and client creation.
|
||||
//
|
||||
// Once the service's client is created you can use it to make API requests the
|
||||
// AWS service. These clients are safe to use concurrently.
|
||||
//
|
||||
// // Create a session to share configuration, and load external configuration.
|
||||
// sess := session.Must(session.NewSession())
|
||||
//
|
||||
// // Create the service's client with the session.
|
||||
// svc := machinelearning.New(sess)
|
||||
//
|
||||
// See the SDK's documentation for more information on how to use service clients.
|
||||
// See the SDK's documentation for more information on how to use the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/
|
||||
//
|
||||
// See aws package's Config type for more information on configuration options.
|
||||
// See aws.Config documentation for more information on configuring SDK clients.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
|
||||
//
|
||||
// See the Amazon Machine Learning client MachineLearning for more
|
||||
// information on creating the service's client.
|
||||
// information on creating client for this service.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/machinelearning/#New
|
||||
//
|
||||
// Once the client is created you can make an API request to the service.
|
||||
// Each API method takes a input parameter, and returns the service response
|
||||
// and an error.
|
||||
//
|
||||
// The API method will document which error codes the service can be returned
|
||||
// by the operation if the service models the API operation's errors. These
|
||||
// errors will also be available as const strings prefixed with "ErrCode".
|
||||
//
|
||||
// result, err := svc.AddTags(params)
|
||||
// if err != nil {
|
||||
// // Cast err to awserr.Error to handle specific error codes.
|
||||
// aerr, ok := err.(awserr.Error)
|
||||
// if ok && aerr.Code() == <error code to check for> {
|
||||
// // Specific error code handling
|
||||
// }
|
||||
// return err
|
||||
// }
|
||||
//
|
||||
// fmt.Println("AddTags result:")
|
||||
// fmt.Println(result)
|
||||
//
|
||||
// Using the Client with Context
|
||||
//
|
||||
// The service's client also provides methods to make API requests with a Context
|
||||
// value. This allows you to control the timeout, and cancellation of pending
|
||||
// requests. These methods also take request Option as variadic parameter to apply
|
||||
// additional configuration to the API request.
|
||||
//
|
||||
// ctx := context.Background()
|
||||
//
|
||||
// result, err := svc.AddTagsWithContext(ctx, params)
|
||||
//
|
||||
// See the request package documentation for more information on using Context pattern
|
||||
// with the SDK.
|
||||
// https://docs.aws.amazon.com/sdk-for-go/api/aws/request/
|
||||
package machinelearning
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
//
|
||||
// The best way to use this interface is so the SDK's service client's calls
|
||||
// can be stubbed out for unit testing your code with the SDK without needing
|
||||
// to inject custom request handlers into the the SDK's request pipeline.
|
||||
// to inject custom request handlers into the SDK's request pipeline.
|
||||
//
|
||||
// // myFunc uses an SDK service client to make a request to
|
||||
// // Amazon Machine Learning.
|
||||
|
|
8
vendor/github.com/aws/aws-sdk-go/service/machinelearning/waiters.go
generated
vendored
8
vendor/github.com/aws/aws-sdk-go/service/machinelearning/waiters.go
generated
vendored
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
// WaitUntilBatchPredictionAvailable uses the Amazon Machine Learning API operation
|
||||
// DescribeBatchPredictions to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *MachineLearning) WaitUntilBatchPredictionAvailable(input *DescribeBatchPredictionsInput) error {
|
||||
return c.WaitUntilBatchPredictionAvailableWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -62,7 +62,7 @@ func (c *MachineLearning) WaitUntilBatchPredictionAvailableWithContext(ctx aws.C
|
|||
|
||||
// WaitUntilDataSourceAvailable uses the Amazon Machine Learning API operation
|
||||
// DescribeDataSources to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *MachineLearning) WaitUntilDataSourceAvailable(input *DescribeDataSourcesInput) error {
|
||||
return c.WaitUntilDataSourceAvailableWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -113,7 +113,7 @@ func (c *MachineLearning) WaitUntilDataSourceAvailableWithContext(ctx aws.Contex
|
|||
|
||||
// WaitUntilEvaluationAvailable uses the Amazon Machine Learning API operation
|
||||
// DescribeEvaluations to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *MachineLearning) WaitUntilEvaluationAvailable(input *DescribeEvaluationsInput) error {
|
||||
return c.WaitUntilEvaluationAvailableWithContext(aws.BackgroundContext(), input)
|
||||
|
@ -164,7 +164,7 @@ func (c *MachineLearning) WaitUntilEvaluationAvailableWithContext(ctx aws.Contex
|
|||
|
||||
// WaitUntilMLModelAvailable uses the Amazon Machine Learning API operation
|
||||
// DescribeMLModels to wait for a condition to be met before returning.
|
||||
// If the condition is not meet within the max attempt window an error will
|
||||
// If the condition is not met within the max attempt window, an error will
|
||||
// be returned.
|
||||
func (c *MachineLearning) WaitUntilMLModelAvailable(input *DescribeMLModelsInput) error {
|
||||
return c.WaitUntilMLModelAvailableWithContext(aws.BackgroundContext(), input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue