list_types
async
¶
list_types(
api_id: String,
format: TypeDefinitionFormat,
*,
config_overrides: Optional[AsyncAppSyncClientConfig] = 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/async_app_sync.py
3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 | |