describe_batch_predictions
async
¶
describe_batch_predictions(
*,
config_overrides: Optional[AsyncMachineLearningClientConfig] = None,
filter_variable: Optional[BatchPredictionFilterVariable] = None,
eq: Optional[ComparatorValue] = None,
gt: Optional[ComparatorValue] = None,
lt: Optional[ComparatorValue] = None,
ge: Optional[ComparatorValue] = None,
le: Optional[ComparatorValue] = None,
ne: Optional[ComparatorValue] = None,
prefix: Optional[ComparatorValue] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[StringType] = None,
limit: Optional[PageLimit] = None,
) -> DescribeBatchPredictionsOutput
Returns a list of BatchPrediction operations that match the search criteria in the request.
Parameters:
-
filter_variable(Optional[BatchPredictionFilterVariable], default:None) –Use one of the following variables to filter a list of
BatchPrediction:-
CreatedAt- Sets the search criteria to theBatchPredictioncreation date. -
Status- Sets the search criteria to theBatchPredictionstatus. -
Name- Sets the search criteria to the contents of theBatchPredictionName. -
IAMUser- Sets the search criteria to the user account that invoked theBatchPredictioncreation. -
MLModelId- Sets the search criteria to theMLModelused in theBatchPrediction. -
DataSourceId- Sets the search criteria to theDataSourceused in theBatchPrediction. -
DataURI- Sets the search criteria to the data file(s) used in theBatchPrediction. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.
-
-
eq(Optional[ComparatorValue], default:None) –The equal to operator. The
BatchPredictionresults will haveFilterVariablevalues that exactly match the value specified withEQ. -
gt(Optional[ComparatorValue], default:None) –The greater than operator. The
BatchPredictionresults will haveFilterVariablevalues that are greater than the value specified withGT. -
lt(Optional[ComparatorValue], default:None) –The less than operator. The
BatchPredictionresults will haveFilterVariablevalues that are less than the value specified withLT. -
ge(Optional[ComparatorValue], default:None) –The greater than or equal to operator. The
BatchPredictionresults will haveFilterVariablevalues that are greater than or equal to the value specified withGE. -
le(Optional[ComparatorValue], default:None) –The less than or equal to operator. The
BatchPredictionresults will haveFilterVariablevalues that are less than or equal to the value specified withLE. -
ne(Optional[ComparatorValue], default:None) –The not equal to operator. The
BatchPredictionresults will haveFilterVariablevalues not equal to the value specified withNE. -
prefix(Optional[ComparatorValue], default:None) –A string that is found at the beginning of a variable, such as
NameorId.For example, a
Batch Predictionoperation could have theName2014-09-09-HolidayGiftMailer. To search for thisBatchPrediction, selectNamefor theFilterVariableand any of the following strings for thePrefix:-
2014-09
-
2014-09-09
-
2014-09-09-Holiday
-
-
sort_order(Optional[SortOrder], default:None) –A two-value parameter that determines the sequence of the resulting list of
MLModels.-
asc- Arranges the list in ascending order (A-Z, 0-9). -
dsc- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by
FilterVariable. -
-
next_token(Optional[StringType], default:None) –An ID of the page in the paginated results.
-
limit(Optional[PageLimit], default:None) –The number of pages of information to include in the result. The range of acceptable values is
1through100. The default value is100.
Raises:
-
InternalServerException–An error on the server occurred when trying to process a request.
-
InvalidInputException–An error on the client occurred. Typically, the cause is an invalid input value.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_machine_learning/_services/async_machine_learning.py
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 | |