yera.setup.provider_setup.aws

Obtain and validate AWS Bedrock provider configuration.

Symbols

class AWSProviderSetup — Provide presentation-independent AWS Bedrock setup operations.

AWSProviderSetup

Provide presentation-independent AWS Bedrock setup operations.

Configuration discovery returns every locally configured AWS profile whose region can be resolved. Validation confirms credentials through AWS Security Token Service.

Attributes

provider_type

Configuration key for the AWS provider.

dependencies

Python import paths required by the integration.

Methods

get_config — Obtain connections from locally configured AWS profiles.
validate — Validate an AWS connection through Security Token Service.

AWSProviderSetup.get_config

get_config() → SetupResult[tuple[AWSConnection, ...]]

Obtain connections from locally configured AWS profiles.

Profiles without a resolvable region are omitted and reported as recoverable warnings. AWS SDK failures that prevent profile discovery are returned as blocking errors.

Returns

type: SetupResult[tuple[AWSConnection, ...]]

Complete AWS connection candidates and discovery diagnostics.

AWSProviderSetup.validate

validate(
    config: AWSConnection,
) → SetupResult[AWSConnection]

Validate an AWS connection through Security Token Service.

Parameters

config
type: AWSConnection

AWS connection containing a profile and target region.

Returns

type: SetupResult[AWSConnection]

The supplied connection and a blocking error when AWS credentials or connectivity cannot be validated.