Skip to content

Update Snapshot

redshiftserverless_update_snapshot R Documentation

Updates a snapshot

Description

Updates a snapshot.

Usage

redshiftserverless_update_snapshot(retentionPeriod, snapshotName)

Arguments

retentionPeriod

The new retention period of the snapshot.

snapshotName

[required] The name of the snapshot.

Value

A list with the following syntax:

list(
  snapshot = list(
    accountsWithProvisionedRestoreAccess = list(
      "string"
    ),
    accountsWithRestoreAccess = list(
      "string"
    ),
    actualIncrementalBackupSizeInMegaBytes = 123.0,
    adminPasswordSecretArn = "string",
    adminPasswordSecretKmsKeyId = "string",
    adminUsername = "string",
    backupProgressInMegaBytes = 123.0,
    currentBackupRateInMegaBytesPerSecond = 123.0,
    elapsedTimeInSeconds = 123,
    estimatedSecondsToCompletion = 123,
    kmsKeyId = "string",
    namespaceArn = "string",
    namespaceName = "string",
    ownerAccount = "string",
    snapshotArn = "string",
    snapshotCreateTime = as.POSIXct(
      "2015-01-01"
    ),
    snapshotName = "string",
    snapshotRemainingDays = 123,
    snapshotRetentionPeriod = 123,
    snapshotRetentionStartTime = as.POSIXct(
      "2015-01-01"
    ),
    status = "AVAILABLE"|"CREATING"|"DELETED"|"CANCELLED"|"FAILED"|"COPYING",
    totalBackupSizeInMegaBytes = 123.0
  )
)

Request syntax

svc$update_snapshot(
  retentionPeriod = 123,
  snapshotName = "string"
)