@aws-sdk/client-cognito-identity 3.1045.0 → 3.1046.0
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/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +62 -63
- package/dist-cjs/models/CognitoIdentityServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/CognitoIdentity.js +1 -1
- package/dist-es/CognitoIdentityClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateIdentityPoolCommand.js +2 -2
- package/dist-es/commands/DeleteIdentitiesCommand.js +2 -2
- package/dist-es/commands/DeleteIdentityPoolCommand.js +2 -2
- package/dist-es/commands/DescribeIdentityCommand.js +2 -2
- package/dist-es/commands/DescribeIdentityPoolCommand.js +2 -2
- package/dist-es/commands/GetCredentialsForIdentityCommand.js +2 -2
- package/dist-es/commands/GetIdCommand.js +2 -2
- package/dist-es/commands/GetIdentityPoolRolesCommand.js +2 -2
- package/dist-es/commands/GetOpenIdTokenCommand.js +2 -2
- package/dist-es/commands/GetOpenIdTokenForDeveloperIdentityCommand.js +2 -2
- package/dist-es/commands/GetPrincipalTagAttributeMapCommand.js +2 -2
- package/dist-es/commands/ListIdentitiesCommand.js +2 -2
- package/dist-es/commands/ListIdentityPoolsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/LookupDeveloperIdentityCommand.js +2 -2
- package/dist-es/commands/MergeDeveloperIdentitiesCommand.js +2 -2
- package/dist-es/commands/SetIdentityPoolRolesCommand.js +2 -2
- package/dist-es/commands/SetPrincipalTagAttributeMapCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UnlinkDeveloperIdentityCommand.js +2 -2
- package/dist-es/commands/UnlinkIdentityCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateIdentityPoolCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/CognitoIdentityServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/CognitoIdentityClient.d.ts +5 -5
- package/dist-types/commands/CreateIdentityPoolCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIdentitiesCommand.d.ts +6 -4
- package/dist-types/commands/DeleteIdentityPoolCommand.d.ts +6 -4
- package/dist-types/commands/DescribeIdentityCommand.d.ts +6 -4
- package/dist-types/commands/DescribeIdentityPoolCommand.d.ts +6 -4
- package/dist-types/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
- package/dist-types/commands/GetIdCommand.d.ts +6 -4
- package/dist-types/commands/GetIdentityPoolRolesCommand.d.ts +6 -4
- package/dist-types/commands/GetOpenIdTokenCommand.d.ts +6 -4
- package/dist-types/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +6 -4
- package/dist-types/commands/GetPrincipalTagAttributeMapCommand.d.ts +6 -4
- package/dist-types/commands/ListIdentitiesCommand.d.ts +6 -4
- package/dist-types/commands/ListIdentityPoolsCommand.d.ts +6 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/LookupDeveloperIdentityCommand.d.ts +6 -4
- package/dist-types/commands/MergeDeveloperIdentitiesCommand.d.ts +6 -4
- package/dist-types/commands/SetIdentityPoolRolesCommand.d.ts +6 -4
- package/dist-types/commands/SetPrincipalTagAttributeMapCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UnlinkDeveloperIdentityCommand.d.ts +6 -4
- package/dist-types/commands/UnlinkIdentityCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateIdentityPoolCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/CognitoIdentityServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/CognitoIdentityClient.d.ts +8 -14
- package/dist-types/ts3.4/commands/CreateIdentityPoolCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIdentitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteIdentityPoolCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeIdentityPoolCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetCredentialsForIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetIdentityPoolRolesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetOpenIdTokenCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetOpenIdTokenForDeveloperIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPrincipalTagAttributeMapCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIdentitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListIdentityPoolsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/LookupDeveloperIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/MergeDeveloperIdentitiesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetIdentityPoolRolesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SetPrincipalTagAttributeMapCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UnlinkDeveloperIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UnlinkIdentityCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateIdentityPoolCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/CognitoIdentityServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +15 -36
|
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
|
|
|
2
2
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
3
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
5
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
7
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
9
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
7
11
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultCognitoIdentityHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
14
14
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { CreateIdentityPool$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteIdentities$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteIdentityPool$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DescribeIdentityPool$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetCredentialsForIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetId$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetIdentityPoolRoles$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetOpenIdToken$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetOpenIdTokenForDeveloperIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { GetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListIdentities$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListIdentityPools$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { LookupDeveloperIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { MergeDeveloperIdentities$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SetIdentityPoolRoles$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { SetPrincipalTagAttributeMap$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UnlinkDeveloperIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UnlinkIdentity$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { UpdateIdentityPool$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const m = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = { [m]: "Region" }, k = {}, l = [j];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class CognitoIdentityServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
-
import {
|
|
4
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
5
8
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
8
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
10
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
11
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
10
|
export const getRuntimeConfig = (config) => {
|
|
13
11
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
|
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
9
|
-
import {
|
|
6
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
9
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
12
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
13
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
14
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
15
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
12
|
export const getRuntimeConfig = (config) => {
|
|
17
13
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoAuthSigner } from "@smithy/core";
|
|
4
|
-
import { NoOpLogger } from "@smithy/
|
|
5
|
-
import { parseUrl } from "@smithy/
|
|
6
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
7
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
4
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
5
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
6
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
8
7
|
import { defaultCognitoIdentityHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
9
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
10
9
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
2
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
-
import { type
|
|
4
|
-
import { type
|
|
5
|
-
import { type
|
|
6
|
-
import type
|
|
7
|
-
import { type
|
|
3
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
6
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
7
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
8
8
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import type { CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput } from "./commands/CreateIdentityPoolCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { CreateIdentityPoolInput, IdentityPool } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface CreateIdentityPoolCommandInput extends CreateIdentityPoolInput
|
|
|
22
22
|
export interface CreateIdentityPoolCommandOutput extends IdentityPool, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const CreateIdentityPoolCommand_base: {
|
|
25
|
-
new (input: CreateIdentityPoolCommandInput): import("@smithy/
|
|
26
|
-
new (input: CreateIdentityPoolCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: CreateIdentityPoolCommandInput): import("@smithy/core/client").CommandImpl<CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateIdentityPoolCommandInput): import("@smithy/core/client").CommandImpl<CreateIdentityPoolCommandInput, CreateIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Creates a new identity pool. The identity pool is a store of user identity
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { DeleteIdentitiesInput, DeleteIdentitiesResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteIdentitiesCommandInput extends DeleteIdentitiesInput {
|
|
|
22
22
|
export interface DeleteIdentitiesCommandOutput extends DeleteIdentitiesResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteIdentitiesCommand_base: {
|
|
25
|
-
new (input: DeleteIdentitiesCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteIdentitiesCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteIdentitiesCommandInput): import("@smithy/core/client").CommandImpl<DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteIdentitiesCommandInput): import("@smithy/core/client").CommandImpl<DeleteIdentitiesCommandInput, DeleteIdentitiesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes identities from an identity pool. You can specify a list of 1-60 identities
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { DeleteIdentityPoolInput } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DeleteIdentityPoolCommandInput extends DeleteIdentityPoolInput
|
|
|
22
22
|
export interface DeleteIdentityPoolCommandOutput extends __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteIdentityPoolCommand_base: {
|
|
25
|
-
new (input: DeleteIdentityPoolCommandInput): import("@smithy/
|
|
26
|
-
new (input: DeleteIdentityPoolCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DeleteIdentityPoolCommandInput): import("@smithy/core/client").CommandImpl<DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteIdentityPoolCommandInput): import("@smithy/core/client").CommandImpl<DeleteIdentityPoolCommandInput, DeleteIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Deletes an identity pool. Once a pool is deleted, users will not be able to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { DescribeIdentityInput, IdentityDescription } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DescribeIdentityCommandInput extends DescribeIdentityInput {
|
|
|
22
22
|
export interface DescribeIdentityCommandOutput extends IdentityDescription, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DescribeIdentityCommand_base: {
|
|
25
|
-
new (input: DescribeIdentityCommandInput): import("@smithy/
|
|
26
|
-
new (input: DescribeIdentityCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DescribeIdentityCommandInput): import("@smithy/core/client").CommandImpl<DescribeIdentityCommandInput, DescribeIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeIdentityCommandInput): import("@smithy/core/client").CommandImpl<DescribeIdentityCommandInput, DescribeIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Returns metadata related to the given identity, including when the identity was
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { DescribeIdentityPoolInput, IdentityPool } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface DescribeIdentityPoolCommandInput extends DescribeIdentityPoolIn
|
|
|
22
22
|
export interface DescribeIdentityPoolCommandOutput extends IdentityPool, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const DescribeIdentityPoolCommand_base: {
|
|
25
|
-
new (input: DescribeIdentityPoolCommandInput): import("@smithy/
|
|
26
|
-
new (input: DescribeIdentityPoolCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: DescribeIdentityPoolCommandInput): import("@smithy/core/client").CommandImpl<DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeIdentityPoolCommandInput): import("@smithy/core/client").CommandImpl<DescribeIdentityPoolCommandInput, DescribeIdentityPoolCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Gets details about a particular identity pool, including the pool name, ID
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetCredentialsForIdentityInput, GetCredentialsForIdentityResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetCredentialsForIdentityCommandInput extends GetCredentialsFor
|
|
|
22
22
|
export interface GetCredentialsForIdentityCommandOutput extends GetCredentialsForIdentityResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetCredentialsForIdentityCommand_base: {
|
|
25
|
-
new (input: GetCredentialsForIdentityCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetCredentialsForIdentityCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetCredentialsForIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetCredentialsForIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetCredentialsForIdentityCommandInput, GetCredentialsForIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Returns credentials for the provided identity ID. Any provided logins will be
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetIdInput, GetIdResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetIdCommandInput extends GetIdInput {
|
|
|
22
22
|
export interface GetIdCommandOutput extends GetIdResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetIdCommand_base: {
|
|
25
|
-
new (input: GetIdCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetIdCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetIdCommandInput): import("@smithy/core/client").CommandImpl<GetIdCommandInput, GetIdCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Generates (or retrieves) IdentityID. Supplying multiple logins will create an
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetIdentityPoolRolesInput, GetIdentityPoolRolesResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetIdentityPoolRolesCommandInput extends GetIdentityPoolRolesIn
|
|
|
22
22
|
export interface GetIdentityPoolRolesCommandOutput extends GetIdentityPoolRolesResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetIdentityPoolRolesCommand_base: {
|
|
25
|
-
new (input: GetIdentityPoolRolesCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetIdentityPoolRolesCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetIdentityPoolRolesCommandInput): import("@smithy/core/client").CommandImpl<GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetIdentityPoolRolesCommandInput): import("@smithy/core/client").CommandImpl<GetIdentityPoolRolesCommandInput, GetIdentityPoolRolesCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Gets the roles for an identity pool.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetOpenIdTokenInput, GetOpenIdTokenResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetOpenIdTokenCommandInput extends GetOpenIdTokenInput {
|
|
|
22
22
|
export interface GetOpenIdTokenCommandOutput extends GetOpenIdTokenResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetOpenIdTokenCommand_base: {
|
|
25
|
-
new (input: GetOpenIdTokenCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetOpenIdTokenCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetOpenIdTokenCommandInput): import("@smithy/core/client").CommandImpl<GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOpenIdTokenCommandInput): import("@smithy/core/client").CommandImpl<GetOpenIdTokenCommandInput, GetOpenIdTokenCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CognitoIdentityClient";
|
|
4
4
|
import type { GetOpenIdTokenForDeveloperIdentityInput, GetOpenIdTokenForDeveloperIdentityResponse } from "../models/models_0";
|
|
@@ -22,9 +22,11 @@ export interface GetOpenIdTokenForDeveloperIdentityCommandInput extends GetOpenI
|
|
|
22
22
|
export interface GetOpenIdTokenForDeveloperIdentityCommandOutput extends GetOpenIdTokenForDeveloperIdentityResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const GetOpenIdTokenForDeveloperIdentityCommand_base: {
|
|
25
|
-
new (input: GetOpenIdTokenForDeveloperIdentityCommandInput): import("@smithy/
|
|
26
|
-
new (input: GetOpenIdTokenForDeveloperIdentityCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: GetOpenIdTokenForDeveloperIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetOpenIdTokenForDeveloperIdentityCommandInput): import("@smithy/core/client").CommandImpl<GetOpenIdTokenForDeveloperIdentityCommandInput, GetOpenIdTokenForDeveloperIdentityCommandOutput, CognitoIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Registers (or retrieves) a Cognito <code>IdentityId</code> and an OpenID Connect
|