@aws-amplify/data-schema 1.25.4 → 1.25.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -509,9 +509,7 @@ function calculateAuth(authorization) {
509
509
  };
510
510
  }
511
511
  if (rule.provider) {
512
- // identityPool maps to iam in the transform
513
- const provider = rule.provider === 'identityPool' ? 'iam' : rule.provider;
514
- ruleParts.push(`provider: ${provider}`);
512
+ ruleParts.push(`provider: ${rule.provider}`);
515
513
  }
516
514
  if (rule.operations) {
517
515
  ruleParts.push(`operations: [${rule.operations.join(', ')}]`);