BackupExternal / Client / list_disks
list_disks¶
- BackupExternal.Client.list_disks(**kwargs)¶
Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
response = client.list_disks( ApplianceArn='string', NodeArn='string', MaxResults=123, NextToken='string' )
- Parameters:
ApplianceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance.
NodeArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the appliance node.
MaxResults (integer) – The maximum number of results to return in a single response.
NextToken (string) – The token returned by a previous call to retrieve the next page of results.
- Return type:
dict
- Returns:
Response Syntax
{ 'Disks': [ { 'DiskIdentifier': 'string', 'DevicePath': 'string', 'SizeInBytes': 123, 'Status': 'AVAILABLE'|'ASSOCIATED', 'AssociatedAt': datetime(2015, 1, 1), 'DiskType': 'DATA'|'METADATA' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Disks (list) –
The list of disks attached to the appliance node.
(dict) –
Contains information about a disk attached to an appliance node.
DiskIdentifier (string) –
The identifier of the disk attached to the appliance node.
DevicePath (string) –
The device path of the disk on the appliance node.
SizeInBytes (integer) –
The size of the disk, in bytes.
Status (string) –
The association status of the disk.
AssociatedAt (datetime) –
The date and time that the disk was associated with the appliance node.
DiskType (string) –
The type of storage provided by the disk.
NextToken (string) –
The token to use to retrieve the next page of results. If there are no additional results, this value is not returned.
Exceptions
BackupExternal.Client.exceptions.ThrottlingExceptionBackupExternal.Client.exceptions.AccessDeniedExceptionBackupExternal.Client.exceptions.ResourceNotFoundExceptionBackupExternal.Client.exceptions.ConflictExceptionBackupExternal.Client.exceptions.ValidationExceptionBackupExternal.Client.exceptions.InternalServerException