describe_endpoints
async
¶
describe_endpoints(
*,
config_overrides: Optional[AsyncMediaConvertClientConfig] = None,
max_results: Optional[__integer] = None,
mode: Optional[DescribeEndpointsMode] = None,
next_token: Optional[__string] = None,
) -> DescribeEndpointsResponse
Send a request with an empty body to the regional API endpoint to get your account API endpoint. Note that DescribeEndpoints is no longer required. We recommend that you send your requests directly to the regional endpoint instead.
Parameters:
-
max_results(Optional[__integer], default:None) –Optional. Max number of endpoints, up to twenty, that will be returned at one time.
-
mode(Optional[DescribeEndpointsMode], default:None) –Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to return your endpoints if any exist, or an empty list if none exist.
-
next_token(Optional[__string], default:None) –Use this string, provided with the response to a previous request, to request the next batch of endpoints.
Raises:
-
BadRequestException–The service can't process your request because of a problem in the request. Please check your request form and syntax.
-
ConflictException–The service couldn't complete your request because there is a conflict with the current state of the resource.
-
ForbiddenException–You don't have permissions for this action with the credentials you sent.
-
InternalServerErrorException–The service encountered an unexpected condition and can't fulfill your request.
-
NotFoundException–The resource you requested doesn't exist.
-
ServiceQuotaExceededException–You attempted to create more resources than the service allows based on service quotas.
-
TooManyRequestsException–Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconvert/_services/async_media_convert.py
1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 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 | |