> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# bedrock.Utils

> Utility functions and helpers for Bedrock integration.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/logger/bedrock/utils.py)

## [BedrockUtils](/sdk/python/references/logger/bedrock/utils)

```python theme={null}
class BedrockUtils()
```

#### parse\_message\_param

```python theme={null}
@staticmethod
def parse_message_param(
        messages: Iterable[BedrockMessageParam]
) -> List[GenerationRequestMessage]
```

Parses Bedrock Converse API message format into [GenerationRequestMessage](/sdk/python/references/logger/components/generation) format.

#### get\_model\_parameters

```python theme={null}
@staticmethod
def get_model_parameters(**kwargs: Any) -> Dict[str, Any]
```

Extracts model parameters for logging.

#### parse\_message

```python theme={null}
@staticmethod
def parse_message(response: BedrockMessage) -> Dict[str, Any]
```

Parse the [Message](/sdk/python/references/models/prompt) response from Bedrock Converse API into a standardized format.

#### get\_model\_name

```python theme={null}
@staticmethod
def get_model_name(model_id: str) -> str
```

Extracts the model name from the model ID or ARN.
