create_marketplace_model_endpoint
async
¶
create_marketplace_model_endpoint(
model_source_identifier: ModelSourceIdentifier,
endpoint_config: EndpointConfig,
endpoint_name: EndpointName,
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
accept_eula: Optional[AcceptEula] = None,
client_request_token: Optional[IdempotencyToken] = None,
tags: Optional[TagList] = None,
) -> CreateMarketplaceModelEndpointResponse
Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.
Parameters:
-
model_source_identifier(ModelSourceIdentifier) –The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.
-
endpoint_config(EndpointConfig) –The configuration for the endpoint, including the number and type of instances to use.
-
accept_eula(Optional[AcceptEula], default:None) –Indicates whether you accept the end-user license agreement (EULA) for the model. Set to
trueto accept the EULA. -
endpoint_name(EndpointName) –The name of the endpoint. This name must be unique within your Amazon Web Services account and region.
-
client_request_token(Optional[IdempotencyToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.
-
tags(Optional[TagList], default:None) –An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–Error occurred because of a conflict while performing an operation.
-
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.
-
ServiceQuotaExceededException–The number of requests exceeds the service quota. Resubmit your request later.
-
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
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 | |