Skip to content

create_marketplace_model_endpoint

Operation

create_marketplace_model_endpoint

create_marketplace_model_endpoint(request: CreateMarketplaceModelEndpointInput | CreateMarketplaceModelEndpointInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateMarketplaceModelEndpointInputDict]) -> CreateMarketplaceModelEndpointOutput

Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.

Parameters:

Name Type Description Default
request CreateMarketplaceModelEndpointInput | CreateMarketplaceModelEndpointInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[CreateMarketplaceModelEndpointInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateMarketplaceModelEndpointOutput

An instance of CreateMarketplaceModelEndpointOutput.

create_marketplace_model_endpoint async

create_marketplace_model_endpoint(request: CreateMarketplaceModelEndpointInput | CreateMarketplaceModelEndpointInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateMarketplaceModelEndpointInputDict]) -> CreateMarketplaceModelEndpointOutput

Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.

Parameters:

Name Type Description Default
request CreateMarketplaceModelEndpointInput | CreateMarketplaceModelEndpointInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[CreateMarketplaceModelEndpointInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateMarketplaceModelEndpointOutput

An instance of CreateMarketplaceModelEndpointOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

CreateMarketplaceModelEndpointInputDict

Bases: TypedDict

Dictionary form of CreateMarketplaceModelEndpointInput.

Attributes

accept_eula instance-attribute
accept_eula: bool | None

Indicates whether you accept the end-user license agreement (EULA) for the model. Set to true to accept the EULA.

client_request_token instance-attribute
client_request_token: str | 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.

This field is autopopulated if not provided.

endpoint_config instance-attribute

The configuration for the endpoint, including the number and type of instances to use.

endpoint_name instance-attribute
endpoint_name: Required[str]

The name of the endpoint. This name must be unique within your Amazon Web Services account and region.

model_source_identifier instance-attribute
model_source_identifier: Required[str]

The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.

tags instance-attribute
tags: Sequence[Tag | TagDict] | 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.

CreateMarketplaceModelEndpointInput dataclass

Bases: _SerdeShape

Dataclass for CreateMarketplaceModelEndpointInput structure.

Attributes

accept_eula class-attribute instance-attribute
accept_eula: bool = ...

Indicates whether you accept the end-user license agreement (EULA) for the model. Set to true to accept the EULA.

client_request_token class-attribute instance-attribute
client_request_token: str | 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.

This field is autopopulated if not provided.

endpoint_config class-attribute instance-attribute
endpoint_config: EndpointConfig | None = ...

The configuration for the endpoint, including the number and type of instances to use.

endpoint_name class-attribute instance-attribute
endpoint_name: str | None = ...

The name of the endpoint. This name must be unique within your Amazon Web Services account and region.

model_source_identifier class-attribute instance-attribute
model_source_identifier: str | None = ...

The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.

tags class-attribute instance-attribute
tags: list[Tag] | 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.

Output

CreateMarketplaceModelEndpointOutput dataclass

Bases: _SerdeShape

Dataclass for CreateMarketplaceModelEndpointOutput structure.

Attributes

marketplace_model_endpoint instance-attribute
marketplace_model_endpoint: MarketplaceModelEndpoint

Details about the created endpoint.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.