yera.setup.provider_setup.aws
Obtain and validate AWS Bedrock provider configuration.
Symbols
AWSProviderSetup
ProviderSetup[AWSConnection]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
Configuration key for the AWS provider.
Python import paths required by the integration.
Methods
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
Complete AWS connection candidates and discovery diagnostics.
AWSProviderSetup.validate
validate(
config: AWSConnection,
) → SetupResult[AWSConnection]Validate an AWS connection through Security Token Service.
Parameters
AWS connection containing a profile and target region.
Returns
The supplied connection and a blocking error when AWS credentials or connectivity cannot be validated.