list_marketplace_model_endpoints
async
¶
list_marketplace_model_endpoints(
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
model_source_equals: Optional[ModelSourceIdentifier] = None,
) -> ListMarketplaceModelEndpointsResponse
Lists the endpoints for models from Amazon Bedrock Marketplace in your Amazon Web Services account.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call. If more results are available, the operation returns a
NextTokenvalue. -
next_token(Optional[PaginationToken], default:None) –The token for the next set of results. You receive this token from a previous
ListMarketplaceModelEndpointscall. -
model_source_equals(Optional[ModelSourceIdentifier], default:None) –If specified, only endpoints for the given model source identifier are returned.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock/_services/async_bedrock.py
3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 | |