Using keycloak for aws Cognito IDP setup

We are using another IDP provider for SAML integration with AWS Cognito. I am trying to set this up and see if this fits our needs and stick with this.

Has anyone tried this yet?
I am using the metadata XML currently being used in another provider here and it is not importing and saying ‘server error’. Is there a specific format needed here? At the same time, this one works fine
https://signin.aws.amazon.com/static/saml-metadata.xml but I need for AWS Cognitor user pool.