create_marketplace_model_endpoint¶
Operation¶
create_marketplace_model_endpoint
async
¶
create_marketplace_model_endpoint(input: CreateMarketplaceModelEndpointInput, plugins: list[Plugin] | None = None) -> CreateMarketplaceModelEndpointOutput
Creates an endpoint for a model from Amazon Bedrock Marketplace. The endpoint is hosted by Amazon SageMaker.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateMarketplaceModelEndpointInput
|
An instance of |
required |
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
|
Returns:
| Type | Description |
|---|---|
CreateMarketplaceModelEndpointOutput
|
An instance of |
Input¶
CreateMarketplaceModelEndpointInput
dataclass
¶
Dataclass for CreateMarketplaceModelEndpointInput structure.
Attributes¶
accept_eula
class-attribute
instance-attribute
¶
accept_eula: bool = False
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 = 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.
endpoint_config
class-attribute
instance-attribute
¶
endpoint_config: EndpointConfig | None = 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 = 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 = None
The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.
Output¶
CreateMarketplaceModelEndpointOutput
dataclass
¶
Dataclass for CreateMarketplaceModelEndpointOutput structure.
Attributes¶
marketplace_model_endpoint
instance-attribute
¶
marketplace_model_endpoint: MarketplaceModelEndpoint
Details about the created endpoint.