delete_environment_variables
async
¶
delete_environment_variables(
app_name: AppName,
environment_name: EnvironmentName,
keys: EnvironmentVariableKeyList,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
) -> DeleteEnvironmentVariablesResponse
Deletes environment variables for an environment of a Gen 3 app.
Parameters:
-
app_name(AppName) –The name of the app.
-
environment_name(EnvironmentName) –The name of the environment.
-
keys(EnvironmentVariableKeyList) –The keys of the environment variables to delete.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.