Skip to content

stop_model_customization_job

Operation

stop_model_customization_job

stop_model_customization_job(request: StopModelCustomizationJobInput | StopModelCustomizationJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StopModelCustomizationJobInputDict]) -> StopModelCustomizationJobOutput

Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
request StopModelCustomizationJobInput | StopModelCustomizationJobInputDict | 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[StopModelCustomizationJobInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
StopModelCustomizationJobOutput

An instance of StopModelCustomizationJobOutput.

stop_model_customization_job async

stop_model_customization_job(request: StopModelCustomizationJobInput | StopModelCustomizationJobInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[StopModelCustomizationJobInputDict]) -> StopModelCustomizationJobOutput

Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock User Guide.

Parameters:

Name Type Description Default
request StopModelCustomizationJobInput | StopModelCustomizationJobInputDict | 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[StopModelCustomizationJobInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
StopModelCustomizationJobOutput

An instance of StopModelCustomizationJobOutput.

Input

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

StopModelCustomizationJobInputDict

Bases: TypedDict

Dictionary form of StopModelCustomizationJobInput.

Attributes

job_identifier instance-attribute
job_identifier: Required[str]

Job identifier of the job to stop.

StopModelCustomizationJobInput dataclass

Bases: _SerdeShape

Dataclass for StopModelCustomizationJobInput structure.

Attributes

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

Job identifier of the job to stop.

Output

StopModelCustomizationJobOutput dataclass

Bases: _SerdeShape

Dataclass for StopModelCustomizationJobOutput structure.

Attributes

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.