list_disks
async
¶
list_disks(
appliance_arn: ApplianceArn,
node_arn: NodeArn,
*,
config_overrides: Optional[AsyncBackupExternalClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListDisksOutput
Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
Parameters:
-
appliance_arn(ApplianceArn) –The Amazon Resource Name (ARN) of the appliance.
-
node_arn(NodeArn) –The Amazon Resource Name (ARN) of the appliance node.
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single response.
-
next_token(Optional[NextToken], default:None) –The token returned by a previous call to retrieve the next page of results.
Raises:
-
AccessDeniedException–The request was denied because you do not have permission to perform the requested operation.
-
ConflictException–The request conflicts with the current state of the specified resource.
-
InternalServerException–The request failed because of an internal server error.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was denied because the request rate is too high.
-
ValidationException–The request contains invalid parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_external/_services/async_backup_external.py
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 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 | |