BackupExternal / Paginator / ListDisks
ListDisks¶
- class BackupExternal.Paginator.ListDisks¶
paginator = client.get_paginator('list_disks')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
BackupExternal.Client.list_disks().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( ApplianceArn='string', NodeArn='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': '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.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'Disks': [ { 'DiskIdentifier': 'string', 'DevicePath': 'string', 'SizeInBytes': 123, 'Status': 'AVAILABLE'|'ASSOCIATED', 'AssociatedAt': datetime(2015, 1, 1), 'DiskType': 'DATA'|'METADATA' }, ], }
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.