Interface BedrockProvider<E extends Client>
- Type Parameters:
E- the exact client type the provider builds
- All Superinterfaces:
ClientProvider<E>
- All Known Implementing Classes:
AnthropicBedrockMantleProvider, AnthropicBedrockProvider, BedrockCohereEmbeddingsProvider, BedrockConverseProvider
What every Bedrock-hosted provider says about its credentials, whichever client family it
builds: the AWS key pair under
BedrockClients.SECRET_ID, or the identity the process
runs under when role-based auth is on. One answer for the four Bedrock surfaces (native
Anthropic, Mantle, Converse, Cohere embeddings) so a deployment cannot be configured for
one and not another.- Since:
- 0.1 (2026-09-11)
- Author:
- Andrey Santrosyan
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWhether this deployment holds whatClientProvider.createClient(ModelSpec)needs.The region every Bedrock call goes to.default StringThe id of the credential this provider's clients are constructed around, in the deployment'sSecretsstore: the oneClientProvider.createClient(ModelSpec)would fail without.default List<CredentialShape> Two credentials, as AWS names them: the key pair and the region.default StringHow a person provides whatClientProvider.configured()checks, in words a refusal can carry (Secrets.describe(String)for the store in use).default StringidentityOf(String wireModelId) Every Bedrock surface lists every vendor, and a model must have one identity whichever surface listed it: Claude ids the Anthropic way, the rest the generic way.default Stringplatform()One platform for all four surfaces: a model disabled on base Bedrock is disabled on Mantle and Converse too.Methods inherited from interface ClientProvider
addressing, catalogIdOf, claims, contextEstimator, createClient, key, refusesUnsupportedThinking, serves, thinkingModes, tokenCounter
-
Method Details
-
credentialId
Description copied from interface:ClientProviderThe id of the credential this provider's clients are constructed around, in the deployment'sSecretsstore: the oneClientProvider.createClient(ModelSpec)would fail without.- Specified by:
credentialIdin interfaceClientProvider<E extends Client>
-
credentialShapes
Two credentials, as AWS names them: the key pair and the region.- Specified by:
credentialShapesin interfaceClientProvider<E extends Client>
-
platform
One platform for all four surfaces: a model disabled on base Bedrock is disabled on Mantle and Converse too.- Specified by:
platformin interfaceClientProvider<E extends Client>
-
identityOf
Every Bedrock surface lists every vendor, and a model must have one identity whichever surface listed it: Claude ids the Anthropic way, the rest the generic way.- Specified by:
identityOfin interfaceClientProvider<E extends Client>
-
configured
default boolean configured()Description copied from interface:ClientProviderWhether this deployment holds whatClientProvider.createClient(ModelSpec)needs. A local question - the store is consulted, no provider is called - so a picker may ask it for every catalog entry at first resolution.- Specified by:
configuredin interfaceClientProvider<E extends Client>
-
describeCredential
Description copied from interface:ClientProviderHow a person provides whatClientProvider.configured()checks, in words a refusal can carry (Secrets.describe(String)for the store in use).- Specified by:
describeCredentialin interfaceClientProvider<E extends Client>
-
connectionFacts
The region every Bedrock call goes to. Bedrock is regional and the catalog'sus.andglobal.profile ids resolve against this region's endpoint, so a wrong region fails every call with a 400 that names neither - this fact is how a status surface makes that visible before the first call. When no region is configured anywhere, the AWS chain's own refusal is the fact: it names what it looked for, and hiding it would leave the row blank exactly when a person needs it.- Specified by:
connectionFactsin interfaceClientProvider<E extends Client>
-