@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.
|
@@ -514,9 +514,7 @@ function calculateAuth(authorization) {
|
|
|
514
514
|
};
|
|
515
515
|
}
|
|
516
516
|
if (rule.provider) {
|
|
517
|
-
|
|
518
|
-
const provider = rule.provider === 'identityPool' ? 'iam' : rule.provider;
|
|
519
|
-
ruleParts.push(`provider: ${provider}`);
|
|
517
|
+
ruleParts.push(`provider: ${rule.provider}`);
|
|
520
518
|
}
|
|
521
519
|
if (rule.operations) {
|
|
522
520
|
ruleParts.push(`operations: [${rule.operations.join(', ')}]`);
|