create_environment
¶
create_environment(
project_identifier: ProjectId,
domain_identifier: DomainId,
name: str,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
description: Optional[str] = None,
environment_profile_identifier: Optional[EnvironmentProfileId] = None,
user_parameters: Optional[EnvironmentParametersList] = None,
glossary_terms: Optional[GlossaryTerms] = None,
environment_account_identifier: Optional[str] = None,
environment_account_region: Optional[str] = None,
environment_blueprint_identifier: Optional[str] = None,
deployment_order: Optional[int] = None,
environment_configuration_id: Optional[str] = None,
environment_configuration_name: Optional[EnvironmentConfigurationName] = None,
) -> CreateEnvironmentOutput
Create an Amazon DataZone environment.
Parameters:
-
project_identifier(ProjectId) –The identifier of the Amazon DataZone project in which this environment is created.
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which the environment is created.
-
description(Optional[str], default:None) –The description of the Amazon DataZone environment.
-
name(str) –The name of the Amazon DataZone environment.
-
environment_profile_identifier(Optional[EnvironmentProfileId], default:None) –The identifier of the environment profile that is used to create this Amazon DataZone environment.
-
user_parameters(Optional[EnvironmentParametersList], default:None) –The user parameters of this Amazon DataZone environment.
-
glossary_terms(Optional[GlossaryTerms], default:None) –The glossary terms that can be used in this Amazon DataZone environment.
-
environment_account_identifier(Optional[str], default:None) –The ID of the account in which the environment is being created.
-
environment_account_region(Optional[str], default:None) –The region of the account in which the environment is being created.
-
environment_blueprint_identifier(Optional[str], default:None) –The ID of the blueprint with which the environment is being created.
This parameter is only valid for V1 domains. If provided for a V2 domain, the service returns a ValidationException.
-
deployment_order(Optional[int], default:None) –The deployment order of the environment.
-
environment_configuration_id(Optional[str], default:None) –The configuration ID of the environment.
-
environment_configuration_name(Optional[EnvironmentConfigurationName], default:None) –The configuration name of the environment.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 | |