Skip to content

BedrockClient.get_custom_model

rboto-bedrock==0.4.0 · Service index · Types

Model summary (excerpt): Get the properties associated with a Amazon Bedrock custom model that you have created. For more information, see Custom models in the Amazon Bedrock User Guide .

Install and imports

python -m pip install "rboto[bedrock]==0.4.0"
from rboto import BedrockClient
from rboto_bedrock.types import (
    GetCustomModelOutput,
)

Signature

async def get_custom_model(
    *,
    model_identifier: str,
) -> GetCustomModelOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
model_identifier Yes Name or Amazon Resource Name (ARN) of the custom model.

Output

GetCustomModelOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
model_arn str Always present —
model_name str Always present —
job_name str | None Always present —
job_arn str | None Always present —
base_model_arn str | None Always present —
customization_type CustomizationTypeOutput | None Always present CustomizationTypeOutput
model_kms_key_arn str | None Always present —
hyper_parameters dict[str, str] | None Always present —
training_data_config TrainingDataConfigOutput | None Always present TrainingDataConfigOutput
validation_data_config ValidationDataConfigOutput | None Always present ValidationDataConfigOutput
output_data_config OutputDataConfigOutput | None Always present OutputDataConfigOutput
training_metrics TrainingMetricsOutput | None Always present TrainingMetricsOutput
validation_metrics list[ValidatorMetricOutput] | None Always present ValidatorMetricOutput
creation_time str Always present —
customization_config CustomizationConfigOutput | None Always present CustomizationConfigOutput
model_status ModelStatusOutput | None Always present ModelStatusOutput
failure_message str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetCustomModelOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model