import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for listing AWS DynamoDB backups. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.dynamodb.getBackups({ * tableName: "my-table", * }); * ``` */ export declare function getBackups(args?: GetBackupsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackups. */ export interface GetBackupsArgs { /** * Backup type. Valid values: `USER`, `SYSTEM`, `AWS_BACKUP`, `ALL`. */ backupType?: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; /** * Name of the table to list backups for. */ tableName?: string; /** * Only backups created after this time are listed. Time must be in RFC3339 format. */ timeRangeLowerBound?: string; /** * Only backups created before this time are listed. Time must be in RFC3339 format. */ timeRangeUpperBound?: string; } /** * A collection of values returned by getBackups. */ export interface GetBackupsResult { /** * List of backups. See below. */ readonly backupSummaries: outputs.dynamodb.GetBackupsBackupSummary[]; /** * BackupType: `USER`, `SYSTEM`, `AWS_BACKUP`. */ readonly backupType?: string; readonly region: string; /** * Name of the table. */ readonly tableName?: string; readonly timeRangeLowerBound?: string; readonly timeRangeUpperBound?: string; } /** * Data source for listing AWS DynamoDB backups. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.dynamodb.getBackups({ * tableName: "my-table", * }); * ``` */ export declare function getBackupsOutput(args?: GetBackupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackups. */ export interface GetBackupsOutputArgs { /** * Backup type. Valid values: `USER`, `SYSTEM`, `AWS_BACKUP`, `ALL`. */ backupType?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Name of the table to list backups for. */ tableName?: pulumi.Input; /** * Only backups created after this time are listed. Time must be in RFC3339 format. */ timeRangeLowerBound?: pulumi.Input; /** * Only backups created before this time are listed. Time must be in RFC3339 format. */ timeRangeUpperBound?: pulumi.Input; } //# sourceMappingURL=getBackups.d.ts.map