list_environment_variables
¶
list_environment_variables(
app_name: AppName,
environment_name: EnvironmentName,
*,
config_overrides: Optional[AmplifyGen3ClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListEnvironmentVariablesResponse
Returns a list of the 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.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single response.
-
next_token(Optional[NextToken], default:None) –The pagination token returned in a previous response, used to retrieve the next page of results.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
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.
Source code in docs_src/capo_amplifygen3/_services/amplify_gen3.py
3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 | |