Skip to content

Deletes a namespace from Amazon Redshift Serverless

Description

Deletes a namespace from Amazon Redshift Serverless. Before you delete the namespace, you can create a final snapshot that has all of the data within the namespace.

Usage

redshiftserverless_delete_namespace(finalSnapshotName,
  finalSnapshotRetentionPeriod, namespaceName)

Arguments

  • finalSnapshotName

    The name of the snapshot to be created before the namespace is deleted.

  • finalSnapshotRetentionPeriod

    How long to retain the final snapshot.

  • namespaceName

    [required] The name of the namespace to delete.

Value

A list with the following syntax:

list(
  namespace = list(
    adminPasswordSecretArn = "string",
    adminPasswordSecretKmsKeyId = "string",
    adminUsername = "string",
    catalogArn = "string",
    creationDate = as.POSIXct(
      "2015-01-01"
    ),
    dbName = "string",
    defaultIamRoleArn = "string",
    iamRoles = list(
      "string"
    ),
    kmsKeyId = "string",
    lakehouseRegistrationStatus = "string",
    logExports = list(
      "useractivitylog"|"userlog"|"connectionlog"
    ),
    namespaceArn = "string",
    namespaceId = "string",
    namespaceName = "string",
    s3TablePublishStatus = list(
      enabledAll = TRUE|FALSE,
      lastIngestionTimes = list(
        "string"
      ),
      s3TableGranularity = "namespace"|"account",
      s3TableNamespace = "string",
      s3Tables = list(
        "string"
      )
    ),
    status = "AVAILABLE"|"MODIFYING"|"DELETING"
  )
)

Request syntax

svc$delete_namespace(
  finalSnapshotName = "string",
  finalSnapshotRetentionPeriod = 123,
  namespaceName = "string"
)