Skip to content

update_marketplace_model_endpoint

Operation

update_marketplace_model_endpoint

update_marketplace_model_endpoint(request: UpdateMarketplaceModelEndpointInput | UpdateMarketplaceModelEndpointInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateMarketplaceModelEndpointInputDict]) -> UpdateMarketplaceModelEndpointOutput

Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.

Parameters:

Name Type Description Default
request UpdateMarketplaceModelEndpointInput | UpdateMarketplaceModelEndpointInputDict | 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[UpdateMarketplaceModelEndpointInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateMarketplaceModelEndpointOutput

An instance of UpdateMarketplaceModelEndpointOutput.

update_marketplace_model_endpoint async

update_marketplace_model_endpoint(request: UpdateMarketplaceModelEndpointInput | UpdateMarketplaceModelEndpointInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateMarketplaceModelEndpointInputDict]) -> UpdateMarketplaceModelEndpointOutput

Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.

Parameters:

Name Type Description Default
request UpdateMarketplaceModelEndpointInput | UpdateMarketplaceModelEndpointInputDict | 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[UpdateMarketplaceModelEndpointInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateMarketplaceModelEndpointOutput

An instance of UpdateMarketplaceModelEndpointOutput.

Input

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

UpdateMarketplaceModelEndpointInputDict

Bases: TypedDict

Dictionary form of UpdateMarketplaceModelEndpointInput.

Attributes

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_arn instance-attribute
endpoint_arn: Required[str]

The Amazon Resource Name (ARN) of the endpoint you want to update.

endpoint_config instance-attribute

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

UpdateMarketplaceModelEndpointInput dataclass

Bases: _SerdeShape

Dataclass for UpdateMarketplaceModelEndpointInput structure.

Attributes

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_arn class-attribute instance-attribute
endpoint_arn: str | None = ...

The Amazon Resource Name (ARN) of the endpoint you want to update.

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

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

Output

UpdateMarketplaceModelEndpointOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateMarketplaceModelEndpointOutput structure.

Attributes

marketplace_model_endpoint instance-attribute
marketplace_model_endpoint: MarketplaceModelEndpoint

Details about the updated 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.