delete_namespace
async
¶
delete_namespace(
namespace_name: NamespaceName,
*,
config_overrides: Optional[AsyncRedshiftServerlessClientConfig] = None,
final_snapshot_name: Optional[str] = None,
final_snapshot_retention_period: Optional[int] = None,
) -> DeleteNamespaceResponse
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.
Parameters:
-
namespace_name(NamespaceName) –The name of the namespace to delete.
-
final_snapshot_name(Optional[str], default:None) –The name of the snapshot to be created before the namespace is deleted.
-
final_snapshot_retention_period(Optional[int], default:None) –How long to retain the final snapshot.
Raises:
-
ConflictException–The submitted action has conflicts.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ValidationException–The input failed to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_redshift_serverless/_services/async_redshift_serverless.py
1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 | |