update_data_lake_namespace
¶
update_data_lake_namespace(
instance_id: UUID,
name: DataLakeNamespaceName,
*,
config_overrides: Optional[SupplyChainClientConfig] = None,
description: Optional[DataLakeNamespaceDescription] = None,
) -> UpdateDataLakeNamespaceResponse
Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace. Developers can update the description of a data lake namespace for a given instance ID and namespace name.
Parameters:
-
instance_id(UUID) –The Amazon Web Services Chain instance identifier.
-
name(DataLakeNamespaceName) –The name of the namespace. Noted you cannot update namespace with name starting with asc, default, scn, aws, amazon, amzn
-
description(Optional[DataLakeNamespaceDescription], default:None) –The updated description of the data lake namespace.
Raises:
-
AccessDeniedException–You do not have the required privileges to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–Unexpected error during processing of request.
-
ResourceNotFoundException–Request references a resource which does not exist.
-
ServiceQuotaExceededException–Request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The input does not satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Update description of an existing AWS Supply Chain namespace
>>> client.update_data_lake_namespace(instance_id='1877dd20-dee9-4639-8e99-cb67acf21fe5', name='my_namespace', description='This is an updated AWS Supply Chain namespace')
Source code in docs_src/capo_supplychain/_services/supply_chain.py
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 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 | |