BackupExternal / Client / list_resource_targets
list_resource_targets¶
- BackupExternal.Client.list_resource_targets(**kwargs)¶
Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.
See also: AWS API Documentation
Request Syntax
response = client.list_resource_targets( MaxResults=123, NextToken='string', ResourceProviderArn='string', ResourceTargetType='MSSQL_DATABASE'|'NAS_FILESYSTEM'|'ORACLEDB_DATABASE'|'SERVER_FILESYSTEM'|'VMWARE_VM' )
- Parameters:
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.
ResourceProviderArn (string) – The Amazon Resource Name (ARN) of the resource provider by which to filter the results.
ResourceTargetType (string) – The resource target type by which to filter the results.
- Return type:
dict
- Returns:
Response Syntax
{ 'Items': [ { 'Arn': 'string', 'CreatedAt': datetime(2015, 1, 1), 'ExternalIdentifier': 'string', 'ExternalName': 'string', 'LastSyncedAt': datetime(2015, 1, 1), 'Name': 'string', 'ProviderArn': 'string', 'ProviderType': 'MSSQL_SERVER'|'NAS_SHARE'|'ORACLEDB_SERVER'|'ORACLEDB_CLUSTER'|'SERVER_HOST'|'VMWARE_ESXI'|'VMWARE_VCENTER', 'Status': 'AVAILABLE'|'UNAVAILABLE'|'NOT_FOUND'|'DELETING'|'MIGRATING', 'StatusMessage': 'string', 'TargetType': 'MSSQL_DATABASE'|'NAS_FILESYSTEM'|'ORACLEDB_DATABASE'|'SERVER_FILESYSTEM'|'VMWARE_VM', 'UpdatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
Items (list) –
The list of resource target summaries.
(dict) –
Contains summary information about a resource target.
Arn (string) –
The Amazon Resource Name (ARN) of the resource target.
CreatedAt (datetime) –
The date and time that the resource target was created.
ExternalIdentifier (string) –
The identifier of the resource target in the external system.
ExternalName (string) –
The name of the resource target in the external system.
LastSyncedAt (datetime) –
The date and time that the resource target was last synchronized with its resource provider.
Name (string) –
The name of the resource target.
ProviderArn (string) –
The Amazon Resource Name (ARN) of the resource target’s provider.
ProviderType (string) –
The type of resource provider.
Status (string) –
The status of the resource target.
StatusMessage (string) –
The message describing the status of the resource target.
TargetType (string) –
The type of resource target.
UpdatedAt (datetime) –
The date and time that the resource target was last updated.
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