list_types
¶
list_types(
api_id: String,
format: TypeDefinitionFormat,
*,
config_overrides: Optional[AppSyncClientConfig] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListTypesResponse
Lists the types for a given API.
Parameters:
-
api_id(String) –The API ID.
-
format(TypeDefinitionFormat) –The type format: SDL or JSON.
-
next_token(Optional[PaginationToken], default:None) –An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results that you want the request to return.
Raises:
-
BadRequestException–The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
-
ConcurrentModificationException–Another modification is in progress at this time and it must complete before you can make your change.
-
InternalFailureException–An internal AppSync error occurred. Try your request again.
-
NotFoundException–The resource specified in the request was not found. Check the resource, and then try again.
-
UnauthorizedException–You aren't authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appsync/_services/app_sync.py
3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 | |