function _aws_cdk_aws_cognito_identitypool_alpha_IIdentityPool(p) { } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProps(p) { if (p == null) return; visitedObjects.add(p); try { if ("allowClassicFlow" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#allowClassicFlow", ""); if ("allowUnauthenticatedIdentities" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#allowUnauthenticatedIdentities", ""); if ("authenticatedRole" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#authenticatedRole", ""); if ("authenticationProviders" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#authenticationProviders", ""); if (!visitedObjects.has(p.authenticationProviders)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAuthenticationProviders(p.authenticationProviders); if ("identityPoolName" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#identityPoolName", ""); if ("roleMappings" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#roleMappings", ""); if (p.roleMappings != null) for (const o of p.roleMappings) if (!visitedObjects.has(o)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolRoleMapping(o); if ("unauthenticatedRole" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProps#unauthenticatedRole", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProviderType(p) { if (p == null) return; visitedObjects.add(p); try { print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType", ""); const ns = require("./lib/identitypool.js"); if (Object.values(ns.IdentityPoolProviderType).filter(x => x === p).length > 1) return; if (p === ns.IdentityPoolProviderType.FACEBOOK) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#FACEBOOK", ""); if (p === ns.IdentityPoolProviderType.GOOGLE) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#GOOGLE", ""); if (p === ns.IdentityPoolProviderType.AMAZON) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#AMAZON", ""); if (p === ns.IdentityPoolProviderType.APPLE) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#APPLE", ""); if (p === ns.IdentityPoolProviderType.TWITTER) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#TWITTER", ""); if (p === ns.IdentityPoolProviderType.OPEN_ID) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#OPEN_ID", ""); if (p === ns.IdentityPoolProviderType.SAML) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#SAML", ""); if (p === ns.IdentityPoolProviderType.USER_POOL) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#USER_POOL", ""); if (p === ns.IdentityPoolProviderType.CUSTOM) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolProviderType#CUSTOM", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProviderUrl(p) { } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAmazonLoginProvider(p) { if (p == null) return; visitedObjects.add(p); try { if ("appId" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAmazonLoginProvider#appId", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolFacebookLoginProvider(p) { if (p == null) return; visitedObjects.add(p); try { if ("appId" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolFacebookLoginProvider#appId", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAppleLoginProvider(p) { if (p == null) return; visitedObjects.add(p); try { if ("servicesId" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAppleLoginProvider#servicesId", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolGoogleLoginProvider(p) { if (p == null) return; visitedObjects.add(p); try { if ("clientId" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolGoogleLoginProvider#clientId", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolTwitterLoginProvider(p) { if (p == null) return; visitedObjects.add(p); try { if ("consumerKey" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolTwitterLoginProvider#consumerKey", ""); if ("consumerSecret" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolTwitterLoginProvider#consumerSecret", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAuthenticationProviders(p) { if (p == null) return; visitedObjects.add(p); try { if ("amazon" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#amazon", ""); if (!visitedObjects.has(p.amazon)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAmazonLoginProvider(p.amazon); if ("apple" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#apple", ""); if (!visitedObjects.has(p.apple)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAppleLoginProvider(p.apple); if ("customProvider" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#customProvider", ""); if ("facebook" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#facebook", ""); if (!visitedObjects.has(p.facebook)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolFacebookLoginProvider(p.facebook); if ("google" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#google", ""); if (!visitedObjects.has(p.google)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolGoogleLoginProvider(p.google); if ("openIdConnectProviders" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#openIdConnectProviders", ""); if (p.openIdConnectProviders != null) for (const o of p.openIdConnectProviders) if (!visitedObjects.has(o)) require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IOpenIdConnectProvider(o); if ("samlProviders" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#samlProviders", ""); if (p.samlProviders != null) for (const o of p.samlProviders) if (!visitedObjects.has(o)) require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_ISamlProvider(o); if ("twitter" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#twitter", ""); if (!visitedObjects.has(p.twitter)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolTwitterLoginProvider(p.twitter); if ("userPools" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolAuthenticationProviders#userPools", ""); if (p.userPools != null) for (const o of p.userPools) if (!visitedObjects.has(o)) _aws_cdk_aws_cognito_identitypool_alpha_IUserPoolAuthenticationProvider(o); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolRoleMapping(p) { if (p == null) return; visitedObjects.add(p); try { if ("providerUrl" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolRoleMapping#providerUrl", ""); if (!visitedObjects.has(p.providerUrl)) _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProviderUrl(p.providerUrl); if ("mappingKey" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolRoleMapping#mappingKey", ""); if ("resolveAmbiguousRoles" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolRoleMapping#resolveAmbiguousRoles", ""); if ("rules" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolRoleMapping#rules", ""); if (p.rules != null) for (const o of p.rules) if (!visitedObjects.has(o)) _aws_cdk_aws_cognito_identitypool_alpha_RoleMappingRule(o); if ("useToken" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.IdentityPoolRoleMapping#useToken", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_RoleMappingMatchType(p) { if (p == null) return; visitedObjects.add(p); try { print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingMatchType", ""); const ns = require("./lib/identitypool.js"); if (Object.values(ns.RoleMappingMatchType).filter(x => x === p).length > 1) return; if (p === ns.RoleMappingMatchType.EQUALS) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingMatchType#EQUALS", ""); if (p === ns.RoleMappingMatchType.CONTAINS) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingMatchType#CONTAINS", ""); if (p === ns.RoleMappingMatchType.STARTS_WITH) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingMatchType#STARTS_WITH", ""); if (p === ns.RoleMappingMatchType.NOTEQUAL) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingMatchType#NOTEQUAL", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_RoleMappingRule(p) { if (p == null) return; visitedObjects.add(p); try { if ("claim" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingRule#claim", ""); if ("claimValue" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingRule#claimValue", ""); if ("mappedRole" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingRule#mappedRole", ""); if ("matchType" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.RoleMappingRule#matchType", ""); if (!visitedObjects.has(p.matchType)) _aws_cdk_aws_cognito_identitypool_alpha_RoleMappingMatchType(p.matchType); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_IdentityPool(p) { } function _aws_cdk_aws_cognito_identitypool_alpha_IUserPoolAuthenticationProvider(p) { } function _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProviderProps(p) { if (p == null) return; visitedObjects.add(p); try { if ("userPool" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.UserPoolAuthenticationProviderProps#userPool", ""); if ("disableServerSideTokenCheck" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.UserPoolAuthenticationProviderProps#disableServerSideTokenCheck", ""); if ("userPoolClient" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.UserPoolAuthenticationProviderProps#userPoolClient", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProviderBindOptions(p) { } function _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProviderBindConfig(p) { if (p == null) return; visitedObjects.add(p); try { if ("clientId" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.UserPoolAuthenticationProviderBindConfig#clientId", ""); if ("providerName" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.UserPoolAuthenticationProviderBindConfig#providerName", ""); if ("serverSideTokenCheck" in p) print("@aws-cdk/aws-cognito-identitypool-alpha.UserPoolAuthenticationProviderBindConfig#serverSideTokenCheck", ""); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProvider(p) { } function print(name, deprecationMessage) { const deprecated = process.env.JSII_DEPRECATED; const deprecationMode = ["warn", "fail", "quiet"].includes(deprecated) ? deprecated : "warn"; const message = `${name} is deprecated.\n ${deprecationMessage.trim()}\n This API will be removed in the next major release.`; switch (deprecationMode) { case "fail": throw new DeprecationError(message); case "warn": console.warn("[WARNING]", message); break; } } function getPropertyDescriptor(obj, prop) { const descriptor = Object.getOwnPropertyDescriptor(obj, prop); if (descriptor) { return descriptor; } const proto = Object.getPrototypeOf(obj); const prototypeDescriptor = proto && getPropertyDescriptor(proto, prop); if (prototypeDescriptor) { return prototypeDescriptor; } return {}; } const visitedObjects = new Set(); class DeprecationError extends Error { constructor(...args) { super(...args); Object.defineProperty(this, "name", { configurable: false, enumerable: true, value: "DeprecationError", writable: false, }); } } module.exports = { print, getPropertyDescriptor, DeprecationError, _aws_cdk_aws_cognito_identitypool_alpha_IIdentityPool, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProps, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProviderType, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolProviderUrl, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAmazonLoginProvider, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolFacebookLoginProvider, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAppleLoginProvider, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolGoogleLoginProvider, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolTwitterLoginProvider, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolAuthenticationProviders, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPoolRoleMapping, _aws_cdk_aws_cognito_identitypool_alpha_RoleMappingMatchType, _aws_cdk_aws_cognito_identitypool_alpha_RoleMappingRule, _aws_cdk_aws_cognito_identitypool_alpha_IdentityPool, _aws_cdk_aws_cognito_identitypool_alpha_IUserPoolAuthenticationProvider, _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProviderProps, _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProviderBindOptions, _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProviderBindConfig, _aws_cdk_aws_cognito_identitypool_alpha_UserPoolAuthenticationProvider };