Skip to content

Delete Namespace

redshiftserverless_delete_namespace R Documentation

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",
    creationDate = as.POSIXct(
      "2015-01-01"
    ),
    dbName = "string",
    defaultIamRoleArn = "string",
    iamRoles = list(
      "string"
    ),
    kmsKeyId = "string",
    logExports = list(
      "useractivitylog"|"userlog"|"connectionlog"
    ),
    namespaceArn = "string",
    namespaceId = "string",
    namespaceName = "string",
    status = "AVAILABLE"|"MODIFYING"|"DELETING"
  )
)

Request syntax

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