Skip to content

BedrockClient.create_marketplace_model_endpoint

rboto-bedrock==0.4.0 · Service index · Types

Model summary (excerpt): Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.

Install and imports

python -m pip install "rboto[bedrock]==0.4.0"
from rboto import BedrockClient
from collections.abc import Sequence
from rboto_bedrock.types import (
    CreateMarketplaceModelEndpointOutput,
    EndpointConfig,
    Tag,
)

Signature

async def create_marketplace_model_endpoint(
    *,
    model_source_identifier: str,
    endpoint_config: EndpointConfig,
    endpoint_name: str,
    accept_eula: bool | None = None,
    client_request_token: str | None = None,
    tags: Sequence[Tag] | None = None,
) -> CreateMarketplaceModelEndpointOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
model_source_identifier Yes The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.
endpoint_config Yes The configuration for the endpoint, including the number and type of instances to use.
endpoint_name Yes The name of the endpoint. This name must be unique within your Amazon Web Services account and region.
accept_eula No Indicates whether you accept the end-user license agreement (EULA) for the model. Set to true to accept the EULA.
client_request_token No 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 No 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.

Output

CreateMarketplaceModelEndpointOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
marketplace_model_endpoint MarketplaceModelEndpointOutput | None Always present MarketplaceModelEndpointOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

CreateMarketplaceModelEndpointOutput, EndpointConfig, Tag

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model