create_environment_action
async
¶
create_environment_action(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
name: str,
parameters: ActionParameters,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
description: Optional[str] = None,
) -> CreateEnvironmentActionOutput
Creates an action for the environment, for example, creates a console link for an analytics tool that is available in this environment.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the environment action is created.
-
environment_identifier(EnvironmentId) –The ID of the environment in which the environment action is created.
-
name(str) –The name of the environment action.
-
parameters(ActionParameters) –The parameters of the environment action.
-
description(Optional[str], default:None) –The description of the environment action that is being created in 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/async_data_zone.py
1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 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 | |