list_components
async
¶
list_components(
*,
config_overrides: Optional[AsyncGreengrassV2ClientConfig] = None,
scope: Optional[ComponentVisibilityScope] = None,
max_results: Optional[DefaultMaxResults] = None,
next_token: Optional[NextTokenString] = None,
) -> ListComponentsResponse
Retrieves a paginated list of component summaries. This list includes components that you have permission to view.
Parameters:
-
scope(Optional[ComponentVisibilityScope], default:None) –The scope of the components to list.
Default:
PRIVATE -
max_results(Optional[DefaultMaxResults], default:None) –The maximum number of results to be returned per paginated request.
-
next_token(Optional[NextTokenString], default:None) –The token to be used for the next set of paginated results.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerException–IoT Greengrass can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota. For example, you might have exceeded the amount of times that you can retrieve device or deployment status per second.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_greengrassv2/_services/async_greengrass_v2.py
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 | |