BackupExternal / Paginator / ListResourceTargets

ListResourceTargets

class BackupExternal.Paginator.ListResourceTargets
paginator = client.get_paginator('list_resource_targets')
paginate(**kwargs)

Creates an iterator that will paginate through responses from BackupExternal.Client.list_resource_targets().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ResourceProviderArn='string',
    ResourceTargetType='MSSQL_DATABASE'|'NAS_FILESYSTEM'|'ORACLEDB_DATABASE'|'SERVER_FILESYSTEM'|'VMWARE_VM',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • 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.

  • 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 NextToken will 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 NextToken from a previous response.

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)
        },
    ],

}

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.