BedrockRuntimeClient service metadata regions using incorrect ID
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 51
Description
### Describe the bug
When calling BedrockRuntimeClient.serviceMetadata().regions() an empty array is returned however doing ServiceMetadata.of("bedrock") returns the correct expected regions
BedrockRuntimeClient.serviceMetadata() is using the SERVICE_METADATA_ID = "bedrock-runtime" however it is only possible to get the correct regions using String SERVICE_NAME = "bedrock";
### Expected Behavior
BedrockRuntimeClient.serviceMetadata().regions() returns the correct supported regions for aws bedrock
### Current Behavior
BedrockRuntimeClient.serviceMetadata().regions() returns an empty array
### Reproduction Steps
call BedrockRuntimeClient.serviceMetadata().regions()
### Possible Solution
correct the SERVICE_METADATA_ID ?
### Additional Information/Context
_No response_
### AWS Java SDK version used
2.21.17
### JDK version used
17
### Operating System and version
macOS Ventura 13.4
Contributor guide
Assessment
This issue has not been assessed yet.