get_data_lake_namespace
¶
get_data_lake_namespace(
instance_id: UUID,
name: DataLakeNamespaceName,
*,
config_overrides: Optional[SupplyChainClientConfig] = 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
>>> 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
Source code in docs_src/capo_supplychain/_services/supply_chain.py
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 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 | |