serverless-spy 0.0.3 → 0.0.6
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.
- package/.jsii +3 -2
- package/lib/ServerlessSpy.js +1 -1
- package/listener/createServerlessSpyListener.ts +12 -2
- package/listener/index.ts +1 -0
- package/node_modules/@aws-sdk/client-cognito-identity/CHANGELOG.md +4150 -0
- package/node_modules/@aws-sdk/client-cognito-identity/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-cognito-identity/README.md +219 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentity.js +352 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/CognitoIdentityClient.js +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/CreateIdentityPoolCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentitiesCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentityPoolCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityPoolCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetCredentialsForIdentityCommand.js +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdCommand.js +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetIdentityPoolRolesCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenCommand.js +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/GetPrincipalTagAttributeMapCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentitiesCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListIdentityPoolsCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/ListTagsForResourceCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/LookupDeveloperIdentityCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/MergeDeveloperIdentitiesCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetIdentityPoolRolesCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/SetPrincipalTagAttributeMapCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/TagResourceCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkDeveloperIdentityCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UnlinkIdentityCommand.js +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UntagResourceCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/UpdateIdentityPoolCommand.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/index.js +26 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/endpoints.js +167 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/index.js +11 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/CognitoIdentityServiceException.js +11 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/index.js +4 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/models/models_0.js +354 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/Interfaces.js +2 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/ListIdentityPoolsPaginator.js +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/pagination/index.js +5 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/protocols/Aws_json1_1.js +2236 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.browser.js +45 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.js +52 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.native.js +16 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/runtimeConfig.shared.js +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentity.js +355 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/CognitoIdentityClient.js +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/CreateIdentityPoolCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentitiesCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DeleteIdentityPoolCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/DescribeIdentityPoolCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdentityPoolRolesCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenCommand.js +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentitiesCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListIdentityPoolsCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/ListTagsForResourceCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/LookupDeveloperIdentityCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/MergeDeveloperIdentitiesCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetIdentityPoolRolesCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/TagResourceCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkDeveloperIdentityCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UnlinkIdentityCommand.js +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UntagResourceCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/UpdateIdentityPoolCommand.js +41 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/index.js +23 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoints.js +163 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/models_0.js +202 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/Interfaces.js +1 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/ListIdentityPoolsPaginator.js +75 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/pagination/index.js +2 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/protocols/Aws_json1_1.js +2662 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.browser.js +26 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.js +30 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.native.js +8 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-es/runtimeConfig.shared.js +13 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentity.d.ts +295 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/CognitoIdentityClient.d.ts +180 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/CreateIdentityPoolCommand.d.ts +61 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentitiesCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DeleteIdentityPoolCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/DescribeIdentityPoolCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdCommand.d.ts +37 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentitiesCommand.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListIdentityPoolsCommand.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +35 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/TagResourceCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UnlinkIdentityCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UntagResourceCommand.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/UpdateIdentityPoolCommand.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/commands/index.d.ts +23 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/endpoints.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/CognitoIdentityServiceException.d.ts +10 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/models/models_0.d.ts +1166 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/Interfaces.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/protocols/Aws_json1_1.d.ts +71 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.d.ts +40 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.native.d.ts +39 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentity.d.ts +120 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/CognitoIdentityClient.d.ts +96 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/CognitoIdentityServiceException.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/models/models_0.d.ts +567 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/ListIdentityPoolsPaginator.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +71 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/node_modules/@aws-sdk/client-cognito-identity/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cognito-identity/package.json +107 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/CHANGELOG.md +4874 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/LICENSE +201 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/README.md +11 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/CognitoProviderParameters.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/InMemoryStorage.js +21 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/IndexedDbStorage.js +71 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Logins.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/Storage.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentity.js +32 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/fromCognitoIdentityPool.js +42 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/index.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/localStorage.js +16 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-cjs/resolveLogins.js +19 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/CognitoProviderParameters.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/InMemoryStorage.js +20 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/IndexedDbStorage.js +70 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Logins.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/Storage.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentity.js +50 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/fromCognitoIdentityPool.js +73 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/index.js +5 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/localStorage.js +12 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-es/resolveLogins.js +19 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/CognitoProviderParameters.d.ts +25 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/InMemoryStorage.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/IndexedDbStorage.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Logins.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/Storage.d.ts +14 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentity.d.ts +23 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/fromCognitoIdentityPool.d.ts +44 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/index.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/localStorage.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/resolveLogins.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/CognitoProviderParameters.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/InMemoryStorage.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/IndexedDbStorage.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Logins.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/Storage.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentity.d.ts +13 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +15 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/localStorage.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/dist-types/ts3.4/resolveLogins.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-cognito-identity/package.json +59 -0
- package/node_modules/@aws-sdk/credential-providers/CHANGELOG.md +570 -0
- package/node_modules/@aws-sdk/credential-providers/LICENSE +201 -0
- package/node_modules/@aws-sdk/credential-providers/README.md +663 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentity.js +13 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromCognitoIdentityPool.js +13 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromContainerMetadata.js +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromEnv.js +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromIni.js +14 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromInstanceMetadata.js +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromNodeProviderChain.js +14 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromProcess.js +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromSSO.js +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTemporaryCredentials.js +31 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTokenFile.js +13 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/fromWebToken.js +13 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.js +15 -0
- package/node_modules/@aws-sdk/credential-providers/dist-cjs/index.web.js +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentity.js +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromCognitoIdentityPool.js +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromContainerMetadata.js +2 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromEnv.js +2 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromIni.js +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromInstanceMetadata.js +2 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromNodeProviderChain.js +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromProcess.js +2 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromSSO.js +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromTemporaryCredentials.js +40 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromTokenFile.js +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/fromWebToken.js +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/index.js +12 -0
- package/node_modules/@aws-sdk/credential-providers/dist-es/index.web.js +4 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentity.d.ts +45 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromCognitoIdentityPool.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromContainerMetadata.d.ts +24 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromEnv.d.ts +26 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromIni.d.ts +43 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromInstanceMetadata.d.ts +22 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromNodeProviderChain.d.ts +29 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromProcess.d.ts +28 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromSSO.d.ts +48 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromTemporaryCredentials.d.ts +48 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromTokenFile.d.ts +32 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/fromWebToken.d.ts +41 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/index.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/index.web.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentity.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromCognitoIdentityPool.d.ts +7 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromContainerMetadata.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromEnv.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromIni.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromInstanceMetadata.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromNodeProviderChain.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromProcess.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromSSO.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTemporaryCredentials.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromTokenFile.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/fromWebToken.d.ts +8 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-providers/dist-types/ts3.4/index.web.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-providers/package.json +78 -0
- package/package.json +4 -16
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const regionHash = {
|
|
6
|
+
"us-east-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "cognito-identity-fips.us-east-1.amazonaws.com",
|
|
10
|
+
tags: ["fips"],
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
"us-east-2": {
|
|
15
|
+
variants: [
|
|
16
|
+
{
|
|
17
|
+
hostname: "cognito-identity-fips.us-east-2.amazonaws.com",
|
|
18
|
+
tags: ["fips"],
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
"us-gov-west-1": {
|
|
23
|
+
variants: [
|
|
24
|
+
{
|
|
25
|
+
hostname: "cognito-identity-fips.us-gov-west-1.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
"us-west-2": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "cognito-identity-fips.us-west-2.amazonaws.com",
|
|
34
|
+
tags: ["fips"],
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const partitionHash = {
|
|
40
|
+
aws: {
|
|
41
|
+
regions: [
|
|
42
|
+
"af-south-1",
|
|
43
|
+
"ap-east-1",
|
|
44
|
+
"ap-northeast-1",
|
|
45
|
+
"ap-northeast-2",
|
|
46
|
+
"ap-northeast-3",
|
|
47
|
+
"ap-south-1",
|
|
48
|
+
"ap-southeast-1",
|
|
49
|
+
"ap-southeast-2",
|
|
50
|
+
"ap-southeast-3",
|
|
51
|
+
"ca-central-1",
|
|
52
|
+
"eu-central-1",
|
|
53
|
+
"eu-north-1",
|
|
54
|
+
"eu-south-1",
|
|
55
|
+
"eu-west-1",
|
|
56
|
+
"eu-west-2",
|
|
57
|
+
"eu-west-3",
|
|
58
|
+
"fips-us-east-1",
|
|
59
|
+
"fips-us-east-2",
|
|
60
|
+
"fips-us-west-2",
|
|
61
|
+
"me-south-1",
|
|
62
|
+
"sa-east-1",
|
|
63
|
+
"us-east-1",
|
|
64
|
+
"us-east-2",
|
|
65
|
+
"us-west-1",
|
|
66
|
+
"us-west-2",
|
|
67
|
+
],
|
|
68
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
69
|
+
variants: [
|
|
70
|
+
{
|
|
71
|
+
hostname: "cognito-identity.{region}.amazonaws.com",
|
|
72
|
+
tags: [],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
hostname: "cognito-identity-fips.{region}.amazonaws.com",
|
|
76
|
+
tags: ["fips"],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
hostname: "cognito-identity-fips.{region}.api.aws",
|
|
80
|
+
tags: ["dualstack", "fips"],
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
hostname: "cognito-identity.{region}.api.aws",
|
|
84
|
+
tags: ["dualstack"],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
"aws-cn": {
|
|
89
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
90
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
91
|
+
variants: [
|
|
92
|
+
{
|
|
93
|
+
hostname: "cognito-identity.{region}.amazonaws.com.cn",
|
|
94
|
+
tags: [],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
hostname: "cognito-identity-fips.{region}.amazonaws.com.cn",
|
|
98
|
+
tags: ["fips"],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
hostname: "cognito-identity-fips.{region}.api.amazonwebservices.com.cn",
|
|
102
|
+
tags: ["dualstack", "fips"],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
hostname: "cognito-identity.{region}.api.amazonwebservices.com.cn",
|
|
106
|
+
tags: ["dualstack"],
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
},
|
|
110
|
+
"aws-iso": {
|
|
111
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
112
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
113
|
+
variants: [
|
|
114
|
+
{
|
|
115
|
+
hostname: "cognito-identity.{region}.c2s.ic.gov",
|
|
116
|
+
tags: [],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
hostname: "cognito-identity-fips.{region}.c2s.ic.gov",
|
|
120
|
+
tags: ["fips"],
|
|
121
|
+
},
|
|
122
|
+
],
|
|
123
|
+
},
|
|
124
|
+
"aws-iso-b": {
|
|
125
|
+
regions: ["us-isob-east-1"],
|
|
126
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
127
|
+
variants: [
|
|
128
|
+
{
|
|
129
|
+
hostname: "cognito-identity.{region}.sc2s.sgov.gov",
|
|
130
|
+
tags: [],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
hostname: "cognito-identity-fips.{region}.sc2s.sgov.gov",
|
|
134
|
+
tags: ["fips"],
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
},
|
|
138
|
+
"aws-us-gov": {
|
|
139
|
+
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
140
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
141
|
+
variants: [
|
|
142
|
+
{
|
|
143
|
+
hostname: "cognito-identity.{region}.amazonaws.com",
|
|
144
|
+
tags: [],
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
hostname: "cognito-identity-fips.{region}.amazonaws.com",
|
|
148
|
+
tags: ["fips"],
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
hostname: "cognito-identity-fips.{region}.api.aws",
|
|
152
|
+
tags: ["dualstack", "fips"],
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
hostname: "cognito-identity.{region}.api.aws",
|
|
156
|
+
tags: ["dualstack"],
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
};
|
|
161
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
162
|
+
...options,
|
|
163
|
+
signingService: "cognito-identity",
|
|
164
|
+
regionHash,
|
|
165
|
+
partitionHash,
|
|
166
|
+
});
|
|
167
|
+
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CognitoIdentityServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./CognitoIdentity"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CognitoIdentityClient"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var CognitoIdentityServiceException_1 = require("./models/CognitoIdentityServiceException");
|
|
11
|
+
Object.defineProperty(exports, "CognitoIdentityServiceException", { enumerable: true, get: function () { return CognitoIdentityServiceException_1.CognitoIdentityServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CognitoIdentityServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CognitoIdentityServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CognitoIdentityServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CognitoIdentityServiceException = CognitoIdentityServiceException;
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LookupDeveloperIdentityResponseFilterSensitiveLog = exports.LookupDeveloperIdentityInputFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceInputFilterSensitiveLog = exports.ListIdentityPoolsResponseFilterSensitiveLog = exports.IdentityPoolShortDescriptionFilterSensitiveLog = exports.ListIdentityPoolsInputFilterSensitiveLog = exports.ListIdentitiesResponseFilterSensitiveLog = exports.ListIdentitiesInputFilterSensitiveLog = exports.GetPrincipalTagAttributeMapResponseFilterSensitiveLog = exports.GetPrincipalTagAttributeMapInputFilterSensitiveLog = exports.GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = exports.GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = exports.GetOpenIdTokenResponseFilterSensitiveLog = exports.GetOpenIdTokenInputFilterSensitiveLog = exports.GetIdentityPoolRolesResponseFilterSensitiveLog = exports.RoleMappingFilterSensitiveLog = exports.RulesConfigurationTypeFilterSensitiveLog = exports.MappingRuleFilterSensitiveLog = exports.GetIdentityPoolRolesInputFilterSensitiveLog = exports.GetIdResponseFilterSensitiveLog = exports.GetIdInputFilterSensitiveLog = exports.GetCredentialsForIdentityResponseFilterSensitiveLog = exports.CredentialsFilterSensitiveLog = exports.GetCredentialsForIdentityInputFilterSensitiveLog = exports.DescribeIdentityPoolInputFilterSensitiveLog = exports.IdentityDescriptionFilterSensitiveLog = exports.DescribeIdentityInputFilterSensitiveLog = exports.DeleteIdentityPoolInputFilterSensitiveLog = exports.DeleteIdentitiesResponseFilterSensitiveLog = exports.UnprocessedIdentityIdFilterSensitiveLog = exports.DeleteIdentitiesInputFilterSensitiveLog = exports.IdentityPoolFilterSensitiveLog = exports.CreateIdentityPoolInputFilterSensitiveLog = exports.CognitoIdentityProviderFilterSensitiveLog = exports.ConcurrentModificationException = exports.DeveloperUserAlreadyRegisteredException = exports.RoleMappingType = exports.MappingRuleMatchType = exports.InvalidIdentityPoolConfigurationException = exports.ExternalServiceException = exports.ResourceNotFoundException = exports.ErrorCode = exports.TooManyRequestsException = exports.ResourceConflictException = exports.NotAuthorizedException = exports.LimitExceededException = exports.InvalidParameterException = exports.InternalErrorException = exports.AmbiguousRoleResolutionType = void 0;
|
|
4
|
+
exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceInputFilterSensitiveLog = exports.UnlinkIdentityInputFilterSensitiveLog = exports.UnlinkDeveloperIdentityInputFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceInputFilterSensitiveLog = exports.SetPrincipalTagAttributeMapResponseFilterSensitiveLog = exports.SetPrincipalTagAttributeMapInputFilterSensitiveLog = exports.SetIdentityPoolRolesInputFilterSensitiveLog = exports.MergeDeveloperIdentitiesResponseFilterSensitiveLog = exports.MergeDeveloperIdentitiesInputFilterSensitiveLog = void 0;
|
|
5
|
+
const CognitoIdentityServiceException_1 = require("./CognitoIdentityServiceException");
|
|
6
|
+
var AmbiguousRoleResolutionType;
|
|
7
|
+
(function (AmbiguousRoleResolutionType) {
|
|
8
|
+
AmbiguousRoleResolutionType["AUTHENTICATED_ROLE"] = "AuthenticatedRole";
|
|
9
|
+
AmbiguousRoleResolutionType["DENY"] = "Deny";
|
|
10
|
+
})(AmbiguousRoleResolutionType = exports.AmbiguousRoleResolutionType || (exports.AmbiguousRoleResolutionType = {}));
|
|
11
|
+
class InternalErrorException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
12
|
+
constructor(opts) {
|
|
13
|
+
super({
|
|
14
|
+
name: "InternalErrorException",
|
|
15
|
+
$fault: "server",
|
|
16
|
+
...opts,
|
|
17
|
+
});
|
|
18
|
+
this.name = "InternalErrorException";
|
|
19
|
+
this.$fault = "server";
|
|
20
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.InternalErrorException = InternalErrorException;
|
|
24
|
+
class InvalidParameterException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
25
|
+
constructor(opts) {
|
|
26
|
+
super({
|
|
27
|
+
name: "InvalidParameterException",
|
|
28
|
+
$fault: "client",
|
|
29
|
+
...opts,
|
|
30
|
+
});
|
|
31
|
+
this.name = "InvalidParameterException";
|
|
32
|
+
this.$fault = "client";
|
|
33
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
37
|
+
class LimitExceededException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
38
|
+
constructor(opts) {
|
|
39
|
+
super({
|
|
40
|
+
name: "LimitExceededException",
|
|
41
|
+
$fault: "client",
|
|
42
|
+
...opts,
|
|
43
|
+
});
|
|
44
|
+
this.name = "LimitExceededException";
|
|
45
|
+
this.$fault = "client";
|
|
46
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.LimitExceededException = LimitExceededException;
|
|
50
|
+
class NotAuthorizedException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
51
|
+
constructor(opts) {
|
|
52
|
+
super({
|
|
53
|
+
name: "NotAuthorizedException",
|
|
54
|
+
$fault: "client",
|
|
55
|
+
...opts,
|
|
56
|
+
});
|
|
57
|
+
this.name = "NotAuthorizedException";
|
|
58
|
+
this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.NotAuthorizedException = NotAuthorizedException;
|
|
63
|
+
class ResourceConflictException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ResourceConflictException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
this.name = "ResourceConflictException";
|
|
71
|
+
this.$fault = "client";
|
|
72
|
+
Object.setPrototypeOf(this, ResourceConflictException.prototype);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.ResourceConflictException = ResourceConflictException;
|
|
76
|
+
class TooManyRequestsException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "TooManyRequestsException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
this.name = "TooManyRequestsException";
|
|
84
|
+
this.$fault = "client";
|
|
85
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
89
|
+
var ErrorCode;
|
|
90
|
+
(function (ErrorCode) {
|
|
91
|
+
ErrorCode["ACCESS_DENIED"] = "AccessDenied";
|
|
92
|
+
ErrorCode["INTERNAL_SERVER_ERROR"] = "InternalServerError";
|
|
93
|
+
})(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
|
|
94
|
+
class ResourceNotFoundException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
95
|
+
constructor(opts) {
|
|
96
|
+
super({
|
|
97
|
+
name: "ResourceNotFoundException",
|
|
98
|
+
$fault: "client",
|
|
99
|
+
...opts,
|
|
100
|
+
});
|
|
101
|
+
this.name = "ResourceNotFoundException";
|
|
102
|
+
this.$fault = "client";
|
|
103
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
107
|
+
class ExternalServiceException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ExternalServiceException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
this.name = "ExternalServiceException";
|
|
115
|
+
this.$fault = "client";
|
|
116
|
+
Object.setPrototypeOf(this, ExternalServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.ExternalServiceException = ExternalServiceException;
|
|
120
|
+
class InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "InvalidIdentityPoolConfigurationException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
this.name = "InvalidIdentityPoolConfigurationException";
|
|
128
|
+
this.$fault = "client";
|
|
129
|
+
Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.InvalidIdentityPoolConfigurationException = InvalidIdentityPoolConfigurationException;
|
|
133
|
+
var MappingRuleMatchType;
|
|
134
|
+
(function (MappingRuleMatchType) {
|
|
135
|
+
MappingRuleMatchType["CONTAINS"] = "Contains";
|
|
136
|
+
MappingRuleMatchType["EQUALS"] = "Equals";
|
|
137
|
+
MappingRuleMatchType["NOT_EQUAL"] = "NotEqual";
|
|
138
|
+
MappingRuleMatchType["STARTS_WITH"] = "StartsWith";
|
|
139
|
+
})(MappingRuleMatchType = exports.MappingRuleMatchType || (exports.MappingRuleMatchType = {}));
|
|
140
|
+
var RoleMappingType;
|
|
141
|
+
(function (RoleMappingType) {
|
|
142
|
+
RoleMappingType["RULES"] = "Rules";
|
|
143
|
+
RoleMappingType["TOKEN"] = "Token";
|
|
144
|
+
})(RoleMappingType = exports.RoleMappingType || (exports.RoleMappingType = {}));
|
|
145
|
+
class DeveloperUserAlreadyRegisteredException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "DeveloperUserAlreadyRegisteredException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
this.name = "DeveloperUserAlreadyRegisteredException";
|
|
153
|
+
this.$fault = "client";
|
|
154
|
+
Object.setPrototypeOf(this, DeveloperUserAlreadyRegisteredException.prototype);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
exports.DeveloperUserAlreadyRegisteredException = DeveloperUserAlreadyRegisteredException;
|
|
158
|
+
class ConcurrentModificationException extends CognitoIdentityServiceException_1.CognitoIdentityServiceException {
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "ConcurrentModificationException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
this.name = "ConcurrentModificationException";
|
|
166
|
+
this.$fault = "client";
|
|
167
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
171
|
+
const CognitoIdentityProviderFilterSensitiveLog = (obj) => ({
|
|
172
|
+
...obj,
|
|
173
|
+
});
|
|
174
|
+
exports.CognitoIdentityProviderFilterSensitiveLog = CognitoIdentityProviderFilterSensitiveLog;
|
|
175
|
+
const CreateIdentityPoolInputFilterSensitiveLog = (obj) => ({
|
|
176
|
+
...obj,
|
|
177
|
+
});
|
|
178
|
+
exports.CreateIdentityPoolInputFilterSensitiveLog = CreateIdentityPoolInputFilterSensitiveLog;
|
|
179
|
+
const IdentityPoolFilterSensitiveLog = (obj) => ({
|
|
180
|
+
...obj,
|
|
181
|
+
});
|
|
182
|
+
exports.IdentityPoolFilterSensitiveLog = IdentityPoolFilterSensitiveLog;
|
|
183
|
+
const DeleteIdentitiesInputFilterSensitiveLog = (obj) => ({
|
|
184
|
+
...obj,
|
|
185
|
+
});
|
|
186
|
+
exports.DeleteIdentitiesInputFilterSensitiveLog = DeleteIdentitiesInputFilterSensitiveLog;
|
|
187
|
+
const UnprocessedIdentityIdFilterSensitiveLog = (obj) => ({
|
|
188
|
+
...obj,
|
|
189
|
+
});
|
|
190
|
+
exports.UnprocessedIdentityIdFilterSensitiveLog = UnprocessedIdentityIdFilterSensitiveLog;
|
|
191
|
+
const DeleteIdentitiesResponseFilterSensitiveLog = (obj) => ({
|
|
192
|
+
...obj,
|
|
193
|
+
});
|
|
194
|
+
exports.DeleteIdentitiesResponseFilterSensitiveLog = DeleteIdentitiesResponseFilterSensitiveLog;
|
|
195
|
+
const DeleteIdentityPoolInputFilterSensitiveLog = (obj) => ({
|
|
196
|
+
...obj,
|
|
197
|
+
});
|
|
198
|
+
exports.DeleteIdentityPoolInputFilterSensitiveLog = DeleteIdentityPoolInputFilterSensitiveLog;
|
|
199
|
+
const DescribeIdentityInputFilterSensitiveLog = (obj) => ({
|
|
200
|
+
...obj,
|
|
201
|
+
});
|
|
202
|
+
exports.DescribeIdentityInputFilterSensitiveLog = DescribeIdentityInputFilterSensitiveLog;
|
|
203
|
+
const IdentityDescriptionFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
});
|
|
206
|
+
exports.IdentityDescriptionFilterSensitiveLog = IdentityDescriptionFilterSensitiveLog;
|
|
207
|
+
const DescribeIdentityPoolInputFilterSensitiveLog = (obj) => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
exports.DescribeIdentityPoolInputFilterSensitiveLog = DescribeIdentityPoolInputFilterSensitiveLog;
|
|
211
|
+
const GetCredentialsForIdentityInputFilterSensitiveLog = (obj) => ({
|
|
212
|
+
...obj,
|
|
213
|
+
});
|
|
214
|
+
exports.GetCredentialsForIdentityInputFilterSensitiveLog = GetCredentialsForIdentityInputFilterSensitiveLog;
|
|
215
|
+
const CredentialsFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
});
|
|
218
|
+
exports.CredentialsFilterSensitiveLog = CredentialsFilterSensitiveLog;
|
|
219
|
+
const GetCredentialsForIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
220
|
+
...obj,
|
|
221
|
+
});
|
|
222
|
+
exports.GetCredentialsForIdentityResponseFilterSensitiveLog = GetCredentialsForIdentityResponseFilterSensitiveLog;
|
|
223
|
+
const GetIdInputFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
});
|
|
226
|
+
exports.GetIdInputFilterSensitiveLog = GetIdInputFilterSensitiveLog;
|
|
227
|
+
const GetIdResponseFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
exports.GetIdResponseFilterSensitiveLog = GetIdResponseFilterSensitiveLog;
|
|
231
|
+
const GetIdentityPoolRolesInputFilterSensitiveLog = (obj) => ({
|
|
232
|
+
...obj,
|
|
233
|
+
});
|
|
234
|
+
exports.GetIdentityPoolRolesInputFilterSensitiveLog = GetIdentityPoolRolesInputFilterSensitiveLog;
|
|
235
|
+
const MappingRuleFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
});
|
|
238
|
+
exports.MappingRuleFilterSensitiveLog = MappingRuleFilterSensitiveLog;
|
|
239
|
+
const RulesConfigurationTypeFilterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
});
|
|
242
|
+
exports.RulesConfigurationTypeFilterSensitiveLog = RulesConfigurationTypeFilterSensitiveLog;
|
|
243
|
+
const RoleMappingFilterSensitiveLog = (obj) => ({
|
|
244
|
+
...obj,
|
|
245
|
+
});
|
|
246
|
+
exports.RoleMappingFilterSensitiveLog = RoleMappingFilterSensitiveLog;
|
|
247
|
+
const GetIdentityPoolRolesResponseFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
exports.GetIdentityPoolRolesResponseFilterSensitiveLog = GetIdentityPoolRolesResponseFilterSensitiveLog;
|
|
251
|
+
const GetOpenIdTokenInputFilterSensitiveLog = (obj) => ({
|
|
252
|
+
...obj,
|
|
253
|
+
});
|
|
254
|
+
exports.GetOpenIdTokenInputFilterSensitiveLog = GetOpenIdTokenInputFilterSensitiveLog;
|
|
255
|
+
const GetOpenIdTokenResponseFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
exports.GetOpenIdTokenResponseFilterSensitiveLog = GetOpenIdTokenResponseFilterSensitiveLog;
|
|
259
|
+
const GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
exports.GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog = GetOpenIdTokenForDeveloperIdentityInputFilterSensitiveLog;
|
|
263
|
+
const GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
264
|
+
...obj,
|
|
265
|
+
});
|
|
266
|
+
exports.GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog = GetOpenIdTokenForDeveloperIdentityResponseFilterSensitiveLog;
|
|
267
|
+
const GetPrincipalTagAttributeMapInputFilterSensitiveLog = (obj) => ({
|
|
268
|
+
...obj,
|
|
269
|
+
});
|
|
270
|
+
exports.GetPrincipalTagAttributeMapInputFilterSensitiveLog = GetPrincipalTagAttributeMapInputFilterSensitiveLog;
|
|
271
|
+
const GetPrincipalTagAttributeMapResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
exports.GetPrincipalTagAttributeMapResponseFilterSensitiveLog = GetPrincipalTagAttributeMapResponseFilterSensitiveLog;
|
|
275
|
+
const ListIdentitiesInputFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
exports.ListIdentitiesInputFilterSensitiveLog = ListIdentitiesInputFilterSensitiveLog;
|
|
279
|
+
const ListIdentitiesResponseFilterSensitiveLog = (obj) => ({
|
|
280
|
+
...obj,
|
|
281
|
+
});
|
|
282
|
+
exports.ListIdentitiesResponseFilterSensitiveLog = ListIdentitiesResponseFilterSensitiveLog;
|
|
283
|
+
const ListIdentityPoolsInputFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
exports.ListIdentityPoolsInputFilterSensitiveLog = ListIdentityPoolsInputFilterSensitiveLog;
|
|
287
|
+
const IdentityPoolShortDescriptionFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
exports.IdentityPoolShortDescriptionFilterSensitiveLog = IdentityPoolShortDescriptionFilterSensitiveLog;
|
|
291
|
+
const ListIdentityPoolsResponseFilterSensitiveLog = (obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
});
|
|
294
|
+
exports.ListIdentityPoolsResponseFilterSensitiveLog = ListIdentityPoolsResponseFilterSensitiveLog;
|
|
295
|
+
const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
exports.ListTagsForResourceInputFilterSensitiveLog = ListTagsForResourceInputFilterSensitiveLog;
|
|
299
|
+
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
303
|
+
const LookupDeveloperIdentityInputFilterSensitiveLog = (obj) => ({
|
|
304
|
+
...obj,
|
|
305
|
+
});
|
|
306
|
+
exports.LookupDeveloperIdentityInputFilterSensitiveLog = LookupDeveloperIdentityInputFilterSensitiveLog;
|
|
307
|
+
const LookupDeveloperIdentityResponseFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
exports.LookupDeveloperIdentityResponseFilterSensitiveLog = LookupDeveloperIdentityResponseFilterSensitiveLog;
|
|
311
|
+
const MergeDeveloperIdentitiesInputFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
});
|
|
314
|
+
exports.MergeDeveloperIdentitiesInputFilterSensitiveLog = MergeDeveloperIdentitiesInputFilterSensitiveLog;
|
|
315
|
+
const MergeDeveloperIdentitiesResponseFilterSensitiveLog = (obj) => ({
|
|
316
|
+
...obj,
|
|
317
|
+
});
|
|
318
|
+
exports.MergeDeveloperIdentitiesResponseFilterSensitiveLog = MergeDeveloperIdentitiesResponseFilterSensitiveLog;
|
|
319
|
+
const SetIdentityPoolRolesInputFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
});
|
|
322
|
+
exports.SetIdentityPoolRolesInputFilterSensitiveLog = SetIdentityPoolRolesInputFilterSensitiveLog;
|
|
323
|
+
const SetPrincipalTagAttributeMapInputFilterSensitiveLog = (obj) => ({
|
|
324
|
+
...obj,
|
|
325
|
+
});
|
|
326
|
+
exports.SetPrincipalTagAttributeMapInputFilterSensitiveLog = SetPrincipalTagAttributeMapInputFilterSensitiveLog;
|
|
327
|
+
const SetPrincipalTagAttributeMapResponseFilterSensitiveLog = (obj) => ({
|
|
328
|
+
...obj,
|
|
329
|
+
});
|
|
330
|
+
exports.SetPrincipalTagAttributeMapResponseFilterSensitiveLog = SetPrincipalTagAttributeMapResponseFilterSensitiveLog;
|
|
331
|
+
const TagResourceInputFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
334
|
+
exports.TagResourceInputFilterSensitiveLog = TagResourceInputFilterSensitiveLog;
|
|
335
|
+
const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
});
|
|
338
|
+
exports.TagResourceResponseFilterSensitiveLog = TagResourceResponseFilterSensitiveLog;
|
|
339
|
+
const UnlinkDeveloperIdentityInputFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
});
|
|
342
|
+
exports.UnlinkDeveloperIdentityInputFilterSensitiveLog = UnlinkDeveloperIdentityInputFilterSensitiveLog;
|
|
343
|
+
const UnlinkIdentityInputFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
});
|
|
346
|
+
exports.UnlinkIdentityInputFilterSensitiveLog = UnlinkIdentityInputFilterSensitiveLog;
|
|
347
|
+
const UntagResourceInputFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
});
|
|
350
|
+
exports.UntagResourceInputFilterSensitiveLog = UntagResourceInputFilterSensitiveLog;
|
|
351
|
+
const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
});
|
|
354
|
+
exports.UntagResourceResponseFilterSensitiveLog = UntagResourceResponseFilterSensitiveLog;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListIdentityPools = void 0;
|
|
4
|
+
const CognitoIdentity_1 = require("../CognitoIdentity");
|
|
5
|
+
const CognitoIdentityClient_1 = require("../CognitoIdentityClient");
|
|
6
|
+
const ListIdentityPoolsCommand_1 = require("../commands/ListIdentityPoolsCommand");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListIdentityPoolsCommand_1.ListIdentityPoolsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listIdentityPools(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListIdentityPools(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof CognitoIdentity_1.CognitoIdentity) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof CognitoIdentityClient_1.CognitoIdentityClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected CognitoIdentity | CognitoIdentityClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.NextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateListIdentityPools = paginateListIdentityPools;
|