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,352 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CognitoIdentity = void 0;
|
|
4
|
+
const CognitoIdentityClient_1 = require("./CognitoIdentityClient");
|
|
5
|
+
const CreateIdentityPoolCommand_1 = require("./commands/CreateIdentityPoolCommand");
|
|
6
|
+
const DeleteIdentitiesCommand_1 = require("./commands/DeleteIdentitiesCommand");
|
|
7
|
+
const DeleteIdentityPoolCommand_1 = require("./commands/DeleteIdentityPoolCommand");
|
|
8
|
+
const DescribeIdentityCommand_1 = require("./commands/DescribeIdentityCommand");
|
|
9
|
+
const DescribeIdentityPoolCommand_1 = require("./commands/DescribeIdentityPoolCommand");
|
|
10
|
+
const GetCredentialsForIdentityCommand_1 = require("./commands/GetCredentialsForIdentityCommand");
|
|
11
|
+
const GetIdCommand_1 = require("./commands/GetIdCommand");
|
|
12
|
+
const GetIdentityPoolRolesCommand_1 = require("./commands/GetIdentityPoolRolesCommand");
|
|
13
|
+
const GetOpenIdTokenCommand_1 = require("./commands/GetOpenIdTokenCommand");
|
|
14
|
+
const GetOpenIdTokenForDeveloperIdentityCommand_1 = require("./commands/GetOpenIdTokenForDeveloperIdentityCommand");
|
|
15
|
+
const GetPrincipalTagAttributeMapCommand_1 = require("./commands/GetPrincipalTagAttributeMapCommand");
|
|
16
|
+
const ListIdentitiesCommand_1 = require("./commands/ListIdentitiesCommand");
|
|
17
|
+
const ListIdentityPoolsCommand_1 = require("./commands/ListIdentityPoolsCommand");
|
|
18
|
+
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
19
|
+
const LookupDeveloperIdentityCommand_1 = require("./commands/LookupDeveloperIdentityCommand");
|
|
20
|
+
const MergeDeveloperIdentitiesCommand_1 = require("./commands/MergeDeveloperIdentitiesCommand");
|
|
21
|
+
const SetIdentityPoolRolesCommand_1 = require("./commands/SetIdentityPoolRolesCommand");
|
|
22
|
+
const SetPrincipalTagAttributeMapCommand_1 = require("./commands/SetPrincipalTagAttributeMapCommand");
|
|
23
|
+
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
24
|
+
const UnlinkDeveloperIdentityCommand_1 = require("./commands/UnlinkDeveloperIdentityCommand");
|
|
25
|
+
const UnlinkIdentityCommand_1 = require("./commands/UnlinkIdentityCommand");
|
|
26
|
+
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
27
|
+
const UpdateIdentityPoolCommand_1 = require("./commands/UpdateIdentityPoolCommand");
|
|
28
|
+
class CognitoIdentity extends CognitoIdentityClient_1.CognitoIdentityClient {
|
|
29
|
+
createIdentityPool(args, optionsOrCb, cb) {
|
|
30
|
+
const command = new CreateIdentityPoolCommand_1.CreateIdentityPoolCommand(args);
|
|
31
|
+
if (typeof optionsOrCb === "function") {
|
|
32
|
+
this.send(command, optionsOrCb);
|
|
33
|
+
}
|
|
34
|
+
else if (typeof cb === "function") {
|
|
35
|
+
if (typeof optionsOrCb !== "object")
|
|
36
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
37
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
return this.send(command, optionsOrCb);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
deleteIdentities(args, optionsOrCb, cb) {
|
|
44
|
+
const command = new DeleteIdentitiesCommand_1.DeleteIdentitiesCommand(args);
|
|
45
|
+
if (typeof optionsOrCb === "function") {
|
|
46
|
+
this.send(command, optionsOrCb);
|
|
47
|
+
}
|
|
48
|
+
else if (typeof cb === "function") {
|
|
49
|
+
if (typeof optionsOrCb !== "object")
|
|
50
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
51
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
return this.send(command, optionsOrCb);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
deleteIdentityPool(args, optionsOrCb, cb) {
|
|
58
|
+
const command = new DeleteIdentityPoolCommand_1.DeleteIdentityPoolCommand(args);
|
|
59
|
+
if (typeof optionsOrCb === "function") {
|
|
60
|
+
this.send(command, optionsOrCb);
|
|
61
|
+
}
|
|
62
|
+
else if (typeof cb === "function") {
|
|
63
|
+
if (typeof optionsOrCb !== "object")
|
|
64
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
65
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
return this.send(command, optionsOrCb);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
describeIdentity(args, optionsOrCb, cb) {
|
|
72
|
+
const command = new DescribeIdentityCommand_1.DescribeIdentityCommand(args);
|
|
73
|
+
if (typeof optionsOrCb === "function") {
|
|
74
|
+
this.send(command, optionsOrCb);
|
|
75
|
+
}
|
|
76
|
+
else if (typeof cb === "function") {
|
|
77
|
+
if (typeof optionsOrCb !== "object")
|
|
78
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
79
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
return this.send(command, optionsOrCb);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
describeIdentityPool(args, optionsOrCb, cb) {
|
|
86
|
+
const command = new DescribeIdentityPoolCommand_1.DescribeIdentityPoolCommand(args);
|
|
87
|
+
if (typeof optionsOrCb === "function") {
|
|
88
|
+
this.send(command, optionsOrCb);
|
|
89
|
+
}
|
|
90
|
+
else if (typeof cb === "function") {
|
|
91
|
+
if (typeof optionsOrCb !== "object")
|
|
92
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
93
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
return this.send(command, optionsOrCb);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
getCredentialsForIdentity(args, optionsOrCb, cb) {
|
|
100
|
+
const command = new GetCredentialsForIdentityCommand_1.GetCredentialsForIdentityCommand(args);
|
|
101
|
+
if (typeof optionsOrCb === "function") {
|
|
102
|
+
this.send(command, optionsOrCb);
|
|
103
|
+
}
|
|
104
|
+
else if (typeof cb === "function") {
|
|
105
|
+
if (typeof optionsOrCb !== "object")
|
|
106
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
107
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
return this.send(command, optionsOrCb);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
getId(args, optionsOrCb, cb) {
|
|
114
|
+
const command = new GetIdCommand_1.GetIdCommand(args);
|
|
115
|
+
if (typeof optionsOrCb === "function") {
|
|
116
|
+
this.send(command, optionsOrCb);
|
|
117
|
+
}
|
|
118
|
+
else if (typeof cb === "function") {
|
|
119
|
+
if (typeof optionsOrCb !== "object")
|
|
120
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
121
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
return this.send(command, optionsOrCb);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
getIdentityPoolRoles(args, optionsOrCb, cb) {
|
|
128
|
+
const command = new GetIdentityPoolRolesCommand_1.GetIdentityPoolRolesCommand(args);
|
|
129
|
+
if (typeof optionsOrCb === "function") {
|
|
130
|
+
this.send(command, optionsOrCb);
|
|
131
|
+
}
|
|
132
|
+
else if (typeof cb === "function") {
|
|
133
|
+
if (typeof optionsOrCb !== "object")
|
|
134
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
135
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
return this.send(command, optionsOrCb);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
getOpenIdToken(args, optionsOrCb, cb) {
|
|
142
|
+
const command = new GetOpenIdTokenCommand_1.GetOpenIdTokenCommand(args);
|
|
143
|
+
if (typeof optionsOrCb === "function") {
|
|
144
|
+
this.send(command, optionsOrCb);
|
|
145
|
+
}
|
|
146
|
+
else if (typeof cb === "function") {
|
|
147
|
+
if (typeof optionsOrCb !== "object")
|
|
148
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
149
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
150
|
+
}
|
|
151
|
+
else {
|
|
152
|
+
return this.send(command, optionsOrCb);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
getOpenIdTokenForDeveloperIdentity(args, optionsOrCb, cb) {
|
|
156
|
+
const command = new GetOpenIdTokenForDeveloperIdentityCommand_1.GetOpenIdTokenForDeveloperIdentityCommand(args);
|
|
157
|
+
if (typeof optionsOrCb === "function") {
|
|
158
|
+
this.send(command, optionsOrCb);
|
|
159
|
+
}
|
|
160
|
+
else if (typeof cb === "function") {
|
|
161
|
+
if (typeof optionsOrCb !== "object")
|
|
162
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
163
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
164
|
+
}
|
|
165
|
+
else {
|
|
166
|
+
return this.send(command, optionsOrCb);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
getPrincipalTagAttributeMap(args, optionsOrCb, cb) {
|
|
170
|
+
const command = new GetPrincipalTagAttributeMapCommand_1.GetPrincipalTagAttributeMapCommand(args);
|
|
171
|
+
if (typeof optionsOrCb === "function") {
|
|
172
|
+
this.send(command, optionsOrCb);
|
|
173
|
+
}
|
|
174
|
+
else if (typeof cb === "function") {
|
|
175
|
+
if (typeof optionsOrCb !== "object")
|
|
176
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
177
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
return this.send(command, optionsOrCb);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
listIdentities(args, optionsOrCb, cb) {
|
|
184
|
+
const command = new ListIdentitiesCommand_1.ListIdentitiesCommand(args);
|
|
185
|
+
if (typeof optionsOrCb === "function") {
|
|
186
|
+
this.send(command, optionsOrCb);
|
|
187
|
+
}
|
|
188
|
+
else if (typeof cb === "function") {
|
|
189
|
+
if (typeof optionsOrCb !== "object")
|
|
190
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
191
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
return this.send(command, optionsOrCb);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
listIdentityPools(args, optionsOrCb, cb) {
|
|
198
|
+
const command = new ListIdentityPoolsCommand_1.ListIdentityPoolsCommand(args);
|
|
199
|
+
if (typeof optionsOrCb === "function") {
|
|
200
|
+
this.send(command, optionsOrCb);
|
|
201
|
+
}
|
|
202
|
+
else if (typeof cb === "function") {
|
|
203
|
+
if (typeof optionsOrCb !== "object")
|
|
204
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
205
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
return this.send(command, optionsOrCb);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
212
|
+
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
213
|
+
if (typeof optionsOrCb === "function") {
|
|
214
|
+
this.send(command, optionsOrCb);
|
|
215
|
+
}
|
|
216
|
+
else if (typeof cb === "function") {
|
|
217
|
+
if (typeof optionsOrCb !== "object")
|
|
218
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
219
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
220
|
+
}
|
|
221
|
+
else {
|
|
222
|
+
return this.send(command, optionsOrCb);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
lookupDeveloperIdentity(args, optionsOrCb, cb) {
|
|
226
|
+
const command = new LookupDeveloperIdentityCommand_1.LookupDeveloperIdentityCommand(args);
|
|
227
|
+
if (typeof optionsOrCb === "function") {
|
|
228
|
+
this.send(command, optionsOrCb);
|
|
229
|
+
}
|
|
230
|
+
else if (typeof cb === "function") {
|
|
231
|
+
if (typeof optionsOrCb !== "object")
|
|
232
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
233
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
return this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
mergeDeveloperIdentities(args, optionsOrCb, cb) {
|
|
240
|
+
const command = new MergeDeveloperIdentitiesCommand_1.MergeDeveloperIdentitiesCommand(args);
|
|
241
|
+
if (typeof optionsOrCb === "function") {
|
|
242
|
+
this.send(command, optionsOrCb);
|
|
243
|
+
}
|
|
244
|
+
else if (typeof cb === "function") {
|
|
245
|
+
if (typeof optionsOrCb !== "object")
|
|
246
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
return this.send(command, optionsOrCb);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
setIdentityPoolRoles(args, optionsOrCb, cb) {
|
|
254
|
+
const command = new SetIdentityPoolRolesCommand_1.SetIdentityPoolRolesCommand(args);
|
|
255
|
+
if (typeof optionsOrCb === "function") {
|
|
256
|
+
this.send(command, optionsOrCb);
|
|
257
|
+
}
|
|
258
|
+
else if (typeof cb === "function") {
|
|
259
|
+
if (typeof optionsOrCb !== "object")
|
|
260
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
261
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
return this.send(command, optionsOrCb);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
setPrincipalTagAttributeMap(args, optionsOrCb, cb) {
|
|
268
|
+
const command = new SetPrincipalTagAttributeMapCommand_1.SetPrincipalTagAttributeMapCommand(args);
|
|
269
|
+
if (typeof optionsOrCb === "function") {
|
|
270
|
+
this.send(command, optionsOrCb);
|
|
271
|
+
}
|
|
272
|
+
else if (typeof cb === "function") {
|
|
273
|
+
if (typeof optionsOrCb !== "object")
|
|
274
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
275
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
return this.send(command, optionsOrCb);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
tagResource(args, optionsOrCb, cb) {
|
|
282
|
+
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
283
|
+
if (typeof optionsOrCb === "function") {
|
|
284
|
+
this.send(command, optionsOrCb);
|
|
285
|
+
}
|
|
286
|
+
else if (typeof cb === "function") {
|
|
287
|
+
if (typeof optionsOrCb !== "object")
|
|
288
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
289
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
return this.send(command, optionsOrCb);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
unlinkDeveloperIdentity(args, optionsOrCb, cb) {
|
|
296
|
+
const command = new UnlinkDeveloperIdentityCommand_1.UnlinkDeveloperIdentityCommand(args);
|
|
297
|
+
if (typeof optionsOrCb === "function") {
|
|
298
|
+
this.send(command, optionsOrCb);
|
|
299
|
+
}
|
|
300
|
+
else if (typeof cb === "function") {
|
|
301
|
+
if (typeof optionsOrCb !== "object")
|
|
302
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
303
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
304
|
+
}
|
|
305
|
+
else {
|
|
306
|
+
return this.send(command, optionsOrCb);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
unlinkIdentity(args, optionsOrCb, cb) {
|
|
310
|
+
const command = new UnlinkIdentityCommand_1.UnlinkIdentityCommand(args);
|
|
311
|
+
if (typeof optionsOrCb === "function") {
|
|
312
|
+
this.send(command, optionsOrCb);
|
|
313
|
+
}
|
|
314
|
+
else if (typeof cb === "function") {
|
|
315
|
+
if (typeof optionsOrCb !== "object")
|
|
316
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
317
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
318
|
+
}
|
|
319
|
+
else {
|
|
320
|
+
return this.send(command, optionsOrCb);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
untagResource(args, optionsOrCb, cb) {
|
|
324
|
+
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
325
|
+
if (typeof optionsOrCb === "function") {
|
|
326
|
+
this.send(command, optionsOrCb);
|
|
327
|
+
}
|
|
328
|
+
else if (typeof cb === "function") {
|
|
329
|
+
if (typeof optionsOrCb !== "object")
|
|
330
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
return this.send(command, optionsOrCb);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
updateIdentityPool(args, optionsOrCb, cb) {
|
|
338
|
+
const command = new UpdateIdentityPoolCommand_1.UpdateIdentityPoolCommand(args);
|
|
339
|
+
if (typeof optionsOrCb === "function") {
|
|
340
|
+
this.send(command, optionsOrCb);
|
|
341
|
+
}
|
|
342
|
+
else if (typeof cb === "function") {
|
|
343
|
+
if (typeof optionsOrCb !== "object")
|
|
344
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
345
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
346
|
+
}
|
|
347
|
+
else {
|
|
348
|
+
return this.send(command, optionsOrCb);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
exports.CognitoIdentity = CognitoIdentity;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CognitoIdentityClient = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
|
+
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
|
+
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
9
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
|
+
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
+
const runtimeConfig_1 = require("./runtimeConfig");
|
|
14
|
+
class CognitoIdentityClient extends smithy_client_1.Client {
|
|
15
|
+
constructor(configuration) {
|
|
16
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
17
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
18
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
19
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
20
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
21
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
22
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
23
|
+
super(_config_6);
|
|
24
|
+
this.config = _config_6;
|
|
25
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
30
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
31
|
+
}
|
|
32
|
+
destroy() {
|
|
33
|
+
super.destroy();
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.CognitoIdentityClient = CognitoIdentityClient;
|
package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/CreateIdentityPoolCommand.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateIdentityPoolCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class CreateIdentityPoolCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "CognitoIdentityClient";
|
|
20
|
+
const commandName = "CreateIdentityPoolCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.CreateIdentityPoolInputFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.IdentityPoolFilterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateIdentityPoolCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateIdentityPoolCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.CreateIdentityPoolCommand = CreateIdentityPoolCommand;
|
package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentitiesCommand.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteIdentitiesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DeleteIdentitiesCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "CognitoIdentityClient";
|
|
20
|
+
const commandName = "DeleteIdentitiesCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.DeleteIdentitiesInputFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.DeleteIdentitiesResponseFilterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteIdentitiesCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteIdentitiesCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.DeleteIdentitiesCommand = DeleteIdentitiesCommand;
|
package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DeleteIdentityPoolCommand.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteIdentityPoolCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DeleteIdentityPoolCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "CognitoIdentityClient";
|
|
20
|
+
const commandName = "DeleteIdentityPoolCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.DeleteIdentityPoolInputFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteIdentityPoolCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteIdentityPoolCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.DeleteIdentityPoolCommand = DeleteIdentityPoolCommand;
|
package/node_modules/@aws-sdk/client-cognito-identity/dist-cjs/commands/DescribeIdentityCommand.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeIdentityCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DescribeIdentityCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "CognitoIdentityClient";
|
|
20
|
+
const commandName = "DescribeIdentityCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.DescribeIdentityInputFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.IdentityDescriptionFilterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeIdentityCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeIdentityCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.DescribeIdentityCommand = DescribeIdentityCommand;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeIdentityPoolCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DescribeIdentityPoolCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(configuration));
|
|
17
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
18
|
+
const { logger } = configuration;
|
|
19
|
+
const clientName = "CognitoIdentityClient";
|
|
20
|
+
const commandName = "DescribeIdentityPoolCommand";
|
|
21
|
+
const handlerExecutionContext = {
|
|
22
|
+
logger,
|
|
23
|
+
clientName,
|
|
24
|
+
commandName,
|
|
25
|
+
inputFilterSensitiveLog: models_0_1.DescribeIdentityPoolInputFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: models_0_1.IdentityPoolFilterSensitiveLog,
|
|
27
|
+
};
|
|
28
|
+
const { requestHandler } = configuration;
|
|
29
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
|
+
}
|
|
31
|
+
serialize(input, context) {
|
|
32
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DescribeIdentityPoolCommand)(input, context);
|
|
33
|
+
}
|
|
34
|
+
deserialize(output, context) {
|
|
35
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeIdentityPoolCommand)(output, context);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.DescribeIdentityPoolCommand = DescribeIdentityPoolCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCredentialsForIdentityCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetCredentialsForIdentityCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CognitoIdentityClient";
|
|
18
|
+
const commandName = "GetCredentialsForIdentityCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetCredentialsForIdentityInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetCredentialsForIdentityResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetCredentialsForIdentityCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetCredentialsForIdentityCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetCredentialsForIdentityCommand = GetCredentialsForIdentityCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetIdCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetIdCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "CognitoIdentityClient";
|
|
18
|
+
const commandName = "GetIdCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetIdInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetIdResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetIdCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetIdCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetIdCommand = GetIdCommand;
|