list_components
¶
list_components(
*,
config_overrides: Optional[GreengrassV2ClientConfig] = 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/greengrass_v2.py
1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 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 | |