describe_import_tasks
async
¶
describe_import_tasks(
*,
config_overrides: Optional[AsyncApplicationDiscoveryServiceClientConfig] = None,
filters: Optional[DescribeImportTasksFilterList] = None,
max_results: Optional[DescribeImportTasksMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeImportTasksResponse
Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
Parameters:
-
filters(Optional[DescribeImportTasksFilterList], default:None) –An array of name-value pairs that you provide to filter the results for the
DescribeImportTaskrequest to a specific subset of results. Currently, wildcard values aren't supported for filters. -
max_results(Optional[DescribeImportTasksMaxResults], default:None) –The maximum number of results that you want this request to return, up to 100.
-
next_token(Optional[NextToken], default:None) –The token to request a specific page of results.
Raises:
-
AuthorizationErrorException–The user does not have permission to perform the action. Check the IAM policy associated with this user.
-
HomeRegionNotSetException–The home Region is not set. Set the home Region to continue.
-
InvalidParameterException–One or more parameters are not valid. Verify the parameters and try again.
-
InvalidParameterValueException–The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.
-
ServerInternalErrorException–The server experienced an internal error. Try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_application_discovery_service/_services/async_application_discovery_service.py
1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 | |