get_backend_api
async
¶
get_backend_api(
app_id: __string,
backend_environment_name: __string,
*,
config_overrides: Optional[AsyncAmplifyBackendClientConfig] = None,
resource_config: Optional[BackendAPIResourceConfig] = None,
resource_name: Optional[__string] = None,
) -> GetBackendAPIResponse
Gets the details for a backend API.
Parameters:
-
app_id(__string) –The app ID.
-
backend_environment_name(__string) –The name of the backend environment.
-
resource_config(Optional[BackendAPIResourceConfig], default:None) –Defines the resource configuration for the data model in your Amplify project.
-
resource_name(Optional[__string], default:None) –The name of this resource.
Raises:
-
BadRequestException–An error returned if a request is not formed properly.
-
GatewayTimeoutException–An error returned if there's a temporary issue with the service.
-
NotFoundException–An error returned when a specific resource type is not found.
-
TooManyRequestsException–An error that is returned when a limit of a specific type has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifybackend/_services/async_amplify_backend.py
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 | |