We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e5235c commit b4226f2Copy full SHA for b4226f2
contract-tests/images/applications/botocore/botocore_server.py
@@ -209,6 +209,9 @@ def _handle_kinesis_request(self) -> None:
209
set_main_status(404)
210
211
def _handle_bedrock_request(self) -> None:
212
+ # Localstack does not support Bedrock related services.
213
+ # we inject inject_200_success and inject_500_error directly into the API call
214
+ # to make sure we receive http response with expected status code and attributes.
215
bedrock_client: BaseClient = boto3.client("bedrock", endpoint_url=_AWS_SDK_ENDPOINT, region_name=_AWS_REGION)
216
bedrock_agent_client: BaseClient = boto3.client(
217
"bedrock-agent", endpoint_url=_AWS_SDK_ENDPOINT, region_name=_AWS_REGION
0 commit comments