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 |
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 |
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
¶
endpoint_config: Required[EndpointConfig | EndpointConfigDict]
The configuration for the endpoint, including the number and type of instances to use.
endpoint_name
instance-attribute
¶
The name of the endpoint. This name must be unique within your Amazon Web Services account and region.
model_source_identifier
instance-attribute
¶
The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.
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.
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
¶
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.