get_data_lake_namespace
async
¶
get_data_lake_namespace(
instance_id: UUID,
name: DataLakeNamespaceName,
*,
config_overrides: Optional[AsyncSupplyChainClientConfig] = None,
) -> GetDataLakeNamespaceResponse
Enables you to programmatically view an Amazon Web Services Supply Chain data lake namespace. Developers can view the data lake namespace information such as description for a given instance ID and namespace name.
Parameters:
-
instance_id(UUID) –The Amazon Web Services Supply Chain instance identifier.
-
name(DataLakeNamespaceName) –The name of the namespace. Besides the namespaces user created, you can also specify the pre-defined namespaces:
-
asc - Pre-defined namespace containing Amazon Web Services Supply Chain supported datasets, see https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
-
default - Pre-defined namespace containing datasets with custom user-defined schemas.
-
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:
Get properties of an existing AWS Supply Chain namespace
>>> await client.get_data_lake_namespace(instance_id='1877dd20-dee9-4639-8e99-cb67acf21fe5', name='my_namespace')
Get proporties of an existing pre-defined AWS Supply Chain namespace
>>> await client.get_data_lake_namespace(instance_id='1877dd20-dee9-4639-8e99-cb67acf21fe5', name='asc')
Source code in docs_src/capo_supplychain/_services/async_supply_chain.py
1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 | |